Closed Bug 1699210 Opened 4 years ago Closed 4 years ago

Perma [tier 2] 0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureGateException::test_repr_no_file TEST-UNEXPECTED-FAIL

Categories

(Toolkit :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox88 --- fixed
firefox89 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[vcs 2021-03-17T16:12:33.216Z] updating [================================================> ] 285667/288734 01s
[vcs 2021-03-17T16:12:38.217Z]                                                                                 
[vcs 2021-03-17T16:12:38.217Z] 288734 files updated, 0 files merged, 0 files removed, 0 files unresolved
[vcs 2021-03-17T16:12:38.394Z] updated to 30603a26d2118a49937be058b83dcd55ef1ffcd8
[vcs 2021-03-17T16:12:38.398Z] PERFHERDER_DATA: {"framework": {"name": "vcs"}, "suites": [{"extraOptions": ["m5d.xlarge"], "hgVersion": "4.8.1", "lowerIsBetter": true, "name": "clone", "serverUrl": "us-east-1.hgmointernal.net", "shouldAlert": false, "subtests": [], "value": 101.78064107894897}, {"extraOptions": ["m5d.xlarge"], "hgVersion": "4.8.1", "lowerIsBetter": true, "name": "update", "serverUrl": "us-east-1.hgmointernal.net", "shouldAlert": false, "subtests": [], "value": 99.56621313095093}, {"extraOptions": ["m5d.xlarge"], "hgVersion": "4.8.1", "lowerIsBetter": true, "name": "overall", "serverUrl": "us-east-1.hgmointernal.net", "shouldAlert": false, "subtests": [], "value": 201.5396020412445}, {"extraOptions": ["m5d.xlarge"], "hgVersion": "4.8.1", "lowerIsBetter": true, "name": "overall_clone", "serverUrl": "us-east-1.hgmointernal.net", "shouldAlert": false, "subtests": [], "value": 201.5396020412445}, {"extraOptions": ["m5d.xlarge"], "hgVersion": "4.8.1", "lowerIsBetter": true, "name": "overall_clone_fullcheckout", "serverUrl": "us-east-1.hgmointernal.net", "shouldAlert": false, "subtests": [], "value": 201.5396020412445}]}
[vcs 2021-03-17T16:12:38.597Z] TinderboxPrint:<a href=https://us-east-1.hgmointernal.net/integration/autoland/rev/30603a26d2118a49937be058b83dcd55ef1ffcd8 title='Built from autoland revision 30603a26d2118a49937be058b83dcd55ef1ffcd8'>30603a26d2118a49937be058b83dcd55ef1ffcd8</a>
[setup 2021-03-17T16:12:38.597Z] GECKO_PATH is /builds/worker/checkouts/gecko
[setup 2021-03-17T16:12:38.597Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2021-03-17T16:12:38.597Z] fetching artifacts
[fetches 2021-03-17T16:12:38.597Z] executing ['/usr/bin/python3', '-u', '/builds/worker/checkouts/gecko/taskcluster/scripts/misc/fetch-content', 'task-artifacts']
[fetches 2021-03-17T16:12:38.692Z] attempt 1/5
[fetches 2021-03-17T16:12:38.692Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TWFxShsHSASqimSTBHoxug/artifacts/public/build/node.tar.xz to /builds/worker/fetches/node.tar.xz
[fetches 2021-03-17T16:12:38.692Z] Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TWFxShsHSASqimSTBHoxug/artifacts/public/build/node.tar.xz
[fetches 2021-03-17T16:12:39.047Z] https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TWFxShsHSASqimSTBHoxug/artifacts/public/build/node.tar.xz resolved to 13890204 bytes with sha256 48f582e2e95577285ee550468c7573aea1938a973a6f5f85739ea101ea10d556 in 0.354s
[fetches 2021-03-17T16:12:39.047Z] Extracting /builds/worker/fetches/node.tar.xz to /builds/worker/fetches
[fetches 2021-03-17T16:12:40.332Z] /builds/worker/fetches/node.tar.xz extracted in 1.285s
[fetches 2021-03-17T16:12:40.332Z] Removing /builds/worker/fetches/node.tar.xz
[fetches 2021-03-17T16:12:40.335Z] PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 1.6430045150000296, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2021-03-17T16:12:40.349Z] finished fetching artifacts
[task 2021-03-17T16:12:40.349Z] executing ['bash', '-cx', 'python2 ./mach python-test --subsuite featuregates --run-slow']in /builds/worker/checkouts/gecko
[task 2021-03-17T16:12:40.352Z] + python2 ./mach python-test --subsuite featuregates --run-slow
[task 2021-03-17T16:12:41.555Z] created virtual environment CPython2.7.17.final.0-64 in 252ms
[task 2021-03-17T16:12:41.555Z]   creator CPython2Posix(dest=/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test, clear=False, no_vcs_ignore=False, global=False)
[task 2021-03-17T16:12:41.555Z]   seeder FromAppData(download=False, pip=bundle, wheel=bundle, setuptools=bundle, via=copy, app_data_dir=/builds/worker/.local/share/virtualenv)
[task 2021-03-17T16:12:41.555Z]     added seed packages: pip==20.3.1, setuptools==44.1.1, wheel==0.36.1
[task 2021-03-17T16:12:41.555Z]   activators PythonActivator,CShellActivator,FishActivator,PowerShellActivator,BashActivator
[task 2021-03-17T16:12:41.616Z] Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
[task 2021-03-17T16:12:46.958Z] Test configuration changed. Regenerating backend.
[task 2021-03-17T16:12:46.958Z] No build detected, test metadata may be incomplete.
[task 2021-03-17T16:12:46.958Z]  0:06.23 /builds/worker/checkouts/gecko/toolkit/components/featuregates/test/python/test_gen_feature_definitions.py
[task 2021-03-17T16:12:46.958Z]  0:06.23 ============================= test session starts ==============================
[task 2021-03-17T16:12:46.958Z]  0:06.23 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/python-test/bin/python
[task 2021-03-17T16:12:46.958Z]  0:06.23 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2021-03-17T16:12:46.958Z]  0:06.23 collecting ... collected 28 items
[task 2021-03-17T16:12:46.958Z]  0:06.23 
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestHyphensToCamelCase::test_simple_cases PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestExceptionGroup::test_str_indentation_of_grouped_lines PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureGateException::test_repr_no_file TEST-UNEXPECTED-FAIL
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureGateException::test_repr_with_file TEST-UNEXPECTED-FAIL
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureGateException::test_str_no_file PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureGateException::test_str_with_file PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestProcessFiles::test_empty_feature PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestProcessFiles::test_invalid_toml PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestProcessFiles::test_missing_file PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestProcessFiles::test_valid_file PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureSchema::test_extra_keys_not_allowed PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureSchema::test_minimal_valid PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureSchema::test_nonempty_keys PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::TestFeatureSchema::test_required_fields PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_default_value_default PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_default_value_override_configured_value PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_default_value_override_constant PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.23 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_hyphenation_to_snake_case PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_preference_default PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ExpandFeatureTests::test_preference_override PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_compound_keys PASSED
[task 2021-03-17T16:12:46.959Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_default_key_is_required PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_expands_single_values PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_invalid_keys_rejected PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_multiple_keys PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::ProcessConfiguredValueTests::test_simple_key PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::MainTests::test_it_outputs_json PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py::MainTests::test_it_returns_1_for_errors PASSED
[task 2021-03-17T16:12:46.960Z]  0:06.24 
[task 2021-03-17T16:12:46.960Z]  0:06.24 =================================== FAILURES ===================================
[task 2021-03-17T16:12:46.960Z]  0:06.24 __________________ TestFeatureGateException.test_repr_no_file __________________
[task 2021-03-17T16:12:46.960Z]  0:06.24 
[task 2021-03-17T16:12:46.960Z]  0:06.24 self = <test_gen_feature_definitions.TestFeatureGateException testMethod=test_repr_no_file>
[task 2021-03-17T16:12:46.960Z]  0:06.24 
[task 2021-03-17T16:12:46.960Z]  0:06.24     def test_repr_no_file(self):
[task 2021-03-17T16:12:46.960Z]  0:06.24         error = FeatureGateException("oops")
[task 2021-03-17T16:12:46.960Z]  0:06.24 >       assert repr(error) == "FeatureGateException('oops', filename=None)"
[task 2021-03-17T16:12:46.960Z]  0:06.24 E       AssertionError: assert 'FeatureGateE...ilename=None)' == 'FeatureGateEx...ilename=None)'
[task 2021-03-17T16:12:46.960Z]  0:06.24 E         - FeatureGateException('oops',, filename=None)
[task 2021-03-17T16:12:46.960Z]  0:06.24 E         ?                             -
[task 2021-03-17T16:12:46.960Z]  0:06.24 E         + FeatureGateException('oops', filename=None)
[task 2021-03-17T16:12:46.960Z]  0:06.24 
[task 2021-03-17T16:12:46.960Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py:96: AssertionError
[task 2021-03-17T16:12:46.960Z]  0:06.24 _________________ TestFeatureGateException.test_repr_with_file _________________
[task 2021-03-17T16:12:46.961Z]  0:06.24 
[task 2021-03-17T16:12:46.961Z]  0:06.24 self = <test_gen_feature_definitions.TestFeatureGateException testMethod=test_repr_with_file>
[task 2021-03-17T16:12:46.961Z]  0:06.24 
[task 2021-03-17T16:12:46.961Z]  0:06.24     def test_repr_with_file(self):
[task 2021-03-17T16:12:46.961Z]  0:06.24         error = FeatureGateException("oops", filename="some/bad/file.txt")
[task 2021-03-17T16:12:46.961Z]  0:06.24 >       assert (
[task 2021-03-17T16:12:46.961Z]  0:06.24             repr(error) == "FeatureGateException('oops', filename='some/bad/file.txt')"
[task 2021-03-17T16:12:46.961Z]  0:06.24         )
[task 2021-03-17T16:12:46.961Z]  0:06.24 E       AssertionError: assert "FeatureGateE...ad/file.txt')" == "FeatureGateEx...ad/file.txt')"
[task 2021-03-17T16:12:46.961Z]  0:06.24 E         - FeatureGateException('oops',, filename='some/bad/file.txt')
[task 2021-03-17T16:12:46.961Z]  0:06.24 E         ?                             -
[task 2021-03-17T16:12:46.961Z]  0:06.24 E         + FeatureGateException('oops', filename='some/bad/file.txt')
[task 2021-03-17T16:12:46.961Z]  0:06.24 
[task 2021-03-17T16:12:46.961Z]  0:06.24 toolkit/components/featuregates/test/python/test_gen_feature_definitions.py:100: AssertionError
[task 2021-03-17T16:12:46.961Z]  0:06.24 ===================== 2 failed, 26 passed in 0.09 seconds ======================
[task 2021-03-17T16:12:46.961Z]  0:06.24 Setting retcode to 1 from /builds/worker/checkouts/gecko/toolkit/components/featuregates/test/python/test_gen_feature_definitions.py
[task 2021-03-17T16:12:46.962Z]  0:06.24 Return code from mach python-test: 1
[taskcluster 2021-03-17 16:12:47.480Z] === Task Finished ===
[taskcluster 2021-03-17 16:12:47.480Z] Unsuccessful task run with exit code: 1 completed in 211.906 seconds```

Bernard, looks like the change regarding the comma in the exception message in bug 1697711 broke tests on infra...

Can you take a look at what's happening there?

Flags: needinfo?(bigiri)
Assignee: nobody → bigiri
Flags: needinfo?(bigiri)

Fixing featuregate test failure.

Regressed by: 1697711
Has Regression Range: --- → yes
Keywords: regression
Attachment #9210333 - Attachment description: Bug 1699210 - Fixing test failure in featuregate on Linux (WIP) r=gijs → Bug 1699210 - Fixing test failure in featuregate on Linux r=gijs
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6268c1361467 Fixing test failure in featuregate on Linux r=Gijs
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: