Running with gitlab-runner 12.9.0 (4c96e5ad)
  on docker-auto-scale fa6cab46
section_start:1586197880:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image registry.gitlab.com/gitlab-org/security-products/analyzers/klar:2 ...
Starting service arminc/clair-db:latest ...
Pulling docker image arminc/clair-db:latest ...
Using docker image sha256:35e3fddc032bd2db50b88e52275417ec2ecad9ad686757850846e8134eee366e for arminc/clair-db:latest ...
Waiting for services to be up and running...
Pulling docker image registry.gitlab.com/gitlab-org/security-products/analyzers/klar:2 ...
Using docker image sha256:0db4de856dc850ce99c9798070ea8752f96dc70adddbed7733226c9f45996364 for registry.gitlab.com/gitlab-org/security-products/analyzers/klar:2 ...
section_end:1586197960:prepare_executor
section_start:1586197960:prepare_script
Preparing environment
Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1586197880-9d05e98b...
section_end:1586197963:prepare_script
section_start:1586197963:get_sources
Getting source from Git repository
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
section_end:1586197964:get_sources
section_start:1586197964:restore_cache
Restoring cache
section_end:1586197965:restore_cache
section_start:1586197965:download_artifacts
Downloading artifacts
section_end:1586197967:download_artifacts
section_start:1586197967:build_script
Running before_script and script
$ /analyzer run
[INFO] ▶ GitLab klar analyzer v2.3.1
[WARN] ▶ Whitelist file with path '/builds/gitlab-org/monitor/monitor-sandbox/clair-whitelist.yml' does not exist, skipping
[INFO] ▶ DOCKER_USER and DOCKER_PASSWORD environment variables have not been configured. Defaulting to DOCKER_USER=$CI_REGISTRY_USER and DOCKER_PASSWORD=$CI_REGISTRY_PASSWORD
[INFO] ▶ Successfully connected to the vulnerabilities database
[INFO] ▶ Started Clair server process with PID: 14
[INFO] ▶ Waiting for Clair API to start...
[WARN] ▶ Clair API not ready, waiting 2s before retrying. Retry 1 of 10
[WARN] ▶ Clair log contents: 
  {"Event":"running database migrations","Level":"info","Location":"pgsql.go:216","Time":"2020-04-06 18:32:47.934270"}
  
[WARN] ▶ Clair log contents: 
  {"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:223","Time":"2020-04-06 18:32:47.990337"}
  
[WARN] ▶ Clair log contents: 
  {"Event":"notifier service is disabled","Level":"info","Location":"notifier.go:77","Time":"2020-04-06 18:32:47.990998"}
  
[WARN] ▶ Clair log contents: 
  {"Event":"starting main API","Level":"info","Location":"api.go:52","Time":"2020-04-06 18:32:47.991228","port":6060}
  
[INFO] ▶ Clair API started successfully.
[INFO] ▶ Scanning container from registry 'registry.staging.gitlab.com/gitlab-org/monitor/monitor-sandbox/master:e28d8cbe91c8290c05dacf2e0b09357af1151d30' for vulnerabilities with severity level 'Unknown' or higher with klar '2.4.0' and clair 'v2.1.2'
[INFO] ▶ Shutting down Clair server with PID: 14
[INFO] ▶ Clair server shut down successfully
[WARN] ▶ Encountered error while reading Dockerfile for remediation, halting remediation processing. Error: Dockerfile does not exist
[INFO] ▶ Image [registry.staging.gitlab.com/gitlab-org/monitor/monitor-sandbox/master:e28d8cbe91c8290c05dacf2e0b09357af1151d30] contains NO unapproved vulnerabilities
section_end:1586197976:build_script
section_start:1586197976:after_script
Running after_script
section_end:1586197978:after_script
section_start:1586197978:archive_cache
Saving cache
section_end:1586197979:archive_cache
section_start:1586197979:upload_artifacts_on_success
Uploading artifacts for successful job
Uploading artifacts...
gl-container-scanning-report.json: found 1 matching files 
WARNING: Uploading artifacts to coordinator... failed  id=37141777 responseStatus=500 Internal Server Error status=500 Internal Server Error token=ZFxbwmpc
WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
WARNING: Uploading artifacts to coordinator... failed  id=37141777 responseStatus=500 Internal Server Error status=500 Internal Server Error token=ZFxbwmpc
WARNING: Retrying...                                context=artifacts-uploader error=invalid argument
Uploading artifacts to coordinator... ok            id=37141777 responseStatus=201 Created token=ZFxbwmpc
section_end:1586198008:upload_artifacts_on_success
Job succeeded