See b/152550404#comment15. https://cs.corp.google.com/android/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/StagedRollbackTest.java?rcl=0b9230489ead3a2ad328d46a47194cfa9dffd25c&l=86 My theory is that somehow #setUp throws before calling mLogger.start() and then mLogger.stop() runs into an NPE. Let's add a null-check in the hope that the actual root cause will stand out. Bug: 152550404 Test: atest StagedRollbackTest Change-Id: Ifd323e6a8707a2de19d03ecbe536feacdbb4e9c6
This directory contains a test for the rollback manager service. Directory structure =================== RollbackTest - device driven test for rollbacks not involving staged rollbacks. StagedRollbackTest - device driven test for staged rollbacks. TestApp - source for dummy apks used in testing. TestApex - source for dummy apex modules used in testing. Running the tests ================= You can manually run the tests as follows: atest RollbackTest atest StagedRollbackTest