Pull request #274 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 0c6690d512fca69ab8f13dc5deb436fc09094519 rather than 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 Obtained Jenkinsfile from 0c6690d512fca69ab8f13dc5deb436fc09094519 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh89124329308532134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15417442806906180367.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4787082616330213997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh716705034627428438.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8345831980690292985.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4636 in /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-274 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 Merge succeeded, producing 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 Checking out Revision 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 (PR-274) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 Commit message: "docs: code review comments addressed" > git rev-list --no-walk b9a7e9b40e12f8e802a63b37b6cf2c453bcc71f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-20T20:28:29.005Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T20:28:29.070Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T20:28:29.083Z] ========================================================= [2023-03-20T20:28:29.083Z] EdgeX Global Pipelines Version Info [2023-03-20T20:28:29.083Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:28:29.793Z] ------------------- [2023-03-20T20:28:29.793Z] stable info: [2023-03-20T20:28:29.793Z] ------------------- [2023-03-20T20:28:29.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T20:28:29.793Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T20:28:29.793Z] Message: update stable to v1.0.245 [2023-03-20T20:28:30.363Z] ------------------- [2023-03-20T20:28:30.363Z] experimental info: [2023-03-20T20:28:30.363Z] ------------------- [2023-03-20T20:28:30.363Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T20:28:30.363Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T20:28:30.363Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T20:28:30.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-20T20:28:30.528Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-20T20:28:30.537Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T20:28:30.545Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T20:28:30.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T20:28:30.562Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-20T20:28:30.571Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T20:28:30.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-20T20:28:30.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T20:28:30.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T20:28:30.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T20:28:30.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-20T20:28:30.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T20:28:30.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T20:28:30.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T20:28:30.670Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T20:28:30.686Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T20:28:30.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T20:28:30.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T20:28:30.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T20:28:30.741Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-20T20:28:30.751Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-20T20:28:30.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T20:28:30.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T20:28:30.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T20:28:30.796Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T20:28:30.808Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T20:28:30.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo [2023-03-20T20:28:30.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo [2023-03-20T20:28:30.843Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo [2023-03-20T20:28:30.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo [2023-03-20T20:28:30.867Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4dbc989 [Pipeline] echo [2023-03-20T20:28:30.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T20:28:30.917Z] provisioning config files... [2023-03-20T20:28:30.935Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config7601650766021166644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:28:31.227Z] ---> docker-login.sh [2023-03-20T20:28:31.227Z] nexus3.edgexfoundry.org:10001 [2023-03-20T20:28:31.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:31.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:31.746Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:31.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:31.746Z] [2023-03-20T20:28:31.746Z] Login Succeeded [2023-03-20T20:28:31.746Z] nexus3.edgexfoundry.org:10002 [2023-03-20T20:28:31.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:31.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:31.746Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:31.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:31.746Z] [2023-03-20T20:28:31.746Z] Login Succeeded [2023-03-20T20:28:31.746Z] nexus3.edgexfoundry.org:10003 [2023-03-20T20:28:31.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:32.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:32.005Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:32.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:32.005Z] [2023-03-20T20:28:32.005Z] Login Succeeded [2023-03-20T20:28:32.005Z] nexus3.edgexfoundry.org:10004 [2023-03-20T20:28:32.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:32.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:32.005Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:32.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:32.005Z] [2023-03-20T20:28:32.005Z] Login Succeeded [2023-03-20T20:28:32.005Z] docker.io [2023-03-20T20:28:32.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:32.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:32.264Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:32.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:32.264Z] [2023-03-20T20:28:32.264Z] Login Succeeded [2023-03-20T20:28:32.264Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T20:28:32.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T20:28:32.621Z] + git rev-list -1 --merges 4dbc9892cd9cab629b06cbdeaea0749b7dae4814~1..4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo [2023-03-20T20:28:32.667Z] -----------> git rev-list -1 --merges 4dbc9892cd9cab629b06cbdeaea0749b7dae4814~1..4dbc9892cd9cab629b06cbdeaea0749b7dae4814 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [false] [Pipeline] sh [2023-03-20T20:28:32.952Z] + git log --format=format:%s -1 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo [2023-03-20T20:28:32.965Z] ========================================================= [2023-03-20T20:28:32.965Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T20:28:32.965Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T20:28:33.278Z] + git log --format=format:%s -1 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] echo [2023-03-20T20:28:33.289Z] [semverPrep] GIT_COMMIT: 4dbc9892cd9cab629b06cbdeaea0749b7dae4814, Commit Message: docs: code review comments addressed [Pipeline] echo [2023-03-20T20:28:33.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T20:28:33.665Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T20:28:33.665Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T20:28:33.665Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T20:28:33.665Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T20:28:33.665Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-20T20:28:33.665Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-20T20:28:33.665Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:28:34.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T20:28:34.080Z] [2023-03-20T20:28:34.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:28:34.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T20:28:34.381Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T20:28:34.381Z] b85a868b505f: Pulling fs layer [2023-03-20T20:28:34.381Z] e2be974225ed: Pulling fs layer [2023-03-20T20:28:34.381Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T20:28:34.381Z] 988bab9f4d93: Pulling fs layer [2023-03-20T20:28:34.381Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T20:28:34.381Z] eaf3925da568: Pulling fs layer [2023-03-20T20:28:34.381Z] bab4dde63d76: Pulling fs layer [2023-03-20T20:28:34.381Z] bde34c3a00c8: Pulling fs layer [2023-03-20T20:28:34.381Z] b352a97aabf1: Pulling fs layer [2023-03-20T20:28:34.381Z] 4872d77fe225: Pulling fs layer [2023-03-20T20:28:34.381Z] 5851b861e8e6: Pulling fs layer [2023-03-20T20:28:34.381Z] bab4dde63d76: Waiting [2023-03-20T20:28:34.381Z] bde34c3a00c8: Waiting [2023-03-20T20:28:34.381Z] b352a97aabf1: Waiting [2023-03-20T20:28:34.381Z] 4872d77fe225: Waiting [2023-03-20T20:28:34.381Z] 5851b861e8e6: Waiting [2023-03-20T20:28:34.381Z] 988bab9f4d93: Waiting [2023-03-20T20:28:34.381Z] 1469e6f7b9e6: Waiting [2023-03-20T20:28:34.381Z] eaf3925da568: Waiting [2023-03-20T20:28:34.381Z] e2be974225ed: Verifying Checksum [2023-03-20T20:28:34.381Z] e2be974225ed: Download complete [2023-03-20T20:28:34.381Z] 988bab9f4d93: Verifying Checksum [2023-03-20T20:28:34.381Z] 988bab9f4d93: Download complete [2023-03-20T20:28:34.640Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T20:28:34.640Z] 1469e6f7b9e6: Download complete [2023-03-20T20:28:34.640Z] eaf3925da568: Verifying Checksum [2023-03-20T20:28:34.640Z] eaf3925da568: Download complete [2023-03-20T20:28:34.640Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T20:28:34.640Z] 339a4e72a1f5: Download complete [2023-03-20T20:28:34.640Z] bde34c3a00c8: Download complete [2023-03-20T20:28:34.640Z] b352a97aabf1: Verifying Checksum [2023-03-20T20:28:34.640Z] b352a97aabf1: Download complete [2023-03-20T20:28:34.640Z] 4872d77fe225: Verifying Checksum [2023-03-20T20:28:34.640Z] 4872d77fe225: Download complete [2023-03-20T20:28:34.640Z] 5851b861e8e6: Download complete [2023-03-20T20:28:34.640Z] b85a868b505f: Verifying Checksum [2023-03-20T20:28:34.640Z] b85a868b505f: Download complete [2023-03-20T20:28:34.899Z] bab4dde63d76: Verifying Checksum [2023-03-20T20:28:34.899Z] bab4dde63d76: Download complete [2023-03-20T20:28:35.834Z] b85a868b505f: Pull complete [2023-03-20T20:28:36.094Z] e2be974225ed: Pull complete [2023-03-20T20:28:36.354Z] 339a4e72a1f5: Pull complete [2023-03-20T20:28:36.614Z] 988bab9f4d93: Pull complete [2023-03-20T20:28:36.873Z] 1469e6f7b9e6: Pull complete [2023-03-20T20:28:36.873Z] eaf3925da568: Pull complete [2023-03-20T20:28:38.774Z] bab4dde63d76: Pull complete [2023-03-20T20:28:38.774Z] bde34c3a00c8: Pull complete [2023-03-20T20:28:38.774Z] b352a97aabf1: Pull complete [2023-03-20T20:28:38.774Z] 4872d77fe225: Pull complete [2023-03-20T20:28:38.774Z] 5851b861e8e6: Pull complete [2023-03-20T20:28:38.774Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T20:28:38.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T20:28:38.774Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:28:38.881Z] prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container [2023-03-20T20:28:38.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-20T20:28:41.489Z] $ docker top ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 -eo pid,comm [2023-03-20T20:28:41.537Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-20T20:28:41.537Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T20:28:41.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T20:28:41.574Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T20:28:41.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T20:28:41.674Z] $ docker exec ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent [2023-03-20T20:28:41.779Z] SSH_AUTH_SOCK=/tmp/ssh-K1Ip44LJHdna/agent.32 [2023-03-20T20:28:41.779Z] SSH_AGENT_PID=38 [2023-03-20T20:28:41.785Z] Running ssh-add (command line suppressed) [2023-03-20T20:28:41.880Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_13973292884662829854.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_13973292884662829854.key) [2023-03-20T20:28:41.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T20:28:42.180Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T20:28:42.193Z] $ docker exec --env ******** --env ******** ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent -k [2023-03-20T20:28:42.292Z] unset SSH_AUTH_SOCK; [2023-03-20T20:28:42.293Z] unset SSH_AGENT_PID; [2023-03-20T20:28:42.293Z] echo Agent pid 38 killed; [2023-03-20T20:28:42.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T20:28:42.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T20:28:42.322Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T20:28:42.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T20:28:42.427Z] $ docker exec ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent [2023-03-20T20:28:42.526Z] SSH_AUTH_SOCK=/tmp/ssh-go3K7npq4XyG/agent.71 [2023-03-20T20:28:42.526Z] SSH_AGENT_PID=77 [2023-03-20T20:28:42.531Z] Running ssh-add (command line suppressed) [2023-03-20T20:28:42.626Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_2287873241076903786.key (/w/workspace/undry_device-onvif-camera_PR-274@tmp/private_key_2287873241076903786.key) [2023-03-20T20:28:42.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T20:28:42.926Z] + git semver init [2023-03-20T20:28:43.186Z] 2023-03-20 20:28:43,092 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T20:28:43.186Z] 2023-03-20 20:28:43,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-274/.semver [2023-03-20T20:28:43.186Z] 2023-03-20 20:28:43,093 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-274/.semver [2023-03-20T20:28:43.186Z] 2023-03-20 20:28:43,093 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-274/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-274, universal_newlines=False, shell=None, istream=None) [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,003 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-274/.git/info/exclude [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 with force:False [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,004 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,008 [execute] INFO git cat-file --batch-check [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,015 [execute] INFO git cat-file --batch [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-274/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T20:28:44.126Z] 2023-03-20 20:28:44,020 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-274/.semver/PR-274 [2023-03-20T20:28:44.126Z] 0.0.0 [Pipeline] } [2023-03-20T20:28:44.140Z] $ docker exec --env ******** --env ******** ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 ssh-agent -k [2023-03-20T20:28:44.257Z] unset SSH_AUTH_SOCK; [2023-03-20T20:28:44.257Z] unset SSH_AGENT_PID; [2023-03-20T20:28:44.257Z] echo Agent pid 77 killed; [2023-03-20T20:28:44.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T20:28:44.561Z] + git semver [Pipeline] } [2023-03-20T20:28:44.837Z] $ docker stop --time=1 ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 [2023-03-20T20:28:46.415Z] $ docker rm -f --volumes ddbd6dc7b4b5f64e62de1e635a9f539ef8034389c891f1fdb980dd13c4f73914 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T20:28:46.755Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T20:28:47.004Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T20:28:47.005Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T20:28:47.149Z] provisioning config files... [2023-03-20T20:28:47.158Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config1205521395010674383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:28:47.450Z] ---> docker-login.sh [2023-03-20T20:28:47.450Z] nexus3.edgexfoundry.org:10001 [2023-03-20T20:28:47.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:47.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:47.450Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:47.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:47.450Z] [2023-03-20T20:28:47.450Z] Login Succeeded [2023-03-20T20:28:47.450Z] nexus3.edgexfoundry.org:10002 [2023-03-20T20:28:47.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:47.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:47.450Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:47.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:47.450Z] [2023-03-20T20:28:47.450Z] Login Succeeded [2023-03-20T20:28:47.450Z] nexus3.edgexfoundry.org:10003 [2023-03-20T20:28:47.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:47.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:47.709Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:47.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:47.709Z] [2023-03-20T20:28:47.709Z] Login Succeeded [2023-03-20T20:28:47.709Z] nexus3.edgexfoundry.org:10004 [2023-03-20T20:28:47.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:47.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:47.709Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:47.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:47.709Z] [2023-03-20T20:28:47.709Z] Login Succeeded [2023-03-20T20:28:47.709Z] docker.io [2023-03-20T20:28:47.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:28:47.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:28:47.967Z] Configure a credential helper to remove this warning. See [2023-03-20T20:28:47.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:28:47.968Z] [2023-03-20T20:28:47.968Z] Login Succeeded [2023-03-20T20:28:47.968Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T20:28:47.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T20:28:48.040Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T20:28:48.053Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T20:28:48.061Z] ========================================================= [2023-03-20T20:28:48.062Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-20T20:28:48.062Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:28:48.373Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T20:28:48.373Z] Sending build context to Docker daemon 27.04MB [2023-03-20T20:28:48.374Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-20T20:28:48.374Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-20T20:28:48.633Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T20:28:48.633Z] 213ec9aee27d: Pulling fs layer [2023-03-20T20:28:48.633Z] 4583459ba037: Pulling fs layer [2023-03-20T20:28:48.633Z] 93c1e223e6f2: Pulling fs layer [2023-03-20T20:28:48.633Z] 53926ce57604: Pulling fs layer [2023-03-20T20:28:48.633Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-20T20:28:48.633Z] 22ff95d597cd: Pulling fs layer [2023-03-20T20:28:48.633Z] 12d6caf4c0d1: Pulling fs layer [2023-03-20T20:28:48.633Z] 96b7cbca73a9: Pulling fs layer [2023-03-20T20:28:48.633Z] a7acece74701: Pulling fs layer [2023-03-20T20:28:48.633Z] 53926ce57604: Waiting [2023-03-20T20:28:48.633Z] 12d6caf4c0d1: Waiting [2023-03-20T20:28:48.633Z] 22ff95d597cd: Waiting [2023-03-20T20:28:48.633Z] 21b2b0c7a3f4: Waiting [2023-03-20T20:28:48.633Z] a7acece74701: Waiting [2023-03-20T20:28:48.633Z] 93c1e223e6f2: Verifying Checksum [2023-03-20T20:28:48.633Z] 93c1e223e6f2: Download complete [2023-03-20T20:28:48.633Z] 4583459ba037: Download complete [2023-03-20T20:28:48.633Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-20T20:28:48.633Z] 21b2b0c7a3f4: Download complete [2023-03-20T20:28:48.633Z] 22ff95d597cd: Verifying Checksum [2023-03-20T20:28:48.633Z] 22ff95d597cd: Download complete [2023-03-20T20:28:48.633Z] 213ec9aee27d: Verifying Checksum [2023-03-20T20:28:48.633Z] 213ec9aee27d: Download complete [2023-03-20T20:28:48.893Z] 12d6caf4c0d1: Download complete [2023-03-20T20:28:48.893Z] 213ec9aee27d: Pull complete [2023-03-20T20:28:49.158Z] 4583459ba037: Pull complete [2023-03-20T20:28:49.158Z] 93c1e223e6f2: Pull complete [2023-03-20T20:28:49.418Z] a7acece74701: Verifying Checksum [2023-03-20T20:28:49.418Z] a7acece74701: Download complete [2023-03-20T20:28:49.418Z] 53926ce57604: Verifying Checksum [2023-03-20T20:28:49.418Z] 53926ce57604: Download complete [2023-03-20T20:28:49.418Z] 96b7cbca73a9: Verifying Checksum [2023-03-20T20:28:49.418Z] 96b7cbca73a9: Download complete [2023-03-20T20:28:53.604Z] 53926ce57604: Pull complete [2023-03-20T20:28:53.604Z] 21b2b0c7a3f4: Pull complete [2023-03-20T20:28:53.604Z] 22ff95d597cd: Pull complete [2023-03-20T20:28:53.604Z] 12d6caf4c0d1: Pull complete [2023-03-20T20:28:55.503Z] 96b7cbca73a9: Pull complete [2023-03-20T20:28:56.437Z] a7acece74701: Pull complete [2023-03-20T20:28:56.437Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-20T20:28:56.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-20T20:28:56.437Z] ---> db6d94c90886 [2023-03-20T20:28:56.437Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-20T20:29:01.708Z] ---> Running in f5ba2c475067 [2023-03-20T20:29:01.708Z] Removing intermediate container f5ba2c475067 [2023-03-20T20:29:01.708Z] ---> 06a7f735ca3a [2023-03-20T20:29:01.708Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T20:29:01.708Z] ---> Running in 7ec11756080e [2023-03-20T20:29:01.708Z] Removing intermediate container 7ec11756080e [2023-03-20T20:29:01.708Z] ---> 897c1f20995c [2023-03-20T20:29:01.708Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-20T20:29:01.708Z] ---> Running in 33f5435a8920 [2023-03-20T20:29:01.708Z] Removing intermediate container 33f5435a8920 [2023-03-20T20:29:01.708Z] ---> 5f92bf54269c [2023-03-20T20:29:01.708Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T20:29:01.708Z] ---> Running in f0045e015116 [2023-03-20T20:29:01.708Z] Removing intermediate container f0045e015116 [2023-03-20T20:29:01.708Z] ---> 298faab3a10b [2023-03-20T20:29:01.708Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-20T20:29:01.708Z] ---> Running in d9c06d3d3526 [2023-03-20T20:29:01.708Z] Removing intermediate container d9c06d3d3526 [2023-03-20T20:29:01.708Z] ---> 783cfbc743ac [2023-03-20T20:29:01.708Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T20:29:01.708Z] ---> Running in 42f7f9514978 [2023-03-20T20:29:01.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-20T20:29:01.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-20T20:29:02.107Z] Still waiting to schedule task [2023-03-20T20:29:02.108Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-20T20:29:02.225Z] OK: 211 MiB in 51 packages [2023-03-20T20:29:02.484Z] Removing intermediate container 42f7f9514978 [2023-03-20T20:29:02.484Z] ---> 681a7b79b09d [2023-03-20T20:29:02.484Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-20T20:29:02.484Z] ---> Running in 22821a906793 [2023-03-20T20:29:02.484Z] Removing intermediate container 22821a906793 [2023-03-20T20:29:02.484Z] ---> 95876eca8bc8 [2023-03-20T20:29:02.484Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-20T20:29:02.742Z] ---> e14f836927c4 [2023-03-20T20:29:02.742Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T20:29:02.742Z] ---> Running in 1ad40c774347 [2023-03-20T20:29:34.838Z] Removing intermediate container 1ad40c774347 [2023-03-20T20:29:34.838Z] ---> e1c98e6366ff [2023-03-20T20:29:34.838Z] Step 12/13 : COPY . . [2023-03-20T20:29:34.838Z] ---> 180da184caad [2023-03-20T20:29:34.838Z] Step 13/13 : RUN ${MAKE} [2023-03-20T20:29:34.838Z] ---> Running in 003a738f41ca [2023-03-20T20:29:35.097Z] noop [2023-03-20T20:29:35.357Z] Removing intermediate container 003a738f41ca [2023-03-20T20:29:35.357Z] ---> ae720cfc978b [2023-03-20T20:29:35.357Z] Successfully built ae720cfc978b [2023-03-20T20:29:35.357Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:29:35.663Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T20:29:35.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:29:35.724Z] prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container [2023-03-20T20:29:35.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T20:29:36.066Z] $ docker top 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T20:29:36.404Z] + go version [2023-03-20T20:29:36.404Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-20T20:29:36.418Z] $ docker stop --time=1 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a [2023-03-20T20:29:37.738Z] $ docker rm -f --volumes 4dae118e3f70b36125fb27c7077476e4b8ee7f7e404a8866a2ef0170c703960a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:29:38.134Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T20:29:38.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:29:38.207Z] prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container [2023-03-20T20:29:38.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T20:29:38.560Z] $ docker top 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T20:29:38.897Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] fileExists [Pipeline] sh [2023-03-20T20:29:39.191Z] + make test [2023-03-20T20:29:39.191Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-20T20:29:39.450Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-20T20:29:49.411Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-20T20:29:53.599Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements [2023-03-20T20:29:53.599Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-20T20:29:53.599Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.464s coverage: 86.5% of statements [2023-03-20T20:30:01.707Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-20T20:30:01.707Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-20T20:30:04.236Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T20:30:04.236Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T20:30:04.236Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T20:30:04.248Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T20:30:04.263Z] $ docker stop --time=1 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc [2023-03-20T20:30:06.746Z] $ docker rm -f --volumes 29ab6d74b8fbc8e4e2732c85114047739535d361583d79d89146a8bad82d49cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T20:30:07.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T20:30:07.236Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-20T20:30:07.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T20:30:07.992Z] + ls -al . [2023-03-20T20:30:07.992Z] total 248 [2023-03-20T20:30:07.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:29 . [2023-03-20T20:30:07.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 .. [2023-03-20T20:30:07.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:29 .git [2023-03-20T20:30:07.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:28 .github [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:28 .gitignore [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:28 .golangci.yml [2023-03-20T20:30:07.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:28 .semver [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:28 Attribution.txt [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:28 CHANGELOG.md [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:28 Dockerfile [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:28 GOVERNANCE.md [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:28 Jenkinsfile [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:28 LICENSE [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:28 Makefile [2023-03-20T20:30:07.992Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:28 OWNERS.md [2023-03-20T20:30:07.993Z] -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:28 README.md [2023-03-20T20:30:07.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:28 VERSION [2023-03-20T20:30:07.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:28 bin [2023-03-20T20:30:07.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:28 cmd [2023-03-20T20:30:07.993Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:29 coverage.out [2023-03-20T20:30:07.993Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:28 doc [2023-03-20T20:30:07.993Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:28 go.mod [2023-03-20T20:30:07.993Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:28 go.sum [2023-03-20T20:30:07.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 internal [2023-03-20T20:30:07.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:28 snap [2023-03-20T20:30:07.993Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:30:08.291Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 --label arch=amd64 --label version=0.0.0 . [2023-03-20T20:30:08.291Z] Sending build context to Docker daemon 27.12MB [2023-03-20T20:30:08.291Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-20T20:30:08.291Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-20T20:30:08.291Z] ---> ae720cfc978b [2023-03-20T20:30:08.291Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-20T20:30:08.896Z] ---> Running in eb8c48cc0e70 [2023-03-20T20:30:08.896Z] Removing intermediate container eb8c48cc0e70 [2023-03-20T20:30:08.896Z] ---> ddd7331be14a [2023-03-20T20:30:08.896Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T20:30:08.896Z] ---> Running in b7ce387042a6 [2023-03-20T20:30:08.896Z] Removing intermediate container b7ce387042a6 [2023-03-20T20:30:08.896Z] ---> 153d17dba435 [2023-03-20T20:30:08.896Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-20T20:30:08.896Z] ---> Running in cb115ffd4aed [2023-03-20T20:30:09.156Z] Removing intermediate container cb115ffd4aed [2023-03-20T20:30:09.156Z] ---> 32f63ad7f686 [2023-03-20T20:30:09.156Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T20:30:09.156Z] ---> Running in c617f7238c41 [2023-03-20T20:30:09.156Z] Removing intermediate container c617f7238c41 [2023-03-20T20:30:09.156Z] ---> c57013b0ceee [2023-03-20T20:30:09.156Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-20T20:30:09.156Z] ---> Running in e6f10aba9800 [2023-03-20T20:30:09.156Z] Removing intermediate container e6f10aba9800 [2023-03-20T20:30:09.156Z] ---> 689d4d02fc22 [2023-03-20T20:30:09.156Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T20:30:09.156Z] ---> Running in d8527fcd2968 [2023-03-20T20:30:09.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-20T20:30:09.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-20T20:30:09.983Z] OK: 211 MiB in 51 packages [2023-03-20T20:30:10.242Z] Removing intermediate container d8527fcd2968 [2023-03-20T20:30:10.242Z] ---> 1d260a6919ea [2023-03-20T20:30:10.242Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-20T20:30:10.502Z] ---> Running in 0f51b66be0c6 [2023-03-20T20:30:10.502Z] Removing intermediate container 0f51b66be0c6 [2023-03-20T20:30:10.502Z] ---> 7fc7ada08d6e [2023-03-20T20:30:10.502Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-20T20:30:10.502Z] ---> 3287af433a23 [2023-03-20T20:30:10.502Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T20:30:10.502Z] ---> Running in aacb6e4d9852 [2023-03-20T20:30:11.439Z] Removing intermediate container aacb6e4d9852 [2023-03-20T20:30:11.439Z] ---> 543f865447ca [2023-03-20T20:30:11.439Z] Step 12/26 : COPY . . [2023-03-20T20:30:12.007Z] ---> b8c8c229ebbb [2023-03-20T20:30:12.007Z] Step 13/26 : RUN ${MAKE} [2023-03-20T20:30:12.272Z] ---> Running in 2411dab51891 [2023-03-20T20:30:12.531Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-20T20:30:34.490Z] Removing intermediate container 2411dab51891 [2023-03-20T20:30:34.490Z] ---> 783bf85e04de [2023-03-20T20:30:34.490Z] Step 14/26 : FROM alpine:3.16 [2023-03-20T20:30:35.058Z] 3.16: Pulling from library/alpine [2023-03-20T20:30:35.058Z] ef5531b6e74e: Pulling fs layer [2023-03-20T20:30:35.318Z] ef5531b6e74e: Verifying Checksum [2023-03-20T20:30:35.318Z] ef5531b6e74e: Download complete [2023-03-20T20:30:35.318Z] ef5531b6e74e: Pull complete [2023-03-20T20:30:35.318Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-20T20:30:35.318Z] Status: Downloaded newer image for alpine:3.16 [2023-03-20T20:30:35.318Z] ---> dfd21b5a31f5 [2023-03-20T20:30:35.318Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-20T20:30:35.318Z] ---> Running in 24d2ac86909a [2023-03-20T20:30:35.577Z] Removing intermediate container 24d2ac86909a [2023-03-20T20:30:35.577Z] ---> 4999b5e2fa87 [2023-03-20T20:30:35.577Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-20T20:30:35.577Z] ---> Running in 14f11aa655b1 [2023-03-20T20:30:35.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-20T20:30:35.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-20T20:30:35.929Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4637 in /w/workspace/undry_device-onvif-camera_PR-274 [Pipeline] { [Pipeline] ws [2023-03-20T20:30:35.941Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-20T20:30:35.986Z] The recommended git tool is: git [2023-03-20T20:30:36.094Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-20T20:30:36.094Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-20T20:30:36.094Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-20T20:30:36.353Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-20T20:30:36.353Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-20T20:30:36.353Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-20T20:30:36.353Z] Executing busybox-1.35.0-r17.trigger [2023-03-20T20:30:36.353Z] OK: 8 MiB in 20 packages [2023-03-20T20:30:36.611Z] Removing intermediate container 14f11aa655b1 [2023-03-20T20:30:36.611Z] ---> a1d860f9f2a1 [2023-03-20T20:30:36.611Z] Step 17/26 : WORKDIR / [2023-03-20T20:30:36.611Z] ---> Running in 3d2ea4c83583 [2023-03-20T20:30:36.870Z] Removing intermediate container 3d2ea4c83583 [2023-03-20T20:30:36.870Z] ---> 232e8830cc88 [2023-03-20T20:30:36.870Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-20T20:30:37.436Z] ---> 952f599a87d0 [2023-03-20T20:30:37.436Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-20T20:30:37.696Z] ---> 8758b037933b [2023-03-20T20:30:37.696Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-20T20:30:37.696Z] ---> 80390468d78e [2023-03-20T20:30:37.696Z] Step 21/26 : EXPOSE 59984 [2023-03-20T20:30:37.696Z] ---> Running in ded2b71e872b [2023-03-20T20:30:37.955Z] Removing intermediate container ded2b71e872b [2023-03-20T20:30:37.955Z] ---> f45da8d4686f [2023-03-20T20:30:37.955Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-20T20:30:37.955Z] ---> Running in 1e204c037e52 [2023-03-20T20:30:37.955Z] Removing intermediate container 1e204c037e52 [2023-03-20T20:30:37.955Z] ---> fd389191d1e6 [2023-03-20T20:30:37.955Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-20T20:30:37.955Z] ---> Running in 0f64a5a9f6d9 [2023-03-20T20:30:37.955Z] Removing intermediate container 0f64a5a9f6d9 [2023-03-20T20:30:37.955Z] ---> 90fd4a51c64b [2023-03-20T20:30:37.955Z] Step 24/26 : LABEL arch=amd64 [2023-03-20T20:30:37.955Z] ---> Running in ea2d5a5ca6b4 [2023-03-20T20:30:38.214Z] Removing intermediate container ea2d5a5ca6b4 [2023-03-20T20:30:38.214Z] ---> 2cd194a25270 [2023-03-20T20:30:38.214Z] Step 25/26 : LABEL git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [2023-03-20T20:30:38.214Z] ---> Running in ab0de0a1b086 [2023-03-20T20:30:38.214Z] Removing intermediate container ab0de0a1b086 [2023-03-20T20:30:38.214Z] ---> d87769c418ce [2023-03-20T20:30:38.214Z] Step 26/26 : LABEL version=0.0.0 [2023-03-20T20:30:38.214Z] ---> Running in 0dec453ad759 [2023-03-20T20:30:38.214Z] Removing intermediate container 0dec453ad759 [2023-03-20T20:30:38.214Z] ---> 4a829bb8f9e2 [2023-03-20T20:30:38.214Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T20:30:38.214Z] Successfully built 4a829bb8f9e2 [2023-03-20T20:30:38.473Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:30:38.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T20:30:38.943Z] [2023-03-20T20:30:38.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:30:39.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T20:30:39.247Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T20:30:39.247Z] 5eb5b503b376: Pulling fs layer [2023-03-20T20:30:39.247Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T20:30:39.247Z] ec43610c2a17: Pulling fs layer [2023-03-20T20:30:39.247Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T20:30:39.247Z] 33b1e0a273af: Pulling fs layer [2023-03-20T20:30:39.247Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T20:30:39.247Z] 2f39f015ded8: Pulling fs layer [2023-03-20T20:30:39.247Z] 3a2ae6a8a46f: Waiting [2023-03-20T20:30:39.247Z] 33b1e0a273af: Waiting [2023-03-20T20:30:39.247Z] 2f39f015ded8: Waiting [2023-03-20T20:30:39.247Z] 5d3b04190fa2: Waiting [2023-03-20T20:30:39.247Z] 5c69ac0246d0: Verifying Checksum [2023-03-20T20:30:39.247Z] 5c69ac0246d0: Download complete [2023-03-20T20:30:39.247Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-20T20:30:39.247Z] 3a2ae6a8a46f: Download complete [2023-03-20T20:30:39.508Z] 33b1e0a273af: Verifying Checksum [2023-03-20T20:30:39.508Z] 33b1e0a273af: Download complete [2023-03-20T20:30:39.508Z] 5d3b04190fa2: Verifying Checksum [2023-03-20T20:30:39.508Z] 5d3b04190fa2: Download complete [2023-03-20T20:30:39.508Z] ec43610c2a17: Verifying Checksum [2023-03-20T20:30:39.508Z] ec43610c2a17: Download complete [2023-03-20T20:30:39.508Z] 5eb5b503b376: Verifying Checksum [2023-03-20T20:30:39.508Z] 5eb5b503b376: Download complete [2023-03-20T20:30:40.075Z] 2f39f015ded8: Download complete [2023-03-20T20:30:40.641Z] 5eb5b503b376: Pull complete [2023-03-20T20:30:40.900Z] 5c69ac0246d0: Pull complete [2023-03-20T20:30:41.161Z] ec43610c2a17: Pull complete [2023-03-20T20:30:41.421Z] 3a2ae6a8a46f: Pull complete [2023-03-20T20:30:41.421Z] 33b1e0a273af: Pull complete [2023-03-20T20:30:41.680Z] 5d3b04190fa2: Pull complete [2023-03-20T20:30:42.463Z] using credential edgex-jenkins-ssh [2023-03-20T20:30:42.483Z] Cloning the remote Git repository [2023-03-20T20:30:42.530Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-20T20:30:42.650Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-20T20:30:42.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-20T20:30:42.827Z] > git --version # timeout=10 [2023-03-20T20:30:42.853Z] > git --version # 'git version 2.25.1' [2023-03-20T20:30:42.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T20:30:43.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T20:30:44.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-20T20:30:44.490Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T20:30:45.869Z] 2f39f015ded8: Pull complete [2023-03-20T20:30:45.870Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T20:30:45.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T20:30:45.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:30:45.955Z] prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container [2023-03-20T20:30:45.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T20:30:46.027Z] Merging remotes/origin/levski commit 0c6690d512fca69ab8f13dc5deb436fc09094519 into PR head commit 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [2023-03-20T20:30:45.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-20T20:30:45.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-20T20:30:45.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T20:30:45.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-20T20:30:46.048Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T20:30:46.108Z] > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 [2023-03-20T20:30:46.461Z] Merge succeeded, producing 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [2023-03-20T20:30:46.461Z] Checking out Revision 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 (PR-274) [2023-03-20T20:30:46.368Z] > git remote # timeout=10 [2023-03-20T20:30:46.393Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T20:30:46.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T20:30:46.422Z] > git merge 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 [2023-03-20T20:30:46.445Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T20:30:46.469Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T20:30:46.482Z] > git checkout -f 4dbc9892cd9cab629b06cbdeaea0749b7dae4814 # timeout=10 [2023-03-20T20:30:49.492Z] $ docker top f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:30:49.885Z] ---> job-cost.sh [2023-03-20T20:30:49.885Z] lf-activate-venv: SKIPPING [2023-03-20T20:30:49.885Z] INFO: No Stack... [2023-03-20T20:30:50.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T20:30:50.311Z] Commit message: "docs: code review comments addressed" [2023-03-20T20:30:50.403Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T20:30:50.694Z] + cat /w/workspace/undry_device-onvif-camera_PR-274/archives/cost.csv [2023-03-20T20:30:50.695Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T20:30:50.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [2023-03-20T20:30:50.719Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] did not exist. Created. [2023-03-20T20:30:50.719Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T20:30:50.777Z] [2023-03-20T20:30:50.777Z] GitHub has been notified of this commit’s build result [2023-03-20T20:30:50.777Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T20:30:51.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T20:30:51.053Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T20:30:51.060Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T20:30:51.084Z] $ docker stop --time=1 f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca [2023-03-20T20:30:51.339Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T20:30:51.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T20:30:51.339Z] Dload Upload Total Spent Left Speed [2023-03-20T20:30:51.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [2023-03-20T20:30:52.233Z] $ docker rm -f --volumes f7f7bf7bac9aacb466fbd78e7108e16acfef486298c32fa7ae26a336b81a76ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T20:30:52.591Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T20:30:52.918Z] + sudo tee /etc/docker/daemon.new [2023-03-20T20:30:52.918Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T20:30:52.918Z] { [2023-03-20T20:30:52.918Z] "registry-mirrors": [ [2023-03-20T20:30:52.918Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T20:30:52.918Z] ], [2023-03-20T20:30:52.918Z] "bip": "10.250.0.254/24", [2023-03-20T20:30:52.918Z] "hosts": [ [2023-03-20T20:30:52.918Z] "tcp://0.0.0.0:5555", [2023-03-20T20:30:52.918Z] "unix:///var/run/docker.sock" [2023-03-20T20:30:52.918Z] ], [2023-03-20T20:30:52.918Z] "mtu": 1458, [2023-03-20T20:30:52.918Z] "selinux-enabled": true, [2023-03-20T20:30:52.918Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T20:30:52.918Z] } [Pipeline] sh [2023-03-20T20:30:53.246Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T20:30:53.570Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T20:31:11.833Z] provisioning config files... [2023-03-20T20:31:11.859Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config18114776354620927479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:31:12.202Z] ---> docker-login.sh [2023-03-20T20:31:12.202Z] nexus3.edgexfoundry.org:10001 [2023-03-20T20:31:12.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:31:12.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:31:12.790Z] Configure a credential helper to remove this warning. See [2023-03-20T20:31:12.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:31:12.790Z] [2023-03-20T20:31:12.790Z] Login Succeeded [2023-03-20T20:31:12.790Z] nexus3.edgexfoundry.org:10002 [2023-03-20T20:31:13.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:31:13.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:31:13.060Z] Configure a credential helper to remove this warning. See [2023-03-20T20:31:13.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:31:13.060Z] [2023-03-20T20:31:13.060Z] Login Succeeded [2023-03-20T20:31:13.060Z] nexus3.edgexfoundry.org:10003 [2023-03-20T20:31:13.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:31:13.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:31:13.601Z] Configure a credential helper to remove this warning. See [2023-03-20T20:31:13.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:31:13.601Z] [2023-03-20T20:31:13.601Z] Login Succeeded [2023-03-20T20:31:13.601Z] nexus3.edgexfoundry.org:10004 [2023-03-20T20:31:13.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:31:13.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:31:13.873Z] Configure a credential helper to remove this warning. See [2023-03-20T20:31:13.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:31:13.873Z] [2023-03-20T20:31:13.873Z] Login Succeeded [2023-03-20T20:31:13.873Z] docker.io [2023-03-20T20:31:14.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T20:31:14.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T20:31:14.412Z] Configure a credential helper to remove this warning. See [2023-03-20T20:31:14.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T20:31:14.412Z] [2023-03-20T20:31:14.412Z] Login Succeeded [2023-03-20T20:31:14.412Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T20:31:14.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T20:31:14.692Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T20:31:14.711Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T20:31:14.722Z] ========================================================= [2023-03-20T20:31:14.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-20T20:31:14.722Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:31:15.064Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-20T20:31:15.664Z] Sending build context to Docker daemon 19.74MB [2023-03-20T20:31:15.664Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-20T20:31:15.664Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-20T20:31:15.664Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T20:31:15.664Z] 9b18e9b68314: Pulling fs layer [2023-03-20T20:31:15.664Z] 35d82f9e3411: Pulling fs layer [2023-03-20T20:31:15.664Z] e16973657156: Pulling fs layer [2023-03-20T20:31:15.664Z] fc693d55d65f: Pulling fs layer [2023-03-20T20:31:15.664Z] 7e9fc2657dce: Pulling fs layer [2023-03-20T20:31:15.664Z] dda99020689f: Pulling fs layer [2023-03-20T20:31:15.664Z] db1c61fa0a46: Pulling fs layer [2023-03-20T20:31:15.664Z] 891c053d2c06: Pulling fs layer [2023-03-20T20:31:15.664Z] dda99020689f: Waiting [2023-03-20T20:31:15.664Z] db1c61fa0a46: Waiting [2023-03-20T20:31:15.664Z] 891c053d2c06: Waiting [2023-03-20T20:31:15.664Z] fc693d55d65f: Waiting [2023-03-20T20:31:15.935Z] e16973657156: Download complete [2023-03-20T20:31:15.935Z] 35d82f9e3411: Download complete [2023-03-20T20:31:15.935Z] 7e9fc2657dce: Download complete [2023-03-20T20:31:15.935Z] dda99020689f: Verifying Checksum [2023-03-20T20:31:15.935Z] dda99020689f: Download complete [2023-03-20T20:31:15.935Z] 9b18e9b68314: Verifying Checksum [2023-03-20T20:31:15.935Z] 9b18e9b68314: Download complete [2023-03-20T20:31:16.917Z] 9b18e9b68314: Pull complete [2023-03-20T20:31:16.917Z] 891c053d2c06: Verifying Checksum [2023-03-20T20:31:16.917Z] 891c053d2c06: Download complete [2023-03-20T20:31:17.526Z] 35d82f9e3411: Pull complete [2023-03-20T20:31:17.793Z] e16973657156: Pull complete [2023-03-20T20:31:18.378Z] db1c61fa0a46: Verifying Checksum [2023-03-20T20:31:18.378Z] db1c61fa0a46: Download complete [2023-03-20T20:31:18.963Z] fc693d55d65f: Verifying Checksum [2023-03-20T20:31:18.963Z] fc693d55d65f: Download complete [2023-03-20T20:31:31.310Z] fc693d55d65f: Pull complete [2023-03-20T20:31:31.310Z] 7e9fc2657dce: Pull complete [2023-03-20T20:31:31.310Z] dda99020689f: Pull complete [2023-03-20T20:31:37.971Z] db1c61fa0a46: Pull complete [2023-03-20T20:31:39.383Z] 891c053d2c06: Pull complete [2023-03-20T20:31:39.383Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-20T20:31:39.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-20T20:31:39.384Z] ---> f96f9c87975a [2023-03-20T20:31:39.384Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-20T20:31:41.338Z] ---> Running in 09d60807439a [2023-03-20T20:31:41.338Z] Removing intermediate container 09d60807439a [2023-03-20T20:31:41.338Z] ---> 2e1c016a9ca0 [2023-03-20T20:31:41.338Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T20:31:41.338Z] ---> Running in 588cd7543cc6 [2023-03-20T20:31:41.922Z] Removing intermediate container 588cd7543cc6 [2023-03-20T20:31:41.922Z] ---> 132e8bd997dd [2023-03-20T20:31:41.922Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-20T20:31:41.922Z] ---> Running in 4751abbe3226 [2023-03-20T20:31:42.191Z] Removing intermediate container 4751abbe3226 [2023-03-20T20:31:42.191Z] ---> 52b362403f07 [2023-03-20T20:31:42.191Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T20:31:42.191Z] ---> Running in a25c8956c8de [2023-03-20T20:31:42.460Z] Removing intermediate container a25c8956c8de [2023-03-20T20:31:42.460Z] ---> 5e1b61c33f90 [2023-03-20T20:31:42.460Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-20T20:31:42.728Z] ---> Running in ea6cf2cb166a [2023-03-20T20:31:42.994Z] Removing intermediate container ea6cf2cb166a [2023-03-20T20:31:42.994Z] ---> 9a80f76b07a7 [2023-03-20T20:31:42.994Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T20:31:42.994Z] ---> Running in d4ebde4e45fd [2023-03-20T20:31:44.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-20T20:31:44.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-20T20:31:45.373Z] OK: 221 MiB in 51 packages [2023-03-20T20:31:46.336Z] Removing intermediate container d4ebde4e45fd [2023-03-20T20:31:46.336Z] ---> 40b8411761b7 [2023-03-20T20:31:46.336Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-20T20:31:46.336Z] ---> Running in b8b77823752f [2023-03-20T20:31:46.606Z] Removing intermediate container b8b77823752f [2023-03-20T20:31:46.606Z] ---> e655a2b74a32 [2023-03-20T20:31:46.606Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-20T20:31:49.952Z] ---> 10d1759b7f31 [2023-03-20T20:31:49.952Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T20:31:49.952Z] ---> Running in 9a48046987a9 [2023-03-20T20:32:46.391Z] Removing intermediate container 9a48046987a9 [2023-03-20T20:32:46.391Z] ---> e8ba4134c590 [2023-03-20T20:32:46.391Z] Step 12/13 : COPY . . [2023-03-20T20:32:48.345Z] ---> fdacd8554c88 [2023-03-20T20:32:48.345Z] Step 13/13 : RUN ${MAKE} [2023-03-20T20:32:48.345Z] ---> Running in 7abd6e2da667 [2023-03-20T20:32:49.317Z] noop [2023-03-20T20:32:49.902Z] Removing intermediate container 7abd6e2da667 [2023-03-20T20:32:49.902Z] ---> d036e523e979 [2023-03-20T20:32:49.902Z] Successfully built d036e523e979 [2023-03-20T20:32:49.902Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:32:50.255Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T20:32:50.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:32:50.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container [2023-03-20T20:32:50.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T20:32:51.758Z] $ docker top 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T20:32:52.598Z] + go version [2023-03-20T20:32:52.598Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-20T20:32:52.621Z] $ docker stop --time=1 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 [2023-03-20T20:32:54.291Z] $ docker rm -f --volumes 8bc418534e519c1eb03247e6e22776b8f311cb72eefceb7aad948ff167456df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:32:54.836Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T20:32:54.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:32:55.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container [2023-03-20T20:32:55.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T20:32:56.322Z] $ docker top 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T20:32:57.140Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-20T20:32:57.463Z] + make test [2023-03-20T20:32:57.463Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-20T20:32:59.402Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-20T20:34:36.059Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-20T20:34:36.059Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 29.3% of statements [2023-03-20T20:34:36.059Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-20T20:34:54.270Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.226s coverage: 86.5% of statements [2023-03-20T20:34:54.270Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-20T20:34:54.270Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-20T20:35:26.531Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T20:35:26.531Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T20:35:26.531Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T20:35:26.551Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T20:35:26.571Z] $ docker stop --time=1 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 [2023-03-20T20:35:28.510Z] $ docker rm -f --volumes 685d0e0a499796efe23e695044c0fda20b31c13772c102ed3668e10151700616 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T20:35:29.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T20:35:29.544Z] Warning: overwriting stash ‘coverage-report’ [2023-03-20T20:35:31.582Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T20:35:31.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T20:35:32.398Z] + ls -al . [2023-03-20T20:35:32.398Z] total 244 [2023-03-20T20:35:32.398Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 20:32 . [2023-03-20T20:35:32.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 .. [2023-03-20T20:35:32.398Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:30 .git [2023-03-20T20:35:32.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:30 .github [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:30 .gitignore [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:30 .golangci.yml [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:30 Attribution.txt [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:30 CHANGELOG.md [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:30 Dockerfile [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:30 GOVERNANCE.md [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:30 Jenkinsfile [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:30 LICENSE [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:30 Makefile [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:30 OWNERS.md [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:30 README.md [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:28 VERSION [2023-03-20T20:35:32.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:30 bin [2023-03-20T20:35:32.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:30 cmd [2023-03-20T20:35:32.398Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:34 coverage.out [2023-03-20T20:35:32.398Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:30 doc [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:30 go.mod [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:30 go.sum [2023-03-20T20:35:32.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 internal [2023-03-20T20:35:32.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:30 snap [2023-03-20T20:35:32.398Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:35:32.813Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 --label arch=arm64 --label version=0.0.0 . [2023-03-20T20:35:33.803Z] Sending build context to Docker daemon 19.82MB [2023-03-20T20:35:33.803Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-20T20:35:33.803Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-20T20:35:33.803Z] ---> d036e523e979 [2023-03-20T20:35:33.803Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-20T20:35:33.803Z] ---> Running in 6cdcb3d03c72 [2023-03-20T20:35:34.072Z] Removing intermediate container 6cdcb3d03c72 [2023-03-20T20:35:34.072Z] ---> 3f790209e4b2 [2023-03-20T20:35:34.072Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T20:35:34.072Z] ---> Running in 71e7a7066a2f [2023-03-20T20:35:34.347Z] Removing intermediate container 71e7a7066a2f [2023-03-20T20:35:34.347Z] ---> f9ceef009993 [2023-03-20T20:35:34.347Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-20T20:35:34.621Z] ---> Running in abd30439e54c [2023-03-20T20:35:34.895Z] Removing intermediate container abd30439e54c [2023-03-20T20:35:34.895Z] ---> 448b08c4e8e3 [2023-03-20T20:35:34.895Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T20:35:34.895Z] ---> Running in 2649d4da72b9 [2023-03-20T20:35:35.173Z] Removing intermediate container 2649d4da72b9 [2023-03-20T20:35:35.173Z] ---> abd67c3e6732 [2023-03-20T20:35:35.173Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-20T20:35:35.173Z] ---> Running in b2d9c5d02444 [2023-03-20T20:35:35.450Z] Removing intermediate container b2d9c5d02444 [2023-03-20T20:35:35.450Z] ---> 9dff8abdc904 [2023-03-20T20:35:35.450Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T20:35:35.720Z] ---> Running in 996627acb7e3 [2023-03-20T20:35:36.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-20T20:35:36.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-20T20:35:37.936Z] OK: 221 MiB in 51 packages [2023-03-20T20:35:38.902Z] Removing intermediate container 996627acb7e3 [2023-03-20T20:35:38.902Z] ---> 4695192c6a6d [2023-03-20T20:35:38.902Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-20T20:35:38.902Z] ---> Running in c7341567b017 [2023-03-20T20:35:39.487Z] Removing intermediate container c7341567b017 [2023-03-20T20:35:39.487Z] ---> e8385ee6cdb8 [2023-03-20T20:35:39.487Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-20T20:35:39.754Z] ---> 0fd1d10207cd [2023-03-20T20:35:39.754Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T20:35:40.026Z] ---> Running in 96b30701e093 [2023-03-20T20:35:42.614Z] Removing intermediate container 96b30701e093 [2023-03-20T20:35:42.614Z] ---> 701dbdcbecc7 [2023-03-20T20:35:42.614Z] Step 12/26 : COPY . . [2023-03-20T20:35:44.027Z] ---> 8f9c299f5990 [2023-03-20T20:35:44.027Z] Step 13/26 : RUN ${MAKE} [2023-03-20T20:35:44.293Z] ---> Running in 174b8eee1c12 [2023-03-20T20:35:45.256Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-20T20:38:06.985Z] Removing intermediate container 174b8eee1c12 [2023-03-20T20:38:06.985Z] ---> 512fd7500628 [2023-03-20T20:38:06.985Z] Step 14/26 : FROM alpine:3.16 [2023-03-20T20:38:06.985Z] 3.16: Pulling from library/alpine [2023-03-20T20:38:06.985Z] 3760b48202b3: Pulling fs layer [2023-03-20T20:38:06.985Z] 3760b48202b3: Verifying Checksum [2023-03-20T20:38:06.985Z] 3760b48202b3: Download complete [2023-03-20T20:38:06.985Z] 3760b48202b3: Pull complete [2023-03-20T20:38:06.985Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-20T20:38:06.985Z] Status: Downloaded newer image for alpine:3.16 [2023-03-20T20:38:06.985Z] ---> 4c81e5bf8899 [2023-03-20T20:38:06.985Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-20T20:38:06.985Z] ---> Running in 5994c249e53a [2023-03-20T20:38:06.985Z] Removing intermediate container 5994c249e53a [2023-03-20T20:38:06.985Z] ---> b3821fd2daf8 [2023-03-20T20:38:06.985Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-20T20:38:06.985Z] ---> Running in 0ebd543e376b [2023-03-20T20:38:07.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-20T20:38:07.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-20T20:38:08.480Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-20T20:38:08.480Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-20T20:38:08.746Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-20T20:38:08.746Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-20T20:38:08.746Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-20T20:38:08.746Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-20T20:38:09.014Z] Executing busybox-1.35.0-r17.trigger [2023-03-20T20:38:09.014Z] OK: 8 MiB in 20 packages [2023-03-20T20:38:09.976Z] Removing intermediate container 0ebd543e376b [2023-03-20T20:38:09.976Z] ---> 03c9bb8e22c0 [2023-03-20T20:38:09.976Z] Step 17/26 : WORKDIR / [2023-03-20T20:38:09.976Z] ---> Running in 7a6c373c3b11 [2023-03-20T20:38:10.242Z] Removing intermediate container 7a6c373c3b11 [2023-03-20T20:38:10.242Z] ---> 9a65b9edee31 [2023-03-20T20:38:10.242Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-20T20:38:11.652Z] ---> 1344a0b884f0 [2023-03-20T20:38:11.652Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-20T20:38:12.238Z] ---> b84342e8836d [2023-03-20T20:38:12.238Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-20T20:38:12.822Z] ---> 987d010cecb7 [2023-03-20T20:38:12.822Z] Step 21/26 : EXPOSE 59984 [2023-03-20T20:38:12.822Z] ---> Running in 4f5732f6351f [2023-03-20T20:38:13.091Z] Removing intermediate container 4f5732f6351f [2023-03-20T20:38:13.091Z] ---> 3f3e3a834b9b [2023-03-20T20:38:13.091Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-20T20:38:13.091Z] ---> Running in bb4bdc4f1489 [2023-03-20T20:38:13.358Z] Removing intermediate container bb4bdc4f1489 [2023-03-20T20:38:13.358Z] ---> b4c2c2fc4b5c [2023-03-20T20:38:13.358Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-20T20:38:13.623Z] ---> Running in 44115298530b [2023-03-20T20:38:13.889Z] Removing intermediate container 44115298530b [2023-03-20T20:38:13.889Z] ---> 541a90be0b87 [2023-03-20T20:38:13.889Z] Step 24/26 : LABEL arch=arm64 [2023-03-20T20:38:13.889Z] ---> Running in bda96af3cf4e [2023-03-20T20:38:14.470Z] Removing intermediate container bda96af3cf4e [2023-03-20T20:38:14.470Z] ---> 39f02453b583 [2023-03-20T20:38:14.470Z] Step 25/26 : LABEL git_sha=4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [2023-03-20T20:38:14.470Z] ---> Running in 0e4bf6f668ec [2023-03-20T20:38:14.735Z] Removing intermediate container 0e4bf6f668ec [2023-03-20T20:38:14.735Z] ---> 48db6bc9ddca [2023-03-20T20:38:14.735Z] Step 26/26 : LABEL version=0.0.0 [2023-03-20T20:38:15.001Z] ---> Running in 78e99cd8b629 [2023-03-20T20:38:15.268Z] Removing intermediate container 78e99cd8b629 [2023-03-20T20:38:15.268Z] ---> c896ad298905 [2023-03-20T20:38:15.268Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T20:38:15.268Z] Successfully built c896ad298905 [2023-03-20T20:38:15.268Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:38:15.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T20:38:15.699Z] [2023-03-20T20:38:15.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:38:16.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T20:38:16.024Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T20:38:16.024Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T20:38:16.024Z] 04944245beec: Pulling fs layer [2023-03-20T20:38:16.024Z] 699f458cf7ca: Pulling fs layer [2023-03-20T20:38:16.024Z] 765212b225bb: Pulling fs layer [2023-03-20T20:38:16.024Z] f23df028b6ca: Pulling fs layer [2023-03-20T20:38:16.024Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T20:38:16.024Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T20:38:16.024Z] f23df028b6ca: Waiting [2023-03-20T20:38:16.024Z] 765212b225bb: Waiting [2023-03-20T20:38:16.024Z] 2437ff75d9bd: Waiting [2023-03-20T20:38:16.291Z] 04944245beec: Verifying Checksum [2023-03-20T20:38:16.291Z] 04944245beec: Download complete [2023-03-20T20:38:16.291Z] 765212b225bb: Verifying Checksum [2023-03-20T20:38:16.291Z] 765212b225bb: Download complete [2023-03-20T20:38:16.291Z] f23df028b6ca: Verifying Checksum [2023-03-20T20:38:16.291Z] f23df028b6ca: Download complete [2023-03-20T20:38:16.291Z] d65c8cfc05b1: Verifying Checksum [2023-03-20T20:38:16.291Z] d65c8cfc05b1: Download complete [2023-03-20T20:38:16.558Z] 699f458cf7ca: Verifying Checksum [2023-03-20T20:38:16.558Z] 699f458cf7ca: Download complete [2023-03-20T20:38:16.824Z] 8998bd30e6a1: Verifying Checksum [2023-03-20T20:38:16.824Z] 8998bd30e6a1: Download complete [2023-03-20T20:38:19.410Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T20:38:19.410Z] 2437ff75d9bd: Download complete [2023-03-20T20:38:20.815Z] 8998bd30e6a1: Pull complete [2023-03-20T20:38:22.223Z] 04944245beec: Pull complete [2023-03-20T20:38:23.630Z] 699f458cf7ca: Pull complete [2023-03-20T20:38:23.630Z] 765212b225bb: Pull complete [2023-03-20T20:38:24.216Z] f23df028b6ca: Pull complete [2023-03-20T20:38:24.484Z] d65c8cfc05b1: Pull complete [2023-03-20T20:38:39.477Z] 2437ff75d9bd: Pull complete [2023-03-20T20:38:39.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T20:38:39.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T20:38:39.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:38:39.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-4637 does not seem to be running inside a container [2023-03-20T20:38:39.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-20T20:38:42.291Z] $ docker top 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:42.795Z] ---> job-cost.sh [2023-03-20T20:38:43.060Z] lf-activate-venv: SKIPPING [2023-03-20T20:38:43.060Z] INFO: No Stack... [2023-03-20T20:38:43.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T20:38:44.221Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T20:38:44.539Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-03-20T20:38:44.539Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T20:38:44.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [2023-03-20T20:38:44.881Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] did not exist. Created. [2023-03-20T20:38:44.881Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T20:38:45.532Z] /w/workspace/device-onvif-camera/2@tmp/durable-d6faeefd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T20:38:46.179Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T20:38:46.201Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T20:38:46.266Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T20:38:46.274Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-274-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T20:38:46.298Z] $ docker stop --time=1 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 [2023-03-20T20:38:47.802Z] $ docker rm -f --volumes 189736835f5a0ffecfb0401a8e18c4962cb2db8cdf259751a6680a0aa81247c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-20T20:38:48.187Z] provisioning config files... [2023-03-20T20:38:48.194Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config2571881927690376761tmp [Pipeline] { [Pipeline] sh [2023-03-20T20:38:48.485Z] + set +x [2023-03-20T20:38:48.485Z] + curl -s https://codecov.io/bash [2023-03-20T20:38:48.485Z] + bash -s -- [2023-03-20T20:38:48.485Z] [2023-03-20T20:38:48.485Z] _____ _ [2023-03-20T20:38:48.485Z] / ____| | | [2023-03-20T20:38:48.485Z] | | ___ __| | ___ ___ _____ __ [2023-03-20T20:38:48.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-20T20:38:48.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-20T20:38:48.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-20T20:38:48.485Z] Bash-1.0.6 [2023-03-20T20:38:48.485Z] [2023-03-20T20:38:48.485Z] [2023-03-20T20:38:48.485Z] ==> git version 2.25.1 found [2023-03-20T20:38:48.486Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-20T20:38:48.486Z] Release-Date: 2020-01-08 [2023-03-20T20:38:48.486Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-20T20:38:48.486Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-20T20:38:48.486Z] ==> Jenkins CI detected. [2023-03-20T20:38:48.486Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-274 [2023-03-20T20:38:48.486Z] project root: . [2023-03-20T20:38:48.486Z] --> token set from env [2023-03-20T20:38:48.486Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-20T20:38:48.486Z] ==> Running gcov in . (disable via -X gcov) [2023-03-20T20:38:48.486Z] ==> Python coveragepy not found [2023-03-20T20:38:48.486Z] ==> Searching for coverage reports in: [2023-03-20T20:38:48.486Z] + . [2023-03-20T20:38:48.486Z] -> Found 1 reports [2023-03-20T20:38:48.486Z] ==> Detecting git/mercurial file structure [2023-03-20T20:38:48.486Z] ==> Reading reports [2023-03-20T20:38:48.746Z] + ./coverage.out bytes=79184 [2023-03-20T20:38:48.746Z] ==> Appending adjustments [2023-03-20T20:38:48.746Z] https://docs.codecov.io/docs/fixing-reports [2023-03-20T20:38:48.746Z] + Found adjustments [2023-03-20T20:38:48.746Z] ==> Gzipping contents [2023-03-20T20:38:48.746Z] 12K /tmp/codecov.8tEZyN.gz [2023-03-20T20:38:48.746Z] ==> Uploading reports [2023-03-20T20:38:48.746Z] url: https://codecov.io [2023-03-20T20:38:48.746Z] query: branch=PR-274&commit=4dbc9892cd9cab629b06cbdeaea0749b7dae4814&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-20T20:38:48.746Z] -> Pinging Codecov [2023-03-20T20:38:48.746Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-274&commit=4dbc9892cd9cab629b06cbdeaea0749b7dae4814&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-274%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=274&job=&cmd_args= [2023-03-20T20:38:49.004Z] -> Uploading to [2023-03-20T20:38:49.004Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/4dbc9892cd9cab629b06cbdeaea0749b7dae4814/b5f4d610-0893-416e-998e-860ac8e8ad26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T203848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81f9a6306afa452e023dd0a258a555914d256282534de1b2849d62c9595bfa34 [2023-03-20T20:38:49.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T20:38:49.004Z] Dload Upload Total Spent Left Speed [2023-03-20T20:38:49.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10823 0 0 100 10823 0 41467 --:--:-- --:--:-- --:--:-- 41467 [2023-03-20T20:38:49.263Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4dbc9892cd9cab629b06cbdeaea0749b7dae4814 [Pipeline] } [2023-03-20T20:38:49.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-20T20:38:49.992Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-274/archives ] [2023-03-20T20:38:49.992Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-20T20:38:49.992Z] total 16 [2023-03-20T20:38:49.992Z] drwxr-xr-x 3 root root 4096 Mar 20 20:30 . [2023-03-20T20:38:49.992Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:30 .. [2023-03-20T20:38:49.992Z] drwxr-xr-x 2 root root 4096 Mar 20 20:30 cost [2023-03-20T20:38:49.992Z] -rw-r--r-- 1 root root 91 Mar 20 20:30 cost.csv [2023-03-20T20:38:49.992Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-20T20:38:49.992Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-274/archives [2023-03-20T20:38:49.992Z] total 16 [2023-03-20T20:38:49.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:30 . [2023-03-20T20:38:49.992Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:30 .. [2023-03-20T20:38:49.992Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 20:30 cost [2023-03-20T20:38:49.992Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 20 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:50.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:51.144Z] ---> package-listing.sh [2023-03-20T20:38:51.144Z] ++ facter osfamily [2023-03-20T20:38:51.144Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T20:38:51.402Z] + OS_FAMILY=debian [2023-03-20T20:38:51.402Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-274 [2023-03-20T20:38:51.402Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T20:38:51.402Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T20:38:51.402Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T20:38:51.402Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T20:38:51.402Z] + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' [2023-03-20T20:38:51.402Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T20:38:51.402Z] + case "${OS_FAMILY}" in [2023-03-20T20:38:51.402Z] + dpkg -l [2023-03-20T20:38:51.402Z] + grep '^ii' [2023-03-20T20:38:51.402Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T20:38:51.402Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T20:38:51.402Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T20:38:51.403Z] + '[' /w/workspace/undry_device-onvif-camera_PR-274 ']' [2023-03-20T20:38:51.403Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-274/archives/ [2023-03-20T20:38:51.403Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-274/archives/ [Pipeline] echo [2023-03-20T20:38:51.413Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T20:38:51.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T20:38:52.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T20:38:52.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T20:38:52.318Z] prd-ubuntu20.04-docker-8c-8g-4636 does not seem to be running inside a container [2023-03-20T20:38:52.354Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-274 -v /w/workspace/undry_device-onvif-camera_PR-274:/w/workspace/undry_device-onvif-camera_PR-274:rw,z -v /w/workspace/undry_device-onvif-camera_PR-274@tmp:/w/workspace/undry_device-onvif-camera_PR-274@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T20:38:52.555Z] $ docker top 89a876429b525cd669ac0d25db5b33e1cd5cdac88f9ded2ae888d0ae5086ca66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T20:38:52.884Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T20:38:53.166Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T20:38:53.446Z] + ls /var/log/sa-host [2023-03-20T20:38:53.446Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T20:38:53.583Z] provisioning config files... [2023-03-20T20:38:53.591Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-274@tmp/config3780899911515788060tmp [Pipeline] { [Pipeline] echo [2023-03-20T20:38:53.604Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:53.882Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T20:38:53.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:54.231Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T20:38:54.239Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:54.527Z] ---> sudo-logs.sh [2023-03-20T20:38:54.527Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T20:38:54.559Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:54.845Z] ---> job-cost.sh [2023-03-20T20:38:54.845Z] lf-activate-venv: SKIPPING [2023-03-20T20:38:54.845Z] DEBUG: total: 0.2199999988079071 [2023-03-20T20:38:54.845Z] INFO: Retrieving Stack Cost... [2023-03-20T20:38:55.414Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T20:38:55.673Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T20:38:55.684Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T20:38:55.967Z] ---> logs-deploy.sh [2023-03-20T20:38:55.967Z] lf-activate-venv: SKIPPING [2023-03-20T20:38:55.967Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-274/2 [2023-03-20T20:38:55.967Z] INFO: archiving workspace using pattern(s): [2023-03-20T20:38:56.904Z] Archives upload complete. [2023-03-20T20:38:57.164Z] INFO: archiving logs to Nexus