Closed Bug 1477284 Opened 6 years ago Closed 6 years ago

Intermittent 'mach build -v' did not run successfully. Please check log for errors.

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: apavel, Unassigned)

References

Details

(Keywords: intermittent-failure)

+++ This bug was initially created as a clone of Bug #1469815 +++

https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=189196575

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=189163893&repo=autoland&lineNumber=187326


13:04:58     INFO -  We know it took a while, but your build finally finished successfully!
13:04:58     INFO -  To view resource usage of the build, run |mach resource-usage|.
13:04:58     INFO -  Error running mach:
13:04:58     INFO -      ['--log-no-times', 'build', '-v']
13:04:58     INFO -  The error occurred in code that was called by the mach command. This is either
13:04:58     INFO -  a bug in the called code itself or in the way that mach is calling it.
13:04:58     INFO -  You should consider filing a bug for this issue.
13:04:58     INFO -  If filing a bug, please include the full output of mach, including this error
13:04:58     INFO -  message.
13:04:58     INFO -  The details of the failure are as follows:
13:04:58     INFO -  KeyError: u'upload'
13:04:58     INFO -    File "z:\build\build\src\python/mozbuild/mozbuild/mach_commands.py", line 173, in build
13:04:58     INFO -      mach_context=self._mach_context)
13:04:58     INFO -    File "z:\build\build\src\python/mozbuild\mozbuild\controller\building.py", line 1275, in build
13:04:58     INFO -      telemetry_data = monitor.get_resource_usage()
13:04:58     INFO -    File "z:\build\build\src\python/mozbuild\mozbuild\controller\building.py", line 449, in get_resource_usage
13:04:58     INFO -      o['tiers'] = self.tiers.tiered_resource_usage()
13:04:58     INFO -    File "z:\build\build\src\python/mozbuild\mozbuild\controller\building.py", line 157, in tiered_resource_usage
13:04:58     INFO -      self.add_resources_to_dict(t_entry, phase=tier)
13:04:58     INFO -    File "z:\build\build\src\python/mozbuild\mozbuild\controller\building.py", line 166, in add_resources_to_dict
13:04:58     INFO -      end=end, phase=phase, per_cpu=False)
13:04:58     INFO -    File "z:\build\build\src\testing/mozbase/mozsystemmonitor\mozsystemmonitor\resourcemonitor.py", line 471, in aggregate_cpu_percent
13:04:58     INFO -      data = self.phase_usage(phase)
13:04:58     INFO -    File "z:\build\build\src\testing/mozbase/mozsystemmonitor\mozsystemmonitor\resourcemonitor.py", line 430, in phase_usage
13:04:58     INFO -      time_start, time_end = self.phases[phase]
13:04:58    ERROR - Return code: 1
13:04:58  WARNING - setting return code to 2
13:04:58    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
13:04:58    FATAL - Running post_fatal callback...
13:04:58    FATAL - Exiting -1
13:04:58     INFO - [mozharness: 2018-07-20 13:04:58.929000Z] Finished build step (failed)
13:04:58     INFO - Running post-run listener: _summarize
13:04:58    ERROR - # TBPL FAILURE #
13:04:58     INFO - [mozharness: 2018-07-20 13:04:58.929000Z] FxDesktopBuild summary:
13:04:58    ERROR - # TBPL FAILURE #
13:04:58     INFO - Running post-run listener: copy_logs_to_upload_dir
13:04:58     INFO - Copying logs to upload dir...
13:04:58     INFO - mkdir: z:\build\build\upload\logs
[taskcluster 2018-07-20T13:04:59.002Z]    Exit Code: 4294967295
[taskcluster 2018-07-20T13:04:59.002Z]    User Time: 0s
[taskcluster 2018-07-20T13:04:59.002Z]  Kernel Time: 15.625ms
[taskcluster 2018-07-20T13:04:59.002Z]    Wall Time: 1h17m50.977268s
[taskcluster 2018-07-20T13:04:59.002Z]       Result: FAILED
This is from confusion by the gecko decision task first failing near the end on its first run after some dependencies already got generated.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.