Skip to content

Use test log storage in test_updates_running_job#4065

Merged
un-def merged 1 commit into
masterfrom
pr_fix_running_jobs_pipeline_test_log_storage
Jul 24, 2026
Merged

Use test log storage in test_updates_running_job#4065
un-def merged 1 commit into
masterfrom
pr_fix_running_jobs_pipeline_test_log_storage

Conversation

@un-def

@un-def un-def commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

No logs written by the tests, but an instance of a LogStorage implementation is created via write_logs() -> get_log_storage(), leading to possible side effects, e.g. CloudWatchLogStorage.__init__() checks if the log group exists and fails with an error (suppressed, but a warning is still emitted):

UserWarning: A test tried to use socket.socket.connect() with host
"3.250.243.83" (allowed: "127.0.0.1,localhost (127.0.0.1)").
raise SocketConnectBlockedError(allowed_list, host)

No logs written by the test, but an instance of a `LogStorage`
implementation is created via `write_logs()` -> `get_log_storage()`,
leading to possible side effects, e.g. `CloudWatchLogStorage.__init__()`
checks if the log group exists and fails with an error (suppressed,
but a warning is still emitted):

> UserWarning: A test tried to use socket.socket.connect() with host
> "3.250.243.83" (allowed: "127.0.0.1,localhost (127.0.0.1)").
>     raise SocketConnectBlockedError(allowed_list, host)
@un-def
un-def merged commit 2659863 into master Jul 24, 2026
24 checks passed
@un-def
un-def deleted the pr_fix_running_jobs_pipeline_test_log_storage branch July 24, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant