Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85736546429b6e185e62d2ea9cd21cb915ee509b+82843687bcf82fd8ddbc6870f1be613a828c9679 (d0a114b95ccb838afac28286c34ecd467edf3b57) 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-ssh17172615360411270594.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3516423545171432708.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-100/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-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10215873088917349600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh3579718693601046080.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-100/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-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10291757142481724385.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17128’ Running on prd-ubuntu20.04-docker-8c-8g-17130 in /w/workspace/undry_device-onvif-camera_PR-100 [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-100 # 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 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 85736546429b6e185e62d2ea9cd21cb915ee509b Merge succeeded, producing 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 Checking out Revision 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 (PR-100) > 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/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85736546429b6e185e62d2ea9cd21cb915ee509b # 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 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 # timeout=10 Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" > git rev-list --no-walk 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T10:12:05.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T10:12:05.124Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T10:12:05.137Z] ========================================================= [2022-07-07T10:12:05.137Z] EdgeX Global Pipelines Version Info [2022-07-07T10:12:05.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:12:05.944Z] ------------------- [2022-07-07T10:12:05.944Z] stable info: [2022-07-07T10:12:05.944Z] ------------------- [2022-07-07T10:12:05.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T10:12:05.944Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T10:12:05.944Z] Message: update stable to v1.0.234 [2022-07-07T10:12:06.522Z] ------------------- [2022-07-07T10:12:06.522Z] experimental info: [2022-07-07T10:12:06.522Z] ------------------- [2022-07-07T10:12:06.522Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T10:12:06.522Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T10:12:06.522Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T10:12:06.782Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-07T10:12:06.795Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-07T10:12:06.808Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T10:12:06.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T10:12:06.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T10:12:06.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T10:12:06.861Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T10:12:06.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T10:12:06.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T10:12:06.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T10:12:06.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T10:12:06.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-07T10:12:06.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T10:12:06.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T10:12:06.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:12:06.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:12:06.996Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:12:07.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:12:07.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T10:12:07.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T10:12:07.051Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T10:12:07.066Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T10:12:07.079Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T10:12:07.094Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T10:12:07.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T10:12:07.120Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T10:12:07.134Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T10:12:07.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-07-07T10:12:07.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-07-07T10:12:07.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-07-07T10:12:07.186Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo [2022-07-07T10:12:07.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c6486b [Pipeline] echo [2022-07-07T10:12:07.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:12:07.247Z] provisioning config files... [2022-07-07T10:12:07.260Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config9002900000171089707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:12:07.565Z] ---> docker-login.sh [2022-07-07T10:12:07.565Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:12:07.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:08.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:08.087Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:08.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:08.087Z] [2022-07-07T10:12:08.087Z] Login Succeeded [2022-07-07T10:12:08.087Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:12:08.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:08.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:08.349Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:08.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:08.349Z] [2022-07-07T10:12:08.349Z] Login Succeeded [2022-07-07T10:12:08.349Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:12:08.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:08.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:08.349Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:08.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:08.349Z] [2022-07-07T10:12:08.349Z] Login Succeeded [2022-07-07T10:12:08.349Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:12:08.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:08.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:08.608Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:08.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:08.608Z] [2022-07-07T10:12:08.608Z] Login Succeeded [2022-07-07T10:12:08.608Z] docker.io [2022-07-07T10:12:08.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:08.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:08.870Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:08.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:08.870Z] [2022-07-07T10:12:08.870Z] Login Succeeded [2022-07-07T10:12:08.870Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:12:08.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T10:12:09.250Z] + git rev-list -1 --merges 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1~1..5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo [2022-07-07T10:12:09.279Z] -----------> git rev-list -1 --merges 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1~1..5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [2022-07-07T10:12:09.279Z] 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [false] [Pipeline] sh [2022-07-07T10:12:09.575Z] + git log --format=format:%s -1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo [2022-07-07T10:12:09.589Z] ========================================================= [2022-07-07T10:12:09.589Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T10:12:09.589Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:12:09.927Z] + git log --format=format:%s -1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo [2022-07-07T10:12:09.942Z] [semverPrep] GIT_COMMIT: 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1, Commit Message: Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD [Pipeline] echo [2022-07-07T10:12:09.951Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T10:12:10.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T10:12:10.291Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T10:12:10.291Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T10:12:10.291Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T10:12:10.291Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T10:12:10.291Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T10:12:10.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:10.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:12:10.633Z] [2022-07-07T10:12:10.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:10.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:12:10.939Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T10:12:10.939Z] 42c077c10790: Pulling fs layer [2022-07-07T10:12:10.939Z] f63e77b7563a: Pulling fs layer [2022-07-07T10:12:10.939Z] bd5fdadae976: Pulling fs layer [2022-07-07T10:12:10.939Z] 205491f53016: Pulling fs layer [2022-07-07T10:12:10.939Z] df18705c85c3: Pulling fs layer [2022-07-07T10:12:10.939Z] bdb3f477010e: Pulling fs layer [2022-07-07T10:12:10.939Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T10:12:10.939Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T10:12:10.939Z] bdb8f0575790: Pulling fs layer [2022-07-07T10:12:10.939Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T10:12:10.939Z] 2343380bae48: Pulling fs layer [2022-07-07T10:12:10.939Z] c8a8fc8e1c8f: Waiting [2022-07-07T10:12:10.939Z] bdb8f0575790: Waiting [2022-07-07T10:12:10.939Z] 386e3cb2ff24: Waiting [2022-07-07T10:12:10.939Z] 205491f53016: Waiting [2022-07-07T10:12:10.939Z] df18705c85c3: Waiting [2022-07-07T10:12:10.939Z] bdb3f477010e: Waiting [2022-07-07T10:12:10.939Z] 2c6e9b1d212d: Waiting [2022-07-07T10:12:10.939Z] f63e77b7563a: Verifying Checksum [2022-07-07T10:12:10.939Z] f63e77b7563a: Download complete [2022-07-07T10:12:10.939Z] 205491f53016: Verifying Checksum [2022-07-07T10:12:10.939Z] 205491f53016: Download complete [2022-07-07T10:12:10.939Z] df18705c85c3: Verifying Checksum [2022-07-07T10:12:10.939Z] df18705c85c3: Download complete [2022-07-07T10:12:11.202Z] bd5fdadae976: Verifying Checksum [2022-07-07T10:12:11.202Z] bd5fdadae976: Download complete [2022-07-07T10:12:11.202Z] bdb3f477010e: Verifying Checksum [2022-07-07T10:12:11.202Z] bdb3f477010e: Download complete [2022-07-07T10:12:11.202Z] 2c6e9b1d212d: Verifying Checksum [2022-07-07T10:12:11.202Z] 2c6e9b1d212d: Download complete [2022-07-07T10:12:11.202Z] bdb8f0575790: Download complete [2022-07-07T10:12:11.202Z] 386e3cb2ff24: Download complete [2022-07-07T10:12:11.202Z] 2343380bae48: Verifying Checksum [2022-07-07T10:12:11.202Z] 2343380bae48: Download complete [2022-07-07T10:12:11.202Z] 42c077c10790: Verifying Checksum [2022-07-07T10:12:11.202Z] 42c077c10790: Download complete [2022-07-07T10:12:11.465Z] c8a8fc8e1c8f: Download complete [2022-07-07T10:12:12.849Z] 42c077c10790: Pull complete [2022-07-07T10:12:12.849Z] f63e77b7563a: Pull complete [2022-07-07T10:12:13.110Z] bd5fdadae976: Pull complete [2022-07-07T10:12:13.370Z] 205491f53016: Pull complete [2022-07-07T10:12:13.632Z] df18705c85c3: Pull complete [2022-07-07T10:12:13.632Z] bdb3f477010e: Pull complete [2022-07-07T10:12:15.539Z] c8a8fc8e1c8f: Pull complete [2022-07-07T10:12:15.539Z] 2c6e9b1d212d: Pull complete [2022-07-07T10:12:15.802Z] bdb8f0575790: Pull complete [2022-07-07T10:12:15.802Z] 386e3cb2ff24: Pull complete [2022-07-07T10:12:15.802Z] 2343380bae48: Pull complete [2022-07-07T10:12:15.802Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T10:12:16.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:12:16.064Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:12:16.166Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2022-07-07T10:12:16.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-07T10:12:17.862Z] $ docker top 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e -eo pid,comm [2022-07-07T10:12:17.931Z] 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-07-07T10:12:17.931Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T10:12:17.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:12:17.966Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:12:18.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:12:18.113Z] $ docker exec 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent [2022-07-07T10:12:18.231Z] SSH_AUTH_SOCK=/tmp/ssh-62M57L5w6mDt/agent.34 [2022-07-07T10:12:18.231Z] SSH_AGENT_PID=41 [2022-07-07T10:12:18.237Z] Running ssh-add (command line suppressed) [2022-07-07T10:12:18.365Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8328982653038092795.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8328982653038092795.key) [2022-07-07T10:12:18.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:12:18.670Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T10:12:18.696Z] $ docker exec --env ******** --env ******** 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent -k [2022-07-07T10:12:18.813Z] unset SSH_AUTH_SOCK; [2022-07-07T10:12:18.813Z] unset SSH_AGENT_PID; [2022-07-07T10:12:18.813Z] echo Agent pid 41 killed; [2022-07-07T10:12:18.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T10:12:18.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:12:18.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:12:18.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:12:18.989Z] $ docker exec 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent [2022-07-07T10:12:19.120Z] SSH_AUTH_SOCK=/tmp/ssh-YdVjLqrgBQgb/agent.73 [2022-07-07T10:12:19.120Z] SSH_AGENT_PID=79 [2022-07-07T10:12:19.125Z] Running ssh-add (command line suppressed) [2022-07-07T10:12:19.245Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_2489580787215751981.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_2489580787215751981.key) [2022-07-07T10:12:19.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:12:19.555Z] + git semver init [2022-07-07T10:12:19.815Z] 2022-07-07 10:12:19,779 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T10:12:19.815Z] 2022-07-07 10:12:19,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-07T10:12:19.815Z] 2022-07-07 10:12:19,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver [2022-07-07T10:12:19.815Z] 2022-07-07 10:12:19,781 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,444 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,445 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,447 [execute] INFO git cat-file --batch-check [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,455 [execute] INFO git cat-file --batch [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:12:20.760Z] 2022-07-07 10:12:20,461 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 [2022-07-07T10:12:20.760Z] 0.0.0 [Pipeline] } [2022-07-07T10:12:20.773Z] $ docker exec --env ******** --env ******** 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent -k [2022-07-07T10:12:20.885Z] unset SSH_AUTH_SOCK; [2022-07-07T10:12:20.886Z] unset SSH_AGENT_PID; [2022-07-07T10:12:20.886Z] echo Agent pid 79 killed; [2022-07-07T10:12:20.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T10:12:21.213Z] + git semver [Pipeline] } [2022-07-07T10:12:21.490Z] $ docker stop --time=1 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e [2022-07-07T10:12:22.845Z] $ docker rm -f 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:12:23.192Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T10:12:23.451Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T10:12:23.453Z] [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-07-07T10:12:23.582Z] provisioning config files... [2022-07-07T10:12:23.590Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config5248547372931294651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:12:23.888Z] ---> docker-login.sh [2022-07-07T10:12:23.888Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:12:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:23.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:23.889Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:23.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:23.889Z] [2022-07-07T10:12:23.889Z] Login Succeeded [2022-07-07T10:12:23.889Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:12:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:24.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:24.149Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:24.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:24.149Z] [2022-07-07T10:12:24.149Z] Login Succeeded [2022-07-07T10:12:24.149Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:12:24.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:24.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:24.149Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:24.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:24.149Z] [2022-07-07T10:12:24.149Z] Login Succeeded [2022-07-07T10:12:24.149Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:12:24.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:24.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:24.409Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:24.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:24.409Z] [2022-07-07T10:12:24.409Z] Login Succeeded [2022-07-07T10:12:24.409Z] docker.io [2022-07-07T10:12:24.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:12:24.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:12:24.669Z] Configure a credential helper to remove this warning. See [2022-07-07T10:12:24.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:12:24.669Z] [2022-07-07T10:12:24.669Z] Login Succeeded [2022-07-07T10:12:24.669Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:12:24.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:12:24.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:12:24.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:12:24.779Z] ========================================================= [2022-07-07T10:12:24.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T10:12:24.779Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:25.095Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:12:25.095Z] Sending build context to Docker daemon 9.328MB [2022-07-07T10:12:25.095Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:12:25.095Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-07T10:12:25.095Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T10:12:25.095Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T10:12:25.095Z] 666ba61612fd: Pulling fs layer [2022-07-07T10:12:25.095Z] 8ed8ca486205: Pulling fs layer [2022-07-07T10:12:25.095Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T10:12:25.095Z] c516ae0d96e1: Pulling fs layer [2022-07-07T10:12:25.095Z] 684cea983483: Pulling fs layer [2022-07-07T10:12:25.095Z] dd3240ac7de5: Pulling fs layer [2022-07-07T10:12:25.095Z] b1e948a4e11c: Pulling fs layer [2022-07-07T10:12:25.095Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T10:12:25.095Z] 646ad004c059: Pulling fs layer [2022-07-07T10:12:25.095Z] cc1cd167ecdc: Waiting [2022-07-07T10:12:25.095Z] b1e948a4e11c: Waiting [2022-07-07T10:12:25.095Z] c516ae0d96e1: Waiting [2022-07-07T10:12:25.095Z] a8fd76ee1af6: Waiting [2022-07-07T10:12:25.095Z] 646ad004c059: Waiting [2022-07-07T10:12:25.095Z] dd3240ac7de5: Waiting [2022-07-07T10:12:25.095Z] 684cea983483: Waiting [2022-07-07T10:12:25.095Z] 8ed8ca486205: Verifying Checksum [2022-07-07T10:12:25.095Z] 8ed8ca486205: Download complete [2022-07-07T10:12:25.095Z] 666ba61612fd: Download complete [2022-07-07T10:12:25.355Z] c516ae0d96e1: Verifying Checksum [2022-07-07T10:12:25.355Z] c516ae0d96e1: Download complete [2022-07-07T10:12:25.355Z] 684cea983483: Download complete [2022-07-07T10:12:25.355Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T10:12:25.355Z] 59bf1c3509f3: Download complete [2022-07-07T10:12:25.355Z] dd3240ac7de5: Verifying Checksum [2022-07-07T10:12:25.355Z] dd3240ac7de5: Download complete [2022-07-07T10:12:25.355Z] b1e948a4e11c: Verifying Checksum [2022-07-07T10:12:25.355Z] b1e948a4e11c: Download complete [2022-07-07T10:12:25.355Z] 59bf1c3509f3: Pull complete [2022-07-07T10:12:25.614Z] 666ba61612fd: Pull complete [2022-07-07T10:12:25.614Z] 8ed8ca486205: Pull complete [2022-07-07T10:12:26.184Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T10:12:26.184Z] a8fd76ee1af6: Download complete [2022-07-07T10:12:26.184Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T10:12:26.184Z] cc1cd167ecdc: Download complete [2022-07-07T10:12:26.184Z] 646ad004c059: Verifying Checksum [2022-07-07T10:12:26.184Z] 646ad004c059: Download complete [2022-07-07T10:12:30.391Z] cc1cd167ecdc: Pull complete [2022-07-07T10:12:30.391Z] c516ae0d96e1: Pull complete [2022-07-07T10:12:30.391Z] 684cea983483: Pull complete [2022-07-07T10:12:30.391Z] dd3240ac7de5: Pull complete [2022-07-07T10:12:30.391Z] b1e948a4e11c: Pull complete [2022-07-07T10:12:32.300Z] a8fd76ee1af6: Pull complete [2022-07-07T10:12:32.877Z] 646ad004c059: Pull complete [2022-07-07T10:12:32.877Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T10:12:32.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T10:12:32.877Z] ---> 8f69c11f6b0c [2022-07-07T10:12:32.877Z] Step 3/13 : ARG MAKE="make build" [2022-07-07T10:12:34.791Z] ---> Running in 15623adfa1f9 [2022-07-07T10:12:34.791Z] Removing intermediate container 15623adfa1f9 [2022-07-07T10:12:34.791Z] ---> f143bcb13a48 [2022-07-07T10:12:34.791Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:12:34.791Z] ---> Running in d8a18c354103 [2022-07-07T10:12:34.791Z] Removing intermediate container d8a18c354103 [2022-07-07T10:12:34.791Z] ---> 86593d59dd6d [2022-07-07T10:12:34.791Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:12:34.791Z] ---> Running in a55f4a8770fd [2022-07-07T10:12:34.791Z] Removing intermediate container a55f4a8770fd [2022-07-07T10:12:34.791Z] ---> 05bc835a65c7 [2022-07-07T10:12:34.791Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-07T10:12:34.791Z] ---> Running in f3877312b1ab [2022-07-07T10:12:35.051Z] Removing intermediate container f3877312b1ab [2022-07-07T10:12:35.051Z] ---> aa34d907e81c [2022-07-07T10:12:35.051Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:12:35.051Z] ---> Running in cdf17fafb3bc [2022-07-07T10:12:35.627Z] Removing intermediate container cdf17fafb3bc [2022-07-07T10:12:35.627Z] ---> 16ff123565a3 [2022-07-07T10:12:35.627Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:12:35.887Z] ---> Running in 390d9d36c67b [2022-07-07T10:12:36.148Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:12:37.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:12:37.090Z] OK: 221 MiB in 52 packages [2022-07-07T10:12:37.659Z] Removing intermediate container 390d9d36c67b [2022-07-07T10:12:37.659Z] ---> 8ef5a5c6a55f [2022-07-07T10:12:37.659Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-07T10:12:37.659Z] ---> Running in f931c4bc6b06 [2022-07-07T10:12:37.659Z] Removing intermediate container f931c4bc6b06 [2022-07-07T10:12:37.659Z] ---> 1ce6aed4a4e8 [2022-07-07T10:12:37.659Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-07T10:12:37.920Z] ---> 54bf30dc1825 [2022-07-07T10:12:37.921Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:12:37.921Z] ---> Running in fb1af381b326 [2022-07-07T10:12:38.552Z] Still waiting to schedule task [2022-07-07T10:12:38.553Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17129’ [2022-07-07T10:12:56.035Z] Removing intermediate container fb1af381b326 [2022-07-07T10:12:56.035Z] ---> 2e3c2e712897 [2022-07-07T10:12:56.035Z] Step 12/13 : COPY . . [2022-07-07T10:12:56.035Z] ---> 5810b58f0079 [2022-07-07T10:12:56.035Z] Step 13/13 : RUN ${MAKE} [2022-07-07T10:12:56.035Z] ---> Running in 36f3350ba303 [2022-07-07T10:12:56.294Z] noop [2022-07-07T10:12:56.556Z] Removing intermediate container 36f3350ba303 [2022-07-07T10:12:56.556Z] ---> a7396681052d [2022-07-07T10:12:56.556Z] Successfully built a7396681052d [2022-07-07T10:12:56.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:56.869Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:12:56.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:12:56.950Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2022-07-07T10:12:56.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** ci-base-image-x86_64 cat [2022-07-07T10:12:57.415Z] $ docker top 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:12:57.780Z] + go version [2022-07-07T10:12:57.780Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T10:12:57.794Z] $ docker stop --time=1 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c [2022-07-07T10:12:59.117Z] $ docker rm -f 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:59.565Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:12:59.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:12:59.647Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2022-07-07T10:12:59.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** ci-base-image-x86_64 cat [2022-07-07T10:13:00.194Z] $ docker top f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:13:00.557Z] + make test [2022-07-07T10:13:00.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:13:01.124Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-07T10:13:11.103Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-07T10:13:11.103Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 7.0% of statements [2022-07-07T10:13:11.103Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-07T10:13:14.398Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.882s coverage: 13.8% of statements [2022-07-07T10:13:22.524Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:13:25.061Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:13:25.061Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:13:25.061Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:13:25.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:13:25.659Z] $ docker stop --time=1 f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b [2022-07-07T10:13:27.461Z] $ docker rm -f f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:13:27.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:13:27.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T10:13:28.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:13:28.684Z] + ls -al . [2022-07-07T10:13:28.685Z] total 248 [2022-07-07T10:13:28.685Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:13 . [2022-07-07T10:13:28.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:11 .. [2022-07-07T10:13:28.685Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:12 .git [2022-07-07T10:13:28.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:12 .github [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 10:12 .gitignore [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 10:12 .golangci.yml [2022-07-07T10:13:28.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:12 .semver [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 10:12 Attribution.txt [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 10:12 CHANGELOG.md [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 10:12 Dockerfile [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:12 GOVERNANCE.md [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 10:12 Jenkinsfile [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 10:12 LICENSE [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 10:12 Makefile [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 10:12 OWNERS.md [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 10:12 README.md [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:12 VERSION [2022-07-07T10:13:28.685Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:12 bin [2022-07-07T10:13:28.685Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:12 cmd [2022-07-07T10:13:28.685Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 10:13 coverage.out [2022-07-07T10:13:28.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:12 doc [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 10:12 go.mod [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 10:12 go.sum [2022-07-07T10:13:28.685Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:12 internal [2022-07-07T10:13:28.685Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:13:29.003Z] + 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=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 --label arch=amd64 --label version=0.0.0 . [2022-07-07T10:13:29.004Z] Sending build context to Docker daemon 9.399MB [2022-07-07T10:13:29.004Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:13:29.004Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-07T10:13:29.004Z] ---> a7396681052d [2022-07-07T10:13:29.004Z] Step 3/26 : ARG MAKE="make build" [2022-07-07T10:13:29.004Z] ---> Running in f48ae5e631ad [2022-07-07T10:13:29.267Z] Removing intermediate container f48ae5e631ad [2022-07-07T10:13:29.267Z] ---> b40ad2f3ebaa [2022-07-07T10:13:29.267Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:13:29.267Z] ---> Running in 0980f9ee8b77 [2022-07-07T10:13:29.267Z] Removing intermediate container 0980f9ee8b77 [2022-07-07T10:13:29.267Z] ---> 7701836921ee [2022-07-07T10:13:29.267Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:13:29.528Z] ---> Running in 14ee1a9446d0 [2022-07-07T10:13:29.528Z] Removing intermediate container 14ee1a9446d0 [2022-07-07T10:13:29.528Z] ---> 4ca816b9013f [2022-07-07T10:13:29.528Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-07T10:13:29.528Z] ---> Running in 4834c046f183 [2022-07-07T10:13:29.788Z] Removing intermediate container 4834c046f183 [2022-07-07T10:13:29.788Z] ---> 3c53355ce160 [2022-07-07T10:13:29.788Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:13:29.788Z] ---> Running in fe22662c6dff [2022-07-07T10:13:30.731Z] Removing intermediate container fe22662c6dff [2022-07-07T10:13:30.731Z] ---> d5bf695e2407 [2022-07-07T10:13:30.731Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:13:30.731Z] ---> Running in e4808d5a3f4a [2022-07-07T10:13:30.731Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:13:31.672Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:13:31.933Z] OK: 221 MiB in 52 packages [2022-07-07T10:13:32.194Z] Removing intermediate container e4808d5a3f4a [2022-07-07T10:13:32.194Z] ---> dd1d8dfa547a [2022-07-07T10:13:32.194Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-07T10:13:32.194Z] ---> Running in c39f7a37ed6d [2022-07-07T10:13:32.457Z] Removing intermediate container c39f7a37ed6d [2022-07-07T10:13:32.457Z] ---> 76d47907685d [2022-07-07T10:13:32.457Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-07T10:13:32.457Z] ---> 49742a08bb21 [2022-07-07T10:13:32.457Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:13:32.457Z] ---> Running in ec4a40bad68c [2022-07-07T10:13:33.399Z] Removing intermediate container ec4a40bad68c [2022-07-07T10:13:33.399Z] ---> b39d59cdea64 [2022-07-07T10:13:33.399Z] Step 12/26 : COPY . . [2022-07-07T10:13:33.659Z] ---> 10eea9b7fbd7 [2022-07-07T10:13:33.659Z] Step 13/26 : RUN ${MAKE} [2022-07-07T10:13:33.659Z] ---> Running in e2e23ab39c3b [2022-07-07T10:13:33.920Z] 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-07-07T10:13:55.889Z] Removing intermediate container e2e23ab39c3b [2022-07-07T10:13:55.889Z] ---> 09e23e699e3b [2022-07-07T10:13:55.889Z] Step 14/26 : FROM alpine:3.15 [2022-07-07T10:13:55.889Z] 3.15: Pulling from library/alpine [2022-07-07T10:13:55.889Z] df9b9388f04a: Pulling fs layer [2022-07-07T10:13:55.889Z] df9b9388f04a: Verifying Checksum [2022-07-07T10:13:55.889Z] df9b9388f04a: Download complete [2022-07-07T10:13:55.889Z] df9b9388f04a: Pull complete [2022-07-07T10:13:55.889Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T10:13:55.889Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T10:13:55.889Z] ---> 0ac33e5f5afa [2022-07-07T10:13:55.889Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T10:13:55.889Z] ---> Running in 6258632e4153 [2022-07-07T10:13:55.889Z] Removing intermediate container 6258632e4153 [2022-07-07T10:13:55.889Z] ---> 64aa3ff7e850 [2022-07-07T10:13:55.889Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:13:55.889Z] ---> Running in 3369c5abc726 [2022-07-07T10:13:55.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:13:55.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:13:55.889Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:13:55.889Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T10:13:55.889Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:13:55.889Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T10:13:55.889Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:13:55.889Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:13:55.889Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T10:13:55.889Z] OK: 8 MiB in 20 packages [2022-07-07T10:13:55.889Z] Removing intermediate container 3369c5abc726 [2022-07-07T10:13:55.889Z] ---> 41a7110b107f [2022-07-07T10:13:55.889Z] Step 17/26 : WORKDIR / [2022-07-07T10:13:56.148Z] ---> Running in fe62f55c5bc6 [2022-07-07T10:13:56.148Z] Removing intermediate container fe62f55c5bc6 [2022-07-07T10:13:56.148Z] ---> ec878bd1371d [2022-07-07T10:13:56.148Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-07T10:13:56.717Z] ---> bdff095df844 [2022-07-07T10:13:56.717Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-07T10:13:56.978Z] ---> ad47f886e6fb [2022-07-07T10:13:56.978Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-07T10:13:56.978Z] ---> 68775b846553 [2022-07-07T10:13:56.978Z] Step 21/26 : EXPOSE 59984 [2022-07-07T10:13:56.978Z] ---> Running in d6dce12823b0 [2022-07-07T10:13:57.236Z] Removing intermediate container d6dce12823b0 [2022-07-07T10:13:57.236Z] ---> ebcaaab32d7f [2022-07-07T10:13:57.236Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-07T10:13:57.236Z] ---> Running in bb8e4725e338 [2022-07-07T10:13:57.236Z] Removing intermediate container bb8e4725e338 [2022-07-07T10:13:57.236Z] ---> fbe63a2701bd [2022-07-07T10:13:57.236Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-07T10:13:57.237Z] ---> Running in 269c1f9e4b39 [2022-07-07T10:13:57.496Z] Removing intermediate container 269c1f9e4b39 [2022-07-07T10:13:57.496Z] ---> 81c8e8611cfd [2022-07-07T10:13:57.496Z] Step 24/26 : LABEL arch=amd64 [2022-07-07T10:13:57.496Z] ---> Running in 88817bfb51a6 [2022-07-07T10:13:57.755Z] Removing intermediate container 88817bfb51a6 [2022-07-07T10:13:57.755Z] ---> fa42163009e6 [2022-07-07T10:13:57.755Z] Step 25/26 : LABEL git_sha=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [2022-07-07T10:13:57.755Z] ---> Running in 9b34ffd19a61 [2022-07-07T10:13:57.755Z] Removing intermediate container 9b34ffd19a61 [2022-07-07T10:13:57.755Z] ---> 1af0298fb6d5 [2022-07-07T10:13:57.755Z] Step 26/26 : LABEL version=0.0.0 [2022-07-07T10:13:57.755Z] ---> Running in 11c9824ed33e [2022-07-07T10:13:58.015Z] Removing intermediate container 11c9824ed33e [2022-07-07T10:13:58.015Z] ---> 3abf723dacd2 [2022-07-07T10:13:58.015Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:13:58.015Z] Successfully built 3abf723dacd2 [2022-07-07T10:13:58.015Z] 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-07-07T10:13:58.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:13:58.434Z] [2022-07-07T10:13:58.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:13:58.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:13:58.737Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T10:13:58.737Z] 5eb5b503b376: Pulling fs layer [2022-07-07T10:13:58.737Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T10:13:58.737Z] ec43610c2a17: Pulling fs layer [2022-07-07T10:13:58.737Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T10:13:58.737Z] 33b1e0a273af: Pulling fs layer [2022-07-07T10:13:58.737Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T10:13:58.737Z] 2f39f015ded8: Pulling fs layer [2022-07-07T10:13:58.737Z] 5d3b04190fa2: Waiting [2022-07-07T10:13:58.737Z] 2f39f015ded8: Waiting [2022-07-07T10:13:58.737Z] 3a2ae6a8a46f: Waiting [2022-07-07T10:13:58.737Z] 5c69ac0246d0: Download complete [2022-07-07T10:13:58.737Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T10:13:58.996Z] 33b1e0a273af: Verifying Checksum [2022-07-07T10:13:58.996Z] 33b1e0a273af: Download complete [2022-07-07T10:13:58.996Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T10:13:58.996Z] 5d3b04190fa2: Download complete [2022-07-07T10:13:58.996Z] ec43610c2a17: Verifying Checksum [2022-07-07T10:13:58.996Z] ec43610c2a17: Download complete [2022-07-07T10:13:58.996Z] 5eb5b503b376: Verifying Checksum [2022-07-07T10:13:58.996Z] 5eb5b503b376: Download complete [2022-07-07T10:13:59.567Z] 2f39f015ded8: Download complete [2022-07-07T10:14:00.137Z] 5eb5b503b376: Pull complete [2022-07-07T10:14:00.397Z] 5c69ac0246d0: Pull complete [2022-07-07T10:14:00.966Z] ec43610c2a17: Pull complete [2022-07-07T10:14:00.966Z] 3a2ae6a8a46f: Pull complete [2022-07-07T10:14:01.227Z] 33b1e0a273af: Pull complete [2022-07-07T10:14:01.227Z] 5d3b04190fa2: Pull complete [2022-07-07T10:14:05.422Z] 2f39f015ded8: Pull complete [2022-07-07T10:14:05.422Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T10:14:05.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:14:05.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:14:05.521Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2022-07-07T10:14:05.558Z] $ 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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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-07-07T10:14:07.243Z] $ docker top baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:14:07.611Z] ---> job-cost.sh [2022-07-07T10:14:07.611Z] lf-activate-venv: SKIPPING [2022-07-07T10:14:07.611Z] INFO: No Stack... [2022-07-07T10:14:07.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:14:08.443Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:14:08.734Z] + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv [2022-07-07T10:14:08.734Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T10:14:08.751Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [2022-07-07T10:14:08.758Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] did not exist. Created. [2022-07-07T10:14:08.758Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:14:09.061Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T10:14:09.093Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:14:09.099Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:14:09.120Z] $ docker stop --time=1 baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d [2022-07-07T10:14:10.288Z] $ docker rm -f baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T10:16:09.182Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17131 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-07-07T10:16:09.194Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-07-07T10:16:09.228Z] Selected Git installation does not exist. Using Default [2022-07-07T10:16:09.228Z] The recommended git tool is: NONE [2022-07-07T10:16:15.244Z] using credential edgex-jenkins-ssh [2022-07-07T10:16:15.273Z] Cloning the remote Git repository [2022-07-07T10:16:15.324Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T10:16:15.392Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-07-07T10:16:15.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T10:16:15.455Z] > git --version # timeout=10 [2022-07-07T10:16:15.484Z] > git --version # 'git version 2.25.1' [2022-07-07T10:16:15.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:16:15.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:16:16.363Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-07T10:16:16.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:16:16.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-07T10:16:16.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-07T10:16:16.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:16:16.458Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T10:16:16.936Z] Merging remotes/origin/main commit 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 85736546429b6e185e62d2ea9cd21cb915ee509b [2022-07-07T10:16:17.340Z] Merge succeeded, producing 7b222b914089066313216176c812b10eda6d83c6 [2022-07-07T10:16:17.341Z] Checking out Revision 7b222b914089066313216176c812b10eda6d83c6 (PR-100) [2022-07-07T10:16:16.955Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:16:16.969Z] > git checkout -f 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 [2022-07-07T10:16:17.107Z] > git remote # timeout=10 [2022-07-07T10:16:17.128Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T10:16:17.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:16:17.156Z] > git merge 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 [2022-07-07T10:16:17.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T10:16:17.347Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:16:17.366Z] > git checkout -f 7b222b914089066313216176c812b10eda6d83c6 # timeout=10 [2022-07-07T10:16:21.559Z] Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" [2022-07-07T10:16:21.566Z] > git rev-list --no-walk 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:16:22.482Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T10:16:22.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:16:22.482Z] Dload Upload Total Spent Left Speed [2022-07-07T10:16:22.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-07-07T10:16:23.140Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T10:16:23.478Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-07-07T10:16:23.478Z] [2022-07-07T10:16:23.478Z] { [2022-07-07T10:16:23.478Z] "registry-mirrors": [ [2022-07-07T10:16:23.478Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T10:16:23.478Z] ], [2022-07-07T10:16:23.478Z] "bip": "10.250.0.254/24", [2022-07-07T10:16:23.478Z] "hosts": [ [2022-07-07T10:16:23.478Z] "tcp://0.0.0.0:5555", [2022-07-07T10:16:23.478Z] "unix:///var/run/docker.sock" [2022-07-07T10:16:23.478Z] ], [2022-07-07T10:16:23.478Z] "mtu": 1458, [2022-07-07T10:16:23.478Z] "selinux-enabled": true, [2022-07-07T10:16:23.478Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T10:16:23.478Z] } [Pipeline] sh [2022-07-07T10:16:23.821Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T10:16:24.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:16:42.652Z] provisioning config files... [2022-07-07T10:16:42.675Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7588651897941423451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:16:43.032Z] ---> docker-login.sh [2022-07-07T10:16:43.032Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:16:43.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:16:43.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:16:43.900Z] Configure a credential helper to remove this warning. See [2022-07-07T10:16:43.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:16:43.900Z] [2022-07-07T10:16:43.900Z] Login Succeeded [2022-07-07T10:16:43.900Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:16:44.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:16:44.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:16:44.175Z] Configure a credential helper to remove this warning. See [2022-07-07T10:16:44.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:16:44.175Z] [2022-07-07T10:16:44.175Z] Login Succeeded [2022-07-07T10:16:44.175Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:16:44.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:16:44.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:16:44.774Z] Configure a credential helper to remove this warning. See [2022-07-07T10:16:44.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:16:44.774Z] [2022-07-07T10:16:44.774Z] Login Succeeded [2022-07-07T10:16:44.774Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:16:45.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:16:45.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:16:45.326Z] Configure a credential helper to remove this warning. See [2022-07-07T10:16:45.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:16:45.326Z] [2022-07-07T10:16:45.326Z] Login Succeeded [2022-07-07T10:16:45.326Z] docker.io [2022-07-07T10:16:45.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:16:45.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:16:45.869Z] Configure a credential helper to remove this warning. See [2022-07-07T10:16:45.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:16:45.869Z] [2022-07-07T10:16:45.869Z] Login Succeeded [2022-07-07T10:16:45.869Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:16:45.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:16:46.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:16:46.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:16:46.159Z] ========================================================= [2022-07-07T10:16:46.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T10:16:46.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:16:46.526Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:16:46.802Z] Sending build context to Docker daemon 6.404MB [2022-07-07T10:16:46.802Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:16:46.802Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-07T10:16:47.080Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T10:16:47.080Z] 9b3977197b4f: Pulling fs layer [2022-07-07T10:16:47.080Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T10:16:47.080Z] 94645a83ff95: Pulling fs layer [2022-07-07T10:16:47.080Z] e6fb740bc735: Pulling fs layer [2022-07-07T10:16:47.080Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T10:16:47.080Z] e6fb740bc735: Waiting [2022-07-07T10:16:47.080Z] 355e64cbe906: Pulling fs layer [2022-07-07T10:16:47.080Z] 3a77bd46dcc9: Waiting [2022-07-07T10:16:47.080Z] 63ab81a10011: Pulling fs layer [2022-07-07T10:16:47.080Z] 355e64cbe906: Waiting [2022-07-07T10:16:47.080Z] 555d1d1c4555: Pulling fs layer [2022-07-07T10:16:47.080Z] 7d9057610161: Pulling fs layer [2022-07-07T10:16:47.080Z] 555d1d1c4555: Waiting [2022-07-07T10:16:47.080Z] 63ab81a10011: Waiting [2022-07-07T10:16:47.080Z] 7d9057610161: Waiting [2022-07-07T10:16:47.080Z] 94645a83ff95: Verifying Checksum [2022-07-07T10:16:47.081Z] 94645a83ff95: Download complete [2022-07-07T10:16:47.081Z] 1a89e8eeedd5: Verifying Checksum [2022-07-07T10:16:47.081Z] 1a89e8eeedd5: Download complete [2022-07-07T10:16:47.081Z] 3a77bd46dcc9: Verifying Checksum [2022-07-07T10:16:47.081Z] 3a77bd46dcc9: Download complete [2022-07-07T10:16:47.081Z] 355e64cbe906: Download complete [2022-07-07T10:16:47.081Z] 9b3977197b4f: Download complete [2022-07-07T10:16:47.081Z] 63ab81a10011: Verifying Checksum [2022-07-07T10:16:47.081Z] 63ab81a10011: Download complete [2022-07-07T10:16:48.067Z] 9b3977197b4f: Pull complete [2022-07-07T10:16:48.346Z] 7d9057610161: Verifying Checksum [2022-07-07T10:16:48.346Z] 7d9057610161: Download complete [2022-07-07T10:16:48.625Z] 1a89e8eeedd5: Pull complete [2022-07-07T10:16:48.898Z] 94645a83ff95: Pull complete [2022-07-07T10:16:49.495Z] 555d1d1c4555: Verifying Checksum [2022-07-07T10:16:49.495Z] 555d1d1c4555: Download complete [2022-07-07T10:16:50.092Z] e6fb740bc735: Download complete [2022-07-07T10:17:02.515Z] e6fb740bc735: Pull complete [2022-07-07T10:17:02.515Z] 3a77bd46dcc9: Pull complete [2022-07-07T10:17:02.515Z] 355e64cbe906: Pull complete [2022-07-07T10:17:02.515Z] 63ab81a10011: Pull complete [2022-07-07T10:17:09.240Z] 555d1d1c4555: Pull complete [2022-07-07T10:17:11.226Z] 7d9057610161: Pull complete [2022-07-07T10:17:11.226Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T10:17:11.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T10:17:11.226Z] ---> 819e984ddca1 [2022-07-07T10:17:11.226Z] Step 3/13 : ARG MAKE="make build" [2022-07-07T10:17:11.823Z] ---> Running in a85f811f53b7 [2022-07-07T10:17:12.096Z] Removing intermediate container a85f811f53b7 [2022-07-07T10:17:12.096Z] ---> 984ac36b5494 [2022-07-07T10:17:12.096Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:17:12.375Z] ---> Running in ea54517dfd61 [2022-07-07T10:17:12.650Z] Removing intermediate container ea54517dfd61 [2022-07-07T10:17:12.650Z] ---> 311da927d14b [2022-07-07T10:17:12.650Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:17:12.650Z] ---> Running in fada5dfbedc9 [2022-07-07T10:17:12.923Z] Removing intermediate container fada5dfbedc9 [2022-07-07T10:17:12.923Z] ---> 90b75b8d1b51 [2022-07-07T10:17:12.923Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-07T10:17:12.923Z] ---> Running in b82e2398b5e1 [2022-07-07T10:17:13.524Z] Removing intermediate container b82e2398b5e1 [2022-07-07T10:17:13.524Z] ---> 958caba1d783 [2022-07-07T10:17:13.524Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:17:13.524Z] ---> Running in f800630200cb [2022-07-07T10:17:15.504Z] Removing intermediate container f800630200cb [2022-07-07T10:17:15.504Z] ---> 79128e775cc3 [2022-07-07T10:17:15.504Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:17:15.504Z] ---> Running in c3dd2757db28 [2022-07-07T10:17:16.100Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:17:17.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:17:18.059Z] OK: 220 MiB in 52 packages [2022-07-07T10:17:18.655Z] Removing intermediate container c3dd2757db28 [2022-07-07T10:17:18.655Z] ---> 2cfd1f41442f [2022-07-07T10:17:18.655Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-07T10:17:18.927Z] ---> Running in 7aff34bae65d [2022-07-07T10:17:19.200Z] Removing intermediate container 7aff34bae65d [2022-07-07T10:17:19.200Z] ---> 70daadd1a826 [2022-07-07T10:17:19.200Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-07T10:17:19.808Z] ---> e42e6604ddd2 [2022-07-07T10:17:19.808Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:17:19.808Z] ---> Running in cecafa6264b2 [2022-07-07T10:18:06.839Z] Removing intermediate container cecafa6264b2 [2022-07-07T10:18:06.839Z] ---> bd81ddedbf29 [2022-07-07T10:18:06.839Z] Step 12/13 : COPY . . [2022-07-07T10:18:06.839Z] ---> 653a42bb5ffd [2022-07-07T10:18:06.839Z] Step 13/13 : RUN ${MAKE} [2022-07-07T10:18:06.839Z] ---> Running in 75c6005fc7e8 [2022-07-07T10:18:07.114Z] noop [2022-07-07T10:18:07.716Z] Removing intermediate container 75c6005fc7e8 [2022-07-07T10:18:07.716Z] ---> 0cc666c45471 [2022-07-07T10:18:07.716Z] Successfully built 0cc666c45471 [2022-07-07T10:18:07.716Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:18:08.088Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:18:08.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:18:08.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container [2022-07-07T10:18:08.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T10:18:09.725Z] $ docker top 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:18:10.623Z] + go version [2022-07-07T10:18:10.623Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T10:18:10.648Z] $ docker stop --time=1 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 [2022-07-07T10:18:12.270Z] $ docker rm -f 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:18:12.909Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:18:12.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:18:13.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container [2022-07-07T10:18:13.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T10:18:14.522Z] $ docker top e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:18:15.435Z] + make test [2022-07-07T10:18:15.435Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:18:17.421Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-07T10:19:39.282Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-07T10:19:42.703Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements [2022-07-07T10:19:42.703Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-07T10:20:04.894Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.659s coverage: 13.8% of statements [2022-07-07T10:20:04.894Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T10:20:04.894Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:20:31.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:20:31.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:20:31.722Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:20:33.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:20:33.732Z] $ docker stop --time=1 e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b [2022-07-07T10:20:35.484Z] $ docker rm -f e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:20:36.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:20:36.530Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T10:20:37.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:20:37.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:20:37.930Z] + ls -al . [2022-07-07T10:20:37.930Z] total 244 [2022-07-07T10:20:37.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:20 . [2022-07-07T10:20:37.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 .. [2022-07-07T10:20:37.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:16 .git [2022-07-07T10:20:37.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:16 .github [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 10:16 .gitignore [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 10:16 .golangci.yml [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 10:16 Attribution.txt [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 10:16 CHANGELOG.md [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 10:16 Dockerfile [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:16 GOVERNANCE.md [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 10:16 Jenkinsfile [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 10:16 LICENSE [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 10:16 Makefile [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 10:16 OWNERS.md [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 10:16 README.md [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:12 VERSION [2022-07-07T10:20:37.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:16 bin [2022-07-07T10:20:37.930Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:16 cmd [2022-07-07T10:20:37.930Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 10:20 coverage.out [2022-07-07T10:20:37.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 doc [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 10:16 go.mod [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 10:16 go.sum [2022-07-07T10:20:37.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 internal [2022-07-07T10:20:37.930Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 10:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:20:38.318Z] + 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=7b222b914089066313216176c812b10eda6d83c6 --label arch=arm64 --label version=0.0.0 . [2022-07-07T10:20:38.594Z] Sending build context to Docker daemon 6.475MB [2022-07-07T10:20:38.866Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:20:38.866Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-07T10:20:38.866Z] ---> 0cc666c45471 [2022-07-07T10:20:38.866Z] Step 3/26 : ARG MAKE="make build" [2022-07-07T10:20:38.866Z] ---> Running in 219cd909b1ff [2022-07-07T10:20:39.148Z] Removing intermediate container 219cd909b1ff [2022-07-07T10:20:39.148Z] ---> d6384472560f [2022-07-07T10:20:39.148Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:20:39.148Z] ---> Running in d137a5f395ad [2022-07-07T10:20:39.428Z] Removing intermediate container d137a5f395ad [2022-07-07T10:20:39.428Z] ---> 2ee73cf231ea [2022-07-07T10:20:39.428Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:20:39.706Z] ---> Running in ca4f8add18c3 [2022-07-07T10:20:39.978Z] Removing intermediate container ca4f8add18c3 [2022-07-07T10:20:39.978Z] ---> 36af95cb94f0 [2022-07-07T10:20:39.978Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-07T10:20:39.978Z] ---> Running in 7c3214476b93 [2022-07-07T10:20:40.253Z] Removing intermediate container 7c3214476b93 [2022-07-07T10:20:40.253Z] ---> cedf600afdc6 [2022-07-07T10:20:40.253Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:20:40.253Z] ---> Running in 34b53b1e6c6a [2022-07-07T10:20:42.230Z] Removing intermediate container 34b53b1e6c6a [2022-07-07T10:20:42.230Z] ---> d566dd4376d0 [2022-07-07T10:20:42.230Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:20:42.230Z] ---> Running in 0ebbd87d997c [2022-07-07T10:20:42.826Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:20:43.801Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:20:44.778Z] OK: 220 MiB in 52 packages [2022-07-07T10:20:45.380Z] Removing intermediate container 0ebbd87d997c [2022-07-07T10:20:45.380Z] ---> d0cd84c0ab90 [2022-07-07T10:20:45.380Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-07T10:20:45.380Z] ---> Running in 49d3c446555a [2022-07-07T10:20:45.974Z] Removing intermediate container 49d3c446555a [2022-07-07T10:20:45.974Z] ---> 3841aab6a5bb [2022-07-07T10:20:45.974Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-07T10:20:46.249Z] ---> c105399e9ae2 [2022-07-07T10:20:46.249Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:20:46.523Z] ---> Running in 70804656279a [2022-07-07T10:20:48.513Z] Removing intermediate container 70804656279a [2022-07-07T10:20:48.513Z] ---> b63b703276a1 [2022-07-07T10:20:48.513Z] Step 12/26 : COPY . . [2022-07-07T10:20:49.492Z] ---> 3f41c17c4cd1 [2022-07-07T10:20:49.492Z] Step 13/26 : RUN ${MAKE} [2022-07-07T10:20:49.492Z] ---> Running in ce55ce224715 [2022-07-07T10:20:50.475Z] 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-07-07T10:22:57.360Z] Removing intermediate container ce55ce224715 [2022-07-07T10:22:57.360Z] ---> 32191a3299df [2022-07-07T10:22:57.360Z] Step 14/26 : FROM alpine:3.15 [2022-07-07T10:22:57.360Z] 3.15: Pulling from library/alpine [2022-07-07T10:22:57.360Z] 9981e73032c8: Pulling fs layer [2022-07-07T10:22:57.360Z] 9981e73032c8: Verifying Checksum [2022-07-07T10:22:57.360Z] 9981e73032c8: Download complete [2022-07-07T10:22:57.360Z] 9981e73032c8: Pull complete [2022-07-07T10:22:57.360Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-07T10:22:57.360Z] Status: Downloaded newer image for alpine:3.15 [2022-07-07T10:22:57.360Z] ---> 3fb3c9af89a9 [2022-07-07T10:22:57.360Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-07T10:22:57.360Z] ---> Running in 3e6ab0172c50 [2022-07-07T10:22:57.360Z] Removing intermediate container 3e6ab0172c50 [2022-07-07T10:22:57.360Z] ---> 734607babeee [2022-07-07T10:22:57.360Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:22:57.360Z] ---> Running in fbd6ab84ff45 [2022-07-07T10:22:57.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:22:57.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:22:57.360Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:22:57.360Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-07T10:22:57.360Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:22:57.360Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-07T10:22:57.360Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:22:57.360Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:22:57.360Z] Executing busybox-1.34.1-r5.trigger [2022-07-07T10:22:57.360Z] OK: 8 MiB in 20 packages [2022-07-07T10:22:57.360Z] Removing intermediate container fbd6ab84ff45 [2022-07-07T10:22:57.360Z] ---> 2779f5b707f7 [2022-07-07T10:22:57.360Z] Step 17/26 : WORKDIR / [2022-07-07T10:22:57.360Z] ---> Running in 260ebc74fc91 [2022-07-07T10:22:57.360Z] Removing intermediate container 260ebc74fc91 [2022-07-07T10:22:57.360Z] ---> 2d94bd5875b6 [2022-07-07T10:22:57.360Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-07T10:22:57.360Z] ---> 4d7636e6daa5 [2022-07-07T10:22:57.360Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-07T10:22:57.360Z] ---> becfdeb31978 [2022-07-07T10:22:57.360Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-07T10:22:57.962Z] ---> 2042df81dcb7 [2022-07-07T10:22:57.962Z] Step 21/26 : EXPOSE 59984 [2022-07-07T10:22:57.962Z] ---> Running in 7162d107471d [2022-07-07T10:22:58.239Z] Removing intermediate container 7162d107471d [2022-07-07T10:22:58.239Z] ---> 1e17d33da40e [2022-07-07T10:22:58.239Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-07T10:22:58.239Z] ---> Running in 54acbcf08040 [2022-07-07T10:22:58.521Z] Removing intermediate container 54acbcf08040 [2022-07-07T10:22:58.521Z] ---> ad1ccab28014 [2022-07-07T10:22:58.521Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-07T10:22:58.521Z] ---> Running in 142939e11b51 [2022-07-07T10:22:59.121Z] Removing intermediate container 142939e11b51 [2022-07-07T10:22:59.121Z] ---> 3f9d50d9a54c [2022-07-07T10:22:59.121Z] Step 24/26 : LABEL arch=arm64 [2022-07-07T10:22:59.121Z] ---> Running in f984bdb6454a [2022-07-07T10:22:59.394Z] Removing intermediate container f984bdb6454a [2022-07-07T10:22:59.394Z] ---> 512b1d813eae [2022-07-07T10:22:59.394Z] Step 25/26 : LABEL git_sha=7b222b914089066313216176c812b10eda6d83c6 [2022-07-07T10:22:59.394Z] ---> Running in 8b7a3c2baf97 [2022-07-07T10:22:59.673Z] Removing intermediate container 8b7a3c2baf97 [2022-07-07T10:22:59.673Z] ---> 8890cf12c138 [2022-07-07T10:22:59.673Z] Step 26/26 : LABEL version=0.0.0 [2022-07-07T10:22:59.673Z] ---> Running in 5d5584b14a06 [2022-07-07T10:23:00.289Z] Removing intermediate container 5d5584b14a06 [2022-07-07T10:23:00.289Z] ---> 183dcd4ddef2 [2022-07-07T10:23:00.289Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:23:00.289Z] Successfully built 183dcd4ddef2 [2022-07-07T10:23:00.289Z] 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-07-07T10:23:00.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:23:00.741Z] [2022-07-07T10:23:00.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:23:01.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:23:01.365Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T10:23:01.365Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T10:23:01.365Z] 04944245beec: Pulling fs layer [2022-07-07T10:23:01.365Z] 699f458cf7ca: Pulling fs layer [2022-07-07T10:23:01.365Z] 765212b225bb: Pulling fs layer [2022-07-07T10:23:01.365Z] f23df028b6ca: Pulling fs layer [2022-07-07T10:23:01.365Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T10:23:01.365Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T10:23:01.365Z] f23df028b6ca: Waiting [2022-07-07T10:23:01.365Z] 765212b225bb: Waiting [2022-07-07T10:23:01.365Z] 2437ff75d9bd: Waiting [2022-07-07T10:23:01.365Z] d65c8cfc05b1: Waiting [2022-07-07T10:23:01.365Z] 04944245beec: Verifying Checksum [2022-07-07T10:23:01.365Z] 04944245beec: Download complete [2022-07-07T10:23:01.365Z] 765212b225bb: Verifying Checksum [2022-07-07T10:23:01.365Z] 765212b225bb: Download complete [2022-07-07T10:23:01.365Z] f23df028b6ca: Verifying Checksum [2022-07-07T10:23:01.365Z] f23df028b6ca: Download complete [2022-07-07T10:23:01.365Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T10:23:01.365Z] d65c8cfc05b1: Download complete [2022-07-07T10:23:01.642Z] 699f458cf7ca: Verifying Checksum [2022-07-07T10:23:01.642Z] 699f458cf7ca: Download complete [2022-07-07T10:23:01.917Z] 8998bd30e6a1: Download complete [2022-07-07T10:23:04.543Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T10:23:04.543Z] 2437ff75d9bd: Download complete [2022-07-07T10:23:06.517Z] 8998bd30e6a1: Pull complete [2022-07-07T10:23:06.790Z] 04944245beec: Pull complete [2022-07-07T10:23:08.229Z] 699f458cf7ca: Pull complete [2022-07-07T10:23:08.506Z] 765212b225bb: Pull complete [2022-07-07T10:23:09.103Z] f23df028b6ca: Pull complete [2022-07-07T10:23:09.378Z] d65c8cfc05b1: Pull complete [2022-07-07T10:23:24.457Z] 2437ff75d9bd: Pull complete [2022-07-07T10:23:24.457Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T10:23:24.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:23:24.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:23:24.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container [2022-07-07T10:23:24.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T10:23:27.311Z] $ docker top c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:28.227Z] ---> job-cost.sh [2022-07-07T10:23:28.227Z] lf-activate-venv: SKIPPING [2022-07-07T10:23:28.227Z] INFO: No Stack... [2022-07-07T10:23:28.821Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T10:23:29.411Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:23:30.110Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-07-07T10:23:30.110Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T10:23:30.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [2022-07-07T10:23:30.195Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] did not exist. Created. [2022-07-07T10:23:30.195Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:23:30.915Z] /w/workspace/device-onvif-camera/2@tmp/durable-708abe54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T10:23:31.596Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T10:23:31.625Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T10:23:31.677Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:23:31.687Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:23:31.707Z] $ docker stop --time=1 c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 [2022-07-07T10:23:33.182Z] $ docker rm -f c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 [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-07-07T10:23:33.689Z] provisioning config files... [2022-07-07T10:23:33.701Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config545296997553963955tmp [Pipeline] { [Pipeline] sh [2022-07-07T10:23:34.001Z] + set +x [2022-07-07T10:23:34.001Z] + curl -s https://codecov.io/bash [2022-07-07T10:23:34.001Z] + bash -s -- [2022-07-07T10:23:34.001Z] [2022-07-07T10:23:34.001Z] _____ _ [2022-07-07T10:23:34.001Z] / ____| | | [2022-07-07T10:23:34.001Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T10:23:34.001Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T10:23:34.001Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T10:23:34.001Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T10:23:34.001Z] Bash-1.0.6 [2022-07-07T10:23:34.001Z] [2022-07-07T10:23:34.001Z] [2022-07-07T10:23:34.001Z] ==> git version 2.25.1 found [2022-07-07T10:23:34.001Z] ==> 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-07-07T10:23:34.001Z] Release-Date: 2020-01-08 [2022-07-07T10:23:34.001Z] 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-07-07T10:23:34.001Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T10:23:34.001Z] ==> Jenkins CI detected. [2022-07-07T10:23:34.001Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-100 [2022-07-07T10:23:34.001Z] project root: . [2022-07-07T10:23:34.001Z] --> token set from env [2022-07-07T10:23:34.001Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T10:23:34.001Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T10:23:34.001Z] ==> Python coveragepy not found [2022-07-07T10:23:34.001Z] ==> Searching for coverage reports in: [2022-07-07T10:23:34.001Z] + . [2022-07-07T10:23:34.001Z] -> Found 1 reports [2022-07-07T10:23:34.001Z] ==> Detecting git/mercurial file structure [2022-07-07T10:23:34.001Z] ==> Reading reports [2022-07-07T10:23:34.001Z] + ./coverage.out bytes=70262 [2022-07-07T10:23:34.262Z] ==> Appending adjustments [2022-07-07T10:23:34.262Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T10:23:34.262Z] + Found adjustments [2022-07-07T10:23:34.262Z] ==> Gzipping contents [2022-07-07T10:23:34.262Z] 12K /tmp/codecov.udSmSi.gz [2022-07-07T10:23:34.262Z] ==> Uploading reports [2022-07-07T10:23:34.262Z] url: https://codecov.io [2022-07-07T10:23:34.262Z] query: branch=PR-100&commit=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-07T10:23:34.262Z] -> Pinging Codecov [2022-07-07T10:23:34.262Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-07-07T10:23:34.523Z] -> Uploading to [2022-07-07T10:23:34.523Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/F29A59C45E3A92E06B3E522C9905F8EF/5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1/c89fb6e8-41ae-4c27-81d6-fd9c97ae7bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T102334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a7f3ace579c9049963b07ded1aab475077d2e5d54ccdeaf15faa5cecdf150ce [2022-07-07T10:23:34.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:23:34.523Z] Dload Upload Total Spent Left Speed [2022-07-07T10:23:34.784Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9301 0 0 100 9301 0 30003 --:--:-- --:--:-- --:--:-- 30003 [2022-07-07T10:23:34.784Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] } [2022-07-07T10:23:34.793Z] 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-07-07T10:23:35.537Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] [2022-07-07T10:23:35.538Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-07T10:23:35.538Z] total 16 [2022-07-07T10:23:35.538Z] drwxr-xr-x 3 root root 4096 Jul 7 10:14 . [2022-07-07T10:23:35.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:14 .. [2022-07-07T10:23:35.538Z] drwxr-xr-x 2 root root 4096 Jul 7 10:14 cost [2022-07-07T10:23:35.538Z] -rw-r--r-- 1 root root 90 Jul 7 10:14 cost.csv [2022-07-07T10:23:35.538Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-07T10:23:35.538Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives [2022-07-07T10:23:35.538Z] total 16 [2022-07-07T10:23:35.538Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:14 . [2022-07-07T10:23:35.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:14 .. [2022-07-07T10:23:35.538Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:14 cost [2022-07-07T10:23:35.538Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 7 10:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:35.833Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:36.704Z] ---> package-listing.sh [2022-07-07T10:23:36.704Z] ++ facter osfamily [2022-07-07T10:23:36.704Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T10:23:36.966Z] + OS_FAMILY=debian [2022-07-07T10:23:36.966Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-100 [2022-07-07T10:23:36.966Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T10:23:36.966Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T10:23:36.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T10:23:36.966Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T10:23:36.966Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-07T10:23:36.966Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T10:23:36.966Z] + case "${OS_FAMILY}" in [2022-07-07T10:23:36.966Z] + dpkg -l [2022-07-07T10:23:36.966Z] + grep '^ii' [2022-07-07T10:23:36.966Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T10:23:36.966Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T10:23:36.966Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T10:23:36.966Z] + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' [2022-07-07T10:23:36.966Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ [2022-07-07T10:23:36.966Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo [2022-07-07T10:23:36.978Z] 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-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T10:23:37.258Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:23:37.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:23:37.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:23:37.909Z] prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container [2022-07-07T10:23:37.946Z] $ 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-100/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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T10:23:38.179Z] $ docker top 90533b66a1eb528eafce061042dcbe73b87b8ab6327a749551b9d1f75682c3c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:23:38.537Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T10:23:38.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T10:23:39.115Z] + ls /var/log/sa-host [2022-07-07T10:23:39.115Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:23:39.184Z] provisioning config files... [2022-07-07T10:23:39.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config1681456892356748738tmp [Pipeline] { [Pipeline] echo [2022-07-07T10:23:39.208Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:39.493Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T10:23:39.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:39.828Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T10:23:39.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:40.126Z] ---> sudo-logs.sh [2022-07-07T10:23:40.126Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T10:23:40.157Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:40.445Z] ---> job-cost.sh [2022-07-07T10:23:40.445Z] lf-activate-venv: SKIPPING [2022-07-07T10:23:40.445Z] DEBUG: total: 0.2199999988079071 [2022-07-07T10:23:40.445Z] INFO: Retrieving Stack Cost... [2022-07-07T10:23:40.707Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:23:41.278Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T10:23:41.287Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:23:41.572Z] ---> logs-deploy.sh [2022-07-07T10:23:41.573Z] lf-activate-venv: SKIPPING [2022-07-07T10:23:41.573Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/2 [2022-07-07T10:23:41.573Z] INFO: archiving workspace using pattern(s): [2022-07-07T10:23:42.512Z] Archives upload complete. [2022-07-07T10:23:42.512Z] INFO: archiving logs to Nexus