Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-8dd6b4777-87gcx dPJcxnQf section_start:1601420103:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner Using Kubernetes executor with image ${GITLAB_INTERNAL_REGISTRY}/ironbank-tools/ironbank-pipeline/clamav:0.102.4 ... section_end:1601420103:prepare_executor section_start:1601420103:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-dpjcxnqf-project-701-concurrent-0t4gzs to be running, status is Pending Waiting for pod gitlab-runner/runner-dpjcxnqf-project-701-concurrent-0t4gzs to be running, status is Pending Waiting for pod gitlab-runner/runner-dpjcxnqf-project-701-concurrent-0t4gzs to be running, status is Pending Waiting for pod gitlab-runner/runner-dpjcxnqf-project-701-concurrent-0t4gzs to be running, status is Pending Running on runner-dpjcxnqf-project-701-concurrent-0t4gzs via global-shared-gitlab-runner-8dd6b4777-87gcx... section_end:1601420115:prepare_script section_start:1601420115:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/coder-enterprise/coder-enterprise/timescale/.git/ Created fresh repository. Checking out 0ebbd133 as development... Skipping Git submodules setup section_end:1601420115:get_sources section_start:1601420115:download_artifacts Downloading artifacts Downloading artifacts for import artifacts (340709)... Dialing: tcp gitlab-webservice.gitlab.svc.cluster.local:8181 ... Downloading artifacts from coordinator... ok  id=340709 responseStatus=200 OK token=6bkDaAjQ section_end:1601420115:download_artifacts section_start:1601420115:step_script Executing "step_script" stage of the job script $ mkdir -p "${ARTIFACT_DIR}" $ freshclam ClamAV update process started at Tue Sep 29 22:55:15 2020 daily database available for download (remote version: 25942) Testing database: '/usr/local/share/clamav/tmp.daf94/clamav-b0f5843f4c92ba3c11fa26f51220398f.tmp-daily.cvd' ... Database test passed. daily.cvd updated (version: 25942, sigs: 4323616, f-level: 63, builder: raynman) main database available for download (remote version: 59) Testing database: '/usr/local/share/clamav/tmp.daf94/clamav-0b6237d3150452a4941fd21deb415ea9.tmp-main.cvd' ... Database test passed. main.cvd updated (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr) bytecode database available for download (remote version: 331) Testing database: '/usr/local/share/clamav/tmp.daf94/clamav-238bb16983186b972cd99fa2cf44dadb.tmp-bytecode.cvd' ... Database test passed. bytecode.cvd updated (version: 331, sigs: 94, f-level: 63, builder: anvilleg) $ clamscan -irv --max-filesize=4000M --max-scansize=4000M ${ARTIFACT_STORAGE}/import-artifacts/ >> ${ARTIFACT_DIR}/import-artifacts-clamav-report.txt $ cat ${ARTIFACT_DIR}/import-artifacts-clamav-report.txt Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/RPM-GPG-KEY-PGDG-11 Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/pg_cron_11-1.1.3-2.rhel7.x86_64.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/postgresql11-contrib.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/postgresql11-libs.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/postgresql11-server.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/postgresql11.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/timescale-postgres11.rpm Scanning /builds/dsop/coder-enterprise/coder-enterprise/timescale/ci-artifacts/import-artifacts/external-resources/timescale-tools.rpm ----------- SCAN SUMMARY ----------- Known viruses: 8914940 Engine version: 0.102.4 Scanned directories: 3 Scanned files: 8 Infected files: 0 Data scanned: 21.84 MB Data read: 10.29 MB (ratio 2.12:1) Time: 17.781 sec (0 m 17 s) $ INFECTED_CONTAINER_FILES=$(grep -e "^Infected files:" ${ARTIFACT_DIR}/import-artifacts-clamav-report.txt | cut -d ' ' -f3) $ if [ ${INFECTED_CONTAINER_FILES} -gt 0 ] # collapsed multi-line command section_end:1601420155:step_script section_start:1601420155:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/scan-artifacts/clamav-scan/: found 2 matching files and directories Dialing: tcp gitlab-webservice.gitlab.svc.cluster.local:8181 ... Uploading artifacts as "archive" to coordinator... ok id=340710 responseStatus=201 Created token=hF-AkvCX section_end:1601420156:upload_artifacts_on_success Job succeeded