Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5518966bb045a49db7429c9a60a74b84fd8139d7+8ea3952a55c07e239dd75554aa3eccbc97544666 (2e2a969637c352c62620b58dee3221d4da817765) 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-ssh8791682005802907733.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh1788085992618564910.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-70/workspace@libs/edgex-global-pipelines # timeout=10 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-70/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17026734915380887539.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-70/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12571378909999852938.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh6418879935745676117.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-70/workspace@libs/lf-pipelines # timeout=10 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-70/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4858379840563429489.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-64459 in /w/workspace/oundry_device-onvif-camera_PR-70 [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-70 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 5518966bb045a49db7429c9a60a74b84fd8139d7 Merge succeeded, producing 5518966bb045a49db7429c9a60a74b84fd8139d7 Checking out Revision 5518966bb045a49db7429c9a60a74b84fd8139d7 (PR-70) > 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/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # 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 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 Commit message: "fix: Update Makefile to show the version number" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:54:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:54:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:54:06 ========================================================= 02:54:06 EdgeX Global Pipelines Version Info 02:54:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:54:07 ------------------- 02:54:07 stable info: 02:54:07 ------------------- 02:54:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:54:07 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:54:07 Message: update stable to v1.0.230 02:54:08 ------------------- 02:54:08 experimental info: 02:54:08 ------------------- 02:54:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:54:08 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:54:08 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:54:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5518966 [Pipeline] echo 02:54:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:09 provisioning config files... 02:54:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-70@tmp/config8851157687221979101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:10 ---> docker-login.sh 02:54:10 nexus3.edgexfoundry.org:10001 02:54:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:10 Configure a credential helper to remove this warning. See 02:54:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:10 02:54:10 Login Succeeded 02:54:10 nexus3.edgexfoundry.org:10002 02:54:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:10 Configure a credential helper to remove this warning. See 02:54:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:10 02:54:10 Login Succeeded 02:54:10 nexus3.edgexfoundry.org:10003 02:54:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:10 Configure a credential helper to remove this warning. See 02:54:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:10 02:54:10 Login Succeeded 02:54:10 nexus3.edgexfoundry.org:10004 02:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:11 Configure a credential helper to remove this warning. See 02:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:11 02:54:11 Login Succeeded 02:54:11 docker.io 02:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:11 Configure a credential helper to remove this warning. See 02:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:11 02:54:11 Login Succeeded 02:54:11 ---> docker-login.sh ends [Pipeline] } 02:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:54:12 + git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:54:12 -----------> git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 5518966bb045a49db7429c9a60a74b84fd8139d7 [false] [Pipeline] sh 02:54:12 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:54:12 ========================================================= 02:54:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:54:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:12 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:54:12 [semverPrep] GIT_COMMIT: 5518966bb045a49db7429c9a60a74b84fd8139d7, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo 02:54:12 [semverPrep] This is not a build commit. [Pipeline] sh 02:54:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:54:13 + grep -v github /etc/ssh/ssh_known_hosts 02:54:13 + [ -e /tmp/ssh_known_hosts ] 02:54:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:54:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:54:13 + sudo tee -a /etc/ssh/ssh_known_hosts 02:54:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:54:13 02:54:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:54:14 latest: Pulling from edgex-devops/py-git-semver 02:54:14 1fe172e4850f: Pulling fs layer 02:54:14 caf521ccaac6: Pulling fs layer 02:54:14 3ead6fa29328: Pulling fs layer 02:54:14 5c2a1cbceb83: Pulling fs layer 02:54:14 a8d5f1318db7: Pulling fs layer 02:54:14 c427282e49a2: Pulling fs layer 02:54:14 1827001aaf11: Pulling fs layer 02:54:14 a8d5f1318db7: Waiting 02:54:14 5c2a1cbceb83: Waiting 02:54:14 c427282e49a2: Waiting 02:54:14 1827001aaf11: Waiting 02:54:14 0714d37db230: Pulling fs layer 02:54:14 ac28cf19c067: Pulling fs layer 02:54:14 ca983d60f3e2: Pulling fs layer 02:54:14 ac28cf19c067: Waiting 02:54:14 ca983d60f3e2: Waiting 02:54:14 0714d37db230: Waiting 02:54:14 9f894cec8388: Pulling fs layer 02:54:14 9f894cec8388: Waiting 02:54:14 caf521ccaac6: Verifying Checksum 02:54:14 caf521ccaac6: Download complete 02:54:14 5c2a1cbceb83: Verifying Checksum 02:54:14 5c2a1cbceb83: Download complete 02:54:14 3ead6fa29328: Verifying Checksum 02:54:14 3ead6fa29328: Download complete 02:54:14 c427282e49a2: Verifying Checksum 02:54:14 a8d5f1318db7: Verifying Checksum 02:54:14 a8d5f1318db7: Download complete 02:54:14 0714d37db230: Verifying Checksum 02:54:14 0714d37db230: Download complete 02:54:14 ac28cf19c067: Verifying Checksum 02:54:14 ac28cf19c067: Download complete 02:54:14 ca983d60f3e2: Download complete 02:54:14 9f894cec8388: Verifying Checksum 02:54:14 9f894cec8388: Download complete 02:54:14 1fe172e4850f: Verifying Checksum 02:54:14 1fe172e4850f: Download complete 02:54:15 1827001aaf11: Download complete 02:54:15 1fe172e4850f: Pull complete 02:54:16 caf521ccaac6: Pull complete 02:54:16 3ead6fa29328: Pull complete 02:54:16 5c2a1cbceb83: Pull complete 02:54:16 a8d5f1318db7: Pull complete 02:54:16 c427282e49a2: Pull complete 02:54:18 1827001aaf11: Pull complete 02:54:18 0714d37db230: Pull complete 02:54:18 ac28cf19c067: Pull complete 02:54:18 ca983d60f3e2: Pull complete 02:54:18 9f894cec8388: Pull complete 02:54:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:54:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:54:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:54:19 prd-ubuntu20.04-docker-8c-8g-64459 does not seem to be running inside a container 02:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-70 -v /w/workspace/oundry_device-onvif-camera_PR-70:/w/workspace/oundry_device-onvif-camera_PR-70:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-70@tmp:/w/workspace/oundry_device-onvif-camera_PR-70@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:54:20 $ docker top 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea -eo pid,comm 02:54:20 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). 02:54:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:54:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:20 [ssh-agent] Looking for ssh-agent implementation... 02:54:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:21 $ docker exec 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea ssh-agent 02:54:21 SSH_AUTH_SOCK=/tmp/ssh-dBZvKA8qQEJ6/agent.33 02:54:21 SSH_AGENT_PID=39 02:54:21 Running ssh-add (command line suppressed) 02:54:21 Identity added: /w/workspace/oundry_device-onvif-camera_PR-70@tmp/private_key_6278950690108074501.key (/w/workspace/oundry_device-onvif-camera_PR-70@tmp/private_key_6278950690108074501.key) 02:54:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:21 + git tag --points-at HEAD [Pipeline] } 02:54:21 $ docker exec --env ******** --env ******** 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea ssh-agent -k 02:54:21 unset SSH_AUTH_SOCK; 02:54:21 unset SSH_AGENT_PID; 02:54:21 echo Agent pid 39 killed; 02:54:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:54:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:21 [ssh-agent] Looking for ssh-agent implementation... 02:54:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:22 $ docker exec 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea ssh-agent 02:54:22 SSH_AUTH_SOCK=/tmp/ssh-eqTQyhsi8UWx/agent.73 02:54:22 SSH_AGENT_PID=80 02:54:22 Running ssh-add (command line suppressed) 02:54:22 Identity added: /w/workspace/oundry_device-onvif-camera_PR-70@tmp/private_key_5870426170409345596.key (/w/workspace/oundry_device-onvif-camera_PR-70@tmp/private_key_5870426170409345596.key) 02:54:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:22 + git semver init 02:54:22 2022-05-24 02:54:22,874 [run_init] DEBUG init version:0.0.0 force:False 02:54:22 2022-05-24 02:54:22,874 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-70/.semver 02:54:22 2022-05-24 02:54:22,875 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-70/.semver 02:54:22 2022-05-24 02:54:22,875 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-70/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-70, universal_newlines=False, shell=None, istream=None) 02:54:23 2022-05-24 02:54:23,540 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-70/.git/info/exclude 02:54:23 2022-05-24 02:54:23,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-70/.semver/PR-70 with force:False 02:54:23 2022-05-24 02:54:23,541 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-70/.semver/PR-70 02:54:23 2022-05-24 02:54:23,544 [execute] INFO git cat-file --batch-check 02:54:23 2022-05-24 02:54:23,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-70/.semver, universal_newlines=False, shell=None, istream=) 02:54:23 2022-05-24 02:54:23,550 [execute] INFO git cat-file --batch 02:54:23 2022-05-24 02:54:23,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-70/.semver, universal_newlines=False, shell=None, istream=) 02:54:23 2022-05-24 02:54:23,556 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-70/.semver/PR-70 02:54:23 0.0.0 [Pipeline] } 02:54:23 $ docker exec --env ******** --env ******** 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea ssh-agent -k 02:54:24 unset SSH_AUTH_SOCK; 02:54:24 unset SSH_AGENT_PID; 02:54:24 echo Agent pid 80 killed; 02:54:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:54:24 + git semver [Pipeline] } 02:54:24 $ docker stop --time=1 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea 02:54:26 $ docker rm -f 2c519407c0f4c04f65066ae0eb09d55ce614cd6d5afaa5eae7acc4c9abd7ceea [Pipeline] // withDockerContainer [Pipeline] sh 02:54:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:54:26 Stashed 1 file(s) [Pipeline] echo 02:54:26 [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 02:54:27 provisioning config files... 02:54:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-70@tmp/config5786799275281208040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:27 ---> docker-login.sh 02:54:27 nexus3.edgexfoundry.org:10001 02:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:27 Configure a credential helper to remove this warning. See 02:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:27 02:54:27 Login Succeeded 02:54:27 nexus3.edgexfoundry.org:10002 02:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:28 Configure a credential helper to remove this warning. See 02:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:28 02:54:28 Login Succeeded 02:54:28 nexus3.edgexfoundry.org:10003 02:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:28 Configure a credential helper to remove this warning. See 02:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:28 02:54:28 Login Succeeded 02:54:28 nexus3.edgexfoundry.org:10004 02:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:28 Configure a credential helper to remove this warning. See 02:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:28 02:54:28 Login Succeeded 02:54:28 docker.io 02:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:28 Configure a credential helper to remove this warning. See 02:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:28 02:54:28 Login Succeeded 02:54:28 ---> docker-login.sh ends [Pipeline] } 02:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:29 ========================================================= 02:54:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:54:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:54:29 + 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 . 02:54:29 Sending build context to Docker daemon 8.554MB 02:54:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:54:29 Step 2/13 : FROM ${BASE} AS builder 02:54:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:54:29 59bf1c3509f3: Pulling fs layer 02:54:29 666ba61612fd: Pulling fs layer 02:54:29 8ed8ca486205: Pulling fs layer 02:54:29 4fe6c5a15a65: Pulling fs layer 02:54:29 22a0e8bec74d: Pulling fs layer 02:54:29 ca2b28591e48: Pulling fs layer 02:54:29 a51346096db8: Pulling fs layer 02:54:29 daebc70d1ce1: Pulling fs layer 02:54:29 0e18a0eac166: Pulling fs layer 02:54:29 4fe6c5a15a65: Waiting 02:54:29 22a0e8bec74d: Waiting 02:54:29 ca2b28591e48: Waiting 02:54:29 a51346096db8: Waiting 02:54:29 daebc70d1ce1: Waiting 02:54:29 0e18a0eac166: Waiting 02:54:29 8ed8ca486205: Verifying Checksum 02:54:29 8ed8ca486205: Download complete 02:54:29 666ba61612fd: Verifying Checksum 02:54:29 666ba61612fd: Download complete 02:54:29 22a0e8bec74d: Download complete 02:54:29 ca2b28591e48: Download complete 02:54:29 a51346096db8: Verifying Checksum 02:54:29 a51346096db8: Download complete 02:54:29 59bf1c3509f3: Verifying Checksum 02:54:29 59bf1c3509f3: Download complete 02:54:30 59bf1c3509f3: Pull complete 02:54:30 daebc70d1ce1: Verifying Checksum 02:54:30 daebc70d1ce1: Download complete 02:54:30 666ba61612fd: Pull complete 02:54:30 8ed8ca486205: Pull complete 02:54:31 0e18a0eac166: Verifying Checksum 02:54:31 0e18a0eac166: Download complete 02:54:31 4fe6c5a15a65: Verifying Checksum 02:54:31 4fe6c5a15a65: Download complete 02:54:35 4fe6c5a15a65: Pull complete 02:54:35 22a0e8bec74d: Pull complete 02:54:35 ca2b28591e48: Pull complete 02:54:35 a51346096db8: Pull complete 02:54:35 daebc70d1ce1: Pull complete 02:54:37 0e18a0eac166: Pull complete 02:54:37 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:54:37 ---> f018257e8ee9 02:54:37 Step 3/13 : ARG MAKE="make build" 02:54:38 ---> Running in 1d7681836513 02:54:38 Removing intermediate container 1d7681836513 02:54:38 ---> 22a8baa5c5f1 02:54:38 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:54:38 ---> Running in 2a7600843803 02:54:38 Removing intermediate container 2a7600843803 02:54:38 ---> c7330219fd8f 02:54:38 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:54:38 ---> Running in 13fd9c6d5e88 02:54:39 Removing intermediate container 13fd9c6d5e88 02:54:39 ---> c720f05109b9 02:54:39 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:54:39 ---> Running in d2c08a69660d 02:54:39 Removing intermediate container d2c08a69660d 02:54:39 ---> 5272e3cc7fbc 02:54:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:54:39 ---> Running in 8480632253ee 02:54:39 Removing intermediate container 8480632253ee 02:54:39 ---> b7d0292b4e31 02:54:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:39 ---> Running in 636c77d0b1dc 02:54:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:54:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:54:41 OK: 221 MiB in 52 packages 02:54:41 Removing intermediate container 636c77d0b1dc 02:54:41 ---> d5b771490e8f 02:54:41 Step 9/13 : WORKDIR /device-onvif-camera 02:54:41 ---> Running in 45357a5ebf53 02:54:41 Removing intermediate container 45357a5ebf53 02:54:41 ---> 6079093b1ae7 02:54:41 Step 10/13 : COPY go.mod vendor* ./ 02:54:41 ---> ce33af8b95f0 02:54:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:41 ---> Running in afc1f32d736a 02:54:42 Still waiting to schedule task 02:54:42 ‘prd-centos7-blackbox-4c-2g-64251’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:54:42 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64458’ is offline 02:54:56 Removing intermediate container afc1f32d736a 02:54:56 ---> 68c514ff3200 02:54:56 Step 12/13 : COPY . . 02:54:56 ---> b3041139d43e 02:54:56 Step 13/13 : RUN ${MAKE} 02:54:56 ---> Running in 45ff151523a5 02:54:56 noop 02:54:56 Removing intermediate container 45ff151523a5 02:54:56 ---> 80e6d2d1b376 02:54:56 Successfully built 80e6d2d1b376 02:54:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:54:57 + docker inspect -f . ci-base-image-x86_64 02:54:57 . [Pipeline] withDockerContainer 02:54:57 prd-ubuntu20.04-docker-8c-8g-64459 does not seem to be running inside a container 02:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-70 -v /w/workspace/oundry_device-onvif-camera_PR-70:/w/workspace/oundry_device-onvif-camera_PR-70:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-70@tmp:/w/workspace/oundry_device-onvif-camera_PR-70@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 ******** ci-base-image-x86_64 cat 02:54:57 $ docker top 07be53e21b66e3e16e330c241abd0f7d4c286735d3507948c975f1c42d00458c -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:58 + go version 02:54:58 go version go1.17.6 linux/amd64 [Pipeline] } 02:54:58 $ docker stop --time=1 07be53e21b66e3e16e330c241abd0f7d4c286735d3507948c975f1c42d00458c 02:54:59 $ docker rm -f 07be53e21b66e3e16e330c241abd0f7d4c286735d3507948c975f1c42d00458c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:55:00 + docker inspect -f . ci-base-image-x86_64 02:55:00 . [Pipeline] withDockerContainer 02:55:00 prd-ubuntu20.04-docker-8c-8g-64459 does not seem to be running inside a container 02:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-70 -v /w/workspace/oundry_device-onvif-camera_PR-70:/w/workspace/oundry_device-onvif-camera_PR-70:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-70@tmp:/w/workspace/oundry_device-onvif-camera_PR-70@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 ******** ci-base-image-x86_64 cat 02:55:00 $ docker top e6fd1d896218964e67c8bb0e4103748f2d0a983b05973114c18faa43101e5133 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:55:01 + make test 02:55:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:55:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:55:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:55:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.0% of statements 02:55:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:55:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:22 ./bin/test-attribution-txt.sh [Pipeline] echo 02:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:55:22 $ docker stop --time=1 e6fd1d896218964e67c8bb0e4103748f2d0a983b05973114c18faa43101e5133 02:55:24 $ docker rm -f e6fd1d896218964e67c8bb0e4103748f2d0a983b05973114c18faa43101e5133 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:55:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:26 + ls -al . 02:55:26 total 216 02:55:26 drwxrwxr-x 9 jenkins jenkins 4096 May 24 02:55 . 02:55:26 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:54 .. 02:55:26 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:54 .git 02:55:26 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:54 .github 02:55:26 -rw-rw-r-- 1 jenkins jenkins 352 May 24 02:54 .gitignore 02:55:26 -rw-rw-r-- 1 jenkins jenkins 42 May 24 02:54 .golangci.yml 02:55:26 drwxr-xr-x 3 jenkins jenkins 4096 May 24 02:54 .semver 02:55:26 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 02:54 Attribution.txt 02:55:26 -rw-rw-r-- 1 jenkins jenkins 189 May 24 02:54 CHANGELOG.md 02:55:26 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 02:54 Dockerfile 02:55:26 -rw-rw-r-- 1 jenkins jenkins 677 May 24 02:54 GOVERNANCE.md 02:55:26 -rw-rw-r-- 1 jenkins jenkins 660 May 24 02:54 Jenkinsfile 02:55:26 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 02:54 LICENSE 02:55:26 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 02:54 Makefile 02:55:26 -rw-rw-r-- 1 jenkins jenkins 625 May 24 02:54 OWNERS.md 02:55:26 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 02:54 README.md 02:55:26 -rw-rw-r-- 1 jenkins jenkins 5 May 24 02:54 VERSION 02:55:26 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:54 bin 02:55:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:54 cmd 02:55:26 -rw-r--r-- 1 jenkins jenkins 37307 May 24 02:55 coverage.out 02:55:26 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:54 doc 02:55:26 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 02:54 go.mod 02:55:26 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 02:54 go.sum 02:55:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:54 internal 02:55:26 -rw-rw-r-- 1 jenkins jenkins 236 May 24 02:54 version.go [Pipeline] isUnix [Pipeline] sh 02:55:26 + 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=5518966bb045a49db7429c9a60a74b84fd8139d7 --label arch=amd64 --label version=0.0.0 . 02:55:26 Sending build context to Docker daemon 8.592MB 02:55:26 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:55:26 Step 2/26 : FROM ${BASE} AS builder 02:55:26 ---> 80e6d2d1b376 02:55:26 Step 3/26 : ARG MAKE="make build" 02:55:26 ---> Running in 7a49448e115f 02:55:27 Removing intermediate container 7a49448e115f 02:55:27 ---> ff0d064ca65a 02:55:27 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:55:27 ---> Running in 3cbd039d3171 02:55:27 Removing intermediate container 3cbd039d3171 02:55:27 ---> f4c1663e8113 02:55:27 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:55:27 ---> Running in 569bd1491d8c 02:55:27 Removing intermediate container 569bd1491d8c 02:55:27 ---> 4140204d63b3 02:55:27 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:55:27 ---> Running in 89e22994af9e 02:55:27 Removing intermediate container 89e22994af9e 02:55:27 ---> b3fc9932b190 02:55:27 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:55:27 ---> Running in 06dd5f568c89 02:55:28 Removing intermediate container 06dd5f568c89 02:55:28 ---> 0e9584f6c14b 02:55:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:28 ---> Running in f293471cb809 02:55:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:55:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:55:29 OK: 221 MiB in 52 packages 02:55:29 Removing intermediate container f293471cb809 02:55:29 ---> 5a8f199d6e8d 02:55:29 Step 9/26 : WORKDIR /device-onvif-camera 02:55:29 ---> Running in f25a775c3dcb 02:55:29 Removing intermediate container f25a775c3dcb 02:55:29 ---> 32179d5d0649 02:55:29 Step 10/26 : COPY go.mod vendor* ./ 02:55:30 ---> 2e092ca82cde 02:55:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:30 ---> Running in 68face006188 02:55:30 Removing intermediate container 68face006188 02:55:30 ---> b45cb331c800 02:55:30 Step 12/26 : COPY . . 02:55:31 ---> 4ae08c1e8390 02:55:31 Step 13/26 : RUN ${MAKE} 02:55:31 ---> Running in 9d2226e344b2 02:55:31 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 02:55:53 Removing intermediate container 9d2226e344b2 02:55:53 ---> 2bdc5c06dd68 02:55:53 Step 14/26 : FROM alpine:3.15 02:55:53 3.15: Pulling from library/alpine 02:55:53 df9b9388f04a: Pulling fs layer 02:55:53 df9b9388f04a: Verifying Checksum 02:55:53 df9b9388f04a: Download complete 02:55:53 df9b9388f04a: Pull complete 02:55:53 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:55:53 Status: Downloaded newer image for alpine:3.15 02:55:53 ---> 0ac33e5f5afa 02:55:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:55:53 ---> Running in ad1793be5383 02:55:53 Removing intermediate container ad1793be5383 02:55:53 ---> 55603981e557 02:55:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:55:53 ---> Running in 84d56c1763b5 02:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:55:53 (1/6) Installing dumb-init (1.2.5-r1) 02:55:53 (2/6) Installing libgcc (10.3.1_git20211027-r0) 02:55:53 (3/6) Installing libsodium (1.0.18-r0) 02:55:53 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 02:55:53 (5/6) Installing libzmq (4.3.4-r0) 02:55:53 (6/6) Installing zeromq (4.3.4-r0) 02:55:53 Executing busybox-1.34.1-r5.trigger 02:55:53 OK: 8 MiB in 20 packages 02:55:53 Removing intermediate container 84d56c1763b5 02:55:53 ---> 1add1b2e2e4b 02:55:53 Step 17/26 : WORKDIR / 02:55:53 ---> Running in 939958074ca7 02:55:53 Removing intermediate container 939958074ca7 02:55:53 ---> b040269cd5c7 02:55:53 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:55:53 ---> b7b256c0decd 02:55:53 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:55:54 ---> 490a74efd118 02:55:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:55:54 ---> 536a622b81a5 02:55:54 Step 21/26 : EXPOSE 59984 02:55:54 ---> Running in 06a7815a0174 02:55:54 Removing intermediate container 06a7815a0174 02:55:54 ---> e8650d35019c 02:55:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:55:54 ---> Running in 2679e1719901 02:55:54 Removing intermediate container 2679e1719901 02:55:54 ---> b1f7828e88d7 02:55:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:55:54 ---> Running in 1db652dad609 02:55:54 Removing intermediate container 1db652dad609 02:55:54 ---> c33e610a91ca 02:55:54 Step 24/26 : LABEL arch=amd64 02:55:54 ---> Running in d214922c0541 02:55:54 Removing intermediate container d214922c0541 02:55:54 ---> ff0a3e4af6f0 02:55:54 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 02:55:54 ---> Running in 7d069c631b86 02:55:54 Removing intermediate container 7d069c631b86 02:55:54 ---> 799e2e232183 02:55:54 Step 26/26 : LABEL version=0.0.0 02:55:54 ---> Running in e54fac0d406a 02:55:54 Removing intermediate container e54fac0d406a 02:55:54 ---> 4d16f59f571e 02:55:54 [Warning] One or more build-args [ARCH] were not consumed 02:55:54 Successfully built 4d16f59f571e 02:55:54 Successfully tagged device-onvif-camera:latest [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] sh 02:55:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:55 02:55:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:55:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:56 latest: Pulling from edgex-lftools-log-publisher 02:55:56 5eb5b503b376: Pulling fs layer 02:55:56 5c69ac0246d0: Pulling fs layer 02:55:56 ec43610c2a17: Pulling fs layer 02:55:56 3a2ae6a8a46f: Pulling fs layer 02:55:56 33b1e0a273af: Pulling fs layer 02:55:56 5d3b04190fa2: Pulling fs layer 02:55:56 2f39f015ded8: Pulling fs layer 02:55:56 3a2ae6a8a46f: Waiting 02:55:56 2f39f015ded8: Waiting 02:55:56 33b1e0a273af: Waiting 02:55:56 5d3b04190fa2: Waiting 02:55:56 5c69ac0246d0: Verifying Checksum 02:55:56 5c69ac0246d0: Download complete 02:55:56 3a2ae6a8a46f: Verifying Checksum 02:55:56 3a2ae6a8a46f: Download complete 02:55:56 ec43610c2a17: Verifying Checksum 02:55:56 ec43610c2a17: Download complete 02:55:56 33b1e0a273af: Verifying Checksum 02:55:56 33b1e0a273af: Download complete 02:55:56 5d3b04190fa2: Verifying Checksum 02:55:56 5eb5b503b376: Verifying Checksum 02:55:56 5eb5b503b376: Download complete 02:55:57 2f39f015ded8: Download complete 02:55:57 5eb5b503b376: Pull complete 02:55:57 5c69ac0246d0: Pull complete 02:55:58 ec43610c2a17: Pull complete 02:55:58 3a2ae6a8a46f: Pull complete 02:55:58 33b1e0a273af: Pull complete 02:55:58 5d3b04190fa2: Pull complete 02:56:02 2f39f015ded8: Pull complete 02:56:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:56:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:56:02 prd-ubuntu20.04-docker-8c-8g-64459 does not seem to be running inside a container 02:56:02 $ 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-70 -v /w/workspace/oundry_device-onvif-camera_PR-70:/w/workspace/oundry_device-onvif-camera_PR-70:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-70@tmp:/w/workspace/oundry_device-onvif-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:56:04 $ docker top 6db4c3c2625b832825647fb8226b20b7a6dd87c98ec8eb2f0c9c8161dd80cd59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:04 ---> job-cost.sh 02:56:04 lf-activate-venv: SKIPPING 02:56:04 INFO: No Stack... 02:56:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:56:05 INFO: Archiving Costs [Pipeline] sh 02:56:05 + cat /w/workspace/oundry_device-onvif-camera_PR-70/archives/cost.csv 02:56:05 + cut -d, -f6 [Pipeline] lock 02:56:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] 02:56:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] did not exist. Created. 02:56:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:56:06 + echo total: 0.2199999988079071 [Pipeline] stash 02:56:06 Stashed 1 file(s) [Pipeline] } 02:56:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:56:06 $ docker stop --time=1 6db4c3c2625b832825647fb8226b20b7a6dd87c98ec8eb2f0c9c8161dd80cd59 02:56:07 $ docker rm -f 6db4c3c2625b832825647fb8226b20b7a6dd87c98ec8eb2f0c9c8161dd80cd59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:57:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64460 in /w/workspace/oundry_device-onvif-camera_PR-70 [Pipeline] { [Pipeline] ws 02:57:00 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 02:57:01 Selected Git installation does not exist. Using Default 02:57:01 The recommended git tool is: NONE 02:57:06 using credential edgex-jenkins-ssh 02:57:06 Cloning the remote Git repository 02:57:06 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:57:07 > git init /w/workspace/device-onvif-camera/1 # timeout=10 02:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:57:07 > git --version # timeout=10 02:57:07 > git --version # 'git version 2.25.1' 02:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:08 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 5518966bb045a49db7429c9a60a74b84fd8139d7 02:57:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:57:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:57:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:57:08 > git config core.sparsecheckout # timeout=10 02:57:08 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 02:57:08 Merge succeeded, producing 5518966bb045a49db7429c9a60a74b84fd8139d7 02:57:08 Checking out Revision 5518966bb045a49db7429c9a60a74b84fd8139d7 (PR-70) 02:57:08 > git remote # timeout=10 02:57:08 > git config --get remote.origin.url # timeout=10 02:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:08 > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 02:57:08 > git rev-parse HEAD^{commit} # timeout=10 02:57:08 > git config core.sparsecheckout # timeout=10 02:57:08 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 02:57:13 Commit message: "fix: Update Makefile to show the version number" 02:57:13 > git --version # timeout=10 02:57:13 > git --version # 'git version 2.25.1' 02:57:13 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:57:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:57:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:57:14 Dload Upload Total Spent Left Speed 02:57:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 225k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 02:57:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:57:15 + sudo+ sudo tee /etc/docker/daemon.new 02:57:15 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:57:15 { 02:57:15 "registry-mirrors": [ 02:57:15 "https://nexus3.edgexfoundry.org:10001" 02:57:15 ], 02:57:15 "bip": "10.250.0.254/24", 02:57:15 "hosts": [ 02:57:15 "tcp://0.0.0.0:5555", 02:57:15 "unix:///var/run/docker.sock" 02:57:15 ], 02:57:15 "mtu": 1458, 02:57:15 "selinux-enabled": true, 02:57:15 "seccomp-profile": "/etc/docker/seccomp.json" 02:57:15 } [Pipeline] sh 02:57:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:57:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:34 provisioning config files... 02:57:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2842058361491650388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:35 ---> docker-login.sh 02:57:35 nexus3.edgexfoundry.org:10001 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:36 Configure a credential helper to remove this warning. See 02:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:36 02:57:36 Login Succeeded 02:57:36 nexus3.edgexfoundry.org:10002 02:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:36 Configure a credential helper to remove this warning. See 02:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:36 02:57:36 Login Succeeded 02:57:36 nexus3.edgexfoundry.org:10003 02:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:37 Configure a credential helper to remove this warning. See 02:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:37 02:57:37 Login Succeeded 02:57:37 nexus3.edgexfoundry.org:10004 02:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:37 Configure a credential helper to remove this warning. See 02:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:37 02:57:37 Login Succeeded 02:57:37 docker.io 02:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:38 Configure a credential helper to remove this warning. See 02:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:38 02:57:38 Login Succeeded 02:57:38 ---> docker-login.sh ends [Pipeline] } 02:57:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:57:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:57:38 ========================================================= 02:57:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:57:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:57:39 + 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 . 02:57:39 Sending build context to Docker daemon 5.822MB 02:57:39 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:57:39 Step 2/13 : FROM ${BASE} AS builder 02:57:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:57:39 9b3977197b4f: Pulling fs layer 02:57:39 1a89e8eeedd5: Pulling fs layer 02:57:39 94645a83ff95: Pulling fs layer 02:57:39 3f3a8bcf1eab: Pulling fs layer 02:57:39 0c92f367c5e7: Pulling fs layer 02:57:39 3096ccb668a1: Pulling fs layer 02:57:39 e8cf19c19ddd: Pulling fs layer 02:57:39 a4caa8a26152: Pulling fs layer 02:57:39 0c92f367c5e7: Waiting 02:57:39 e8cf19c19ddd: Waiting 02:57:39 a4caa8a26152: Waiting 02:57:39 3096ccb668a1: Waiting 02:57:39 3f3a8bcf1eab: Waiting 02:57:39 94645a83ff95: Download complete 02:57:39 1a89e8eeedd5: Verifying Checksum 02:57:39 1a89e8eeedd5: Download complete 02:57:39 0c92f367c5e7: Verifying Checksum 02:57:39 0c92f367c5e7: Download complete 02:57:39 3096ccb668a1: Verifying Checksum 02:57:39 3096ccb668a1: Download complete 02:57:40 9b3977197b4f: Download complete 02:57:40 e8cf19c19ddd: Verifying Checksum 02:57:40 e8cf19c19ddd: Download complete 02:57:40 9b3977197b4f: Pull complete 02:57:41 1a89e8eeedd5: Pull complete 02:57:41 94645a83ff95: Pull complete 02:57:42 a4caa8a26152: Verifying Checksum 02:57:42 a4caa8a26152: Download complete 02:57:42 3f3a8bcf1eab: Verifying Checksum 02:57:42 3f3a8bcf1eab: Download complete 02:57:55 3f3a8bcf1eab: Pull complete 02:57:55 0c92f367c5e7: Pull complete 02:57:55 3096ccb668a1: Pull complete 02:57:55 e8cf19c19ddd: Pull complete 02:58:02 a4caa8a26152: Pull complete 02:58:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:58:02 ---> 725f1c02e7f9 02:58:02 Step 3/13 : ARG MAKE="make build" 02:58:03 ---> Running in 139934f1545a 02:58:03 Removing intermediate container 139934f1545a 02:58:03 ---> 97f60a6ef2bf 02:58:03 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:58:03 ---> Running in 010152eebdcc 02:58:05 Removing intermediate container 010152eebdcc 02:58:05 ---> 3513309e28b0 02:58:05 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:58:05 ---> Running in 94ca20d942f3 02:58:05 Removing intermediate container 94ca20d942f3 02:58:05 ---> 7be0014cbd4e 02:58:05 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:58:05 ---> Running in beab5624cbbb 02:58:05 Removing intermediate container beab5624cbbb 02:58:05 ---> d3806fc605e8 02:58:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:58:06 ---> Running in bd97d2f70ffc 02:58:08 Removing intermediate container bd97d2f70ffc 02:58:08 ---> c52cba5bd7b1 02:58:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:58:08 ---> Running in a6604e1444a7 02:58:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:58:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:58:10 OK: 220 MiB in 52 packages 02:58:11 Removing intermediate container a6604e1444a7 02:58:11 ---> 650b0ba7437c 02:58:11 Step 9/13 : WORKDIR /device-onvif-camera 02:58:11 ---> Running in 122d9c86511c 02:58:12 Removing intermediate container 122d9c86511c 02:58:12 ---> 53dddf3d0b43 02:58:12 Step 10/13 : COPY go.mod vendor* ./ 02:58:12 ---> 6e6dfbe6320a 02:58:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:58:12 ---> Running in 0117d93cae4d 02:58:59 Removing intermediate container 0117d93cae4d 02:58:59 ---> 1c0d3d92467b 02:58:59 Step 12/13 : COPY . . 02:59:00 ---> cc5456eb0548 02:59:00 Step 13/13 : RUN ${MAKE} 02:59:00 ---> Running in 744570f213a1 02:59:01 noop 02:59:02 Removing intermediate container 744570f213a1 02:59:02 ---> ecadf3b56cc8 02:59:02 Successfully built ecadf3b56cc8 02:59:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:59:02 + docker inspect -f . ci-base-image-arm64 02:59:02 . [Pipeline] withDockerContainer 02:59:03 prd-ubuntu20.04-docker-arm64-4c-16g-64460 does not seem to be running inside a container 02:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 02:59:04 $ docker top 295f77e8a2976efea40f0fa8c379dfbcfaee4f6294979d5ed92f38d541890f60 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:05 + go version 02:59:05 go version go1.17.6 linux/arm64 [Pipeline] } 02:59:05 $ docker stop --time=1 295f77e8a2976efea40f0fa8c379dfbcfaee4f6294979d5ed92f38d541890f60 02:59:07 $ docker rm -f 295f77e8a2976efea40f0fa8c379dfbcfaee4f6294979d5ed92f38d541890f60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:59:08 + docker inspect -f . ci-base-image-arm64 02:59:08 . [Pipeline] withDockerContainer 02:59:08 prd-ubuntu20.04-docker-arm64-4c-16g-64460 does not seem to be running inside a container 02:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 02:59:10 $ docker top f2941f7812a5e4d256f91fbe2de687a0af3df7262fd617293f8ff28759de9694 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:59:11 + make test 02:59:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:59:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:00:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:00:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.073s coverage: 1.0% of statements 03:00:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:00:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:01:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:01:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:01:12 ./bin/test-attribution-txt.sh [Pipeline] echo 03:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:01:13 $ docker stop --time=1 f2941f7812a5e4d256f91fbe2de687a0af3df7262fd617293f8ff28759de9694 03:01:15 $ docker rm -f f2941f7812a5e4d256f91fbe2de687a0af3df7262fd617293f8ff28759de9694 [Pipeline] // withDockerContainer [Pipeline] sh 03:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:01:16 Warning: overwriting stash ‘coverage-report’ 03:01:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:01:18 + ls -al . 03:01:18 total 212 03:01:18 drwxrwxr-x 8 jenkins jenkins 4096 May 24 03:01 . 03:01:18 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:57 .. 03:01:18 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:57 .git 03:01:18 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:57 .github 03:01:18 -rw-rw-r-- 1 jenkins jenkins 352 May 24 02:57 .gitignore 03:01:18 -rw-rw-r-- 1 jenkins jenkins 42 May 24 02:57 .golangci.yml 03:01:18 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 02:57 Attribution.txt 03:01:18 -rw-rw-r-- 1 jenkins jenkins 189 May 24 02:57 CHANGELOG.md 03:01:18 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 02:57 Dockerfile 03:01:18 -rw-rw-r-- 1 jenkins jenkins 677 May 24 02:57 GOVERNANCE.md 03:01:18 -rw-rw-r-- 1 jenkins jenkins 660 May 24 02:57 Jenkinsfile 03:01:18 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 02:57 LICENSE 03:01:18 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 02:57 Makefile 03:01:18 -rw-rw-r-- 1 jenkins jenkins 625 May 24 02:57 OWNERS.md 03:01:18 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 02:57 README.md 03:01:18 -rw-rw-r-- 1 jenkins jenkins 5 May 24 02:54 VERSION 03:01:18 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:57 bin 03:01:18 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:57 cmd 03:01:18 -rw-r--r-- 1 jenkins jenkins 37307 May 24 03:00 coverage.out 03:01:18 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:57 doc 03:01:18 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 02:57 go.mod 03:01:18 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 02:57 go.sum 03:01:18 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:57 internal 03:01:18 -rw-rw-r-- 1 jenkins jenkins 236 May 24 02:57 version.go [Pipeline] isUnix [Pipeline] sh 03:01:18 + 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=5518966bb045a49db7429c9a60a74b84fd8139d7 --label arch=arm64 --label version=0.0.0 . 03:01:19 Sending build context to Docker daemon 5.86MB 03:01:19 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 03:01:19 Step 2/26 : FROM ${BASE} AS builder 03:01:19 ---> ecadf3b56cc8 03:01:19 Step 3/26 : ARG MAKE="make build" 03:01:19 ---> Running in 80164a1a5078 03:01:19 Removing intermediate container 80164a1a5078 03:01:19 ---> 223ea8a87a23 03:01:19 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:01:19 ---> Running in 1be4f984a711 03:01:19 Removing intermediate container 1be4f984a711 03:01:19 ---> 3d2a14f3cba5 03:01:19 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:01:20 ---> Running in ff7fe889239d 03:01:20 Removing intermediate container ff7fe889239d 03:01:20 ---> 19877150d012 03:01:20 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:01:20 ---> Running in e4edae8ddb7d 03:01:20 Removing intermediate container e4edae8ddb7d 03:01:20 ---> 9b6720e31594 03:01:20 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:01:20 ---> Running in b13e5f1a1090 03:01:22 Removing intermediate container b13e5f1a1090 03:01:22 ---> 6506bfc42c7c 03:01:22 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:01:22 ---> Running in 85878334dc9f 03:01:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:01:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:01:25 OK: 220 MiB in 52 packages 03:01:25 Removing intermediate container 85878334dc9f 03:01:25 ---> 7791609c2023 03:01:25 Step 9/26 : WORKDIR /device-onvif-camera 03:01:26 ---> Running in 57013ba94256 03:01:26 Removing intermediate container 57013ba94256 03:01:26 ---> aaeaa2e642a9 03:01:26 Step 10/26 : COPY go.mod vendor* ./ 03:01:26 ---> 3eab3410cad5 03:01:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:01:26 ---> Running in cc8bc80638a4 03:01:28 Removing intermediate container cc8bc80638a4 03:01:28 ---> e39ef625fd2a 03:01:28 Step 12/26 : COPY . . 03:01:29 ---> 219978b1c027 03:01:29 Step 13/26 : RUN ${MAKE} 03:01:29 ---> Running in 1b5dab2f2990 03:01:30 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 03:03:52 Removing intermediate container 1b5dab2f2990 03:03:52 ---> 0c30d78f71f1 03:03:52 Step 14/26 : FROM alpine:3.15 03:03:52 3.15: Pulling from library/alpine 03:03:52 9981e73032c8: Pulling fs layer 03:03:52 9981e73032c8: Verifying Checksum 03:03:52 9981e73032c8: Download complete 03:03:52 9981e73032c8: Pull complete 03:03:52 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:03:52 Status: Downloaded newer image for alpine:3.15 03:03:52 ---> 3fb3c9af89a9 03:03:52 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:03:52 ---> Running in 9966fc7aaa24 03:03:52 Removing intermediate container 9966fc7aaa24 03:03:52 ---> 9650aed6433e 03:03:52 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:03:52 ---> Running in 3b5c434a330a 03:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:03:52 (1/6) Installing dumb-init (1.2.5-r1) 03:03:52 (2/6) Installing libgcc (10.3.1_git20211027-r0) 03:03:52 (3/6) Installing libsodium (1.0.18-r0) 03:03:52 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 03:03:52 (5/6) Installing libzmq (4.3.4-r0) 03:03:52 (6/6) Installing zeromq (4.3.4-r0) 03:03:52 Executing busybox-1.34.1-r5.trigger 03:03:52 OK: 8 MiB in 20 packages 03:03:52 Removing intermediate container 3b5c434a330a 03:03:52 ---> adfcf6e3a911 03:03:52 Step 17/26 : WORKDIR / 03:03:52 ---> Running in 0ddf3c6624ac 03:03:52 Removing intermediate container 0ddf3c6624ac 03:03:52 ---> fd6b7ffca5b0 03:03:52 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:03:52 ---> 06435266ca3b 03:03:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:03:52 ---> 3a22e19be5f9 03:03:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:03:52 ---> eedef8c74fc1 03:03:52 Step 21/26 : EXPOSE 59984 03:03:52 ---> Running in 4fa5bfea23eb 03:03:52 Removing intermediate container 4fa5bfea23eb 03:03:52 ---> c6d9fcb7f8be 03:03:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:03:52 ---> Running in 0c94d5d3d0b1 03:03:52 Removing intermediate container 0c94d5d3d0b1 03:03:52 ---> 1cfe086c9fb1 03:03:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:03:52 ---> Running in 012b8731591a 03:03:52 Removing intermediate container 012b8731591a 03:03:52 ---> dcc82f1c960c 03:03:52 Step 24/26 : LABEL arch=arm64 03:03:52 ---> Running in d2696b0f68b9 03:03:52 Removing intermediate container d2696b0f68b9 03:03:52 ---> 63bd44db97fa 03:03:52 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 03:03:52 ---> Running in ece3cafd51e7 03:03:52 Removing intermediate container ece3cafd51e7 03:03:52 ---> 6f4cefddd7a7 03:03:52 Step 26/26 : LABEL version=0.0.0 03:03:52 ---> Running in 84012d486dca 03:03:53 Removing intermediate container 84012d486dca 03:03:53 ---> d74ec3919145 03:03:53 [Warning] One or more build-args [ARCH] were not consumed 03:03:53 Successfully built d74ec3919145 03:03:53 Successfully tagged device-onvif-camera-arm64:latest [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] sh 03:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:03:53 03:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:03:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:03:54 arm64: Pulling from edgex-lftools-log-publisher 03:03:54 8998bd30e6a1: Pulling fs layer 03:03:54 04944245beec: Pulling fs layer 03:03:54 699f458cf7ca: Pulling fs layer 03:03:54 765212b225bb: Pulling fs layer 03:03:54 f23df028b6ca: Pulling fs layer 03:03:54 d65c8cfc05b1: Pulling fs layer 03:03:54 2437ff75d9bd: Pulling fs layer 03:03:54 f23df028b6ca: Waiting 03:03:54 d65c8cfc05b1: Waiting 03:03:54 2437ff75d9bd: Waiting 03:03:54 765212b225bb: Waiting 03:03:54 04944245beec: Verifying Checksum 03:03:54 04944245beec: Download complete 03:03:54 765212b225bb: Verifying Checksum 03:03:54 765212b225bb: Download complete 03:03:54 f23df028b6ca: Verifying Checksum 03:03:54 f23df028b6ca: Download complete 03:03:54 d65c8cfc05b1: Verifying Checksum 03:03:54 d65c8cfc05b1: Download complete 03:03:54 699f458cf7ca: Verifying Checksum 03:03:54 699f458cf7ca: Download complete 03:03:55 8998bd30e6a1: Verifying Checksum 03:03:55 8998bd30e6a1: Download complete 03:03:57 2437ff75d9bd: Verifying Checksum 03:03:57 2437ff75d9bd: Download complete 03:03:59 8998bd30e6a1: Pull complete 03:03:59 04944245beec: Pull complete 03:04:01 699f458cf7ca: Pull complete 03:04:01 765212b225bb: Pull complete 03:04:02 f23df028b6ca: Pull complete 03:04:02 d65c8cfc05b1: Pull complete 03:04:18 2437ff75d9bd: Pull complete 03:04:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:04:18 prd-ubuntu20.04-docker-arm64-4c-16g-64460 does not seem to be running inside a container 03:04:18 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:04:21 $ docker top e4af134308ec909c6c4a28ec8a86533dfc863c0a2fa31cd157141286ec06ea35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:22 ---> job-cost.sh 03:04:22 lf-activate-venv: SKIPPING 03:04:22 INFO: No Stack... 03:04:22 INFO: Retrieving Pricing Info for: v3-standard-4 03:04:23 INFO: Archiving Costs [Pipeline] sh 03:04:24 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:04:24 + cut -d, -f6 [Pipeline] lock 03:04:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] 03:04:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] did not exist. Created. 03:04:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:24 /w/workspace/device-onvif-camera/1@tmp/durable-89fffc68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:04:25 + echo total: 0.10999999940395355 [Pipeline] stash 03:04:25 Warning: overwriting stash ‘stack-cost’ 03:04:25 Stashed 1 file(s) [Pipeline] } 03:04:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:25 $ docker stop --time=1 e4af134308ec909c6c4a28ec8a86533dfc863c0a2fa31cd157141286ec06ea35 03:04:27 $ docker rm -f e4af134308ec909c6c4a28ec8a86533dfc863c0a2fa31cd157141286ec06ea35 [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 03:04:28 provisioning config files... 03:04:28 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-70@tmp/config4040849646356304897tmp [Pipeline] { [Pipeline] sh 03:04:28 + set +x 03:04:28 + bash -s -- 03:04:28 + curl -s https://codecov.io/bash 03:04:28 03:04:28 _____ _ 03:04:28 / ____| | | 03:04:28 | | ___ __| | ___ ___ _____ __ 03:04:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:04:28 | |___| (_) | (_| | __/ (_| (_) \ V / 03:04:28 \_____\___/ \__,_|\___|\___\___/ \_/ 03:04:28 Bash-1.0.6 03:04:28 03:04:28 03:04:28 ==> git version 2.25.1 found 03:04:28 ==> 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 03:04:28 Release-Date: 2020-01-08 03:04:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:04:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:04:28 ==> Jenkins CI detected. 03:04:28 current dir:  /w/workspace/oundry_device-onvif-camera_PR-70 03:04:28 project root: . 03:04:28 --> token set from env 03:04:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:04:28 ==> Running gcov in . (disable via -X gcov) 03:04:28 ==> Python coveragepy not found 03:04:28 ==> Searching for coverage reports in: 03:04:28 + . 03:04:28 -> Found 1 reports 03:04:28 ==> Detecting git/mercurial file structure 03:04:28 ==> Reading reports 03:04:28 + ./coverage.out bytes=37307 03:04:28 ==> Appending adjustments 03:04:28 https://docs.codecov.io/docs/fixing-reports 03:04:29 + Found adjustments 03:04:29 ==> Gzipping contents 03:04:29 8.0K /tmp/codecov.y7FdDp.gz 03:04:29 ==> Uploading reports 03:04:29 url: https://codecov.io 03:04:29 query: branch=PR-70&commit=5518966bb045a49db7429c9a60a74b84fd8139d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=70&job=&cmd_args= 03:04:29 -> Pinging Codecov 03:04:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-70&commit=5518966bb045a49db7429c9a60a74b84fd8139d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=70&job=&cmd_args= 03:04:29 -> Uploading to 03:04:29 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/F29A59C45E3A92E06B3E522C9905F8EF/5518966bb045a49db7429c9a60a74b84fd8139d7/0581e168-8038-4d67-bcdb-11264023044d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T030429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46231e23ed3d9735f98089367835f56153bb2902d3d481e0339f17e1b6cf8bb7 03:04:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:04:29 Dload Upload Total Spent Left Speed 03:04:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4579 0 0 100 4579 0 20533 --:--:-- --:--:-- --:--:-- 20533 03:04:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] } 03:04:29 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 03:04:31 + [ -d /w/workspace/oundry_device-onvif-camera_PR-70/archives ] 03:04:31 + ls -al /w/workspace/oundry_device-onvif-camera_PR-70/archives 03:04:31 total 16 03:04:31 drwxr-xr-x 3 root root 4096 May 24 02:56 . 03:04:31 drwxrwxr-x 10 jenkins jenkins 4096 May 24 02:56 .. 03:04:31 drwxr-xr-x 2 root root 4096 May 24 02:56 cost 03:04:31 -rw-r--r-- 1 root root 89 May 24 02:56 cost.csv 03:04:31 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-70/archives 03:04:31 + ls -al /w/workspace/oundry_device-onvif-camera_PR-70/archives 03:04:31 total 16 03:04:31 drwxr-xr-x 3 jenkins jenkins 4096 May 24 02:56 . 03:04:31 drwxrwxr-x 10 jenkins jenkins 4096 May 24 02:56 .. 03:04:31 drwxr-xr-x 2 jenkins jenkins 4096 May 24 02:56 cost 03:04:31 -rw-r--r-- 1 jenkins jenkins 89 May 24 02:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:04:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:04:32 ---> package-listing.sh 03:04:32 ++ facter osfamily 03:04:32 ++ tr '[:upper:]' '[:lower:]' 03:04:32 + OS_FAMILY=debian 03:04:32 + workspace=/w/workspace/oundry_device-onvif-camera_PR-70 03:04:32 + START_PACKAGES=/tmp/packages_start.txt 03:04:32 + END_PACKAGES=/tmp/packages_end.txt 03:04:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:04:32 + PACKAGES=/tmp/packages_start.txt 03:04:32 + '[' /w/workspace/oundry_device-onvif-camera_PR-70 ']' 03:04:32 + PACKAGES=/tmp/packages_end.txt 03:04:32 + case "${OS_FAMILY}" in 03:04:32 + dpkg -l 03:04:32 + grep '^ii' 03:04:32 + '[' -f /tmp/packages_start.txt ']' 03:04:32 + '[' -f /tmp/packages_end.txt ']' 03:04:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:04:32 + '[' /w/workspace/oundry_device-onvif-camera_PR-70 ']' 03:04:32 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-70/archives/ 03:04:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-70/archives/ [Pipeline] echo 03:04:32 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-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:04:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:33 . [Pipeline] withDockerContainer 03:04:33 prd-ubuntu20.04-docker-8c-8g-64459 does not seem to be running inside a container 03:04:33 $ 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-70/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-70 -v /w/workspace/oundry_device-onvif-camera_PR-70:/w/workspace/oundry_device-onvif-camera_PR-70:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-70@tmp:/w/workspace/oundry_device-onvif-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:04:34 $ docker top 8a202513eec449e632ad083f99ba4aa0ddcb5907bea8912ebad3b5f461fecd4d -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:34 + touch /tmp/pre-build-complete [Pipeline] sh 03:04:34 + mkdir -p /var/log/sysstat [Pipeline] sh 03:04:35 + ls /var/log/sa-host 03:04:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:04:35 provisioning config files... 03:04:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-70@tmp/config2547397243297761557tmp [Pipeline] { [Pipeline] echo 03:04:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:04:35 ---> create-netrc.sh [Pipeline] } 03:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:04:36 ---> python-tools-install.sh [Pipeline] echo 03:04:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:04:36 ---> sudo-logs.sh 03:04:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:04:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:04:37 ---> job-cost.sh 03:04:37 lf-activate-venv: SKIPPING 03:04:37 DEBUG: total: 0.2199999988079071 03:04:37 INFO: Retrieving Stack Cost... 03:04:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:04:37 INFO: Archiving Costs [Pipeline] echo 03:04:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:04:38 ---> logs-deploy.sh 03:04:38 lf-activate-venv: SKIPPING 03:04:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-70/1 03:04:38 INFO: archiving workspace using pattern(s): 03:04:39 Archives upload complete. 03:04:39 INFO: archiving logs to Nexus