Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2+84f2c4fd4e35f46928256df416a01a34dc7a6192 (becf5fd770506c0f2824a4aaa74c0a372ee42db8) 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-ssh16795864107299549830.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-ssh17030470417859890016.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-95/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-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17676285659380053450.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-ssh11892726725953658583.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-95/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-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15730773912503493991.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16745 in /w/workspace/oundry_device-onvif-camera_PR-95 [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/oundry_device-onvif-camera_PR-95 # 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 > 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 Merging remotes/origin/main commit 84f2c4fd4e35f46928256df416a01a34dc7a6192 into PR head commit 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 Merge succeeded, producing cdcad48471ad648bf98d313ce50e2e259a842567 Checking out Revision cdcad48471ad648bf98d313ce50e2e259a842567 (PR-95) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 # 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 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdcad48471ad648bf98d313ce50e2e259a842567 # timeout=10 Commit message: "Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD" > git rev-list --no-walk 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-03T10:10:18.527Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-03T10:10:18.611Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-03T10:10:18.631Z] ========================================================= [2022-07-03T10:10:18.631Z] EdgeX Global Pipelines Version Info [2022-07-03T10:10:18.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:10:19.394Z] ------------------- [2022-07-03T10:10:19.394Z] stable info: [2022-07-03T10:10:19.394Z] ------------------- [2022-07-03T10:10:19.394Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-03T10:10:19.394Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-03T10:10:19.394Z] Message: update stable to v1.0.234 [2022-07-03T10:10:19.967Z] ------------------- [2022-07-03T10:10:19.967Z] experimental info: [2022-07-03T10:10:19.967Z] ------------------- [2022-07-03T10:10:19.967Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-03T10:10:19.967Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-03T10:10:19.967Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-03T10:10:20.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-03T10:10:20.193Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-03T10:10:20.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-03T10:10:20.213Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-03T10:10:20.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-03T10:10:20.232Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-03T10:10:20.241Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-03T10:10:20.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-03T10:10:20.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-03T10:10:20.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-03T10:10:20.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-03T10:10:20.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-03T10:10:20.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-03T10:10:20.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-03T10:10:20.346Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-03T10:10:20.363Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-03T10:10:20.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-03T10:10:20.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-03T10:10:20.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-03T10:10:20.412Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-03T10:10:20.423Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-03T10:10:20.442Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-03T10:10:20.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-03T10:10:20.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-03T10:10:20.497Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-03T10:10:20.515Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-03T10:10:20.533Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-03T10:10:20.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2022-07-03T10:10:20.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2022-07-03T10:10:20.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2022-07-03T10:10:20.585Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdcad48471ad648bf98d313ce50e2e259a842567 [Pipeline] echo [2022-07-03T10:10:20.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdcad48 [Pipeline] echo [2022-07-03T10:10:20.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-03T10:10:20.663Z] provisioning config files... [2022-07-03T10:10:20.676Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config508375455050869598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:10:20.982Z] ---> docker-login.sh [2022-07-03T10:10:20.982Z] nexus3.edgexfoundry.org:10001 [2022-07-03T10:10:21.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:21.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:21.243Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:21.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:21.243Z] [2022-07-03T10:10:21.243Z] Login Succeeded [2022-07-03T10:10:21.243Z] nexus3.edgexfoundry.org:10002 [2022-07-03T10:10:21.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:21.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:21.504Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:21.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:21.504Z] [2022-07-03T10:10:21.504Z] Login Succeeded [2022-07-03T10:10:21.504Z] nexus3.edgexfoundry.org:10003 [2022-07-03T10:10:21.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:21.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:21.504Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:21.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:21.504Z] [2022-07-03T10:10:21.766Z] Login Succeeded [2022-07-03T10:10:21.766Z] nexus3.edgexfoundry.org:10004 [2022-07-03T10:10:21.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:21.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:21.766Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:21.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:21.766Z] [2022-07-03T10:10:21.766Z] Login Succeeded [2022-07-03T10:10:21.766Z] docker.io [2022-07-03T10:10:21.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:22.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:22.338Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:22.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:22.338Z] [2022-07-03T10:10:22.338Z] Login Succeeded [2022-07-03T10:10:22.338Z] ---> docker-login.sh ends [Pipeline] } [2022-07-03T10:10:22.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-03T10:10:22.743Z] + git rev-list -1 --merges cdcad48471ad648bf98d313ce50e2e259a842567~1..cdcad48471ad648bf98d313ce50e2e259a842567 [Pipeline] echo [2022-07-03T10:10:22.776Z] -----------> git rev-list -1 --merges cdcad48471ad648bf98d313ce50e2e259a842567~1..cdcad48471ad648bf98d313ce50e2e259a842567 cdcad48471ad648bf98d313ce50e2e259a842567 [2022-07-03T10:10:22.776Z] cdcad48471ad648bf98d313ce50e2e259a842567 [false] [Pipeline] sh [2022-07-03T10:10:23.069Z] + git log --format=format:%s -1 cdcad48471ad648bf98d313ce50e2e259a842567 [Pipeline] echo [2022-07-03T10:10:23.088Z] ========================================================= [2022-07-03T10:10:23.088Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-03T10:10:23.088Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-03T10:10:23.428Z] + git log --format=format:%s -1 cdcad48471ad648bf98d313ce50e2e259a842567 [Pipeline] echo [2022-07-03T10:10:23.440Z] [semverPrep] GIT_COMMIT: cdcad48471ad648bf98d313ce50e2e259a842567, Commit Message: Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD [Pipeline] echo [2022-07-03T10:10:23.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-03T10:10:23.822Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-03T10:10:23.822Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-03T10:10:23.822Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-03T10:10:23.822Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-03T10:10:23.822Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-03T10:10:23.822Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-03T10:10:23.822Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:10:24.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-03T10:10:24.258Z] [2022-07-03T10:10:24.258Z] 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-03T10:10:24.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-03T10:10:24.561Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-03T10:10:24.561Z] 42c077c10790: Pulling fs layer [2022-07-03T10:10:24.561Z] f63e77b7563a: Pulling fs layer [2022-07-03T10:10:24.561Z] bd5fdadae976: Pulling fs layer [2022-07-03T10:10:24.561Z] 205491f53016: Pulling fs layer [2022-07-03T10:10:24.561Z] df18705c85c3: Pulling fs layer [2022-07-03T10:10:24.561Z] bdb3f477010e: Pulling fs layer [2022-07-03T10:10:24.561Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-03T10:10:24.561Z] 2c6e9b1d212d: Pulling fs layer [2022-07-03T10:10:24.561Z] bdb8f0575790: Pulling fs layer [2022-07-03T10:10:24.561Z] 386e3cb2ff24: Pulling fs layer [2022-07-03T10:10:24.561Z] 2343380bae48: Pulling fs layer [2022-07-03T10:10:24.561Z] 205491f53016: Waiting [2022-07-03T10:10:24.561Z] df18705c85c3: Waiting [2022-07-03T10:10:24.561Z] bdb3f477010e: Waiting [2022-07-03T10:10:24.561Z] c8a8fc8e1c8f: Waiting [2022-07-03T10:10:24.561Z] 2c6e9b1d212d: Waiting [2022-07-03T10:10:24.561Z] bdb8f0575790: Waiting [2022-07-03T10:10:24.561Z] 386e3cb2ff24: Waiting [2022-07-03T10:10:24.561Z] 2343380bae48: Waiting [2022-07-03T10:10:24.561Z] f63e77b7563a: Download complete [2022-07-03T10:10:24.561Z] 205491f53016: Download complete [2022-07-03T10:10:24.825Z] bd5fdadae976: Verifying Checksum [2022-07-03T10:10:24.825Z] bd5fdadae976: Download complete [2022-07-03T10:10:24.825Z] df18705c85c3: Verifying Checksum [2022-07-03T10:10:24.825Z] df18705c85c3: Download complete [2022-07-03T10:10:24.825Z] bdb3f477010e: Verifying Checksum [2022-07-03T10:10:24.825Z] bdb3f477010e: Download complete [2022-07-03T10:10:24.825Z] 2c6e9b1d212d: Verifying Checksum [2022-07-03T10:10:24.825Z] 2c6e9b1d212d: Download complete [2022-07-03T10:10:24.825Z] bdb8f0575790: Verifying Checksum [2022-07-03T10:10:24.825Z] bdb8f0575790: Download complete [2022-07-03T10:10:24.825Z] 386e3cb2ff24: Verifying Checksum [2022-07-03T10:10:24.825Z] 386e3cb2ff24: Download complete [2022-07-03T10:10:24.825Z] 2343380bae48: Verifying Checksum [2022-07-03T10:10:24.825Z] 2343380bae48: Download complete [2022-07-03T10:10:24.825Z] 42c077c10790: Verifying Checksum [2022-07-03T10:10:24.825Z] 42c077c10790: Download complete [2022-07-03T10:10:25.085Z] c8a8fc8e1c8f: Download complete [2022-07-03T10:10:26.028Z] 42c077c10790: Pull complete [2022-07-03T10:10:26.290Z] f63e77b7563a: Pull complete [2022-07-03T10:10:26.551Z] bd5fdadae976: Pull complete [2022-07-03T10:10:26.812Z] 205491f53016: Pull complete [2022-07-03T10:10:27.073Z] df18705c85c3: Pull complete [2022-07-03T10:10:27.073Z] bdb3f477010e: Pull complete [2022-07-03T10:10:28.990Z] c8a8fc8e1c8f: Pull complete [2022-07-03T10:10:28.990Z] 2c6e9b1d212d: Pull complete [2022-07-03T10:10:28.990Z] bdb8f0575790: Pull complete [2022-07-03T10:10:28.990Z] 386e3cb2ff24: Pull complete [2022-07-03T10:10:28.990Z] 2343380bae48: Pull complete [2022-07-03T10:10:28.990Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-03T10:10:28.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-03T10:10:28.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:10:29.100Z] prd-ubuntu20.04-docker-8c-8g-16745 does not seem to be running inside a container [2022-07-03T10:10:29.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-03T10:10:30.381Z] $ docker top 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f -eo pid,comm [2022-07-03T10:10:30.441Z] 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-03T10:10:30.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-03T10:10:30.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-03T10:10:30.482Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-03T10:10:30.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-03T10:10:30.615Z] $ docker exec 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f ssh-agent [2022-07-03T10:10:30.741Z] SSH_AUTH_SOCK=/tmp/ssh-v2aAgIkhFeUO/agent.34 [2022-07-03T10:10:30.741Z] SSH_AGENT_PID=40 [2022-07-03T10:10:30.747Z] Running ssh-add (command line suppressed) [2022-07-03T10:10:30.866Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_7215474125240135584.key (/w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_7215474125240135584.key) [2022-07-03T10:10:30.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-03T10:10:31.166Z] + git tag --points-at HEAD [Pipeline] } [2022-07-03T10:10:31.187Z] $ docker exec --env ******** --env ******** 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f ssh-agent -k [2022-07-03T10:10:31.294Z] unset SSH_AUTH_SOCK; [2022-07-03T10:10:31.294Z] unset SSH_AGENT_PID; [2022-07-03T10:10:31.294Z] echo Agent pid 40 killed; [2022-07-03T10:10:31.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-03T10:10:31.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-03T10:10:31.329Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-03T10:10:31.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-03T10:10:31.447Z] $ docker exec 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f ssh-agent [2022-07-03T10:10:31.564Z] SSH_AUTH_SOCK=/tmp/ssh-rpXGaOS1YYRZ/agent.72 [2022-07-03T10:10:31.564Z] SSH_AGENT_PID=79 [2022-07-03T10:10:31.569Z] Running ssh-add (command line suppressed) [2022-07-03T10:10:31.686Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_4889517446852365722.key (/w/workspace/oundry_device-onvif-camera_PR-95@tmp/private_key_4889517446852365722.key) [2022-07-03T10:10:31.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-03T10:10:31.996Z] + git semver init [2022-07-03T10:10:32.258Z] 2022-07-03 10:10:32,191 [run_init] DEBUG init version:0.0.0 force:False [2022-07-03T10:10:32.258Z] 2022-07-03 10:10:32,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-95/.semver [2022-07-03T10:10:32.258Z] 2022-07-03 10:10:32,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-95/.semver [2022-07-03T10:10:32.258Z] 2022-07-03 10:10:32,192 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-95/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95, universal_newlines=False, shell=None, istream=None) [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,841 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-95/.git/info/exclude [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 with force:False [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,841 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,846 [execute] INFO git cat-file --batch-check [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,852 [execute] INFO git cat-file --batch [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) [2022-07-03T10:10:33.202Z] 2022-07-03 10:10:32,858 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-95/.semver/PR-95 [2022-07-03T10:10:33.203Z] 0.0.0 [Pipeline] } [2022-07-03T10:10:33.217Z] $ docker exec --env ******** --env ******** 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f ssh-agent -k [2022-07-03T10:10:33.328Z] unset SSH_AUTH_SOCK; [2022-07-03T10:10:33.328Z] unset SSH_AGENT_PID; [2022-07-03T10:10:33.329Z] echo Agent pid 79 killed; [2022-07-03T10:10:33.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-03T10:10:33.656Z] + git semver [Pipeline] } [2022-07-03T10:10:33.935Z] $ docker stop --time=1 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f [2022-07-03T10:10:35.280Z] $ docker rm -f 6ee51c149f756f04c4ac085f9be978361e2a157cc501b853dfee09955af4605f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-03T10:10:35.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-03T10:10:35.896Z] Stashed 1 file(s) [Pipeline] echo [2022-07-03T10:10:35.899Z] [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-03T10:10:36.009Z] provisioning config files... [2022-07-03T10:10:36.019Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config6062861962090034338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:10:36.318Z] ---> docker-login.sh [2022-07-03T10:10:36.318Z] nexus3.edgexfoundry.org:10001 [2022-07-03T10:10:36.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:36.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:36.319Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:36.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:36.319Z] [2022-07-03T10:10:36.319Z] Login Succeeded [2022-07-03T10:10:36.319Z] nexus3.edgexfoundry.org:10002 [2022-07-03T10:10:36.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:36.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:36.583Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:36.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:36.583Z] [2022-07-03T10:10:36.583Z] Login Succeeded [2022-07-03T10:10:36.583Z] nexus3.edgexfoundry.org:10003 [2022-07-03T10:10:36.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:36.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:36.583Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:36.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:36.583Z] [2022-07-03T10:10:36.583Z] Login Succeeded [2022-07-03T10:10:36.583Z] nexus3.edgexfoundry.org:10004 [2022-07-03T10:10:36.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:36.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:36.845Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:36.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:36.845Z] [2022-07-03T10:10:36.845Z] Login Succeeded [2022-07-03T10:10:36.845Z] docker.io [2022-07-03T10:10:36.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:10:37.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:10:37.106Z] Configure a credential helper to remove this warning. See [2022-07-03T10:10:37.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:10:37.106Z] [2022-07-03T10:10:37.106Z] Login Succeeded [2022-07-03T10:10:37.106Z] ---> docker-login.sh ends [Pipeline] } [2022-07-03T10:10:37.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-03T10:10:37.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-03T10:10:37.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-03T10:10:37.204Z] ========================================================= [2022-07-03T10:10:37.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-03T10:10:37.204Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:10:37.522Z] + 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-03T10:10:37.522Z] Sending build context to Docker daemon 9.32MB [2022-07-03T10:10:37.522Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-03T10:10:37.522Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-03T10:10:37.522Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-03T10:10:37.522Z] 59bf1c3509f3: Pulling fs layer [2022-07-03T10:10:37.522Z] 666ba61612fd: Pulling fs layer [2022-07-03T10:10:37.522Z] 8ed8ca486205: Pulling fs layer [2022-07-03T10:10:37.522Z] cc1cd167ecdc: Pulling fs layer [2022-07-03T10:10:37.522Z] c516ae0d96e1: Pulling fs layer [2022-07-03T10:10:37.522Z] 684cea983483: Pulling fs layer [2022-07-03T10:10:37.522Z] dd3240ac7de5: Pulling fs layer [2022-07-03T10:10:37.522Z] b1e948a4e11c: Pulling fs layer [2022-07-03T10:10:37.522Z] a8fd76ee1af6: Pulling fs layer [2022-07-03T10:10:37.522Z] 646ad004c059: Pulling fs layer [2022-07-03T10:10:37.522Z] cc1cd167ecdc: Waiting [2022-07-03T10:10:37.522Z] b1e948a4e11c: Waiting [2022-07-03T10:10:37.522Z] a8fd76ee1af6: Waiting [2022-07-03T10:10:37.522Z] 646ad004c059: Waiting [2022-07-03T10:10:37.522Z] c516ae0d96e1: Waiting [2022-07-03T10:10:37.522Z] dd3240ac7de5: Waiting [2022-07-03T10:10:37.522Z] 8ed8ca486205: Download complete [2022-07-03T10:10:37.522Z] 666ba61612fd: Download complete [2022-07-03T10:10:37.522Z] c516ae0d96e1: Download complete [2022-07-03T10:10:37.785Z] 59bf1c3509f3: Verifying Checksum [2022-07-03T10:10:37.785Z] 59bf1c3509f3: Download complete [2022-07-03T10:10:37.785Z] 684cea983483: Download complete [2022-07-03T10:10:37.785Z] dd3240ac7de5: Verifying Checksum [2022-07-03T10:10:37.785Z] dd3240ac7de5: Download complete [2022-07-03T10:10:37.785Z] b1e948a4e11c: Verifying Checksum [2022-07-03T10:10:37.785Z] b1e948a4e11c: Download complete [2022-07-03T10:10:37.785Z] 59bf1c3509f3: Pull complete [2022-07-03T10:10:38.049Z] 666ba61612fd: Pull complete [2022-07-03T10:10:38.049Z] 8ed8ca486205: Pull complete [2022-07-03T10:10:38.310Z] 646ad004c059: Verifying Checksum [2022-07-03T10:10:38.310Z] 646ad004c059: Download complete [2022-07-03T10:10:38.310Z] a8fd76ee1af6: Verifying Checksum [2022-07-03T10:10:38.310Z] a8fd76ee1af6: Download complete [2022-07-03T10:10:38.310Z] cc1cd167ecdc: Download complete [2022-07-03T10:10:41.605Z] cc1cd167ecdc: Pull complete [2022-07-03T10:10:41.605Z] c516ae0d96e1: Pull complete [2022-07-03T10:10:41.863Z] 684cea983483: Pull complete [2022-07-03T10:10:41.863Z] dd3240ac7de5: Pull complete [2022-07-03T10:10:41.863Z] b1e948a4e11c: Pull complete [2022-07-03T10:10:44.390Z] a8fd76ee1af6: Pull complete [2022-07-03T10:10:44.650Z] 646ad004c059: Pull complete [2022-07-03T10:10:44.650Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-03T10:10:44.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-03T10:10:44.650Z] ---> 8f69c11f6b0c [2022-07-03T10:10:44.650Z] Step 3/13 : ARG MAKE="make build" [2022-07-03T10:10:46.035Z] ---> Running in f42db751e59c [2022-07-03T10:10:46.035Z] Removing intermediate container f42db751e59c [2022-07-03T10:10:46.035Z] ---> 302525aa338d [2022-07-03T10:10:46.035Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-03T10:10:46.295Z] ---> Running in 59c129b88e85 [2022-07-03T10:10:46.295Z] Removing intermediate container 59c129b88e85 [2022-07-03T10:10:46.295Z] ---> 1262160df876 [2022-07-03T10:10:46.295Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-03T10:10:46.295Z] ---> Running in 085cefa212b4 [2022-07-03T10:10:46.295Z] Removing intermediate container 085cefa212b4 [2022-07-03T10:10:46.295Z] ---> b28f781e0c1d [2022-07-03T10:10:46.295Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-03T10:10:46.295Z] ---> Running in 3b36467cc743 [2022-07-03T10:10:46.555Z] Removing intermediate container 3b36467cc743 [2022-07-03T10:10:46.555Z] ---> 8691ae2e7271 [2022-07-03T10:10:46.555Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-03T10:10:46.555Z] ---> Running in 37b546df903b [2022-07-03T10:10:47.127Z] Removing intermediate container 37b546df903b [2022-07-03T10:10:47.127Z] ---> acec486c547b [2022-07-03T10:10:47.127Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-03T10:10:47.127Z] ---> Running in bfb81d45e5fe [2022-07-03T10:10:47.386Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-03T10:10:48.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-03T10:10:48.587Z] OK: 221 MiB in 52 packages [2022-07-03T10:10:48.849Z] Removing intermediate container bfb81d45e5fe [2022-07-03T10:10:48.849Z] ---> 38a824afccd9 [2022-07-03T10:10:48.849Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-03T10:10:48.849Z] ---> Running in 3c2789369844 [2022-07-03T10:10:49.108Z] Removing intermediate container 3c2789369844 [2022-07-03T10:10:49.108Z] ---> 017c4fc69a23 [2022-07-03T10:10:49.108Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-03T10:10:49.108Z] ---> af13a9940ea2 [2022-07-03T10:10:49.108Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-03T10:10:49.108Z] ---> Running in ddc3b2dc5a68 [2022-07-03T10:10:50.981Z] Still waiting to schedule task [2022-07-03T10:10:50.981Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-03T10:11:07.235Z] Removing intermediate container ddc3b2dc5a68 [2022-07-03T10:11:07.235Z] ---> e8964945d3af [2022-07-03T10:11:07.235Z] Step 12/13 : COPY . . [2022-07-03T10:11:07.235Z] ---> 9db0c582a569 [2022-07-03T10:11:07.235Z] Step 13/13 : RUN ${MAKE} [2022-07-03T10:11:07.235Z] ---> Running in a491f4be27ba [2022-07-03T10:11:07.235Z] noop [2022-07-03T10:11:07.235Z] Removing intermediate container a491f4be27ba [2022-07-03T10:11:07.235Z] ---> 27aa660074ff [2022-07-03T10:11:07.235Z] Successfully built 27aa660074ff [2022-07-03T10:11:07.235Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:11:07.560Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-03T10:11:07.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:11:07.642Z] prd-ubuntu20.04-docker-8c-8g-16745 does not seem to be running inside a container [2022-07-03T10:11:07.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-03T10:11:08.050Z] $ docker top 94a78cba4fc2395a81a22f831b524da82e25ad688cd0ed73f13aaf40fd981cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-03T10:11:08.406Z] + go version [2022-07-03T10:11:08.406Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-03T10:11:08.422Z] $ docker stop --time=1 94a78cba4fc2395a81a22f831b524da82e25ad688cd0ed73f13aaf40fd981cc2 [2022-07-03T10:11:09.700Z] $ docker rm -f 94a78cba4fc2395a81a22f831b524da82e25ad688cd0ed73f13aaf40fd981cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:11:10.138Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-03T10:11:10.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:11:10.484Z] prd-ubuntu20.04-docker-8c-8g-16745 does not seem to be running inside a container [2022-07-03T10:11:10.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-03T10:11:10.956Z] $ docker top 75a70abe2bc35c8a7142893ecc0ecbdaa51a764dddf81f4d344cd3fb7365b128 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-03T10:11:11.328Z] + make test [2022-07-03T10:11:11.328Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-03T10:11:11.588Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-03T10:11:21.580Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-03T10:11:21.840Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements [2022-07-03T10:11:21.840Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-03T10:11:25.136Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.884s coverage: 13.8% of statements [2022-07-03T10:11:31.727Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-03T10:11:35.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-03T10:11:35.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-03T10:11:35.929Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-03T10:11:35.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-03T10:11:35.957Z] $ docker stop --time=1 75a70abe2bc35c8a7142893ecc0ecbdaa51a764dddf81f4d344cd3fb7365b128 [2022-07-03T10:11:37.635Z] $ docker rm -f 75a70abe2bc35c8a7142893ecc0ecbdaa51a764dddf81f4d344cd3fb7365b128 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-03T10:11:38.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-03T10:11:38.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-03T10:11:38.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-03T10:11:38.915Z] + ls -al . [2022-07-03T10:11:38.915Z] total 248 [2022-07-03T10:11:38.915Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 10:11 . [2022-07-03T10:11:38.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:10 .. [2022-07-03T10:11:38.915Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 10:10 .git [2022-07-03T10:11:38.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 10:10 .github [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 3 10:10 .gitignore [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 10:10 .golangci.yml [2022-07-03T10:11:38.915Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 10:10 .semver [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 3 10:10 Attribution.txt [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 3 10:10 CHANGELOG.md [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 3 10:10 Dockerfile [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 10:10 GOVERNANCE.md [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 10:10 Jenkinsfile [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 10:10 LICENSE [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 3 10:10 Makefile [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 10:10 OWNERS.md [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 3 10:10 README.md [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 10:10 VERSION [2022-07-03T10:11:38.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 10:10 bin [2022-07-03T10:11:38.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 10:10 cmd [2022-07-03T10:11:38.915Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 3 10:11 coverage.out [2022-07-03T10:11:38.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:10 doc [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 3 10:10 go.mod [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 3 10:10 go.sum [2022-07-03T10:11:38.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:10 internal [2022-07-03T10:11:38.915Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:11:39.232Z] + 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=cdcad48471ad648bf98d313ce50e2e259a842567 --label arch=amd64 --label version=0.0.0 . [2022-07-03T10:11:39.232Z] Sending build context to Docker daemon 9.392MB [2022-07-03T10:11:39.232Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-03T10:11:39.232Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-03T10:11:39.232Z] ---> 27aa660074ff [2022-07-03T10:11:39.232Z] Step 3/26 : ARG MAKE="make build" [2022-07-03T10:11:39.232Z] ---> Running in 9923239eedf0 [2022-07-03T10:11:39.491Z] Removing intermediate container 9923239eedf0 [2022-07-03T10:11:39.491Z] ---> 25e63a11037f [2022-07-03T10:11:39.491Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-03T10:11:39.491Z] ---> Running in 647763122f89 [2022-07-03T10:11:39.491Z] Removing intermediate container 647763122f89 [2022-07-03T10:11:39.491Z] ---> 624ed83816bf [2022-07-03T10:11:39.491Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-03T10:11:39.491Z] ---> Running in 61c1de3ada62 [2022-07-03T10:11:39.491Z] Removing intermediate container 61c1de3ada62 [2022-07-03T10:11:39.491Z] ---> ec89deff6734 [2022-07-03T10:11:39.491Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-03T10:11:39.751Z] ---> Running in 8adae5077650 [2022-07-03T10:11:39.751Z] Removing intermediate container 8adae5077650 [2022-07-03T10:11:39.751Z] ---> 5ed23cf2edd4 [2022-07-03T10:11:39.751Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-03T10:11:39.751Z] ---> Running in 18fc8b92fe66 [2022-07-03T10:11:40.320Z] Removing intermediate container 18fc8b92fe66 [2022-07-03T10:11:40.320Z] ---> 9ec1575349f7 [2022-07-03T10:11:40.320Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-03T10:11:40.320Z] ---> Running in 06a4df85fe20 [2022-07-03T10:11:40.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-03T10:11:41.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-03T10:11:42.094Z] OK: 221 MiB in 52 packages [2022-07-03T10:11:42.094Z] Removing intermediate container 06a4df85fe20 [2022-07-03T10:11:42.094Z] ---> 09e24f83cc96 [2022-07-03T10:11:42.094Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-03T10:11:42.355Z] ---> Running in 6fdd2cfaa8b9 [2022-07-03T10:11:42.356Z] Removing intermediate container 6fdd2cfaa8b9 [2022-07-03T10:11:42.356Z] ---> 8a0019ea6e90 [2022-07-03T10:11:42.356Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-03T10:11:42.356Z] ---> 1a728425524c [2022-07-03T10:11:42.356Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-03T10:11:42.616Z] ---> Running in e8ae3eb7cb81 [2022-07-03T10:11:43.187Z] Removing intermediate container e8ae3eb7cb81 [2022-07-03T10:11:43.187Z] ---> 6eaf860a6b84 [2022-07-03T10:11:43.187Z] Step 12/26 : COPY . . [2022-07-03T10:11:43.447Z] ---> 9a553725b89c [2022-07-03T10:11:43.447Z] Step 13/26 : RUN ${MAKE} [2022-07-03T10:11:43.447Z] ---> Running in de02cb436248 [2022-07-03T10:11:43.707Z] 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-03T10:12:05.654Z] Removing intermediate container de02cb436248 [2022-07-03T10:12:05.654Z] ---> 6d2f305dd784 [2022-07-03T10:12:05.654Z] Step 14/26 : FROM alpine:3.15 [2022-07-03T10:12:05.654Z] 3.15: Pulling from library/alpine [2022-07-03T10:12:05.654Z] df9b9388f04a: Pulling fs layer [2022-07-03T10:12:05.654Z] df9b9388f04a: Verifying Checksum [2022-07-03T10:12:05.654Z] df9b9388f04a: Download complete [2022-07-03T10:12:05.654Z] df9b9388f04a: Pull complete [2022-07-03T10:12:05.654Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-03T10:12:05.654Z] Status: Downloaded newer image for alpine:3.15 [2022-07-03T10:12:05.654Z] ---> 0ac33e5f5afa [2022-07-03T10:12:05.654Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-03T10:12:05.654Z] ---> Running in b25c02d5d4a7 [2022-07-03T10:12:05.654Z] Removing intermediate container b25c02d5d4a7 [2022-07-03T10:12:05.654Z] ---> 6e2d7880e612 [2022-07-03T10:12:05.654Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-03T10:12:05.654Z] ---> Running in c5c6ad0743bc [2022-07-03T10:12:05.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-03T10:12:05.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-03T10:12:05.654Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-03T10:12:05.654Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-03T10:12:05.654Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-03T10:12:05.654Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-03T10:12:05.654Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-03T10:12:05.654Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-03T10:12:05.654Z] Executing busybox-1.34.1-r5.trigger [2022-07-03T10:12:05.654Z] OK: 8 MiB in 20 packages [2022-07-03T10:12:05.654Z] Removing intermediate container c5c6ad0743bc [2022-07-03T10:12:05.654Z] ---> 221eb028dd76 [2022-07-03T10:12:05.654Z] Step 17/26 : WORKDIR / [2022-07-03T10:12:05.654Z] ---> Running in 68a99fc535be [2022-07-03T10:12:05.654Z] Removing intermediate container 68a99fc535be [2022-07-03T10:12:05.654Z] ---> 130d3be07048 [2022-07-03T10:12:05.654Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-03T10:12:05.654Z] ---> 1cf459287ab7 [2022-07-03T10:12:05.654Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-03T10:12:05.654Z] ---> c8d51a41880d [2022-07-03T10:12:05.654Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-03T10:12:05.654Z] ---> ba28bb0251e1 [2022-07-03T10:12:05.654Z] Step 21/26 : EXPOSE 59984 [2022-07-03T10:12:05.654Z] ---> Running in 63ad5ad27a6d [2022-07-03T10:12:05.654Z] Removing intermediate container 63ad5ad27a6d [2022-07-03T10:12:05.654Z] ---> c990b40b57a9 [2022-07-03T10:12:05.654Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-03T10:12:05.654Z] ---> Running in 5f3928e4c54e [2022-07-03T10:12:05.654Z] Removing intermediate container 5f3928e4c54e [2022-07-03T10:12:05.654Z] ---> 56e42255794d [2022-07-03T10:12:05.654Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-03T10:12:05.654Z] ---> Running in a6798e0d9626 [2022-07-03T10:12:05.654Z] Removing intermediate container a6798e0d9626 [2022-07-03T10:12:05.654Z] ---> ed74d33f116b [2022-07-03T10:12:05.654Z] Step 24/26 : LABEL arch=amd64 [2022-07-03T10:12:05.654Z] ---> Running in dc24ad20a05a [2022-07-03T10:12:05.654Z] Removing intermediate container dc24ad20a05a [2022-07-03T10:12:05.654Z] ---> 31b30a4ff073 [2022-07-03T10:12:05.654Z] Step 25/26 : LABEL git_sha=cdcad48471ad648bf98d313ce50e2e259a842567 [2022-07-03T10:12:05.654Z] ---> Running in ff8dd635a8f0 [2022-07-03T10:12:05.654Z] Removing intermediate container ff8dd635a8f0 [2022-07-03T10:12:05.654Z] ---> 07a57346daed [2022-07-03T10:12:05.654Z] Step 26/26 : LABEL version=0.0.0 [2022-07-03T10:12:05.914Z] ---> Running in 1cf4bd90f6ba [2022-07-03T10:12:05.914Z] Removing intermediate container 1cf4bd90f6ba [2022-07-03T10:12:05.914Z] ---> 2adfacddc35a [2022-07-03T10:12:05.914Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-03T10:12:05.914Z] Successfully built 2adfacddc35a [2022-07-03T10:12:05.914Z] 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-03T10:12:06.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-03T10:12:06.365Z] [2022-07-03T10:12:06.365Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:12:06.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-03T10:12:06.666Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-03T10:12:06.666Z] 5eb5b503b376: Pulling fs layer [2022-07-03T10:12:06.666Z] 5c69ac0246d0: Pulling fs layer [2022-07-03T10:12:06.666Z] ec43610c2a17: Pulling fs layer [2022-07-03T10:12:06.666Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-03T10:12:06.666Z] 33b1e0a273af: Pulling fs layer [2022-07-03T10:12:06.666Z] 5d3b04190fa2: Pulling fs layer [2022-07-03T10:12:06.666Z] 3a2ae6a8a46f: Waiting [2022-07-03T10:12:06.666Z] 33b1e0a273af: Waiting [2022-07-03T10:12:06.666Z] 5d3b04190fa2: Waiting [2022-07-03T10:12:06.666Z] 2f39f015ded8: Pulling fs layer [2022-07-03T10:12:06.666Z] 5c69ac0246d0: Download complete [2022-07-03T10:12:06.666Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-03T10:12:06.666Z] 3a2ae6a8a46f: Download complete [2022-07-03T10:12:06.666Z] 33b1e0a273af: Verifying Checksum [2022-07-03T10:12:06.666Z] 33b1e0a273af: Download complete [2022-07-03T10:12:06.667Z] ec43610c2a17: Verifying Checksum [2022-07-03T10:12:06.667Z] ec43610c2a17: Download complete [2022-07-03T10:12:06.667Z] 5d3b04190fa2: Verifying Checksum [2022-07-03T10:12:06.667Z] 5d3b04190fa2: Download complete [2022-07-03T10:12:06.925Z] 5eb5b503b376: Download complete [2022-07-03T10:12:07.494Z] 2f39f015ded8: Download complete [2022-07-03T10:12:08.061Z] 5eb5b503b376: Pull complete [2022-07-03T10:12:08.061Z] 5c69ac0246d0: Pull complete [2022-07-03T10:12:08.629Z] ec43610c2a17: Pull complete [2022-07-03T10:12:08.629Z] 3a2ae6a8a46f: Pull complete [2022-07-03T10:12:08.889Z] 33b1e0a273af: Pull complete [2022-07-03T10:12:08.889Z] 5d3b04190fa2: Pull complete [2022-07-03T10:12:13.079Z] 2f39f015ded8: Pull complete [2022-07-03T10:12:13.079Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-03T10:12:13.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-03T10:12:13.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:12:13.170Z] prd-ubuntu20.04-docker-8c-8g-16745 does not seem to be running inside a container [2022-07-03T10:12:13.208Z] $ 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/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-03T10:12:14.562Z] $ docker top 56a51569f21842d984669d9f3394cc9e5d6cdca50fa046b62fb140c68d7b7a0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:12:14.967Z] ---> job-cost.sh [2022-07-03T10:12:14.967Z] lf-activate-venv: SKIPPING [2022-07-03T10:12:14.967Z] INFO: No Stack... [2022-07-03T10:12:15.539Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-03T10:12:16.108Z] INFO: Archiving Costs [Pipeline] sh [2022-07-03T10:12:16.397Z] + cat /w/workspace/oundry_device-onvif-camera_PR-95/archives/cost.csv [2022-07-03T10:12:16.397Z] + cut -d, -f6 [Pipeline] lock [2022-07-03T10:12:16.409Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [2022-07-03T10:12:16.414Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] did not exist. Created. [2022-07-03T10:12:16.414Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-03T10:12:16.721Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-03T10:12:16.746Z] Stashed 1 file(s) [Pipeline] } [2022-07-03T10:12:16.752Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-03T10:12:16.774Z] $ docker stop --time=1 56a51569f21842d984669d9f3394cc9e5d6cdca50fa046b62fb140c68d7b7a0f [2022-07-03T10:12:17.951Z] $ docker rm -f 56a51569f21842d984669d9f3394cc9e5d6cdca50fa046b62fb140c68d7b7a0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-03T10:12:27.397Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16746 in /w/workspace/oundry_device-onvif-camera_PR-95 [Pipeline] { [Pipeline] ws [2022-07-03T10:12:27.410Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-07-03T10:12:27.463Z] Selected Git installation does not exist. Using Default [2022-07-03T10:12:27.463Z] The recommended git tool is: NONE [2022-07-03T10:12:33.941Z] using credential edgex-jenkins-ssh [2022-07-03T10:12:33.961Z] Cloning the remote Git repository [2022-07-03T10:12:34.034Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-03T10:12:34.111Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-07-03T10:12:34.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-03T10:12:34.205Z] > git --version # timeout=10 [2022-07-03T10:12:34.228Z] > git --version # 'git version 2.25.1' [2022-07-03T10:12:34.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-03T10:12:34.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-03T10:12:35.812Z] Merging remotes/origin/main commit 84f2c4fd4e35f46928256df416a01a34dc7a6192 into PR head commit 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 [2022-07-03T10:12:36.186Z] Merge succeeded, producing 18cfc470b0cbc4d8ed77d446677bbc43d236647a [2022-07-03T10:12:36.187Z] Checking out Revision 18cfc470b0cbc4d8ed77d446677bbc43d236647a (PR-95) [2022-07-03T10:12:35.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-03T10:12:35.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-03T10:12:35.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-03T10:12:35.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-03T10:12:35.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-03T10:12:35.333Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-03T10:12:35.831Z] > git config core.sparsecheckout # timeout=10 [2022-07-03T10:12:35.847Z] > git checkout -f 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 # timeout=10 [2022-07-03T10:12:35.979Z] > git remote # timeout=10 [2022-07-03T10:12:35.996Z] > git config --get remote.origin.url # timeout=10 [2022-07-03T10:12:36.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-03T10:12:36.022Z] > git merge 84f2c4fd4e35f46928256df416a01a34dc7a6192 # timeout=10 [2022-07-03T10:12:36.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-03T10:12:36.194Z] > git config core.sparsecheckout # timeout=10 [2022-07-03T10:12:36.209Z] > git checkout -f 18cfc470b0cbc4d8ed77d446677bbc43d236647a # timeout=10 [2022-07-03T10:12:40.328Z] Commit message: "Merge commit '84f2c4fd4e35f46928256df416a01a34dc7a6192' into HEAD" [2022-07-03T10:12:40.338Z] > git rev-list --no-walk 9f970c1308bff83b3cc4a4d04c624c6b5ffd2ba2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-03T10:12:41.292Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-03T10:12:41.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-03T10:12:41.292Z] Dload Upload Total Spent Left Speed [2022-07-03T10:12:41.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-07-03T10:12:42.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-03T10:12:42.402Z] + + sudo jqsudo tee /etc/docker/daemon.new [2022-07-03T10:12:42.402Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-03T10:12:42.402Z] { [2022-07-03T10:12:42.402Z] "registry-mirrors": [ [2022-07-03T10:12:42.402Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-03T10:12:42.402Z] ], [2022-07-03T10:12:42.402Z] "bip": "10.250.0.254/24", [2022-07-03T10:12:42.402Z] "hosts": [ [2022-07-03T10:12:42.402Z] "tcp://0.0.0.0:5555", [2022-07-03T10:12:42.402Z] "unix:///var/run/docker.sock" [2022-07-03T10:12:42.402Z] ], [2022-07-03T10:12:42.402Z] "mtu": 1458, [2022-07-03T10:12:42.402Z] "selinux-enabled": true, [2022-07-03T10:12:42.402Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-03T10:12:42.402Z] } [Pipeline] sh [2022-07-03T10:12:42.745Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-03T10:12:43.082Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-03T10:13:01.617Z] provisioning config files... [2022-07-03T10:13:01.649Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config6942695613313779620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:13:02.004Z] ---> docker-login.sh [2022-07-03T10:13:02.004Z] nexus3.edgexfoundry.org:10001 [2022-07-03T10:13:02.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:13:02.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:13:02.877Z] Configure a credential helper to remove this warning. See [2022-07-03T10:13:02.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:13:02.877Z] [2022-07-03T10:13:02.877Z] Login Succeeded [2022-07-03T10:13:02.877Z] nexus3.edgexfoundry.org:10002 [2022-07-03T10:13:03.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:13:03.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:13:03.151Z] Configure a credential helper to remove this warning. See [2022-07-03T10:13:03.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:13:03.151Z] [2022-07-03T10:13:03.151Z] Login Succeeded [2022-07-03T10:13:03.151Z] nexus3.edgexfoundry.org:10003 [2022-07-03T10:13:03.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:13:03.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:13:03.699Z] Configure a credential helper to remove this warning. See [2022-07-03T10:13:03.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:13:03.699Z] [2022-07-03T10:13:03.699Z] Login Succeeded [2022-07-03T10:13:03.699Z] nexus3.edgexfoundry.org:10004 [2022-07-03T10:13:03.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:13:03.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:13:03.982Z] Configure a credential helper to remove this warning. See [2022-07-03T10:13:03.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:13:03.982Z] [2022-07-03T10:13:03.982Z] Login Succeeded [2022-07-03T10:13:03.982Z] docker.io [2022-07-03T10:13:04.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-03T10:13:04.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-03T10:13:04.849Z] Configure a credential helper to remove this warning. See [2022-07-03T10:13:04.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-03T10:13:04.849Z] [2022-07-03T10:13:04.849Z] Login Succeeded [2022-07-03T10:13:04.849Z] ---> docker-login.sh ends [Pipeline] } [2022-07-03T10:13:04.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-03T10:13:05.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-03T10:13:05.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-03T10:13:05.148Z] ========================================================= [2022-07-03T10:13:05.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-03T10:13:05.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:13:05.504Z] + 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-03T10:13:05.777Z] Sending build context to Docker daemon 6.405MB [2022-07-03T10:13:05.777Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-03T10:13:05.777Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-03T10:13:06.061Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-03T10:13:06.061Z] 9b3977197b4f: Pulling fs layer [2022-07-03T10:13:06.061Z] 1a89e8eeedd5: Pulling fs layer [2022-07-03T10:13:06.061Z] 94645a83ff95: Pulling fs layer [2022-07-03T10:13:06.061Z] e6fb740bc735: Pulling fs layer [2022-07-03T10:13:06.061Z] 3a77bd46dcc9: Pulling fs layer [2022-07-03T10:13:06.061Z] 355e64cbe906: Pulling fs layer [2022-07-03T10:13:06.061Z] 63ab81a10011: Pulling fs layer [2022-07-03T10:13:06.061Z] 555d1d1c4555: Pulling fs layer [2022-07-03T10:13:06.061Z] 7d9057610161: Pulling fs layer [2022-07-03T10:13:06.061Z] 355e64cbe906: Waiting [2022-07-03T10:13:06.061Z] 63ab81a10011: Waiting [2022-07-03T10:13:06.061Z] 555d1d1c4555: Waiting [2022-07-03T10:13:06.061Z] 7d9057610161: Waiting [2022-07-03T10:13:06.061Z] e6fb740bc735: Waiting [2022-07-03T10:13:06.061Z] 3a77bd46dcc9: Waiting [2022-07-03T10:13:06.061Z] 94645a83ff95: Verifying Checksum [2022-07-03T10:13:06.061Z] 94645a83ff95: Download complete [2022-07-03T10:13:06.061Z] 1a89e8eeedd5: Verifying Checksum [2022-07-03T10:13:06.061Z] 1a89e8eeedd5: Download complete [2022-07-03T10:13:06.061Z] 3a77bd46dcc9: Download complete [2022-07-03T10:13:06.061Z] 9b3977197b4f: Verifying Checksum [2022-07-03T10:13:06.061Z] 9b3977197b4f: Download complete [2022-07-03T10:13:06.061Z] 355e64cbe906: Verifying Checksum [2022-07-03T10:13:06.061Z] 355e64cbe906: Download complete [2022-07-03T10:13:06.061Z] 63ab81a10011: Download complete [2022-07-03T10:13:07.054Z] 9b3977197b4f: Pull complete [2022-07-03T10:13:07.362Z] 7d9057610161: Verifying Checksum [2022-07-03T10:13:07.362Z] 7d9057610161: Download complete [2022-07-03T10:13:07.642Z] 1a89e8eeedd5: Pull complete [2022-07-03T10:13:07.924Z] 94645a83ff95: Pull complete [2022-07-03T10:13:08.524Z] 555d1d1c4555: Verifying Checksum [2022-07-03T10:13:08.524Z] 555d1d1c4555: Download complete [2022-07-03T10:13:09.125Z] e6fb740bc735: Verifying Checksum [2022-07-03T10:13:09.125Z] e6fb740bc735: Download complete [2022-07-03T10:13:21.540Z] e6fb740bc735: Pull complete [2022-07-03T10:13:21.541Z] 3a77bd46dcc9: Pull complete [2022-07-03T10:13:21.541Z] 355e64cbe906: Pull complete [2022-07-03T10:13:21.541Z] 63ab81a10011: Pull complete [2022-07-03T10:13:28.265Z] 555d1d1c4555: Pull complete [2022-07-03T10:13:29.263Z] 7d9057610161: Pull complete [2022-07-03T10:13:29.263Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-03T10:13:29.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-03T10:13:29.263Z] ---> 819e984ddca1 [2022-07-03T10:13:29.263Z] Step 3/13 : ARG MAKE="make build" [2022-07-03T10:13:31.255Z] ---> Running in 5231c0f13120 [2022-07-03T10:13:31.255Z] Removing intermediate container 5231c0f13120 [2022-07-03T10:13:31.255Z] ---> 0297151c6612 [2022-07-03T10:13:31.255Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-03T10:13:31.255Z] ---> Running in 07345eb41bac [2022-07-03T10:13:31.531Z] Removing intermediate container 07345eb41bac [2022-07-03T10:13:31.531Z] ---> a4f525d4c615 [2022-07-03T10:13:31.531Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-03T10:13:31.531Z] ---> Running in 50ec1047718f [2022-07-03T10:13:31.816Z] Removing intermediate container 50ec1047718f [2022-07-03T10:13:31.816Z] ---> 076d90703bae [2022-07-03T10:13:31.816Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-03T10:13:32.090Z] ---> Running in c61b787854c7 [2022-07-03T10:13:32.362Z] Removing intermediate container c61b787854c7 [2022-07-03T10:13:32.362Z] ---> 758b1cbc7afe [2022-07-03T10:13:32.362Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-03T10:13:32.362Z] ---> Running in 92312f1f203c [2022-07-03T10:13:34.348Z] Removing intermediate container 92312f1f203c [2022-07-03T10:13:34.348Z] ---> 7f9a2c625c9f [2022-07-03T10:13:34.348Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-03T10:13:34.348Z] ---> Running in 7e07e9ccf2c8 [2022-07-03T10:13:35.332Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-03T10:13:36.320Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-03T10:13:36.944Z] OK: 220 MiB in 52 packages [2022-07-03T10:13:37.932Z] Removing intermediate container 7e07e9ccf2c8 [2022-07-03T10:13:37.932Z] ---> 16d0e76b7788 [2022-07-03T10:13:37.932Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-03T10:13:37.932Z] ---> Running in 83b2b3508d27 [2022-07-03T10:13:38.206Z] Removing intermediate container 83b2b3508d27 [2022-07-03T10:13:38.206Z] ---> 375c421ed14d [2022-07-03T10:13:38.206Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-03T10:13:38.814Z] ---> 5eb39613080d [2022-07-03T10:13:38.814Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-03T10:13:38.814Z] ---> Running in e0dcef87c932 [2022-07-03T10:14:25.837Z] Removing intermediate container e0dcef87c932 [2022-07-03T10:14:25.837Z] ---> 4c2ef5935bdd [2022-07-03T10:14:25.837Z] Step 12/13 : COPY . . [2022-07-03T10:14:25.837Z] ---> 1f52d0c59cfa [2022-07-03T10:14:25.837Z] Step 13/13 : RUN ${MAKE} [2022-07-03T10:14:25.837Z] ---> Running in c1bd6ad47b5b [2022-07-03T10:14:25.837Z] noop [2022-07-03T10:14:26.435Z] Removing intermediate container c1bd6ad47b5b [2022-07-03T10:14:26.435Z] ---> 585a47bd9b7e [2022-07-03T10:14:26.435Z] Successfully built 585a47bd9b7e [2022-07-03T10:14:26.435Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:14:27.005Z] + docker inspect -f . ci-base-image-arm64 [2022-07-03T10:14:27.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:14:27.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-16746 does not seem to be running inside a container [2022-07-03T10:14:27.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-03T10:14:28.603Z] $ docker top c58d4350127b180aaf44eba699840bcc64f2a39fa060c638771818b1aa46f6b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-03T10:14:29.500Z] + go version [2022-07-03T10:14:29.500Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-03T10:14:29.535Z] $ docker stop --time=1 c58d4350127b180aaf44eba699840bcc64f2a39fa060c638771818b1aa46f6b9 [2022-07-03T10:14:31.153Z] $ docker rm -f c58d4350127b180aaf44eba699840bcc64f2a39fa060c638771818b1aa46f6b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:14:31.749Z] + docker inspect -f . ci-base-image-arm64 [2022-07-03T10:14:31.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:14:32.003Z] prd-ubuntu20.04-docker-arm64-4c-16g-16746 does not seem to be running inside a container [2022-07-03T10:14:32.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-03T10:14:33.358Z] $ docker top 53a56d82941e74e34c1c24b8bee25e5c3a917cc8b1607f042378fbe162962a9e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-03T10:14:34.259Z] + make test [2022-07-03T10:14:34.259Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-03T10:14:36.251Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-03T10:16:13.116Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-03T10:16:13.116Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 7.0% of statements [2022-07-03T10:16:13.116Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-03T10:16:31.395Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.924s coverage: 13.8% of statements [2022-07-03T10:16:31.395Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-03T10:16:31.395Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-03T10:16:58.231Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-03T10:16:58.231Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-03T10:16:58.231Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-03T10:17:00.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-03T10:17:00.260Z] $ docker stop --time=1 53a56d82941e74e34c1c24b8bee25e5c3a917cc8b1607f042378fbe162962a9e [2022-07-03T10:17:02.013Z] $ docker rm -f 53a56d82941e74e34c1c24b8bee25e5c3a917cc8b1607f042378fbe162962a9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-03T10:17:02.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-03T10:17:02.988Z] Warning: overwriting stash ‘coverage-report’ [2022-07-03T10:17:03.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-03T10:17:03.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-03T10:17:04.204Z] + ls -al . [2022-07-03T10:17:04.204Z] total 244 [2022-07-03T10:17:04.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 10:16 . [2022-07-03T10:17:04.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:12 .. [2022-07-03T10:17:04.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 10:12 .git [2022-07-03T10:17:04.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 10:12 .github [2022-07-03T10:17:04.204Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 3 10:12 .gitignore [2022-07-03T10:17:04.204Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 10:12 .golangci.yml [2022-07-03T10:17:04.204Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 3 10:12 Attribution.txt [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 3 10:12 CHANGELOG.md [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jul 3 10:12 Dockerfile [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 10:12 GOVERNANCE.md [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 10:12 Jenkinsfile [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 10:12 LICENSE [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 3 10:12 Makefile [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 10:12 OWNERS.md [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 3 10:12 README.md [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 10:10 VERSION [2022-07-03T10:17:04.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 10:12 bin [2022-07-03T10:17:04.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 10:12 cmd [2022-07-03T10:17:04.205Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 3 10:16 coverage.out [2022-07-03T10:17:04.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:12 doc [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 3 10:12 go.mod [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 3 10:12 go.sum [2022-07-03T10:17:04.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 10:12 internal [2022-07-03T10:17:04.205Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:17:04.561Z] + 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=18cfc470b0cbc4d8ed77d446677bbc43d236647a --label arch=arm64 --label version=0.0.0 . [2022-07-03T10:17:04.837Z] Sending build context to Docker daemon 6.476MB [2022-07-03T10:17:04.837Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-03T10:17:04.837Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-03T10:17:04.837Z] ---> 585a47bd9b7e [2022-07-03T10:17:04.837Z] Step 3/26 : ARG MAKE="make build" [2022-07-03T10:17:05.113Z] ---> Running in da6ecb4c95bc [2022-07-03T10:17:05.390Z] Removing intermediate container da6ecb4c95bc [2022-07-03T10:17:05.390Z] ---> 8f0e556d34b2 [2022-07-03T10:17:05.390Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-03T10:17:05.390Z] ---> Running in 58214e09341e [2022-07-03T10:17:05.664Z] Removing intermediate container 58214e09341e [2022-07-03T10:17:05.664Z] ---> 66986c75af8c [2022-07-03T10:17:05.664Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-03T10:17:05.941Z] ---> Running in 61be3cde6f74 [2022-07-03T10:17:06.216Z] Removing intermediate container 61be3cde6f74 [2022-07-03T10:17:06.216Z] ---> a50fc78d8e64 [2022-07-03T10:17:06.216Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-03T10:17:06.216Z] ---> Running in 23ff1c6eebb2 [2022-07-03T10:17:06.490Z] Removing intermediate container 23ff1c6eebb2 [2022-07-03T10:17:06.490Z] ---> 7ffb19a81aa9 [2022-07-03T10:17:06.490Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-03T10:17:06.490Z] ---> Running in 53d07c890e3f [2022-07-03T10:17:08.477Z] Removing intermediate container 53d07c890e3f [2022-07-03T10:17:08.477Z] ---> d3f5e16713d1 [2022-07-03T10:17:08.477Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-03T10:17:08.477Z] ---> Running in b25ce2436ca3 [2022-07-03T10:17:09.454Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-03T10:17:10.050Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-03T10:17:11.034Z] OK: 220 MiB in 52 packages [2022-07-03T10:17:11.634Z] Removing intermediate container b25ce2436ca3 [2022-07-03T10:17:11.634Z] ---> cd72c9098e66 [2022-07-03T10:17:11.634Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-03T10:17:11.909Z] ---> Running in ddb77b7afc05 [2022-07-03T10:17:12.184Z] Removing intermediate container ddb77b7afc05 [2022-07-03T10:17:12.184Z] ---> 05ace1b69225 [2022-07-03T10:17:12.184Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-03T10:17:12.788Z] ---> 9f92f60e6ac3 [2022-07-03T10:17:12.789Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-03T10:17:12.789Z] ---> Running in 23b06bf90aec [2022-07-03T10:17:14.784Z] Removing intermediate container 23b06bf90aec [2022-07-03T10:17:14.784Z] ---> e2b5514843bc [2022-07-03T10:17:14.784Z] Step 12/26 : COPY . . [2022-07-03T10:17:15.779Z] ---> 0639223d2d1f [2022-07-03T10:17:15.780Z] Step 13/26 : RUN ${MAKE} [2022-07-03T10:17:15.780Z] ---> Running in 0b4aa459ca85 [2022-07-03T10:17:16.770Z] 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-03T10:19:23.695Z] Removing intermediate container 0b4aa459ca85 [2022-07-03T10:19:23.695Z] ---> ea20c274d567 [2022-07-03T10:19:23.695Z] Step 14/26 : FROM alpine:3.15 [2022-07-03T10:19:23.695Z] 3.15: Pulling from library/alpine [2022-07-03T10:19:23.695Z] 9981e73032c8: Pulling fs layer [2022-07-03T10:19:23.695Z] 9981e73032c8: Download complete [2022-07-03T10:19:23.695Z] 9981e73032c8: Pull complete [2022-07-03T10:19:23.695Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-03T10:19:23.695Z] Status: Downloaded newer image for alpine:3.15 [2022-07-03T10:19:23.695Z] ---> 3fb3c9af89a9 [2022-07-03T10:19:23.695Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-03T10:19:23.695Z] ---> Running in 793380cc7621 [2022-07-03T10:19:23.695Z] Removing intermediate container 793380cc7621 [2022-07-03T10:19:23.695Z] ---> 943c1105fbb2 [2022-07-03T10:19:23.695Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-03T10:19:23.695Z] ---> Running in d72153dbe6e8 [2022-07-03T10:19:23.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-03T10:19:23.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-03T10:19:23.695Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-03T10:19:23.695Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-03T10:19:23.695Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-03T10:19:23.695Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-03T10:19:23.695Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-03T10:19:23.695Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-03T10:19:23.695Z] Executing busybox-1.34.1-r5.trigger [2022-07-03T10:19:23.695Z] OK: 8 MiB in 20 packages [2022-07-03T10:19:23.695Z] Removing intermediate container d72153dbe6e8 [2022-07-03T10:19:23.695Z] ---> 3f9665ee54de [2022-07-03T10:19:23.695Z] Step 17/26 : WORKDIR / [2022-07-03T10:19:23.695Z] ---> Running in f42193f991bb [2022-07-03T10:19:23.695Z] Removing intermediate container f42193f991bb [2022-07-03T10:19:23.695Z] ---> 790453cabaad [2022-07-03T10:19:23.695Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-03T10:19:23.695Z] ---> c459aeae5f68 [2022-07-03T10:19:23.695Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-03T10:19:23.695Z] ---> d643fefce383 [2022-07-03T10:19:23.695Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-03T10:19:23.695Z] ---> e6eab1e1c3b1 [2022-07-03T10:19:23.695Z] Step 21/26 : EXPOSE 59984 [2022-07-03T10:19:23.695Z] ---> Running in 4adc63019ab2 [2022-07-03T10:19:23.968Z] Removing intermediate container 4adc63019ab2 [2022-07-03T10:19:23.968Z] ---> fa56a6522e00 [2022-07-03T10:19:23.968Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-03T10:19:23.968Z] ---> Running in e558a19eef34 [2022-07-03T10:19:24.250Z] Removing intermediate container e558a19eef34 [2022-07-03T10:19:24.250Z] ---> 8e32343c054f [2022-07-03T10:19:24.250Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-03T10:19:24.523Z] ---> Running in 5010dae9408c [2022-07-03T10:19:24.797Z] Removing intermediate container 5010dae9408c [2022-07-03T10:19:24.797Z] ---> 4d792fd52723 [2022-07-03T10:19:24.797Z] Step 24/26 : LABEL arch=arm64 [2022-07-03T10:19:24.797Z] ---> Running in 65fc1b934c78 [2022-07-03T10:19:25.071Z] Removing intermediate container 65fc1b934c78 [2022-07-03T10:19:25.071Z] ---> 3fe1ee9e1414 [2022-07-03T10:19:25.071Z] Step 25/26 : LABEL git_sha=18cfc470b0cbc4d8ed77d446677bbc43d236647a [2022-07-03T10:19:25.071Z] ---> Running in 3779474ac5a3 [2022-07-03T10:19:25.346Z] Removing intermediate container 3779474ac5a3 [2022-07-03T10:19:25.346Z] ---> 2383badfd716 [2022-07-03T10:19:25.346Z] Step 26/26 : LABEL version=0.0.0 [2022-07-03T10:19:25.625Z] ---> Running in 07317e5513c6 [2022-07-03T10:19:25.898Z] Removing intermediate container 07317e5513c6 [2022-07-03T10:19:25.898Z] ---> 729e5812a7f9 [2022-07-03T10:19:25.898Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-03T10:19:25.898Z] Successfully built 729e5812a7f9 [2022-07-03T10:19:25.898Z] 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-03T10:19:26.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-03T10:19:26.366Z] [2022-07-03T10:19:26.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:19:26.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-03T10:19:26.990Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-03T10:19:26.990Z] 8998bd30e6a1: Pulling fs layer [2022-07-03T10:19:26.990Z] 04944245beec: Pulling fs layer [2022-07-03T10:19:26.990Z] 699f458cf7ca: Pulling fs layer [2022-07-03T10:19:26.990Z] 765212b225bb: Pulling fs layer [2022-07-03T10:19:26.990Z] f23df028b6ca: Pulling fs layer [2022-07-03T10:19:26.990Z] d65c8cfc05b1: Pulling fs layer [2022-07-03T10:19:26.990Z] 2437ff75d9bd: Pulling fs layer [2022-07-03T10:19:26.990Z] 765212b225bb: Waiting [2022-07-03T10:19:26.990Z] d65c8cfc05b1: Waiting [2022-07-03T10:19:26.990Z] f23df028b6ca: Waiting [2022-07-03T10:19:26.990Z] 2437ff75d9bd: Waiting [2022-07-03T10:19:26.990Z] 04944245beec: Verifying Checksum [2022-07-03T10:19:26.990Z] 04944245beec: Download complete [2022-07-03T10:19:26.990Z] 765212b225bb: Verifying Checksum [2022-07-03T10:19:26.990Z] 765212b225bb: Download complete [2022-07-03T10:19:26.990Z] f23df028b6ca: Verifying Checksum [2022-07-03T10:19:26.990Z] f23df028b6ca: Download complete [2022-07-03T10:19:26.990Z] d65c8cfc05b1: Verifying Checksum [2022-07-03T10:19:26.990Z] d65c8cfc05b1: Download complete [2022-07-03T10:19:27.266Z] 699f458cf7ca: Verifying Checksum [2022-07-03T10:19:27.266Z] 699f458cf7ca: Download complete [2022-07-03T10:19:27.541Z] 8998bd30e6a1: Verifying Checksum [2022-07-03T10:19:27.541Z] 8998bd30e6a1: Download complete [2022-07-03T10:19:30.174Z] 2437ff75d9bd: Verifying Checksum [2022-07-03T10:19:30.174Z] 2437ff75d9bd: Download complete [2022-07-03T10:19:31.616Z] 8998bd30e6a1: Pull complete [2022-07-03T10:19:32.214Z] 04944245beec: Pull complete [2022-07-03T10:19:33.653Z] 699f458cf7ca: Pull complete [2022-07-03T10:19:33.926Z] 765212b225bb: Pull complete [2022-07-03T10:19:34.908Z] f23df028b6ca: Pull complete [2022-07-03T10:19:35.188Z] d65c8cfc05b1: Pull complete [2022-07-03T10:19:50.290Z] 2437ff75d9bd: Pull complete [2022-07-03T10:19:50.290Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-03T10:19:50.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-03T10:19:50.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:19:50.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-16746 does not seem to be running inside a container [2022-07-03T10:19:50.638Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-03T10:19:53.181Z] $ docker top c7d400a8862796188bd71c9797ae34efa5cbc275bb4771237d2a84fc4843332b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:19:54.099Z] ---> job-cost.sh [2022-07-03T10:19:54.099Z] lf-activate-venv: SKIPPING [2022-07-03T10:19:54.099Z] INFO: No Stack... [2022-07-03T10:19:54.695Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-03T10:19:55.289Z] INFO: Archiving Costs [Pipeline] sh [2022-07-03T10:19:55.952Z] + cut -d, -f6 [2022-07-03T10:19:55.952Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock [2022-07-03T10:19:56.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [2022-07-03T10:19:56.026Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] did not exist. Created. [2022-07-03T10:19:56.026Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-03T10:19:56.702Z] /w/workspace/device-onvif-camera/4@tmp/durable-b2a2df94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-03T10:19:57.411Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-03T10:19:57.441Z] Warning: overwriting stash ‘stack-cost’ [2022-07-03T10:19:57.487Z] Stashed 1 file(s) [Pipeline] } [2022-07-03T10:19:57.494Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-95-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-03T10:19:57.531Z] $ docker stop --time=1 c7d400a8862796188bd71c9797ae34efa5cbc275bb4771237d2a84fc4843332b [2022-07-03T10:19:59.008Z] $ docker rm -f c7d400a8862796188bd71c9797ae34efa5cbc275bb4771237d2a84fc4843332b [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-03T10:19:59.428Z] provisioning config files... [2022-07-03T10:19:59.473Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config2419074825525200262tmp [Pipeline] { [Pipeline] sh [2022-07-03T10:19:59.757Z] + set +x [2022-07-03T10:19:59.757Z] + curl -s https://codecov.io/bash [2022-07-03T10:19:59.757Z] + bash -s -- [2022-07-03T10:19:59.757Z] [2022-07-03T10:19:59.757Z] _____ _ [2022-07-03T10:19:59.757Z] / ____| | | [2022-07-03T10:19:59.757Z] | | ___ __| | ___ ___ _____ __ [2022-07-03T10:19:59.757Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-03T10:19:59.757Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-03T10:19:59.757Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-03T10:19:59.757Z] Bash-1.0.6 [2022-07-03T10:19:59.757Z] [2022-07-03T10:19:59.757Z] [2022-07-03T10:19:59.757Z] ==> git version 2.25.1 found [2022-07-03T10:19:59.757Z] ==> 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-03T10:19:59.757Z] Release-Date: 2020-01-08 [2022-07-03T10:19:59.757Z] 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-03T10:19:59.757Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-03T10:19:59.757Z] ==> Jenkins CI detected. [2022-07-03T10:19:59.757Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-95 [2022-07-03T10:19:59.757Z] project root: . [2022-07-03T10:19:59.757Z] --> token set from env [2022-07-03T10:19:59.757Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-03T10:19:59.757Z] ==> Running gcov in . (disable via -X gcov) [2022-07-03T10:19:59.757Z] ==> Python coveragepy not found [2022-07-03T10:19:59.757Z] ==> Searching for coverage reports in: [2022-07-03T10:19:59.757Z] + . [2022-07-03T10:19:59.757Z] -> Found 1 reports [2022-07-03T10:19:59.757Z] ==> Detecting git/mercurial file structure [2022-07-03T10:20:00.018Z] ==> Reading reports [2022-07-03T10:20:00.018Z] + ./coverage.out bytes=70262 [2022-07-03T10:20:00.018Z] ==> Appending adjustments [2022-07-03T10:20:00.018Z] https://docs.codecov.io/docs/fixing-reports [2022-07-03T10:20:00.018Z] + Found adjustments [2022-07-03T10:20:00.018Z] ==> Gzipping contents [2022-07-03T10:20:00.018Z] 12K /tmp/codecov.kmOUXU.gz [2022-07-03T10:20:00.018Z] ==> Uploading reports [2022-07-03T10:20:00.018Z] url: https://codecov.io [2022-07-03T10:20:00.018Z] query: branch=PR-95&commit=cdcad48471ad648bf98d313ce50e2e259a842567&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-95%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-07-03T10:20:00.018Z] -> Pinging Codecov [2022-07-03T10:20:00.018Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-95&commit=cdcad48471ad648bf98d313ce50e2e259a842567&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-95%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-07-03T10:20:00.278Z] -> Uploading to [2022-07-03T10:20:00.278Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-03/F29A59C45E3A92E06B3E522C9905F8EF/cdcad48471ad648bf98d313ce50e2e259a842567/ce17633f-d27f-48ad-a2a9-0e0e01ab9877.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220703%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220703T102000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc1e0e99db4b7a491ed12c3c1c3b53561edf9df077b5a6d435a7b4f4c833be0c [2022-07-03T10:20:00.278Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-03T10:20:00.278Z] Dload Upload Total Spent Left Speed [2022-07-03T10:20:00.538Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9321 0 0 100 9321 0 34779 --:--:-- --:--:-- --:--:-- 34779 [2022-07-03T10:20:00.538Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/cdcad48471ad648bf98d313ce50e2e259a842567 [Pipeline] } [2022-07-03T10:20:00.547Z] 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-03T10:20:01.257Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-95/archives ] [2022-07-03T10:20:01.257Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-07-03T10:20:01.257Z] total 16 [2022-07-03T10:20:01.257Z] drwxr-xr-x 3 root root 4096 Jul 3 10:12 . [2022-07-03T10:20:01.257Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 10:12 .. [2022-07-03T10:20:01.257Z] drwxr-xr-x 2 root root 4096 Jul 3 10:12 cost [2022-07-03T10:20:01.257Z] -rw-r--r-- 1 root root 89 Jul 3 10:12 cost.csv [2022-07-03T10:20:01.257Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-07-03T10:20:01.257Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-95/archives [2022-07-03T10:20:01.257Z] total 16 [2022-07-03T10:20:01.257Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 10:12 . [2022-07-03T10:20:01.257Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 10:12 .. [2022-07-03T10:20:01.257Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 10:12 cost [2022-07-03T10:20:01.257Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 3 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:01.550Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:02.415Z] ---> package-listing.sh [2022-07-03T10:20:02.415Z] ++ facter osfamily [2022-07-03T10:20:02.416Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-03T10:20:02.676Z] + OS_FAMILY=debian [2022-07-03T10:20:02.676Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-95 [2022-07-03T10:20:02.676Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-03T10:20:02.676Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-03T10:20:02.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-03T10:20:02.676Z] + PACKAGES=/tmp/packages_start.txt [2022-07-03T10:20:02.676Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-95 ']' [2022-07-03T10:20:02.676Z] + PACKAGES=/tmp/packages_end.txt [2022-07-03T10:20:02.676Z] + case "${OS_FAMILY}" in [2022-07-03T10:20:02.676Z] + dpkg -l [2022-07-03T10:20:02.676Z] + grep '^ii' [2022-07-03T10:20:02.676Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-03T10:20:02.676Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-03T10:20:02.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-03T10:20:02.676Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-95 ']' [2022-07-03T10:20:02.676Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-95/archives/ [2022-07-03T10:20:02.676Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-95/archives/ [Pipeline] echo [2022-07-03T10:20:02.688Z] 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/oundry_device-onvif-camera_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-03T10:20:02.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-03T10:20:03.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-03T10:20:03.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-03T10:20:03.626Z] prd-ubuntu20.04-docker-8c-8g-16745 does not seem to be running inside a container [2022-07-03T10:20:03.663Z] $ 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/oundry_device-onvif-camera_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-95 -v /w/workspace/oundry_device-onvif-camera_PR-95:/w/workspace/oundry_device-onvif-camera_PR-95:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-95@tmp:/w/workspace/oundry_device-onvif-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-03T10:20:03.884Z] $ docker top aa7e1c422fe29e7dea239f91b2cb26f888550e331b1cd2ed164fe4cd6df83400 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-03T10:20:04.231Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-03T10:20:04.516Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-03T10:20:04.803Z] + ls /var/log/sa-host [2022-07-03T10:20:04.803Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-03T10:20:04.929Z] provisioning config files... [2022-07-03T10:20:04.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-95@tmp/config771023023651753187tmp [Pipeline] { [Pipeline] echo [2022-07-03T10:20:04.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:05.236Z] ---> create-netrc.sh [Pipeline] } [2022-07-03T10:20:05.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:05.575Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-03T10:20:05.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:05.878Z] ---> sudo-logs.sh [2022-07-03T10:20:05.878Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-03T10:20:05.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:06.198Z] ---> job-cost.sh [2022-07-03T10:20:06.198Z] lf-activate-venv: SKIPPING [2022-07-03T10:20:06.198Z] DEBUG: total: 0.2199999988079071 [2022-07-03T10:20:06.198Z] INFO: Retrieving Stack Cost... [2022-07-03T10:20:06.769Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-03T10:20:07.341Z] INFO: Archiving Costs [Pipeline] echo [2022-07-03T10:20:07.355Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-03T10:20:07.640Z] ---> logs-deploy.sh [2022-07-03T10:20:07.640Z] lf-activate-venv: SKIPPING [2022-07-03T10:20:07.640Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-95/4 [2022-07-03T10:20:07.640Z] INFO: archiving workspace using pattern(s): [2022-07-03T10:20:08.584Z] Archives upload complete. [2022-07-03T10:20:08.584Z] INFO: archiving logs to Nexus