Hi you all, I’m facing this issue from few days and I hope someone could help me, thanks a lot in advance.
I’ve seen many issues like mine but no explanations about to fix this problem.
I’m using gitlab-ce:16.2.1-ce.0 with gitlab-runner:alpine3.18-v16.2.0.
I made a simple project with current CI:
stages:
- build
build-job:
variables:
CI_DEBUG_TRACE: "true"
stage: build
script:
- echo "This is a test!" > test.txt
artifacts:
paths:
- test.txt
Job result:
Uploading artifacts...
++ /usr/bin/gitlab-runner-helper artifacts-uploader --url http://gitlab.example.com --token [MASKED] --id 424 --path test.txt --artifact-format zip --artifact-type archive
test.txt: found 1 matching artifact files and directories
WARNING: Uploading artifacts as "archive" to coordinator... 500 Internal Server Error id=424 responseStatus=500 Internal Server Error status=500 token=64_pgyzJ
WARNING: Retrying... context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... 500 Internal Server Error id=424 responseStatus=500 Internal Server Error status=500 token=64_pgyzJ
WARNING: Retrying... context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "archive" to coordinator... 500 Internal Server Error id=424 responseStatus=500 Internal Server Error status=500 token=64_pgyzJ
FATAL: invalid argument
ERROR: Job failed: exit code 1
There is nothing relevant in gitlab-rails productions logs and gitlab-workhorse current logs.
My runner (run perfectly to upload registry images):
concurrent = 1
check_interval = 0
shutdown_timeout = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "docker-runner"
url = "http://gitlab.example.com"
id = 8
token = "my_token"
token_obtained_at = 2023-07-26T10:01:35Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
clone_url = "https://gitlab.example.com"
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = true
disable_entrypoint_overwrite = false
helper_image = "gitlab/gitlab-runner-helper:alpine3.18-x86_64-v16.2.0"
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
Any suggestion? Thanks a lot!