Closed Bug 1849400 Opened 2 years ago Closed 2 years ago

Permanent macOS perftest(http3) AttributeError: 'XPCShell' object has no attribute 'crash'

Categories

(Testing :: mozperftest, defect, P5)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 wontfix, firefox116 wontfix, firefox117 wontfix, firefox118 wontfix, firefox119 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- wontfix
firefox116 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [fxp])

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=417331408&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XQoasioASoOim84RBhVHcA/runs/0/artifacts/public/logs/live_backing.log


[task 2023-05-28T05:59:20.815Z]  0:37.12 starting test number 0
[task 2023-05-28T05:59:20.815Z]  0:37.12 test_https_alt_svc()
[task 2023-05-28T05:59:20.815Z]  0:37.12 (xpcshell/head.js) | test pending (2)
[task 2023-05-28T05:59:20.821Z]  0:37.12 (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-05-28T05:59:20.821Z]  0:37.12 running event loop
[task 2023-05-28T05:59:20.822Z]  0:37.13 "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2023-05-28T05:59:20.936Z]  0:37.24 Following exceptions were raised:
[task 2023-05-28T05:59:20.936Z]  0:37.24 Traceback (most recent call last):
[task 2023-05-28T05:59:20.936Z]   File "xpcshell/runxpcshelltests.py", line 233, in run
[task 2023-05-28T05:59:20.936Z]     self.run_test()
[task 2023-05-28T05:59:20.936Z]   File "xpcshell/runxpcshelltests.py", line 946, in run_test
[task 2023-05-28T05:59:20.936Z]     if self.checkForCrashes(self.tempDir, self.symbolsPath, test_name=name):
[task 2023-05-28T05:59:20.936Z]   File "xpcshell/runxpcshelltests.py", line 343, in checkForCrashes
[task 2023-05-28T05:59:20.936Z]     self.log, dump_directory, symbols_path, test=test_name, quiet=quiet
[task 2023-05-28T05:59:20.936Z]   File "/opt/worker/tasks/task_168525198665266/fetches/testing/mozbase/mozcrash/mozcrash/mozcrash.py", line 176, in log_crashes
[task 2023-05-28T05:59:20.936Z]     logger.crash(process=process, test=test, **kwargs)
[task 2023-05-28T05:59:20.936Z] AttributeError: 'XPCShell' object has no attribute 'crash'
[task 2023-05-28T05:59:20.936Z] 
[task 2023-05-28T05:59:20.962Z] Site not up-to-date reason: "/opt/worker/tasks/task_168525198665266/fetches/_virtualenvs/common" does not exist
[task 2023-05-28T05:59:20.965Z] Traceback (most recent call last):
[task 2023-05-28T05:59:20.965Z]   File "python/mozperftest/mozperftest/runner.py", line 280, in <module>
[task 2023-05-28T05:59:20.965Z]     sys.exit(main())
[task 2023-05-28T05:59:20.965Z]   File "python/mozperftest/mozperftest/runner.py", line 276, in main
[task 2023-05-28T05:59:20.965Z]     run_tests(mach_cmd, args, user_args)
[task 2023-05-28T05:59:20.965Z]   File "python/mozperftest/mozperftest/runner.py", line 171, in run_tests
[task 2023-05-28T05:59:20.965Z]     e.run(metadata)
[task 2023-05-28T05:59:20.965Z]   File "/opt/worker/tasks/task_168525198665266/fetches/python/mozperftest/mozperftest/environment.py", line 92, in run
[task 2023-05-28T05:59:20.965Z]     metadata = testlayer(syslayer(metadata))
[task 2023-05-28T05:59:20.965Z]   File "/opt/worker/tasks/task_168525198665266/fetches/python/mozperftest/mozperftest/layers.py", line 157, in __call__
[task 2023-05-28T05:59:20.965Z]     metadata = layer(metadata)
[task 2023-05-28T05:59:20.965Z]   File "/opt/worker/tasks/task_168525198665266/fetches/python/mozperftest/mozperftest/layers.py", line 69, in __call__
[task 2023-05-28T05:59:20.965Z]     metadata = self.run(metadata)
[task 2023-05-28T05:59:20.965Z]   File "/opt/worker/tasks/task_168525198665266/fetches/python/mozperftest/mozperftest/test/xpcshell.py", line 145, in run
[task 2023-05-28T05:59:20.965Z]     if not xpcshell.runTests(kwargs):
[task 2023-05-28T05:59:20.965Z]   File "xpcshell/runxpcshelltests.py", line 1909, in runTests
[task 2023-05-28T05:59:20.965Z]     tests_queue, sequential_tests, testClass, mobileArgs, **kwargs
[task 2023-05-28T05:59:20.965Z]   File "xpcshell/runxpcshelltests.py", line 2154, in runTestList
[task 2023-05-28T05:59:20.965Z]     raise exceptions[0]
[task 2023-05-28T05:59:20.965Z]   File "xpcshell/runxpcshelltests.py", line 233, in run
[task 2023-05-28T05:59:20.965Z]     self.run_test()
[task 2023-05-28T05:59:20.965Z]   File "xpcshell/runxpcshelltests.py", line 946, in run_test
[task 2023-05-28T05:59:20.965Z]     if self.checkForCrashes(self.tempDir, self.symbolsPath, test_name=name):
[task 2023-05-28T05:59:20.965Z]   File "xpcshell/runxpcshelltests.py", line 343, in checkForCrashes
[task 2023-05-28T05:59:20.965Z]     self.log, dump_directory, symbols_path, test=test_name, quiet=quiet
[task 2023-05-28T05:59:20.965Z]   File "/opt/worker/tasks/task_168525198665266/fetches/testing/mozbase/mozcrash/mozcrash/mozcrash.py", line 176, in log_crashes
[task 2023-05-28T05:59:20.965Z]     logger.crash(process=process, test=test, **kwargs)
[task 2023-05-28T05:59:20.965Z] AttributeError: 'XPCShell' object has no attribute 'crash'

Set release status flags based on info from the regressing bug 1648545

:kmag, since you are the author of the regressor, bug 1648545, could you take a look?

For more information, please visit BugBot documentation.

Regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fc6056442a0fa16146259cb730d4e34a16656952&tochange=531a15ae09d49e29c270830e9b873aa625a5a8c2

Kris, can you check why this fails? It's a tier 3 task, showing them in Treeherder needs to be enabled with the "3" button.

Set release status flags based on info from the regressing bug 1648545

Do you have the cycles to get this fixed?

Flags: needinfo?(gmierz2)

I'll be working on fixing some things in CI for xpcshell in the near future so I'll take care of this failure then. I'll leave the ni? open for myself.

I thought I would have hit this issue with the mochitest integration but I didn't. I'll look into this in the next 1-2 weeks.

So I've fixed this issue, but it was hiding another issue: https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=b896746dd7322524b3fb429caf125d18087b38e3

Not sure why the test is crashing yet though.

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jmaher, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(kmaglione+bmo) → needinfo?(jmaher)
Flags: needinfo?(jmaher)

Just noticed this should be in the mozperftest component.

Component: XPCShell Harness → mozperftest
Flags: needinfo?(gmierz2)
Whiteboard: [fxp]
Flags: needinfo?(gmierz2)
Depends on: 1869541

Tests will be disabled in bug 1869541.

Flags: needinfo?(gmierz2)
You need to log in before you can comment on or make changes to this bug.