Gitlab - 错误:将工件作为“junit”上传到协调器

Gitlab - 错误:将工件作为“junit”上传到协调器

我有一个 gitlab-runner(作为 shell),无法上传到“协调器”,因为我怀疑是 gitlab 服务器。这是一个 Java 项目。有人见过这个错误吗,或者有修复方法的建议吗?将 gitlab 服务器和 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

答案1

开发人员减少了上传的测试量,从而解决了这个问题。

相关内容