Running with gitlab-runner 12.9.0 (4c96e5ad)
  on docker-auto-scale 72989761
section_start:1587038510: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:72d5caeb63360804d1e4a57e6cc5554c65abf3e748ba651b1de0737a6393e71f 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:bbacf1bdcab2fc5f5af64cfb17da4c45835239f601aff050ddf2dd8e331250b0 for registry.gitlab.com/gitlab-org/security-products/analyzers/klar:2 ...
section_end:1587038590:prepare_executor
section_start:1587038590:prepare_script
Preparing environment
Running on runner-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1587038510-096fff99...
section_end:1587038592:prepare_script
section_start:1587038592:get_sources
Getting source from Git repository
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
section_end:1587038593:get_sources
section_start:1587038593:restore_cache
Restoring cache
section_end:1587038594:restore_cache
section_start:1587038594:download_artifacts
Downloading artifacts
section_end:1587038596:download_artifacts
section_start:1587038596:build_script
Running before_script and script
$ /analyzer run
[INFO] ▶ GitLab klar analyzer v2.4.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: 15
[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-16 12:03:17.003177"}
  
[WARN] ▶ Clair log contents: 
  {"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:223","Time":"2020-04-16 12:03:17.072942"}
  
[WARN] ▶ Clair log contents: 
  {"Event":"notifier service is disabled","Level":"info","Location":"notifier.go:77","Time":"2020-04-16 12:03:17.073525"}
  {"Event":"starting main API","Level":"info","Location":"api.go:52","Time":"2020-04-16 12:03:17.073566","port":6060}
  
[INFO] ▶ Clair API started successfully.
[INFO] ▶ Scanning container from registry 'registry.staging.gitlab.com/gitlab-org/monitor/monitor-sandbox/master:a666adffe9b35783479f96c8ffbacff82dc408e4' 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: 15
[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:a666adffe9b35783479f96c8ffbacff82dc408e4] contains NO unapproved vulnerabilities
section_end:1587038603:build_script
section_start:1587038603:after_script
Running after_script
section_end:1587038605:after_script
section_start:1587038605:archive_cache
Saving cache
section_end:1587038606:archive_cache
section_start:1587038606:upload_artifacts_on_success
Uploading artifacts for successful job
Uploading artifacts...
gl-container-scanning-report.json: found 1 matching files 
Uploading artifacts to coordinator... ok            id=37160320 responseStatus=201 Created token=hm-oVzMp
section_end:1587038609:upload_artifacts_on_success
Job succeeded