Closed
Bug 1482292
Opened 7 years ago
Closed 7 years ago
Permafailing Tier 2 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_load_parameters_override TEST-UNEXPECTED-FAIL
Categories
(Firefox Build System :: Task Configuration, task, P5)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: aiakab [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=193169198&repo=mozilla-inbound
https://queue.taskcluster.net/v1/task/A6dNXnwTSvWLRvsZ3AUp_A/runs/0/artifacts/public/logs/live_backing.log
[task 2018-08-09T22:47:17.614Z] 0:24.69 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 2018-08-09T22:47:17.614Z] 0:24.69 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2018-08-09T22:47:17.614Z] 0:24.69 collecting ... collected 7 items
[task 2018-08-09T22:47:17.615Z] 0:24.69
[task 2018-08-09T22:47:17.615Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_default_all PASSED
[task 2018-08-09T22:47:17.615Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_default_integration PASSED
[task 2018-08-09T22:47:17.615Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_default_nothing PASSED
[task 2018-08-09T22:47:17.616Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_default_release PASSED
[task 2018-08-09T22:47:17.616Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_empty_try PASSED
[task 2018-08-09T22:47:17.616Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_try_option_syntax PASSED
[task 2018-08-09T22:47:17.617Z] 0:24.69 taskcluster/taskgraph/test/test_target_tasks.py::TestTargetTasks::test_try_task_config PASSED
[task 2018-08-09T22:47:17.617Z] 0:24.69
[task 2018-08-09T22:47:17.617Z] 0:24.69 =========================== 7 passed in 0.03 seconds ===========================
[task 2018-08-09T22:47:17.726Z] 0:24.79 /builds/worker/checkouts/gecko/taskcluster/taskgraph/test/test_taskgraph.py
[task 2018-08-09T22:47:17.728Z] 0:24.80 ============================= test session starts ==============================
[task 2018-08-09T22:47:17.739Z] 0:24.81 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 2018-08-09T22:47:17.741Z] 0:24.81 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2018-08-09T22:47:17.741Z] 0:24.81 collecting ... collected 2 items
[task 2018-08-09T22:47:17.741Z] 0:24.81
[task 2018-08-09T22:47:17.742Z] 0:24.81 taskcluster/taskgraph/test/test_taskgraph.py::TestTaskGraph::test_round_trip PASSED
[task 2018-08-09T22:47:17.742Z] 0:24.81 taskcluster/taskgraph/test/test_taskgraph.py::TestTaskGraph::test_taskgraph_to_json PASSED
[task 2018-08-09T22:47:17.743Z] 0:24.81
[task 2018-08-09T22:47:17.743Z] 0:24.81 =========================== 2 passed in 0.01 seconds ===========================
[task 2018-08-09T22:47:17.743Z] 0:24.82 /builds/worker/checkouts/gecko/taskcluster/taskgraph/test/test_transforms_base.py
[task 2018-08-09T22:47:17.744Z] 0:24.82 ============================= test session starts ==============================
[task 2018-08-09T22:47:17.744Z] 0:24.82 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 2018-08-09T22:47:17.744Z] 0:24.82 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2018-08-09T22:47:17.745Z] 0:24.82 collecting ... collected 1 item
[task 2018-08-09T22:47:17.745Z] 0:24.82
[task 2018-08-09T22:47:17.745Z] 0:24.82 taskcluster/taskgraph/test/test_transforms_base.py::TestTransformSequence::test_sequence PASSED
[task 2018-08-09T22:47:17.746Z] 0:24.82
[task 2018-08-09T22:47:17.746Z] 0:24.82 =========================== 1 passed in 0.01 seconds ===========================
[task 2018-08-09T22:47:17.888Z] 0:24.96 /builds/worker/checkouts/gecko/taskcluster/taskgraph/test/test_parameters.py
[task 2018-08-09T22:47:17.897Z] 0:24.97 ============================= test session starts ==============================
[task 2018-08-09T22:47:17.898Z] 0:24.97 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 2018-08-09T22:47:17.898Z] 0:24.97 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2018-08-09T22:47:17.898Z] 0:24.97 collecting ... collected 14 items
[task 2018-08-09T22:47:17.898Z] 0:24.97
[task 2018-08-09T22:47:17.899Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_check PASSED
[task 2018-08-09T22:47:17.899Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_check_extra PASSED
[task 2018-08-09T22:47:17.899Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_check_missing PASSED
[task 2018-08-09T22:47:17.899Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_get PASSED
[task 2018-08-09T22:47:17.900Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_immutable PASSED
[task 2018-08-09T22:47:17.900Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_invalid_KeyError PASSED
[task 2018-08-09T22:47:17.900Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_Parameters_missing_KeyError PASSED
[task 2018-08-09T22:47:17.900Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_load_parameters_file_json PASSED
[task 2018-08-09T22:47:17.900Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_load_parameters_file_yaml PASSED
[task 2018-08-09T22:47:17.901Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_load_parameters_override TEST-UNEXPECTED-FAIL
[task 2018-08-09T22:47:17.901Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestParameters::test_load_parameters_override_file TEST-UNEXPECTED-FAIL
[task 2018-08-09T22:47:17.901Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestCommParameters::test_Parameters_check PASSED
[task 2018-08-09T22:47:17.901Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestCommParameters::test_Parameters_check_extra PASSED
[task 2018-08-09T22:47:17.901Z] 0:24.97 taskcluster/taskgraph/test/test_parameters.py::TestCommParameters::test_Parameters_check_missing PASSED
[task 2018-08-09T22:47:17.902Z] 0:24.97
[task 2018-08-09T22:47:17.902Z] 0:24.97 =================================== FAILURES ===================================
[task 2018-08-09T22:47:17.902Z] 0:24.97 _________________ TestParameters.test_load_parameters_override _________________
[task 2018-08-09T22:47:17.902Z] 0:24.97
[task 2018-08-09T22:47:17.902Z] 0:24.97 self = <taskgraph.test.test_parameters.TestParameters testMethod=test_load_parameters_override>
[task 2018-08-09T22:47:17.903Z] 0:24.97
[task 2018-08-09T22:47:17.903Z] 0:24.97 def test_load_parameters_override(self):
[task 2018-08-09T22:47:17.903Z] 0:24.97 """
[task 2018-08-09T22:47:17.903Z] 0:24.98 When ``load_parameters_file`` is passed overrides, they are included in
[task 2018-08-09T22:47:17.904Z] 0:24.98 the generated parameters.
[task 2018-08-09T22:47:17.904Z] 0:24.98 """
[task 2018-08-09T22:47:17.905Z] 0:24.98 > self.assert_equal(
[task 2018-08-09T22:47:17.905Z] 0:24.98 load_parameters_file('', overrides={'some': 'data'}),
[task 2018-08-09T22:47:17.905Z] 0:24.98 {'some': 'data'})
[task 2018-08-09T22:47:17.905Z] 0:24.98 E AttributeError: 'TestParameters' object has no attribute 'assert_equal'
[task 2018-08-09T22:47:17.906Z] 0:24.98
[task 2018-08-09T22:47:17.906Z] 0:24.98 taskcluster/taskgraph/test/test_parameters.py:78: AttributeError
[task 2018-08-09T22:47:17.906Z] 0:24.98 ______________ TestParameters.test_load_parameters_override_file _______________
[task 2018-08-09T22:47:17.906Z] 0:24.98
[task 2018-08-09T22:47:17.907Z] 0:24.98 self = <taskgraph.test.test_parameters.TestParameters testMethod=test_load_parameters_override_file>
[task 2018-08-09T22:47:17.907Z] 0:24.98
[task 2018-08-09T22:47:17.907Z] 0:24.98 def test_load_parameters_override_file(self):
[task 2018-08-09T22:47:17.908Z] 0:24.98 """
[task 2018-08-09T22:47:17.908Z] 0:24.98 When ``load_parameters_file`` is passed overrides, they overwrite data
[task 2018-08-09T22:47:17.908Z] 0:24.98 loaded from a file.
[task 2018-08-09T22:47:17.908Z] 0:24.98 """
[task 2018-08-09T22:47:17.909Z] 0:24.98 with MockedOpen({"params.json": '{"some": "data"}'}):
[task 2018-08-09T22:47:17.909Z] 0:24.98 > self.assert_equal(
[task 2018-08-09T22:47:17.909Z] 0:24.98 load_parameters_file('params.json', overrides={'some': 'other'}),
[task 2018-08-09T22:47:17.910Z] 0:24.98 {'some': 'other'})
[task 2018-08-09T22:47:17.910Z] 0:24.98 E AttributeError: 'TestParameters' object has no attribute 'assert_equal'
[task 2018-08-09T22:47:17.910Z] 0:24.98
[task 2018-08-09T22:47:17.910Z] 0:24.98 taskcluster/taskgraph/test/test_parameters.py:88: AttributeError
[task 2018-08-09T22:47:17.911Z] 0:24.98 ===================== 2 failed, 12 passed in 0.45 seconds ======================
[task 2018-08-09T22:47:17.911Z] 0:24.98 Setting retcode to 1 from /builds/worker/checkouts/gecko/taskcluster/taskgraph/test/test_parameters.py
[task 2018-08-09T22:47:18.639Z] 0:25.71 /builds/worker/checkouts/gecko/taskcluster/taskgraph/test/test_util_attributes.py
[task 2018-08-09T22:47:18.639Z] 0:25.71 ============================= test session starts ==============================
[task 2018-08-09T22:47:18.639Z] 0:25.71 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 2018-08-09T22:47:18.639Z] 0:25.71 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2018-08-09T22:47:18.639Z] 0:25.71 collecting ... collected 11 items
Comment 1•7 years ago
|
||
:tomprince Could you please take a look at this because it started permafailing from your push https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=462ddf703a7b2de78178a48ed29988a4945b990e&filter-searchStr=70db117f4d24d6839cd44522acbd46e5ea2efb7e
Here is an overview https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&fromchange=a18c257cf35d1b10cd713579b83357084812ba72&filter-searchStr=70db117f4d24d6839cd44522acbd46e5ea2efb7e&selectedJob=193169198
Flags: needinfo?(mozilla)
Comment 2•7 years ago
|
||
Thanks, I've pushed a fix tagged with the original bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mozilla)
Resolution: --- → FIXED
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•