Closed Bug 1645228 Opened 5 years ago Closed 5 years ago

Perma tier 2 0:36.76 python/mach/mach/test/test_conditions.py::TestConditions::test_conditions_pass TEST-UNEXPECTED-FAIL

Categories

(Firefox Build System :: Mach Core, defect, P5)

defect

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=306009594&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/byEr2vLtQG--8ISa79bW-g/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-11T22:23:17.293Z] 0:22.60 ============================= test session starts ==============================
[task 2020-06-11T22:23:17.294Z] 0:22.61 platform linux2 -- Python 2.7.17, 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 2020-06-11T22:23:17.294Z] 0:22.61 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2020-06-11T22:23:17.294Z] 0:22.61 collecting ... collected 4 items
[task 2020-06-11T22:23:17.294Z] 0:22.61
[task 2020-06-11T22:23:17.294Z] 0:22.61 python/mach/mach/test/test_conditions.py::TestConditions::test_conditions_pass TEST-UNEXPECTED-FAIL
[task 2020-06-11T22:23:17.294Z] 0:22.61 python/mach/mach/test/test_conditions.py::TestConditions::test_help_message TEST-UNEXPECTED-FAIL
[task 2020-06-11T22:23:17.294Z] 0:22.61 python/mach/mach/test/test_conditions.py::TestConditions::test_invalid_context_message TEST-UNEXPECTED-FAIL
[task 2020-06-11T22:23:17.295Z] 0:22.61 python/mach/mach/test/test_conditions.py::TestConditions::test_invalid_type PASSED
[task 2020-06-11T22:23:17.295Z] 0:22.61
[task 2020-06-11T22:23:17.295Z] 0:22.61 =================================== FAILURES ===================================
[task 2020-06-11T22:23:17.295Z] 0:22.61 _____________________ TestConditions.test_conditions_pass ______________________
[task 2020-06-11T22:23:17.295Z] 0:22.61
[task 2020-06-11T22:23:17.295Z] 0:22.61 self = <mach.test.test_conditions.TestConditions testMethod=test_conditions_pass>
[task 2020-06-11T22:23:17.295Z] 0:22.61
[task 2020-06-11T22:23:17.295Z] 0:22.61 def test_conditions_pass(self):
[task 2020-06-11T22:23:17.295Z] 0:22.61 """Test that a command which passes its conditions is runnable."""
[task 2020-06-11T22:23:17.296Z] 0:22.61
[task 2020-06-11T22:23:17.296Z] 0:22.61 self.assertEquals((0, '', ''), self._run_mach(['cmd_foo']))
[task 2020-06-11T22:23:17.296Z] 0:22.61 > self.assertEquals((0, '', ''), self._run_mach(['cmd_foo_ctx'], _populate_context))
[task 2020-06-11T22:23:17.296Z] 0:22.61 E AssertionError: Tuples differ: (0, u'', u'') != (1, u'It looks like you tried ...
[task 2020-06-11T22:23:17.296Z] 0:22.61 E
[task 2020-06-11T22:23:17.297Z] 0:22.62 E First differing element 0:
[task 2020-06-11T22:23:17.297Z] 0:22.62 E 0
[task 2020-06-11T22:23:17.297Z] 0:22.62 E 1
[task 2020-06-11T22:23:17.298Z] 0:22.62 E
[task 2020-06-11T22:23:17.298Z] 0:22.62 E - (0, u'', u'')
[task 2020-06-11T22:23:17.299Z] 0:22.62 E + (1,
[task 2020-06-11T22:23:17.299Z] 0:22.62 E + u'It looks like you tried to run a mach command from an invalid context. The cmd_foo_ctx\ncommand failed to meet the following conditions: \n\n is_foo - Foo must be true\n\nRun |mach help| to show a list of all commands available to the current context.\n\n',
[task 2020-06-11T22:23:17.299Z] 0:22.62 E + '')
[task 2020-06-11T22:23:17.299Z] 0:22.62
[task 2020-06-11T22:23:17.300Z] 0:22.62 python/mach/mach/test/test_conditions.py:39: AssertionError

Flags: needinfo?(mhentges)
Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Flags: needinfo?(mhentges)
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4fac026eddfa Support topdir in test _populate_context mock r=rstewart
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: