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
failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8911 [Test failure] Work plan config took 273 s: flex LLM calls refused after 2 min each, then ran on standard (3 tests) | Completed · Satish Ashok | ENG-8911 is Completed; no run has started since | 2026-11-16 20:38:51 UTC by triage-agent (agent) · for api-tests-production Cause not clear |
api-tests-master — its newest 10 runs, oldest first
api-tests-production — its newest 8 runs, oldest first
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