Bug 1670828 Comment 17 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Here is my printed result, thank you.

```
➜  mozilla-central ./mach build faster
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1072, in build
    monitor.start_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 254, in start_resource_recording
    self.resources.start()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 300, in start
    traceback.print_stack()
 0:01.88 /usr/bin/make -C faster -j8 -s
 0:02.38 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/features/webcompat-reporter@mozilla.org: Kept 1 existing; Added/updated 2; Removed 0 files and 0 directories.
 0:02.40 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-fake/1.0: Kept 1 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.42 Elapsed: 0.03s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/features/formautofill@mozilla.org: Kept 52 existing; Added/updated 2; Removed 0 files and 0 directories.
 0:02.43 Elapsed: 0.05s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/localization: Kept 76 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.46 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-fakeopenh264/1.0: Kept 1 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.47 Elapsed: 0.09s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-clearkey/0.1: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories.
 0:02.48 Elapsed: 0.03s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/localization: Kept 48 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:03.66 Elapsed: 0.68s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin: Kept 1707 existing; Added/updated 41; Removed 2 files and 0 directories.
 0:03.68 Elapsed: 1.38s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser: Kept 3857 existing; Added/updated 47; Removed 2 files and 0 directories.
 0:06.56 156 compiler warnings present.
Before: self._resources_started = True, self.resources._running = True
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 339, in finish
    self.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 316, in stop
    traceback.print_stack()
Before: self._resources_started = True, self.resources._running = False
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 732, in __exit__
    self.monitor.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 316, in stop
    traceback.print_stack()
Error running mach:

    ['build', 'faster']

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 can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

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

The details of the failure are as follows:

AssertionError

  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 732, in __exit__
    self.monitor.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 317, in stop
    assert self._running
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
➜  mozilla-central
```
Here is my printed result, thank you. (BTW, I've updated to the latest m-c)

```
➜  mozilla-central ./mach build faster
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1072, in build
    monitor.start_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 254, in start_resource_recording
    self.resources.start()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 300, in start
    traceback.print_stack()
 0:01.88 /usr/bin/make -C faster -j8 -s
 0:02.38 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/features/webcompat-reporter@mozilla.org: Kept 1 existing; Added/updated 2; Removed 0 files and 0 directories.
 0:02.40 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-fake/1.0: Kept 1 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.42 Elapsed: 0.03s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/features/formautofill@mozilla.org: Kept 52 existing; Added/updated 2; Removed 0 files and 0 directories.
 0:02.43 Elapsed: 0.05s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser/localization: Kept 76 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.46 Elapsed: 0.00s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-fakeopenh264/1.0: Kept 1 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:02.47 Elapsed: 0.09s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/gmp-clearkey/0.1: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories.
 0:02.48 Elapsed: 0.03s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/localization: Kept 48 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:03.66 Elapsed: 0.68s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin: Kept 1707 existing; Added/updated 41; Removed 2 files and 0 directories.
 0:03.68 Elapsed: 1.38s; From /Users/alastor/mozilla-dev/mozilla-central/obj-debug-x86_64-apple-darwin18.5.0/dist/bin/browser: Kept 3857 existing; Added/updated 47; Removed 2 files and 0 directories.
 0:06.56 156 compiler warnings present.
Before: self._resources_started = True, self.resources._running = True
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 339, in finish
    self.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 316, in stop
    traceback.print_stack()
Before: self._resources_started = True, self.resources._running = False
  File "./mach", line 260, in <module>
    main(sys.argv[1:])
  File "./mach", line 256, in main
    sys.exit(mach.run(args))
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 363, in run
    return self._run(argv, sentry)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/main.py", line 462, in _run
    return Registrar._run_command_handler(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mach/mach/registrar.py", line 101, in _run_command_handler
    result = fn(**kwargs)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 732, in __exit__
    self.monitor.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 316, in stop
    traceback.print_stack()
Error running mach:

    ['build', 'faster']

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 can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

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

The details of the failure are as follows:

AssertionError

  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/build_commands.py", line 125, in build
    return driver.build(
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 1255, in build
    monitor.finish(record_usage=record_usage)
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 732, in __exit__
    self.monitor.stop_resource_recording()
  File "/Users/alastor/mozilla-dev/mozilla-central/python/mozbuild/mozbuild/controller/building.py", line 330, in stop_resource_recording
    self.resources.stop()
  File "/Users/alastor/mozilla-dev/mozilla-central/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 317, in stop
    assert self._running
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
➜  mozilla-central
```

Back to Bug 1670828 Comment 17