Pull request #124 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 main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than f1ec50b45d5f6eca63114567b74b2e5234879e6e Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh7037128617533248179.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12354217092139329769.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-124/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-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12983460877570320332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2820639067788577899.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-124/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-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15710578472481910910.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 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-22345 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-124 # 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/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit f1ec50b45d5f6eca63114567b74b2e5234879e6e Merge succeeded, producing af15f65fba7d3e324182b7765e1d80c4fb346355 Checking out Revision af15f65fba7d3e324182b7765e1d80c4fb346355 (PR-124) > 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/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1ec50b45d5f6eca63114567b74b2e5234879e6e # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af15f65fba7d3e324182b7765e1d80c4fb346355 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T22:29:01.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T22:29:01.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T22:29:01.923Z] ========================================================= [2022-08-09T22:29:01.923Z] EdgeX Global Pipelines Version Info [2022-08-09T22:29:01.923Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f569356d6c7d74df3fb0791adaa8353c9865d85e # timeout=10 [2022-08-09T22:29:02.693Z] ------------------- [2022-08-09T22:29:02.693Z] stable info: [2022-08-09T22:29:02.693Z] ------------------- [2022-08-09T22:29:02.693Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T22:29:02.693Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T22:29:02.693Z] Message: update stable to v1.0.238 [2022-08-09T22:29:03.267Z] ------------------- [2022-08-09T22:29:03.267Z] experimental info: [2022-08-09T22:29:03.267Z] ------------------- [2022-08-09T22:29:03.267Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T22:29:03.267Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T22:29:03.267Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T22:29:03.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-09T22:29:03.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-09T22:29:03.494Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T22:29:03.514Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T22:29:03.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T22:29:03.539Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T22:29:03.547Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T22:29:03.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T22:29:03.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T22:29:03.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T22:29:03.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T22:29:03.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-09T22:29:03.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T22:29:03.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T22:29:03.631Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T22:29:03.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T22:29:03.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T22:29:03.689Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T22:29:03.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T22:29:03.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T22:29:03.744Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T22:29:03.760Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T22:29:03.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T22:29:03.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T22:29:03.796Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T22:29:03.808Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T22:29:03.822Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T22:29:03.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo [2022-08-09T22:29:03.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo [2022-08-09T22:29:03.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo [2022-08-09T22:29:03.876Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af15f65fba7d3e324182b7765e1d80c4fb346355 [Pipeline] echo [2022-08-09T22:29:03.889Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af15f65 [Pipeline] echo [2022-08-09T22:29:03.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:29:03.944Z] provisioning config files... [2022-08-09T22:29:03.957Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config1350261105448130571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:29:04.266Z] ---> docker-login.sh [2022-08-09T22:29:04.266Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:29:04.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:04.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:04.528Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:04.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:04.528Z] [2022-08-09T22:29:04.528Z] Login Succeeded [2022-08-09T22:29:04.528Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:29:04.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:04.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:04.788Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:04.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:04.788Z] [2022-08-09T22:29:04.788Z] Login Succeeded [2022-08-09T22:29:04.788Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:29:04.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:04.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:04.788Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:04.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:04.788Z] [2022-08-09T22:29:04.788Z] Login Succeeded [2022-08-09T22:29:04.788Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:29:05.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:05.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:05.050Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:05.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:05.050Z] [2022-08-09T22:29:05.050Z] Login Succeeded [2022-08-09T22:29:05.050Z] docker.io [2022-08-09T22:29:05.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:05.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:05.312Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:05.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:05.312Z] [2022-08-09T22:29:05.312Z] Login Succeeded [2022-08-09T22:29:05.312Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:29:05.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T22:29:05.712Z] + git rev-list -1 --merges af15f65fba7d3e324182b7765e1d80c4fb346355~1..af15f65fba7d3e324182b7765e1d80c4fb346355 [Pipeline] echo [2022-08-09T22:29:05.742Z] -----------> git rev-list -1 --merges af15f65fba7d3e324182b7765e1d80c4fb346355~1..af15f65fba7d3e324182b7765e1d80c4fb346355 af15f65fba7d3e324182b7765e1d80c4fb346355 [2022-08-09T22:29:05.742Z] af15f65fba7d3e324182b7765e1d80c4fb346355 [false] [Pipeline] sh [2022-08-09T22:29:06.037Z] + git log --format=format:%s -1 af15f65fba7d3e324182b7765e1d80c4fb346355 [Pipeline] echo [2022-08-09T22:29:06.052Z] ========================================================= [2022-08-09T22:29:06.052Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T22:29:06.052Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:29:06.382Z] + git log --format=format:%s -1 af15f65fba7d3e324182b7765e1d80c4fb346355 [Pipeline] echo [2022-08-09T22:29:06.395Z] [semverPrep] GIT_COMMIT: af15f65fba7d3e324182b7765e1d80c4fb346355, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo [2022-08-09T22:29:06.405Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T22:29:06.782Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T22:29:06.782Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T22:29:06.782Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T22:29:06.782Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T22:29:06.782Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T22:29:06.782Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T22:29:06.782Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:29:07.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:29:07.206Z] [2022-08-09T22:29:07.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:29:07.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:29:07.512Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T22:29:07.512Z] b85a868b505f: Pulling fs layer [2022-08-09T22:29:07.512Z] e2be974225ed: Pulling fs layer [2022-08-09T22:29:07.512Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T22:29:07.512Z] 988bab9f4d93: Pulling fs layer [2022-08-09T22:29:07.512Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T22:29:07.512Z] eaf3925da568: Pulling fs layer [2022-08-09T22:29:07.512Z] bab4dde63d76: Pulling fs layer [2022-08-09T22:29:07.512Z] bde34c3a00c8: Pulling fs layer [2022-08-09T22:29:07.512Z] b352a97aabf1: Pulling fs layer [2022-08-09T22:29:07.512Z] 4872d77fe225: Pulling fs layer [2022-08-09T22:29:07.512Z] 5851b861e8e6: Pulling fs layer [2022-08-09T22:29:07.512Z] bab4dde63d76: Waiting [2022-08-09T22:29:07.512Z] bde34c3a00c8: Waiting [2022-08-09T22:29:07.512Z] b352a97aabf1: Waiting [2022-08-09T22:29:07.512Z] 988bab9f4d93: Waiting [2022-08-09T22:29:07.512Z] 1469e6f7b9e6: Waiting [2022-08-09T22:29:07.512Z] 4872d77fe225: Waiting [2022-08-09T22:29:07.512Z] 5851b861e8e6: Waiting [2022-08-09T22:29:07.512Z] eaf3925da568: Waiting [2022-08-09T22:29:07.512Z] e2be974225ed: Download complete [2022-08-09T22:29:07.512Z] 988bab9f4d93: Download complete [2022-08-09T22:29:07.773Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T22:29:07.773Z] 339a4e72a1f5: Download complete [2022-08-09T22:29:07.773Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T22:29:07.773Z] 1469e6f7b9e6: Download complete [2022-08-09T22:29:07.773Z] eaf3925da568: Verifying Checksum [2022-08-09T22:29:07.773Z] bde34c3a00c8: Verifying Checksum [2022-08-09T22:29:07.773Z] bde34c3a00c8: Download complete [2022-08-09T22:29:07.773Z] b352a97aabf1: Download complete [2022-08-09T22:29:07.773Z] 4872d77fe225: Verifying Checksum [2022-08-09T22:29:07.773Z] 4872d77fe225: Download complete [2022-08-09T22:29:07.773Z] 5851b861e8e6: Verifying Checksum [2022-08-09T22:29:07.773Z] 5851b861e8e6: Download complete [2022-08-09T22:29:07.773Z] b85a868b505f: Download complete [2022-08-09T22:29:08.031Z] bab4dde63d76: Verifying Checksum [2022-08-09T22:29:08.032Z] bab4dde63d76: Download complete [2022-08-09T22:29:09.425Z] b85a868b505f: Pull complete [2022-08-09T22:29:09.425Z] e2be974225ed: Pull complete [2022-08-09T22:29:09.687Z] 339a4e72a1f5: Pull complete [2022-08-09T22:29:09.948Z] 988bab9f4d93: Pull complete [2022-08-09T22:29:10.211Z] 1469e6f7b9e6: Pull complete [2022-08-09T22:29:10.211Z] eaf3925da568: Pull complete [2022-08-09T22:29:12.121Z] bab4dde63d76: Pull complete [2022-08-09T22:29:12.121Z] bde34c3a00c8: Pull complete [2022-08-09T22:29:12.121Z] b352a97aabf1: Pull complete [2022-08-09T22:29:12.382Z] 4872d77fe225: Pull complete [2022-08-09T22:29:12.382Z] 5851b861e8e6: Pull complete [2022-08-09T22:29:12.382Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T22:29:12.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T22:29:12.382Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:29:12.484Z] prd-ubuntu20.04-docker-8c-8g-22345 does not seem to be running inside a container [2022-08-09T22:29:12.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-09T22:29:14.852Z] $ docker top 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 -eo pid,comm [2022-08-09T22:29:14.921Z] 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). [2022-08-09T22:29:14.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T22:29:14.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T22:29:14.960Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T22:29:15.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T22:29:15.091Z] $ docker exec 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 ssh-agent [2022-08-09T22:29:15.197Z] SSH_AUTH_SOCK=/tmp/ssh-Ti7R1ZA5xJ5x/agent.32 [2022-08-09T22:29:15.197Z] SSH_AGENT_PID=39 [2022-08-09T22:29:15.203Z] Running ssh-add (command line suppressed) [2022-08-09T22:29:15.312Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_7377827545952501335.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_7377827545952501335.key) [2022-08-09T22:29:15.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T22:29:15.613Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T22:29:15.634Z] $ docker exec --env ******** --env ******** 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 ssh-agent -k [2022-08-09T22:29:15.733Z] unset SSH_AUTH_SOCK; [2022-08-09T22:29:15.733Z] unset SSH_AGENT_PID; [2022-08-09T22:29:15.734Z] echo Agent pid 39 killed; [2022-08-09T22:29:15.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T22:29:15.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T22:29:15.766Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T22:29:15.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T22:29:15.894Z] $ docker exec 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 ssh-agent [2022-08-09T22:29:16.009Z] SSH_AUTH_SOCK=/tmp/ssh-Rnd9wCq7UnxE/agent.71 [2022-08-09T22:29:16.009Z] SSH_AGENT_PID=78 [2022-08-09T22:29:16.015Z] Running ssh-add (command line suppressed) [2022-08-09T22:29:16.122Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_3645077509919761373.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_3645077509919761373.key) [2022-08-09T22:29:16.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T22:29:16.422Z] + git semver init [2022-08-09T22:29:16.682Z] 2022-08-09 22:29:16,611 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T22:29:16.682Z] 2022-08-09 22:29:16,612 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T22:29:16.682Z] 2022-08-09 22:29:16,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-124/.semver [2022-08-09T22:29:16.682Z] 2022-08-09 22:29:16,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-124/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-124, universal_newlines=False, shell=None, istream=None) [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,381 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-124/.git/info/exclude [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 with force:False [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,381 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,385 [execute] INFO git cat-file --batch-check [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,394 [execute] INFO git cat-file --batch [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T22:29:17.623Z] 2022-08-09 22:29:17,400 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 [2022-08-09T22:29:17.623Z] 0.0.0 [Pipeline] } [2022-08-09T22:29:17.640Z] $ docker exec --env ******** --env ******** 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 ssh-agent -k [2022-08-09T22:29:17.750Z] unset SSH_AUTH_SOCK; [2022-08-09T22:29:17.750Z] unset SSH_AGENT_PID; [2022-08-09T22:29:17.750Z] echo Agent pid 78 killed; [2022-08-09T22:29:17.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T22:29:18.072Z] + git semver [Pipeline] } [2022-08-09T22:29:18.351Z] $ docker stop --time=1 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 [2022-08-09T22:29:19.634Z] $ docker rm -f 3375f56fd988cef74e44fa51352f88efd52746bf0e44c38a6a5d12230b5bcf70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:29:19.989Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T22:29:20.237Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T22:29:20.240Z] [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 [2022-08-09T22:29:20.375Z] provisioning config files... [2022-08-09T22:29:20.385Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config2452840267018982741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:29:20.679Z] ---> docker-login.sh [2022-08-09T22:29:20.679Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:29:20.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:20.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:20.679Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:20.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:20.679Z] [2022-08-09T22:29:20.679Z] Login Succeeded [2022-08-09T22:29:20.679Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:29:20.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:20.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:20.940Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:20.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:20.940Z] [2022-08-09T22:29:20.940Z] Login Succeeded [2022-08-09T22:29:20.940Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:29:20.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:20.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:20.940Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:20.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:20.940Z] [2022-08-09T22:29:20.940Z] Login Succeeded [2022-08-09T22:29:20.940Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:29:20.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:21.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:21.201Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:21.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:21.201Z] [2022-08-09T22:29:21.201Z] Login Succeeded [2022-08-09T22:29:21.201Z] docker.io [2022-08-09T22:29:21.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:29:21.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:29:21.461Z] Configure a credential helper to remove this warning. See [2022-08-09T22:29:21.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:29:21.461Z] [2022-08-09T22:29:21.461Z] Login Succeeded [2022-08-09T22:29:21.461Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:29:21.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T22:29:21.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:29:21.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:29:21.555Z] ========================================================= [2022-08-09T22:29:21.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T22:29:21.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:29:21.867Z] + 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 . [2022-08-09T22:29:21.867Z] Sending build context to Docker daemon 20.29MB [2022-08-09T22:29:21.867Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T22:29:21.867Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T22:29:22.132Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T22:29:22.132Z] 2408cc74d12b: Pulling fs layer [2022-08-09T22:29:22.132Z] ea60b727a1ce: Pulling fs layer [2022-08-09T22:29:22.132Z] 30c4a7721957: Pulling fs layer [2022-08-09T22:29:22.132Z] 370296b7ddb6: Pulling fs layer [2022-08-09T22:29:22.132Z] 7c6cee850709: Pulling fs layer [2022-08-09T22:29:22.132Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T22:29:22.132Z] d94ebbe4e438: Pulling fs layer [2022-08-09T22:29:22.132Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T22:29:22.132Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T22:29:22.132Z] 39a5fcdaea64: Waiting [2022-08-09T22:29:22.132Z] d94ebbe4e438: Waiting [2022-08-09T22:29:22.132Z] bcfd1f05c69d: Waiting [2022-08-09T22:29:22.132Z] 59ccb84bbe0f: Waiting [2022-08-09T22:29:22.132Z] 370296b7ddb6: Waiting [2022-08-09T22:29:22.132Z] 7c6cee850709: Waiting [2022-08-09T22:29:22.132Z] 30c4a7721957: Download complete [2022-08-09T22:29:22.132Z] ea60b727a1ce: Verifying Checksum [2022-08-09T22:29:22.132Z] ea60b727a1ce: Download complete [2022-08-09T22:29:22.132Z] 7c6cee850709: Verifying Checksum [2022-08-09T22:29:22.132Z] 7c6cee850709: Download complete [2022-08-09T22:29:22.132Z] 39a5fcdaea64: Verifying Checksum [2022-08-09T22:29:22.132Z] 39a5fcdaea64: Download complete [2022-08-09T22:29:22.132Z] 2408cc74d12b: Verifying Checksum [2022-08-09T22:29:22.132Z] 2408cc74d12b: Download complete [2022-08-09T22:29:22.132Z] d94ebbe4e438: Download complete [2022-08-09T22:29:22.397Z] 2408cc74d12b: Pull complete [2022-08-09T22:29:22.397Z] ea60b727a1ce: Pull complete [2022-08-09T22:29:22.397Z] 30c4a7721957: Pull complete [2022-08-09T22:29:22.660Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T22:29:22.919Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T22:29:22.919Z] bcfd1f05c69d: Download complete [2022-08-09T22:29:22.919Z] 370296b7ddb6: Verifying Checksum [2022-08-09T22:29:22.919Z] 370296b7ddb6: Download complete [2022-08-09T22:29:27.107Z] 370296b7ddb6: Pull complete [2022-08-09T22:29:27.108Z] 7c6cee850709: Pull complete [2022-08-09T22:29:27.108Z] 39a5fcdaea64: Pull complete [2022-08-09T22:29:27.108Z] d94ebbe4e438: Pull complete [2022-08-09T22:29:29.017Z] bcfd1f05c69d: Pull complete [2022-08-09T22:29:29.586Z] 59ccb84bbe0f: Pull complete [2022-08-09T22:29:29.586Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T22:29:29.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T22:29:29.586Z] ---> a4fb48ad2a94 [2022-08-09T22:29:29.586Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T22:29:33.839Z] ---> Running in cf5a6ee3b117 [2022-08-09T22:29:33.839Z] Removing intermediate container cf5a6ee3b117 [2022-08-09T22:29:33.839Z] ---> 27431da9ffda [2022-08-09T22:29:33.839Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T22:29:33.839Z] ---> Running in 521091dc578c [2022-08-09T22:29:33.839Z] Removing intermediate container 521091dc578c [2022-08-09T22:29:33.839Z] ---> cca321f67d2f [2022-08-09T22:29:33.839Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T22:29:33.839Z] ---> Running in e615df053d8f [2022-08-09T22:29:33.839Z] Removing intermediate container e615df053d8f [2022-08-09T22:29:33.839Z] ---> 4f33eec2c9f1 [2022-08-09T22:29:33.839Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T22:29:33.839Z] ---> Running in 2677847163fd [2022-08-09T22:29:33.839Z] Removing intermediate container 2677847163fd [2022-08-09T22:29:33.839Z] ---> 9d82d721d307 [2022-08-09T22:29:33.839Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:29:33.839Z] ---> Running in e87777ed3fa2 [2022-08-09T22:29:34.408Z] Removing intermediate container e87777ed3fa2 [2022-08-09T22:29:34.408Z] ---> 42637a7f831e [2022-08-09T22:29:34.408Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:29:34.408Z] ---> Running in 00edec849a77 [2022-08-09T22:29:34.667Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T22:29:35.323Z] Still waiting to schedule task [2022-08-09T22:29:35.323Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22344’ is offline [2022-08-09T22:29:35.606Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T22:29:35.866Z] OK: 211 MiB in 51 packages [2022-08-09T22:29:36.128Z] Removing intermediate container 00edec849a77 [2022-08-09T22:29:36.128Z] ---> 4544961ea740 [2022-08-09T22:29:36.128Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T22:29:36.128Z] ---> Running in 87c51501f102 [2022-08-09T22:29:36.128Z] Removing intermediate container 87c51501f102 [2022-08-09T22:29:36.128Z] ---> 1ba2fe52a83c [2022-08-09T22:29:36.128Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T22:29:36.389Z] ---> 334c28e9f0db [2022-08-09T22:29:36.389Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:29:36.389Z] ---> Running in 53db083ff6b7 [2022-08-09T22:29:54.528Z] Removing intermediate container 53db083ff6b7 [2022-08-09T22:29:54.528Z] ---> 5d88c57e62fc [2022-08-09T22:29:54.528Z] Step 12/13 : COPY . . [2022-08-09T22:29:54.528Z] ---> eb7471faa7c7 [2022-08-09T22:29:54.528Z] Step 13/13 : RUN ${MAKE} [2022-08-09T22:29:54.528Z] ---> Running in e1c7d883d93d [2022-08-09T22:29:54.528Z] noop [2022-08-09T22:29:54.528Z] Removing intermediate container e1c7d883d93d [2022-08-09T22:29:54.528Z] ---> 7ec16afc6faf [2022-08-09T22:29:54.528Z] Successfully built 7ec16afc6faf [2022-08-09T22:29:54.528Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:29:54.849Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T22:29:54.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:29:54.945Z] prd-ubuntu20.04-docker-8c-8g-22345 does not seem to be running inside a container [2022-08-09T22:29:54.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** ci-base-image-x86_64 cat [2022-08-09T22:29:55.333Z] $ docker top 10e0de825e718df85e364b4c0939a8658297559081ee2313f3b0edb3ca7e9d3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:29:55.694Z] + go version [2022-08-09T22:29:55.694Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T22:29:55.709Z] $ docker stop --time=1 10e0de825e718df85e364b4c0939a8658297559081ee2313f3b0edb3ca7e9d3e [2022-08-09T22:29:56.966Z] $ docker rm -f 10e0de825e718df85e364b4c0939a8658297559081ee2313f3b0edb3ca7e9d3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:29:57.361Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T22:29:57.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:29:57.453Z] prd-ubuntu20.04-docker-8c-8g-22345 does not seem to be running inside a container [2022-08-09T22:29:57.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** ci-base-image-x86_64 cat [2022-08-09T22:29:57.829Z] $ docker top 3dc0799f742ed6a6a7245fcc106a8a88c7d8963a306eb1fb4f42893ac8bcf607 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:29:58.250Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] fileExists [Pipeline] sh [2022-08-09T22:29:58.553Z] + make test [2022-08-09T22:29:58.553Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T22:29:58.812Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T22:30:08.813Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T22:30:09.075Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 10.6% of statements [2022-08-09T22:30:09.075Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T22:30:13.274Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.027s coverage: 13.8% of statements [2022-08-09T22:30:19.842Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T22:30:22.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T22:30:22.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T22:30:22.378Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T22:30:22.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T22:30:22.669Z] $ docker stop --time=1 3dc0799f742ed6a6a7245fcc106a8a88c7d8963a306eb1fb4f42893ac8bcf607 [2022-08-09T22:30:25.543Z] $ docker rm -f 3dc0799f742ed6a6a7245fcc106a8a88c7d8963a306eb1fb4f42893ac8bcf607 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:30:25.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T22:30:26.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T22:30:26.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T22:30:26.850Z] + ls -al . [2022-08-09T22:30:26.850Z] total 232 [2022-08-09T22:30:26.850Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 22:30 . [2022-08-09T22:30:26.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:28 .. [2022-08-09T22:30:26.850Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 22:30 .git [2022-08-09T22:30:26.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:28 .github [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 22:28 .gitignore [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 22:28 .golangci.yml [2022-08-09T22:30:26.850Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 22:29 .semver [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 22:28 Attribution.txt [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 22:28 CHANGELOG.md [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 22:28 Dockerfile [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 22:28 GOVERNANCE.md [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 22:28 Jenkinsfile [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 22:28 LICENSE [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 2603 Aug 9 22:28 Makefile [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 22:28 OWNERS.md [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 22:28 README.md [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 22:29 VERSION [2022-08-09T22:30:26.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 22:28 bin [2022-08-09T22:30:26.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:28 cmd [2022-08-09T22:30:26.850Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 22:30 coverage.out [2022-08-09T22:30:26.850Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 22:28 doc [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 22:28 go.mod [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 22:28 go.sum [2022-08-09T22:30:26.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:28 internal [2022-08-09T22:30:26.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:28 snap [2022-08-09T22:30:26.850Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:30:27.225Z] + 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=af15f65fba7d3e324182b7765e1d80c4fb346355 --label arch=amd64 --label version=0.0.0 . [2022-08-09T22:30:27.225Z] Sending build context to Docker daemon 20.37MB [2022-08-09T22:30:27.225Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T22:30:27.225Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T22:30:27.225Z] ---> 7ec16afc6faf [2022-08-09T22:30:27.225Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T22:30:27.485Z] ---> Running in cfb87e6ca719 [2022-08-09T22:30:27.485Z] Removing intermediate container cfb87e6ca719 [2022-08-09T22:30:27.485Z] ---> 8808b5631e15 [2022-08-09T22:30:27.485Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T22:30:27.485Z] ---> Running in ea13da0f6303 [2022-08-09T22:30:27.485Z] Removing intermediate container ea13da0f6303 [2022-08-09T22:30:27.485Z] ---> ae92e3f1d231 [2022-08-09T22:30:27.485Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T22:30:27.485Z] ---> Running in e18c3d81dcf5 [2022-08-09T22:30:27.745Z] Removing intermediate container e18c3d81dcf5 [2022-08-09T22:30:27.745Z] ---> afaf165c7deb [2022-08-09T22:30:27.745Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T22:30:27.745Z] ---> Running in 285b3f291432 [2022-08-09T22:30:27.745Z] Removing intermediate container 285b3f291432 [2022-08-09T22:30:27.745Z] ---> a6fba18316b1 [2022-08-09T22:30:27.745Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:30:27.745Z] ---> Running in 1ecc3ec54ca6 [2022-08-09T22:30:28.313Z] Removing intermediate container 1ecc3ec54ca6 [2022-08-09T22:30:28.313Z] ---> 20db295fef0f [2022-08-09T22:30:28.313Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:30:28.313Z] ---> Running in 7385de233529 [2022-08-09T22:30:28.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T22:30:29.513Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T22:30:29.773Z] OK: 211 MiB in 51 packages [2022-08-09T22:30:30.033Z] Removing intermediate container 7385de233529 [2022-08-09T22:30:30.033Z] ---> 29686b452ed0 [2022-08-09T22:30:30.033Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T22:30:30.033Z] ---> Running in b7f9b390e229 [2022-08-09T22:30:30.033Z] Removing intermediate container b7f9b390e229 [2022-08-09T22:30:30.033Z] ---> 8d82bdb8a271 [2022-08-09T22:30:30.033Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T22:30:30.295Z] ---> 2107db7026f6 [2022-08-09T22:30:30.295Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:30:30.295Z] ---> Running in f848e838ea28 [2022-08-09T22:30:30.866Z] Removing intermediate container f848e838ea28 [2022-08-09T22:30:30.866Z] ---> a498e8f9e2ee [2022-08-09T22:30:30.866Z] Step 12/26 : COPY . . [2022-08-09T22:30:31.835Z] ---> b5c0a96df76e [2022-08-09T22:30:31.835Z] Step 13/26 : RUN ${MAKE} [2022-08-09T22:30:31.835Z] ---> Running in 9a0950f8ef2a [2022-08-09T22:30:31.835Z] CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T22:30:53.782Z] Removing intermediate container 9a0950f8ef2a [2022-08-09T22:30:53.782Z] ---> 0a9e4b738dd2 [2022-08-09T22:30:53.782Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T22:30:53.782Z] 3.15: Pulling from library/alpine [2022-08-09T22:30:53.782Z] 9621f1afde84: Pulling fs layer [2022-08-09T22:30:53.782Z] 9621f1afde84: Verifying Checksum [2022-08-09T22:30:53.782Z] 9621f1afde84: Download complete [2022-08-09T22:30:54.041Z] 9621f1afde84: Pull complete [2022-08-09T22:30:54.041Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-08-09T22:30:54.041Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T22:30:54.041Z] ---> c4fc93816858 [2022-08-09T22:30:54.041Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T22:30:54.041Z] ---> Running in 68cd986fc60b [2022-08-09T22:30:54.041Z] Removing intermediate container 68cd986fc60b [2022-08-09T22:30:54.041Z] ---> d4132346ee5b [2022-08-09T22:30:54.041Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T22:30:54.041Z] ---> Running in bacf75d7d85a [2022-08-09T22:30:54.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-08-09T22:30:54.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-08-09T22:30:54.610Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T22:30:54.610Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T22:30:54.610Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T22:30:54.873Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T22:30:54.873Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T22:30:54.873Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T22:30:54.873Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T22:30:54.873Z] OK: 8 MiB in 20 packages [2022-08-09T22:30:55.133Z] Removing intermediate container bacf75d7d85a [2022-08-09T22:30:55.133Z] ---> 9f15327fd7ec [2022-08-09T22:30:55.133Z] Step 17/26 : WORKDIR / [2022-08-09T22:30:55.133Z] ---> Running in a62b104258f0 [2022-08-09T22:30:55.393Z] Removing intermediate container a62b104258f0 [2022-08-09T22:30:55.393Z] ---> cfb8228772d4 [2022-08-09T22:30:55.393Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T22:30:56.774Z] ---> 405e80d5a1b3 [2022-08-09T22:30:56.774Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T22:30:56.774Z] ---> 0e4b0dd30371 [2022-08-09T22:30:56.774Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T22:30:57.032Z] ---> cf5da6645912 [2022-08-09T22:30:57.032Z] Step 21/26 : EXPOSE 59984 [2022-08-09T22:30:57.032Z] ---> Running in 375a4919e335 [2022-08-09T22:30:57.293Z] Removing intermediate container 375a4919e335 [2022-08-09T22:30:57.293Z] ---> 09d3dca1de54 [2022-08-09T22:30:57.293Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T22:30:57.293Z] ---> Running in 1d8205a1197a [2022-08-09T22:30:57.556Z] Removing intermediate container 1d8205a1197a [2022-08-09T22:30:57.556Z] ---> 390b963812c0 [2022-08-09T22:30:57.556Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T22:30:57.556Z] ---> Running in 0a07afd8a2d1 [2022-08-09T22:30:57.556Z] Removing intermediate container 0a07afd8a2d1 [2022-08-09T22:30:57.556Z] ---> f7668e242b38 [2022-08-09T22:30:57.557Z] Step 24/26 : LABEL arch=amd64 [2022-08-09T22:30:57.557Z] ---> Running in 535848a7c6c2 [2022-08-09T22:30:57.829Z] Removing intermediate container 535848a7c6c2 [2022-08-09T22:30:57.829Z] ---> 7885cef18c03 [2022-08-09T22:30:57.829Z] Step 25/26 : LABEL git_sha=af15f65fba7d3e324182b7765e1d80c4fb346355 [2022-08-09T22:30:57.829Z] ---> Running in f2d0615eed65 [2022-08-09T22:30:57.829Z] Removing intermediate container f2d0615eed65 [2022-08-09T22:30:57.829Z] ---> b3d1848a371b [2022-08-09T22:30:57.829Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T22:30:57.829Z] ---> Running in c49cc999c4a1 [2022-08-09T22:30:57.829Z] Removing intermediate container c49cc999c4a1 [2022-08-09T22:30:57.829Z] ---> 47b6e13e2fab [2022-08-09T22:30:57.829Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T22:30:57.829Z] Successfully built 47b6e13e2fab [2022-08-09T22:30:57.829Z] 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 [2022-08-09T22:30:58.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:30:58.277Z] [2022-08-09T22:30:58.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:30:58.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:30:58.588Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T22:30:58.588Z] 5eb5b503b376: Pulling fs layer [2022-08-09T22:30:58.588Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T22:30:58.588Z] ec43610c2a17: Pulling fs layer [2022-08-09T22:30:58.588Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T22:30:58.588Z] 33b1e0a273af: Pulling fs layer [2022-08-09T22:30:58.588Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T22:30:58.588Z] 2f39f015ded8: Pulling fs layer [2022-08-09T22:30:58.588Z] 33b1e0a273af: Waiting [2022-08-09T22:30:58.588Z] 5d3b04190fa2: Waiting [2022-08-09T22:30:58.588Z] 2f39f015ded8: Waiting [2022-08-09T22:30:58.588Z] 3a2ae6a8a46f: Waiting [2022-08-09T22:30:58.588Z] 5c69ac0246d0: Verifying Checksum [2022-08-09T22:30:58.588Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T22:30:58.588Z] 3a2ae6a8a46f: Download complete [2022-08-09T22:30:58.588Z] 33b1e0a273af: Verifying Checksum [2022-08-09T22:30:58.588Z] 33b1e0a273af: Download complete [2022-08-09T22:30:58.588Z] 5d3b04190fa2: Verifying Checksum [2022-08-09T22:30:58.588Z] 5d3b04190fa2: Download complete [2022-08-09T22:30:58.588Z] ec43610c2a17: Verifying Checksum [2022-08-09T22:30:58.848Z] ec43610c2a17: Download complete [2022-08-09T22:30:58.848Z] 5eb5b503b376: Verifying Checksum [2022-08-09T22:30:58.848Z] 5eb5b503b376: Download complete [2022-08-09T22:30:59.419Z] 2f39f015ded8: Download complete [2022-08-09T22:30:59.988Z] 5eb5b503b376: Pull complete [2022-08-09T22:31:00.247Z] 5c69ac0246d0: Pull complete [2022-08-09T22:31:00.817Z] ec43610c2a17: Pull complete [2022-08-09T22:31:00.817Z] 3a2ae6a8a46f: Pull complete [2022-08-09T22:31:01.077Z] 33b1e0a273af: Pull complete [2022-08-09T22:31:01.077Z] 5d3b04190fa2: Pull complete [2022-08-09T22:31:05.428Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22346 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] ws [2022-08-09T22:31:05.440Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2022-08-09T22:31:05.491Z] Selected Git installation does not exist. Using Default [2022-08-09T22:31:05.491Z] The recommended git tool is: NONE [2022-08-09T22:31:06.348Z] 2f39f015ded8: Pull complete [2022-08-09T22:31:06.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T22:31:06.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:31:06.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:31:06.437Z] prd-ubuntu20.04-docker-8c-8g-22345 does not seem to be running inside a container [2022-08-09T22:31:06.482Z] $ 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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T22:31:10.511Z] $ docker top cc39143fa075b5144ac767aa67ff3b9e99750e2050814a1077ff25166a9be03d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:31:10.909Z] ---> job-cost.sh [2022-08-09T22:31:10.909Z] lf-activate-venv: SKIPPING [2022-08-09T22:31:10.909Z] INFO: No Stack... [2022-08-09T22:31:11.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T22:31:11.741Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T22:31:12.029Z] + cat /w/workspace/undry_device-onvif-camera_PR-124/archives/cost.csv [2022-08-09T22:31:12.029Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T22:31:12.043Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [2022-08-09T22:31:12.051Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] did not exist. Created. [2022-08-09T22:31:12.051Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T22:31:12.359Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T22:31:12.384Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T22:31:12.390Z] using credential edgex-jenkins-ssh [2022-08-09T22:31:12.391Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [Pipeline] // lock [2022-08-09T22:31:12.405Z] Cloning the remote Git repository [Pipeline] } [2022-08-09T22:31:12.417Z] $ docker stop --time=1 cc39143fa075b5144ac767aa67ff3b9e99750e2050814a1077ff25166a9be03d [2022-08-09T22:31:12.463Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T22:31:12.550Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2022-08-09T22:31:12.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T22:31:12.666Z] > git --version # timeout=10 [2022-08-09T22:31:12.687Z] > git --version # 'git version 2.25.1' [2022-08-09T22:31:12.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:31:12.773Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T22:31:13.575Z] $ docker rm -f cc39143fa075b5144ac767aa67ff3b9e99750e2050814a1077ff25166a9be03d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T22:31:13.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T22:31:13.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T22:31:13.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-09T22:31:14.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-09T22:31:14.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:31:14.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T22:31:14.581Z] Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit f1ec50b45d5f6eca63114567b74b2e5234879e6e [2022-08-09T22:31:15.181Z] Merge succeeded, producing 80802fb1db2b9ad57dac5ec54b8db731436f10f9 [2022-08-09T22:31:15.182Z] Checking out Revision 80802fb1db2b9ad57dac5ec54b8db731436f10f9 (PR-124) [2022-08-09T22:31:14.603Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T22:31:14.620Z] > git checkout -f f1ec50b45d5f6eca63114567b74b2e5234879e6e # timeout=10 [2022-08-09T22:31:14.837Z] > git remote # timeout=10 [2022-08-09T22:31:14.852Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T22:31:14.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T22:31:14.878Z] > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 [2022-08-09T22:31:15.158Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T22:31:15.192Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T22:31:15.207Z] > git checkout -f 80802fb1db2b9ad57dac5ec54b8db731436f10f9 # timeout=10 [2022-08-09T22:31:19.354Z] Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" [2022-08-09T22:31:19.379Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:31:20.256Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T22:31:20.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:31:20.256Z] Dload Upload Total Spent Left Speed [2022-08-09T22:31:20.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88085 0 --:--:-- --:--:-- --:--:-- 88085 [2022-08-09T22:31:19.366Z] > git rev-list --no-walk f569356d6c7d74df3fb0791adaa8353c9865d85e # timeout=10 [Pipeline] sh [2022-08-09T22:31:21.015Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T22:31:21.367Z] + sudo tee /etc/docker/daemon.new [2022-08-09T22:31:21.367Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T22:31:21.367Z] { [2022-08-09T22:31:21.367Z] "registry-mirrors": [ [2022-08-09T22:31:21.367Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T22:31:21.367Z] ], [2022-08-09T22:31:21.367Z] "bip": "10.250.0.254/24", [2022-08-09T22:31:21.367Z] "hosts": [ [2022-08-09T22:31:21.367Z] "tcp://0.0.0.0:5555", [2022-08-09T22:31:21.367Z] "unix:///var/run/docker.sock" [2022-08-09T22:31:21.367Z] ], [2022-08-09T22:31:21.367Z] "mtu": 1458, [2022-08-09T22:31:21.367Z] "selinux-enabled": true, [2022-08-09T22:31:21.367Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T22:31:21.367Z] } [Pipeline] sh [2022-08-09T22:31:21.718Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T22:31:22.055Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:31:40.404Z] provisioning config files... [2022-08-09T22:31:40.427Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config6041723051409781886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:31:40.783Z] ---> docker-login.sh [2022-08-09T22:31:40.783Z] nexus3.edgexfoundry.org:10001 [2022-08-09T22:31:41.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:31:41.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:31:41.673Z] Configure a credential helper to remove this warning. See [2022-08-09T22:31:41.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:31:41.673Z] [2022-08-09T22:31:41.673Z] Login Succeeded [2022-08-09T22:31:41.673Z] nexus3.edgexfoundry.org:10002 [2022-08-09T22:31:41.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:31:41.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:31:41.948Z] Configure a credential helper to remove this warning. See [2022-08-09T22:31:41.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:31:41.948Z] [2022-08-09T22:31:41.948Z] Login Succeeded [2022-08-09T22:31:41.948Z] nexus3.edgexfoundry.org:10003 [2022-08-09T22:31:42.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:31:42.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:31:42.547Z] Configure a credential helper to remove this warning. See [2022-08-09T22:31:42.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:31:42.547Z] [2022-08-09T22:31:42.547Z] Login Succeeded [2022-08-09T22:31:42.547Z] nexus3.edgexfoundry.org:10004 [2022-08-09T22:31:42.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:31:43.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:31:43.100Z] Configure a credential helper to remove this warning. See [2022-08-09T22:31:43.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:31:43.100Z] [2022-08-09T22:31:43.100Z] Login Succeeded [2022-08-09T22:31:43.100Z] docker.io [2022-08-09T22:31:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T22:31:43.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T22:31:43.644Z] Configure a credential helper to remove this warning. See [2022-08-09T22:31:43.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T22:31:43.644Z] [2022-08-09T22:31:43.644Z] Login Succeeded [2022-08-09T22:31:43.644Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T22:31:43.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T22:31:44.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:31:44.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T22:31:44.229Z] ========================================================= [2022-08-09T22:31:44.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T22:31:44.229Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:31:44.623Z] + 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 . [2022-08-09T22:31:45.228Z] Sending build context to Docker daemon 13.91MB [2022-08-09T22:31:45.228Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T22:31:45.228Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T22:31:45.503Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T22:31:45.503Z] b3c136eddcbf: Pulling fs layer [2022-08-09T22:31:45.503Z] c0a3192eca97: Pulling fs layer [2022-08-09T22:31:45.503Z] a050256f5b6f: Pulling fs layer [2022-08-09T22:31:45.503Z] 656be50a0ddc: Pulling fs layer [2022-08-09T22:31:45.503Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T22:31:45.503Z] 46d945488cbd: Pulling fs layer [2022-08-09T22:31:45.503Z] 8a5474983e97: Pulling fs layer [2022-08-09T22:31:45.503Z] 329c88fbcd65: Pulling fs layer [2022-08-09T22:31:45.503Z] 46d945488cbd: Waiting [2022-08-09T22:31:45.503Z] 8a5474983e97: Waiting [2022-08-09T22:31:45.503Z] 656be50a0ddc: Waiting [2022-08-09T22:31:45.503Z] 2bbca73fdf42: Waiting [2022-08-09T22:31:45.503Z] 329c88fbcd65: Waiting [2022-08-09T22:31:45.503Z] a050256f5b6f: Download complete [2022-08-09T22:31:45.503Z] c0a3192eca97: Verifying Checksum [2022-08-09T22:31:45.503Z] c0a3192eca97: Download complete [2022-08-09T22:31:45.503Z] 2bbca73fdf42: Download complete [2022-08-09T22:31:45.503Z] 46d945488cbd: Verifying Checksum [2022-08-09T22:31:45.503Z] 46d945488cbd: Download complete [2022-08-09T22:31:45.503Z] b3c136eddcbf: Verifying Checksum [2022-08-09T22:31:46.517Z] b3c136eddcbf: Pull complete [2022-08-09T22:31:46.517Z] 329c88fbcd65: Verifying Checksum [2022-08-09T22:31:46.517Z] 329c88fbcd65: Download complete [2022-08-09T22:31:47.145Z] c0a3192eca97: Pull complete [2022-08-09T22:31:47.423Z] a050256f5b6f: Pull complete [2022-08-09T22:31:47.696Z] 8a5474983e97: Verifying Checksum [2022-08-09T22:31:47.696Z] 8a5474983e97: Download complete [2022-08-09T22:31:48.298Z] 656be50a0ddc: Download complete [2022-08-09T22:32:00.700Z] 656be50a0ddc: Pull complete [2022-08-09T22:32:00.975Z] 2bbca73fdf42: Pull complete [2022-08-09T22:32:01.248Z] 46d945488cbd: Pull complete [2022-08-09T22:32:07.971Z] 8a5474983e97: Pull complete [2022-08-09T22:32:09.423Z] 329c88fbcd65: Pull complete [2022-08-09T22:32:09.423Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T22:32:09.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T22:32:09.423Z] ---> ff4287adb874 [2022-08-09T22:32:09.423Z] Step 3/13 : ARG MAKE="make build" [2022-08-09T22:32:11.439Z] ---> Running in 078e2e80c197 [2022-08-09T22:32:11.439Z] Removing intermediate container 078e2e80c197 [2022-08-09T22:32:11.439Z] ---> 199df9e5dc08 [2022-08-09T22:32:11.439Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T22:32:11.439Z] ---> Running in 0a6550eb0cc8 [2022-08-09T22:32:12.033Z] Removing intermediate container 0a6550eb0cc8 [2022-08-09T22:32:12.033Z] ---> 127221d6c1bc [2022-08-09T22:32:12.033Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T22:32:12.033Z] ---> Running in a743d96a3044 [2022-08-09T22:32:12.305Z] Removing intermediate container a743d96a3044 [2022-08-09T22:32:12.305Z] ---> 4fa83c8b699f [2022-08-09T22:32:12.305Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-09T22:32:12.305Z] ---> Running in e6c52f3bdf6c [2022-08-09T22:32:12.590Z] Removing intermediate container e6c52f3bdf6c [2022-08-09T22:32:12.590Z] ---> 00b506b73f9e [2022-08-09T22:32:12.590Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:32:12.590Z] ---> Running in 8e8f970cebca [2022-08-09T22:32:14.607Z] Removing intermediate container 8e8f970cebca [2022-08-09T22:32:14.607Z] ---> ba2cabf6a4e6 [2022-08-09T22:32:14.607Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:32:14.607Z] ---> Running in 1c82c4de48a3 [2022-08-09T22:32:16.597Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:32:17.574Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:32:18.170Z] OK: 221 MiB in 51 packages [2022-08-09T22:32:19.153Z] Removing intermediate container 1c82c4de48a3 [2022-08-09T22:32:19.153Z] ---> 3a725db480c0 [2022-08-09T22:32:19.153Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-09T22:32:19.153Z] ---> Running in eed6705d3632 [2022-08-09T22:32:19.428Z] Removing intermediate container eed6705d3632 [2022-08-09T22:32:19.428Z] ---> 86487b5fcad4 [2022-08-09T22:32:19.428Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-09T22:32:20.042Z] ---> 9b047bbbbc1f [2022-08-09T22:32:20.042Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:32:20.042Z] ---> Running in 289cde28f35f [2022-08-09T22:33:07.021Z] Removing intermediate container 289cde28f35f [2022-08-09T22:33:07.021Z] ---> 9039713862f2 [2022-08-09T22:33:07.021Z] Step 12/13 : COPY . . [2022-08-09T22:33:07.021Z] ---> 5926b37023fd [2022-08-09T22:33:07.021Z] Step 13/13 : RUN ${MAKE} [2022-08-09T22:33:07.021Z] ---> Running in a6c4ec27cb08 [2022-08-09T22:33:07.021Z] noop [2022-08-09T22:33:07.293Z] Removing intermediate container a6c4ec27cb08 [2022-08-09T22:33:07.293Z] ---> effd96ea221b [2022-08-09T22:33:07.293Z] Successfully built effd96ea221b [2022-08-09T22:33:07.293Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:33:07.662Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T22:33:07.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:33:07.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-22346 does not seem to be running inside a container [2022-08-09T22:33:07.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 ******** ci-base-image-arm64 cat [2022-08-09T22:33:09.216Z] $ docker top 229b1cccb37c35ee041568bd563b5aefe717522b0d75bc9a44f9fa9494204616 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:33:10.116Z] + go version [2022-08-09T22:33:10.116Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T22:33:10.143Z] $ docker stop --time=1 229b1cccb37c35ee041568bd563b5aefe717522b0d75bc9a44f9fa9494204616 [2022-08-09T22:33:11.776Z] $ docker rm -f 229b1cccb37c35ee041568bd563b5aefe717522b0d75bc9a44f9fa9494204616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:33:12.384Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T22:33:12.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:33:12.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-22346 does not seem to be running inside a container [2022-08-09T22:33:12.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 ******** ci-base-image-arm64 cat [2022-08-09T22:33:13.896Z] $ docker top 354a93969dcec5cb289bd2c4587aec7f197468a452ba037567d6786211deb9cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:33:14.778Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh [2022-08-09T22:33:15.440Z] + make test [2022-08-09T22:33:15.440Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-09T22:33:16.872Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-09T22:34:38.705Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-09T22:34:44.139Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.117s coverage: 10.6% of statements [2022-08-09T22:34:44.139Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-09T22:35:16.461Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 34.298s coverage: 13.8% of statements [2022-08-09T22:35:16.461Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-09T22:35:16.461Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-09T22:35:34.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T22:35:34.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T22:35:34.820Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-09T22:35:36.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T22:35:36.295Z] $ docker stop --time=1 354a93969dcec5cb289bd2c4587aec7f197468a452ba037567d6786211deb9cf [2022-08-09T22:35:38.053Z] $ docker rm -f 354a93969dcec5cb289bd2c4587aec7f197468a452ba037567d6786211deb9cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T22:35:39.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T22:35:39.047Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T22:35:39.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T22:35:40.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T22:35:40.334Z] + ls -al . [2022-08-09T22:35:40.334Z] total 228 [2022-08-09T22:35:40.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 22:35 . [2022-08-09T22:35:40.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:31 .. [2022-08-09T22:35:40.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 22:31 .git [2022-08-09T22:35:40.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:31 .github [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 9 22:31 .gitignore [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 22:31 .golangci.yml [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 9102 Aug 9 22:31 Attribution.txt [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 9 22:31 CHANGELOG.md [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 9 22:31 Dockerfile [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 22:31 GOVERNANCE.md [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 22:31 Jenkinsfile [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 9 22:31 LICENSE [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 2603 Aug 9 22:31 Makefile [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 9 22:31 OWNERS.md [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 9 22:31 README.md [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 22:29 VERSION [2022-08-09T22:35:40.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 22:31 bin [2022-08-09T22:35:40.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 22:31 cmd [2022-08-09T22:35:40.334Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 9 22:35 coverage.out [2022-08-09T22:35:40.334Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 22:31 doc [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 3496 Aug 9 22:31 go.mod [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 37305 Aug 9 22:31 go.sum [2022-08-09T22:35:40.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:31 internal [2022-08-09T22:35:40.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 22:31 snap [2022-08-09T22:35:40.334Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 9 22:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:35:40.688Z] + 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=80802fb1db2b9ad57dac5ec54b8db731436f10f9 --label arch=arm64 --label version=0.0.0 . [2022-08-09T22:35:41.282Z] Sending build context to Docker daemon 13.99MB [2022-08-09T22:35:41.282Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-08-09T22:35:41.282Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-09T22:35:41.282Z] ---> effd96ea221b [2022-08-09T22:35:41.282Z] Step 3/26 : ARG MAKE="make build" [2022-08-09T22:35:41.556Z] ---> Running in 83ae97cce249 [2022-08-09T22:35:41.832Z] Removing intermediate container 83ae97cce249 [2022-08-09T22:35:41.832Z] ---> 65b2869110c2 [2022-08-09T22:35:41.832Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-09T22:35:41.832Z] ---> Running in 22962e423120 [2022-08-09T22:35:42.112Z] Removing intermediate container 22962e423120 [2022-08-09T22:35:42.112Z] ---> befeb490bb27 [2022-08-09T22:35:42.112Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T22:35:42.394Z] ---> Running in 79e257eb8764 [2022-08-09T22:35:42.667Z] Removing intermediate container 79e257eb8764 [2022-08-09T22:35:42.667Z] ---> 3ac9a22c146a [2022-08-09T22:35:42.667Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-09T22:35:42.667Z] ---> Running in 2e26b98dd81a [2022-08-09T22:35:42.943Z] Removing intermediate container 2e26b98dd81a [2022-08-09T22:35:42.943Z] ---> 0290c4f46474 [2022-08-09T22:35:42.943Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T22:35:42.943Z] ---> Running in 866ff67de457 [2022-08-09T22:35:44.931Z] Removing intermediate container 866ff67de457 [2022-08-09T22:35:44.931Z] ---> ccc85c5d02eb [2022-08-09T22:35:44.931Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T22:35:44.931Z] ---> Running in 37bf05db9db9 [2022-08-09T22:35:45.917Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:35:46.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:35:47.493Z] OK: 221 MiB in 51 packages [2022-08-09T22:35:48.478Z] Removing intermediate container 37bf05db9db9 [2022-08-09T22:35:48.478Z] ---> 12b13bf07d5e [2022-08-09T22:35:48.478Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-09T22:35:48.478Z] ---> Running in 55648e2539bd [2022-08-09T22:35:48.752Z] Removing intermediate container 55648e2539bd [2022-08-09T22:35:48.752Z] ---> 7b3ec8cb9dd3 [2022-08-09T22:35:48.752Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-09T22:35:49.350Z] ---> 05d4f7578632 [2022-08-09T22:35:49.351Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T22:35:49.351Z] ---> Running in 72c75d86ccbf [2022-08-09T22:35:51.343Z] Removing intermediate container 72c75d86ccbf [2022-08-09T22:35:51.343Z] ---> 4e5505606100 [2022-08-09T22:35:51.343Z] Step 12/26 : COPY . . [2022-08-09T22:35:53.321Z] ---> ae808ac6449c [2022-08-09T22:35:53.321Z] Step 13/26 : RUN ${MAKE} [2022-08-09T22:35:53.321Z] ---> Running in 4e4603aeb650 [2022-08-09T22:35:53.921Z] CGO_ENABLED=1 GO111MODULE=on go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-09T22:38:00.835Z] Removing intermediate container 4e4603aeb650 [2022-08-09T22:38:00.835Z] ---> 72ed8305c5b2 [2022-08-09T22:38:00.835Z] Step 14/26 : FROM alpine:3.15 [2022-08-09T22:38:00.835Z] 3.15: Pulling from library/alpine [2022-08-09T22:38:00.835Z] 47517142f6ba: Pulling fs layer [2022-08-09T22:38:00.835Z] 47517142f6ba: Verifying Checksum [2022-08-09T22:38:00.835Z] 47517142f6ba: Download complete [2022-08-09T22:38:00.835Z] 47517142f6ba: Pull complete [2022-08-09T22:38:00.835Z] Digest: sha256:69463fdff1f025c908939e86d4714b4d5518776954ca627cbeff4c74bcea5b22 [2022-08-09T22:38:00.835Z] Status: Downloaded newer image for alpine:3.15 [2022-08-09T22:38:00.835Z] ---> 02e0d6fdf486 [2022-08-09T22:38:00.835Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-09T22:38:00.835Z] ---> Running in abc8c35c5585 [2022-08-09T22:38:00.835Z] Removing intermediate container abc8c35c5585 [2022-08-09T22:38:00.835Z] ---> 1fb55c345bf6 [2022-08-09T22:38:00.835Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-09T22:38:01.118Z] ---> Running in edf9566644f8 [2022-08-09T22:38:02.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-08-09T22:38:02.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-08-09T22:38:03.092Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-09T22:38:03.092Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-08-09T22:38:03.092Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-09T22:38:03.092Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-08-09T22:38:03.092Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-09T22:38:03.092Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-09T22:38:03.092Z] Executing busybox-1.34.1-r7.trigger [2022-08-09T22:38:03.092Z] OK: 8 MiB in 20 packages [2022-08-09T22:38:04.075Z] Removing intermediate container edf9566644f8 [2022-08-09T22:38:04.075Z] ---> fdf8eb720b65 [2022-08-09T22:38:04.075Z] Step 17/26 : WORKDIR / [2022-08-09T22:38:04.075Z] ---> Running in 083b7cf5ca77 [2022-08-09T22:38:04.349Z] Removing intermediate container 083b7cf5ca77 [2022-08-09T22:38:04.349Z] ---> 2fbf0f5a7504 [2022-08-09T22:38:04.349Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-09T22:38:05.793Z] ---> bf009198a7f9 [2022-08-09T22:38:05.793Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-09T22:38:06.393Z] ---> 164a45b7be65 [2022-08-09T22:38:06.393Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-09T22:38:06.991Z] ---> c15d6216a04c [2022-08-09T22:38:06.991Z] Step 21/26 : EXPOSE 59984 [2022-08-09T22:38:06.991Z] ---> Running in d203028fd5b9 [2022-08-09T22:38:07.265Z] Removing intermediate container d203028fd5b9 [2022-08-09T22:38:07.265Z] ---> 18167d4fdc9d [2022-08-09T22:38:07.265Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-09T22:38:07.265Z] ---> Running in 85184be4226a [2022-08-09T22:38:07.864Z] Removing intermediate container 85184be4226a [2022-08-09T22:38:07.864Z] ---> 489cdc7e9b9d [2022-08-09T22:38:07.864Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T22:38:07.864Z] ---> Running in 6118169943c0 [2022-08-09T22:38:08.137Z] Removing intermediate container 6118169943c0 [2022-08-09T22:38:08.137Z] ---> 43e122945ddd [2022-08-09T22:38:08.137Z] Step 24/26 : LABEL arch=arm64 [2022-08-09T22:38:08.137Z] ---> Running in 7dbe09ec6e82 [2022-08-09T22:38:08.411Z] Removing intermediate container 7dbe09ec6e82 [2022-08-09T22:38:08.411Z] ---> 5b5938c84f2e [2022-08-09T22:38:08.411Z] Step 25/26 : LABEL git_sha=80802fb1db2b9ad57dac5ec54b8db731436f10f9 [2022-08-09T22:38:08.411Z] ---> Running in 0e18ae3f05a4 [2022-08-09T22:38:08.687Z] Removing intermediate container 0e18ae3f05a4 [2022-08-09T22:38:08.687Z] ---> 25144add4669 [2022-08-09T22:38:08.687Z] Step 26/26 : LABEL version=0.0.0 [2022-08-09T22:38:08.968Z] ---> Running in e497559bc9ff [2022-08-09T22:38:09.241Z] Removing intermediate container e497559bc9ff [2022-08-09T22:38:09.241Z] ---> 07ba2564eac1 [2022-08-09T22:38:09.241Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T22:38:09.241Z] Successfully built 07ba2564eac1 [2022-08-09T22:38:09.241Z] 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 [2022-08-09T22:38:09.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:38:09.716Z] [2022-08-09T22:38:09.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:38:10.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:38:10.352Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T22:38:10.352Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T22:38:10.352Z] 04944245beec: Pulling fs layer [2022-08-09T22:38:10.352Z] 699f458cf7ca: Pulling fs layer [2022-08-09T22:38:10.352Z] 765212b225bb: Pulling fs layer [2022-08-09T22:38:10.352Z] f23df028b6ca: Pulling fs layer [2022-08-09T22:38:10.352Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T22:38:10.352Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T22:38:10.352Z] 765212b225bb: Waiting [2022-08-09T22:38:10.352Z] f23df028b6ca: Waiting [2022-08-09T22:38:10.352Z] d65c8cfc05b1: Waiting [2022-08-09T22:38:10.352Z] 2437ff75d9bd: Waiting [2022-08-09T22:38:10.352Z] 04944245beec: Verifying Checksum [2022-08-09T22:38:10.352Z] 04944245beec: Download complete [2022-08-09T22:38:10.352Z] 765212b225bb: Verifying Checksum [2022-08-09T22:38:10.352Z] 765212b225bb: Download complete [2022-08-09T22:38:10.352Z] f23df028b6ca: Verifying Checksum [2022-08-09T22:38:10.352Z] f23df028b6ca: Download complete [2022-08-09T22:38:10.352Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T22:38:10.352Z] d65c8cfc05b1: Download complete [2022-08-09T22:38:10.627Z] 699f458cf7ca: Verifying Checksum [2022-08-09T22:38:10.627Z] 699f458cf7ca: Download complete [2022-08-09T22:38:10.904Z] 8998bd30e6a1: Verifying Checksum [2022-08-09T22:38:10.904Z] 8998bd30e6a1: Download complete [2022-08-09T22:38:13.534Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T22:38:13.534Z] 2437ff75d9bd: Download complete [2022-08-09T22:38:15.518Z] 8998bd30e6a1: Pull complete [2022-08-09T22:38:15.794Z] 04944245beec: Pull complete [2022-08-09T22:38:17.234Z] 699f458cf7ca: Pull complete [2022-08-09T22:38:17.512Z] 765212b225bb: Pull complete [2022-08-09T22:38:18.495Z] f23df028b6ca: Pull complete [2022-08-09T22:38:18.495Z] d65c8cfc05b1: Pull complete [2022-08-09T22:38:33.596Z] 2437ff75d9bd: Pull complete [2022-08-09T22:38:33.596Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T22:38:33.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T22:38:33.596Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:38:33.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-22346 does not seem to be running inside a container [2022-08-09T22:38:33.952Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T22:38:36.423Z] $ docker top 6868cd5f214f82dce793e673939dced68e39e93cda92ace90de06930a69f35e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:37.340Z] ---> job-cost.sh [2022-08-09T22:38:37.340Z] lf-activate-venv: SKIPPING [2022-08-09T22:38:37.340Z] INFO: No Stack... [2022-08-09T22:38:37.613Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T22:38:38.590Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T22:38:39.255Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [2022-08-09T22:38:39.255Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T22:38:39.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [2022-08-09T22:38:39.326Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] did not exist. Created. [2022-08-09T22:38:39.326Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T22:38:40.009Z] /w/workspace/device-onvif-camera/8@tmp/durable-71e99fdc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T22:38:40.696Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T22:38:40.724Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T22:38:40.778Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T22:38:40.785Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T22:38:40.809Z] $ docker stop --time=1 6868cd5f214f82dce793e673939dced68e39e93cda92ace90de06930a69f35e0 [2022-08-09T22:38:42.324Z] $ docker rm -f 6868cd5f214f82dce793e673939dced68e39e93cda92ace90de06930a69f35e0 [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 [2022-08-09T22:38:42.803Z] provisioning config files... [2022-08-09T22:38:42.828Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config3985017095090300874tmp [Pipeline] { [Pipeline] sh [2022-08-09T22:38:43.171Z] + set +x [2022-08-09T22:38:43.171Z] + bash -s -- [2022-08-09T22:38:43.171Z] + curl -s https://codecov.io/bash [2022-08-09T22:38:43.171Z] [2022-08-09T22:38:43.171Z] _____ _ [2022-08-09T22:38:43.171Z] / ____| | | [2022-08-09T22:38:43.171Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T22:38:43.171Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T22:38:43.171Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T22:38:43.171Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T22:38:43.171Z] Bash-1.0.6 [2022-08-09T22:38:43.171Z] [2022-08-09T22:38:43.171Z] [2022-08-09T22:38:43.171Z] ==> git version 2.25.1 found [2022-08-09T22:38:43.171Z] ==> 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 [2022-08-09T22:38:43.171Z] Release-Date: 2020-01-08 [2022-08-09T22:38:43.171Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-09T22:38:43.171Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T22:38:43.171Z] ==> Jenkins CI detected. [2022-08-09T22:38:43.171Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T22:38:43.171Z] project root: . [2022-08-09T22:38:43.171Z] --> token set from env [2022-08-09T22:38:43.171Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T22:38:43.171Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T22:38:43.172Z] ==> Python coveragepy not found [2022-08-09T22:38:43.172Z] ==> Searching for coverage reports in: [2022-08-09T22:38:43.172Z] + . [2022-08-09T22:38:43.172Z] -> Found 1 reports [2022-08-09T22:38:43.172Z] ==> Detecting git/mercurial file structure [2022-08-09T22:38:43.172Z] ==> Reading reports [2022-08-09T22:38:43.432Z] + ./coverage.out bytes=76856 [2022-08-09T22:38:43.432Z] ==> Appending adjustments [2022-08-09T22:38:43.432Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T22:38:43.432Z] + Found adjustments [2022-08-09T22:38:43.432Z] ==> Gzipping contents [2022-08-09T22:38:43.432Z] 12K /tmp/codecov.wE7XPH.gz [2022-08-09T22:38:43.432Z] ==> Uploading reports [2022-08-09T22:38:43.432Z] url: https://codecov.io [2022-08-09T22:38:43.432Z] query: branch=PR-124&commit=af15f65fba7d3e324182b7765e1d80c4fb346355&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T22:38:43.432Z] -> Pinging Codecov [2022-08-09T22:38:43.432Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-124&commit=af15f65fba7d3e324182b7765e1d80c4fb346355&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= [2022-08-09T22:38:43.692Z] -> Uploading to [2022-08-09T22:38:43.693Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/F29A59C45E3A92E06B3E522C9905F8EF/af15f65fba7d3e324182b7765e1d80c4fb346355/0875794c-388e-4902-b93f-bcc515d02ea8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T223843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f2cebdeb34d87b108ddc18d82fa670fff3d9a991ca672364bb167bd15b0ab79 [2022-08-09T22:38:43.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T22:38:43.693Z] Dload Upload Total Spent Left Speed [2022-08-09T22:38:43.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10420 0 0 100 10420 0 42880 --:--:-- --:--:-- --:--:-- 42880 [2022-08-09T22:38:43.954Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/af15f65fba7d3e324182b7765e1d80c4fb346355 [Pipeline] } [2022-08-09T22:38:43.963Z] 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 [2022-08-09T22:38:44.600Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-124/archives ] [2022-08-09T22:38:44.600Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T22:38:44.600Z] total 16 [2022-08-09T22:38:44.600Z] drwxr-xr-x 3 root root 4096 Aug 9 22:31 . [2022-08-09T22:38:44.600Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 22:31 .. [2022-08-09T22:38:44.600Z] drwxr-xr-x 2 root root 4096 Aug 9 22:31 cost [2022-08-09T22:38:44.600Z] -rw-r--r-- 1 root root 91 Aug 9 22:31 cost.csv [2022-08-09T22:38:44.600Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T22:38:44.600Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives [2022-08-09T22:38:44.600Z] total 16 [2022-08-09T22:38:44.600Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 22:31 . [2022-08-09T22:38:44.600Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 22:31 .. [2022-08-09T22:38:44.600Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 22:31 cost [2022-08-09T22:38:44.600Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 9 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:44.899Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:45.767Z] ---> package-listing.sh [2022-08-09T22:38:45.767Z] ++ facter osfamily [2022-08-09T22:38:45.767Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T22:38:46.027Z] + OS_FAMILY=debian [2022-08-09T22:38:46.027Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-124 [2022-08-09T22:38:46.027Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T22:38:46.027Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T22:38:46.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T22:38:46.027Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T22:38:46.027Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T22:38:46.027Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T22:38:46.027Z] + case "${OS_FAMILY}" in [2022-08-09T22:38:46.027Z] + dpkg -l [2022-08-09T22:38:46.027Z] + grep '^ii' [2022-08-09T22:38:46.027Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T22:38:46.027Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T22:38:46.027Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T22:38:46.027Z] + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' [2022-08-09T22:38:46.027Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-124/archives/ [2022-08-09T22:38:46.027Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-124/archives/ [Pipeline] echo [2022-08-09T22:38:46.039Z] 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-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T22:38:46.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T22:38:46.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T22:38:46.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T22:38:46.968Z] prd-ubuntu20.04-docker-8c-8g-22345 does not seem to be running inside a container [2022-08-09T22:38:47.006Z] $ 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-124/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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@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-lftools-log-publisher:latest cat [2022-08-09T22:38:47.201Z] $ docker top 9f029df01b514c8557592fb3bd1f1075802022ff6db48d9ae9be34d8041fb4cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T22:38:47.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T22:38:47.848Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T22:38:48.139Z] + ls /var/log/sa-host [2022-08-09T22:38:48.139Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T22:38:48.205Z] provisioning config files... [2022-08-09T22:38:48.215Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config4379060122186333840tmp [Pipeline] { [Pipeline] echo [2022-08-09T22:38:48.228Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:48.514Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T22:38:48.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:48.851Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T22:38:48.860Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:49.144Z] ---> sudo-logs.sh [2022-08-09T22:38:49.144Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T22:38:49.167Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:49.451Z] ---> job-cost.sh [2022-08-09T22:38:49.451Z] lf-activate-venv: SKIPPING [2022-08-09T22:38:49.451Z] DEBUG: total: 0.2199999988079071 [2022-08-09T22:38:49.451Z] INFO: Retrieving Stack Cost... [2022-08-09T22:38:49.711Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T22:38:50.283Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T22:38:50.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T22:38:50.581Z] ---> logs-deploy.sh [2022-08-09T22:38:50.581Z] lf-activate-venv: SKIPPING [2022-08-09T22:38:50.581Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-124/8 [2022-08-09T22:38:50.581Z] INFO: archiving workspace using pattern(s): [2022-08-09T22:38:51.520Z] Archives upload complete. [2022-08-09T22:38:51.520Z] INFO: archiving logs to Nexus