test_invalid_document_id
automation/tests/docproc/test_recommendations.py::TestRecommendations::test_invalid_document_id
API test in suite
Recommendations ·
first seen 2026-08-13 00:29:52 UTC · last seen 2026-11-17 00:21:42 UTC
· ← all runs
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8843 [Test failure] Recommendations tests read snake_case fields; docproc now returns camelCase (11 tests) | Completed · [email protected] | fixed: ENG-8843 is Completed, and the test passes | 2026-11-15 01:42:23 UTC by triage-agent (agent) · for api-tests-master The test is wrong |
api-tests-master — its newest 10 runs, oldest first
api-tests-production — its newest 8 runs, oldest first
Each distinct failure it has had (7)
3e9ff2a95cd1
in 0 runs · first
api-tests-master jenkins-597
(2026-11-15 00:26:03 UTC) · last
api-tests-master jenkins-597
(2026-11-15 00:26:03 UTC)
why assert 8 == 0
traceback
automation/tests/docproc/test_recommendations.py:58: in test_invalid_document_id
assert response_data["totalCount"] == 0
E assert 8 == 0
2368acdd9209
in 0 runs · first
api-tests-production jenkins-600
(2026-11-02 10:31:32 UTC) · last
api-tests-production jenkins-601
(2026-11-02 19:30:29 UTC)
why KeyError: 'total'
traceback
automation/tests/docproc/test_recommendations.py:58: in test_invalid_document_id
assert response_data["total"] == 0
^^^^^^^^^^^^^^^^^^^^^^
E KeyError: 'total'
a6101616b581
in 0 runs · first
api-tests-master jenkins-580
(2026-11-01 00:23:06 UTC) · last
api-tests-master jenkins-581
(2026-11-02 00:22:27 UTC)
why failed on setup with "Exception: AI run was not created for document 119c17cc-176f-47d2-b7ce-8b372a37738e"
traceback
automation/tests/fixtures/ai_findings_fixtures.py:19: in document_with_ai_processing
setup_data = setup_document_with_ai_processing(study["tildaid"], cro_test_headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/utils/helpers/ai_helper.py:146: in setup_document_with_ai_processing
ai_run_id = wait_for_ai_run_creation(document_id, cro_test_headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/utils/helpers/ai_helper.py:83: in wait_for_ai_run_creation
raise Exception(f"AI run was not created for document {document_id}")
E Exception: AI run was not created for document 119c17cc-176f-47d2-b7ce-8b372a37738e
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)
87423d26bfe5
in 0 runs · first
api-tests-production jenkins-531
(2026-08-29 19:28:26 UTC) · last
api-tests-production jenkins-531
(2026-08-29 19:28:26 UTC)
why failed on setup with "AssertionError"
traceback
automation/tests/fixtures/ai_findings_fixtures.py:19: in document_with_ai_processing
setup_data = setup_document_with_ai_processing(study["tildaid"], cro_test_headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/utils/helpers/ai_helper.py:161: in setup_document_with_ai_processing
document_id, document_data, file_name = create_test_document(study_id, cro_test_headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/utils/helpers/ai_helper.py:30: in create_test_document
assert document_response.status_code == 200
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AssertionError
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