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 4a320a1b8be7e7021a70e83b0979328ccd2cb3f8 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-ssh1793496127429215324.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-ssh6929053827029463697.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-ssh14610892690549652790.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-ssh15498758801689845418.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-ssh18125490017950284283.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1710 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 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 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 4a320a1b8be7e7021a70e83b0979328ccd2cb3f8 Merge succeeded, producing afa0f7a60e9edaf302003936e07b42e118d5fcb5 Checking out Revision afa0f7a60e9edaf302003936e07b42e118d5fcb5 (PR-81) > git config core.sparsecheckout # timeout=10 > git checkout -f 4a320a1b8be7e7021a70e83b0979328ccd2cb3f8 # 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 afa0f7a60e9edaf302003936e07b42e118d5fcb5 # 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:38:06.736Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T00:38:06.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T00:38:06.828Z] ========================================================= [2022-06-08T00:38:06.828Z] EdgeX Global Pipelines Version Info [2022-06-08T00:38:06.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a121af70d198eff9b4d26f22f7836849f4072b27 # timeout=10 [2022-06-08T00:38:07.602Z] ------------------- [2022-06-08T00:38:07.602Z] stable info: [2022-06-08T00:38:07.602Z] ------------------- [2022-06-08T00:38:07.602Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T00:38:07.602Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T00:38:07.602Z] Message: update stable to v1.0.234 [2022-06-08T00:38:08.176Z] ------------------- [2022-06-08T00:38:08.176Z] experimental info: [2022-06-08T00:38:08.176Z] ------------------- [2022-06-08T00:38:08.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T00:38:08.176Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T00:38:08.176Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T00:38:08.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-08T00:38:08.369Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-08T00:38:08.381Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T00:38:08.396Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T00:38:08.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T00:38:08.431Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T00:38:08.449Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T00:38:08.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T00:38:08.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T00:38:08.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T00:38:08.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T00:38:08.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-08T00:38:08.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T00:38:08.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T00:38:08.573Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T00:38:08.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T00:38:08.609Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T00:38:08.625Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T00:38:08.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T00:38:08.661Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-08T00:38:08.676Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T00:38:08.692Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T00:38:08.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T00:38:08.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T00:38:08.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T00:38:08.763Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T00:38:08.779Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T00:38:08.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-08T00:38:08.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-08T00:38:08.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-08T00:38:08.837Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afa0f7a60e9edaf302003936e07b42e118d5fcb5 [Pipeline] echo [2022-06-08T00:38:08.851Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afa0f7a [Pipeline] echo [2022-06-08T00:38:08.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:38:08.912Z] provisioning config files... [2022-06-08T00:38:08.926Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7307239674465543661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:38:09.243Z] ---> docker-login.sh [2022-06-08T00:38:09.243Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:38:09.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:09.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:09.504Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:09.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:09.504Z] [2022-06-08T00:38:09.504Z] Login Succeeded [2022-06-08T00:38:09.504Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:38:09.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:09.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:09.764Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:09.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:09.764Z] [2022-06-08T00:38:09.764Z] Login Succeeded [2022-06-08T00:38:09.764Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:38:09.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:09.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:09.765Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:09.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:09.765Z] [2022-06-08T00:38:09.765Z] Login Succeeded [2022-06-08T00:38:09.765Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:38:09.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:10.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:10.026Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:10.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:10.026Z] [2022-06-08T00:38:10.026Z] Login Succeeded [2022-06-08T00:38:10.026Z] docker.io [2022-06-08T00:38:10.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:10.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:10.288Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:10.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:10.288Z] [2022-06-08T00:38:10.288Z] Login Succeeded [2022-06-08T00:38:10.288Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:38:10.297Z] 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:38:10.697Z] + git rev-list -1 --merges afa0f7a60e9edaf302003936e07b42e118d5fcb5~1..afa0f7a60e9edaf302003936e07b42e118d5fcb5 [Pipeline] echo [2022-06-08T00:38:10.784Z] -----------> git rev-list -1 --merges afa0f7a60e9edaf302003936e07b42e118d5fcb5~1..afa0f7a60e9edaf302003936e07b42e118d5fcb5 afa0f7a60e9edaf302003936e07b42e118d5fcb5 [2022-06-08T00:38:10.784Z] afa0f7a60e9edaf302003936e07b42e118d5fcb5 [false] [Pipeline] sh [2022-06-08T00:38:11.087Z] + git log --format=format:%s -1 afa0f7a60e9edaf302003936e07b42e118d5fcb5 [Pipeline] echo [2022-06-08T00:38:11.103Z] ========================================================= [2022-06-08T00:38:11.103Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-08T00:38:11.103Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:38:11.442Z] + git log --format=format:%s -1 afa0f7a60e9edaf302003936e07b42e118d5fcb5 [Pipeline] echo [2022-06-08T00:38:11.453Z] [semverPrep] GIT_COMMIT: afa0f7a60e9edaf302003936e07b42e118d5fcb5, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-08T00:38:11.463Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T00:38:11.827Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T00:38:11.827Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T00:38:11.827Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T00:38:11.827Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T00:38:11.827Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T00:38:11.827Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T00:38:11.827Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:38:12.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:38:12.245Z] [2022-06-08T00:38:12.245Z] 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:38:12.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:38:12.549Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T00:38:12.549Z] 42c077c10790: Pulling fs layer [2022-06-08T00:38:12.549Z] f63e77b7563a: Pulling fs layer [2022-06-08T00:38:12.549Z] bd5fdadae976: Pulling fs layer [2022-06-08T00:38:12.549Z] 205491f53016: Pulling fs layer [2022-06-08T00:38:12.549Z] df18705c85c3: Pulling fs layer [2022-06-08T00:38:12.549Z] bdb3f477010e: Pulling fs layer [2022-06-08T00:38:12.549Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T00:38:12.549Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T00:38:12.549Z] bdb8f0575790: Pulling fs layer [2022-06-08T00:38:12.549Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T00:38:12.549Z] 2343380bae48: Pulling fs layer [2022-06-08T00:38:12.549Z] c8a8fc8e1c8f: Waiting [2022-06-08T00:38:12.549Z] df18705c85c3: Waiting [2022-06-08T00:38:12.549Z] bdb3f477010e: Waiting [2022-06-08T00:38:12.549Z] 2c6e9b1d212d: Waiting [2022-06-08T00:38:12.549Z] bdb8f0575790: Waiting [2022-06-08T00:38:12.549Z] 386e3cb2ff24: Waiting [2022-06-08T00:38:12.549Z] 2343380bae48: Waiting [2022-06-08T00:38:12.549Z] f63e77b7563a: Verifying Checksum [2022-06-08T00:38:12.549Z] f63e77b7563a: Download complete [2022-06-08T00:38:12.549Z] 205491f53016: Verifying Checksum [2022-06-08T00:38:12.549Z] 205491f53016: Download complete [2022-06-08T00:38:12.549Z] df18705c85c3: Verifying Checksum [2022-06-08T00:38:12.549Z] df18705c85c3: Download complete [2022-06-08T00:38:12.814Z] bdb3f477010e: Verifying Checksum [2022-06-08T00:38:12.814Z] bdb3f477010e: Download complete [2022-06-08T00:38:12.814Z] bd5fdadae976: Verifying Checksum [2022-06-08T00:38:12.814Z] bd5fdadae976: Download complete [2022-06-08T00:38:12.814Z] 2c6e9b1d212d: Verifying Checksum [2022-06-08T00:38:12.814Z] 2c6e9b1d212d: Download complete [2022-06-08T00:38:12.814Z] bdb8f0575790: Verifying Checksum [2022-06-08T00:38:12.814Z] bdb8f0575790: Download complete [2022-06-08T00:38:12.814Z] 386e3cb2ff24: Download complete [2022-06-08T00:38:12.814Z] 2343380bae48: Verifying Checksum [2022-06-08T00:38:12.814Z] 2343380bae48: Download complete [2022-06-08T00:38:12.814Z] 42c077c10790: Verifying Checksum [2022-06-08T00:38:12.814Z] 42c077c10790: Download complete [2022-06-08T00:38:13.074Z] c8a8fc8e1c8f: Download complete [2022-06-08T00:38:14.012Z] 42c077c10790: Pull complete [2022-06-08T00:38:14.273Z] f63e77b7563a: Pull complete [2022-06-08T00:38:14.842Z] bd5fdadae976: Pull complete [2022-06-08T00:38:14.842Z] 205491f53016: Pull complete [2022-06-08T00:38:15.103Z] df18705c85c3: Pull complete [2022-06-08T00:38:15.365Z] bdb3f477010e: Pull complete [2022-06-08T00:38:17.276Z] c8a8fc8e1c8f: Pull complete [2022-06-08T00:38:17.276Z] 2c6e9b1d212d: Pull complete [2022-06-08T00:38:17.537Z] bdb8f0575790: Pull complete [2022-06-08T00:38:17.537Z] 386e3cb2ff24: Pull complete [2022-06-08T00:38:17.845Z] 2343380bae48: Pull complete [2022-06-08T00:38:17.845Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T00:38:17.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T00:38:17.845Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:38:17.958Z] prd-ubuntu20.04-docker-8c-8g-1710 does not seem to be running inside a container [2022-06-08T00:38:18.003Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T00:38:19.300Z] $ docker top f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 -eo pid,comm [2022-06-08T00:38:19.360Z] 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:38:19.360Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T00:38:19.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T00:38:19.396Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T00:38:19.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T00:38:19.542Z] $ docker exec f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 ssh-agent [2022-06-08T00:38:19.694Z] SSH_AUTH_SOCK=/tmp/ssh-dkMNlEvYMU3F/agent.33 [2022-06-08T00:38:19.694Z] SSH_AGENT_PID=41 [2022-06-08T00:38:19.701Z] Running ssh-add (command line suppressed) [2022-06-08T00:38:19.813Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2921870606840270163.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2921870606840270163.key) [2022-06-08T00:38:19.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T00:38:20.120Z] + git tag --points-at HEAD [Pipeline] } [2022-06-08T00:38:20.146Z] $ docker exec --env ******** --env ******** f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 ssh-agent -k [2022-06-08T00:38:20.251Z] unset SSH_AUTH_SOCK; [2022-06-08T00:38:20.251Z] unset SSH_AGENT_PID; [2022-06-08T00:38:20.252Z] echo Agent pid 41 killed; [2022-06-08T00:38:20.257Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-08T00:38:20.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T00:38:20.283Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T00:38:20.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T00:38:20.410Z] $ docker exec f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 ssh-agent [2022-06-08T00:38:20.534Z] SSH_AUTH_SOCK=/tmp/ssh-aq1fzg2pivsA/agent.74 [2022-06-08T00:38:20.534Z] SSH_AGENT_PID=80 [2022-06-08T00:38:20.540Z] Running ssh-add (command line suppressed) [2022-06-08T00:38:20.663Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8141645217386053646.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_8141645217386053646.key) [2022-06-08T00:38:20.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T00:38:20.969Z] + git semver init [2022-06-08T00:38:21.229Z] 2022-06-08 00:38:21,212 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T00:38:21.229Z] 2022-06-08 00:38:21,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-08T00:38:21.229Z] 2022-06-08 00:38:21,214 [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:38:21.229Z] 2022-06-08 00:38:21,214 [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:38:22.173Z] 2022-06-08 00:38:21,877 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-08T00:38:22.173Z] 2022-06-08 00:38:21,877 [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:38:22.173Z] 2022-06-08 00:38:21,877 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-08T00:38:22.173Z] 2022-06-08 00:38:21,880 [execute] INFO git cat-file --batch-check [2022-06-08T00:38:22.173Z] 2022-06-08 00:38:21,880 [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:38:22.173Z] 2022-06-08 00:38:21,886 [execute] INFO git cat-file --batch [2022-06-08T00:38:22.173Z] 2022-06-08 00:38:21,886 [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:38:22.173Z] 2022-06-08 00:38:21,891 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-08T00:38:22.173Z] 0.0.0 [Pipeline] } [2022-06-08T00:38:22.191Z] $ docker exec --env ******** --env ******** f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 ssh-agent -k [2022-06-08T00:38:22.308Z] unset SSH_AUTH_SOCK; [2022-06-08T00:38:22.309Z] unset SSH_AGENT_PID; [2022-06-08T00:38:22.309Z] echo Agent pid 80 killed; [2022-06-08T00:38:22.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T00:38:22.629Z] + git semver [Pipeline] } [2022-06-08T00:38:22.910Z] $ docker stop --time=1 f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 [2022-06-08T00:38:24.191Z] $ docker rm -f f07d60ea3fe11620b4053fc815bf8c576f4ea7f322d0cc6963e033ef63f3a615 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:38:24.531Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T00:38:24.781Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T00:38:24.784Z] [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:38:24.942Z] provisioning config files... [2022-06-08T00:38:24.951Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config2364545625101792051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:38:25.244Z] ---> docker-login.sh [2022-06-08T00:38:25.244Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:38:25.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:25.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:25.244Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:25.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:25.244Z] [2022-06-08T00:38:25.244Z] Login Succeeded [2022-06-08T00:38:25.244Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:38:25.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:25.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:25.244Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:25.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:25.244Z] [2022-06-08T00:38:25.244Z] Login Succeeded [2022-06-08T00:38:25.244Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:38:25.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:25.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:25.503Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:25.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:25.503Z] [2022-06-08T00:38:25.503Z] Login Succeeded [2022-06-08T00:38:25.503Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:38:25.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:25.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:25.503Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:25.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:25.503Z] [2022-06-08T00:38:25.503Z] Login Succeeded [2022-06-08T00:38:25.503Z] docker.io [2022-06-08T00:38:25.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:38:26.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:38:26.023Z] Configure a credential helper to remove this warning. See [2022-06-08T00:38:26.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:38:26.023Z] [2022-06-08T00:38:26.023Z] Login Succeeded [2022-06-08T00:38:26.023Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:38:26.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T00:38:26.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:38:26.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:38:26.115Z] ========================================================= [2022-06-08T00:38:26.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-08T00:38:26.115Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:38:26.430Z] + 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:38:26.430Z] Sending build context to Docker daemon 8.742MB [2022-06-08T00:38:26.430Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:38:26.430Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-08T00:38:26.430Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-08T00:38:26.430Z] 59bf1c3509f3: Pulling fs layer [2022-06-08T00:38:26.430Z] 666ba61612fd: Pulling fs layer [2022-06-08T00:38:26.430Z] 8ed8ca486205: Pulling fs layer [2022-06-08T00:38:26.430Z] cc1cd167ecdc: Pulling fs layer [2022-06-08T00:38:26.430Z] c516ae0d96e1: Pulling fs layer [2022-06-08T00:38:26.430Z] 684cea983483: Pulling fs layer [2022-06-08T00:38:26.430Z] dd3240ac7de5: Pulling fs layer [2022-06-08T00:38:26.430Z] b1e948a4e11c: Pulling fs layer [2022-06-08T00:38:26.430Z] a8fd76ee1af6: Pulling fs layer [2022-06-08T00:38:26.430Z] 646ad004c059: Pulling fs layer [2022-06-08T00:38:26.430Z] c516ae0d96e1: Waiting [2022-06-08T00:38:26.430Z] 684cea983483: Waiting [2022-06-08T00:38:26.430Z] 646ad004c059: Waiting [2022-06-08T00:38:26.430Z] dd3240ac7de5: Waiting [2022-06-08T00:38:26.430Z] b1e948a4e11c: Waiting [2022-06-08T00:38:26.430Z] a8fd76ee1af6: Waiting [2022-06-08T00:38:26.430Z] cc1cd167ecdc: Waiting [2022-06-08T00:38:26.430Z] 8ed8ca486205: Download complete [2022-06-08T00:38:26.431Z] 666ba61612fd: Download complete [2022-06-08T00:38:26.431Z] c516ae0d96e1: Verifying Checksum [2022-06-08T00:38:26.431Z] c516ae0d96e1: Download complete [2022-06-08T00:38:26.431Z] 684cea983483: Verifying Checksum [2022-06-08T00:38:26.431Z] 684cea983483: Download complete [2022-06-08T00:38:26.692Z] dd3240ac7de5: Verifying Checksum [2022-06-08T00:38:26.692Z] dd3240ac7de5: Download complete [2022-06-08T00:38:26.692Z] 59bf1c3509f3: Verifying Checksum [2022-06-08T00:38:26.692Z] 59bf1c3509f3: Download complete [2022-06-08T00:38:26.692Z] b1e948a4e11c: Verifying Checksum [2022-06-08T00:38:26.692Z] b1e948a4e11c: Download complete [2022-06-08T00:38:26.692Z] 59bf1c3509f3: Pull complete [2022-06-08T00:38:26.952Z] 666ba61612fd: Pull complete [2022-06-08T00:38:26.952Z] 8ed8ca486205: Pull complete [2022-06-08T00:38:27.212Z] 646ad004c059: Verifying Checksum [2022-06-08T00:38:27.212Z] 646ad004c059: Download complete [2022-06-08T00:38:27.212Z] a8fd76ee1af6: Verifying Checksum [2022-06-08T00:38:27.212Z] cc1cd167ecdc: Download complete [2022-06-08T00:38:31.405Z] cc1cd167ecdc: Pull complete [2022-06-08T00:38:31.405Z] c516ae0d96e1: Pull complete [2022-06-08T00:38:31.405Z] 684cea983483: Pull complete [2022-06-08T00:38:31.405Z] dd3240ac7de5: Pull complete [2022-06-08T00:38:31.405Z] b1e948a4e11c: Pull complete [2022-06-08T00:38:33.315Z] a8fd76ee1af6: Pull complete [2022-06-08T00:38:33.885Z] 646ad004c059: Pull complete [2022-06-08T00:38:33.885Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-08T00:38:33.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-08T00:38:33.885Z] ---> 8f69c11f6b0c [2022-06-08T00:38:33.885Z] Step 3/13 : ARG MAKE="make build" [2022-06-08T00:38:35.268Z] ---> Running in 1925a7a36eb6 [2022-06-08T00:38:35.268Z] Removing intermediate container 1925a7a36eb6 [2022-06-08T00:38:35.268Z] ---> 7111e7357b4b [2022-06-08T00:38:35.268Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:38:35.268Z] ---> Running in 8dbd4ff36e71 [2022-06-08T00:38:35.527Z] Removing intermediate container 8dbd4ff36e71 [2022-06-08T00:38:35.527Z] ---> 2ffabf80eb37 [2022-06-08T00:38:35.527Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:38:35.527Z] ---> Running in 9b00fbb3098b [2022-06-08T00:38:35.527Z] Removing intermediate container 9b00fbb3098b [2022-06-08T00:38:35.527Z] ---> 7da252ebdafe [2022-06-08T00:38:35.527Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:38:35.527Z] ---> Running in 9865463f9eba [2022-06-08T00:38:35.788Z] Removing intermediate container 9865463f9eba [2022-06-08T00:38:35.788Z] ---> b57a955e5363 [2022-06-08T00:38:35.788Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:38:35.788Z] ---> Running in f0c1bd5a4424 [2022-06-08T00:38:36.359Z] Removing intermediate container f0c1bd5a4424 [2022-06-08T00:38:36.359Z] ---> 4831aa411370 [2022-06-08T00:38:36.359Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:38:36.359Z] ---> Running in ddfa3996013e [2022-06-08T00:38:36.619Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:38:37.561Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:38:37.822Z] OK: 221 MiB in 52 packages [2022-06-08T00:38:38.082Z] Removing intermediate container ddfa3996013e [2022-06-08T00:38:38.082Z] ---> 568556a03fde [2022-06-08T00:38:38.082Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-08T00:38:38.343Z] ---> Running in bf3176fb5152 [2022-06-08T00:38:38.343Z] Removing intermediate container bf3176fb5152 [2022-06-08T00:38:38.343Z] ---> 14d2f65db9e3 [2022-06-08T00:38:38.343Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-08T00:38:38.605Z] ---> b1b03294918f [2022-06-08T00:38:38.605Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:38:38.605Z] ---> Running in a67b12757465 [2022-06-08T00:38:39.898Z] Still waiting to schedule task [2022-06-08T00:38:39.899Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1708’ [2022-06-08T00:38:53.502Z] Removing intermediate container a67b12757465 [2022-06-08T00:38:53.502Z] ---> e4db00c5cdc8 [2022-06-08T00:38:53.502Z] Step 12/13 : COPY . . [2022-06-08T00:38:53.502Z] ---> 466b04e68403 [2022-06-08T00:38:53.502Z] Step 13/13 : RUN ${MAKE} [2022-06-08T00:38:53.502Z] ---> Running in 6de9759e3b28 [2022-06-08T00:38:53.502Z] noop [2022-06-08T00:38:53.502Z] Removing intermediate container 6de9759e3b28 [2022-06-08T00:38:53.502Z] ---> f52843124545 [2022-06-08T00:38:53.502Z] Successfully built f52843124545 [2022-06-08T00:38:53.502Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:38:53.828Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T00:38:53.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:38:53.919Z] prd-ubuntu20.04-docker-8c-8g-1710 does not seem to be running inside a container [2022-06-08T00:38:53.959Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-08T00:38:54.332Z] $ docker top ae41d77cc15065a0ab50355120fb4bfaabe18b28156569e1b3cefbe3f13aae16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:38:54.683Z] + go version [2022-06-08T00:38:54.683Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-08T00:38:54.701Z] $ docker stop --time=1 ae41d77cc15065a0ab50355120fb4bfaabe18b28156569e1b3cefbe3f13aae16 [2022-06-08T00:38:55.982Z] $ docker rm -f ae41d77cc15065a0ab50355120fb4bfaabe18b28156569e1b3cefbe3f13aae16 [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:38:56.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T00:38:56.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:38:56.520Z] prd-ubuntu20.04-docker-8c-8g-1710 does not seem to be running inside a container [2022-06-08T00:38:56.614Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-08T00:38:56.974Z] $ docker top a7c179e5404598d876887beb0836e8c12c2bd19e726f34a9eafb2a77c4c5b7d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T00:38:57.344Z] + make test [2022-06-08T00:38:57.344Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-08T00:38:57.603Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-08T00:39:07.585Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-08T00:39:07.585Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements [2022-06-08T00:39:10.878Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.272s coverage: 13.8% of statements [2022-06-08T00:39:17.449Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T00:39:21.648Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T00:39:21.648Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T00:39:21.910Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-08T00:39:22.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-08T00:39:22.512Z] $ docker stop --time=1 a7c179e5404598d876887beb0836e8c12c2bd19e726f34a9eafb2a77c4c5b7d4 [2022-06-08T00:39:24.218Z] $ docker rm -f a7c179e5404598d876887beb0836e8c12c2bd19e726f34a9eafb2a77c4c5b7d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:39:24.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T00:39:24.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T00:39:25.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T00:39:25.492Z] + ls -al . [2022-06-08T00:39:25.492Z] total 236 [2022-06-08T00:39:25.492Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 00:39 . [2022-06-08T00:39:25.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:38 .. [2022-06-08T00:39:25.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:38 .git [2022-06-08T00:39:25.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:38 .github [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 8 00:38 .gitignore [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 00:38 .golangci.yml [2022-06-08T00:39:25.493Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 00:38 .semver [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 8 00:38 Attribution.txt [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 8 00:38 CHANGELOG.md [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 8 00:38 Dockerfile [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 00:38 GOVERNANCE.md [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 8 00:38 Jenkinsfile [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 00:38 LICENSE [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 8 00:38 Makefile [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 8 00:38 OWNERS.md [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 8 00:38 README.md [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 00:38 VERSION [2022-06-08T00:39:25.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:38 bin [2022-06-08T00:39:25.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 00:38 cmd [2022-06-08T00:39:25.493Z] -rw-r--r-- 1 jenkins jenkins 59764 Jun 8 00:39 coverage.out [2022-06-08T00:39:25.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:38 doc [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 8 00:38 go.mod [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 8 00:38 go.sum [2022-06-08T00:39:25.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:38 internal [2022-06-08T00:39:25.493Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 8 00:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:39:25.805Z] + 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=afa0f7a60e9edaf302003936e07b42e118d5fcb5 --label arch=amd64 --label version=0.0.0 . [2022-06-08T00:39:25.805Z] Sending build context to Docker daemon 8.802MB [2022-06-08T00:39:25.805Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:39:25.805Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-08T00:39:25.805Z] ---> f52843124545 [2022-06-08T00:39:25.805Z] Step 3/26 : ARG MAKE="make build" [2022-06-08T00:39:25.805Z] ---> Running in 494fbfb1e652 [2022-06-08T00:39:26.066Z] Removing intermediate container 494fbfb1e652 [2022-06-08T00:39:26.066Z] ---> 4377ea9cff48 [2022-06-08T00:39:26.066Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:39:26.066Z] ---> Running in 97d83386338e [2022-06-08T00:39:26.066Z] Removing intermediate container 97d83386338e [2022-06-08T00:39:26.066Z] ---> 58c14f921f18 [2022-06-08T00:39:26.066Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:39:26.066Z] ---> Running in 5534dfb30a6a [2022-06-08T00:39:26.327Z] Removing intermediate container 5534dfb30a6a [2022-06-08T00:39:26.327Z] ---> 3dc00fd54968 [2022-06-08T00:39:26.327Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:39:26.327Z] ---> Running in ebb349b3a3e2 [2022-06-08T00:39:26.327Z] Removing intermediate container ebb349b3a3e2 [2022-06-08T00:39:26.327Z] ---> 334f39982a00 [2022-06-08T00:39:26.327Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:39:26.327Z] ---> Running in 5b07d86f1f82 [2022-06-08T00:39:26.897Z] Removing intermediate container 5b07d86f1f82 [2022-06-08T00:39:26.897Z] ---> a0cee473784d [2022-06-08T00:39:26.897Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:39:26.897Z] ---> Running in 658cc2bceb65 [2022-06-08T00:39:27.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:39:28.099Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:39:28.360Z] OK: 221 MiB in 52 packages [2022-06-08T00:39:28.620Z] Removing intermediate container 658cc2bceb65 [2022-06-08T00:39:28.620Z] ---> 91a92f8b0086 [2022-06-08T00:39:28.620Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-08T00:39:28.620Z] ---> Running in 5de119d00726 [2022-06-08T00:39:28.620Z] Removing intermediate container 5de119d00726 [2022-06-08T00:39:28.620Z] ---> 8110e3d93304 [2022-06-08T00:39:28.620Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-08T00:39:28.881Z] ---> 7436fc4b6b7c [2022-06-08T00:39:28.881Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:39:28.881Z] ---> Running in 1b11689fc687 [2022-06-08T00:39:29.448Z] Removing intermediate container 1b11689fc687 [2022-06-08T00:39:29.448Z] ---> 06d6e04fcfb6 [2022-06-08T00:39:29.448Z] Step 12/26 : COPY . . [2022-06-08T00:39:29.712Z] ---> de3eeb488b80 [2022-06-08T00:39:29.712Z] Step 13/26 : RUN ${MAKE} [2022-06-08T00:39:29.712Z] ---> Running in 62b8bbc713ed [2022-06-08T00:39:29.972Z] 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:39:51.910Z] Removing intermediate container 62b8bbc713ed [2022-06-08T00:39:51.910Z] ---> d1bbdf230dad [2022-06-08T00:39:51.910Z] Step 14/26 : FROM alpine:3.15 [2022-06-08T00:39:51.910Z] 3.15: Pulling from library/alpine [2022-06-08T00:39:51.910Z] df9b9388f04a: Pulling fs layer [2022-06-08T00:39:51.910Z] df9b9388f04a: Verifying Checksum [2022-06-08T00:39:51.910Z] df9b9388f04a: Pull complete [2022-06-08T00:39:51.910Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-08T00:39:51.910Z] Status: Downloaded newer image for alpine:3.15 [2022-06-08T00:39:51.910Z] ---> 0ac33e5f5afa [2022-06-08T00:39:51.910Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-08T00:39:51.910Z] ---> Running in 69f0ec566f8f [2022-06-08T00:39:51.910Z] Removing intermediate container 69f0ec566f8f [2022-06-08T00:39:51.910Z] ---> ee934a508da5 [2022-06-08T00:39:51.910Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T00:39:51.910Z] ---> Running in 377fbcab3d17 [2022-06-08T00:39:51.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-08T00:39:51.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-08T00:39:51.910Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T00:39:51.910Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-08T00:39:51.910Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T00:39:51.910Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-08T00:39:51.910Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T00:39:51.910Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T00:39:51.910Z] Executing busybox-1.34.1-r5.trigger [2022-06-08T00:39:51.910Z] OK: 8 MiB in 20 packages [2022-06-08T00:39:51.910Z] Removing intermediate container 377fbcab3d17 [2022-06-08T00:39:51.910Z] ---> 561aed731c26 [2022-06-08T00:39:51.910Z] Step 17/26 : WORKDIR / [2022-06-08T00:39:51.910Z] ---> Running in c99eb52cdf61 [2022-06-08T00:39:51.910Z] Removing intermediate container c99eb52cdf61 [2022-06-08T00:39:51.910Z] ---> 8851854b7108 [2022-06-08T00:39:51.910Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-08T00:39:51.910Z] ---> e7723fce9c3b [2022-06-08T00:39:51.911Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-08T00:39:52.177Z] ---> e5264bac886d [2022-06-08T00:39:52.177Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-08T00:39:52.177Z] ---> 11d83d4578d6 [2022-06-08T00:39:52.177Z] Step 21/26 : EXPOSE 59984 [2022-06-08T00:39:52.177Z] ---> Running in 06bd9f6d1475 [2022-06-08T00:39:52.177Z] Removing intermediate container 06bd9f6d1475 [2022-06-08T00:39:52.177Z] ---> 9508d7348ccc [2022-06-08T00:39:52.177Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-08T00:39:52.439Z] ---> Running in f5b3b0c95dbb [2022-06-08T00:39:52.439Z] Removing intermediate container f5b3b0c95dbb [2022-06-08T00:39:52.439Z] ---> f3163309f97f [2022-06-08T00:39:52.439Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T00:39:52.439Z] ---> Running in 366ea26bccee [2022-06-08T00:39:52.439Z] Removing intermediate container 366ea26bccee [2022-06-08T00:39:52.439Z] ---> e7d0e0f1ccd5 [2022-06-08T00:39:52.439Z] Step 24/26 : LABEL arch=amd64 [2022-06-08T00:39:52.439Z] ---> Running in df4e4ce62210 [2022-06-08T00:39:52.698Z] Removing intermediate container df4e4ce62210 [2022-06-08T00:39:52.698Z] ---> 224c38d4a480 [2022-06-08T00:39:52.698Z] Step 25/26 : LABEL git_sha=afa0f7a60e9edaf302003936e07b42e118d5fcb5 [2022-06-08T00:39:52.698Z] ---> Running in 68825476a866 [2022-06-08T00:39:52.698Z] Removing intermediate container 68825476a866 [2022-06-08T00:39:52.698Z] ---> 802daa69f28c [2022-06-08T00:39:52.698Z] Step 26/26 : LABEL version=0.0.0 [2022-06-08T00:39:52.698Z] ---> Running in f369f6b0691a [2022-06-08T00:39:52.958Z] Removing intermediate container f369f6b0691a [2022-06-08T00:39:52.958Z] ---> 2e11a8d70130 [2022-06-08T00:39:52.958Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T00:39:52.958Z] Successfully built 2e11a8d70130 [2022-06-08T00:39:52.958Z] 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:39:53.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:39:53.404Z] [2022-06-08T00:39:53.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:39:53.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:39:53.704Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T00:39:53.704Z] 5eb5b503b376: Pulling fs layer [2022-06-08T00:39:53.704Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T00:39:53.704Z] ec43610c2a17: Pulling fs layer [2022-06-08T00:39:53.704Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T00:39:53.704Z] 33b1e0a273af: Pulling fs layer [2022-06-08T00:39:53.704Z] 3a2ae6a8a46f: Waiting [2022-06-08T00:39:53.704Z] 33b1e0a273af: Waiting [2022-06-08T00:39:53.704Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T00:39:53.704Z] 2f39f015ded8: Pulling fs layer [2022-06-08T00:39:53.704Z] 5d3b04190fa2: Waiting [2022-06-08T00:39:53.704Z] 2f39f015ded8: Waiting [2022-06-08T00:39:53.704Z] 5c69ac0246d0: Verifying Checksum [2022-06-08T00:39:53.704Z] 5c69ac0246d0: Download complete [2022-06-08T00:39:53.704Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-08T00:39:53.704Z] 3a2ae6a8a46f: Download complete [2022-06-08T00:39:53.704Z] 33b1e0a273af: Verifying Checksum [2022-06-08T00:39:53.704Z] 33b1e0a273af: Download complete [2022-06-08T00:39:53.704Z] 5d3b04190fa2: Verifying Checksum [2022-06-08T00:39:53.704Z] 5d3b04190fa2: Download complete [2022-06-08T00:39:53.704Z] ec43610c2a17: Verifying Checksum [2022-06-08T00:39:53.704Z] ec43610c2a17: Download complete [2022-06-08T00:39:53.964Z] 5eb5b503b376: Download complete [2022-06-08T00:39:54.531Z] 2f39f015ded8: Verifying Checksum [2022-06-08T00:39:54.531Z] 2f39f015ded8: Download complete [2022-06-08T00:39:55.100Z] 5eb5b503b376: Pull complete [2022-06-08T00:39:55.359Z] 5c69ac0246d0: Pull complete [2022-06-08T00:39:55.618Z] ec43610c2a17: Pull complete [2022-06-08T00:39:55.618Z] 3a2ae6a8a46f: Pull complete [2022-06-08T00:39:55.878Z] 33b1e0a273af: Pull complete [2022-06-08T00:39:56.138Z] 5d3b04190fa2: Pull complete [2022-06-08T00:40:00.327Z] 2f39f015ded8: Pull complete [2022-06-08T00:40:00.327Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T00:40:00.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:40:00.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:40:00.423Z] prd-ubuntu20.04-docker-8c-8g-1710 does not seem to be running inside a container [2022-06-08T00:40:00.461Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T00:40:02.098Z] $ docker top 18d8489d763c028cb725a3857a02951ef3682752e4f6dfe50afd38b39de8f08a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:40:02.508Z] ---> job-cost.sh [2022-06-08T00:40:02.508Z] lf-activate-venv: SKIPPING [2022-06-08T00:40:02.508Z] INFO: No Stack... [2022-06-08T00:40:02.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T00:40:03.340Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T00:40:03.629Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-08T00:40:03.629Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T00:40:03.643Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [2022-06-08T00:40:03.652Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] did not exist. Created. [2022-06-08T00:40:03.652Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T00:40:03.965Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T00:40:03.998Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T00:40:04.008Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T00:40:04.028Z] $ docker stop --time=1 18d8489d763c028cb725a3857a02951ef3682752e4f6dfe50afd38b39de8f08a [2022-06-08T00:40:05.186Z] $ docker rm -f 18d8489d763c028cb725a3857a02951ef3682752e4f6dfe50afd38b39de8f08a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T00:42:20.082Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1711 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-08T00:42:20.094Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-06-08T00:42:20.132Z] Selected Git installation does not exist. Using Default [2022-06-08T00:42:20.132Z] The recommended git tool is: NONE [2022-06-08T00:42:24.952Z] using credential edgex-jenkins-ssh [2022-06-08T00:42:24.968Z] Cloning the remote Git repository [2022-06-08T00:42:25.045Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:42:25.119Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-06-08T00:42:25.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:42:25.192Z] > git --version # timeout=10 [2022-06-08T00:42:25.210Z] > git --version # 'git version 2.25.1' [2022-06-08T00:42:25.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:42:25.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T00:42:26.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-08T00:42:26.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T00:42:26.767Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 4a320a1b8be7e7021a70e83b0979328ccd2cb3f8 [2022-06-08T00:42:27.136Z] Merge succeeded, producing 6247dff98310bf36d9162e3b493e95dd827ea65b [2022-06-08T00:42:27.137Z] Checking out Revision 6247dff98310bf36d9162e3b493e95dd827ea65b (PR-81) [2022-06-08T00:42:26.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-08T00:42:26.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-08T00:42:26.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:42:26.270Z] > 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:42:26.793Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T00:42:26.808Z] > git checkout -f 4a320a1b8be7e7021a70e83b0979328ccd2cb3f8 # timeout=10 [2022-06-08T00:42:26.943Z] > git remote # timeout=10 [2022-06-08T00:42:26.961Z] > git config --get remote.origin.url # timeout=10 [2022-06-08T00:42:26.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T00:42:26.986Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-08T00:42:27.123Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-08T00:42:27.151Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T00:42:27.179Z] > git checkout -f 6247dff98310bf36d9162e3b493e95dd827ea65b # timeout=10 [2022-06-08T00:42:31.451Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-08T00:42:31.477Z] First time build. Skipping changelog. [2022-06-08T00:42:31.466Z] > git rev-list --no-walk a121af70d198eff9b4d26f22f7836849f4072b27 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:42:32.410Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T00:42:32.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T00:42:32.410Z] Dload Upload Total Spent Left Speed [2022-06-08T00:42:32.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 84503 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh [2022-06-08T00:42:33.254Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T00:42:33.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-08T00:42:33.593Z] + sudo tee /etc/docker/daemon.new [2022-06-08T00:42:33.593Z] { [2022-06-08T00:42:33.593Z] "registry-mirrors": [ [2022-06-08T00:42:33.593Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T00:42:33.593Z] ], [2022-06-08T00:42:33.593Z] "bip": "10.250.0.254/24", [2022-06-08T00:42:33.593Z] "hosts": [ [2022-06-08T00:42:33.593Z] "tcp://0.0.0.0:5555", [2022-06-08T00:42:33.593Z] "unix:///var/run/docker.sock" [2022-06-08T00:42:33.593Z] ], [2022-06-08T00:42:33.593Z] "mtu": 1458, [2022-06-08T00:42:33.593Z] "selinux-enabled": true, [2022-06-08T00:42:33.593Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T00:42:33.593Z] } [Pipeline] sh [2022-06-08T00:42:33.947Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T00:42:34.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:42:52.623Z] provisioning config files... [2022-06-08T00:42:52.644Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config8915748015093032268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:42:53.449Z] ---> docker-login.sh [2022-06-08T00:42:53.449Z] nexus3.edgexfoundry.org:10001 [2022-06-08T00:42:53.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:42:54.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:42:54.018Z] Configure a credential helper to remove this warning. See [2022-06-08T00:42:54.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:42:54.018Z] [2022-06-08T00:42:54.018Z] Login Succeeded [2022-06-08T00:42:54.018Z] nexus3.edgexfoundry.org:10002 [2022-06-08T00:42:54.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:42:54.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:42:54.569Z] Configure a credential helper to remove this warning. See [2022-06-08T00:42:54.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:42:54.569Z] [2022-06-08T00:42:54.569Z] Login Succeeded [2022-06-08T00:42:54.569Z] nexus3.edgexfoundry.org:10003 [2022-06-08T00:42:54.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:42:54.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:42:54.842Z] Configure a credential helper to remove this warning. See [2022-06-08T00:42:54.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:42:54.842Z] [2022-06-08T00:42:54.842Z] Login Succeeded [2022-06-08T00:42:54.842Z] nexus3.edgexfoundry.org:10004 [2022-06-08T00:42:55.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:42:55.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:42:55.397Z] Configure a credential helper to remove this warning. See [2022-06-08T00:42:55.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:42:55.397Z] [2022-06-08T00:42:55.398Z] Login Succeeded [2022-06-08T00:42:55.398Z] docker.io [2022-06-08T00:42:55.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T00:42:55.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T00:42:55.948Z] Configure a credential helper to remove this warning. See [2022-06-08T00:42:55.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T00:42:55.948Z] [2022-06-08T00:42:55.948Z] Login Succeeded [2022-06-08T00:42:55.948Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T00:42:55.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T00:42:56.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:42:56.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T00:42:56.271Z] ========================================================= [2022-06-08T00:42:56.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-08T00:42:56.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:42:56.628Z] + 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:42:57.229Z] Sending build context to Docker daemon 5.98MB [2022-06-08T00:42:57.229Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:42:57.229Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-08T00:42:57.229Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T00:42:57.229Z] 9b3977197b4f: Pulling fs layer [2022-06-08T00:42:57.229Z] 1a89e8eeedd5: Pulling fs layer [2022-06-08T00:42:57.229Z] 94645a83ff95: Pulling fs layer [2022-06-08T00:42:57.229Z] e6fb740bc735: Pulling fs layer [2022-06-08T00:42:57.229Z] 3a77bd46dcc9: Pulling fs layer [2022-06-08T00:42:57.229Z] 355e64cbe906: Pulling fs layer [2022-06-08T00:42:57.229Z] 63ab81a10011: Pulling fs layer [2022-06-08T00:42:57.229Z] 555d1d1c4555: Pulling fs layer [2022-06-08T00:42:57.229Z] 7d9057610161: Pulling fs layer [2022-06-08T00:42:57.229Z] e6fb740bc735: Waiting [2022-06-08T00:42:57.229Z] 3a77bd46dcc9: Waiting [2022-06-08T00:42:57.229Z] 355e64cbe906: Waiting [2022-06-08T00:42:57.229Z] 63ab81a10011: Waiting [2022-06-08T00:42:57.229Z] 555d1d1c4555: Waiting [2022-06-08T00:42:57.229Z] 7d9057610161: Waiting [2022-06-08T00:42:57.229Z] 94645a83ff95: Verifying Checksum [2022-06-08T00:42:57.229Z] 94645a83ff95: Download complete [2022-06-08T00:42:57.229Z] 1a89e8eeedd5: Verifying Checksum [2022-06-08T00:42:57.229Z] 1a89e8eeedd5: Download complete [2022-06-08T00:42:57.229Z] 3a77bd46dcc9: Verifying Checksum [2022-06-08T00:42:57.229Z] 3a77bd46dcc9: Download complete [2022-06-08T00:42:57.229Z] 355e64cbe906: Verifying Checksum [2022-06-08T00:42:57.229Z] 355e64cbe906: Download complete [2022-06-08T00:42:57.229Z] 9b3977197b4f: Download complete [2022-06-08T00:42:57.229Z] 63ab81a10011: Verifying Checksum [2022-06-08T00:42:57.229Z] 63ab81a10011: Download complete [2022-06-08T00:42:58.230Z] 9b3977197b4f: Pull complete [2022-06-08T00:42:58.505Z] 7d9057610161: Verifying Checksum [2022-06-08T00:42:58.505Z] 7d9057610161: Download complete [2022-06-08T00:42:58.783Z] 1a89e8eeedd5: Pull complete [2022-06-08T00:42:59.383Z] 94645a83ff95: Pull complete [2022-06-08T00:42:59.383Z] 555d1d1c4555: Verifying Checksum [2022-06-08T00:42:59.383Z] 555d1d1c4555: Download complete [2022-06-08T00:42:59.980Z] e6fb740bc735: Verifying Checksum [2022-06-08T00:42:59.980Z] e6fb740bc735: Download complete [2022-06-08T00:43:12.398Z] e6fb740bc735: Pull complete [2022-06-08T00:43:12.398Z] 3a77bd46dcc9: Pull complete [2022-06-08T00:43:12.398Z] 355e64cbe906: Pull complete [2022-06-08T00:43:12.674Z] 63ab81a10011: Pull complete [2022-06-08T00:43:19.407Z] 555d1d1c4555: Pull complete [2022-06-08T00:43:20.399Z] 7d9057610161: Pull complete [2022-06-08T00:43:20.399Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-08T00:43:20.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-08T00:43:20.399Z] ---> 819e984ddca1 [2022-06-08T00:43:20.399Z] Step 3/13 : ARG MAKE="make build" [2022-06-08T00:43:22.379Z] ---> Running in d453ed253c43 [2022-06-08T00:43:22.379Z] Removing intermediate container d453ed253c43 [2022-06-08T00:43:22.379Z] ---> ef1f36e6fdca [2022-06-08T00:43:22.379Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:43:22.657Z] ---> Running in d36910d73973 [2022-06-08T00:43:22.930Z] Removing intermediate container d36910d73973 [2022-06-08T00:43:22.930Z] ---> 922a4ed1e8fb [2022-06-08T00:43:22.930Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:43:22.930Z] ---> Running in 8be8e37cbc23 [2022-06-08T00:43:23.203Z] Removing intermediate container 8be8e37cbc23 [2022-06-08T00:43:23.203Z] ---> 9a645a892c9e [2022-06-08T00:43:23.203Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:43:23.203Z] ---> Running in bcc566da887b [2022-06-08T00:43:23.476Z] Removing intermediate container bcc566da887b [2022-06-08T00:43:23.476Z] ---> dc10b436f4f4 [2022-06-08T00:43:23.476Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:43:23.750Z] ---> Running in 6dff02f82b16 [2022-06-08T00:43:25.740Z] Removing intermediate container 6dff02f82b16 [2022-06-08T00:43:25.740Z] ---> c10c5d0b0de3 [2022-06-08T00:43:25.740Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:43:25.740Z] ---> Running in 1c72af886544 [2022-06-08T00:43:26.335Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:43:27.310Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:43:27.904Z] OK: 220 MiB in 52 packages [2022-06-08T00:43:28.898Z] Removing intermediate container 1c72af886544 [2022-06-08T00:43:28.898Z] ---> 023a4d781c7f [2022-06-08T00:43:28.898Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-08T00:43:28.898Z] ---> Running in 35326529f9ee [2022-06-08T00:43:29.173Z] Removing intermediate container 35326529f9ee [2022-06-08T00:43:29.173Z] ---> 472e57939634 [2022-06-08T00:43:29.173Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-08T00:43:29.771Z] ---> fc41890df164 [2022-06-08T00:43:29.771Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:43:29.771Z] ---> Running in d53565a104f4 [2022-06-08T00:44:16.798Z] Removing intermediate container d53565a104f4 [2022-06-08T00:44:16.798Z] ---> c5880e08f849 [2022-06-08T00:44:16.798Z] Step 12/13 : COPY . . [2022-06-08T00:44:16.798Z] ---> 57dc5e1d7486 [2022-06-08T00:44:16.798Z] Step 13/13 : RUN ${MAKE} [2022-06-08T00:44:16.798Z] ---> Running in f55eeddf7789 [2022-06-08T00:44:17.396Z] noop [2022-06-08T00:44:17.991Z] Removing intermediate container f55eeddf7789 [2022-06-08T00:44:17.991Z] ---> d32b3360d864 [2022-06-08T00:44:17.991Z] Successfully built d32b3360d864 [2022-06-08T00:44:17.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:44:18.356Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T00:44:18.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:44:18.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-1711 does not seem to be running inside a container [2022-06-08T00:44:18.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T00:44:20.042Z] $ docker top 4eada07abca0045954f6730c4f773c3ee848b872b3d34346dac0fbd1efd4868a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:44:20.974Z] + go version [2022-06-08T00:44:20.974Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-08T00:44:21.003Z] $ docker stop --time=1 4eada07abca0045954f6730c4f773c3ee848b872b3d34346dac0fbd1efd4868a [2022-06-08T00:44:22.655Z] $ docker rm -f 4eada07abca0045954f6730c4f773c3ee848b872b3d34346dac0fbd1efd4868a [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:44:23.274Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T00:44:23.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:44:23.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-1711 does not seem to be running inside a container [2022-06-08T00:44:23.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T00:44:24.897Z] $ docker top 84f54d06d24cd976a03cc75635557bf460d4e5a1390b1f314efac7fde75ca7db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T00:44:26.015Z] + make test [2022-06-08T00:44:26.015Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-08T00:44:27.447Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-08T00:46:04.318Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-08T00:46:04.318Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.077s coverage: 1.2% of statements [2022-06-08T00:46:16.738Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.298s coverage: 13.8% of statements [2022-06-08T00:46:16.738Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-08T00:46:16.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T00:46:43.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T00:46:43.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T00:46:43.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-08T00:46:46.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-08T00:46:46.244Z] $ docker stop --time=1 84f54d06d24cd976a03cc75635557bf460d4e5a1390b1f314efac7fde75ca7db [2022-06-08T00:46:48.057Z] $ docker rm -f 84f54d06d24cd976a03cc75635557bf460d4e5a1390b1f314efac7fde75ca7db [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T00:46:49.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T00:46:49.069Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T00:46:49.749Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T00:46:50.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T00:46:50.521Z] + ls -al . [2022-06-08T00:46:50.521Z] total 232 [2022-06-08T00:46:50.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:46 . [2022-06-08T00:46:50.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:42 .. [2022-06-08T00:46:50.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 00:42 .git [2022-06-08T00:46:50.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:42 .github [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 8 00:42 .gitignore [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 00:42 .golangci.yml [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 8 00:42 Attribution.txt [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 8 00:42 CHANGELOG.md [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 8 00:42 Dockerfile [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 00:42 GOVERNANCE.md [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 8 00:42 Jenkinsfile [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 00:42 LICENSE [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 8 00:42 Makefile [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 8 00:42 OWNERS.md [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 8 00:42 README.md [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 00:38 VERSION [2022-06-08T00:46:50.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 00:42 bin [2022-06-08T00:46:50.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 00:42 cmd [2022-06-08T00:46:50.521Z] -rw-r--r-- 1 jenkins jenkins 59764 Jun 8 00:46 coverage.out [2022-06-08T00:46:50.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:42 doc [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 8 00:42 go.mod [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 8 00:42 go.sum [2022-06-08T00:46:50.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 00:42 internal [2022-06-08T00:46:50.521Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 8 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:46:50.894Z] + 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=6247dff98310bf36d9162e3b493e95dd827ea65b --label arch=arm64 --label version=0.0.0 . [2022-06-08T00:46:51.517Z] Sending build context to Docker daemon 6.041MB [2022-06-08T00:46:51.517Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-08T00:46:51.517Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-08T00:46:51.517Z] ---> d32b3360d864 [2022-06-08T00:46:51.517Z] Step 3/26 : ARG MAKE="make build" [2022-06-08T00:46:51.517Z] ---> Running in ac282e21c8e1 [2022-06-08T00:46:52.137Z] Removing intermediate container ac282e21c8e1 [2022-06-08T00:46:52.137Z] ---> 5bc0c48065fd [2022-06-08T00:46:52.137Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T00:46:52.137Z] ---> Running in b8495d932099 [2022-06-08T00:46:52.414Z] Removing intermediate container b8495d932099 [2022-06-08T00:46:52.414Z] ---> da137ed1cce3 [2022-06-08T00:46:52.414Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T00:46:52.414Z] ---> Running in e81e125d5987 [2022-06-08T00:46:52.694Z] Removing intermediate container e81e125d5987 [2022-06-08T00:46:52.694Z] ---> 5328e66fad5a [2022-06-08T00:46:52.694Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-08T00:46:52.694Z] ---> Running in 51136970133f [2022-06-08T00:46:52.972Z] Removing intermediate container 51136970133f [2022-06-08T00:46:52.972Z] ---> 6e9ca87eebd8 [2022-06-08T00:46:52.972Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T00:46:53.247Z] ---> Running in a28be563cfd5 [2022-06-08T00:46:54.686Z] Removing intermediate container a28be563cfd5 [2022-06-08T00:46:54.686Z] ---> 66ff7a3572b4 [2022-06-08T00:46:54.686Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T00:46:54.960Z] ---> Running in 42ad5c234077 [2022-06-08T00:46:55.941Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:46:56.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:46:57.509Z] OK: 220 MiB in 52 packages [2022-06-08T00:46:58.486Z] Removing intermediate container 42ad5c234077 [2022-06-08T00:46:58.486Z] ---> e629160c883a [2022-06-08T00:46:58.486Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-08T00:46:58.486Z] ---> Running in e1b1cecbd04f [2022-06-08T00:46:58.759Z] Removing intermediate container e1b1cecbd04f [2022-06-08T00:46:58.759Z] ---> f183e7c26d31 [2022-06-08T00:46:58.759Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-08T00:46:59.353Z] ---> b8c1c8927042 [2022-06-08T00:46:59.353Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T00:46:59.353Z] ---> Running in 6f70acd96331 [2022-06-08T00:47:01.333Z] Removing intermediate container 6f70acd96331 [2022-06-08T00:47:01.333Z] ---> 830e5c1e5424 [2022-06-08T00:47:01.333Z] Step 12/26 : COPY . . [2022-06-08T00:47:02.317Z] ---> a0897db346c0 [2022-06-08T00:47:02.317Z] Step 13/26 : RUN ${MAKE} [2022-06-08T00:47:02.317Z] ---> Running in 86aa14327d95 [2022-06-08T00:47:03.303Z] 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:49:10.164Z] Removing intermediate container 86aa14327d95 [2022-06-08T00:49:10.164Z] ---> 9b2e21d4eabc [2022-06-08T00:49:10.164Z] Step 14/26 : FROM alpine:3.15 [2022-06-08T00:49:10.164Z] 3.15: Pulling from library/alpine [2022-06-08T00:49:10.164Z] 9981e73032c8: Pulling fs layer [2022-06-08T00:49:10.164Z] 9981e73032c8: Verifying Checksum [2022-06-08T00:49:10.164Z] 9981e73032c8: Download complete [2022-06-08T00:49:10.164Z] 9981e73032c8: Pull complete [2022-06-08T00:49:10.164Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-08T00:49:10.164Z] Status: Downloaded newer image for alpine:3.15 [2022-06-08T00:49:10.164Z] ---> 3fb3c9af89a9 [2022-06-08T00:49:10.164Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-08T00:49:10.164Z] ---> Running in 8977e44c5f67 [2022-06-08T00:49:10.164Z] Removing intermediate container 8977e44c5f67 [2022-06-08T00:49:10.164Z] ---> 5d832c5f9bdf [2022-06-08T00:49:10.164Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T00:49:10.164Z] ---> Running in a04109f35806 [2022-06-08T00:49:10.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-08T00:49:10.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-08T00:49:10.164Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T00:49:10.164Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-08T00:49:10.164Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T00:49:10.164Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-08T00:49:10.164Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T00:49:10.164Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T00:49:10.164Z] Executing busybox-1.34.1-r5.trigger [2022-06-08T00:49:10.164Z] OK: 8 MiB in 20 packages [2022-06-08T00:49:10.164Z] Removing intermediate container a04109f35806 [2022-06-08T00:49:10.164Z] ---> 77092e1a4cdb [2022-06-08T00:49:10.164Z] Step 17/26 : WORKDIR / [2022-06-08T00:49:10.164Z] ---> Running in 95ce9cd42a7f [2022-06-08T00:49:10.437Z] Removing intermediate container 95ce9cd42a7f [2022-06-08T00:49:10.437Z] ---> 80d70b7ccaea [2022-06-08T00:49:10.437Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-08T00:49:11.880Z] ---> 7f241f2e4527 [2022-06-08T00:49:11.880Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-08T00:49:12.479Z] ---> 330e45a7b220 [2022-06-08T00:49:12.479Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-08T00:49:13.077Z] ---> 143ea24dabf7 [2022-06-08T00:49:13.077Z] Step 21/26 : EXPOSE 59984 [2022-06-08T00:49:13.077Z] ---> Running in 6a6526637b7a [2022-06-08T00:49:13.353Z] Removing intermediate container 6a6526637b7a [2022-06-08T00:49:13.353Z] ---> 81360135625b [2022-06-08T00:49:13.353Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-08T00:49:13.353Z] ---> Running in b2afd1cf9b58 [2022-06-08T00:49:13.949Z] Removing intermediate container b2afd1cf9b58 [2022-06-08T00:49:13.949Z] ---> 3c367a28a061 [2022-06-08T00:49:13.949Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T00:49:13.949Z] ---> Running in 1ef0be5216df [2022-06-08T00:49:14.226Z] Removing intermediate container 1ef0be5216df [2022-06-08T00:49:14.226Z] ---> bfac0a241444 [2022-06-08T00:49:14.226Z] Step 24/26 : LABEL arch=arm64 [2022-06-08T00:49:14.226Z] ---> Running in c830054d75b1 [2022-06-08T00:49:14.501Z] Removing intermediate container c830054d75b1 [2022-06-08T00:49:14.501Z] ---> 207bdddf4857 [2022-06-08T00:49:14.501Z] Step 25/26 : LABEL git_sha=6247dff98310bf36d9162e3b493e95dd827ea65b [2022-06-08T00:49:14.501Z] ---> Running in 120944fdc27a [2022-06-08T00:49:14.780Z] Removing intermediate container 120944fdc27a [2022-06-08T00:49:14.780Z] ---> d6db380fa0e4 [2022-06-08T00:49:14.780Z] Step 26/26 : LABEL version=0.0.0 [2022-06-08T00:49:15.056Z] ---> Running in f647fe68637e [2022-06-08T00:49:15.328Z] Removing intermediate container f647fe68637e [2022-06-08T00:49:15.328Z] ---> 76ddb1b09387 [2022-06-08T00:49:15.328Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T00:49:15.328Z] Successfully built 76ddb1b09387 [2022-06-08T00:49:15.328Z] 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:49:15.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:49:15.783Z] [2022-06-08T00:49:15.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:49:16.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:49:16.436Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T00:49:16.436Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T00:49:16.436Z] 04944245beec: Pulling fs layer [2022-06-08T00:49:16.436Z] 699f458cf7ca: Pulling fs layer [2022-06-08T00:49:16.436Z] 765212b225bb: Pulling fs layer [2022-06-08T00:49:16.436Z] f23df028b6ca: Pulling fs layer [2022-06-08T00:49:16.436Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T00:49:16.436Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T00:49:16.436Z] f23df028b6ca: Waiting [2022-06-08T00:49:16.436Z] d65c8cfc05b1: Waiting [2022-06-08T00:49:16.436Z] 2437ff75d9bd: Waiting [2022-06-08T00:49:16.436Z] 765212b225bb: Waiting [2022-06-08T00:49:16.436Z] 04944245beec: Verifying Checksum [2022-06-08T00:49:16.436Z] 04944245beec: Download complete [2022-06-08T00:49:16.436Z] 765212b225bb: Verifying Checksum [2022-06-08T00:49:16.436Z] 765212b225bb: Download complete [2022-06-08T00:49:16.436Z] f23df028b6ca: Verifying Checksum [2022-06-08T00:49:16.436Z] f23df028b6ca: Download complete [2022-06-08T00:49:16.436Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T00:49:16.436Z] d65c8cfc05b1: Download complete [2022-06-08T00:49:16.711Z] 699f458cf7ca: Verifying Checksum [2022-06-08T00:49:16.711Z] 699f458cf7ca: Download complete [2022-06-08T00:49:16.988Z] 8998bd30e6a1: Verifying Checksum [2022-06-08T00:49:16.988Z] 8998bd30e6a1: Download complete [2022-06-08T00:49:19.622Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T00:49:19.622Z] 2437ff75d9bd: Download complete [2022-06-08T00:49:21.613Z] 8998bd30e6a1: Pull complete [2022-06-08T00:49:21.897Z] 04944245beec: Pull complete [2022-06-08T00:49:23.338Z] 699f458cf7ca: Pull complete [2022-06-08T00:49:23.622Z] 765212b225bb: Pull complete [2022-06-08T00:49:24.221Z] f23df028b6ca: Pull complete [2022-06-08T00:49:24.501Z] d65c8cfc05b1: Pull complete [2022-06-08T00:49:39.583Z] 2437ff75d9bd: Pull complete [2022-06-08T00:49:39.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T00:49:39.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T00:49:39.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:49:39.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-1711 does not seem to be running inside a container [2022-06-08T00:49:39.917Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-08T00:49:42.415Z] $ docker top c8e8da5a74190830cd255aab459e724306d84760ec590492a6187b48ff326f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:43.329Z] ---> job-cost.sh [2022-06-08T00:49:43.330Z] lf-activate-venv: SKIPPING [2022-06-08T00:49:43.330Z] INFO: No Stack... [2022-06-08T00:49:43.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T00:49:44.579Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T00:49:45.310Z] + + cat /w/workspace/device-onvif-camera/12/archives/cost.csvcut [2022-06-08T00:49:45.310Z] -d, -f6 [Pipeline] lock [2022-06-08T00:49:45.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [2022-06-08T00:49:45.392Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] did not exist. Created. [2022-06-08T00:49:45.392Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T00:49:46.092Z] /w/workspace/device-onvif-camera/12@tmp/durable-b2ec7054/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T00:49:46.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T00:49:46.794Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T00:49:46.840Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T00:49:46.845Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T00:49:46.863Z] $ docker stop --time=1 c8e8da5a74190830cd255aab459e724306d84760ec590492a6187b48ff326f84 [2022-06-08T00:49:48.360Z] $ docker rm -f c8e8da5a74190830cd255aab459e724306d84760ec590492a6187b48ff326f84 [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:49:48.786Z] provisioning config files... [2022-06-08T00:49:48.795Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config4783039301778713679tmp [Pipeline] { [Pipeline] sh [2022-06-08T00:49:49.096Z] + set +x [2022-06-08T00:49:49.097Z] + curl -s https://codecov.io/bash [2022-06-08T00:49:49.097Z] + bash -s -- [2022-06-08T00:49:49.097Z] [2022-06-08T00:49:49.097Z] _____ _ [2022-06-08T00:49:49.097Z] / ____| | | [2022-06-08T00:49:49.097Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T00:49:49.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T00:49:49.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T00:49:49.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T00:49:49.097Z] Bash-1.0.6 [2022-06-08T00:49:49.097Z] [2022-06-08T00:49:49.097Z] [2022-06-08T00:49:49.097Z] ==> git version 2.25.1 found [2022-06-08T00:49:49.097Z] ==> 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:49:49.097Z] Release-Date: 2020-01-08 [2022-06-08T00:49:49.097Z] 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:49:49.097Z] 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:49:49.097Z] ==> Jenkins CI detected. [2022-06-08T00:49:49.097Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-08T00:49:49.097Z] project root: . [2022-06-08T00:49:49.097Z] --> token set from env [2022-06-08T00:49:49.097Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T00:49:49.097Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T00:49:49.097Z] ==> Python coveragepy not found [2022-06-08T00:49:49.097Z] ==> Searching for coverage reports in: [2022-06-08T00:49:49.097Z] + . [2022-06-08T00:49:49.097Z] -> Found 1 reports [2022-06-08T00:49:49.097Z] ==> Detecting git/mercurial file structure [2022-06-08T00:49:49.097Z] ==> Reading reports [2022-06-08T00:49:49.097Z] + ./coverage.out bytes=59764 [2022-06-08T00:49:49.097Z] ==> Appending adjustments [2022-06-08T00:49:49.097Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T00:49:49.357Z] + Found adjustments [2022-06-08T00:49:49.357Z] ==> Gzipping contents [2022-06-08T00:49:49.357Z] 8.0K /tmp/codecov.I3zpdH.gz [2022-06-08T00:49:49.357Z] ==> Uploading reports [2022-06-08T00:49:49.357Z] url: https://codecov.io [2022-06-08T00:49:49.357Z] query: branch=PR-81&commit=afa0f7a60e9edaf302003936e07b42e118d5fcb5&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-08T00:49:49.357Z] -> Pinging Codecov [2022-06-08T00:49:49.357Z] 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=afa0f7a60e9edaf302003936e07b42e118d5fcb5&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-81%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=81&job=&cmd_args= [2022-06-08T00:49:49.618Z] -> Uploading to [2022-06-08T00:49:49.618Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/F29A59C45E3A92E06B3E522C9905F8EF/afa0f7a60e9edaf302003936e07b42e118d5fcb5/eb64a718-b821-46ed-971b-ba0a88a733c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T004949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ff5dd223f0a3d6cb883ba1436852389f7b494caef361bb4f67d077d94769c62 [2022-06-08T00:49:49.618Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T00:49:49.618Z] Dload Upload Total Spent Left Speed [2022-06-08T00:49:49.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7579 0 0 100 7579 0 28174 --:--:-- --:--:-- --:--:-- 28174 [2022-06-08T00:49:49.880Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/afa0f7a60e9edaf302003936e07b42e118d5fcb5 [Pipeline] } [2022-06-08T00:49:49.890Z] 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:49:50.670Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-08T00:49:50.670Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:49:50.670Z] total 16 [2022-06-08T00:49:50.670Z] drwxr-xr-x 3 root root 4096 Jun 8 00:40 . [2022-06-08T00:49:50.670Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 00:40 .. [2022-06-08T00:49:50.670Z] drwxr-xr-x 2 root root 4096 Jun 8 00:40 cost [2022-06-08T00:49:50.670Z] -rw-r--r-- 1 root root 90 Jun 8 00:40 cost.csv [2022-06-08T00:49:50.671Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:49:50.671Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-08T00:49:50.671Z] total 16 [2022-06-08T00:49:50.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 00:40 . [2022-06-08T00:49:50.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 00:40 .. [2022-06-08T00:49:50.671Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 00:40 cost [2022-06-08T00:49:50.671Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 8 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:50.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:51.828Z] ---> package-listing.sh [2022-06-08T00:49:51.828Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T00:49:51.828Z] ++ facter osfamily [2022-06-08T00:49:52.088Z] + OS_FAMILY=debian [2022-06-08T00:49:52.088Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-08T00:49:52.088Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T00:49:52.088Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T00:49:52.088Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T00:49:52.088Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T00:49:52.089Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-08T00:49:52.089Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T00:49:52.089Z] + case "${OS_FAMILY}" in [2022-06-08T00:49:52.089Z] + dpkg -l [2022-06-08T00:49:52.089Z] + grep '^ii' [2022-06-08T00:49:52.089Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T00:49:52.089Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T00:49:52.089Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T00:49:52.089Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-08T00:49:52.089Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-08T00:49:52.089Z] + 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:49:52.101Z] 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:49:52.382Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T00:49:52.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T00:49:52.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T00:49:53.036Z] prd-ubuntu20.04-docker-8c-8g-1710 does not seem to be running inside a container [2022-06-08T00:49:53.074Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T00:49:53.287Z] $ docker top db989aca09aa42d065755b20c89ef787ce3df207a56cab1e3b091f1eda87961e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T00:49:53.642Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T00:49:53.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T00:49:54.222Z] + ls /var/log/sa-host [2022-06-08T00:49:54.222Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T00:49:54.352Z] provisioning config files... [2022-06-08T00:49:54.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6698448139355510339tmp [Pipeline] { [Pipeline] echo [2022-06-08T00:49:54.373Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:54.658Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T00:49:54.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:55.002Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T00:49:55.012Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:55.298Z] ---> sudo-logs.sh [2022-06-08T00:49:55.299Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T00:49:55.334Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:55.624Z] ---> job-cost.sh [2022-06-08T00:49:55.624Z] lf-activate-venv: SKIPPING [2022-06-08T00:49:55.624Z] DEBUG: total: 0.2199999988079071 [2022-06-08T00:49:55.624Z] INFO: Retrieving Stack Cost... [2022-06-08T00:49:56.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T00:49:56.459Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T00:49:56.471Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T00:49:56.759Z] ---> logs-deploy.sh [2022-06-08T00:49:56.759Z] lf-activate-venv: SKIPPING [2022-06-08T00:49:56.759Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/12 [2022-06-08T00:49:56.759Z] INFO: archiving workspace using pattern(s): [2022-06-08T00:49:57.702Z] Archives upload complete. [2022-06-08T00:49:57.702Z] INFO: archiving logs to Nexus