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:17:09.
› →|
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_documents_after_updating

automation/tests/docsvc/document_review/test_document_review.py::TestDocumentReview::test_documents_after_updating
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

02.557.51012.512 Aug 11:3118 Aug 05:1221 Aug 00:3723 Aug 00:2411:31 5.36 s00:29 5.17 s00:29 10.3 s07:17 7.57 s05:12 5.63 s00:27 6.66 s07:38 2.44 s03:45 4.41 s00:37 6 s08:46 2.7 s00:29 6.73 s00:24 3.9 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

0246813 Aug 19:2915 Aug 19:2820 Aug 19:2822 Aug 19:2419:29 7.92 s19:34 5.64 s19:28 6.5 s19:34 6.59 s19:28 4.8 s19:28 5.83 s19:30 4.66 s19:24 4.68 s

Each distinct failure it has had (6)

1d3624cef88f 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_Categorize', 'Document_Comment', 'Document_Copy', ...])
traceback
automation/tests/docsvc/document_review/test_document_review.py:383: in test_documents_after_updating
    assert len(updated_rejected_document2["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_Categorize', 'Document_Comment', 'Document_Copy', ...])
9ef87707f782 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: Unexpected actions found: {'Document_Review'} assert 13 == 12 + where 13 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...]) + and 12 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Categorize', 'Document_Comment', 'Document_Copy', ...])
traceback
automation/tests/docsvc/document_review/test_document_review.py:368: in test_documents_after_updating
    assert len(updated_rejected_document2["actionList"]) == len(
E   AssertionError: Unexpected actions found: {'Document_Review'}
E   assert 13 == 12
E    +  where 13 = len(['Document_Download', 'Document_Copy', 'Document_Review', 'Document_eSign', 'Document_Share', 'Document_Comment', ...])
E    +  and   12 = len(['Document_Annotate', 'Document_Archive', 'Document_Assign', 'Document_Categorize', 'Document_Comment', 'Document_Copy', ...])
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)