Pull request #81 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than d30445001878abf4c54c4ca31f60f8a97b421f13 Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh9844458587091427791.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-ssh13616976334686071485.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-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1723196801793022010.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-ssh11887257360509384880.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-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9595712624596177660.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-1704 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-81 # 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 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit d30445001878abf4c54c4ca31f60f8a97b421f13 Merge succeeded, producing 436d56586c1d1d2fdd7d99625b2ffd703462d71c Checking out Revision 436d56586c1d1d2fdd7d99625b2ffd703462d71c (PR-81) using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d30445001878abf4c54c4ca31f60f8a97b421f13 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 436d56586c1d1d2fdd7d99625b2ffd703462d71c # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-08T00:16:11.775Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T00:16:11.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T00:16:11.825Z] ========================================================= [2022-06-08T00:16:11.825Z] EdgeX Global Pipelines Version Info [2022-06-08T00:16:11.825Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 052c4580b86cd1498d1d9db9b1015ee6c8817924 # timeout=10 [2022-06-08T00:16:12.578Z] ------------------- [2022-06-08T00:16:12.578Z] stable info: [2022-06-08T00:16:12.578Z] ------------------- [2022-06-08T00:16:12.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T00:16:12.578Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T00:16:12.578Z] Message: update stable to v1.0.234 [2022-06-08T00:16:13.151Z] ------------------- [2022-06-08T00:16:13.151Z] experimental info: [2022-06-08T00:16:13.151Z] ------------------- [2022-06-08T00:16:13.151Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T00:16:13.151Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T00:16:13.151Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T00:16:13.344Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-08T00:16:13.358Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-08T00:16:13.368Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T00:16:13.381Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T00:16:13.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T00:16:13.403Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T00:16:13.414Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T00:16:13.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T00:16:13.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T00:16:13.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T00:16:13.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T00:16:13.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-08T00:16:13.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T00:16:13.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T00:16:13.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T00:16:13.510Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T00:16:13.518Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T00:16:13.527Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T00:16:13.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T00:16:13.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-08T00:16:13.556Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T00:16:13.565Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T00:16:13.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T00:16:13.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T00:16:13.605Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T00:16:13.618Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T00:16:13.634Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T00:16:13.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-08T00:16:13.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-08T00:16:13.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-08T00:16:13.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 436d56586c1d1d2fdd7d99625b2ffd703462d71c [Pipeline] echo [2022-06-08T00:16:13.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 436d565 [Pipeline] echo [2022-06-08T00:16:13.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:16:13.755Z] provisioning config files... [2022-06-08T00:16:13.769Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6219424632608205926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:16:14.064Z] ---> docker-login.sh [2022-06-08T00:16:14.064Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:16:14.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:14.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:14.324Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:14.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:14.324Z] [2022-06-08T00:16:14.324Z] Login Succeeded [2022-06-08T00:16:14.324Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:16:14.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:14.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:14.587Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:14.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:14.587Z] [2022-06-08T00:16:14.587Z] Login Succeeded [2022-06-08T00:16:14.587Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:16:14.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:14.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:14.587Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:14.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:14.587Z] [2022-06-08T00:16:14.587Z] Login Succeeded [2022-06-08T00:16:14.587Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:16:14.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:14.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:14.849Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:14.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:14.849Z] [2022-06-08T00:16:14.849Z] Login Succeeded [2022-06-08T00:16:14.849Z] docker.io [2022-06-08T00:16:14.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:15.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:15.109Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:15.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:15.109Z] [2022-06-08T00:16:15.109Z] Login Succeeded [2022-06-08T00:16:15.109Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:16:15.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-08T00:16:15.485Z] + git rev-list -1 --merges 436d56586c1d1d2fdd7d99625b2ffd703462d71c~1..436d56586c1d1d2fdd7d99625b2ffd703462d71c [Pipeline] echo [2022-06-08T00:16:15.510Z] -----------> git rev-list -1 --merges 436d56586c1d1d2fdd7d99625b2ffd703462d71c~1..436d56586c1d1d2fdd7d99625b2ffd703462d71c 436d56586c1d1d2fdd7d99625b2ffd703462d71c [2022-06-08T00:16:15.510Z] 436d56586c1d1d2fdd7d99625b2ffd703462d71c [false] [Pipeline] sh [2022-06-08T00:16:15.802Z] + git log --format=format:%s -1 436d56586c1d1d2fdd7d99625b2ffd703462d71c [Pipeline] echo [2022-06-08T00:16:15.817Z] ========================================================= [2022-06-08T00:16:15.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-08T00:16:15.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:16:16.146Z] + git log --format=format:%s -1 436d56586c1d1d2fdd7d99625b2ffd703462d71c [Pipeline] echo [2022-06-08T00:16:16.156Z] [semverPrep] GIT_COMMIT: 436d56586c1d1d2fdd7d99625b2ffd703462d71c, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-08T00:16:16.164Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T00:16:16.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T00:16:16.546Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T00:16:16.546Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T00:16:16.546Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T00:16:16.546Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T00:16:16.546Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T00:16:16.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:16:16.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:16:16.965Z] [2022-06-08T00:16:16.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:16:17.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:16:17.269Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T00:16:17.269Z] 42c077c10790: Pulling fs layer [2022-06-08T00:16:17.269Z] f63e77b7563a: Pulling fs layer [2022-06-08T00:16:17.269Z] bd5fdadae976: Pulling fs layer [2022-06-08T00:16:17.269Z] 205491f53016: Pulling fs layer [2022-06-08T00:16:17.269Z] df18705c85c3: Pulling fs layer [2022-06-08T00:16:17.269Z] bdb3f477010e: Pulling fs layer [2022-06-08T00:16:17.269Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T00:16:17.269Z] bdb3f477010e: Waiting [2022-06-08T00:16:17.269Z] c8a8fc8e1c8f: Waiting [2022-06-08T00:16:17.269Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T00:16:17.269Z] bdb8f0575790: Pulling fs layer [2022-06-08T00:16:17.269Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T00:16:17.269Z] df18705c85c3: Waiting [2022-06-08T00:16:17.269Z] 2343380bae48: Pulling fs layer [2022-06-08T00:16:17.269Z] 2c6e9b1d212d: Waiting [2022-06-08T00:16:17.269Z] 386e3cb2ff24: Waiting [2022-06-08T00:16:17.269Z] 2343380bae48: Waiting [2022-06-08T00:16:17.269Z] bdb8f0575790: Waiting [2022-06-08T00:16:17.269Z] 205491f53016: Waiting [2022-06-08T00:16:17.269Z] f63e77b7563a: Verifying Checksum [2022-06-08T00:16:17.269Z] f63e77b7563a: Download complete [2022-06-08T00:16:17.269Z] 205491f53016: Verifying Checksum [2022-06-08T00:16:17.269Z] 205491f53016: Download complete [2022-06-08T00:16:17.531Z] df18705c85c3: Verifying Checksum [2022-06-08T00:16:17.531Z] df18705c85c3: Download complete [2022-06-08T00:16:17.531Z] bd5fdadae976: Verifying Checksum [2022-06-08T00:16:17.531Z] bd5fdadae976: Download complete [2022-06-08T00:16:17.531Z] bdb3f477010e: Verifying Checksum [2022-06-08T00:16:17.531Z] bdb3f477010e: Download complete [2022-06-08T00:16:17.531Z] 2c6e9b1d212d: Download complete [2022-06-08T00:16:17.531Z] bdb8f0575790: Verifying Checksum [2022-06-08T00:16:17.531Z] bdb8f0575790: Download complete [2022-06-08T00:16:17.531Z] 386e3cb2ff24: Verifying Checksum [2022-06-08T00:16:17.531Z] 386e3cb2ff24: Download complete [2022-06-08T00:16:17.531Z] 2343380bae48: Verifying Checksum [2022-06-08T00:16:17.531Z] 2343380bae48: Download complete [2022-06-08T00:16:17.531Z] 42c077c10790: Verifying Checksum [2022-06-08T00:16:17.531Z] 42c077c10790: Download complete [2022-06-08T00:16:17.792Z] c8a8fc8e1c8f: Download complete [2022-06-08T00:16:19.172Z] 42c077c10790: Pull complete [2022-06-08T00:16:19.172Z] f63e77b7563a: Pull complete [2022-06-08T00:16:19.432Z] bd5fdadae976: Pull complete [2022-06-08T00:16:19.432Z] 205491f53016: Pull complete [2022-06-08T00:16:20.005Z] df18705c85c3: Pull complete [2022-06-08T00:16:20.005Z] bdb3f477010e: Pull complete [2022-06-08T00:16:21.913Z] c8a8fc8e1c8f: Pull complete [2022-06-08T00:16:21.913Z] 2c6e9b1d212d: Pull complete [2022-06-08T00:16:21.913Z] bdb8f0575790: Pull complete [2022-06-08T00:16:21.913Z] 386e3cb2ff24: Pull complete [2022-06-08T00:16:21.913Z] 2343380bae48: Pull complete [2022-06-08T00:16:22.175Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T00:16:22.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:16:22.175Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:16:22.282Z] prd-ubuntu20.04-docker-8c-8g-1704 does not seem to be running inside a container [2022-06-08T00:16:22.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T00:16:23.610Z] $ docker top 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 -eo pid,comm [2022-06-08T00:16:23.690Z] 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-06-08T00:16:23.690Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T00:16:23.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T00:16:23.731Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T00:16:23.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T00:16:23.854Z] $ docker exec 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 ssh-agent [2022-06-08T00:16:23.978Z] SSH_AUTH_SOCK=/tmp/ssh-8KsqAyYXBkCF/agent.33 [2022-06-08T00:16:23.978Z] SSH_AGENT_PID=40 [2022-06-08T00:16:23.984Z] Running ssh-add (command line suppressed) [2022-06-08T00:16:24.101Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_14653107668944933.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_14653107668944933.key) [2022-06-08T00:16:24.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T00:16:24.423Z] + git tag --points-at HEAD [Pipeline] } [2022-06-08T00:16:24.433Z] $ docker exec --env ******** --env ******** 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 ssh-agent -k [2022-06-08T00:16:24.552Z] unset SSH_AUTH_SOCK; [2022-06-08T00:16:24.552Z] unset SSH_AGENT_PID; [2022-06-08T00:16:24.553Z] echo Agent pid 40 killed; [2022-06-08T00:16:24.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-08T00:16:24.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T00:16:24.599Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T00:16:24.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T00:16:24.726Z] $ docker exec 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 ssh-agent [2022-06-08T00:16:24.856Z] SSH_AUTH_SOCK=/tmp/ssh-Zo2aGt1Y1l0k/agent.73 [2022-06-08T00:16:24.856Z] SSH_AGENT_PID=79 [2022-06-08T00:16:24.862Z] Running ssh-add (command line suppressed) [2022-06-08T00:16:24.961Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8557417911387288014.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8557417911387288014.key) [2022-06-08T00:16:24.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T00:16:25.276Z] + git semver init [2022-06-08T00:16:25.535Z] 2022-06-08 00:16:25,457 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T00:16:25.536Z] 2022-06-08 00:16:25,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-08T00:16:25.536Z] 2022-06-08 00:16:25,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-08T00:16:25.536Z] 2022-06-08 00:16:25,458 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,125 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,125 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,128 [execute] INFO git cat-file --batch-check [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,134 [execute] INFO git cat-file --batch [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T00:16:26.479Z] 2022-06-08 00:16:26,140 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-08T00:16:26.479Z] 0.0.0 [Pipeline] } [2022-06-08T00:16:26.484Z] $ docker exec --env ******** --env ******** 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 ssh-agent -k [2022-06-08T00:16:26.591Z] unset SSH_AUTH_SOCK; [2022-06-08T00:16:26.592Z] unset SSH_AGENT_PID; [2022-06-08T00:16:26.592Z] echo Agent pid 79 killed; [2022-06-08T00:16:26.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T00:16:26.917Z] + git semver [Pipeline] } [2022-06-08T00:16:27.186Z] $ docker stop --time=1 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 [2022-06-08T00:16:28.476Z] $ docker rm -f 06ea17c803d41ab64706b5e21479bcf58c8e4611c351d868d0f49d9ce80bf002 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:16:28.830Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T00:16:29.072Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T00:16:29.076Z] [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-06-08T00:16:29.204Z] provisioning config files... [2022-06-08T00:16:29.216Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6464293287190253745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:16:29.516Z] ---> docker-login.sh [2022-06-08T00:16:29.516Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:16:29.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:29.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:29.516Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:29.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:29.516Z] [2022-06-08T00:16:29.516Z] Login Succeeded [2022-06-08T00:16:29.516Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:16:29.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:29.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:29.779Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:29.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:29.779Z] [2022-06-08T00:16:29.779Z] Login Succeeded [2022-06-08T00:16:29.779Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:16:29.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:29.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:29.779Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:29.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:29.779Z] [2022-06-08T00:16:29.779Z] Login Succeeded [2022-06-08T00:16:29.779Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:16:29.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:30.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:30.040Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:30.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:30.040Z] [2022-06-08T00:16:30.040Z] Login Succeeded [2022-06-08T00:16:30.040Z] docker.io [2022-06-08T00:16:30.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:16:30.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:16:30.302Z] Configure a credential helper to remove this warning. See [2022-06-08T00:16:30.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:16:30.302Z] [2022-06-08T00:16:30.302Z] Login Succeeded [2022-06-08T00:16:30.302Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:16:30.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T00:16:30.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:16:30.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:16:30.413Z] ========================================================= [2022-06-08T00:16:30.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-08T00:16:30.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:16:30.732Z] + 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-06-08T00:16:30.732Z] Sending build context to Docker daemon 8.737MB [2022-06-08T00:16:30.732Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:16:30.732Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-08T00:16:30.732Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-08T00:16:30.732Z] 59bf1c3509f3: Pulling fs layer [2022-06-08T00:16:30.732Z] 666ba61612fd: Pulling fs layer [2022-06-08T00:16:30.732Z] 8ed8ca486205: Pulling fs layer [2022-06-08T00:16:30.732Z] cc1cd167ecdc: Pulling fs layer [2022-06-08T00:16:30.732Z] c516ae0d96e1: Pulling fs layer [2022-06-08T00:16:30.732Z] 684cea983483: Pulling fs layer [2022-06-08T00:16:30.732Z] dd3240ac7de5: Pulling fs layer [2022-06-08T00:16:30.732Z] b1e948a4e11c: Pulling fs layer [2022-06-08T00:16:30.732Z] a8fd76ee1af6: Pulling fs layer [2022-06-08T00:16:30.732Z] 646ad004c059: Pulling fs layer [2022-06-08T00:16:30.732Z] b1e948a4e11c: Waiting [2022-06-08T00:16:30.732Z] a8fd76ee1af6: Waiting [2022-06-08T00:16:30.732Z] 646ad004c059: Waiting [2022-06-08T00:16:30.732Z] c516ae0d96e1: Waiting [2022-06-08T00:16:30.732Z] 684cea983483: Waiting [2022-06-08T00:16:30.732Z] dd3240ac7de5: Waiting [2022-06-08T00:16:30.732Z] cc1cd167ecdc: Waiting [2022-06-08T00:16:30.732Z] 8ed8ca486205: Verifying Checksum [2022-06-08T00:16:30.732Z] 8ed8ca486205: Download complete [2022-06-08T00:16:30.732Z] 666ba61612fd: Verifying Checksum [2022-06-08T00:16:30.732Z] 666ba61612fd: Download complete [2022-06-08T00:16:30.993Z] c516ae0d96e1: Verifying Checksum [2022-06-08T00:16:30.993Z] c516ae0d96e1: Download complete [2022-06-08T00:16:30.993Z] 684cea983483: Verifying Checksum [2022-06-08T00:16:30.993Z] 684cea983483: Download complete [2022-06-08T00:16:30.993Z] 59bf1c3509f3: Verifying Checksum [2022-06-08T00:16:30.993Z] 59bf1c3509f3: Download complete [2022-06-08T00:16:30.993Z] dd3240ac7de5: Verifying Checksum [2022-06-08T00:16:30.993Z] dd3240ac7de5: Download complete [2022-06-08T00:16:30.993Z] b1e948a4e11c: Verifying Checksum [2022-06-08T00:16:30.993Z] b1e948a4e11c: Download complete [2022-06-08T00:16:30.993Z] 59bf1c3509f3: Pull complete [2022-06-08T00:16:31.256Z] 666ba61612fd: Pull complete [2022-06-08T00:16:31.256Z] 8ed8ca486205: Pull complete [2022-06-08T00:16:31.524Z] a8fd76ee1af6: Verifying Checksum [2022-06-08T00:16:31.524Z] a8fd76ee1af6: Download complete [2022-06-08T00:16:31.524Z] 646ad004c059: Verifying Checksum [2022-06-08T00:16:31.524Z] 646ad004c059: Download complete [2022-06-08T00:16:31.524Z] cc1cd167ecdc: Verifying Checksum [2022-06-08T00:16:31.524Z] cc1cd167ecdc: Download complete [2022-06-08T00:16:35.726Z] cc1cd167ecdc: Pull complete [2022-06-08T00:16:35.726Z] c516ae0d96e1: Pull complete [2022-06-08T00:16:35.726Z] 684cea983483: Pull complete [2022-06-08T00:16:35.726Z] dd3240ac7de5: Pull complete [2022-06-08T00:16:35.726Z] b1e948a4e11c: Pull complete [2022-06-08T00:16:37.629Z] a8fd76ee1af6: Pull complete [2022-06-08T00:16:38.566Z] 646ad004c059: Pull complete [2022-06-08T00:16:38.566Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-08T00:16:38.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-08T00:16:38.566Z] ---> 8f69c11f6b0c [2022-06-08T00:16:38.566Z] Step 3/13 : ARG MAKE="make build" [2022-06-08T00:16:39.946Z] ---> Running in 5502f177f7b3 [2022-06-08T00:16:39.946Z] Removing intermediate container 5502f177f7b3 [2022-06-08T00:16:39.946Z] ---> ebd8e583f7dc [2022-06-08T00:16:39.946Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:16:39.946Z] ---> Running in 8a622dad8bd5 [2022-06-08T00:16:39.946Z] Removing intermediate container 8a622dad8bd5 [2022-06-08T00:16:39.946Z] ---> a94e8cd99d64 [2022-06-08T00:16:39.946Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:16:39.946Z] ---> Running in ea63deb10b04 [2022-06-08T00:16:40.205Z] Removing intermediate container ea63deb10b04 [2022-06-08T00:16:40.205Z] ---> 6ae56129ff9d [2022-06-08T00:16:40.205Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:16:40.205Z] ---> Running in 89b26f5e1304 [2022-06-08T00:16:40.205Z] Removing intermediate container 89b26f5e1304 [2022-06-08T00:16:40.205Z] ---> e3d94978116e [2022-06-08T00:16:40.205Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:16:40.205Z] ---> Running in 36d9e63be37c [2022-06-08T00:16:40.776Z] Removing intermediate container 36d9e63be37c [2022-06-08T00:16:40.776Z] ---> da14eea24208 [2022-06-08T00:16:40.776Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:16:40.776Z] ---> Running in 49d4856b70c2 [2022-06-08T00:16:41.036Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:16:41.977Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:16:42.239Z] OK: 221 MiB in 52 packages [2022-06-08T00:16:42.498Z] Removing intermediate container 49d4856b70c2 [2022-06-08T00:16:42.498Z] ---> 485cfb4880a2 [2022-06-08T00:16:42.498Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-08T00:16:42.498Z] ---> Running in aca7d6a5da23 [2022-06-08T00:16:42.758Z] Removing intermediate container aca7d6a5da23 [2022-06-08T00:16:42.758Z] ---> 22678dc7f2e3 [2022-06-08T00:16:42.758Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-08T00:16:42.758Z] ---> c7c3d875e92e [2022-06-08T00:16:42.758Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:16:42.758Z] ---> Running in 13140ed9001b [2022-06-08T00:16:44.166Z] Still waiting to schedule task [2022-06-08T00:16:44.166Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-08T00:17:00.864Z] Removing intermediate container 13140ed9001b [2022-06-08T00:17:00.864Z] ---> a5390b2c81e1 [2022-06-08T00:17:00.864Z] Step 12/13 : COPY . . [2022-06-08T00:17:00.864Z] ---> 0a185a954369 [2022-06-08T00:17:00.864Z] Step 13/13 : RUN ${MAKE} [2022-06-08T00:17:00.864Z] ---> Running in 08eb8f56144e [2022-06-08T00:17:00.864Z] noop [2022-06-08T00:17:00.864Z] Removing intermediate container 08eb8f56144e [2022-06-08T00:17:00.864Z] ---> 38164c30e4ea [2022-06-08T00:17:00.864Z] Successfully built 38164c30e4ea [2022-06-08T00:17:00.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:17:01.179Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T00:17:01.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:17:01.257Z] prd-ubuntu20.04-docker-8c-8g-1704 does not seem to be running inside a container [2022-06-08T00:17:01.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T00:17:01.664Z] $ docker top cc8b9840471a26f74c18e54ef7da7177c54ffb6bfb19d755f10763867608e6af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:17:02.005Z] + go version [2022-06-08T00:17:02.005Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-08T00:17:02.023Z] $ docker stop --time=1 cc8b9840471a26f74c18e54ef7da7177c54ffb6bfb19d755f10763867608e6af [2022-06-08T00:17:03.297Z] $ docker rm -f cc8b9840471a26f74c18e54ef7da7177c54ffb6bfb19d755f10763867608e6af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:17:03.687Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T00:17:03.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:17:03.775Z] prd-ubuntu20.04-docker-8c-8g-1704 does not seem to be running inside a container [2022-06-08T00:17:03.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T00:17:04.187Z] $ docker top bc4068c73de706f8801220cb32c33d780e5f41078d17fc8d7142b94f00c490a4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T00:17:04.593Z] + make test [2022-06-08T00:17:04.593Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-08T00:17:04.902Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-08T00:17:14.937Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-08T00:17:14.937Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-08T00:17:18.232Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.115s coverage: 13.8% of statements [2022-06-08T00:17:24.814Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T00:17:29.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T00:17:29.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T00:17:29.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-08T00:17:29.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-08T00:17:29.318Z] $ docker stop --time=1 bc4068c73de706f8801220cb32c33d780e5f41078d17fc8d7142b94f00c490a4 [2022-06-08T00:17:31.103Z] $ docker rm -f bc4068c73de706f8801220cb32c33d780e5f41078d17fc8d7142b94f00c490a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:17:31.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T00:17:31.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T00:17:32.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T00:17:32.424Z] + ls -al . [2022-06-08T00:17:32.424Z] total 236 [2022-06-08T00:17:32.424Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 00:17 . [2022-06-08T00:17:32.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:16 .. [2022-06-08T00:17:32.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:16 .git [2022-06-08T00:17:32.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:16 .github [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 8 00:16 .gitignore [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 00:16 .golangci.yml [2022-06-08T00:17:32.424Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 00:16 .semver [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 8 00:16 Attribution.txt [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 8 00:16 CHANGELOG.md [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 8 00:16 Dockerfile [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 00:16 GOVERNANCE.md [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 8 00:16 Jenkinsfile [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 00:16 LICENSE [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 8 00:16 Makefile [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 8 00:16 OWNERS.md [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 8 00:16 README.md [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 00:16 VERSION [2022-06-08T00:17:32.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:16 bin [2022-06-08T00:17:32.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 00:16 cmd [2022-06-08T00:17:32.424Z] -rw-r--r-- 1 jenkins jenkins 59764 Jun 8 00:17 coverage.out [2022-06-08T00:17:32.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:16 doc [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 8 00:16 go.mod [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 8 00:16 go.sum [2022-06-08T00:17:32.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:16 internal [2022-06-08T00:17:32.424Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 8 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:17:32.740Z] + 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=436d56586c1d1d2fdd7d99625b2ffd703462d71c --label arch=amd64 --label version=0.0.0 . [2022-06-08T00:17:32.741Z] Sending build context to Docker daemon 8.798MB [2022-06-08T00:17:32.741Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:17:32.741Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-08T00:17:32.741Z] ---> 38164c30e4ea [2022-06-08T00:17:32.741Z] Step 3/26 : ARG MAKE="make build" [2022-06-08T00:17:32.741Z] ---> Running in 4ce0488244e2 [2022-06-08T00:17:33.000Z] Removing intermediate container 4ce0488244e2 [2022-06-08T00:17:33.000Z] ---> 46d4455b1fa7 [2022-06-08T00:17:33.000Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:17:33.000Z] ---> Running in d47a03f97e8c [2022-06-08T00:17:33.000Z] Removing intermediate container d47a03f97e8c [2022-06-08T00:17:33.000Z] ---> 3931c5323391 [2022-06-08T00:17:33.000Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:17:33.000Z] ---> Running in 7614e65cf2a9 [2022-06-08T00:17:33.261Z] Removing intermediate container 7614e65cf2a9 [2022-06-08T00:17:33.261Z] ---> 2a884a33b68c [2022-06-08T00:17:33.261Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:17:33.261Z] ---> Running in 377427586fc4 [2022-06-08T00:17:33.261Z] Removing intermediate container 377427586fc4 [2022-06-08T00:17:33.261Z] ---> 8963af834637 [2022-06-08T00:17:33.261Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:17:33.261Z] ---> Running in a5bf52a88b0e [2022-06-08T00:17:33.831Z] Removing intermediate container a5bf52a88b0e [2022-06-08T00:17:33.831Z] ---> 9ec9a0a3e4bf [2022-06-08T00:17:33.831Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:17:33.831Z] ---> Running in ba86d6970011 [2022-06-08T00:17:34.091Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:17:35.033Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:17:35.306Z] OK: 221 MiB in 52 packages [2022-06-08T00:17:35.568Z] Removing intermediate container ba86d6970011 [2022-06-08T00:17:35.568Z] ---> 7bcf4659bd50 [2022-06-08T00:17:35.568Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-08T00:17:35.568Z] ---> Running in c70cb6986fbf [2022-06-08T00:17:35.829Z] Removing intermediate container c70cb6986fbf [2022-06-08T00:17:35.829Z] ---> 89295b2a3188 [2022-06-08T00:17:35.829Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-08T00:17:35.829Z] ---> 6b5e4a0f7f77 [2022-06-08T00:17:35.829Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:17:35.829Z] ---> Running in 3ce7146bb687 [2022-06-08T00:17:36.766Z] Removing intermediate container 3ce7146bb687 [2022-06-08T00:17:36.766Z] ---> 8b94ecbd69ff [2022-06-08T00:17:36.766Z] Step 12/26 : COPY . . [2022-06-08T00:17:37.027Z] ---> 5331f1d604f2 [2022-06-08T00:17:37.027Z] Step 13/26 : RUN ${MAKE} [2022-06-08T00:17:37.027Z] ---> Running in 73c6e9e186b5 [2022-06-08T00:17:37.287Z] 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-06-08T00:17:59.239Z] Removing intermediate container 73c6e9e186b5 [2022-06-08T00:17:59.239Z] ---> 7112a51554ee [2022-06-08T00:17:59.239Z] Step 14/26 : FROM alpine:3.15 [2022-06-08T00:17:59.239Z] 3.15: Pulling from library/alpine [2022-06-08T00:17:59.239Z] df9b9388f04a: Pulling fs layer [2022-06-08T00:17:59.239Z] df9b9388f04a: Verifying Checksum [2022-06-08T00:17:59.239Z] df9b9388f04a: Download complete [2022-06-08T00:17:59.239Z] df9b9388f04a: Pull complete [2022-06-08T00:17:59.239Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-08T00:17:59.239Z] Status: Downloaded newer image for alpine:3.15 [2022-06-08T00:17:59.239Z] ---> 0ac33e5f5afa [2022-06-08T00:17:59.239Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-08T00:17:59.239Z] ---> Running in f986822c3507 [2022-06-08T00:17:59.239Z] Removing intermediate container f986822c3507 [2022-06-08T00:17:59.239Z] ---> a91eac87c81d [2022-06-08T00:17:59.239Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T00:17:59.239Z] ---> Running in c4657b8227cc [2022-06-08T00:17:59.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:17:59.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:17:59.239Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T00:17:59.239Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-08T00:17:59.239Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T00:17:59.239Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-08T00:17:59.239Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T00:17:59.239Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T00:17:59.239Z] Executing busybox-1.34.1-r5.trigger [2022-06-08T00:17:59.239Z] OK: 8 MiB in 20 packages [2022-06-08T00:17:59.239Z] Removing intermediate container c4657b8227cc [2022-06-08T00:17:59.239Z] ---> 7e52d7a82924 [2022-06-08T00:17:59.239Z] Step 17/26 : WORKDIR / [2022-06-08T00:17:59.239Z] ---> Running in b54a0e825de4 [2022-06-08T00:17:59.239Z] Removing intermediate container b54a0e825de4 [2022-06-08T00:17:59.239Z] ---> 944460c5cbc8 [2022-06-08T00:17:59.239Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-08T00:17:59.809Z] ---> 6a58b55296ac [2022-06-08T00:17:59.809Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-08T00:17:59.809Z] ---> acb30b92aa65 [2022-06-08T00:17:59.809Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-08T00:17:59.809Z] ---> 4096c582ea96 [2022-06-08T00:17:59.809Z] Step 21/26 : EXPOSE 59984 [2022-06-08T00:18:00.068Z] ---> Running in 336f3ad74c9a [2022-06-08T00:18:00.068Z] Removing intermediate container 336f3ad74c9a [2022-06-08T00:18:00.068Z] ---> eebea1fa5071 [2022-06-08T00:18:00.068Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-08T00:18:00.068Z] ---> Running in 7ecfb5deece5 [2022-06-08T00:18:00.068Z] Removing intermediate container 7ecfb5deece5 [2022-06-08T00:18:00.068Z] ---> c5f745556c45 [2022-06-08T00:18:00.068Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T00:18:00.068Z] ---> Running in fb0c3f0473bc [2022-06-08T00:18:00.329Z] Removing intermediate container fb0c3f0473bc [2022-06-08T00:18:00.329Z] ---> 1162c07184ea [2022-06-08T00:18:00.329Z] Step 24/26 : LABEL arch=amd64 [2022-06-08T00:18:00.329Z] ---> Running in 0160a1e6cbe6 [2022-06-08T00:18:00.329Z] Removing intermediate container 0160a1e6cbe6 [2022-06-08T00:18:00.329Z] ---> 18e42ca9f73d [2022-06-08T00:18:00.329Z] Step 25/26 : LABEL git_sha=436d56586c1d1d2fdd7d99625b2ffd703462d71c [2022-06-08T00:18:00.329Z] ---> Running in a44d72b18bbe [2022-06-08T00:18:00.591Z] Removing intermediate container a44d72b18bbe [2022-06-08T00:18:00.591Z] ---> c2ea420b89b4 [2022-06-08T00:18:00.591Z] Step 26/26 : LABEL version=0.0.0 [2022-06-08T00:18:00.591Z] ---> Running in 488805c39d35 [2022-06-08T00:18:00.591Z] Removing intermediate container 488805c39d35 [2022-06-08T00:18:00.591Z] ---> 8a709a46747d [2022-06-08T00:18:00.591Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T00:18:00.591Z] Successfully built 8a709a46747d [2022-06-08T00:18:00.591Z] 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-06-08T00:18:01.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:18:01.016Z] [2022-06-08T00:18:01.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:18:01.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:18:01.319Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T00:18:01.319Z] 5eb5b503b376: Pulling fs layer [2022-06-08T00:18:01.319Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T00:18:01.319Z] ec43610c2a17: Pulling fs layer [2022-06-08T00:18:01.319Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T00:18:01.319Z] 33b1e0a273af: Pulling fs layer [2022-06-08T00:18:01.319Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T00:18:01.319Z] 2f39f015ded8: Pulling fs layer [2022-06-08T00:18:01.319Z] 5d3b04190fa2: Waiting [2022-06-08T00:18:01.319Z] 3a2ae6a8a46f: Waiting [2022-06-08T00:18:01.319Z] 33b1e0a273af: Waiting [2022-06-08T00:18:01.319Z] 5c69ac0246d0: Verifying Checksum [2022-06-08T00:18:01.319Z] 5c69ac0246d0: Download complete [2022-06-08T00:18:01.319Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-08T00:18:01.319Z] 3a2ae6a8a46f: Download complete [2022-06-08T00:18:01.319Z] 33b1e0a273af: Verifying Checksum [2022-06-08T00:18:01.319Z] 33b1e0a273af: Download complete [2022-06-08T00:18:01.319Z] 5d3b04190fa2: Verifying Checksum [2022-06-08T00:18:01.319Z] 5d3b04190fa2: Download complete [2022-06-08T00:18:01.579Z] ec43610c2a17: Verifying Checksum [2022-06-08T00:18:01.579Z] ec43610c2a17: Download complete [2022-06-08T00:18:01.579Z] 5eb5b503b376: Verifying Checksum [2022-06-08T00:18:01.579Z] 5eb5b503b376: Download complete [2022-06-08T00:18:02.146Z] 2f39f015ded8: Download complete [2022-06-08T00:18:02.713Z] 5eb5b503b376: Pull complete [2022-06-08T00:18:02.973Z] 5c69ac0246d0: Pull complete [2022-06-08T00:18:03.541Z] ec43610c2a17: Pull complete [2022-06-08T00:18:03.541Z] 3a2ae6a8a46f: Pull complete [2022-06-08T00:18:03.541Z] 33b1e0a273af: Pull complete [2022-06-08T00:18:03.799Z] 5d3b04190fa2: Pull complete [2022-06-08T00:18:07.993Z] 2f39f015ded8: Pull complete [2022-06-08T00:18:07.993Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T00:18:07.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:18:07.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:18:08.086Z] prd-ubuntu20.04-docker-8c-8g-1704 does not seem to be running inside a container [2022-06-08T00:18:08.128Z] $ 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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T00:18:09.613Z] $ docker top 9fbf20d1a3a4757d3f4881d5188b774a8901854a6c24bf0d5076f974c46b52db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:18:10.028Z] ---> job-cost.sh [2022-06-08T00:18:10.028Z] lf-activate-venv: SKIPPING [2022-06-08T00:18:10.028Z] INFO: No Stack... [2022-06-08T00:18:10.289Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T00:18:10.860Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T00:18:11.153Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-08T00:18:11.153Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T00:18:11.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [2022-06-08T00:18:11.172Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] did not exist. Created. [2022-06-08T00:18:11.172Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T00:18:11.481Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T00:18:11.509Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T00:18:11.515Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T00:18:11.546Z] $ docker stop --time=1 9fbf20d1a3a4757d3f4881d5188b774a8901854a6c24bf0d5076f974c46b52db [2022-06-08T00:18:12.697Z] $ docker rm -f 9fbf20d1a3a4757d3f4881d5188b774a8901854a6c24bf0d5076f974c46b52db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T00:18:17.147Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1705 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-08T00:18:17.158Z] Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout [2022-06-08T00:18:17.199Z] Selected Git installation does not exist. Using Default [2022-06-08T00:18:17.199Z] The recommended git tool is: NONE [2022-06-08T00:18:22.374Z] using credential edgex-jenkins-ssh [2022-06-08T00:18:22.392Z] Cloning the remote Git repository [2022-06-08T00:18:22.451Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:18:22.523Z] > git init /w/workspace/device-onvif-camera/11 # timeout=10 [2022-06-08T00:18:22.597Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:18:22.598Z] > git --version # timeout=10 [2022-06-08T00:18:22.627Z] > git --version # 'git version 2.25.1' [2022-06-08T00:18:22.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:18:22.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T00:18:23.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-08T00:18:23.475Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T00:18:23.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-08T00:18:24.189Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit d30445001878abf4c54c4ca31f60f8a97b421f13 [2022-06-08T00:18:24.612Z] Merge succeeded, producing a121af70d198eff9b4d26f22f7836849f4072b27 [2022-06-08T00:18:24.612Z] Checking out Revision a121af70d198eff9b4d26f22f7836849f4072b27 (PR-81) [2022-06-08T00:18:23.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:18:23.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:18:23.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-08T00:18:24.215Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T00:18:24.231Z] > git checkout -f d30445001878abf4c54c4ca31f60f8a97b421f13 # timeout=10 [2022-06-08T00:18:24.378Z] > git remote # timeout=10 [2022-06-08T00:18:24.393Z] > git config --get remote.origin.url # timeout=10 [2022-06-08T00:18:24.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:18:24.428Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-08T00:18:24.600Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-08T00:18:24.626Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T00:18:24.647Z] > git checkout -f a121af70d198eff9b4d26f22f7836849f4072b27 # timeout=10 [2022-06-08T00:18:28.814Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-08T00:18:28.838Z] First time build. Skipping changelog. [2022-06-08T00:18:28.828Z] > git rev-list --no-walk 052c4580b86cd1498d1d9db9b1015ee6c8817924 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:18:29.620Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T00:18:29.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T00:18:29.620Z] Dload Upload Total Spent Left Speed [2022-06-08T00:18:29.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-06-08T00:18:30.347Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T00:18:30.687Z] + sudo tee /etc/docker/daemon.new [2022-06-08T00:18:30.687Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-08T00:18:30.687Z] { [2022-06-08T00:18:30.687Z] "registry-mirrors": [ [2022-06-08T00:18:30.687Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T00:18:30.687Z] ], [2022-06-08T00:18:30.687Z] "bip": "10.250.0.254/24", [2022-06-08T00:18:30.687Z] "hosts": [ [2022-06-08T00:18:30.687Z] "tcp://0.0.0.0:5555", [2022-06-08T00:18:30.687Z] "unix:///var/run/docker.sock" [2022-06-08T00:18:30.687Z] ], [2022-06-08T00:18:30.687Z] "mtu": 1458, [2022-06-08T00:18:30.687Z] "selinux-enabled": true, [2022-06-08T00:18:30.687Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T00:18:30.687Z] } [Pipeline] sh [2022-06-08T00:18:31.039Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T00:18:31.377Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:18:49.712Z] provisioning config files... [2022-06-08T00:18:49.738Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config7186571409061628039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:18:50.095Z] ---> docker-login.sh [2022-06-08T00:18:50.095Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:18:50.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:18:50.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:18:50.968Z] Configure a credential helper to remove this warning. See [2022-06-08T00:18:50.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:18:50.968Z] [2022-06-08T00:18:50.968Z] Login Succeeded [2022-06-08T00:18:50.968Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:18:51.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:18:51.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:18:51.243Z] Configure a credential helper to remove this warning. See [2022-06-08T00:18:51.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:18:51.243Z] [2022-06-08T00:18:51.243Z] Login Succeeded [2022-06-08T00:18:51.243Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:18:51.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:18:51.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:18:51.792Z] Configure a credential helper to remove this warning. See [2022-06-08T00:18:51.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:18:51.792Z] [2022-06-08T00:18:51.792Z] Login Succeeded [2022-06-08T00:18:51.792Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:18:52.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:18:52.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:18:52.339Z] Configure a credential helper to remove this warning. See [2022-06-08T00:18:52.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:18:52.339Z] [2022-06-08T00:18:52.339Z] Login Succeeded [2022-06-08T00:18:52.339Z] docker.io [2022-06-08T00:18:52.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:18:52.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:18:52.886Z] Configure a credential helper to remove this warning. See [2022-06-08T00:18:52.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:18:52.886Z] [2022-06-08T00:18:52.886Z] Login Succeeded [2022-06-08T00:18:52.886Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:18:52.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T00:18:53.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:18:53.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:18:53.484Z] ========================================================= [2022-06-08T00:18:53.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-08T00:18:53.484Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:18:53.883Z] + 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-06-08T00:18:54.158Z] Sending build context to Docker daemon 5.983MB [2022-06-08T00:18:54.158Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:18:54.158Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-08T00:18:54.441Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T00:18:54.441Z] 9b3977197b4f: Pulling fs layer [2022-06-08T00:18:54.441Z] 1a89e8eeedd5: Pulling fs layer [2022-06-08T00:18:54.441Z] 94645a83ff95: Pulling fs layer [2022-06-08T00:18:54.441Z] e6fb740bc735: Pulling fs layer [2022-06-08T00:18:54.441Z] 3a77bd46dcc9: Pulling fs layer [2022-06-08T00:18:54.441Z] 355e64cbe906: Pulling fs layer [2022-06-08T00:18:54.441Z] 63ab81a10011: Pulling fs layer [2022-06-08T00:18:54.441Z] 555d1d1c4555: Pulling fs layer [2022-06-08T00:18:54.441Z] 7d9057610161: Pulling fs layer [2022-06-08T00:18:54.441Z] 355e64cbe906: Waiting [2022-06-08T00:18:54.441Z] 63ab81a10011: Waiting [2022-06-08T00:18:54.441Z] 555d1d1c4555: Waiting [2022-06-08T00:18:54.441Z] 7d9057610161: Waiting [2022-06-08T00:18:54.441Z] e6fb740bc735: Waiting [2022-06-08T00:18:54.441Z] 3a77bd46dcc9: Waiting [2022-06-08T00:18:54.441Z] 1a89e8eeedd5: Download complete [2022-06-08T00:18:54.441Z] 3a77bd46dcc9: Verifying Checksum [2022-06-08T00:18:54.441Z] 3a77bd46dcc9: Download complete [2022-06-08T00:18:54.441Z] 9b3977197b4f: Verifying Checksum [2022-06-08T00:18:54.441Z] 9b3977197b4f: Download complete [2022-06-08T00:18:54.441Z] 355e64cbe906: Verifying Checksum [2022-06-08T00:18:54.441Z] 355e64cbe906: Download complete [2022-06-08T00:18:54.441Z] 63ab81a10011: Verifying Checksum [2022-06-08T00:18:54.441Z] 63ab81a10011: Download complete [2022-06-08T00:18:55.435Z] 9b3977197b4f: Pull complete [2022-06-08T00:18:55.435Z] 7d9057610161: Verifying Checksum [2022-06-08T00:18:55.435Z] 7d9057610161: Download complete [2022-06-08T00:18:56.035Z] 1a89e8eeedd5: Pull complete [2022-06-08T00:18:56.651Z] 94645a83ff95: Pull complete [2022-06-08T00:18:56.651Z] 555d1d1c4555: Verifying Checksum [2022-06-08T00:18:56.651Z] 555d1d1c4555: Download complete [2022-06-08T00:18:57.247Z] e6fb740bc735: Verifying Checksum [2022-06-08T00:18:57.247Z] e6fb740bc735: Download complete [2022-06-08T00:19:09.644Z] e6fb740bc735: Pull complete [2022-06-08T00:19:09.644Z] 3a77bd46dcc9: Pull complete [2022-06-08T00:19:09.644Z] 355e64cbe906: Pull complete [2022-06-08T00:19:09.919Z] 63ab81a10011: Pull complete [2022-06-08T00:19:16.637Z] 555d1d1c4555: Pull complete [2022-06-08T00:19:18.082Z] 7d9057610161: Pull complete [2022-06-08T00:19:18.082Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-08T00:19:18.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-08T00:19:18.082Z] ---> 819e984ddca1 [2022-06-08T00:19:18.082Z] Step 3/13 : ARG MAKE="make build" [2022-06-08T00:19:20.073Z] ---> Running in f638fdd7a05b [2022-06-08T00:19:20.073Z] Removing intermediate container f638fdd7a05b [2022-06-08T00:19:20.073Z] ---> 69e691fe515a [2022-06-08T00:19:20.073Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:19:20.073Z] ---> Running in dcb4e999b381 [2022-06-08T00:19:20.352Z] Removing intermediate container dcb4e999b381 [2022-06-08T00:19:20.352Z] ---> d5aa104085e0 [2022-06-08T00:19:20.352Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:19:20.627Z] ---> Running in 2fd81e010f77 [2022-06-08T00:19:20.904Z] Removing intermediate container 2fd81e010f77 [2022-06-08T00:19:20.904Z] ---> fcc556dae7eb [2022-06-08T00:19:20.904Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:19:20.904Z] ---> Running in 62599f3ab685 [2022-06-08T00:19:21.180Z] Removing intermediate container 62599f3ab685 [2022-06-08T00:19:21.181Z] ---> 7262c39f3686 [2022-06-08T00:19:21.181Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:19:21.181Z] ---> Running in d55cf37e0a57 [2022-06-08T00:19:23.181Z] Removing intermediate container d55cf37e0a57 [2022-06-08T00:19:23.181Z] ---> e8a54c6798e3 [2022-06-08T00:19:23.181Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:19:23.181Z] ---> Running in fe9a2379ce5c [2022-06-08T00:19:24.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:19:24.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:19:25.743Z] OK: 220 MiB in 52 packages [2022-06-08T00:19:26.354Z] Removing intermediate container fe9a2379ce5c [2022-06-08T00:19:26.354Z] ---> e53c4282b6b2 [2022-06-08T00:19:26.354Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-08T00:19:26.354Z] ---> Running in 0a3096d8f7cf [2022-06-08T00:19:26.953Z] Removing intermediate container 0a3096d8f7cf [2022-06-08T00:19:26.953Z] ---> 8286f8f157c2 [2022-06-08T00:19:26.953Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-08T00:19:27.225Z] ---> f1a85d76acda [2022-06-08T00:19:27.225Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:19:27.499Z] ---> Running in ac9b1494929e [2022-06-08T00:20:14.486Z] Removing intermediate container ac9b1494929e [2022-06-08T00:20:14.486Z] ---> 3ffcbc95f698 [2022-06-08T00:20:14.486Z] Step 12/13 : COPY . . [2022-06-08T00:20:14.486Z] ---> 89f56472866e [2022-06-08T00:20:14.486Z] Step 13/13 : RUN ${MAKE} [2022-06-08T00:20:14.486Z] ---> Running in 496bed1409a2 [2022-06-08T00:20:14.486Z] noop [2022-06-08T00:20:15.092Z] Removing intermediate container 496bed1409a2 [2022-06-08T00:20:15.092Z] ---> 1e18053ea2ce [2022-06-08T00:20:15.092Z] Successfully built 1e18053ea2ce [2022-06-08T00:20:15.092Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:20:15.456Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T00:20:15.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:20:15.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-1705 does not seem to be running inside a container [2022-06-08T00:20:15.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T00:20:17.086Z] $ docker top 6e2031222e075a418e26521812cae48f88572cb2e744d19c3bff57a04388130b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:20:18.009Z] + go version [2022-06-08T00:20:18.009Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-08T00:20:18.039Z] $ docker stop --time=1 6e2031222e075a418e26521812cae48f88572cb2e744d19c3bff57a04388130b [2022-06-08T00:20:19.670Z] $ docker rm -f 6e2031222e075a418e26521812cae48f88572cb2e744d19c3bff57a04388130b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:20:20.314Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T00:20:20.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:20:20.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-1705 does not seem to be running inside a container [2022-06-08T00:20:20.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T00:20:21.923Z] $ docker top 097e8cce5b88f9df509ed6904cac297459c7a4bc428266378b9de14b79a7b2d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T00:20:22.829Z] + make test [2022-06-08T00:20:22.829Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-08T00:20:24.827Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-08T00:21:46.652Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-08T00:21:46.652Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.082s coverage: 1.2% of statements [2022-06-08T00:22:13.448Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.442s coverage: 13.8% of statements [2022-06-08T00:22:13.725Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-08T00:22:13.725Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T00:22:40.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T00:22:40.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T00:22:40.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-08T00:22:45.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-08T00:22:45.176Z] $ docker stop --time=1 097e8cce5b88f9df509ed6904cac297459c7a4bc428266378b9de14b79a7b2d0 [2022-06-08T00:22:46.927Z] $ docker rm -f 097e8cce5b88f9df509ed6904cac297459c7a4bc428266378b9de14b79a7b2d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:22:47.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T00:22:47.970Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T00:22:48.495Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:22:48.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T00:22:49.223Z] + ls -al . [2022-06-08T00:22:49.223Z] total 232 [2022-06-08T00:22:49.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:22 . [2022-06-08T00:22:49.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:18 .. [2022-06-08T00:22:49.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:18 .git [2022-06-08T00:22:49.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:18 .github [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 8 00:18 .gitignore [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 00:18 .golangci.yml [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 8 00:18 Attribution.txt [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 8 00:18 CHANGELOG.md [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 8 00:18 Dockerfile [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 00:18 GOVERNANCE.md [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 8 00:18 Jenkinsfile [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 00:18 LICENSE [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 8 00:18 Makefile [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 8 00:18 OWNERS.md [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 8 00:18 README.md [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 00:16 VERSION [2022-06-08T00:22:49.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:18 bin [2022-06-08T00:22:49.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 00:18 cmd [2022-06-08T00:22:49.223Z] -rw-r--r-- 1 jenkins jenkins 59764 Jun 8 00:22 coverage.out [2022-06-08T00:22:49.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:18 doc [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 8 00:18 go.mod [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 8 00:18 go.sum [2022-06-08T00:22:49.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:18 internal [2022-06-08T00:22:49.223Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 8 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:22:49.583Z] + 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=a121af70d198eff9b4d26f22f7836849f4072b27 --label arch=arm64 --label version=0.0.0 . [2022-06-08T00:22:49.857Z] Sending build context to Docker daemon 6.044MB [2022-06-08T00:22:49.857Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:22:49.857Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-08T00:22:49.857Z] ---> 1e18053ea2ce [2022-06-08T00:22:49.857Z] Step 3/26 : ARG MAKE="make build" [2022-06-08T00:22:50.131Z] ---> Running in c5b214de0ce9 [2022-06-08T00:22:50.404Z] Removing intermediate container c5b214de0ce9 [2022-06-08T00:22:50.404Z] ---> d347eadfcf0a [2022-06-08T00:22:50.404Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:22:50.404Z] ---> Running in 481141db8d6a [2022-06-08T00:22:50.677Z] Removing intermediate container 481141db8d6a [2022-06-08T00:22:50.677Z] ---> a712479ee580 [2022-06-08T00:22:50.677Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:22:50.956Z] ---> Running in f36a83162d5c [2022-06-08T00:22:51.230Z] Removing intermediate container f36a83162d5c [2022-06-08T00:22:51.230Z] ---> f963c1a1564e [2022-06-08T00:22:51.230Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:22:51.230Z] ---> Running in 1e3a4cebc77d [2022-06-08T00:22:51.509Z] Removing intermediate container 1e3a4cebc77d [2022-06-08T00:22:51.509Z] ---> dbc4ba6c73eb [2022-06-08T00:22:51.509Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:22:51.509Z] ---> Running in b3aa52844900 [2022-06-08T00:22:53.501Z] Removing intermediate container b3aa52844900 [2022-06-08T00:22:53.501Z] ---> 79b5c2ef1ede [2022-06-08T00:22:53.501Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:22:53.501Z] ---> Running in e24ea0beb3b1 [2022-06-08T00:22:54.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:22:55.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:22:56.072Z] OK: 220 MiB in 52 packages [2022-06-08T00:22:57.055Z] Removing intermediate container e24ea0beb3b1 [2022-06-08T00:22:57.055Z] ---> d4c9812c861a [2022-06-08T00:22:57.055Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-08T00:22:57.055Z] ---> Running in 306ed602915f [2022-06-08T00:22:57.329Z] Removing intermediate container 306ed602915f [2022-06-08T00:22:57.329Z] ---> 229f5e6e2fda [2022-06-08T00:22:57.329Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-08T00:22:57.953Z] ---> 3adc82986fbd [2022-06-08T00:22:57.953Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:22:58.228Z] ---> Running in c9564aa66db9 [2022-06-08T00:23:00.212Z] Removing intermediate container c9564aa66db9 [2022-06-08T00:23:00.212Z] ---> dd365e6065ca [2022-06-08T00:23:00.212Z] Step 12/26 : COPY . . [2022-06-08T00:23:01.207Z] ---> e5cf49fbbe38 [2022-06-08T00:23:01.207Z] Step 13/26 : RUN ${MAKE} [2022-06-08T00:23:01.207Z] ---> Running in 8a24fb883dae [2022-06-08T00:23:02.199Z] 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-06-08T00:25:24.128Z] Removing intermediate container 8a24fb883dae [2022-06-08T00:25:24.128Z] ---> e2a15717298a [2022-06-08T00:25:24.128Z] Step 14/26 : FROM alpine:3.15 [2022-06-08T00:25:24.128Z] 3.15: Pulling from library/alpine [2022-06-08T00:25:24.128Z] 9981e73032c8: Pulling fs layer [2022-06-08T00:25:24.128Z] 9981e73032c8: Verifying Checksum [2022-06-08T00:25:24.128Z] 9981e73032c8: Download complete [2022-06-08T00:25:24.128Z] 9981e73032c8: Pull complete [2022-06-08T00:25:24.128Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-08T00:25:24.128Z] Status: Downloaded newer image for alpine:3.15 [2022-06-08T00:25:24.128Z] ---> 3fb3c9af89a9 [2022-06-08T00:25:24.128Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-08T00:25:24.128Z] ---> Running in 9779397b2a1d [2022-06-08T00:25:24.128Z] Removing intermediate container 9779397b2a1d [2022-06-08T00:25:24.128Z] ---> 7b5a45b93af4 [2022-06-08T00:25:24.128Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T00:25:24.128Z] ---> Running in abf8a8887389 [2022-06-08T00:25:24.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:25:24.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:25:24.128Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T00:25:24.128Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-08T00:25:24.128Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T00:25:24.128Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-08T00:25:24.128Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T00:25:24.128Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T00:25:24.128Z] Executing busybox-1.34.1-r5.trigger [2022-06-08T00:25:24.128Z] OK: 8 MiB in 20 packages [2022-06-08T00:25:24.128Z] Removing intermediate container abf8a8887389 [2022-06-08T00:25:24.128Z] ---> fbdf4147d36a [2022-06-08T00:25:24.128Z] Step 17/26 : WORKDIR / [2022-06-08T00:25:24.128Z] ---> Running in 4077f732a14a [2022-06-08T00:25:24.128Z] Removing intermediate container 4077f732a14a [2022-06-08T00:25:24.128Z] ---> c4a4717142f3 [2022-06-08T00:25:24.128Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-08T00:25:24.128Z] ---> ae70e9a545f7 [2022-06-08T00:25:24.128Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-08T00:25:24.128Z] ---> dbf017e6b2d9 [2022-06-08T00:25:24.128Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-08T00:25:24.128Z] ---> 71dcbfe8e1f2 [2022-06-08T00:25:24.128Z] Step 21/26 : EXPOSE 59984 [2022-06-08T00:25:24.128Z] ---> Running in ff0b7af48814 [2022-06-08T00:25:24.128Z] Removing intermediate container ff0b7af48814 [2022-06-08T00:25:24.128Z] ---> 203c9061c014 [2022-06-08T00:25:24.128Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-08T00:25:24.128Z] ---> Running in 8168cd0aa545 [2022-06-08T00:25:24.128Z] Removing intermediate container 8168cd0aa545 [2022-06-08T00:25:24.128Z] ---> 899cd0db8d7c [2022-06-08T00:25:24.128Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T00:25:24.128Z] ---> Running in 7b596bf5c5c0 [2022-06-08T00:25:24.128Z] Removing intermediate container 7b596bf5c5c0 [2022-06-08T00:25:24.128Z] ---> 5e4255d6e736 [2022-06-08T00:25:24.128Z] Step 24/26 : LABEL arch=arm64 [2022-06-08T00:25:24.128Z] ---> Running in 78a31b17a058 [2022-06-08T00:25:24.128Z] Removing intermediate container 78a31b17a058 [2022-06-08T00:25:24.128Z] ---> 3874aa67ecfb [2022-06-08T00:25:24.128Z] Step 25/26 : LABEL git_sha=a121af70d198eff9b4d26f22f7836849f4072b27 [2022-06-08T00:25:24.128Z] ---> Running in e395a25b1f2c [2022-06-08T00:25:24.128Z] Removing intermediate container e395a25b1f2c [2022-06-08T00:25:24.128Z] ---> 3b15d616b666 [2022-06-08T00:25:24.128Z] Step 26/26 : LABEL version=0.0.0 [2022-06-08T00:25:24.128Z] ---> Running in 9e35250a1d28 [2022-06-08T00:25:24.128Z] Removing intermediate container 9e35250a1d28 [2022-06-08T00:25:24.128Z] ---> 68529288138d [2022-06-08T00:25:24.128Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T00:25:24.128Z] Successfully built 68529288138d [2022-06-08T00:25:24.128Z] 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-06-08T00:25:24.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:25:24.591Z] [2022-06-08T00:25:24.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:25:24.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:25:25.230Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T00:25:25.230Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T00:25:25.230Z] 04944245beec: Pulling fs layer [2022-06-08T00:25:25.230Z] 699f458cf7ca: Pulling fs layer [2022-06-08T00:25:25.230Z] 765212b225bb: Pulling fs layer [2022-06-08T00:25:25.230Z] f23df028b6ca: Pulling fs layer [2022-06-08T00:25:25.230Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T00:25:25.230Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T00:25:25.230Z] 765212b225bb: Waiting [2022-06-08T00:25:25.230Z] f23df028b6ca: Waiting [2022-06-08T00:25:25.230Z] d65c8cfc05b1: Waiting [2022-06-08T00:25:25.230Z] 2437ff75d9bd: Waiting [2022-06-08T00:25:25.230Z] 04944245beec: Verifying Checksum [2022-06-08T00:25:25.230Z] 04944245beec: Download complete [2022-06-08T00:25:25.230Z] 765212b225bb: Verifying Checksum [2022-06-08T00:25:25.230Z] 765212b225bb: Download complete [2022-06-08T00:25:25.230Z] f23df028b6ca: Download complete [2022-06-08T00:25:25.230Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T00:25:25.230Z] d65c8cfc05b1: Download complete [2022-06-08T00:25:25.507Z] 699f458cf7ca: Verifying Checksum [2022-06-08T00:25:25.507Z] 699f458cf7ca: Download complete [2022-06-08T00:25:25.782Z] 8998bd30e6a1: Verifying Checksum [2022-06-08T00:25:25.782Z] 8998bd30e6a1: Download complete [2022-06-08T00:25:28.428Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T00:25:28.428Z] 2437ff75d9bd: Download complete [2022-06-08T00:25:30.412Z] 8998bd30e6a1: Pull complete [2022-06-08T00:25:30.689Z] 04944245beec: Pull complete [2022-06-08T00:25:32.132Z] 699f458cf7ca: Pull complete [2022-06-08T00:25:32.406Z] 765212b225bb: Pull complete [2022-06-08T00:25:33.391Z] f23df028b6ca: Pull complete [2022-06-08T00:25:33.391Z] d65c8cfc05b1: Pull complete [2022-06-08T00:25:48.504Z] 2437ff75d9bd: Pull complete [2022-06-08T00:25:48.504Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T00:25:48.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:25:48.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:25:48.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-1705 does not seem to be running inside a container [2022-06-08T00:25:48.878Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-08T00:25:51.774Z] $ docker top dbe3b0c181479b90d0cf9c41656193977eafe5adb16964014bb75e169ca9e3a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:25:52.734Z] ---> job-cost.sh [2022-06-08T00:25:52.734Z] lf-activate-venv: SKIPPING [2022-06-08T00:25:52.734Z] INFO: No Stack... [2022-06-08T00:25:53.330Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T00:25:54.312Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T00:25:54.981Z] + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [2022-06-08T00:25:54.981Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T00:25:55.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [2022-06-08T00:25:55.062Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] did not exist. Created. [2022-06-08T00:25:55.062Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T00:25:55.747Z] /w/workspace/device-onvif-camera/11@tmp/durable-c0ed0937/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T00:25:56.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T00:25:56.472Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T00:25:56.535Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T00:25:56.542Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T00:25:56.565Z] $ docker stop --time=1 dbe3b0c181479b90d0cf9c41656193977eafe5adb16964014bb75e169ca9e3a4 [2022-06-08T00:25:58.150Z] $ docker rm -f dbe3b0c181479b90d0cf9c41656193977eafe5adb16964014bb75e169ca9e3a4 [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-06-08T00:25:58.685Z] provisioning config files... [2022-06-08T00:25:58.705Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config2246106827240786321tmp [Pipeline] { [Pipeline] sh [2022-06-08T00:25:58.997Z] + set +x [2022-06-08T00:25:58.997Z] + curl -s https://codecov.io/bash [2022-06-08T00:25:58.997Z] + bash -s -- [2022-06-08T00:25:58.997Z] [2022-06-08T00:25:58.997Z] _____ _ [2022-06-08T00:25:58.997Z] / ____| | | [2022-06-08T00:25:58.997Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T00:25:58.997Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T00:25:58.997Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T00:25:58.997Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T00:25:58.997Z] Bash-1.0.6 [2022-06-08T00:25:58.997Z] [2022-06-08T00:25:58.997Z] [2022-06-08T00:25:58.997Z] ==> git version 2.25.1 found [2022-06-08T00:25:58.997Z] ==> 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-06-08T00:25:58.997Z] Release-Date: 2020-01-08 [2022-06-08T00:25:58.997Z] 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-06-08T00:25:58.997Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-08T00:25:58.997Z] ==> Jenkins CI detected. [2022-06-08T00:25:58.997Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-08T00:25:58.997Z] project root: . [2022-06-08T00:25:58.997Z] --> token set from env [2022-06-08T00:25:58.997Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T00:25:58.997Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T00:25:58.997Z] ==> Python coveragepy not found [2022-06-08T00:25:58.997Z] ==> Searching for coverage reports in: [2022-06-08T00:25:58.997Z] + . [2022-06-08T00:25:58.997Z] -> Found 1 reports [2022-06-08T00:25:58.997Z] ==> Detecting git/mercurial file structure [2022-06-08T00:25:58.997Z] ==> Reading reports [2022-06-08T00:25:58.997Z] + ./coverage.out bytes=59764 [2022-06-08T00:25:58.997Z] ==> Appending adjustments [2022-06-08T00:25:58.997Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T00:25:59.257Z] + Found adjustments [2022-06-08T00:25:59.258Z] ==> Gzipping contents [2022-06-08T00:25:59.258Z] 8.0K /tmp/codecov.XGayhO.gz [2022-06-08T00:25:59.258Z] ==> Uploading reports [2022-06-08T00:25:59.258Z] url: https://codecov.io [2022-06-08T00:25:59.258Z] query: branch=PR-81&commit=436d56586c1d1d2fdd7d99625b2ffd703462d71c&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-08T00:25:59.258Z] -> Pinging Codecov [2022-06-08T00:25:59.258Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-81&commit=436d56586c1d1d2fdd7d99625b2ffd703462d71c&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-08T00:25:59.519Z] -> Uploading to [2022-06-08T00:25:59.519Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/F29A59C45E3A92E06B3E522C9905F8EF/436d56586c1d1d2fdd7d99625b2ffd703462d71c/e297de44-45eb-4e09-a5bb-8fae955b98cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T002559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eef381d854fd5500535394f9d2a81272862dab63de459a460926e6f87b40485b [2022-06-08T00:25:59.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T00:25:59.519Z] Dload Upload Total Spent Left Speed [2022-06-08T00:25:59.781Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7595 0 0 100 7595 0 34211 --:--:-- --:--:-- --:--:-- 34058 100 7595 0 0 100 7595 0 32182 --:--:-- --:--:-- --:--:-- 32046 [2022-06-08T00:25:59.781Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/436d56586c1d1d2fdd7d99625b2ffd703462d71c [Pipeline] } [2022-06-08T00:25:59.790Z] 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-06-08T00:26:00.501Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-08T00:26:00.501Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:26:00.501Z] total 16 [2022-06-08T00:26:00.501Z] drwxr-xr-x 3 root root 4096 Jun 8 00:18 . [2022-06-08T00:26:00.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 00:18 .. [2022-06-08T00:26:00.501Z] drwxr-xr-x 2 root root 4096 Jun 8 00:18 cost [2022-06-08T00:26:00.501Z] -rw-r--r-- 1 root root 90 Jun 8 00:18 cost.csv [2022-06-08T00:26:00.501Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:26:00.501Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:26:00.501Z] total 16 [2022-06-08T00:26:00.501Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 00:18 . [2022-06-08T00:26:00.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 00:18 .. [2022-06-08T00:26:00.501Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 00:18 cost [2022-06-08T00:26:00.501Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 8 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:00.796Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:01.662Z] ---> package-listing.sh [2022-06-08T00:26:01.663Z] ++ facter osfamily [2022-06-08T00:26:01.663Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T00:26:01.925Z] + OS_FAMILY=debian [2022-06-08T00:26:01.925Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-08T00:26:01.925Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T00:26:01.925Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T00:26:01.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T00:26:01.925Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T00:26:01.925Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-08T00:26:01.925Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T00:26:01.925Z] + case "${OS_FAMILY}" in [2022-06-08T00:26:01.925Z] + dpkg -l [2022-06-08T00:26:01.925Z] + grep '^ii' [2022-06-08T00:26:01.925Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T00:26:01.925Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T00:26:01.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T00:26:01.925Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-08T00:26:01.925Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-08T00:26:01.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-08T00:26:01.937Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-08T00:26:02.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:26:02.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:26:02.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:26:02.851Z] prd-ubuntu20.04-docker-8c-8g-1704 does not seem to be running inside a container [2022-06-08T00:26:02.897Z] $ 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-81/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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T00:26:03.136Z] $ docker top 4bf884a2ab621367f53f1db189db25bd02f391b4e768617ee598bab3aea6bea9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:26:03.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T00:26:03.770Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T00:26:04.055Z] + ls /var/log/sa-host [2022-06-08T00:26:04.055Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:26:04.196Z] provisioning config files... [2022-06-08T00:26:04.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6813710159674037964tmp [Pipeline] { [Pipeline] echo [2022-06-08T00:26:04.223Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:04.507Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T00:26:04.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:04.846Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T00:26:04.856Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:05.142Z] ---> sudo-logs.sh [2022-06-08T00:26:05.142Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T00:26:05.162Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:05.448Z] ---> job-cost.sh [2022-06-08T00:26:05.448Z] lf-activate-venv: SKIPPING [2022-06-08T00:26:05.448Z] DEBUG: total: 0.2199999988079071 [2022-06-08T00:26:05.448Z] INFO: Retrieving Stack Cost... [2022-06-08T00:26:06.024Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T00:26:06.596Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T00:26:06.607Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:26:06.893Z] ---> logs-deploy.sh [2022-06-08T00:26:06.893Z] lf-activate-venv: SKIPPING [2022-06-08T00:26:06.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/11 [2022-06-08T00:26:06.893Z] INFO: archiving workspace using pattern(s): [2022-06-08T00:26:07.830Z] Archives upload complete. [2022-06-08T00:26:07.830Z] INFO: archiving logs to Nexus