Weird error when running Complement #23

Open
opened 2026-06-23 20:24:07 +03:00 by igor · 0 comments
Owner

Command:

% set -o pipefail && COMPLEMENT_BASE_IMAGE=bromal-complement:latest COMPLEMENT_SHARE_ENV_PREFIX=PASS_ PASS_BROMAL_LOGGER_LEVEL=debug go test -json -run '^(TestAsyncUpload)$' -v ./tests/csapi | ./.ci/scripts/gotestfmt

Output:

...
17:20:04.117 request_id=GLvFdjjvp3R-yesAAAEM [error] ** (Bandit.HTTPError) Read timeout
...
  ❌ TestAsyncUpload/Cannot_upload_to_a_media_ID_that_has_already_been_uploaded_to (15s)
    media_async_uploads_test.go:56: CSAPI.Do response returned error: Post "http://127.0.0.1:34938/_matrix/media/v1/create": EOF
...

It may related to bug in Bandit, like this one: https://github.com/mtrudel/bandit/issues/490

Command: ``` % set -o pipefail && COMPLEMENT_BASE_IMAGE=bromal-complement:latest COMPLEMENT_SHARE_ENV_PREFIX=PASS_ PASS_BROMAL_LOGGER_LEVEL=debug go test -json -run '^(TestAsyncUpload)$' -v ./tests/csapi | ./.ci/scripts/gotestfmt ``` Output: ``` ... 17:20:04.117 request_id=GLvFdjjvp3R-yesAAAEM [error] ** (Bandit.HTTPError) Read timeout ... ❌ TestAsyncUpload/Cannot_upload_to_a_media_ID_that_has_already_been_uploaded_to (15s) media_async_uploads_test.go:56: CSAPI.Do response returned error: Post "http://127.0.0.1:34938/_matrix/media/v1/create": EOF ... ``` It may related to bug in Bandit, like this one: https://github.com/mtrudel/bandit/issues/490
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
main/bromal#23
No description provided.