Closed Bug 1594982 Opened 4 months ago Closed 3 months ago

Intermittent AttributeError: 'RaptorOutputParser' object has no attribute 'tbpl_status'

Categories

(Testing :: Raptor, defect, P5)

Version 3
defect

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

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

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=275239909&repo=mozilla-inbound
Full log: https://queue.taskcluster.net/v1/task/Kjw-iUCIS0axJzp-g3QSwA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-11-08T04:15:16.123Z] 04:15:13 CRITICAL - raise ADBProcessError(adb_process)
[task 2019-11-08T04:15:16.123Z] Exception in thread ProcessReader:
[task 2019-11-08T04:15:16.123Z] Traceback (most recent call last):
[task 2019-11-08T04:15:16.123Z] File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
[task 2019-11-08T04:15:16.123Z] self.run()
[task 2019-11-08T04:15:16.123Z] File "/usr/lib/python2.7/threading.py", line 754, in run
[task 2019-11-08T04:15:16.123Z] self.__target(*self.__args, **self.__kwargs)
[task 2019-11-08T04:15:16.123Z] File "/builds/task_1573186423/workspace/mozharness/mozprocess/processhandler.py", line 1085, in _read
[task 2019-11-08T04:15:16.123Z] callback(line.rstrip())
[task 2019-11-08T04:15:16.123Z] File "/builds/task_1573186423/workspace/mozharness/mozprocess/processhandler.py", line 995, in call
[task 2019-11-08T04:15:16.123Z] e(*args, **kwargs)
[task 2019-11-08T04:15:16.123Z] File "/builds/task_1573186423/workspace/mozharness/mozharness/base/script.py", line 1438, in processOutput
[task 2019-11-08T04:15:16.123Z] parser.add_lines(line)
[task 2019-11-08T04:15:16.123Z] File "/builds/task_1573186423/workspace/mozharness/mozharness/base/log.py", line 359, in add_lines
[task 2019-11-08T04:15:16.123Z] self.parse_single_line(line)
[task 2019-11-08T04:15:16.123Z] File "/builds/task_1573186423/workspace/mozharness/mozharness/mozilla/testing/raptor.py", line 773, in parse_single_line
[task 2019-11-08T04:15:16.123Z] self.tbpl_status = self.worst_level(TBPL_RETRY, self.tbpl_status,
[task 2019-11-08T04:15:16.123Z] AttributeError: 'RaptorOutputParser' object has no attribute 'tbpl_status'
[task 2019-11-08T04:15:16.123Z]
[task 2019-11-08T04:15:16.123Z] 04:15:13 ERROR - Return code: 1
[task 2019-11-08T04:15:16.123Z] 04:15:13 WARNING - setting return code to 1
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Killing logcat pid 605.
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Copying Raptor results to upload dir:
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - /builds/task_1573186423/workspace/build/blobber_upload_dir/perfherder-data.json
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Copying raptor results from /builds/task_1573186423/workspace/build/raptor.json to /builds/task_1573186423/workspace/build/blobber_upload_dir/perfherder-data.json
[task 2019-11-08T04:15:16.123Z] 04:15:13 CRITICAL - Error copying results /builds/task_1573186423/workspace/build/raptor.json to upload dir /builds/task_1573186423/workspace/build/blobber_upload_dir/perfherder-data.json
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - [Errno 2] No such file or directory: u'/builds/task_1573186423/workspace/build/raptor.json'
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Running post-action listener: _package_coverage_data
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Running post-action listener: _resource_record_post_action
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Running post-action listener: process_java_coverage_data
[task 2019-11-08T04:15:16.123Z] 04:15:13 INFO - Running post-action listener: stop_device
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - Killing logcat pid 605.
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - [mozharness: 2019-11-08 04:15:16.008216Z] Finished run-tests step (success)
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - Running post-run listener: _resource_record_post_run
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - Total resource usage - Wall time: 35s; CPU: 17.0%; Read bytes: 0; Write bytes: 374865920; Read time: 0; Write time: 515732
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: CPU usage<br/>16.7%
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: I/O read bytes / time<br/>0 / 0
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: I/O write bytes / time<br/>374,865,920 / 515,732
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: CPU idle<br/>110.6 (80.3%)
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: CPU iowait<br/>4.4 (3.2%)
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: CPU system<br/>7.3 (5.3%)
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: CPU user<br/>15.0 (10.9%)
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - TinderboxPrint: Swap in / out<br/>0 / 0
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - install - Wall time: 17s; CPU: 16.0%; Read bytes: 0; Write bytes: 342491136; Read time: 0; Write time: 495752
[task 2019-11-08T04:15:16.123Z] 04:15:16 INFO - run-tests - Wall time: 16s; CPU: 17.0%; Read bytes: 0; Write bytes: 11022336; Read time: 0; Write time: 900
[task 2019-11-08T04:15:16.123Z] 04:15:16 WARNING - returning nonzero exit status 1

Assignee: nobody → gbrown
Blocks: 1500266
Regressed by: 1592681

Avoid intermittent failures: "AttributeError: 'RaptorOutputParser' object has no attribute 'tbpl_status'".
All mozharness OutputParser-derived classes normally initialize these variables; I neglected to do
so in bug 1592681.

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce76d83dde22
Initialize tbpl_status and worst_log_level in RaptorOutputParser; r=perftest-reviewers,sparky
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.