Open Bug 922596 Opened 11 years ago Updated 2 years ago

KeyError: u'compile_nss' at the end of ./mach build

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: ehsan.akhgari, Unassigned)

Details

23:51.13 521 compiler warnings present.
23:52.54 Overall system resources - Wall time: 1431s; CPU: 71%; Read bytes: 2275201536; Write bytes: 5143036416; Read time: 774587; Write time: 2567743
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

KeyError: u'compile_nss'

  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 382, in build
    monitor.finish(record_usage=status==0)
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 387, in finish
    usage = self.record_resource_usage()
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 489, in record_resource_usage
    o['tiers'] = self.tiers.tiered_resource_usage()
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 210, in tiered_resource_usage
    subtier))
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 234, in add_resources_to_dict
    end=end, phase=phase, per_cpu=False)
  File "/Users/ehsanakhgari/moz/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 376, in aggregate_cpu_percent
    data = self.phase_usage(phase)
  File "/Users/ehsanakhgari/moz/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 335, in phase_usage
    time_start, time_end = self.phases[phase]
I'm fairly sure this is because of bug 915535.
Component: mach → Build Config
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.