Closed Bug 1776512 Opened 3 years ago Closed 3 years ago

Perma python3 [tier 2] tools/lint/test/test_updatebot.py::test_basic[updatebot] TEST-UNEXPECTED-FAIL

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P5)

Tracking

(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox101 unaffected, firefox102 unaffected, firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=382471538&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EgyAnY8eRBuMmEoh4JSq_A/runs/0/artifacts/public/logs/live_backing.log


[task 2022-06-24T20:17:47.567Z] /opt/worker/tasks/task_165610123543706/checkouts/gecko/tools/lint/test/test_updatebot.py
[task 2022-06-24T20:17:47.567Z] ============================= test session starts ==============================
[task 2022-06-24T20:17:47.568Z] platform darwin -- Python 3.7.9, pytest-7.0.1, pluggy-1.0.0 -- /opt/worker/tasks/task_165610123543706/checkouts/gecko/obj-x86_64-apple-darwin19.6.0/_virtualenvs/python-test/bin/python
[task 2022-06-24T20:17:47.568Z] rootdir: /opt/worker/tasks/task_165610123543706/checkouts/gecko, configfile: config/mozunit/mozunit/pytest.ini
[task 2022-06-24T20:17:47.568Z] collecting ... collected 1 item
[task 2022-06-24T20:17:47.568Z] 
[task 2022-06-24T20:17:47.568Z] tools/lint/test/test_updatebot.py::test_basic[updatebot] TEST-UNEXPECTED-FAIL
[task 2022-06-24T20:17:47.568Z] 
[task 2022-06-24T20:17:47.568Z] =================================== FAILURES ===================================
[task 2022-06-24T20:17:47.568Z] ____________________________ test_basic[updatebot] _____________________________
[task 2022-06-24T20:17:47.568Z] tools/lint/test/test_updatebot.py:14: in test_basic
[task 2022-06-24T20:17:47.568Z]     assert "was not found in Cargo.lock" in results[i].message
[task 2022-06-24T20:17:47.568Z] E   assert 'was not found in Cargo.lock' in "Revision idontmatchanything specified in /opt/worker/tasks/task_165610123543706/checkouts/gecko/tools/lint/test/files/updatebot/cargo-mismatch.yaml wasn't found in Cargo.lock"
[task 2022-06-24T20:17:47.568Z] E    +  where "Revision idontmatchanything specified in /opt/worker/tasks/task_165610123543706/checkouts/gecko/tools/lint/test/files/updatebot/cargo-mismatch.yaml wasn't found in Cargo.lock" = Issue(linter='updatebot', path='/opt/worker/tasks/task_165610123543706/checkouts/gecko/tools/lint/test/files/updatebot/cargo-mismatch.yaml', lineno=0, column=None, message="Revision idontmatchanything specified in /opt/worker/tasks/task_165610123543706/checkouts/gecko/tools/lint/test/files/updatebot/cargo-mismatch.yaml wasn't found in Cargo.lock", hint=None, source=None, level='error', rule=None, lineoffset=None, diff=None, relpath='cargo-mismatch.yaml').message
[task 2022-06-24T20:17:47.568Z] ============================== 1 failed in 0.36s ===============================
[task 2022-06-24T20:17:47.568Z] 
[task 2022-06-24T20:17:47.568Z] 
[task 2022-06-24T20:17:47.568Z] Tests Completed: 100%|██████████| 29/29 [01:23<00:00,  2.88s/Test]Return code from mach python-test: 1
[task 2022-06-24T20:17:47.611Z] 
[taskcluster 2022-06-24T20:17:47.668Z]    Exit Code: 1
[taskcluster 2022-06-24T20:17:47.668Z]    User Time: 8m52.690114s
[taskcluster 2022-06-24T20:17:47.668Z]  Kernel Time: 6m53.546967s
[taskcluster 2022-06-24T20:17:47.668Z]    Wall Time: 5m9.358868s
[taskcluster 2022-06-24T20:17:47.668Z]       Result: FAILED
[taskcluster 2022-06-24T20:17:47.668Z] === Task Finished ===
[taskcluster 2022-06-24T20:17:47.668Z] Task Duration: 5m9.362451s
[taskcluster 2022-06-24T20:17:47.668Z] [mounts] Preserving cache: Moving "/opt/worker/tasks/task_165610123543706/checkouts" to "/opt/worker/cache/M7ysGZzGT0G7OxCZSTQCUA"
[taskcluster 2022-06-24T20:17:47.787Z] Uploading redirect artifact public/logs/live.log to URL https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EgyAnY8eRBuMmEoh4JSq_A/runs/0/artifacts/public%2Flogs%2Flive_backing.log with mime type "text/plain; charset=utf-8" and expiry 2023-06-24T20:12:24.844Z
[taskcluster:error] exit status 1

Hello Tom, can you please take a look at this, it looks like it is caused by Bug 1772198?

Flags: needinfo?(tom)

Oops; the attached patch should fix it if you're able to add it to the stack

Flags: needinfo?(tom)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Assignee: nobody → tom
Product: Firefox Build System → Developer Infrastructure
See Also: → 1801737
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: