internal/command/uploadarchive/uploadarchive_test.go is flaky
Job #4797737532 failed for 2662e394:
time="2023-08-03T11:12:02Z" level=info msg="Finished HTTP request" content_length_bytes=586 correlation_id=a-correlation-id duration_ms=1ns method=POST status=200 url="http://127.0.0.1:38689/api/v4/internal/allowed"
time="2023-08-03T11:12:02Z" level=info msg="executing git command" command=git-upload-archive correlation_id=a-correlation-id git_protocol= gl_key_id=123 gl_key_type=key gl_project_path=group/project-path gl_repository=group/repo remote_ip=127.0.0.1 user_id=1 username=alex-doe
time="2023-08-03T11:12:02Z" level=error msg="2023/08/03 11:12:02 [ERR] yamux: Failed to write header: write unix @->/tmp/gitlab-shell-test-api820060713/gitaly.sock: write: broken pipe" correlation_id=
time="2023-08-03T11:12:02Z" level=info msg="Finished HTTP request" content_length_bytes=555 correlation_id=a-correlation-id duration_ms=1ns method=POST status=200 url="http://127.0.0.1:46415/api/v4/internal/allowed"
time="2023-08-03T11:12:02Z" level=info msg="executing git command" command=git-upload-archive correlation_id=a-correlation-id git_protocol= gl_key_id=123 gl_key_type=key gl_project_path=group/project-path gl_repository=group/repo remote_ip=127.0.0.1 user_id=1 username=alex-doe
time="2023-08-03T11:12:02Z" level=error msg="2023/08/03 11:12:02 [ERR] yamux: Failed to write body: write tcp 127.0.0.1:60844->127.0.0.1:36461: write: broken pipe" correlation_id=
time="2023-08-03T11:12:02Z" level=info msg="Finished HTTP request" content_length_bytes=556 correlation_id=a-correlation-id duration_ms=10ns method=POST status=200 url="http://127.0.0.1:43461/api/v4/internal/allowed"
time="2023-08-03T11:12:02Z" level=info msg="executing git command" command=git-upload-archive correlation_id=a-correlation-id git_protocol= gl_key_id=123 gl_key_type=key gl_project_path=group/project-path gl_repository=group/repo remote_ip=127.0.0.1 user_id=1 username=alex-doe
time="2023-08-03T11:12:02Z" level=info msg="Finished HTTP request" content_length_bytes=587 correlation_id= duration_ms=1ns method=POST status=200 url="http://127.0.0.1:35259/api/v4/internal/allowed"
time="2023-08-03T11:12:02Z" level=warning msg="No gRPC service name specified, defaulting to gitlab-shell-unknown" correlation_id= service_name=gitlab-shell-unknown
time="2023-08-03T11:12:02Z" level=info msg="executing git command" command=git-upload-archive correlation_id= git_protocol= gl_key_id=123 gl_key_type=key gl_project_path=group/project-path gl_repository=group/repo remote_ip= user_id=1 username=alex-doe
time="2023-08-03T11:12:02Z" level=error msg="Failed to execute Git command" correlation_id= error="stdin send error: EOF" exit_status=0
--- FAIL: TestAllowedAccess (0.01s)
uploadarchive_test.go:26:
Error Trace: /builds/gitlab-org/gitlab-shell/internal/command/uploadarchive/uploadarchive_test.go:26
Error: Received unexpected error:
stdin send error: EOF
Test: TestAllowedAccess
time="2023-08-03T11:12:02Z" level=error msg="Internal API error" correlation_id= duration_ms=2ns error="<nil>" method=POST status=403 url="http://127.0.0.1:42785/api/v4/internal/allowed"
FAIL
FAIL gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/uploadarchive 0.105s