Skip to content

413 Request Entity Too Large while uploading artifacts

https://salsa.debian.org/opencl-team/intel-graphics-compiler/-/jobs/2645059 fails with

$ cd ${WORKING_DIR}
$ rm -rf ${WORKING_DIR}/${SOURCE_DIR}
$ ccache -s
Summary:
  Hits:             779 /  779 (100.0 %)
    Direct:         770 /  779 (98.84 %)
    Preprocessed:     9 /    9 (100.0 %)
  Misses:             0
    Direct:           9
    Preprocessed:     0
  Uncacheable:       33
Primary storage:
  Hits:            1549 / 1558 (99.42 %)
  Misses:             9
  Cache size (GB): 1.06 / 5.00 (21.29 %)
Use the -v/--verbose option for more details.
$ mv ${CCACHE_TMP_DIR} ${CCACHE_WORK_DIR}
Saving cache for successful job 00:44
Creating cache build-amd64_...
.ccache: found 3300 matching files and directories 
Uploading cache.zip to https://storage.googleapis.com/debian-salsa-prod-runner-cache/project/33880/build-amd64_ 
Created cache
Uploading artifacts for successful job 00:12
Uploading artifacts...
/builds/opencl-team/intel-graphics-compiler/debian/output/: found 16 matching files and directories 
ERROR: Uploading artifacts as "archive" to coordinator... 413 Request Entity Too Large  id=2645059 responseStatus=413 Request Entity Too Large status=413 token=F14no2e4
FATAL: too large                                   
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1

Is there anything I can do to fix this on my side?

In order to ease debugging such issues, it might be helpful to run ls -l on the artifact archives to record file names and sizes prior to uploading.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information