Xray
all clusters daily rollups 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 30 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:24:40.
› →|
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_patch_config_then_update_instructions_then_add_user_task_item

automation/tests/workplansvc/test_work_plan_config.py::TestWorkPlanConfig::test_patch_config_then_update_instructions_then_add_user_task_item
API test in suite WorkPlanConfig · first seen 2026-08-13 00:29:52 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

api-tests-master — its newest 10 runs, oldest first

010203013 Aug 00:2918 Aug 05:1221 Aug 00:3723 Aug 00:2400:29 20.8 s00:29 22.9 s07:17 20.9 s05:12 23.6 s00:27 29 s03:45 0 s00:37 0 s08:46 19.2 s00:29 20 s00:24 19.5 s

api-tests-production — its newest 8 runs, oldest first

020406013 Aug 19:2915 Aug 19:2820 Aug 19:2822 Aug 19:2419:29 22.1 s19:34 44.5 s19:28 33.6 s19:34 26.3 s19:28 26.8 s19:28 51.6 s19:30 25.7 s19:24 30.1 s
What changed when it broke on api-tests-production
reading the deploy trail and the test repo…

Each distinct failure it has had (7)

567e2a892761 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: Instructions PUT failed: 409 — {"message":"cannot start: a plan generation is already in progress for this workplan config. Wait for it to finish and try again"} assert 409 == 202 + where 409 = <Response [409]>.status_code
traceback
automation/tests/workplansvc/test_work_plan_config.py:131: in test_patch_config_then_update_instructions_then_add_user_task_item
    assert instr_resp.status_code == 202, f"Instructions PUT failed: {instr_resp.status_code} — {instr_resp.text}"
E   AssertionError: Instructions PUT failed: 409 — {"message":"cannot start: a plan generation is already in progress for this workplan config. Wait for it to finish and try again"}
E   assert 409 == 202
E    +  where 409 = <Response [409]>.status_code
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-production jenkins-527 (2026-08-25 21:09:35 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-production jenkins-565 (2026-09-30 19:24:22 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
bae2938b5a08 in 0 runs · first api-tests-production jenkins-557 (2026-09-22 19:34:59 UTC) · last api-tests-production jenkins-557 (2026-09-22 19:34:59 UTC)
why RuntimeError: SSE terminal failure: type=ConfigurationFailed uiMessage='Work plan agent failed to generate this plan. Please try again.' failedWorkOrderConfigCount=0 jobId=3cd143c8-67ec-4665-b067-4488592fd0dc
traceback
automation/tests/workplansvc/test_work_plan_config.py:86: in test_patch_config_then_update_instructions_then_add_user_task_item
    refreshed = cfg_client.wait_until_ready(cfg_id, sse_listener=sse_listener, job_id=instr_job_id)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/models/work_plan_config.py:62: in wait_until_ready
    sse_listener.wait_until_payload_idle(
automation/utils/helpers/work_plan_sse.py:197: in wait_until_payload_idle
    raise RuntimeError(
E   RuntimeError: SSE terminal failure: type=ConfigurationFailed uiMessage='Work plan agent failed to generate this plan. Please try again.' failedWorkOrderConfigCount=0 jobId=3cd143c8-67ec-4665-b067-4488592fd0dc
4b5576773a5c in 2 runs · first api-tests-master jenkins-484 (2026-08-20 03:45:01 UTC) · last api-tests-master jenkins-485 (2026-08-21 00:37:53 UTC)
why failed on setup with "AssertionError: site contact strategy failed: 400 {"message":"Could not update site contact strategy: contact area not found: missing id"} assert 400 == 200 + where 400 = <Response [400]>.status_code"
traceback
automation/tests/fixtures/organization_fixtures.py:315: in setup_aiteammates_org
    assert cs_resp.status_code == 200, f"site contact strategy failed: {cs_resp.status_code} {cs_resp.text}"
E   AssertionError: site contact strategy failed: 400 {"message":"Could not update site contact strategy: contact area not found: missing id"}
E   assert 400 == 200
E    +  where 400 = <Response [400]>.status_code