Pull request #68 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99e4fa65c00eec4a95619ae796b9ec4b51828628+84b3359fcb453f79206b07ec4bf8f15846aef2e0 (7331529732547f8a1295c6162cf5fa9a49de7c51) 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-ssh9791568061733857371.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-ssh12092875979838534024.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-68/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-68/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12208046411524418516.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-68/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1218376126024671399.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-ssh13213057894104886152.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-68/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-68/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5734320551561232279.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 ‘prd-ubuntu20.04-docker-8c-8g-64190’ Running on prd-ubuntu20.04-docker-8c-8g-64193 in /w/workspace/oundry_device-onvif-camera_PR-68 [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-68 # 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 84b3359fcb453f79206b07ec4bf8f15846aef2e0 into PR head commit 99e4fa65c00eec4a95619ae796b9ec4b51828628 Merge succeeded, producing 99e4fa65c00eec4a95619ae796b9ec4b51828628 Checking out Revision 99e4fa65c00eec4a95619ae796b9ec4b51828628 (PR-68) > 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/68/head:refs/remotes/origin/PR-68 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # 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 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # timeout=10 Commit message: "build: Update device-sdk-go to Kamakura release version" 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 13:04:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:04:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:04:40 ========================================================= 13:04:40 EdgeX Global Pipelines Version Info 13:04:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:04:40 ------------------- 13:04:40 stable info: 13:04:40 ------------------- 13:04:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:04:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:04:40 Message: update stable to v1.0.230 13:04:41 ------------------- 13:04:41 experimental info: 13:04:41 ------------------- 13:04:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:04:41 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:04:41 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:04:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:04:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99e4fa6 [Pipeline] echo 13:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:43 provisioning config files... 13:04:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-68@tmp/config1346080461384424383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:43 ---> docker-login.sh 13:04:43 nexus3.edgexfoundry.org:10001 13:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:43 Configure a credential helper to remove this warning. See 13:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:43 13:04:43 Login Succeeded 13:04:43 nexus3.edgexfoundry.org:10002 13:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:44 Configure a credential helper to remove this warning. See 13:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:44 13:04:44 Login Succeeded 13:04:44 nexus3.edgexfoundry.org:10003 13:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:44 Configure a credential helper to remove this warning. See 13:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:44 13:04:44 Login Succeeded 13:04:44 nexus3.edgexfoundry.org:10004 13:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:44 Configure a credential helper to remove this warning. See 13:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:44 13:04:44 Login Succeeded 13:04:44 docker.io 13:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:44 Configure a credential helper to remove this warning. See 13:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:44 13:04:44 Login Succeeded 13:04:44 ---> docker-login.sh ends [Pipeline] } 13:04:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:04:45 + git rev-list -1 --merges 99e4fa65c00eec4a95619ae796b9ec4b51828628~1..99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:04:45 -----------> git rev-list -1 --merges 99e4fa65c00eec4a95619ae796b9ec4b51828628~1..99e4fa65c00eec4a95619ae796b9ec4b51828628 99e4fa65c00eec4a95619ae796b9ec4b51828628 [false] [Pipeline] sh 13:04:45 + git log --format=format:%s -1 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:04:45 ========================================================= 13:04:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:04:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:04:46 + git log --format=format:%s -1 99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] echo 13:04:46 [semverPrep] GIT_COMMIT: 99e4fa65c00eec4a95619ae796b9ec4b51828628, Commit Message: build: Update device-sdk-go to Kamakura release version [Pipeline] echo 13:04:46 [semverPrep] This is not a build commit. [Pipeline] sh 13:04:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:04:46 + grep -v github /etc/ssh/ssh_known_hosts 13:04:46 + [ -e /tmp/ssh_known_hosts ] 13:04:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:04:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:04:46 + sudo tee -a /etc/ssh/ssh_known_hosts 13:04:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:04:47 13:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:04:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:04:47 latest: Pulling from edgex-devops/py-git-semver 13:04:47 1fe172e4850f: Pulling fs layer 13:04:47 caf521ccaac6: Pulling fs layer 13:04:47 3ead6fa29328: Pulling fs layer 13:04:47 5c2a1cbceb83: Pulling fs layer 13:04:47 a8d5f1318db7: Pulling fs layer 13:04:47 c427282e49a2: Pulling fs layer 13:04:47 1827001aaf11: Pulling fs layer 13:04:47 0714d37db230: Pulling fs layer 13:04:47 ac28cf19c067: Pulling fs layer 13:04:47 ca983d60f3e2: Pulling fs layer 13:04:47 9f894cec8388: Pulling fs layer 13:04:47 c427282e49a2: Waiting 13:04:47 5c2a1cbceb83: Waiting 13:04:47 a8d5f1318db7: Waiting 13:04:47 0714d37db230: Waiting 13:04:47 ca983d60f3e2: Waiting 13:04:47 ac28cf19c067: Waiting 13:04:47 9f894cec8388: Waiting 13:04:47 1827001aaf11: Waiting 13:04:47 caf521ccaac6: Download complete 13:04:47 5c2a1cbceb83: Verifying Checksum 13:04:47 5c2a1cbceb83: Download complete 13:04:47 a8d5f1318db7: Verifying Checksum 13:04:47 a8d5f1318db7: Download complete 13:04:47 3ead6fa29328: Verifying Checksum 13:04:47 3ead6fa29328: Download complete 13:04:47 c427282e49a2: Verifying Checksum 13:04:47 c427282e49a2: Download complete 13:04:47 0714d37db230: Verifying Checksum 13:04:47 0714d37db230: Download complete 13:04:47 ac28cf19c067: Verifying Checksum 13:04:47 ac28cf19c067: Download complete 13:04:47 ca983d60f3e2: Verifying Checksum 13:04:47 ca983d60f3e2: Download complete 13:04:47 9f894cec8388: Verifying Checksum 13:04:47 9f894cec8388: Download complete 13:04:47 1fe172e4850f: Verifying Checksum 13:04:47 1fe172e4850f: Download complete 13:04:47 1827001aaf11: Verifying Checksum 13:04:47 1827001aaf11: Download complete 13:04:49 1fe172e4850f: Pull complete 13:04:49 caf521ccaac6: Pull complete 13:04:49 3ead6fa29328: Pull complete 13:04:49 5c2a1cbceb83: Pull complete 13:04:50 a8d5f1318db7: Pull complete 13:04:50 c427282e49a2: Pull complete 13:04:52 1827001aaf11: Pull complete 13:04:52 0714d37db230: Pull complete 13:04:52 ac28cf19c067: Pull complete 13:04:52 ca983d60f3e2: Pull complete 13:04:52 9f894cec8388: Pull complete 13:04:52 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:04:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:04:52 prd-ubuntu20.04-docker-8c-8g-64193 does not seem to be running inside a container 13:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-68 -v /w/workspace/oundry_device-onvif-camera_PR-68:/w/workspace/oundry_device-onvif-camera_PR-68:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-68@tmp:/w/workspace/oundry_device-onvif-camera_PR-68@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 13:04:54 $ docker top e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 -eo pid,comm 13:04:54 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). 13:04:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:04:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:04:54 [ssh-agent] Looking for ssh-agent implementation... 13:04:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:04:54 $ docker exec e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 ssh-agent 13:04:54 SSH_AUTH_SOCK=/tmp/ssh-1sv68ospVguF/agent.33 13:04:54 SSH_AGENT_PID=39 13:04:54 Running ssh-add (command line suppressed) 13:04:55 Identity added: /w/workspace/oundry_device-onvif-camera_PR-68@tmp/private_key_4598886822071293791.key (/w/workspace/oundry_device-onvif-camera_PR-68@tmp/private_key_4598886822071293791.key) 13:04:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:04:55 + git tag --points-at HEAD [Pipeline] } 13:04:55 $ docker exec --env ******** --env ******** e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 ssh-agent -k 13:04:55 unset SSH_AUTH_SOCK; 13:04:55 unset SSH_AGENT_PID; 13:04:55 echo Agent pid 39 killed; 13:04:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:04:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:04:55 [ssh-agent] Looking for ssh-agent implementation... 13:04:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:04:55 $ docker exec e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 ssh-agent 13:04:55 SSH_AUTH_SOCK=/tmp/ssh-HYQtTuvezoYH/agent.71 13:04:55 SSH_AGENT_PID=77 13:04:56 Running ssh-add (command line suppressed) 13:04:56 Identity added: /w/workspace/oundry_device-onvif-camera_PR-68@tmp/private_key_9045159674822815387.key (/w/workspace/oundry_device-onvif-camera_PR-68@tmp/private_key_9045159674822815387.key) 13:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:04:56 + git semver init 13:04:56 2022-05-20 13:04:56,742 [run_init] DEBUG init version:0.0.0 force:False 13:04:56 2022-05-20 13:04:56,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-68/.semver 13:04:56 2022-05-20 13:04:56,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-68/.semver 13:04:56 2022-05-20 13:04:56,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-68/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-68, universal_newlines=False, shell=None, istream=None) 13:04:57 2022-05-20 13:04:57,417 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-68/.git/info/exclude 13:04:57 2022-05-20 13:04:57,418 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-68/.semver/PR-68 with force:False 13:04:57 2022-05-20 13:04:57,418 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-68/.semver/PR-68 13:04:57 2022-05-20 13:04:57,423 [execute] INFO git cat-file --batch-check 13:04:57 2022-05-20 13:04:57,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-68/.semver, universal_newlines=False, shell=None, istream=) 13:04:57 2022-05-20 13:04:57,433 [execute] INFO git cat-file --batch 13:04:57 2022-05-20 13:04:57,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-68/.semver, universal_newlines=False, shell=None, istream=) 13:04:57 2022-05-20 13:04:57,440 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-68/.semver/PR-68 13:04:57 0.0.0 [Pipeline] } 13:04:57 $ docker exec --env ******** --env ******** e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 ssh-agent -k 13:04:57 unset SSH_AUTH_SOCK; 13:04:57 unset SSH_AGENT_PID; 13:04:57 echo Agent pid 77 killed; 13:04:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:04:58 + git semver [Pipeline] } 13:04:58 $ docker stop --time=1 e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 13:05:08 $ docker rm -f e15306e5797728f4bf4041b30ad65734ac96919abaed19659ea3a8aae5c6fd48 [Pipeline] // withDockerContainer [Pipeline] sh 13:05:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:05:09 Stashed 1 file(s) [Pipeline] echo 13:05:09 [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 13:05:10 provisioning config files... 13:05:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-68@tmp/config607272779646016073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:10 ---> docker-login.sh 13:05:10 nexus3.edgexfoundry.org:10001 13:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:10 Configure a credential helper to remove this warning. See 13:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:10 13:05:10 Login Succeeded 13:05:10 nexus3.edgexfoundry.org:10002 13:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:10 Configure a credential helper to remove this warning. See 13:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:10 13:05:10 Login Succeeded 13:05:10 nexus3.edgexfoundry.org:10003 13:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:10 Configure a credential helper to remove this warning. See 13:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:10 13:05:10 Login Succeeded 13:05:10 nexus3.edgexfoundry.org:10004 13:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:11 Configure a credential helper to remove this warning. See 13:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:11 13:05:11 Login Succeeded 13:05:11 docker.io 13:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:05:11 Configure a credential helper to remove this warning. See 13:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:05:11 13:05:11 Login Succeeded 13:05:11 ---> docker-login.sh ends [Pipeline] } 13:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:05:11 ========================================================= 13:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:05:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:05:12 + 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 . 13:05:12 Sending build context to Docker daemon 8.547MB 13:05:12 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:05:12 Step 2/13 : FROM ${BASE} AS builder 13:05:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:05:12 59bf1c3509f3: Pulling fs layer 13:05:12 666ba61612fd: Pulling fs layer 13:05:12 8ed8ca486205: Pulling fs layer 13:05:12 4fe6c5a15a65: Pulling fs layer 13:05:12 22a0e8bec74d: Pulling fs layer 13:05:12 ca2b28591e48: Pulling fs layer 13:05:12 a51346096db8: Pulling fs layer 13:05:12 4fe6c5a15a65: Waiting 13:05:12 ca2b28591e48: Waiting 13:05:12 22a0e8bec74d: Waiting 13:05:12 daebc70d1ce1: Pulling fs layer 13:05:12 a51346096db8: Waiting 13:05:12 0e18a0eac166: Pulling fs layer 13:05:12 daebc70d1ce1: Waiting 13:05:12 8ed8ca486205: Download complete 13:05:12 666ba61612fd: Verifying Checksum 13:05:12 666ba61612fd: Download complete 13:05:12 22a0e8bec74d: Verifying Checksum 13:05:12 22a0e8bec74d: Download complete 13:05:12 ca2b28591e48: Verifying Checksum 13:05:12 ca2b28591e48: Download complete 13:05:12 a51346096db8: Verifying Checksum 13:05:12 a51346096db8: Download complete 13:05:12 59bf1c3509f3: Verifying Checksum 13:05:12 daebc70d1ce1: Verifying Checksum 13:05:12 daebc70d1ce1: Download complete 13:05:12 59bf1c3509f3: Pull complete 13:05:12 666ba61612fd: Pull complete 13:05:12 8ed8ca486205: Pull complete 13:05:12 0e18a0eac166: Verifying Checksum 13:05:12 0e18a0eac166: Download complete 13:05:13 4fe6c5a15a65: Verifying Checksum 13:05:13 4fe6c5a15a65: Download complete 13:05:17 4fe6c5a15a65: Pull complete 13:05:17 22a0e8bec74d: Pull complete 13:05:17 ca2b28591e48: Pull complete 13:05:17 a51346096db8: Pull complete 13:05:17 daebc70d1ce1: Pull complete 13:05:19 0e18a0eac166: Pull complete 13:05:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:05:19 ---> f018257e8ee9 13:05:19 Step 3/13 : ARG MAKE="make build" 13:05:21 ---> Running in 6ad7b5dd9f6f 13:05:21 Removing intermediate container 6ad7b5dd9f6f 13:05:21 ---> 29308823bcf3 13:05:21 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:05:21 ---> Running in d402a312696c 13:05:21 Removing intermediate container d402a312696c 13:05:21 ---> d1218a9e0240 13:05:21 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 13:05:21 ---> Running in e956efc51985 13:05:21 Removing intermediate container e956efc51985 13:05:21 ---> 109a2a1974d6 13:05:21 Step 6/13 : LABEL Name=edgex-device-onvif-camera 13:05:21 ---> Running in c98718d5d817 13:05:21 Removing intermediate container c98718d5d817 13:05:21 ---> cbd94ad9c94e 13:05:21 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:05:21 ---> Running in 9cfc0a7c91f7 13:05:22 Removing intermediate container 9cfc0a7c91f7 13:05:22 ---> 49adb5cb8f1e 13:05:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:05:22 ---> Running in 5c670b081565 13:05:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:05:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:05:23 OK: 221 MiB in 52 packages 13:05:24 Removing intermediate container 5c670b081565 13:05:24 ---> 7b7c601736a0 13:05:24 Step 9/13 : WORKDIR /device-onvif-camera 13:05:24 ---> Running in a533b2bf2631 13:05:24 Removing intermediate container a533b2bf2631 13:05:24 ---> 0ba7a2cb7800 13:05:24 Step 10/13 : COPY go.mod vendor* ./ 13:05:24 ---> d79b9a37c143 13:05:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:05:24 ---> Running in c1f77269ea1d 13:05:25 Still waiting to schedule task 13:05:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-64191’ 13:05:42 Removing intermediate container c1f77269ea1d 13:05:42 ---> cebd4d5646b1 13:05:42 Step 12/13 : COPY . . 13:05:42 ---> b8f519399e4e 13:05:42 Step 13/13 : RUN ${MAKE} 13:05:42 ---> Running in 334d13066922 13:05:42 noop 13:05:42 Removing intermediate container 334d13066922 13:05:42 ---> e236fce688ed 13:05:42 Successfully built e236fce688ed 13:05:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:05:42 + docker inspect -f . ci-base-image-x86_64 13:05:42 . [Pipeline] withDockerContainer 13:05:42 prd-ubuntu20.04-docker-8c-8g-64193 does not seem to be running inside a container 13:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-68 -v /w/workspace/oundry_device-onvif-camera_PR-68:/w/workspace/oundry_device-onvif-camera_PR-68:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-68@tmp:/w/workspace/oundry_device-onvif-camera_PR-68@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 13:05:43 $ docker top c57f76d8bf728785679b112e5b062d7e8d503a6f565c50c6697b1e617e35ceb7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:43 + go version 13:05:43 go version go1.17.6 linux/amd64 [Pipeline] } 13:05:43 $ docker stop --time=1 c57f76d8bf728785679b112e5b062d7e8d503a6f565c50c6697b1e617e35ceb7 13:05:45 $ docker rm -f c57f76d8bf728785679b112e5b062d7e8d503a6f565c50c6697b1e617e35ceb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:05:46 + docker inspect -f . ci-base-image-x86_64 13:05:46 . [Pipeline] withDockerContainer 13:05:46 prd-ubuntu20.04-docker-8c-8g-64193 does not seem to be running inside a container 13:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-68 -v /w/workspace/oundry_device-onvif-camera_PR-68:/w/workspace/oundry_device-onvif-camera_PR-68:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-68@tmp:/w/workspace/oundry_device-onvif-camera_PR-68@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 13:05:46 $ docker top 9e2db0fe82c798089096352e14c9b210cee97d8e4c85245f35c5624e2082dd7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:05:47 + make test 13:05:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:05:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:05:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:05:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.0% of statements 13:06:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:06:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:06:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:06:09 ./bin/test-attribution-txt.sh [Pipeline] echo 13:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:06:09 $ docker stop --time=1 9e2db0fe82c798089096352e14c9b210cee97d8e4c85245f35c5624e2082dd7d 13:06:11 $ docker rm -f 9e2db0fe82c798089096352e14c9b210cee97d8e4c85245f35c5624e2082dd7d [Pipeline] // withDockerContainer [Pipeline] sh 13:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:06:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:06:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:06:13 + ls -al . 13:06:13 total 216 13:06:13 drwxrwxr-x 9 jenkins jenkins 4096 May 20 13:06 . 13:06:13 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:04 .. 13:06:13 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:04 .git 13:06:13 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:04 .github 13:06:13 -rw-rw-r-- 1 jenkins jenkins 352 May 20 13:04 .gitignore 13:06:13 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:04 .golangci.yml 13:06:13 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:04 .semver 13:06:13 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 13:04 Attribution.txt 13:06:13 -rw-rw-r-- 1 jenkins jenkins 189 May 20 13:04 CHANGELOG.md 13:06:13 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 13:04 Dockerfile 13:06:13 -rw-rw-r-- 1 jenkins jenkins 677 May 20 13:04 GOVERNANCE.md 13:06:13 -rw-rw-r-- 1 jenkins jenkins 660 May 20 13:04 Jenkinsfile 13:06:13 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:04 LICENSE 13:06:13 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 13:04 Makefile 13:06:13 -rw-rw-r-- 1 jenkins jenkins 625 May 20 13:04 OWNERS.md 13:06:13 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 13:04 README.md 13:06:13 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:05 VERSION 13:06:13 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:04 bin 13:06:13 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:04 cmd 13:06:13 -rw-r--r-- 1 jenkins jenkins 37307 May 20 13:05 coverage.out 13:06:13 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:04 doc 13:06:13 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 13:04 go.mod 13:06:13 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 13:04 go.sum 13:06:13 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:04 internal 13:06:13 -rw-rw-r-- 1 jenkins jenkins 236 May 20 13:04 version.go [Pipeline] isUnix [Pipeline] sh 13:06:13 + 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=99e4fa65c00eec4a95619ae796b9ec4b51828628 --label arch=amd64 --label version=0.0.0 . 13:06:13 Sending build context to Docker daemon 8.585MB 13:06:13 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:06:13 Step 2/26 : FROM ${BASE} AS builder 13:06:13 ---> e236fce688ed 13:06:13 Step 3/26 : ARG MAKE="make build" 13:06:13 ---> Running in 6b8106b84479 13:06:14 Removing intermediate container 6b8106b84479 13:06:14 ---> f4e8a7f211b9 13:06:14 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:06:14 ---> Running in 2b268643aaa1 13:06:14 Removing intermediate container 2b268643aaa1 13:06:14 ---> 28771b23e9be 13:06:14 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 13:06:14 ---> Running in 9382b1f0af95 13:06:14 Removing intermediate container 9382b1f0af95 13:06:14 ---> ac85449fac1b 13:06:14 Step 6/26 : LABEL Name=edgex-device-onvif-camera 13:06:14 ---> Running in 6034191037a0 13:06:14 Removing intermediate container 6034191037a0 13:06:14 ---> fd71844c99ee 13:06:14 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:06:14 ---> Running in 09ff11d616fb 13:06:15 Removing intermediate container 09ff11d616fb 13:06:15 ---> aa895a1d61cb 13:06:15 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:15 ---> Running in 3f4c6e22b058 13:06:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:06:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:06:16 OK: 221 MiB in 52 packages 13:06:16 Removing intermediate container 3f4c6e22b058 13:06:16 ---> 06bcf6fea213 13:06:16 Step 9/26 : WORKDIR /device-onvif-camera 13:06:16 ---> Running in 749cea14cc80 13:06:17 Removing intermediate container 749cea14cc80 13:06:17 ---> 5df07e6dbe00 13:06:17 Step 10/26 : COPY go.mod vendor* ./ 13:06:17 ---> 226b79f3970c 13:06:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:06:17 ---> Running in b24478ff3345 13:06:18 Removing intermediate container b24478ff3345 13:06:18 ---> 0ee4b33a1ef2 13:06:18 Step 12/26 : COPY . . 13:06:18 ---> 5567afcb0187 13:06:18 Step 13/26 : RUN ${MAKE} 13:06:18 ---> Running in 7a09db04429c 13:06:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 13:06:40 Removing intermediate container 7a09db04429c 13:06:40 ---> f23130091c39 13:06:40 Step 14/26 : FROM alpine:3.15 13:06:40 3.15: Pulling from library/alpine 13:06:40 df9b9388f04a: Pulling fs layer 13:06:40 df9b9388f04a: Verifying Checksum 13:06:40 df9b9388f04a: Download complete 13:06:40 df9b9388f04a: Pull complete 13:06:40 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:06:40 Status: Downloaded newer image for alpine:3.15 13:06:40 ---> 0ac33e5f5afa 13:06:40 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:06:40 ---> Running in 4e3154c4d7f3 13:06:40 Removing intermediate container 4e3154c4d7f3 13:06:40 ---> 8605ccd627cb 13:06:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:06:40 ---> Running in 4dc637556146 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:06:40 (1/6) Installing dumb-init (1.2.5-r1) 13:06:40 (2/6) Installing libgcc (10.3.1_git20211027-r0) 13:06:40 (3/6) Installing libsodium (1.0.18-r0) 13:06:40 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 13:06:40 (5/6) Installing libzmq (4.3.4-r0) 13:06:40 (6/6) Installing zeromq (4.3.4-r0) 13:06:40 Executing busybox-1.34.1-r5.trigger 13:06:40 OK: 8 MiB in 20 packages 13:06:40 Removing intermediate container 4dc637556146 13:06:40 ---> e4ae274229bd 13:06:40 Step 17/26 : WORKDIR / 13:06:40 ---> Running in 1c9a043c4e57 13:06:40 Removing intermediate container 1c9a043c4e57 13:06:40 ---> 5acac3ca1360 13:06:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:06:41 ---> 4b17f56d8031 13:06:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:06:41 ---> e8c93a29d7fa 13:06:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:06:42 ---> 6298ee901aa3 13:06:42 Step 21/26 : EXPOSE 59984 13:06:42 ---> Running in e56c23c76f6c 13:06:42 Removing intermediate container e56c23c76f6c 13:06:42 ---> a1a508520b0d 13:06:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:06:42 ---> Running in 854a01f869c7 13:06:42 Removing intermediate container 854a01f869c7 13:06:42 ---> 6d8f027ea972 13:06:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:06:42 ---> Running in 8d6a6a88fea3 13:06:42 Removing intermediate container 8d6a6a88fea3 13:06:42 ---> 5d4e58c13d75 13:06:42 Step 24/26 : LABEL arch=amd64 13:06:42 ---> Running in b976fc4e28c9 13:06:42 Removing intermediate container b976fc4e28c9 13:06:42 ---> cc858986452d 13:06:42 Step 25/26 : LABEL git_sha=99e4fa65c00eec4a95619ae796b9ec4b51828628 13:06:42 ---> Running in c0cc7188d3aa 13:06:42 Removing intermediate container c0cc7188d3aa 13:06:42 ---> 06a87d1037a2 13:06:42 Step 26/26 : LABEL version=0.0.0 13:06:42 ---> Running in b4db90112211 13:06:42 Removing intermediate container b4db90112211 13:06:42 ---> 0577a5bba05e 13:06:42 [Warning] One or more build-args [ARCH] were not consumed 13:06:42 Successfully built 0577a5bba05e 13:06:42 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 13:06:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:43 13:06:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:44 latest: Pulling from edgex-lftools-log-publisher 13:06:44 5eb5b503b376: Pulling fs layer 13:06:44 5c69ac0246d0: Pulling fs layer 13:06:44 ec43610c2a17: Pulling fs layer 13:06:44 3a2ae6a8a46f: Pulling fs layer 13:06:44 33b1e0a273af: Pulling fs layer 13:06:44 5d3b04190fa2: Pulling fs layer 13:06:44 2f39f015ded8: Pulling fs layer 13:06:44 33b1e0a273af: Waiting 13:06:44 3a2ae6a8a46f: Waiting 13:06:44 5d3b04190fa2: Waiting 13:06:44 2f39f015ded8: Waiting 13:06:44 5c69ac0246d0: Download complete 13:06:44 3a2ae6a8a46f: Verifying Checksum 13:06:44 3a2ae6a8a46f: Download complete 13:06:44 33b1e0a273af: Verifying Checksum 13:06:44 33b1e0a273af: Download complete 13:06:44 5d3b04190fa2: Verifying Checksum 13:06:44 5d3b04190fa2: Download complete 13:06:44 ec43610c2a17: Verifying Checksum 13:06:44 ec43610c2a17: Download complete 13:06:44 5eb5b503b376: Verifying Checksum 13:06:44 5eb5b503b376: Download complete 13:06:44 2f39f015ded8: Verifying Checksum 13:06:44 2f39f015ded8: Download complete 13:06:45 5eb5b503b376: Pull complete 13:06:45 5c69ac0246d0: Pull complete 13:06:46 ec43610c2a17: Pull complete 13:06:46 3a2ae6a8a46f: Pull complete 13:06:46 33b1e0a273af: Pull complete 13:06:46 5d3b04190fa2: Pull complete 13:06:51 2f39f015ded8: Pull complete 13:06:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:06:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:06:51 prd-ubuntu20.04-docker-8c-8g-64193 does not seem to be running inside a container 13:06:51 $ 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-68 -v /w/workspace/oundry_device-onvif-camera_PR-68:/w/workspace/oundry_device-onvif-camera_PR-68:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-68@tmp:/w/workspace/oundry_device-onvif-camera_PR-68@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 13:06:54 $ docker top dc35dda8fd6861118283878e7329cb40dd031a1dad7839d0c47b17062c1970b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:54 ---> job-cost.sh 13:06:54 lf-activate-venv: SKIPPING 13:06:54 INFO: No Stack... 13:06:55 INFO: Retrieving Pricing Info for: v3-standard-8 13:06:55 INFO: Archiving Costs [Pipeline] sh 13:06:55 + cat /w/workspace/oundry_device-onvif-camera_PR-68/archives/cost.csv 13:06:55 + cut -d, -f6 [Pipeline] lock 13:06:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] 13:06:55 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] did not exist. Created. 13:06:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:06:56 + echo total: 0.2199999988079071 [Pipeline] stash 13:06:56 Stashed 1 file(s) [Pipeline] } 13:06:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:06:56 $ docker stop --time=1 dc35dda8fd6861118283878e7329cb40dd031a1dad7839d0c47b17062c1970b2 13:06:57 $ docker rm -f dc35dda8fd6861118283878e7329cb40dd031a1dad7839d0c47b17062c1970b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:08:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64194 in /w/workspace/oundry_device-onvif-camera_PR-68 [Pipeline] { [Pipeline] ws 13:08:53 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 13:08:53 Selected Git installation does not exist. Using Default 13:08:53 The recommended git tool is: NONE 13:09:00 using credential edgex-jenkins-ssh 13:09:00 Cloning the remote Git repository 13:09:00 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 13:09:00 > git init /w/workspace/device-onvif-camera/1 # timeout=10 13:09:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:09:00 > git --version # timeout=10 13:09:00 > git --version # 'git version 2.25.1' 13:09:00 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:02 Merging remotes/origin/main commit 84b3359fcb453f79206b07ec4bf8f15846aef2e0 into PR head commit 99e4fa65c00eec4a95619ae796b9ec4b51828628 13:09:02 Merge succeeded, producing 99e4fa65c00eec4a95619ae796b9ec4b51828628 13:09:02 Checking out Revision 99e4fa65c00eec4a95619ae796b9ec4b51828628 (PR-68) 13:09:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:09:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:09:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:09:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:09:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:09:02 > git config core.sparsecheckout # timeout=10 13:09:02 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # timeout=10 13:09:02 > git remote # timeout=10 13:09:02 > git config --get remote.origin.url # timeout=10 13:09:02 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:02 > git merge 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 13:09:02 > git rev-parse HEAD^{commit} # timeout=10 13:09:02 > git config core.sparsecheckout # timeout=10 13:09:02 > git checkout -f 99e4fa65c00eec4a95619ae796b9ec4b51828628 # timeout=10 13:09:06 Commit message: "build: Update device-sdk-go to Kamakura release version" 13:09:07 > git --version # timeout=10 13:09:07 > git --version # 'git version 2.25.1' 13:09:07 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:09:08 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:08 Dload Upload Total Spent Left Speed 13:09:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 49808 0 --:--:-- --:--:-- --:--:-- 49607 [Pipeline] sh 13:09:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:09:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:09:09 + sudo tee /etc/docker/daemon.new 13:09:09 { 13:09:09 "registry-mirrors": [ 13:09:09 "https://nexus3.edgexfoundry.org:10001" 13:09:09 ], 13:09:09 "bip": "10.250.0.254/24", 13:09:09 "hosts": [ 13:09:09 "tcp://0.0.0.0:5555", 13:09:09 "unix:///var/run/docker.sock" 13:09:09 ], 13:09:09 "mtu": 1458, 13:09:09 "selinux-enabled": true, 13:09:09 "seccomp-profile": "/etc/docker/seccomp.json" 13:09:09 } [Pipeline] sh 13:09:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:09:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:28 provisioning config files... 13:09:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2834374316054715051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:29 ---> docker-login.sh 13:09:29 nexus3.edgexfoundry.org:10001 13:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:29 Configure a credential helper to remove this warning. See 13:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:29 13:09:29 Login Succeeded 13:09:29 nexus3.edgexfoundry.org:10002 13:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:30 Configure a credential helper to remove this warning. See 13:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:30 13:09:30 Login Succeeded 13:09:30 nexus3.edgexfoundry.org:10003 13:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:30 Configure a credential helper to remove this warning. See 13:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:30 13:09:30 Login Succeeded 13:09:30 nexus3.edgexfoundry.org:10004 13:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:31 Configure a credential helper to remove this warning. See 13:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:31 13:09:31 Login Succeeded 13:09:31 docker.io 13:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:09:31 Configure a credential helper to remove this warning. See 13:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:09:31 13:09:31 Login Succeeded 13:09:31 ---> docker-login.sh ends [Pipeline] } 13:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:09:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:09:32 ========================================================= 13:09:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:09:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:09:32 + 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 . 13:09:33 Sending build context to Docker daemon 5.818MB 13:09:33 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:09:33 Step 2/13 : FROM ${BASE} AS builder 13:09:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:09:33 9b3977197b4f: Pulling fs layer 13:09:33 1a89e8eeedd5: Pulling fs layer 13:09:33 94645a83ff95: Pulling fs layer 13:09:33 3f3a8bcf1eab: Pulling fs layer 13:09:33 0c92f367c5e7: Pulling fs layer 13:09:33 3096ccb668a1: Pulling fs layer 13:09:33 e8cf19c19ddd: Pulling fs layer 13:09:33 a4caa8a26152: Pulling fs layer 13:09:33 0c92f367c5e7: Waiting 13:09:33 3096ccb668a1: Waiting 13:09:33 e8cf19c19ddd: Waiting 13:09:33 a4caa8a26152: Waiting 13:09:33 3f3a8bcf1eab: Waiting 13:09:33 94645a83ff95: Verifying Checksum 13:09:33 94645a83ff95: Download complete 13:09:33 1a89e8eeedd5: Verifying Checksum 13:09:33 1a89e8eeedd5: Download complete 13:09:33 0c92f367c5e7: Verifying Checksum 13:09:33 0c92f367c5e7: Download complete 13:09:33 3096ccb668a1: Verifying Checksum 13:09:33 3096ccb668a1: Download complete 13:09:33 9b3977197b4f: Download complete 13:09:33 e8cf19c19ddd: Verifying Checksum 13:09:33 e8cf19c19ddd: Download complete 13:09:33 9b3977197b4f: Pull complete 13:09:34 1a89e8eeedd5: Pull complete 13:09:35 94645a83ff95: Pull complete 13:09:35 a4caa8a26152: Verifying Checksum 13:09:35 a4caa8a26152: Download complete 13:09:36 3f3a8bcf1eab: Verifying Checksum 13:09:36 3f3a8bcf1eab: Download complete 13:09:48 3f3a8bcf1eab: Pull complete 13:09:48 0c92f367c5e7: Pull complete 13:09:48 3096ccb668a1: Pull complete 13:09:48 e8cf19c19ddd: Pull complete 13:09:55 a4caa8a26152: Pull complete 13:09:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:09:55 ---> 725f1c02e7f9 13:09:55 Step 3/13 : ARG MAKE="make build" 13:09:56 ---> Running in 572ba2d22dde 13:09:56 Removing intermediate container 572ba2d22dde 13:09:56 ---> 5a3c85347192 13:09:56 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:09:56 ---> Running in 9008a5be065b 13:09:56 Removing intermediate container 9008a5be065b 13:09:56 ---> b4d3fdb8932f 13:09:56 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 13:09:56 ---> Running in 8cc177544750 13:09:57 Removing intermediate container 8cc177544750 13:09:57 ---> c44a3d73bad3 13:09:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 13:09:57 ---> Running in 992eeb4423fe 13:09:57 Removing intermediate container 992eeb4423fe 13:09:57 ---> ae83269663e8 13:09:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:09:57 ---> Running in f044f2560f66 13:09:59 Removing intermediate container f044f2560f66 13:09:59 ---> b00318aac5e5 13:09:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:59 ---> Running in 42e0b3bae48f 13:10:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:10:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:10:02 OK: 220 MiB in 52 packages 13:10:03 Removing intermediate container 42e0b3bae48f 13:10:03 ---> a214192697c5 13:10:03 Step 9/13 : WORKDIR /device-onvif-camera 13:10:03 ---> Running in 608be3cf020a 13:10:03 Removing intermediate container 608be3cf020a 13:10:03 ---> cc00dcfdb93f 13:10:03 Step 10/13 : COPY go.mod vendor* ./ 13:10:04 ---> c14414fb7c3a 13:10:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:04 ---> Running in e8f0e074afeb 13:10:51 Removing intermediate container e8f0e074afeb 13:10:51 ---> 7ed97666f84c 13:10:51 Step 12/13 : COPY . . 13:10:51 ---> b7f7d2bbbf15 13:10:51 Step 13/13 : RUN ${MAKE} 13:10:51 ---> Running in 53413c76f5e2 13:10:51 noop 13:10:51 Removing intermediate container 53413c76f5e2 13:10:51 ---> e69acca31e13 13:10:51 Successfully built e69acca31e13 13:10:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:10:52 + docker inspect -f . ci-base-image-arm64 13:10:52 . [Pipeline] withDockerContainer 13:10:52 prd-ubuntu20.04-docker-arm64-4c-16g-64194 does not seem to be running inside a container 13:10:52 $ 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 13:10:53 $ docker top b738e9bd0596a537a78dd4681dfdcb4138017b8b589e6106b1b8dbd91c4c84c8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:54 + go version 13:10:54 go version go1.17.6 linux/arm64 [Pipeline] } 13:10:54 $ docker stop --time=1 b738e9bd0596a537a78dd4681dfdcb4138017b8b589e6106b1b8dbd91c4c84c8 13:10:56 $ docker rm -f b738e9bd0596a537a78dd4681dfdcb4138017b8b589e6106b1b8dbd91c4c84c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:10:57 + docker inspect -f . ci-base-image-arm64 13:10:57 . [Pipeline] withDockerContainer 13:10:57 prd-ubuntu20.04-docker-arm64-4c-16g-64194 does not seem to be running inside a container 13:10:57 $ 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 13:10:58 $ docker top 27da85994e2949fb655231488152f5cbf9b8f45b6273db580767e7b535270fce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:10:59 + make test 13:10:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:11:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:12:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:12:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.072s coverage: 1.0% of statements 13:12:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:12:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:12:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:12:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:12:50 ./bin/test-attribution-txt.sh [Pipeline] echo 13:12:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:12:53 $ docker stop --time=1 27da85994e2949fb655231488152f5cbf9b8f45b6273db580767e7b535270fce 13:12:54 $ docker rm -f 27da85994e2949fb655231488152f5cbf9b8f45b6273db580767e7b535270fce [Pipeline] // withDockerContainer [Pipeline] sh 13:12:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:12:55 Warning: overwriting stash ‘coverage-report’ 13:12:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:12:57 + ls -al . 13:12:57 total 212 13:12:57 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:12 . 13:12:57 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:09 .. 13:12:57 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:09 .git 13:12:57 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:09 .github 13:12:57 -rw-rw-r-- 1 jenkins jenkins 352 May 20 13:09 .gitignore 13:12:57 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:09 .golangci.yml 13:12:57 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 13:09 Attribution.txt 13:12:57 -rw-rw-r-- 1 jenkins jenkins 189 May 20 13:09 CHANGELOG.md 13:12:57 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 13:09 Dockerfile 13:12:57 -rw-rw-r-- 1 jenkins jenkins 677 May 20 13:09 GOVERNANCE.md 13:12:57 -rw-rw-r-- 1 jenkins jenkins 660 May 20 13:09 Jenkinsfile 13:12:57 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:09 LICENSE 13:12:57 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 13:09 Makefile 13:12:57 -rw-rw-r-- 1 jenkins jenkins 625 May 20 13:09 OWNERS.md 13:12:57 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 13:09 README.md 13:12:57 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:05 VERSION 13:12:57 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:09 bin 13:12:57 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:09 cmd 13:12:57 -rw-r--r-- 1 jenkins jenkins 37307 May 20 13:12 coverage.out 13:12:57 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:09 doc 13:12:57 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 13:09 go.mod 13:12:57 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 13:09 go.sum 13:12:57 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:09 internal 13:12:57 -rw-rw-r-- 1 jenkins jenkins 236 May 20 13:09 version.go [Pipeline] isUnix [Pipeline] sh 13:12:57 + 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=99e4fa65c00eec4a95619ae796b9ec4b51828628 --label arch=arm64 --label version=0.0.0 . 13:12:58 Sending build context to Docker daemon 5.856MB 13:12:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:12:58 Step 2/26 : FROM ${BASE} AS builder 13:12:58 ---> e69acca31e13 13:12:58 Step 3/26 : ARG MAKE="make build" 13:12:58 ---> Running in c7a2a8ad4b51 13:12:58 Removing intermediate container c7a2a8ad4b51 13:12:58 ---> b2450a70642a 13:12:58 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:12:58 ---> Running in 97c4d9f9cbe4 13:12:59 Removing intermediate container 97c4d9f9cbe4 13:12:59 ---> 343ca21e79a7 13:12:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 13:12:59 ---> Running in 3e53f52b6d9e 13:12:59 Removing intermediate container 3e53f52b6d9e 13:12:59 ---> f68d2b237f3b 13:12:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 13:12:59 ---> Running in 30e62f8f5d47 13:13:00 Removing intermediate container 30e62f8f5d47 13:13:00 ---> 2998ed3cbf8a 13:13:00 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:13:00 ---> Running in 8911ced74231 13:13:02 Removing intermediate container 8911ced74231 13:13:02 ---> a44b282927ad 13:13:02 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:13:02 ---> Running in 2eb09e4c964d 13:13:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:13:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:13:04 OK: 220 MiB in 52 packages 13:13:05 Removing intermediate container 2eb09e4c964d 13:13:05 ---> c4c81c4324cb 13:13:05 Step 9/26 : WORKDIR /device-onvif-camera 13:13:05 ---> Running in 495545f3f0e4 13:13:05 Removing intermediate container 495545f3f0e4 13:13:05 ---> 632fe8b2ca54 13:13:05 Step 10/26 : COPY go.mod vendor* ./ 13:13:06 ---> b6b758018ace 13:13:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:13:06 ---> Running in 4516e903f49a 13:13:08 Removing intermediate container 4516e903f49a 13:13:08 ---> a7e7a6083170 13:13:08 Step 12/26 : COPY . . 13:13:09 ---> 20da2fedf90d 13:13:09 Step 13/26 : RUN ${MAKE} 13:13:09 ---> Running in 84525b862f30 13:13:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 13:15:17 Removing intermediate container 84525b862f30 13:15:17 ---> d8e40957dcfa 13:15:17 Step 14/26 : FROM alpine:3.15 13:15:17 3.15: Pulling from library/alpine 13:15:17 9981e73032c8: Pulling fs layer 13:15:17 9981e73032c8: Verifying Checksum 13:15:17 9981e73032c8: Download complete 13:15:18 9981e73032c8: Pull complete 13:15:18 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:15:18 Status: Downloaded newer image for alpine:3.15 13:15:18 ---> 3fb3c9af89a9 13:15:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:15:18 ---> Running in 455e4fa12953 13:15:18 Removing intermediate container 455e4fa12953 13:15:18 ---> 8e118af8b6dd 13:15:18 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:15:18 ---> Running in 787c4005fdfe 13:15:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:15:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:15:21 (1/6) Installing dumb-init (1.2.5-r1) 13:15:21 (2/6) Installing libgcc (10.3.1_git20211027-r0) 13:15:21 (3/6) Installing libsodium (1.0.18-r0) 13:15:21 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 13:15:21 (5/6) Installing libzmq (4.3.4-r0) 13:15:21 (6/6) Installing zeromq (4.3.4-r0) 13:15:21 Executing busybox-1.34.1-r5.trigger 13:15:21 OK: 8 MiB in 20 packages 13:15:22 Removing intermediate container 787c4005fdfe 13:15:22 ---> 6aad574a78ee 13:15:22 Step 17/26 : WORKDIR / 13:15:22 ---> Running in d6315b91faae 13:15:22 Removing intermediate container d6315b91faae 13:15:22 ---> 9d1f01091371 13:15:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:15:23 ---> 8f7c0837b4bf 13:15:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:15:24 ---> 0f1252c8c43a 13:15:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:15:24 ---> fc66dc639588 13:15:24 Step 21/26 : EXPOSE 59984 13:15:24 ---> Running in e0b55c7eb883 13:15:25 Removing intermediate container e0b55c7eb883 13:15:25 ---> 1d9679c6a714 13:15:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:15:25 ---> Running in 171b437e2673 13:15:25 Removing intermediate container 171b437e2673 13:15:25 ---> d0351c662754 13:15:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:15:25 ---> Running in 1c259ba2b114 13:15:25 Removing intermediate container 1c259ba2b114 13:15:25 ---> 417ed4b7199e 13:15:25 Step 24/26 : LABEL arch=arm64 13:15:26 ---> Running in 2a8fff9ad2e3 13:15:26 Removing intermediate container 2a8fff9ad2e3 13:15:26 ---> c09df3902d32 13:15:26 Step 25/26 : LABEL git_sha=99e4fa65c00eec4a95619ae796b9ec4b51828628 13:15:26 ---> Running in b44162b98ad9 13:15:26 Removing intermediate container b44162b98ad9 13:15:26 ---> 781ebd9015cd 13:15:26 Step 26/26 : LABEL version=0.0.0 13:15:26 ---> Running in 60aa1fa45115 13:15:26 Removing intermediate container 60aa1fa45115 13:15:26 ---> 398b9c10e1fa 13:15:26 [Warning] One or more build-args [ARCH] were not consumed 13:15:27 Successfully built 398b9c10e1fa 13:15:27 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 13:15:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:27 13:15:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:28 arm64: Pulling from edgex-lftools-log-publisher 13:15:28 8998bd30e6a1: Pulling fs layer 13:15:28 04944245beec: Pulling fs layer 13:15:28 699f458cf7ca: Pulling fs layer 13:15:28 765212b225bb: Pulling fs layer 13:15:28 f23df028b6ca: Pulling fs layer 13:15:28 d65c8cfc05b1: Pulling fs layer 13:15:28 2437ff75d9bd: Pulling fs layer 13:15:28 765212b225bb: Waiting 13:15:28 f23df028b6ca: Waiting 13:15:28 d65c8cfc05b1: Waiting 13:15:28 2437ff75d9bd: Waiting 13:15:28 04944245beec: Verifying Checksum 13:15:28 04944245beec: Download complete 13:15:28 765212b225bb: Verifying Checksum 13:15:28 765212b225bb: Download complete 13:15:28 f23df028b6ca: Verifying Checksum 13:15:28 f23df028b6ca: Download complete 13:15:28 d65c8cfc05b1: Download complete 13:15:28 699f458cf7ca: Verifying Checksum 13:15:28 699f458cf7ca: Download complete 13:15:29 8998bd30e6a1: Verifying Checksum 13:15:31 2437ff75d9bd: Verifying Checksum 13:15:31 2437ff75d9bd: Download complete 13:15:33 8998bd30e6a1: Pull complete 13:15:33 04944245beec: Pull complete 13:15:35 699f458cf7ca: Pull complete 13:15:35 765212b225bb: Pull complete 13:15:36 f23df028b6ca: Pull complete 13:15:36 d65c8cfc05b1: Pull complete 13:15:51 2437ff75d9bd: Pull complete 13:15:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:15:51 prd-ubuntu20.04-docker-arm64-4c-16g-64194 does not seem to be running inside a container 13:15:52 $ 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 13:15:54 $ docker top eff7791058b97b851ea4281ddf9ac858340d30c4b273f54dd0503cd5290a5565 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:55 ---> job-cost.sh 13:15:55 lf-activate-venv: SKIPPING 13:15:55 INFO: No Stack... 13:15:56 INFO: Retrieving Pricing Info for: v3-standard-4 13:15:57 INFO: Archiving Costs [Pipeline] sh 13:15:58 + cut -d, -f6 13:15:58 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 13:15:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] 13:15:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] did not exist. Created. 13:15:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:58 /w/workspace/device-onvif-camera/1@tmp/durable-fe505843/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:15:59 + echo total: 0.10999999940395355 [Pipeline] stash 13:15:59 Warning: overwriting stash ‘stack-cost’ 13:15:59 Stashed 1 file(s) [Pipeline] } 13:15:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-68-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:59 $ docker stop --time=1 eff7791058b97b851ea4281ddf9ac858340d30c4b273f54dd0503cd5290a5565 13:16:01 $ docker rm -f eff7791058b97b851ea4281ddf9ac858340d30c4b273f54dd0503cd5290a5565 [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 13:16:02 provisioning config files... 13:16:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-68@tmp/config8172592524114320623tmp [Pipeline] { [Pipeline] sh 13:16:02 + set +x 13:16:02 + curl -s https://codecov.io/bash 13:16:02 + bash -s -- 13:16:02 13:16:02 _____ _ 13:16:02 / ____| | | 13:16:02 | | ___ __| | ___ ___ _____ __ 13:16:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:16:02 | |___| (_) | (_| | __/ (_| (_) \ V / 13:16:02 \_____\___/ \__,_|\___|\___\___/ \_/ 13:16:02 Bash-1.0.6 13:16:02 13:16:02 13:16:02 ==> git version 2.25.1 found 13:16:02 ==> 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 13:16:02 Release-Date: 2020-01-08 13:16:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:16:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:16:02 ==> Jenkins CI detected. 13:16:02 current dir:  /w/workspace/oundry_device-onvif-camera_PR-68 13:16:02 project root: . 13:16:02 --> token set from env 13:16:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:16:02 ==> Running gcov in . (disable via -X gcov) 13:16:02 ==> Python coveragepy not found 13:16:02 ==> Searching for coverage reports in: 13:16:02 + . 13:16:02 -> Found 1 reports 13:16:02 ==> Detecting git/mercurial file structure 13:16:02 ==> Reading reports 13:16:02 + ./coverage.out bytes=37307 13:16:02 ==> Appending adjustments 13:16:02 https://docs.codecov.io/docs/fixing-reports 13:16:03 + Found adjustments 13:16:03 ==> Gzipping contents 13:16:03 8.0K /tmp/codecov.i4v3CM.gz 13:16:03 ==> Uploading reports 13:16:03 url: https://codecov.io 13:16:03 query: branch=PR-68&commit=99e4fa65c00eec4a95619ae796b9ec4b51828628&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=68&job=&cmd_args= 13:16:03 -> Pinging Codecov 13:16:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-68&commit=99e4fa65c00eec4a95619ae796b9ec4b51828628&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=68&job=&cmd_args= 13:16:03 -> Uploading to 13:16:03 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/F29A59C45E3A92E06B3E522C9905F8EF/99e4fa65c00eec4a95619ae796b9ec4b51828628/0efbc09b-8070-498a-bc71-01ac127306e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T131603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d730d4e95f694b701218a154562bbf0c65ecf41df0c71e82d677ff1f5ae4415 13:16:03 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:03 Dload Upload Total Spent Left Speed 13:16:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4611 0 0 100 4611 0 16767 --:--:-- --:--:-- --:--:-- 16767 13:16:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/99e4fa65c00eec4a95619ae796b9ec4b51828628 [Pipeline] } 13:16:03 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 13:16:05 + [ -d /w/workspace/oundry_device-onvif-camera_PR-68/archives ] 13:16:05 + ls -al /w/workspace/oundry_device-onvif-camera_PR-68/archives 13:16:05 total 16 13:16:05 drwxr-xr-x 3 root root 4096 May 20 13:06 . 13:16:05 drwxrwxr-x 10 jenkins jenkins 4096 May 20 13:06 .. 13:16:05 drwxr-xr-x 2 root root 4096 May 20 13:06 cost 13:16:05 -rw-r--r-- 1 root root 89 May 20 13:06 cost.csv 13:16:05 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-68/archives 13:16:05 + ls -al /w/workspace/oundry_device-onvif-camera_PR-68/archives 13:16:05 total 16 13:16:05 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:06 . 13:16:05 drwxrwxr-x 10 jenkins jenkins 4096 May 20 13:06 .. 13:16:05 drwxr-xr-x 2 jenkins jenkins 4096 May 20 13:06 cost 13:16:05 -rw-r--r-- 1 jenkins jenkins 89 May 20 13:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:16:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:16:06 ---> package-listing.sh 13:16:06 ++ facter osfamily 13:16:06 ++ tr '[:upper:]' '[:lower:]' 13:16:06 + OS_FAMILY=debian 13:16:06 + workspace=/w/workspace/oundry_device-onvif-camera_PR-68 13:16:06 + START_PACKAGES=/tmp/packages_start.txt 13:16:06 + END_PACKAGES=/tmp/packages_end.txt 13:16:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:16:06 + PACKAGES=/tmp/packages_start.txt 13:16:06 + '[' /w/workspace/oundry_device-onvif-camera_PR-68 ']' 13:16:06 + PACKAGES=/tmp/packages_end.txt 13:16:06 + case "${OS_FAMILY}" in 13:16:06 + dpkg -l 13:16:06 + grep '^ii' 13:16:06 + '[' -f /tmp/packages_start.txt ']' 13:16:06 + '[' -f /tmp/packages_end.txt ']' 13:16:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:16:06 + '[' /w/workspace/oundry_device-onvif-camera_PR-68 ']' 13:16:06 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-68/archives/ 13:16:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-68/archives/ [Pipeline] echo 13:16:06 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:16:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:16:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:07 . [Pipeline] withDockerContainer 13:16:07 prd-ubuntu20.04-docker-8c-8g-64193 does not seem to be running inside a container 13:16:07 $ 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-68/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-68 -v /w/workspace/oundry_device-onvif-camera_PR-68:/w/workspace/oundry_device-onvif-camera_PR-68:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-68@tmp:/w/workspace/oundry_device-onvif-camera_PR-68@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 13:16:08 $ docker top 32f6f343470f3eaa7d63229875db3bdf8ab1e6468ab0ece1aa28920a6c5f2f6a -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:08 + touch /tmp/pre-build-complete [Pipeline] sh 13:16:08 + mkdir -p /var/log/sysstat [Pipeline] sh 13:16:09 + ls /var/log/sa-host 13:16:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:09 provisioning config files... 13:16:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-68@tmp/config7613354692469490132tmp [Pipeline] { [Pipeline] echo 13:16:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:16:09 ---> create-netrc.sh [Pipeline] } 13:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:16:10 ---> python-tools-install.sh [Pipeline] echo 13:16:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:16:10 ---> sudo-logs.sh 13:16:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:16:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:16:10 ---> job-cost.sh 13:16:10 lf-activate-venv: SKIPPING 13:16:10 DEBUG: total: 0.2199999988079071 13:16:10 INFO: Retrieving Stack Cost... 13:16:11 INFO: Retrieving Pricing Info for: v3-standard-8 13:16:11 INFO: Archiving Costs [Pipeline] echo 13:16:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:16:12 ---> logs-deploy.sh 13:16:12 lf-activate-venv: SKIPPING 13:16:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-68/1 13:16:12 INFO: archiving workspace using pattern(s): 13:16:13 Archives upload complete. 13:16:13 INFO: archiving logs to Nexus