Open Bug 1919464 Opened 6 months ago Updated 2 months ago

Coverage aggregations tasks are failing with unknown errors

Categories

(Testing :: Code Coverage, defect)

defect

Tracking

(Not tracked)

People

(Reporter: marco, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

2024-09-18 04:36:07.000067 [INFO    ] base.py: Building covdir suite report
2024-09-18 04:40:12.000232 [ERROR   ] utils.py: Command failed with code: -6
2024-09-18 04:40:12.000238 [ERROR   ] grcov.py: Error while running grcov
Traceback (most recent call last):
  File "/usr/local/bin/code-coverage-repo", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/repo.py", line 242, in main
    hook.run()
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/repo.py", line 117, in run
    reports = self.build_reports(only=[("all", "all")])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/base.py", line 148, in build_reports
    output = grcov.report(
             ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/grcov.py", line 30, in report
    return run_check(cmd)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/utils.py", line 66, in run_check
    raise Exception(f"`{command[0]}` failed with code: {proc.returncode}.")
Exception: `grcov` failed with code: -6.

The severity field is not set for this bug.
:marco, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mcastelluccio)
Severity: -- → S3
Flags: needinfo?(mcastelluccio)

It seems this didn't help, grcov still ends up getting killed (https://firefox-ci-tc.services.mozilla.com/tasks/EfNOpuJHQ5-r1AzsK0TuaA/runs/0/logs/public/logs/live_backing.log e.g.).

2024-11-11 14:13:22.000047 [ERROR   ] grcov.py: Error while running grcov
Traceback (most recent call last):
  File "/usr/local/bin/code-coverage-repo", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/repo.py", line 242, in main
    hook.run()
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/repo.py", line 117, in run
    reports = self.build_reports(only=[("all", "all")])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/hooks/base.py", line 148, in build_reports
    output = grcov.report(
             ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/grcov.py", line 30, in report
    return run_check(cmd)
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/code_coverage_bot/utils.py", line 68, in run_check
    raise Exception(f"`{command[0]}` failed with code: {proc.returncode}.")
Exception: `grcov` failed with code: -9.
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
[taskcluster 2024-11-11 14:13:24.888Z] === Task Finished ===
[taskcluster 2024-11-11 14:13:24.948Z] Unsuccessful task run with exit code: 1 completed in 664.047 seconds
Summary: Coverage aggregations tasks are failing with OOM errors → Coverage aggregations tasks are failing with unknown errors
Blocks: 1930765
Blocks: 1925873
See Also: → 1940513
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: