Pull request #93 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from f47295c1fc12a4f9f2edce23698280e900c2f582+6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 (a1511d7c216fbf023ddebb9c3bf10a8117682ecb) 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-ssh16896262812689662488.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-ssh4940673037452163021.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-93/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-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17214195500583965398.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-ssh11044390413525033001.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-93/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-93/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6223408473790586032.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16280 in /w/workspace/oundry_device-onvif-camera_PR-93 [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-93 # 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/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 into PR head commit f47295c1fc12a4f9f2edce23698280e900c2f582 Merge succeeded, producing f47295c1fc12a4f9f2edce23698280e900c2f582 Checking out Revision f47295c1fc12a4f9f2edce23698280e900c2f582 (PR-93) > git config core.sparsecheckout # timeout=10 > git checkout -f f47295c1fc12a4f9f2edce23698280e900c2f582 # 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 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f47295c1fc12a4f9f2edce23698280e900c2f582 # timeout=10 Commit message: "refactor: utilize sdkService in latest main changes" > git rev-list --no-walk 2402e989153858ce4ed1e89b9ea0b60c7f10e1e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T22:43:08.253Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T22:43:08.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T22:43:08.322Z] ========================================================= [2022-06-28T22:43:08.322Z] EdgeX Global Pipelines Version Info [2022-06-28T22:43:08.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:43:09.081Z] ------------------- [2022-06-28T22:43:09.081Z] stable info: [2022-06-28T22:43:09.081Z] ------------------- [2022-06-28T22:43:09.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T22:43:09.081Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:43:09.081Z] Message: update stable to v1.0.234 [2022-06-28T22:43:09.653Z] ------------------- [2022-06-28T22:43:09.653Z] experimental info: [2022-06-28T22:43:09.653Z] ------------------- [2022-06-28T22:43:09.653Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T22:43:09.653Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:43:09.653Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T22:43:09.894Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T22:43:09.907Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T22:43:09.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T22:43:09.932Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T22:43:09.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T22:43:09.953Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T22:43:09.961Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T22:43:09.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T22:43:09.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T22:43:09.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T22:43:09.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T22:43:10.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T22:43:10.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T22:43:10.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T22:43:10.044Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:43:10.056Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:43:10.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:43:10.080Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:43:10.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T22:43:10.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T22:43:10.116Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T22:43:10.127Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T22:43:10.138Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T22:43:10.150Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T22:43:10.163Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T22:43:10.174Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T22:43:10.194Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T22:43:10.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo [2022-06-28T22:43:10.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo [2022-06-28T22:43:10.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo [2022-06-28T22:43:10.246Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f47295c1fc12a4f9f2edce23698280e900c2f582 [Pipeline] echo [2022-06-28T22:43:10.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f47295c [Pipeline] echo [2022-06-28T22:43:10.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:43:10.314Z] provisioning config files... [2022-06-28T22:43:10.328Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config4591381889121431814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:43:10.635Z] ---> docker-login.sh [2022-06-28T22:43:10.635Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:43:10.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:10.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:10.896Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:10.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:10.896Z] [2022-06-28T22:43:10.896Z] Login Succeeded [2022-06-28T22:43:10.896Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:43:11.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:11.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:11.166Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:11.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:11.166Z] [2022-06-28T22:43:11.166Z] Login Succeeded [2022-06-28T22:43:11.166Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:43:11.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:11.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:11.166Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:11.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:11.166Z] [2022-06-28T22:43:11.166Z] Login Succeeded [2022-06-28T22:43:11.166Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:43:11.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:11.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:11.427Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:11.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:11.427Z] [2022-06-28T22:43:11.427Z] Login Succeeded [2022-06-28T22:43:11.427Z] docker.io [2022-06-28T22:43:11.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:11.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:11.688Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:11.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:11.688Z] [2022-06-28T22:43:11.688Z] Login Succeeded [2022-06-28T22:43:11.688Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:43:11.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T22:43:12.087Z] + git rev-list -1 --merges f47295c1fc12a4f9f2edce23698280e900c2f582~1..f47295c1fc12a4f9f2edce23698280e900c2f582 [Pipeline] echo [2022-06-28T22:43:12.119Z] -----------> git rev-list -1 --merges f47295c1fc12a4f9f2edce23698280e900c2f582~1..f47295c1fc12a4f9f2edce23698280e900c2f582 f47295c1fc12a4f9f2edce23698280e900c2f582 [false] [Pipeline] sh [2022-06-28T22:43:12.413Z] + git log --format=format:%s -1 f47295c1fc12a4f9f2edce23698280e900c2f582 [Pipeline] echo [2022-06-28T22:43:12.429Z] ========================================================= [2022-06-28T22:43:12.429Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T22:43:12.429Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:43:12.775Z] + git log --format=format:%s -1 f47295c1fc12a4f9f2edce23698280e900c2f582 [Pipeline] echo [2022-06-28T22:43:12.789Z] [semverPrep] GIT_COMMIT: f47295c1fc12a4f9f2edce23698280e900c2f582, Commit Message: refactor: utilize sdkService in latest main changes [Pipeline] echo [2022-06-28T22:43:12.799Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T22:43:13.165Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:43:13.165Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T22:43:13.165Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T22:43:13.165Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T22:43:13.165Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-28T22:43:13.165Z] -a /etc/ssh/ssh_known_hosts [2022-06-28T22:43:13.165Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:43:13.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:43:13.579Z] [2022-06-28T22:43:13.579Z] 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-28T22:43:13.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:43:13.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T22:43:13.892Z] 42c077c10790: Pulling fs layer [2022-06-28T22:43:13.892Z] f63e77b7563a: Pulling fs layer [2022-06-28T22:43:13.892Z] bd5fdadae976: Pulling fs layer [2022-06-28T22:43:13.892Z] 205491f53016: Pulling fs layer [2022-06-28T22:43:13.892Z] df18705c85c3: Pulling fs layer [2022-06-28T22:43:13.892Z] bdb3f477010e: Pulling fs layer [2022-06-28T22:43:13.892Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T22:43:13.892Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T22:43:13.892Z] bdb8f0575790: Pulling fs layer [2022-06-28T22:43:13.892Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T22:43:13.892Z] 2343380bae48: Pulling fs layer [2022-06-28T22:43:13.892Z] c8a8fc8e1c8f: Waiting [2022-06-28T22:43:13.892Z] 205491f53016: Waiting [2022-06-28T22:43:13.892Z] 2c6e9b1d212d: Waiting [2022-06-28T22:43:13.892Z] df18705c85c3: Waiting [2022-06-28T22:43:13.892Z] 2343380bae48: Waiting [2022-06-28T22:43:13.892Z] bdb8f0575790: Waiting [2022-06-28T22:43:13.892Z] 386e3cb2ff24: Waiting [2022-06-28T22:43:13.892Z] bdb3f477010e: Waiting [2022-06-28T22:43:13.892Z] f63e77b7563a: Download complete [2022-06-28T22:43:13.892Z] 205491f53016: Verifying Checksum [2022-06-28T22:43:13.892Z] 205491f53016: Download complete [2022-06-28T22:43:14.153Z] df18705c85c3: Verifying Checksum [2022-06-28T22:43:14.153Z] df18705c85c3: Download complete [2022-06-28T22:43:14.153Z] bdb3f477010e: Verifying Checksum [2022-06-28T22:43:14.153Z] bdb3f477010e: Download complete [2022-06-28T22:43:14.153Z] bd5fdadae976: Verifying Checksum [2022-06-28T22:43:14.153Z] bd5fdadae976: Download complete [2022-06-28T22:43:14.153Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T22:43:14.153Z] 2c6e9b1d212d: Download complete [2022-06-28T22:43:14.153Z] bdb8f0575790: Verifying Checksum [2022-06-28T22:43:14.153Z] bdb8f0575790: Download complete [2022-06-28T22:43:14.153Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T22:43:14.153Z] 386e3cb2ff24: Download complete [2022-06-28T22:43:14.153Z] 2343380bae48: Download complete [2022-06-28T22:43:14.153Z] 42c077c10790: Verifying Checksum [2022-06-28T22:43:14.153Z] 42c077c10790: Download complete [2022-06-28T22:43:14.411Z] c8a8fc8e1c8f: Download complete [2022-06-28T22:43:15.363Z] 42c077c10790: Pull complete [2022-06-28T22:43:15.624Z] f63e77b7563a: Pull complete [2022-06-28T22:43:16.196Z] bd5fdadae976: Pull complete [2022-06-28T22:43:16.196Z] 205491f53016: Pull complete [2022-06-28T22:43:16.456Z] df18705c85c3: Pull complete [2022-06-28T22:43:16.718Z] bdb3f477010e: Pull complete [2022-06-28T22:43:18.638Z] c8a8fc8e1c8f: Pull complete [2022-06-28T22:43:18.638Z] 2c6e9b1d212d: Pull complete [2022-06-28T22:43:18.638Z] bdb8f0575790: Pull complete [2022-06-28T22:43:18.900Z] 386e3cb2ff24: Pull complete [2022-06-28T22:43:18.901Z] 2343380bae48: Pull complete [2022-06-28T22:43:18.901Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T22:43:18.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:43:18.901Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:43:19.007Z] prd-ubuntu20.04-docker-8c-8g-16280 does not seem to be running inside a container [2022-06-28T22:43:19.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:43:20.482Z] $ docker top c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 -eo pid,comm [2022-06-28T22:43:20.541Z] 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-28T22:43:20.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:43:20.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:43:20.579Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:43:20.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:43:20.709Z] $ docker exec c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 ssh-agent [2022-06-28T22:43:20.822Z] SSH_AUTH_SOCK=/tmp/ssh-NS9iMlCLu6WB/agent.33 [2022-06-28T22:43:20.822Z] SSH_AGENT_PID=39 [2022-06-28T22:43:20.829Z] Running ssh-add (command line suppressed) [2022-06-28T22:43:20.949Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_342250891780017646.key (/w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_342250891780017646.key) [2022-06-28T22:43:20.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:43:21.251Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T22:43:21.269Z] $ docker exec --env ******** --env ******** c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 ssh-agent -k [2022-06-28T22:43:21.388Z] unset SSH_AUTH_SOCK; [2022-06-28T22:43:21.389Z] unset SSH_AGENT_PID; [2022-06-28T22:43:21.389Z] echo Agent pid 39 killed; [2022-06-28T22:43:21.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T22:43:21.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:43:21.424Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:43:21.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:43:21.561Z] $ docker exec c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 ssh-agent [2022-06-28T22:43:21.705Z] SSH_AUTH_SOCK=/tmp/ssh-zLZMbNDzKmC0/agent.71 [2022-06-28T22:43:21.705Z] SSH_AGENT_PID=77 [2022-06-28T22:43:21.712Z] Running ssh-add (command line suppressed) [2022-06-28T22:43:21.832Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_5699205733594149395.key (/w/workspace/oundry_device-onvif-camera_PR-93@tmp/private_key_5699205733594149395.key) [2022-06-28T22:43:21.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:43:22.135Z] + git semver init [2022-06-28T22:43:22.396Z] 2022-06-28 22:43:22,348 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T22:43:22.396Z] 2022-06-28 22:43:22,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-93/.semver [2022-06-28T22:43:22.396Z] 2022-06-28 22:43:22,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-93/.semver [2022-06-28T22:43:22.396Z] 2022-06-28 22:43:22,350 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-93/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93, universal_newlines=False, shell=None, istream=None) [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,025 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-93/.git/info/exclude [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,025 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 with force:False [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,025 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,030 [execute] INFO git cat-file --batch-check [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,036 [execute] INFO git cat-file --batch [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-93/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:43:23.342Z] 2022-06-28 22:43:23,041 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-93/.semver/PR-93 [2022-06-28T22:43:23.342Z] 0.0.0 [Pipeline] } [2022-06-28T22:43:23.358Z] $ docker exec --env ******** --env ******** c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 ssh-agent -k [2022-06-28T22:43:23.482Z] unset SSH_AUTH_SOCK; [2022-06-28T22:43:23.482Z] unset SSH_AGENT_PID; [2022-06-28T22:43:23.482Z] echo Agent pid 77 killed; [2022-06-28T22:43:23.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:43:23.807Z] + git semver [Pipeline] } [2022-06-28T22:43:24.086Z] $ docker stop --time=1 c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 [2022-06-28T22:43:25.416Z] $ docker rm -f c3ce1eac52e004b77e7cc7d04aad90ee556afbcf954b0ca5f0ea7eda2e036663 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:43:25.776Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T22:43:26.041Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T22:43:26.044Z] [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-28T22:43:26.173Z] provisioning config files... [2022-06-28T22:43:26.184Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config8545232920868271736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:43:26.486Z] ---> docker-login.sh [2022-06-28T22:43:26.486Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:43:26.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:26.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:26.486Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:26.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:26.486Z] [2022-06-28T22:43:26.486Z] Login Succeeded [2022-06-28T22:43:26.486Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:43:26.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:26.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:26.747Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:26.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:26.747Z] [2022-06-28T22:43:26.747Z] Login Succeeded [2022-06-28T22:43:26.747Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:43:26.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:26.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:26.747Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:26.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:26.747Z] [2022-06-28T22:43:26.747Z] Login Succeeded [2022-06-28T22:43:26.747Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:43:27.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:27.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:27.010Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:27.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:27.010Z] [2022-06-28T22:43:27.010Z] Login Succeeded [2022-06-28T22:43:27.010Z] docker.io [2022-06-28T22:43:27.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:43:27.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:43:27.271Z] Configure a credential helper to remove this warning. See [2022-06-28T22:43:27.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:43:27.271Z] [2022-06-28T22:43:27.271Z] Login Succeeded [2022-06-28T22:43:27.271Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:43:27.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:43:27.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:43:27.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:43:27.366Z] ========================================================= [2022-06-28T22:43:27.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T22:43:27.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:43:27.681Z] + 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-28T22:43:27.681Z] Sending build context to Docker daemon 9.11MB [2022-06-28T22:43:27.681Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:43:27.681Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:43:27.681Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T22:43:27.681Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T22:43:27.681Z] 666ba61612fd: Pulling fs layer [2022-06-28T22:43:27.681Z] 8ed8ca486205: Pulling fs layer [2022-06-28T22:43:27.681Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T22:43:27.681Z] c516ae0d96e1: Pulling fs layer [2022-06-28T22:43:27.681Z] 684cea983483: Pulling fs layer [2022-06-28T22:43:27.681Z] dd3240ac7de5: Pulling fs layer [2022-06-28T22:43:27.681Z] b1e948a4e11c: Pulling fs layer [2022-06-28T22:43:27.681Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T22:43:27.681Z] 646ad004c059: Pulling fs layer [2022-06-28T22:43:27.681Z] dd3240ac7de5: Waiting [2022-06-28T22:43:27.681Z] c516ae0d96e1: Waiting [2022-06-28T22:43:27.681Z] cc1cd167ecdc: Waiting [2022-06-28T22:43:27.681Z] b1e948a4e11c: Waiting [2022-06-28T22:43:27.681Z] 684cea983483: Waiting [2022-06-28T22:43:27.681Z] a8fd76ee1af6: Waiting [2022-06-28T22:43:27.681Z] 8ed8ca486205: Verifying Checksum [2022-06-28T22:43:27.681Z] 8ed8ca486205: Download complete [2022-06-28T22:43:27.941Z] 666ba61612fd: Verifying Checksum [2022-06-28T22:43:27.941Z] c516ae0d96e1: Verifying Checksum [2022-06-28T22:43:27.941Z] c516ae0d96e1: Download complete [2022-06-28T22:43:27.941Z] 684cea983483: Verifying Checksum [2022-06-28T22:43:27.941Z] 684cea983483: Download complete [2022-06-28T22:43:27.941Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T22:43:27.941Z] dd3240ac7de5: Verifying Checksum [2022-06-28T22:43:27.941Z] dd3240ac7de5: Download complete [2022-06-28T22:43:27.941Z] b1e948a4e11c: Verifying Checksum [2022-06-28T22:43:27.941Z] b1e948a4e11c: Download complete [2022-06-28T22:43:27.941Z] 59bf1c3509f3: Pull complete [2022-06-28T22:43:28.212Z] 666ba61612fd: Pull complete [2022-06-28T22:43:28.212Z] 8ed8ca486205: Pull complete [2022-06-28T22:43:28.475Z] 646ad004c059: Verifying Checksum [2022-06-28T22:43:28.475Z] 646ad004c059: Download complete [2022-06-28T22:43:28.475Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T22:43:28.475Z] cc1cd167ecdc: Download complete [2022-06-28T22:43:28.475Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T22:43:28.475Z] a8fd76ee1af6: Download complete [2022-06-28T22:43:32.673Z] cc1cd167ecdc: Pull complete [2022-06-28T22:43:32.673Z] c516ae0d96e1: Pull complete [2022-06-28T22:43:32.673Z] 684cea983483: Pull complete [2022-06-28T22:43:32.673Z] dd3240ac7de5: Pull complete [2022-06-28T22:43:32.673Z] b1e948a4e11c: Pull complete [2022-06-28T22:43:35.211Z] a8fd76ee1af6: Pull complete [2022-06-28T22:43:35.790Z] 646ad004c059: Pull complete [2022-06-28T22:43:35.790Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T22:43:35.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T22:43:35.790Z] ---> 8f69c11f6b0c [2022-06-28T22:43:35.790Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:43:37.704Z] ---> Running in b679b0391574 [2022-06-28T22:43:37.704Z] Removing intermediate container b679b0391574 [2022-06-28T22:43:37.704Z] ---> c04f1d0ffcb9 [2022-06-28T22:43:37.704Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:43:37.704Z] ---> Running in 309e0eaa1735 [2022-06-28T22:43:37.704Z] Removing intermediate container 309e0eaa1735 [2022-06-28T22:43:37.704Z] ---> 77cbbd0d1008 [2022-06-28T22:43:37.704Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:43:37.704Z] ---> Running in 043dd31791e6 [2022-06-28T22:43:37.704Z] Removing intermediate container 043dd31791e6 [2022-06-28T22:43:37.704Z] ---> d7f7da5592ae [2022-06-28T22:43:37.704Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:43:37.704Z] ---> Running in 0e944255dca7 [2022-06-28T22:43:37.964Z] Removing intermediate container 0e944255dca7 [2022-06-28T22:43:37.964Z] ---> 21401ee637a8 [2022-06-28T22:43:37.964Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:43:37.964Z] ---> Running in ae3d89c4b670 [2022-06-28T22:43:38.534Z] Removing intermediate container ae3d89c4b670 [2022-06-28T22:43:38.534Z] ---> c29db0b20c3b [2022-06-28T22:43:38.534Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:43:38.534Z] ---> Running in c54ac78d8180 [2022-06-28T22:43:38.794Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:43:39.738Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:43:39.998Z] OK: 221 MiB in 52 packages [2022-06-28T22:43:40.259Z] Removing intermediate container c54ac78d8180 [2022-06-28T22:43:40.259Z] ---> c1156b4d4133 [2022-06-28T22:43:40.259Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:43:40.259Z] ---> Running in 4796c87a0a75 [2022-06-28T22:43:40.520Z] Removing intermediate container 4796c87a0a75 [2022-06-28T22:43:40.520Z] ---> af97d0b6fce6 [2022-06-28T22:43:40.520Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:43:40.520Z] ---> a1fb72dad5fb [2022-06-28T22:43:40.520Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:43:40.520Z] ---> Running in 4c656bb5e2b7 [2022-06-28T22:43:41.146Z] Still waiting to schedule task [2022-06-28T22:43:41.146Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T22:43:55.435Z] Removing intermediate container 4c656bb5e2b7 [2022-06-28T22:43:55.436Z] ---> dd458bbca949 [2022-06-28T22:43:55.436Z] Step 12/13 : COPY . . [2022-06-28T22:43:55.436Z] ---> 8c8d47abf080 [2022-06-28T22:43:55.436Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:43:55.436Z] ---> Running in 84f8a985f24b [2022-06-28T22:43:55.695Z] noop [2022-06-28T22:43:55.955Z] Removing intermediate container 84f8a985f24b [2022-06-28T22:43:55.955Z] ---> 42ab8db323b1 [2022-06-28T22:43:55.955Z] Successfully built 42ab8db323b1 [2022-06-28T22:43:55.955Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:43:56.277Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:43:56.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:43:56.363Z] prd-ubuntu20.04-docker-8c-8g-16280 does not seem to be running inside a container [2022-06-28T22:43:56.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T22:43:56.797Z] $ docker top 2aa67b2294c4e1f51dc66b4e9fd2d2a93f50842a90464bf0bb80a51fd085b081 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:43:57.160Z] + go version [2022-06-28T22:43:57.160Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T22:43:57.174Z] $ docker stop --time=1 2aa67b2294c4e1f51dc66b4e9fd2d2a93f50842a90464bf0bb80a51fd085b081 [2022-06-28T22:43:58.478Z] $ docker rm -f 2aa67b2294c4e1f51dc66b4e9fd2d2a93f50842a90464bf0bb80a51fd085b081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:43:58.880Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:43:58.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:43:58.959Z] prd-ubuntu20.04-docker-8c-8g-16280 does not seem to be running inside a container [2022-06-28T22:43:59.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T22:43:59.415Z] $ docker top d266db1322c556ed03cbb9bb7b23e7eb67a86f39e9b8f2ebf2205917c8ff0949 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:43:59.794Z] + make test [2022-06-28T22:43:59.794Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:44:00.053Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:44:10.038Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:44:10.038Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-06-28T22:44:10.038Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-28T22:44:14.242Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.881s coverage: 13.8% of statements [2022-06-28T22:44:20.817Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T22:44:24.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T22:44:24.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T22:44:24.330Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T22:44:24.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T22:44:24.994Z] $ docker stop --time=1 d266db1322c556ed03cbb9bb7b23e7eb67a86f39e9b8f2ebf2205917c8ff0949 [2022-06-28T22:44:26.966Z] $ docker rm -f d266db1322c556ed03cbb9bb7b23e7eb67a86f39e9b8f2ebf2205917c8ff0949 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:44:27.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T22:44:27.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T22:44:28.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T22:44:28.552Z] + ls -al . [2022-06-28T22:44:28.552Z] total 248 [2022-06-28T22:44:28.552Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 22:44 . [2022-06-28T22:44:28.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:43 .. [2022-06-28T22:44:28.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:43 .git [2022-06-28T22:44:28.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:43 .github [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:43 .gitignore [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:43 .golangci.yml [2022-06-28T22:44:28.552Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:43 .semver [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 28 22:43 Attribution.txt [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:43 CHANGELOG.md [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:43 Dockerfile [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:43 GOVERNANCE.md [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:43 Jenkinsfile [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:43 LICENSE [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:43 Makefile [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:43 OWNERS.md [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:43 README.md [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 22:43 VERSION [2022-06-28T22:44:28.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:43 bin [2022-06-28T22:44:28.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:43 cmd [2022-06-28T22:44:28.552Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 28 22:44 coverage.out [2022-06-28T22:44:28.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:43 doc [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 28 22:43 go.mod [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:43 go.sum [2022-06-28T22:44:28.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:43 internal [2022-06-28T22:44:28.552Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:44:28.881Z] + 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=f47295c1fc12a4f9f2edce23698280e900c2f582 --label arch=amd64 --label version=0.0.0 . [2022-06-28T22:44:28.882Z] Sending build context to Docker daemon 9.181MB [2022-06-28T22:44:28.882Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:44:28.882Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T22:44:28.882Z] ---> 42ab8db323b1 [2022-06-28T22:44:28.882Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T22:44:28.882Z] ---> Running in 19eed489df1b [2022-06-28T22:44:29.143Z] Removing intermediate container 19eed489df1b [2022-06-28T22:44:29.143Z] ---> 107e4fc3f59f [2022-06-28T22:44:29.143Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:44:29.143Z] ---> Running in 7d2b2a0c8f61 [2022-06-28T22:44:29.143Z] Removing intermediate container 7d2b2a0c8f61 [2022-06-28T22:44:29.143Z] ---> 70a0eb2b08db [2022-06-28T22:44:29.143Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:44:29.405Z] ---> Running in 016f909bc638 [2022-06-28T22:44:29.405Z] Removing intermediate container 016f909bc638 [2022-06-28T22:44:29.405Z] ---> f6fa989a98d1 [2022-06-28T22:44:29.405Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:44:29.405Z] ---> Running in d5a9ddc94d12 [2022-06-28T22:44:29.405Z] Removing intermediate container d5a9ddc94d12 [2022-06-28T22:44:29.405Z] ---> 905f444d085c [2022-06-28T22:44:29.405Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:44:29.664Z] ---> Running in 41d965b658aa [2022-06-28T22:44:30.231Z] Removing intermediate container 41d965b658aa [2022-06-28T22:44:30.231Z] ---> d046b6bab162 [2022-06-28T22:44:30.231Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:44:30.231Z] ---> Running in d4b8a8df0a13 [2022-06-28T22:44:30.491Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:44:31.430Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:44:31.690Z] OK: 221 MiB in 52 packages [2022-06-28T22:44:31.950Z] Removing intermediate container d4b8a8df0a13 [2022-06-28T22:44:31.950Z] ---> c7a5ece53af6 [2022-06-28T22:44:31.950Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T22:44:31.950Z] ---> Running in fc80a51079e3 [2022-06-28T22:44:31.950Z] Removing intermediate container fc80a51079e3 [2022-06-28T22:44:31.950Z] ---> 26cd00facf59 [2022-06-28T22:44:31.950Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T22:44:32.209Z] ---> 9b19f9c969f3 [2022-06-28T22:44:32.209Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:44:32.209Z] ---> Running in 97f698528e93 [2022-06-28T22:44:32.779Z] Removing intermediate container 97f698528e93 [2022-06-28T22:44:32.779Z] ---> be43c273f159 [2022-06-28T22:44:32.779Z] Step 12/26 : COPY . . [2022-06-28T22:44:33.354Z] ---> b1b3b1a22fe5 [2022-06-28T22:44:33.354Z] Step 13/26 : RUN ${MAKE} [2022-06-28T22:44:33.354Z] ---> Running in b3de6b47c722 [2022-06-28T22:44:33.614Z] 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-28T22:44:55.557Z] Removing intermediate container b3de6b47c722 [2022-06-28T22:44:55.557Z] ---> f279d1e2fa3f [2022-06-28T22:44:55.557Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T22:44:55.557Z] 3.15: Pulling from library/alpine [2022-06-28T22:44:55.557Z] df9b9388f04a: Pulling fs layer [2022-06-28T22:44:55.557Z] df9b9388f04a: Verifying Checksum [2022-06-28T22:44:55.557Z] df9b9388f04a: Download complete [2022-06-28T22:44:55.557Z] df9b9388f04a: Pull complete [2022-06-28T22:44:55.557Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T22:44:55.557Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T22:44:55.557Z] ---> 0ac33e5f5afa [2022-06-28T22:44:55.557Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T22:44:55.557Z] ---> Running in 20ee271cffa5 [2022-06-28T22:44:55.557Z] Removing intermediate container 20ee271cffa5 [2022-06-28T22:44:55.557Z] ---> 9dee7f433c45 [2022-06-28T22:44:55.557Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T22:44:55.557Z] ---> Running in 9d351ac58d96 [2022-06-28T22:44:55.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:44:55.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:44:55.557Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T22:44:55.557Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T22:44:55.557Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T22:44:55.557Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T22:44:55.557Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T22:44:55.557Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T22:44:55.557Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T22:44:55.557Z] OK: 8 MiB in 20 packages [2022-06-28T22:44:55.557Z] Removing intermediate container 9d351ac58d96 [2022-06-28T22:44:55.557Z] ---> 88e06f54fc86 [2022-06-28T22:44:55.557Z] Step 17/26 : WORKDIR / [2022-06-28T22:44:55.557Z] ---> Running in ef9320a22883 [2022-06-28T22:44:55.557Z] Removing intermediate container ef9320a22883 [2022-06-28T22:44:55.557Z] ---> adf87c6f8794 [2022-06-28T22:44:55.557Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T22:44:55.557Z] ---> 94d5bd4bef05 [2022-06-28T22:44:55.557Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T22:44:55.818Z] ---> 15008b8532c0 [2022-06-28T22:44:55.818Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T22:44:55.818Z] ---> ef5e4a7f759d [2022-06-28T22:44:55.818Z] Step 21/26 : EXPOSE 59984 [2022-06-28T22:44:56.078Z] ---> Running in be2afd311fdb [2022-06-28T22:44:56.078Z] Removing intermediate container be2afd311fdb [2022-06-28T22:44:56.078Z] ---> db51724979d9 [2022-06-28T22:44:56.078Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T22:44:56.078Z] ---> Running in da891373ae60 [2022-06-28T22:44:56.078Z] Removing intermediate container da891373ae60 [2022-06-28T22:44:56.078Z] ---> 82e10137f6ca [2022-06-28T22:44:56.078Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T22:44:56.338Z] ---> Running in a60d96a9f6d0 [2022-06-28T22:44:56.338Z] Removing intermediate container a60d96a9f6d0 [2022-06-28T22:44:56.338Z] ---> 9b8cfe725e8c [2022-06-28T22:44:56.338Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T22:44:56.338Z] ---> Running in 682c2471bd0a [2022-06-28T22:44:56.599Z] Removing intermediate container 682c2471bd0a [2022-06-28T22:44:56.599Z] ---> 398f79007382 [2022-06-28T22:44:56.599Z] Step 25/26 : LABEL git_sha=f47295c1fc12a4f9f2edce23698280e900c2f582 [2022-06-28T22:44:56.599Z] ---> Running in 347bbdf4c2de [2022-06-28T22:44:56.599Z] Removing intermediate container 347bbdf4c2de [2022-06-28T22:44:56.599Z] ---> 15dec5204426 [2022-06-28T22:44:56.599Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T22:44:56.599Z] ---> Running in 64538a39d49f [2022-06-28T22:44:56.859Z] Removing intermediate container 64538a39d49f [2022-06-28T22:44:56.859Z] ---> 8d72f38c8c30 [2022-06-28T22:44:56.859Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T22:44:56.859Z] Successfully built 8d72f38c8c30 [2022-06-28T22:44:56.859Z] 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-28T22:44:57.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:44:57.275Z] [2022-06-28T22:44:57.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:44:57.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:44:57.581Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T22:44:57.581Z] 5eb5b503b376: Pulling fs layer [2022-06-28T22:44:57.581Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T22:44:57.581Z] ec43610c2a17: Pulling fs layer [2022-06-28T22:44:57.581Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T22:44:57.581Z] 33b1e0a273af: Pulling fs layer [2022-06-28T22:44:57.581Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T22:44:57.581Z] 2f39f015ded8: Pulling fs layer [2022-06-28T22:44:57.581Z] 3a2ae6a8a46f: Waiting [2022-06-28T22:44:57.581Z] 33b1e0a273af: Waiting [2022-06-28T22:44:57.581Z] 5d3b04190fa2: Waiting [2022-06-28T22:44:57.581Z] 2f39f015ded8: Waiting [2022-06-28T22:44:57.581Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T22:44:57.581Z] 5c69ac0246d0: Download complete [2022-06-28T22:44:57.581Z] 3a2ae6a8a46f: Download complete [2022-06-28T22:44:57.581Z] 33b1e0a273af: Verifying Checksum [2022-06-28T22:44:57.581Z] 33b1e0a273af: Download complete [2022-06-28T22:44:57.581Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T22:44:57.581Z] 5d3b04190fa2: Download complete [2022-06-28T22:44:57.842Z] ec43610c2a17: Verifying Checksum [2022-06-28T22:44:57.842Z] ec43610c2a17: Download complete [2022-06-28T22:44:57.842Z] 5eb5b503b376: Verifying Checksum [2022-06-28T22:44:57.842Z] 5eb5b503b376: Download complete [2022-06-28T22:44:58.410Z] 2f39f015ded8: Download complete [2022-06-28T22:44:58.980Z] 5eb5b503b376: Pull complete [2022-06-28T22:44:59.239Z] 5c69ac0246d0: Pull complete [2022-06-28T22:44:59.499Z] ec43610c2a17: Pull complete [2022-06-28T22:44:59.499Z] 3a2ae6a8a46f: Pull complete [2022-06-28T22:44:59.758Z] 33b1e0a273af: Pull complete [2022-06-28T22:45:00.018Z] 5d3b04190fa2: Pull complete [2022-06-28T22:45:04.211Z] 2f39f015ded8: Pull complete [2022-06-28T22:45:04.211Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T22:45:04.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:45:04.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:45:04.303Z] prd-ubuntu20.04-docker-8c-8g-16280 does not seem to be running inside a container [2022-06-28T22:45:04.342Z] $ 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-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T22:45:06.174Z] $ docker top 6d4ca0cbb9ecdb75802b21f249d50a6fd7d793eb5833ed00f89e12193c7c1d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:45:06.571Z] ---> job-cost.sh [2022-06-28T22:45:06.571Z] lf-activate-venv: SKIPPING [2022-06-28T22:45:06.571Z] INFO: No Stack... [2022-06-28T22:45:06.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T22:45:07.402Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T22:45:07.693Z] + cat /w/workspace/oundry_device-onvif-camera_PR-93/archives/cost.csv [2022-06-28T22:45:07.693Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T22:45:07.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [2022-06-28T22:45:07.718Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] did not exist. Created. [2022-06-28T22:45:07.718Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:45:08.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T22:45:08.112Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T22:45:08.118Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T22:45:08.141Z] $ docker stop --time=1 6d4ca0cbb9ecdb75802b21f249d50a6fd7d793eb5833ed00f89e12193c7c1d81 [2022-06-28T22:45:09.307Z] $ docker rm -f 6d4ca0cbb9ecdb75802b21f249d50a6fd7d793eb5833ed00f89e12193c7c1d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T22:45:17.161Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16281 in /w/workspace/oundry_device-onvif-camera_PR-93 [Pipeline] { [Pipeline] ws [2022-06-28T22:45:17.173Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-06-28T22:45:17.214Z] Selected Git installation does not exist. Using Default [2022-06-28T22:45:17.214Z] The recommended git tool is: NONE [2022-06-28T22:45:24.066Z] using credential edgex-jenkins-ssh [2022-06-28T22:45:24.086Z] Cloning the remote Git repository [2022-06-28T22:45:24.146Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:45:24.222Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-06-28T22:45:24.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:45:24.302Z] > git --version # timeout=10 [2022-06-28T22:45:24.321Z] > git --version # 'git version 2.25.1' [2022-06-28T22:45:24.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:45:24.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:45:25.831Z] Merging remotes/origin/main commit 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 into PR head commit f47295c1fc12a4f9f2edce23698280e900c2f582 [2022-06-28T22:45:26.094Z] Merge succeeded, producing f47295c1fc12a4f9f2edce23698280e900c2f582 [2022-06-28T22:45:26.095Z] Checking out Revision f47295c1fc12a4f9f2edce23698280e900c2f582 (PR-93) [2022-06-28T22:45:25.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T22:45:25.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:45:25.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T22:45:25.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:45:25.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:45:25.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-28T22:45:25.855Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T22:45:25.870Z] > git checkout -f f47295c1fc12a4f9f2edce23698280e900c2f582 # timeout=10 [2022-06-28T22:45:26.004Z] > git remote # timeout=10 [2022-06-28T22:45:26.027Z] > git config --get remote.origin.url # timeout=10 [2022-06-28T22:45:26.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:45:26.058Z] > git merge 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 [2022-06-28T22:45:26.082Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-28T22:45:26.105Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T22:45:26.119Z] > git checkout -f f47295c1fc12a4f9f2edce23698280e900c2f582 # timeout=10 [2022-06-28T22:45:30.314Z] Commit message: "refactor: utilize sdkService in latest main changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:45:31.126Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T22:45:31.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T22:45:31.126Z] Dload Upload Total Spent Left Speed [2022-06-28T22:45:31.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 91440 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh [2022-06-28T22:45:31.910Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T22:45:32.249Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T22:45:32.249Z] + sudo tee /etc/docker/daemon.new [2022-06-28T22:45:32.249Z] { [2022-06-28T22:45:32.249Z] "registry-mirrors": [ [2022-06-28T22:45:32.249Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T22:45:32.249Z] ], [2022-06-28T22:45:32.249Z] "bip": "10.250.0.254/24", [2022-06-28T22:45:32.249Z] "hosts": [ [2022-06-28T22:45:32.249Z] "tcp://0.0.0.0:5555", [2022-06-28T22:45:32.249Z] "unix:///var/run/docker.sock" [2022-06-28T22:45:32.249Z] ], [2022-06-28T22:45:32.249Z] "mtu": 1458, [2022-06-28T22:45:32.249Z] "selinux-enabled": true, [2022-06-28T22:45:32.249Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T22:45:32.249Z] } [Pipeline] sh [2022-06-28T22:45:32.608Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T22:45:32.950Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:45:51.300Z] provisioning config files... [2022-06-28T22:45:51.326Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4505357598412955897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:45:51.683Z] ---> docker-login.sh [2022-06-28T22:45:51.683Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:45:52.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:45:52.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:45:52.557Z] Configure a credential helper to remove this warning. See [2022-06-28T22:45:52.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:45:52.557Z] [2022-06-28T22:45:52.557Z] Login Succeeded [2022-06-28T22:45:52.557Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:45:52.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:45:52.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:45:52.835Z] Configure a credential helper to remove this warning. See [2022-06-28T22:45:52.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:45:52.835Z] [2022-06-28T22:45:52.835Z] Login Succeeded [2022-06-28T22:45:53.110Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:45:53.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:45:53.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:45:53.383Z] Configure a credential helper to remove this warning. See [2022-06-28T22:45:53.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:45:53.383Z] [2022-06-28T22:45:53.383Z] Login Succeeded [2022-06-28T22:45:53.383Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:45:53.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:45:53.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:45:53.934Z] Configure a credential helper to remove this warning. See [2022-06-28T22:45:53.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:45:53.934Z] [2022-06-28T22:45:53.934Z] Login Succeeded [2022-06-28T22:45:53.934Z] docker.io [2022-06-28T22:45:54.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:45:54.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:45:54.480Z] Configure a credential helper to remove this warning. See [2022-06-28T22:45:54.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:45:54.480Z] [2022-06-28T22:45:54.480Z] Login Succeeded [2022-06-28T22:45:54.480Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:45:54.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:45:55.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:45:55.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:45:55.101Z] ========================================================= [2022-06-28T22:45:55.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T22:45:55.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:45:55.491Z] + 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-28T22:45:56.089Z] Sending build context to Docker daemon 6.253MB [2022-06-28T22:45:56.089Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:45:56.089Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:45:56.089Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T22:45:56.089Z] 9b3977197b4f: Pulling fs layer [2022-06-28T22:45:56.089Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T22:45:56.089Z] 94645a83ff95: Pulling fs layer [2022-06-28T22:45:56.089Z] e6fb740bc735: Pulling fs layer [2022-06-28T22:45:56.089Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T22:45:56.089Z] 355e64cbe906: Pulling fs layer [2022-06-28T22:45:56.089Z] 63ab81a10011: Pulling fs layer [2022-06-28T22:45:56.089Z] 555d1d1c4555: Pulling fs layer [2022-06-28T22:45:56.089Z] 7d9057610161: Pulling fs layer [2022-06-28T22:45:56.089Z] e6fb740bc735: Waiting [2022-06-28T22:45:56.089Z] 355e64cbe906: Waiting [2022-06-28T22:45:56.089Z] 63ab81a10011: Waiting [2022-06-28T22:45:56.089Z] 555d1d1c4555: Waiting [2022-06-28T22:45:56.089Z] 3a77bd46dcc9: Waiting [2022-06-28T22:45:56.089Z] 7d9057610161: Waiting [2022-06-28T22:45:56.089Z] 94645a83ff95: Verifying Checksum [2022-06-28T22:45:56.089Z] 94645a83ff95: Download complete [2022-06-28T22:45:56.089Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T22:45:56.089Z] 1a89e8eeedd5: Download complete [2022-06-28T22:45:56.089Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T22:45:56.089Z] 3a77bd46dcc9: Download complete [2022-06-28T22:45:56.371Z] 355e64cbe906: Verifying Checksum [2022-06-28T22:45:56.371Z] 355e64cbe906: Download complete [2022-06-28T22:45:56.371Z] 9b3977197b4f: Download complete [2022-06-28T22:45:56.371Z] 63ab81a10011: Verifying Checksum [2022-06-28T22:45:56.371Z] 63ab81a10011: Download complete [2022-06-28T22:45:57.358Z] 9b3977197b4f: Pull complete [2022-06-28T22:45:57.358Z] 7d9057610161: Verifying Checksum [2022-06-28T22:45:57.358Z] 7d9057610161: Download complete [2022-06-28T22:45:57.972Z] 1a89e8eeedd5: Pull complete [2022-06-28T22:45:58.247Z] 94645a83ff95: Pull complete [2022-06-28T22:45:58.520Z] 555d1d1c4555: Verifying Checksum [2022-06-28T22:45:58.520Z] 555d1d1c4555: Download complete [2022-06-28T22:45:59.117Z] e6fb740bc735: Verifying Checksum [2022-06-28T22:45:59.117Z] e6fb740bc735: Download complete [2022-06-28T22:46:11.514Z] e6fb740bc735: Pull complete [2022-06-28T22:46:11.514Z] 3a77bd46dcc9: Pull complete [2022-06-28T22:46:11.514Z] 355e64cbe906: Pull complete [2022-06-28T22:46:11.788Z] 63ab81a10011: Pull complete [2022-06-28T22:46:18.495Z] 555d1d1c4555: Pull complete [2022-06-28T22:46:19.949Z] 7d9057610161: Pull complete [2022-06-28T22:46:19.949Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T22:46:19.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T22:46:20.224Z] ---> 819e984ddca1 [2022-06-28T22:46:20.224Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:46:20.825Z] ---> Running in aa17080b3001 [2022-06-28T22:46:21.103Z] Removing intermediate container aa17080b3001 [2022-06-28T22:46:21.103Z] ---> 72969adf50c8 [2022-06-28T22:46:21.103Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:46:21.103Z] ---> Running in 247d6748dd23 [2022-06-28T22:46:21.376Z] Removing intermediate container 247d6748dd23 [2022-06-28T22:46:21.376Z] ---> bf9c76868770 [2022-06-28T22:46:21.376Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:46:21.653Z] ---> Running in 059b38f6c46d [2022-06-28T22:46:21.927Z] Removing intermediate container 059b38f6c46d [2022-06-28T22:46:21.927Z] ---> 6c178b34a149 [2022-06-28T22:46:21.927Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:46:21.927Z] ---> Running in a7896e60ee10 [2022-06-28T22:46:22.203Z] Removing intermediate container a7896e60ee10 [2022-06-28T22:46:22.203Z] ---> e2d6d7b6d9d1 [2022-06-28T22:46:22.203Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:46:22.203Z] ---> Running in 237b5d970ac6 [2022-06-28T22:46:24.204Z] Removing intermediate container 237b5d970ac6 [2022-06-28T22:46:24.204Z] ---> aacb51c9e631 [2022-06-28T22:46:24.204Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:46:24.204Z] ---> Running in a2815b621dcd [2022-06-28T22:46:25.191Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:46:26.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:46:26.773Z] OK: 220 MiB in 52 packages [2022-06-28T22:46:27.760Z] Removing intermediate container a2815b621dcd [2022-06-28T22:46:27.760Z] ---> 998f20ba61e0 [2022-06-28T22:46:27.760Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:46:27.760Z] ---> Running in ea81ae7e5369 [2022-06-28T22:46:28.032Z] Removing intermediate container ea81ae7e5369 [2022-06-28T22:46:28.032Z] ---> dda8183caed0 [2022-06-28T22:46:28.032Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:46:28.629Z] ---> b7b65708035d [2022-06-28T22:46:28.629Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:46:28.629Z] ---> Running in 73f986f12ec9 [2022-06-28T22:47:15.620Z] Removing intermediate container 73f986f12ec9 [2022-06-28T22:47:15.620Z] ---> 40ec34c9d6c9 [2022-06-28T22:47:15.620Z] Step 12/13 : COPY . . [2022-06-28T22:47:15.620Z] ---> 983eaecbbb09 [2022-06-28T22:47:15.620Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:47:15.620Z] ---> Running in deea39ad8d76 [2022-06-28T22:47:15.620Z] noop [2022-06-28T22:47:16.598Z] Removing intermediate container deea39ad8d76 [2022-06-28T22:47:16.598Z] ---> 14d8ed8b460e [2022-06-28T22:47:16.598Z] Successfully built 14d8ed8b460e [2022-06-28T22:47:16.598Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:47:16.969Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:47:16.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:47:17.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2022-06-28T22:47:17.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T22:47:18.607Z] $ docker top de0145572beb6386aa216c870174cff963c6024896b44bbb2e0ce4fdfe421b78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:47:19.516Z] + go version [2022-06-28T22:47:19.516Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T22:47:19.543Z] $ docker stop --time=1 de0145572beb6386aa216c870174cff963c6024896b44bbb2e0ce4fdfe421b78 [2022-06-28T22:47:21.183Z] $ docker rm -f de0145572beb6386aa216c870174cff963c6024896b44bbb2e0ce4fdfe421b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:47:21.791Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:47:21.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:47:22.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2022-06-28T22:47:22.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T22:47:23.394Z] $ docker top 3b183552cbad41dc38f718ec46eadfc26b80d0e9c88b88eebdb7afc80d68b0ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:47:24.290Z] + make test [2022-06-28T22:47:24.290Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:47:26.275Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:49:03.161Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:49:03.161Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 7.0% of statements [2022-06-28T22:49:03.161Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-06-28T22:49:07.463Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.844s coverage: 13.8% of statements [2022-06-28T22:49:07.463Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T22:49:07.464Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T22:49:39.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T22:49:39.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T22:49:39.820Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T22:49:39.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T22:49:39.861Z] $ docker stop --time=1 3b183552cbad41dc38f718ec46eadfc26b80d0e9c88b88eebdb7afc80d68b0ae [2022-06-28T22:49:41.628Z] $ docker rm -f 3b183552cbad41dc38f718ec46eadfc26b80d0e9c88b88eebdb7afc80d68b0ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:49:42.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T22:49:42.642Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T22:49:43.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:49:43.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T22:49:43.898Z] + ls -al . [2022-06-28T22:49:43.898Z] total 244 [2022-06-28T22:49:43.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:49 . [2022-06-28T22:49:43.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:45 .. [2022-06-28T22:49:43.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:45 .git [2022-06-28T22:49:43.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:45 .github [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:45 .gitignore [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:45 .golangci.yml [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 9206 Jun 28 22:45 Attribution.txt [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:45 CHANGELOG.md [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:45 Dockerfile [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:45 GOVERNANCE.md [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:45 Jenkinsfile [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:45 LICENSE [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:45 Makefile [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:45 OWNERS.md [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:45 README.md [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 22:43 VERSION [2022-06-28T22:49:43.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:45 bin [2022-06-28T22:49:43.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:45 cmd [2022-06-28T22:49:43.898Z] -rw-r--r-- 1 jenkins jenkins 70262 Jun 28 22:49 coverage.out [2022-06-28T22:49:43.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:45 doc [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 3551 Jun 28 22:45 go.mod [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:45 go.sum [2022-06-28T22:49:43.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:45 internal [2022-06-28T22:49:43.898Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:49:44.311Z] + 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=f47295c1fc12a4f9f2edce23698280e900c2f582 --label arch=arm64 --label version=0.0.0 . [2022-06-28T22:49:44.944Z] Sending build context to Docker daemon 6.324MB [2022-06-28T22:49:44.944Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:49:44.944Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T22:49:44.944Z] ---> 14d8ed8b460e [2022-06-28T22:49:44.944Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T22:49:44.944Z] ---> Running in 10a7dde0010d [2022-06-28T22:49:45.230Z] Removing intermediate container 10a7dde0010d [2022-06-28T22:49:45.230Z] ---> e8e3c7b460af [2022-06-28T22:49:45.230Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:49:45.515Z] ---> Running in 222eb017b0c2 [2022-06-28T22:49:45.815Z] Removing intermediate container 222eb017b0c2 [2022-06-28T22:49:45.815Z] ---> a6c38dc7b9db [2022-06-28T22:49:45.815Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:49:45.815Z] ---> Running in f344f930b94b [2022-06-28T22:49:46.426Z] Removing intermediate container f344f930b94b [2022-06-28T22:49:46.426Z] ---> 16ea046ec6e6 [2022-06-28T22:49:46.426Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:49:46.426Z] ---> Running in 94a2a76d7949 [2022-06-28T22:49:46.703Z] Removing intermediate container 94a2a76d7949 [2022-06-28T22:49:46.703Z] ---> 2e9e4655ee65 [2022-06-28T22:49:46.703Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:49:46.703Z] ---> Running in cf28f17ccadd [2022-06-28T22:49:48.684Z] Removing intermediate container cf28f17ccadd [2022-06-28T22:49:48.684Z] ---> f39025a662c2 [2022-06-28T22:49:48.684Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:49:48.684Z] ---> Running in bc1c368622f1 [2022-06-28T22:49:49.661Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:49:50.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:49:51.236Z] OK: 220 MiB in 52 packages [2022-06-28T22:49:51.832Z] Removing intermediate container bc1c368622f1 [2022-06-28T22:49:51.832Z] ---> 6be3b8617847 [2022-06-28T22:49:51.832Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T22:49:52.107Z] ---> Running in ada61cf7b406 [2022-06-28T22:49:52.380Z] Removing intermediate container ada61cf7b406 [2022-06-28T22:49:52.380Z] ---> 146452626016 [2022-06-28T22:49:52.380Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T22:49:52.977Z] ---> 836b3a141a33 [2022-06-28T22:49:52.977Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:49:52.977Z] ---> Running in 66be7f597091 [2022-06-28T22:49:54.964Z] Removing intermediate container 66be7f597091 [2022-06-28T22:49:54.964Z] ---> d6d3a336b7c9 [2022-06-28T22:49:54.964Z] Step 12/26 : COPY . . [2022-06-28T22:49:55.949Z] ---> 55c3e765f124 [2022-06-28T22:49:55.949Z] Step 13/26 : RUN ${MAKE} [2022-06-28T22:49:56.222Z] ---> Running in 00d295399f9a [2022-06-28T22:49:57.199Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T22:52:04.070Z] Removing intermediate container 00d295399f9a [2022-06-28T22:52:04.070Z] ---> 0e53e26c2580 [2022-06-28T22:52:04.070Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T22:52:04.070Z] 3.15: Pulling from library/alpine [2022-06-28T22:52:04.070Z] 9981e73032c8: Pulling fs layer [2022-06-28T22:52:04.070Z] 9981e73032c8: Verifying Checksum [2022-06-28T22:52:04.070Z] 9981e73032c8: Download complete [2022-06-28T22:52:04.070Z] 9981e73032c8: Pull complete [2022-06-28T22:52:04.070Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T22:52:04.070Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T22:52:04.070Z] ---> 3fb3c9af89a9 [2022-06-28T22:52:04.070Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T22:52:04.070Z] ---> Running in b58981849166 [2022-06-28T22:52:04.070Z] Removing intermediate container b58981849166 [2022-06-28T22:52:04.070Z] ---> 2e21f4130039 [2022-06-28T22:52:04.070Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T22:52:04.071Z] ---> Running in 03c823e2a348 [2022-06-28T22:52:04.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:52:04.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:52:04.071Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T22:52:04.071Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T22:52:04.071Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T22:52:04.071Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T22:52:04.071Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T22:52:04.071Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T22:52:04.071Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T22:52:04.071Z] OK: 8 MiB in 20 packages [2022-06-28T22:52:04.071Z] Removing intermediate container 03c823e2a348 [2022-06-28T22:52:04.071Z] ---> 5d4b25a163a3 [2022-06-28T22:52:04.071Z] Step 17/26 : WORKDIR / [2022-06-28T22:52:04.071Z] ---> Running in 5a43788e509e [2022-06-28T22:52:04.071Z] Removing intermediate container 5a43788e509e [2022-06-28T22:52:04.071Z] ---> 1ee95339dece [2022-06-28T22:52:04.071Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T22:52:04.071Z] ---> 0e5f584027a0 [2022-06-28T22:52:04.071Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T22:52:04.071Z] ---> bdb9287b01e0 [2022-06-28T22:52:04.071Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T22:52:04.356Z] ---> 7acab4dd33a9 [2022-06-28T22:52:04.356Z] Step 21/26 : EXPOSE 59984 [2022-06-28T22:52:04.356Z] ---> Running in 51ff52c3da9e [2022-06-28T22:52:04.964Z] Removing intermediate container 51ff52c3da9e [2022-06-28T22:52:04.964Z] ---> e50422099bba [2022-06-28T22:52:04.964Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T22:52:04.964Z] ---> Running in e915652a2482 [2022-06-28T22:52:05.237Z] Removing intermediate container e915652a2482 [2022-06-28T22:52:05.237Z] ---> 24f0b5c6fca2 [2022-06-28T22:52:05.237Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T22:52:05.237Z] ---> Running in 4cd26bbb6fa3 [2022-06-28T22:52:05.509Z] Removing intermediate container 4cd26bbb6fa3 [2022-06-28T22:52:05.509Z] ---> 4fe59df6800d [2022-06-28T22:52:05.509Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T22:52:05.509Z] ---> Running in fb5bab0db51c [2022-06-28T22:52:05.783Z] Removing intermediate container fb5bab0db51c [2022-06-28T22:52:05.783Z] ---> 51d1c77399d6 [2022-06-28T22:52:05.783Z] Step 25/26 : LABEL git_sha=f47295c1fc12a4f9f2edce23698280e900c2f582 [2022-06-28T22:52:06.059Z] ---> Running in 992afa799faa [2022-06-28T22:52:06.332Z] Removing intermediate container 992afa799faa [2022-06-28T22:52:06.332Z] ---> 98768837fb5d [2022-06-28T22:52:06.332Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T22:52:06.332Z] ---> Running in 63bfbcbfe6d3 [2022-06-28T22:52:06.607Z] Removing intermediate container 63bfbcbfe6d3 [2022-06-28T22:52:06.607Z] ---> 5dbf3144d08e [2022-06-28T22:52:06.607Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T22:52:06.607Z] Successfully built 5dbf3144d08e [2022-06-28T22:52:06.607Z] 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-28T22:52:07.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:52:07.062Z] [2022-06-28T22:52:07.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:52:07.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:52:07.686Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T22:52:07.686Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T22:52:07.686Z] 04944245beec: Pulling fs layer [2022-06-28T22:52:07.686Z] 699f458cf7ca: Pulling fs layer [2022-06-28T22:52:07.686Z] 765212b225bb: Pulling fs layer [2022-06-28T22:52:07.686Z] f23df028b6ca: Pulling fs layer [2022-06-28T22:52:07.686Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T22:52:07.686Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T22:52:07.686Z] 765212b225bb: Waiting [2022-06-28T22:52:07.686Z] f23df028b6ca: Waiting [2022-06-28T22:52:07.686Z] d65c8cfc05b1: Waiting [2022-06-28T22:52:07.686Z] 2437ff75d9bd: Waiting [2022-06-28T22:52:07.686Z] 04944245beec: Verifying Checksum [2022-06-28T22:52:07.686Z] 04944245beec: Download complete [2022-06-28T22:52:07.686Z] 765212b225bb: Verifying Checksum [2022-06-28T22:52:07.686Z] 765212b225bb: Download complete [2022-06-28T22:52:07.686Z] f23df028b6ca: Verifying Checksum [2022-06-28T22:52:07.686Z] f23df028b6ca: Download complete [2022-06-28T22:52:07.686Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T22:52:07.686Z] d65c8cfc05b1: Download complete [2022-06-28T22:52:07.961Z] 699f458cf7ca: Verifying Checksum [2022-06-28T22:52:07.961Z] 699f458cf7ca: Download complete [2022-06-28T22:52:08.236Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T22:52:08.236Z] 8998bd30e6a1: Download complete [2022-06-28T22:52:10.854Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T22:52:10.854Z] 2437ff75d9bd: Download complete [2022-06-28T22:52:12.832Z] 8998bd30e6a1: Pull complete [2022-06-28T22:52:13.104Z] 04944245beec: Pull complete [2022-06-28T22:52:14.535Z] 699f458cf7ca: Pull complete [2022-06-28T22:52:14.535Z] 765212b225bb: Pull complete [2022-06-28T22:52:15.513Z] f23df028b6ca: Pull complete [2022-06-28T22:52:15.789Z] d65c8cfc05b1: Pull complete [2022-06-28T22:52:30.867Z] 2437ff75d9bd: Pull complete [2022-06-28T22:52:30.867Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T22:52:30.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:52:30.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:52:31.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2022-06-28T22:52:31.198Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-28T22:52:33.621Z] $ docker top f1a485daf045612cff688764a8ff53a753c14e9a2d5cdbd4d3c4972f6c9e199a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:34.548Z] ---> job-cost.sh [2022-06-28T22:52:34.548Z] lf-activate-venv: SKIPPING [2022-06-28T22:52:34.548Z] INFO: No Stack... [2022-06-28T22:52:34.821Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T22:52:35.794Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T22:52:36.455Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-06-28T22:52:36.455Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T22:52:36.517Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [2022-06-28T22:52:36.524Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] did not exist. Created. [2022-06-28T22:52:36.524Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:52:37.208Z] /w/workspace/device-onvif-camera/3@tmp/durable-1c1818cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T22:52:37.877Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T22:52:37.904Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T22:52:37.944Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T22:52:37.954Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-93-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T22:52:37.973Z] $ docker stop --time=1 f1a485daf045612cff688764a8ff53a753c14e9a2d5cdbd4d3c4972f6c9e199a [2022-06-28T22:52:39.454Z] $ docker rm -f f1a485daf045612cff688764a8ff53a753c14e9a2d5cdbd4d3c4972f6c9e199a [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-28T22:52:39.887Z] provisioning config files... [2022-06-28T22:52:39.896Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config2295060298824988850tmp [Pipeline] { [Pipeline] sh [2022-06-28T22:52:40.190Z] + set +x [2022-06-28T22:52:40.190Z] + + curl -s https://codecov.io/bash [2022-06-28T22:52:40.190Z] bash -s -- [2022-06-28T22:52:40.190Z] [2022-06-28T22:52:40.190Z] _____ _ [2022-06-28T22:52:40.190Z] / ____| | | [2022-06-28T22:52:40.190Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T22:52:40.190Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T22:52:40.190Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T22:52:40.190Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T22:52:40.190Z] Bash-1.0.6 [2022-06-28T22:52:40.190Z] [2022-06-28T22:52:40.190Z] [2022-06-28T22:52:40.190Z] ==> git version 2.25.1 found [2022-06-28T22:52:40.190Z] ==> 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-28T22:52:40.190Z] Release-Date: 2020-01-08 [2022-06-28T22:52:40.190Z] 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-28T22:52:40.190Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T22:52:40.190Z] ==> Jenkins CI detected. [2022-06-28T22:52:40.190Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-93 [2022-06-28T22:52:40.190Z] project root: . [2022-06-28T22:52:40.190Z] --> token set from env [2022-06-28T22:52:40.190Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T22:52:40.190Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T22:52:40.190Z] ==> Python coveragepy not found [2022-06-28T22:52:40.190Z] ==> Searching for coverage reports in: [2022-06-28T22:52:40.190Z] + . [2022-06-28T22:52:40.190Z] -> Found 1 reports [2022-06-28T22:52:40.190Z] ==> Detecting git/mercurial file structure [2022-06-28T22:52:40.190Z] ==> Reading reports [2022-06-28T22:52:40.190Z] + ./coverage.out bytes=70262 [2022-06-28T22:52:40.190Z] ==> Appending adjustments [2022-06-28T22:52:40.190Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T22:52:40.450Z] + Found adjustments [2022-06-28T22:52:40.451Z] ==> Gzipping contents [2022-06-28T22:52:40.451Z] 12K /tmp/codecov.noALMN.gz [2022-06-28T22:52:40.451Z] ==> Uploading reports [2022-06-28T22:52:40.451Z] url: https://codecov.io [2022-06-28T22:52:40.451Z] query: branch=PR-93&commit=f47295c1fc12a4f9f2edce23698280e900c2f582&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=93&job=&cmd_args= [2022-06-28T22:52:40.451Z] -> Pinging Codecov [2022-06-28T22:52:40.451Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-93&commit=f47295c1fc12a4f9f2edce23698280e900c2f582&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=93&job=&cmd_args= [2022-06-28T22:52:40.711Z] -> Uploading to [2022-06-28T22:52:40.711Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/f47295c1fc12a4f9f2edce23698280e900c2f582/06419172-e26e-49c5-afbb-d3a6cf3c9774.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T225240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6fe1847c6e94a2015e43722afe29df514d47600b788df50fa86ad7fd95a05ac [2022-06-28T22:52:40.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T22:52:40.711Z] Dload Upload Total Spent Left Speed [2022-06-28T22:52:40.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9290 0 0 100 9290 0 42227 --:--:-- --:--:-- --:--:-- 42227 [2022-06-28T22:52:40.971Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/f47295c1fc12a4f9f2edce23698280e900c2f582 [Pipeline] } [2022-06-28T22:52:40.980Z] 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-28T22:52:41.677Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-93/archives ] [2022-06-28T22:52:41.677Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T22:52:41.677Z] total 16 [2022-06-28T22:52:41.677Z] drwxr-xr-x 3 root root 4096 Jun 28 22:45 . [2022-06-28T22:52:41.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:45 .. [2022-06-28T22:52:41.677Z] drwxr-xr-x 2 root root 4096 Jun 28 22:45 cost [2022-06-28T22:52:41.677Z] -rw-r--r-- 1 root root 89 Jun 28 22:45 cost.csv [2022-06-28T22:52:41.677Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T22:52:41.677Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-93/archives [2022-06-28T22:52:41.677Z] total 16 [2022-06-28T22:52:41.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:45 . [2022-06-28T22:52:41.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:45 .. [2022-06-28T22:52:41.677Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 22:45 cost [2022-06-28T22:52:41.677Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 28 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:41.970Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:42.836Z] ---> package-listing.sh [2022-06-28T22:52:42.836Z] ++ facter osfamily [2022-06-28T22:52:42.836Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T22:52:43.098Z] + OS_FAMILY=debian [2022-06-28T22:52:43.098Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-93 [2022-06-28T22:52:43.098Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T22:52:43.098Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T22:52:43.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T22:52:43.098Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T22:52:43.098Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-93 ']' [2022-06-28T22:52:43.098Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T22:52:43.098Z] + case "${OS_FAMILY}" in [2022-06-28T22:52:43.098Z] + dpkg -l [2022-06-28T22:52:43.098Z] + grep '^ii' [2022-06-28T22:52:43.098Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T22:52:43.098Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T22:52:43.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T22:52:43.098Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-93 ']' [2022-06-28T22:52:43.098Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-93/archives/ [2022-06-28T22:52:43.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-93/archives/ [Pipeline] echo [2022-06-28T22:52:43.110Z] 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-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-28T22:52:43.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:52:43.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:52:43.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:52:44.038Z] prd-ubuntu20.04-docker-8c-8g-16280 does not seem to be running inside a container [2022-06-28T22:52:44.076Z] $ 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-93/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-93 -v /w/workspace/oundry_device-onvif-camera_PR-93:/w/workspace/oundry_device-onvif-camera_PR-93:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-93@tmp:/w/workspace/oundry_device-onvif-camera_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T22:52:44.308Z] $ docker top 872f2e7467eaffc781af6a066bc59d5abd3d443cc0e115f4cfa9817bf8e69875 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:52:44.665Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T22:52:44.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T22:52:45.238Z] + ls /var/log/sa-host [2022-06-28T22:52:45.239Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:52:45.367Z] provisioning config files... [2022-06-28T22:52:45.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-93@tmp/config69293568123455763tmp [Pipeline] { [Pipeline] echo [2022-06-28T22:52:45.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:45.671Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T22:52:45.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:46.010Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T22:52:46.018Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:46.301Z] ---> sudo-logs.sh [2022-06-28T22:52:46.301Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T22:52:46.320Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:46.603Z] ---> job-cost.sh [2022-06-28T22:52:46.603Z] lf-activate-venv: SKIPPING [2022-06-28T22:52:46.603Z] DEBUG: total: 0.2199999988079071 [2022-06-28T22:52:46.603Z] INFO: Retrieving Stack Cost... [2022-06-28T22:52:47.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T22:52:47.434Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T22:52:47.445Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:52:47.728Z] ---> logs-deploy.sh [2022-06-28T22:52:47.728Z] lf-activate-venv: SKIPPING [2022-06-28T22:52:47.728Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-93/3 [2022-06-28T22:52:47.728Z] INFO: archiving workspace using pattern(s): [2022-06-28T22:52:48.668Z] Archives upload complete. [2022-06-28T22:52:48.668Z] INFO: archiving logs to Nexus