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:25:07.
› →|
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_review_task_for_pi

automation/tests/docsvc/document_review/test_document_review.py::TestDocumentReview::test_review_task_for_pi
API test in suite DocumentReview · first seen 2026-08-12 11:31:40 UTC · last seen 2026-11-17 00:21:42 UTC · ← all runs

failing
since #597 (2026-11-15 00:26:03 UTC), 2 runs in a row · last passed in #593 · failing
flaky
as of #621 · failed 3 of its last 30 counted runs, changed 4 times

Linear issues

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

01234512 Aug 11:3118 Aug 05:1221 Aug 00:3723 Aug 00:2411:31 3.96 s00:29 4.3 s00:29 0.88 s07:17 1.21 s05:12 3.52 s00:27 3.41 s07:38 1.29 s03:45 0.88 s00:37 4.24 s08:46 1.25 s00:29 4.88 s00:24 0.83 s
What changed when it broke on api-tests-master
reading the deploy trail and the test repo…

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

012313 Aug 19:2915 Aug 19:2820 Aug 19:2822 Aug 19:2419:29 1.32 s19:34 1.5 s19:28 1.14 s19:34 2.82 s19:28 0.86 s19:28 1.46 s19:30 0.91 s19:24 0.76 s

Each distinct failure it has had (7)

934d0385b24f in 0 runs · first api-tests-master jenkins-597 (2026-11-15 00:26:03 UTC) · last api-tests-master jenkins-599 (2026-11-17 00:21:42 UTC)
why AssertionError: Unexpected actions found: {'Document_Enhance'} assert 14 == 13 + where 14 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...]) + and 13 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Comment', 'Document_Copy', 'Document_Categorize', ...])
traceback
automation/tests/docsvc/document_review/test_document_review.py:282: in test_review_task_for_pi
    assert len(document["actionList"]) == len(
E   AssertionError: Unexpected actions found: {'Document_Enhance'}
E   assert 14 == 13
E    +  where 14 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...])
E    +  and   13 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Comment', 'Document_Copy', 'Document_Categorize', ...])
e2a7e74a9f50 in 0 runs · first api-tests-production jenkins-601 (2026-11-02 19:30:29 UTC) · last api-tests-production jenkins-601 (2026-11-02 19:30:29 UTC)
why AssertionError: assert ['Subject_Scr...ocTask_ESign'] == ['Subject_Scr...ask_Complete'] Right contains one more item: 'DocTask_Complete' Full diff: [ 'Subject_Screenfail', 'DocTask_ESign', - 'DocTask_Complete', ]
traceback
automation/tests/docsvc/document_review/test_document_review.py:248: in test_review_task_for_pi
    assert review_task_response["actionList"] == ["Subject_Screenfail", "DocTask_ESign", "DocTask_Complete"]
E   AssertionError: assert ['Subject_Scr...ocTask_ESign'] == ['Subject_Scr...ask_Complete']
E     
E     Right contains one more item: 'DocTask_Complete'
E     
E     Full diff:
E       [
E           'Subject_Screenfail',
E           'DocTask_ESign',
E     -     'DocTask_Complete',
E       ]
b1e04d85cb2a in 0 runs · first api-tests-production jenkins-600 (2026-11-02 10:31:32 UTC) · last api-tests-production jenkins-600 (2026-11-02 10:31:32 UTC)
why failed on setup with "KeyError: 'tildaid'"
traceback
automation/tests/fixtures/study_fixtures.py:499: in v2_protocol
    result = setup.create_protocol_from_file("protocol_config.json", auto_publish=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/tests/setup/protocol_setup.py:60: in create_protocol_from_file
    result = self.creator.create_protocol_from_config(config_path, customize=customizations)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/models/protocol_creator.py:49: in create_protocol_from_config
    self._create_protocol(config["protocol"])
automation/models/protocol_creator.py:121: in _create_protocol
    self.protocol_id = protocol_data["tildaid"]
                       ^^^^^^^^^^^^^^^^^^^^^^^^
E   KeyError: 'tildaid'
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
2b69190e293e in 0 runs · first api-tests-master jenkins-578 (2026-10-30 00:24:41 UTC) · last api-tests-master jenkins-578 (2026-10-30 00:24:41 UTC)
why failed on setup with "requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.automation.tilda.pizza/api/trialexec/study/86b92aef-19c6-4b6c-8137-4a5580680ff2/site/d949cc06-931c-4a00-a21b-b18ea39cefbe/studyprotocol"
traceback
automation/tests/fixtures/study_fixtures.py:528: in v2_protocol
    study_protocol = StudySite(study_id, test_headers).get_study_procotol(site_id1)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
automation/models/study_site.py:16: in get_study_procotol
    response.raise_for_status()
.venv/lib/python3.12/site-packages/requests/models.py:1028: in raise_for_status
    raise HTTPError(http_error_msg, response=self)
E   requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.automation.tilda.pizza/api/trialexec/study/86b92aef-19c6-4b6c-8137-4a5580680ff2/site/d949cc06-931c-4a00-a21b-b18ea39cefbe/studyprotocol
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)
027c67acabb5 in 17 runs · first api-tests-master jenkins-472 (2026-08-13 00:29:52 UTC) · last api-tests-production jenkins-569 (2026-10-04 19:23:26 UTC)
why AssertionError: assert [] == ['Subject_Scr...ask_Complete'] Right contains 3 more items, first extra item: 'Subject_Screenfail' Full diff: + [] - [ - 'Subject_Screenfail', - 'DocTask_ESign', - 'DocTask_Complete', - ]
traceback
automation/tests/docsvc/document_review/test_document_review.py:257: in test_review_task_for_pi
    assert review_task_response["actionList"] == ["Subject_Screenfail", "DocTask_ESign", "DocTask_Complete"]
E   AssertionError: assert [] == ['Subject_Scr...ask_Complete']
E     
E     Right contains 3 more items, first extra item: 'Subject_Screenfail'
E     
E     Full diff:
E     + []
E     - [
E     -     'Subject_Screenfail',
E     -     'DocTask_ESign',
E     -     'DocTask_Complete',
E     - ]