Skip to content

Instantly share code, notes, and snippets.

View stephendonner's full-sized avatar

Stephen Donner stephendonner

View GitHub Profile
@stephendonner
stephendonner / gist:bfbf34325c41deffd7f848b296d721d8
Created January 8, 2020 06:28
shutil.copytree(cond_prof_target_dir, self.conditioned_profile_dir)
23:56:31 INFO - raptor-main Info: cond_prof_target_dir is: /var/folders/tn/jmgsfg315sd73yn_dnrf66c80000gn/T/tmpbF51iP
23:56:31 ERROR - Traceback (most recent call last):
23:56:31 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1973, in <module>
23:56:31 INFO - main()
23:56:31 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1928, in main
23:56:31 INFO - no_conditioned_profile=args.no_conditioned_profile
23:56:31 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1257, in __init__
23:56:31 INFO - super(RaptorDesktop, self).__init__(*args, **kwargs)
23:56:31 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1069, in __init__
23:56:31 INFO - super(Raptor, self).__init__(*args, **kwargs)
@stephendonner
stephendonner / gist:29c1f04df5496fb0dddfc865651e0da6
Created January 8, 2020 06:27
self.profile = mozprofile.Profile.clone(self.conditioned_profile_dir)
23:52:27 INFO - raptor-main Info: cond_prof_target_dir is: /var/folders/tn/jmgsfg315sd73yn_dnrf66c80000gn/T/tmpSAQclj
23:52:27 INFO - raptor-main Info: self.conditioned_profile_dir is now set: /var/folders/tn/jmgsfg315sd73yn_dnrf66c80000gn/T/tmpSAQclj
23:52:27 ERROR - Traceback (most recent call last):
23:52:27 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1973, in <module>
23:52:27 INFO - main()
23:52:27 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1928, in main
23:52:27 INFO - no_conditioned_profile=args.no_conditioned_profile
23:52:27 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1257, in __init__
23:52:27 INFO - super(RaptorDesktop, self).__init__(*args, **kwargs)
23:52:27 INFO - File "/Users/sdonner/mozilla-source/mozilla-unified/testing/raptor/raptor/raptor.py", line 1069, in __ini
@stephendonner
stephendonner / gist:e6799dfd2c932fc7d7b871293f0e3fd4
Created December 17, 2019 20:53
./mach raptor-test -t amazon --browsertime --cold --browser-cycles 2 --post-startup-delay 3
./mach raptor-test -t amazon --browsertime --cold --browser-cycles 2 --post-startup-delay 3
20:48:23 INFO - "browsertime": {
20:48:23 INFO - "page_cycles": 1,
20:48:23 INFO - "url": "https://www.amazon.com/s?k=laptop&ref=nb_sb_noss_1",
20:48:23 INFO - "page_cycle_delay": 1000,
20:48:23 INFO - "post_startup_delay": 3
20:48:23 INFO - },
20:48:26 INFO - [2019-12-17 12:48:26] INFO: [browsertime] Waiting for 3 ms (post_startup_delay)
@stephendonner
stephendonner / gist:fbb45821a7bb7bc569b7950b2c49e486
Created December 17, 2019 16:58
./mach try fuzzy --full and ./mach try chooser errors, trying to push Android conditioned-profile patch to try
Tried to push the following jobs:
test-android-hw-g5-7-0-arm7-api-16/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-g5-7-0-arm7-api-16/pgo-raptor-tp6m-1-geckoview-cold-e10s
test-android-hw-p2-8-0-android-aarch64/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-p2-8-0-android-aarch64/pgo-raptor-tp6m-1-geckoview-cold-e10s
test-android-hw-p2-8-0-arm7-api-16/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-p2-8-0-arm7-api-16/pgo-raptor-tp6m-1-geckoview-cold-e10s
Got:
@stephendonner
stephendonner / gist:d5e7d1ea6431f907cd0cd5165f7b9ce3
Created December 13, 2019 08:00
./mach raptor-test -t raptor-tp6m-1-cold --device-name "g5" --app geckoview --binary org.mozilla.geckoview_example
stephendonner-7hlvdq:mozilla-unified sdonner$ ./mach raptor-test -t raptor-tp6m-1-cold --device-name "g5" --app geckoview --binary org.mozilla.geckoview_example
Re-install geckoview_example? (Y/n) n
Updating external benchmarks from https://github.com/mozilla/perf-automation
Cloning the benchmarks to /Users/sdonner/.mozbuild/performance-tests
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
Already up to date.
Note: switching to 'e19a0865c946ae2f9a64dd25614b1c275a3996b2'.
You are in 'detached HEAD' state. You can look around, make experimental
stephendonner-7hlvdq:T sdonner$ pwd
/var/folders/tn/jmgsfg315sd73yn_dnrf66c80000gn/T
stephendonner-7hlvdq:T sdonner$ ls -la
drwxr-xr-x 44 sdonner staff 1408 Dec 12 22:10 tmp2MjVtA
drwxr-xr-x 44 sdonner staff 1408 Dec 12 22:09 tmp3czYu5
drwxr-xr-x 44 sdonner staff 1408 Dec 12 22:06 tmp3zzlkk
drwxr-xr-x 44 sdonner staff 1408 Dec 12 22:13 tmp5_IoZ2
drwxr-xr-x 44 sdonner staff 1408 Dec 12 22:05 tmp5rEF7X
12-10 12:51:34.821 1232 1285 I ActivityManager: Start proc 8913:org.mozilla.geckoview_example:tab/u0a192 for service {org.mozilla.geckoview_example/org.mozilla.gecko.process.GeckoServiceChildProcess$tab}
12-10 12:51:34.909 1232 1283 I ActivityTaskManager: Displayed org.mozilla.geckoview_example/.GeckoViewActivity: +519ms
12-10 12:51:34.963 1232 1285 I ActivityManager: Start proc 8958:org.mozilla.geckoview_example:socket/u0a192 for service {org.mozilla.geckoview_example/org.mozilla.gecko.process.GeckoServiceChildProcess$socket}
12-10 12:51:35.191 8958 8984 W GeckoLinker: /data/app/org.mozilla.geckoview_example-enKINCtmw74FdPcQIlo03w==/lib/arm/libnss3.so: unhandled flags #8 not handled
12-10 12:51:35.193 8958 8984 W GeckoLinker: /data/app/org.mozilla.geckoview_example-enKINCtmw74FdPcQIlo03w==/lib/arm/libnss3.so: Relocation to NULL @0x00130ffc for symbol "__cxa_type_match"
12-10 12:51:35.193 8958 8984 W GeckoLinker: /data/app/org.mozilla.geckoview_example-enKINCtmw74FdPcQIlo03w==/lib/arm/libxul.so: u
@stephendonner
stephendonner / gist:4af77bb1d8043e981e57c096e1be5725
Created December 10, 2019 20:54
./mach raptor-test -t browsertime-tp6m --app geckoview --binary org.mozilla.geckoview_example
stephendonner-7hlvdq:mozilla-unified sdonner$ ./mach raptor-test -t browsertime-tp6m --app geckoview --binary org.mozilla.geckoview_example
Re-install geckoview_example? (Y/n) n
Updating external benchmarks from https://github.com/mozilla/perf-automation
Cloning the benchmarks to /Users/sdonner/.mozbuild/performance-tests
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
Already up to date.
Note: switching to 'e19a0865c946ae2f9a64dd25614b1c275a3996b2'.
You are in 'detached HEAD' state. You can look around, make experimental
stephendonner-7hlvdq:mozilla-unified sdonner$ ./mach talos-test --activeTests tresize
02:46:46 INFO - ConsoleLogger online at 20191210 02:46:46Z in /Users/sdonner/mozilla-source/mozilla-unified
02:46:46 INFO - Run as ./mach talos-test --activeTests tresize
02:46:46 INFO - Dumping config to /Users/sdonner/mozilla-source/mozilla-unified/testing/mozharness/logs/localconfig.json.
02:46:46 INFO - {'append_to_log': False,
02:46:46 INFO - u'base_work_dir': u'/Users/sdonner/mozilla-source/mozilla-unified/testing/mozharness',
02:46:46 INFO - u'binary_path': u'/Users/sdonner/mozilla-source/mozilla-unified/obj-x86_64-apple-darwin19.2.0/dist/Nightly.app/Contents/MacOS/firefox',
02:46:46 INFO - 'code_coverage': False,
02:46:46 INFO - 'config_files': (),
02:46:46 INFO - u'default_actions': (u'populate-webroot', u'create-virtualenv', u'run-tests'),
@stephendonner
stephendonner / gist:ec40805c7dfe7e4146b4ef975da5762e
Created December 6, 2019 19:53
./mach python-test -v --subsuite raptor
1:49.83 =================================== FAILURES ===================================
1:49.83 _______________ test_build_profile[RaptorDesktopFirefox-firefox] _______________
1:49.83
1:49.83 options = {'app': 'firefox', 'binary': 'path/to/dummy/browser'}
1:49.83 perftest_class = <class 'raptor.raptor.RaptorDesktopFirefox'>
1:49.83 app_name = 'firefox', get_prefs = None
1:49.83
1:49.83 @pytest.mark.parametrize("perftest_class, app_name", [
1:49.83 [RaptorDesktopFirefox, "firefox"],
1:49.83 [RaptorDesktopChrome, "chrome"],