Do you have any further information or additional troubleshooting steps related to this issue?
WARNING: Retrying… context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as “archive” to coordinator… 308 Permanent Redirect id=2362 responseStatus=308 Permanent Redirect status=308 token=64_erQRz
WARNING: Retrying… context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as “archive” to coordinator… 308 Permanent Redirect id=2362 responseStatus=308 Permanent Redirect status=308 token=64_erQRz
FATAL: invalid argument
Cleaning up project directory and file based variables
ERROR: Job failed: command terminated with exit code 1
owasp_dependency_check:
stage: dast-run
image: owasp/dependency-check:latest
script:
- /usr/share/dependency-check/bin/dependency-check.sh --project "${CI_PROJECT_NAME}" --scan ./ --out ./reports
artifacts:
when: always
expire_in: 1 week
paths:
- ./reports/
allow_failure: true
owasp-zap:
stage: dast-run
image: owasp/zap2docker-stable:latest
before_script:
- mkdir -p /zap/wrk
script:
- zap-baseline.py -t "https://www.abc.com" -g gen.conf -I -r zap-report.html
- cp /zap/wrk/zap-report.html zap-report.html
artifacts:
when: always
expire_in: 1 week
paths:
- zap-report.html
- zap.out
allow_failure: true
This issue occurs with gitlab-runner running in a Kubernetes environment where GitLab is installed via a Helm chart. The GitLab version is 16.5.0, and the gitlab-runner version is 16.3.0. Whenever an attempt is made to upload files, the above error is displayed.