Closed Bug 1827709 Opened 2 years ago Closed 2 years ago

Notify #thunderbird-ci:mozilla.org (Matrix) on successful mozilla-central push

Categories

(Release Engineering :: Firefox-CI Administration, task)

Tracking

(firefox114 fixed)

RESOLVED FIXED
Tracking Status
firefox114 --- fixed

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(2 files)

It would help the Thunderbird developers to have a notification sent to #thunderbird-ci:mozilla.og Matrix channel when a push to mozilla-central is completed.

Developers generally queue up bugs to land to comm-central and land in batches shortly after a push to mozilla-central. This makes build bustage caused by m-c updates easier to debug and fix quickly.

This notification will help Thunderbird developers who are tasked with pushing
multiple bugs to comm-central after a mozilla-central push.

Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/461e0e4986de Notify Thunderbird CI Matrix channel after mozilla-central push. r=releng-reviewers,gabriel

Backed out for causing py3 taskgraph failures.

[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_util_chunking.py::test_chunk_manifests[20-platform2-xpcshell] PASSED
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] =============================== warnings summary ===============================
[task 2023-04-14T01:43:48.250Z] third_party/python/taskcluster_taskgraph/taskgraph/transforms/base.py:30
[task 2023-04-14T01:43:48.250Z]   /builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/transforms/base.py:30: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
[task 2023-04-14T01:43:48.250Z]     @attr.s(frozen=True, cmp=False)
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_util_chunking.py::test_get_manifests[platform0-web-platform-tests]
[task 2023-04-14T01:43:48.250Z]   /builds/worker/checkouts/gecko/testing/web-platform/manifestupdate.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
[task 2023-04-14T01:43:48.250Z]     import imp
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_util_chunking.py::test_get_manifests[platform0-web-platform-tests]
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_util_chunking.py::test_get_manifests[platform0-web-platform-tests]
[task 2023-04-14T01:43:48.250Z]   /builds/worker/checkouts/gecko/testing/web-platform/manifestupdate.py:175: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
[task 2023-04-14T01:43:48.250Z]     parser = configparser.SafeConfigParser()
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2023-04-14T01:43:48.250Z] ======================= 193 passed, 4 warnings in 47.38s =======================
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] Tests Completed: 100%|██████████| 20/20 [00:52<00:00, 13.16s/Test]
[task 2023-04-14T01:43:48.250Z]                                                                   
[task 2023-04-14T01:43:48.250Z] /builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py
[task 2023-04-14T01:43:48.250Z] ============================= test session starts ==============================
[task 2023-04-14T01:43:48.250Z] platform linux -- Python 3.9.2, pytest-7.0.1, pluggy-1.0.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/python
[task 2023-04-14T01:43:48.250Z] rootdir: /builds/worker/checkouts/gecko, configfile: config/mozunit/mozunit/pytest.ini
[task 2023-04-14T01:43:48.250Z] collecting ... collected 4 items
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py::TestTaskclusterYml::test_action PASSED
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py::TestTaskclusterYml::test_cron PASSED
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py::TestTaskclusterYml::test_push TEST-UNEXPECTED-FAIL
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py::TestTaskclusterYml::test_unknown PASSED
[task 2023-04-14T01:43:48.250Z] 
[task 2023-04-14T01:43:48.250Z] =================================== FAILURES ===================================
[task 2023-04-14T01:43:48.250Z] _________________________ TestTaskclusterYml.test_push _________________________
[task 2023-04-14T01:43:48.250Z] taskcluster/gecko_taskgraph/test/test_taskcluster_yml.py:39: in test_push
[task 2023-04-14T01:43:48.250Z]     rendered = jsone.render(self.taskcluster_yml, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/__init__.py:18: in render
[task 2023-04-14T01:43:48.250Z]     rv = renderValue(template, full_context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:339: in renderValue
[task 2023-04-14T01:43:48.250Z]     return dict(updated())
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:330: in updated
[task 2023-04-14T01:43:48.250Z]     v = renderValue(v, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:351: in renderValue
[task 2023-04-14T01:43:48.250Z]     return list(updated())
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:345: in updated
[task 2023-04-14T01:43:48.250Z]     v = renderValue(e, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:317: in renderValue
[task 2023-04-14T01:43:48.250Z]     return operators[matches[0]](template, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:139: in ifConstruct
[task 2023-04-14T01:43:48.250Z]     return renderValue(rv, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:317: in renderValue
[task 2023-04-14T01:43:48.250Z]     return operators[matches[0]](template, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:165: in let
[task 2023-04-14T01:43:48.250Z]     return renderValue(in_expression, subcontext)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:339: in renderValue
[task 2023-04-14T01:43:48.250Z]     return dict(updated())
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:330: in updated
[task 2023-04-14T01:43:48.250Z]     v = renderValue(v, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:317: in renderValue
[task 2023-04-14T01:43:48.250Z]     return operators[matches[0]](template, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:101: in flattenDeep
[task 2023-04-14T01:43:48.250Z]     value = renderValue(template['$flattenDeep'], context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:351: in renderValue
[task 2023-04-14T01:43:48.250Z]     return list(updated())
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:345: in updated
[task 2023-04-14T01:43:48.250Z]     v = renderValue(e, context)
[task 2023-04-14T01:43:48.250Z] third_party/python/json-e/jsone/render.py:317: in renderValue
[task 2023-04-14T01:43:48.251Z]     return operators[matches[0]](template, context)
[task 2023-04-14T01:43:48.251Z] third_party/python/json-e/jsone/render.py:139: in ifConstruct
[task 2023-04-14T01:43:48.251Z]     return renderValue(rv, context)
[task 2023-04-14T01:43:48.251Z] third_party/python/json-e/jsone/render.py:351: in renderValue
[task 2023-04-14T01:43:48.251Z]     return list(updated())
[task 2023-04-14T01:43:48.251Z] third_party/python/json-e/jsone/render.py:345: in updated
[task 2023-04-14T01:43:48.251Z]     v = renderValue(e, context)
[task 2023-04-14T01:43:48.251Z] third_party/python/json-e/jsone/render.py:339: in renderValue
[task 2023-04-14T01:43:48.251Z]     return dict(updated())
[task 2023-04-14T01:43:48.251Z] third_party/python/json-e/jsone/render.py:324: in updated
[task 2023-04-14T01:43:48.251Z]     raise TemplateError(
[task 2023-04-14T01:43:48.251Z] E   jsone.shared.TemplateError: TemplateError at template.tasks[0].routes[1][5]: $<identifier> is reserved; ues $$<identifier>
[task 2023-04-14T01:43:48.251Z] =============================== warnings summary ===============================
[task 2023-04-14T01:43:48.251Z] third_party/python/taskcluster_taskgraph/taskgraph/transforms/base.py:30
[task 2023-04-14T01:43:48.251Z]   /builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/transforms/base.py:30: DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01.  Please use `eq` and `order` instead.
[task 2023-04-14T01:43:48.251Z]     @attr.s(frozen=True, cmp=False)
[task 2023-04-14T01:43:48.251Z] 
[task 2023-04-14T01:43:48.251Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2023-04-14T01:43:48.251Z] ==================== 1 failed, 3 passed, 1 warning in 0.36s ====================
[task 2023-04-14T01:43:48.251Z] 
[task 2023-04-14T01:43:48.251Z] 
[task 2023-04-14T01:43:48.252Z] Tests Completed: 100%|██████████| 20/20 [00:52<00:00,  2.62s/Test]
[task 2023-04-14T01:43:48.252Z] Return code from mach python-test: 1
[taskcluster 2023-04-14 01:43:48.668Z] === Task Finished ===
[taskcluster 2023-04-14 01:43:48.668Z] Unsuccessful task run with exit code: 1 completed in 65.501 seconds
Flags: needinfo?(rob)

Ahh I see... The json-e $switch statement is not supported by json-e for Python 2.7.0 that's in third_party. Must be Taskcluster itself rendering .taskcluster.yml then because ci-configuration is at 2.7.1 and $switch didn't appear until 4.1.0 I guess.

I'll rewrite it as $if statements and resubmit for review. Sorry about that!.

Flags: needinfo?(rob)
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b1291bfe18d Notify Thunderbird CI Matrix channel after mozilla-central push. r=releng-reviewers,gabriel
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/ci/ci-configuration/rev/b528c7d4081e Trivial commit to trigger a tc admin run r=releng-reviewers,ahal
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: