Closed Bug 1733744 Opened 3 years ago Closed 3 years ago

Perma Raptor failures: AttributeError: 'WebExtension<something>' object has no attribute 'page_count'

Categories

(Testing :: Raptor, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox92 unaffected, firefox93 unaffected, firefox94+ fixed, firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- unaffected
firefox94 + fixed
firefox95 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: sparky)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-10-02T00:28:26.385Z] 00:28:26     INFO -  raptor-webext Info: finished
[task 2021-10-02T00:28:26.386Z] 00:28:26    ERROR -  Traceback (most recent call last):
[task 2021-10-02T00:28:26.387Z] 00:28:26     INFO -    File "/Users/cltbld/tasks/task_1633118608/build/tests/raptor/raptor/raptor.py", line 213, in <module>
[task 2021-10-02T00:28:26.387Z] 00:28:26     INFO -      main()
[task 2021-10-02T00:28:26.387Z] 00:28:26     INFO -    File "/Users/cltbld/tasks/task_1633118608/build/tests/raptor/raptor/raptor.py", line 159, in main
[task 2021-10-02T00:28:26.388Z] 00:28:26     INFO -      success = raptor.run_tests(raptor_test_list, raptor_test_names)
[task 2021-10-02T00:28:26.388Z] 00:28:26     INFO -    File "/Users/cltbld/tasks/task_1633118608/build/tests/raptor/raptor/perftest.py", line 465, in run_tests
[task 2021-10-02T00:28:26.388Z] 00:28:26     INFO -      return self.process_results(tests, test_names)
[task 2021-10-02T00:28:26.389Z] 00:28:26     INFO -    File "/Users/cltbld/tasks/task_1633118608/build/tests/raptor/raptor/perftest.py", line 486, in process_results
[task 2021-10-02T00:28:26.389Z] 00:28:26     INFO -      self.config["page_count"] = self.page_count
[task 2021-10-02T00:28:26.389Z] 00:28:26     INFO -  AttributeError: 'WebExtensionFirefox' object has no attribute 'page_count'
[task 2021-10-02T00:28:26.569Z] 00:28:26    ERROR - Return code: 1
[task 2021-10-02T00:28:26.569Z] 00:28:26  WARNING - setting return code to 1
[task 2021-10-02T00:28:26.570Z] 00:28:26     INFO - Copying Raptor results to upload dir:
[task 2021-10-02T00:28:26.570Z] 00:28:26     INFO - /Users/cltbld/tasks/task_1633118608/build/blobber_upload_dir/perfherder-data.json
[task 2021-10-02T00:28:26.570Z] 00:28:26     INFO - Copying raptor results from /Users/cltbld/tasks/task_1633118608/build/raptor.json to /Users/cltbld/tasks/task_1633118608/build/blobber_upload_dir/perfherder-data.json
[task 2021-10-02T00:28:26.570Z] 00:28:26 CRITICAL - Error copying results /Users/cltbld/tasks/task_1633118608/build/raptor.json to upload dir /Users/cltbld/tasks/task_1633118608/build/blobber_upload_dir/perfherder-data.json
[task 2021-10-02T00:28:26.570Z] 00:28:26     INFO - [Errno 2] No such file or directory: '/Users/cltbld/tasks/task_1633118608/build/raptor.json'
[task 2021-10-02T00:28:26.571Z] 00:28:26     INFO - Running post-action listener: _package_coverage_data
[task 2021-10-02T00:28:26.571Z] 00:28:26     INFO - Running post-action listener: _resource_record_post_action
[task 2021-10-02T00:28:26.571Z] 00:28:26     INFO - Running post-action listener: process_java_coverage_data
[task 2021-10-02T00:28:26.571Z] 00:28:26     INFO - Running post-action listener: stop_device
[task 2021-10-02T00:28:26.571Z] 00:28:26     INFO - [mozharness: 2021-10-02 00:28:26.571831Z] Finished run-tests step (success)
[task 2021-10-02T00:28:26.572Z] 00:28:26     INFO - Running post-run listener: _resource_record_post_run
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - Total resource usage - Wall time: 1648s; CPU: 3%; Read bytes: 357244928; Write bytes: 885788672; Read time: 6053; Write time: 3544
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: CPU usage<br/>3.5%
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: I/O read bytes / time<br/>357,244,928 / 6,053
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: I/O write bytes / time<br/>885,788,672 / 3,544
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: CPU idle<br/>18,854.3 (95.3%)
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: CPU system<br/>348.6 (1.8%)
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: CPU user<br/>576.6 (2.9%)
[task 2021-10-02T00:28:26.721Z] 00:28:26     INFO - TinderboxPrint: Swap in / out<br/>636,780,544 / 0
[task 2021-10-02T00:28:26.722Z] 00:28:26     INFO - install-chromium-distribution - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2021-10-02T00:28:26.723Z] 00:28:26     INFO - install - Wall time: 30s; CPU: 13%; Read bytes: 415737344; Write bytes: 412299264; Read time: 23889; Write time: 798
[task 2021-10-02T00:28:26.740Z] 00:28:26     INFO - run-tests - Wall time: 1619s; CPU: 3%; Read bytes: 354680832; Write bytes: 443871232; Read time: 5954; Write time: 2700
[task 2021-10-02T00:28:27.081Z] 00:28:27  WARNING - returning nonzero exit status 1
[taskcluster 2021-10-02T00:28:27.120Z]    Exit Code: 1
[taskcluster 2021-10-02T00:28:27.120Z]    User Time: 5m28.240467s
[taskcluster 2021-10-02T00:28:27.120Z]  Kernel Time: 2m29.041599s
[taskcluster 2021-10-02T00:28:27.120Z]    Wall Time: 28m16.806273929s
[taskcluster 2021-10-02T00:28:27.120Z]       Result: FAILED
[taskcluster 2021-10-02T00:28:27.120Z] === Task Finished ===
[taskcluster 2021-10-02T00:28:27.120Z] Task Duration: 28m16.824190787s
[taskcluster 2021-10-02T00:28:27.174Z] Uploading artifact public/logs/localconfig.json from file logs/localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2022-10-01T22:15:42.395Z
[taskcluster 2021-10-02T00:28:27.372Z] Uploading artifact public/test_info/power-measurements-raptor-youtube-playback-h264-1080p30-firefox-live.zip from file build/blobber_upload_dir/power-measurements-raptor-youtube-playback-h264-1080p30-firefox-live.zip with content encoding "", mime type "application/zip" and expiry 2022-10-01T22:15:42.395Z
[taskcluster 2021-10-02T00:28:28.022Z] Uploading artifact public/test_info/power-measurements-raptor-youtube-playback-h264-1080p60-firefox-live.zip from file build/blobber_upload_dir/power-measurements-raptor-youtube-playback-h264-1080p60-firefox-live.zip with content encoding "", mime type "application/zip" and expiry 2022-10-01T22:15:42.395Z
[taskcluster 2021-10-02T00:28:28.451Z] Uploading artifact public/test_info/power-measurements-raptor-youtube-playback-h264-full-1080p30-firefox-live.zip from file build/blobber_upload_dir/power-measurements-raptor-youtube-playback-h264-full-1080p30-firefox-live.zip with content encoding "", mime type "application/zip" and expiry 2022-10-01T22:15:42.395Z
[taskcluster 2021-10-02T00:28:28.697Z] Uploading artifact public/test_info/power-measurements-raptor-youtube-playback-h264-full-1080p60-firefox-live.zip from file build/blobber_upload_dir/power-measurements-raptor-youtube-playback-h264-full-1080p60-firefox-live.zip with content encoding "", mime type "application/zip" and expiry 2022-10-01T22:15:42.395Z
[taskcluster 2021-10-02T00:28:28.812Z] Uploading artifact public/test_info/resource-usage.json from file build/blobber_upload_dir/resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2022-10-01T22:15:42.395Z
[taskcluster:error] exit status 1

Kimberley, could you take a look at this? Greg has needinfo requests blocked. Thank you.

Flags: needinfo?(ksereduck)
Keywords: regression
Regressed by: 1713815
Summary: Perma OS X fission [tier 2] AttributeError: 'WebExtensionFirefox' object has no attribute 'page_count' → Perma Raptor failures: AttributeError: 'WebExtension<something>' object has no attribute 'page_count'

This appears to be caused by a patch that Greg landed recently, he said he's currently got a patch in progress for this

Flags: needinfo?(ksereduck)

This patch will solve an issue in raptor-webext tests where there was a missing variable definition and a change in mozperftest to handle the missing manifestparser module. In this case, it was not needed so its usage was removed. A couple of other cosmetic changes were made to the hooks_recording.py file.

Assignee: nobody → gmierz2
Status: NEW → ASSIGNED

[Tracking Requested - why for this release]: Some performance tests broken.

Pushed by gmierz2@outlook.com:
https://hg.mozilla.org/integration/autoland/rev/f7b841d07e27
Handle page_count in raptor-webext and missing manifestparser requirement. r=perftest-reviewers,kimberlythegeek
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: