Running with gitlab-runner 13.8.0 (775dd39d)  on global-shared-gitlab-runner-5896686f8-f7z96 71K9UkNo section_start:1621866820:resolve_secrets Resolving secrets section_end:1621866820:resolve_secrets section_start:1621866820:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-isolated WARNING: Pulling GitLab Runner helper image from Docker Hub. Helper image is migrating to registry.gitlab.com, for more information see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#migrating-helper-image-to-registrygitlabcom Using Kubernetes executor with image registry1.dso.mil/ironbank/ironbank-pipelines/rootless-podman:0.1 ... section_end:1621866820:prepare_executor section_start:1621866820:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner-71k9ukno-project-3812-concurrent-0vvkx7 to be running, status is Pending Waiting for pod gitlab-runner-isolated/runner-71k9ukno-project-3812-concurrent-0vvkx7 to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Running on runner-71k9ukno-project-3812-concurrent-0vvkx7 via global-shared-gitlab-runner-5896686f8-f7z96... section_end:1621866826:prepare_script section_start:1621866826:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/aqua-security/enterprise/scanner-5.3/.git/ Created fresh repository. Checking out e34df490 as development... Skipping Git submodules setup section_end:1621866826:get_sources section_start:1621866826:download_artifacts Downloading artifacts Downloading artifacts for hardening_manifest (3553588)... Downloading artifacts from coordinator... ok  id=3553588 responseStatus=200 OK token=whBRh_KK Downloading artifacts for import artifacts (3553590)... Downloading artifacts from coordinator... ok  id=3553590 responseStatus=200 OK token=ysgznnm1 Downloading artifacts for load scripts (3553585)... Downloading artifacts from coordinator... ok  id=3553585 responseStatus=200 OK token=dFhFJcRa Downloading artifacts for wl compare lint (3553589)... Downloading artifacts from coordinator... ok  id=3553589 responseStatus=200 OK token=HaSozxeY section_end:1621866827:download_artifacts section_start:1621866827:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/build/build-run.sh" Determine source registry based on branch Load any images used in Dockerfile build Load HTTP and S3 external resources 'ci-artifacts/import-artifacts/external-resources/aquasec-scanner-5.3.21130-ubi8.tar.gz' -> './aquasec-scanner-5.3.21130-ubi8.tar.gz' Converting labels from hardening manifest into command line args Converting build args from hardening manifest into command line args Build the image STEP 1: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8-minimal:8.4 Getting image source signatures Copying blob sha256:ee27fede83dd3a7b18997ac8ff64ba5c21c0deb8e6d9c7449f2acd3d407f5380 Copying blob sha256:48182b3ae68a1f7ba74c77e9ba5ec8f55fabfa39faf232fd032a91903ff5a841 Copying blob sha256:9a171205df3e15293bcd6e25e7f904a238542ea37cb278cac0b477dc0b0537bb Copying config sha256:971f721d62cfc56e166671dfb8a28de8485f3ff338ff6942fb1b1f75d7d4e720 Writing manifest to image destination Storing signatures STEP 2: ENV BUILD_ONLY_PACKAGES="tar gzip shadow-utils" STEP 3: RUN microdnf install $BUILD_ONLY_PACKAGES (microdnf:156): librhsm-WARNING **: 14:34:00.745: Found 0 entitlement certificates (microdnf:156): librhsm-WARNING **: 14:34:00.746: Found 0 entitlement certificates Downloading metadata... Downloading metadata... Downloading metadata... Package Repository Size Installing: gzip-1.9-12.el8.x86_64 ubi-8-baseos 170.7 kB libsemanage-2.9-6.el8.x86_64 ubi-8-baseos 169.2 kB shadow-utils-2:4.6-12.el8.x86_64 ubi-8-baseos 1.3 MB tar-2:1.30-5.el8.x86_64 ubi-8-baseos 857.9 kB Transaction Summary: Installing: 4 packages Reinstalling: 0 packages Upgrading: 0 packages Obsoleting: 0 packages Removing: 0 packages Downgrading: 0 packages Downloading packages... Running transaction test... Installing: libsemanage;2.9-6.el8;x86_64;ubi-8-baseos Installing: shadow-utils;2:4.6-12.el8;x86_64;ubi-8-baseos Installing: tar;2:1.30-5.el8;x86_64;ubi-8-baseos Installing: gzip;1.9-12.el8;x86_64;ubi-8-baseos Complete. STEP 4: ARG TARBALL="aquasec-scanner-5.3.21130-ubi8.tar.gz" STEP 5: RUN mkdir -p /build /opt/aquascans STEP 6: COPY ${TARBALL} /build/ STEP 7: RUN cd /build && tar -zxvf ${TARBALL} && cd - aquasec/ aquasec/scannercli aquasec/analyzer licenses/ licenses/DEPENDENCIES licenses/MPL-2.0 licenses/LICENSE licenses/BSD-2-Clause licenses/DEPENDENCIES.xlsx licenses/BSD-3-Clause licenses/Apache-2.0 licenses/MIT / STEP 8: RUN if [[ -d /build/licenses ]]; then cp -r /build/licenses/ /licenses/; fi STEP 9: RUN cd /build/ && cp -r aquasec /opt/ STEP 10: RUN rm -rf /build STEP 11: RUN groupadd -g 11433 --system aqua && adduser -m --home-dir /home/aqua --comment "aqua user" --shell /sbin/nologin -g aqua --system -u 11431 aqua && chown -R aqua:root /opt/aquasec && chown -R aqua:root /opt/aquascans STEP 12: RUN microdnf remove ${BUILD_ONLY_PACKAGES} (microdnf:862): librhsm-WARNING **: 14:34:53.117: Found 0 entitlement certificates (microdnf:862): librhsm-WARNING **: 14:34:53.118: Found 0 entitlement certificates Package Repository Size Removing: gzip-1.9-12.el8.x86_64 @System 353.1 kB shadow-utils-2:4.6-12.el8.x86_64 @System 4.0 MB tar-2:1.30-5.el8.x86_64 @System 2.9 MB Transaction Summary: Installing: 0 packages Reinstalling: 0 packages Upgrading: 0 packages Obsoleting: 0 packages Removing: 3 packages Downgrading: 0 packages Running transaction test... Removing: tar;2:1.30-5.el8;x86_64;installed Removing: shadow-utils;2:4.6-12.el8;x86_64;installed Removing: gzip;1.9-12.el8;x86_64;installed Complete. STEP 13: RUN microdnf clean all (microdnf:964): librhsm-WARNING **: 14:34:54.728: Found 0 entitlement certificates (microdnf:964): librhsm-WARNING **: 14:34:54.729: Found 0 entitlement certificates Complete. STEP 14: VOLUME /opt/aquascans STEP 15: WORKDIR /opt/aquasec/ STEP 16: HEALTHCHECK --timeout=5s CMD /opt/aquasec/scannercli version || exit 1 STEP 17: USER 11431 STEP 18: ENTRYPOINT ["/opt/aquasec/scannercli"] STEP 19: COMMIT registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3 Getting image source signatures Copying blob sha256:c0df90db61d1f40387281d60f9d36025fb4e73d59184c3b33ffeb3fa76adc4c9 Copying blob sha256:b3b6627f7339abd87cdb9a295ae9f6991eb53d9e34266a79d01348a52cbe49ad Copying blob sha256:be5139616bf8023eefc4045cdef3b2462e4128ac250aa28e26185c7d5058ccbc Copying blob sha256:ad452a20a34a2a7d24a0e3034545e98c08516974b962fd934e4517f4cce8d4d8 Copying config sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 Writing manifest to image destination Storing signatures --> 220de57e3bc 220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3 registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:275368 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:275368 Getting image source signatures Copying blob sha256:b3b6627f7339abd87cdb9a295ae9f6991eb53d9e34266a79d01348a52cbe49ad Copying blob sha256:ad452a20a34a2a7d24a0e3034545e98c08516974b962fd934e4517f4cce8d4d8 Copying blob sha256:be5139616bf8023eefc4045cdef3b2462e4128ac250aa28e26185c7d5058ccbc Copying blob sha256:c0df90db61d1f40387281d60f9d36025fb4e73d59184c3b33ffeb3fa76adc4c9 Copying config sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 Writing manifest to image destination Storing signatures + echo 'Read the tags' + tags_file=ci-artifacts/preflight/tags.txt + test -f ci-artifacts/preflight/tags.txt + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3 registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:5.3.21130-ubi8 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:5.3.21130-ubi8 Getting image source signatures Copying blob sha256:be5139616bf8023eefc4045cdef3b2462e4128ac250aa28e26185c7d5058ccbc Copying blob sha256:b3b6627f7339abd87cdb9a295ae9f6991eb53d9e34266a79d01348a52cbe49ad Copying blob sha256:ad452a20a34a2a7d24a0e3034545e98c08516974b962fd934e4517f4cce8d4d8 Copying blob sha256:c0df90db61d1f40387281d60f9d36025fb4e73d59184c3b33ffeb3fa76adc4c9 Copying config sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3 registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:latest Getting image source signatures Copying blob sha256:be5139616bf8023eefc4045cdef3b2462e4128ac250aa28e26185c7d5058ccbc Copying blob sha256:ad452a20a34a2a7d24a0e3034545e98c08516974b962fd934e4517f4cce8d4d8 Copying blob sha256:b3b6627f7339abd87cdb9a295ae9f6991eb53d9e34266a79d01348a52cbe49ad Copying blob sha256:c0df90db61d1f40387281d60f9d36025fb4e73d59184c3b33ffeb3fa76adc4c9 Copying config sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3 --format '{{.Id}}' time="2021-05-24T14:35:14Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod892d2f91-3a1c-4561-ab71-d6af37b87fdc/a0a323b2c07b7c1e1e903a4205e8130442763e0580eeb5d6bfc48335162d972c: no such file or directory" + IMAGE_ID=sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 + echo IMAGE_ID=sha256:220de57e3bccf1b49a81b6bead870c173c09748f352e0321149702e8fea84ba5 + IMAGE_PODMAN_SHA=sha256:0f18b7b0bfdc61f809bf3a67f5806933f162b33f5e679907fcb543e9cdafa9b3 + echo IMAGE_PODMAN_SHA=sha256:0f18b7b0bfdc61f809bf3a67f5806933f162b33f5e679907fcb543e9cdafa9b3 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/aqua-security/enterprise/scanner-5.3:275368 + echo IMAGE_NAME=aqua-security/enterprise/scanner-5.3 section_end:1621866914:step_script section_start:1621866914:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/build/: found 2 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=3553592 responseStatus=201 Created token=PLmuVtjH Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3553592 responseStatus=201 Created token=PLmuVtjH section_end:1621866916:upload_artifacts_on_success section_start:1621866916:cleanup_file_variables Cleaning up file based variables section_end:1621866916:cleanup_file_variables Job succeeded