我有一个 gitlab-runner(作为 shell)无法上传到“协调器”,因为我怀疑是 gitlab 服务器。这是一个java项目。任何人以前见过这个错误,或者有关于如何修复的建议?将 gitlab server + runner 都更新到了最新版本,但仍然是同样的错误。
错误信息是:
WARNING: Retrying... context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts as "junit" to coordinator... failed id=2926 responseStatus=500 Internal Server Error status=500 token=wWcXeTqY
WARNING: Retrying... context=artifacts-uploader error=invalid argument
ERROR: Uploading artifacts as "junit" to coordinator... error error=couldn't execute POST against https://git.infosynergi.no/api/v4/jobs/2926/artifacts?artifact_format=gzip&artifact_type=junit: Post https://git.infosynergi.no/api/v4/jobs/2926/artifacts?artifact_format=gzip&artifact_type=junit: gzip.Write: non-Latin-1 header string id=2926 token=wWcXeTqY
FATAL: invalid argument
ERROR: Job failed: exit status 1
开发人员减少了上传的测试数量,从而解决了这个问题。