Xray
all clusters daily rollups 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 14 days▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 10:26:52.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

test_work_order_config_reads_back_over_v2_with_its_draft

automation/tests/workplansvc/test_work_plan_config.py::TestWorkPlanConfig::test_work_order_config_reads_back_over_v2_with_its_draft
API test in suite WorkPlanConfig · first seen 2026-09-16 00:36:23 UTC · last seen 2026-11-17 00:21:42 UTC · ← all runs

passing
as of #599 · failed 0 of its last 30 counted runs
failing
since #621 (2026-11-16 19:21:25 UTC), 1 run in a row · last passed in #620 · new

Linear issues

Each distinct failure it has had (6)

81276ba9d51f in 0 runs · first api-tests-production jenkins-621 (2026-11-16 19:21:25 UTC) · last api-tests-production jenkins-621 (2026-11-16 19:21:25 UTC)
why AssertionError: config 8f1bda72-7513-49c5-b1a9-d9c762d8ba2d resolved no workorder item carrying a workOrderConfigId assert []
traceback
automation/tests/workplansvc/test_work_plan_config.py:78: in test_work_order_config_reads_back_over_v2_with_its_draft
    assert workorder_items, f"config {cfg_id} resolved no workorder item carrying a workOrderConfigId"
E   AssertionError: config 8f1bda72-7513-49c5-b1a9-d9c762d8ba2d resolved no workorder item carrying a workOrderConfigId
E   assert []
b360062659e0 in 0 runs · first api-tests-production jenkins-599 (2026-11-01 19:23:47 UTC) · last api-tests-production jenkins-599 (2026-11-01 19:23:47 UTC)
why failed on setup with "RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource"
traceback
automation/tests/fixtures/common.py:161: in shared_env
    Study(cro_test_headers).add_site_to_study(
automation/models/study.py:63: in add_site_to_study
    raise RuntimeError(
E   RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource
e050857be931 in 0 runs · first api-tests-master jenkins-548 (2026-10-08 00:23:27 UTC) · last api-tests-master jenkins-577 (2026-10-29 00:22:03 UTC)
why failed on setup with "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
traceback
.venv/lib/python3.12/site-packages/requests/models.py:978: in json
    return complexjson.loads(self.text, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:338: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:356: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
E   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
automation/tests/fixtures/common.py:143: in shared_env
    StudyActor(study["tildaid"], cro_test_headers).wait_till_default_actor_added()
automation/models/study_actor.py:171: in wait_till_default_actor_added
    all_actors = response.json()
                 ^^^^^^^^^^^^^^^
.venv/lib/python3.12/site-packages/requests/models.py:982: in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
E   requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
c7667f9ceb13 in 0 runs · first api-tests-master jenkins-545 (2026-10-06 05:18:33 UTC) · last api-tests-master jenkins-545 (2026-10-06 05:18:33 UTC)
why failed on setup with "AssertionError: Config create failed: 400 — {"message":"work plan template must be published before it can be used to create a config"}"
traceback
automation/tests/fixtures/work_plan_fixtures.py:218: in setup_work_plan_draft_config
    seed = create_draft_config(
automation/utils/helpers/work_plan_helpers.py:240: in create_draft_config
    assert create_resp.status_code == 202, f"Config create failed: {create_resp.status_code} — {create_resp.text}"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   AssertionError: Config create failed: 400 — {"message":"work plan template must be published before it can be used to create a config"}
e64039aecca4 in 0 runs · first api-tests-master jenkins-537 (2026-09-29 01:59:12 UTC) · last api-tests-master jenkins-538 (2026-09-30 00:30:03 UTC)
why failed on setup with "AssertionError: site members add failed: 409 — {"message":"write or lookup team users: [email protected] already belongs to \"Test Misc\" (entered as \"Test Sub Investigator\"); resend with confirmLinkExisting=true to link to the existing person: conflict"} assert 409 == 200 + where 409 = <Response [409]>.status_code"
traceback
automation/tests/fixtures/work_plan_fixtures.py:76: in setup_work_plan_site
    assert add_resp.status_code == 200, f"site members add failed: {add_resp.status_code} — {add_resp.text}"
E   AssertionError: site members add failed: 409 — {"message":"write or lookup team users: [email protected] already belongs to \"Test Misc\" (entered as \"Test Sub Investigator\"); resend with confirmLinkExisting=true to link to the existing person: conflict"}
E   assert 409 == 200
E    +  where 409 = <Response [409]>.status_code
69f751fa1e5f in 0 runs · first api-tests-master jenkins-516 (2026-09-16 00:36:23 UTC) · last api-tests-master jenkins-517 (2026-09-16 06:08:35 UTC)
why AssertionError: a work-plan config is drafted before publish: Archived assert 'Archived' == 'Preview' - Preview + Archived
traceback
automation/tests/workplansvc/test_work_plan_config.py:189: in test_work_order_config_reads_back_over_v2_with_its_draft
    assert wo_config["status"] == "Preview", f"a work-plan config is drafted before publish: {wo_config['status']}"
E   AssertionError: a work-plan config is drafted before publish: Archived
E   assert 'Archived' == 'Preview'
E     
E     - Preview
E     + Archived