Closed Bug 1569882 Opened 4 months ago Closed 4 months ago

Perma tier 2 0:26.11 python/mozlint/test/test_result.py::test_issue_defaults TEST-UNEXPECTED-FAIL

Categories

(Firefox Build System :: Lint and Formatting, defect, P5)

defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=258954747&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/fW0JbcTDRwS_TnGBVrM_Iw/runs/0/artifacts/public/logs/live_backing.log


[task 2019-07-30T06:59:02.250Z] 0:26.11 ============================= test session starts ==============================
[task 2019-07-30T06:59:02.250Z] 0:26.11 platform linux2 -- Python 2.7.12, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/gecko-QUm8IANb-2/bin/python
[task 2019-07-30T06:59:02.250Z] 0:26.11 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2019-07-30T06:59:02.251Z] 0:26.11 collecting ... collected 1 item
[task 2019-07-30T06:59:02.251Z] 0:26.11
[task 2019-07-30T06:59:02.251Z] 0:26.11 python/mozlint/test/test_result.py::test_issue_defaults TEST-UNEXPECTED-FAIL
[task 2019-07-30T06:59:02.252Z] 0:26.11
[task 2019-07-30T06:59:02.252Z] 0:26.11 =================================== FAILURES ===================================
[task 2019-07-30T06:59:02.253Z] 0:26.12 _____________________________ test_issue_defaults ______________________________
[task 2019-07-30T06:59:02.253Z] 0:26.12
[task 2019-07-30T06:59:02.253Z] 0:26.12 def test_issue_defaults():
[task 2019-07-30T06:59:02.253Z] 0:26.12 > issue = Issue('linter', 'path', 'message', None)
[task 2019-07-30T06:59:02.253Z] 0:26.12
[task 2019-07-30T06:59:02.253Z] 0:26.12 python/mozlint/test/test_result.py:13:
[task 2019-07-30T06:59:02.253Z] 0:26.12 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-07-30T06:59:02.255Z] 0:26.12
[task 2019-07-30T06:59:02.255Z] 0:26.12 self = <[AttributeError("path") raised in repr()] SafeRepr object at 0x7f98e6e94ef0>
[task 2019-07-30T06:59:02.255Z] 0:26.12 linter = 'linter', path = 'path', message = 'message', lineno = None
[task 2019-07-30T06:59:02.255Z] 0:26.12 column = None, hint = None, source = None, level = None, rule = None
[task 2019-07-30T06:59:02.255Z] 0:26.12 lineoffset = None, diff = None, relpath = None
[task 2019-07-30T06:59:02.255Z] 0:26.12
[task 2019-07-30T06:59:02.255Z] 0:26.12 def init(
[task 2019-07-30T06:59:02.255Z] 0:26.12 self,
[task 2019-07-30T06:59:02.255Z] 0:26.12 linter,
[task 2019-07-30T06:59:02.255Z] 0:26.12 path,
[task 2019-07-30T06:59:02.255Z] 0:26.12 message,
[task 2019-07-30T06:59:02.255Z] 0:26.12 lineno,
[task 2019-07-30T06:59:02.256Z] 0:26.12 column=None,
[task 2019-07-30T06:59:02.256Z] 0:26.12 hint=None,
[task 2019-07-30T06:59:02.257Z] 0:26.12 source=None,
[task 2019-07-30T06:59:02.257Z] 0:26.12 level=None,
[task 2019-07-30T06:59:02.258Z] 0:26.12 rule=None,
[task 2019-07-30T06:59:02.258Z] 0:26.12 lineoffset=None,
[task 2019-07-30T06:59:02.259Z] 0:26.12 diff=None,
[task 2019-07-30T06:59:02.259Z] 0:26.12 relpath=None,
[task 2019-07-30T06:59:02.259Z] 0:26.12 ):
[task 2019-07-30T06:59:02.259Z] 0:26.12 self.message = message
[task 2019-07-30T06:59:02.260Z] 0:26.12 self.lineno = int(lineno) if lineno else 0
[task 2019-07-30T06:59:02.260Z] 0:26.12 self.column = int(column) if column else column
[task 2019-07-30T06:59:02.260Z] 0:26.12 self.hint = hint
[task 2019-07-30T06:59:02.261Z] 0:26.12 self.source = source
[task 2019-07-30T06:59:02.261Z] 0:26.12 self.level = level or "error"
[task 2019-07-30T06:59:02.263Z] 0:26.12 self.linter = linter
[task 2019-07-30T06:59:02.264Z] 0:26.13 self.rule = rule
[task 2019-07-30T06:59:02.264Z] 0:26.13 self.lineoffset = lineoffset
[task 2019-07-30T06:59:02.265Z] 0:26.13 self.diff = diff
[task 2019-07-30T06:59:02.266Z] 0:26.13
[task 2019-07-30T06:59:02.266Z] 0:26.13 root = ResultSummary.root
[task 2019-07-30T06:59:02.267Z] 0:26.13 > assert root is not None, 'Missing ResultSummary.root'
[task 2019-07-30T06:59:02.268Z] 0:26.13 E AssertionError: Missing ResultSummary.root
[task 2019-07-30T06:59:02.268Z] 0:26.13
[task 2019-07-30T06:59:02.269Z] 0:26.13 python/mozlint/mozlint/result.py:118: AssertionError
[task 2019-07-30T06:59:02.270Z] 0:26.13 =========================== 1 failed in 0.09 seconds ===========================
[task 2019-07-30T06:59:02.581Z] 0:26.44 /builds/worker/checkouts/gecko/python/mozlint/test/test_types.py
[task 2019-07-30T06:59:02.581Z] 0:26.44 ============================= test session starts ==============================

Regressed by: 1568484
See Also: 1568484
Assignee: nobody → bastien
Status: NEW → ASSIGNED
Pushed by babadie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a53b590e435
Fix mozlint unit tests for relative path outputs, r=ahal
Blocks: 1564129
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.