Bug 1528236 - [raptor] Remove test root folder during clean-up. r=perftest-reviewers,rwood
authorHenrik Skupin <mail@hskupin.info>
Tue, 14 May 2019 19:31:57 +0000
changeset 535706 9eb4d019ee371b8b4d37c6e3f2f6ad582038c1dc
parent 535705 c6cccc4ebfcc08826c689102546ea05d7ddc660c
child 535707 e8d6d453337d96fb354184b2045e6b5b456a97b7
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersperftest-reviewers, rwood
bugs1528236
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1528236 - [raptor] Remove test root folder during clean-up. r=perftest-reviewers,rwood Differential Revision: https://phabricator.services.mozilla.com/D29330
testing/raptor/raptor/raptor.py
--- a/testing/raptor/raptor/raptor.py
+++ b/testing/raptor/raptor/raptor.py
@@ -1105,16 +1105,19 @@ class RaptorAndroid(Raptor):
                 shutil.rmtree(dump_dir)
             except Exception:
                 self.log.warning("unable to remove directory: %s" % dump_dir)
 
     def clean_up(self):
         self.log.info('removing reverse socket connections')
         self.device.remove_socket_connections('reverse')
 
+        self.log.info("removing test folder for raptor: %s" % self.remote_test_root)
+        self.device.rm(self.remote_test_root, force=True, recursive=True)
+
         super(RaptorAndroid, self).clean_up()
 
 
 def main(args=sys.argv[1:]):
     args = parse_args()
     commandline.setup_logging('raptor', args, {'tbpl': sys.stdout})
     LOG = get_default_logger(component='raptor-main')