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 532639 9eb4d019ee371b8b4d37c6e3f2f6ad582038c1dc
parent 532638 c6cccc4ebfcc08826c689102546ea05d7ddc660c
child 532640 e8d6d453337d96fb354184b2045e6b5b456a97b7
push id11270
push userrgurzau@mozilla.com
push dateWed, 15 May 2019 15:07:19 +0000
treeherdermozilla-beta@571bc76da583 [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')