Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1bc60fbd6192062c31ba9592c35aea52e7a2b34f+8ea3952a55c07e239dd75554aa3eccbc97544666 (e30326fa93dec2c97e1aa0e4ef40f376a3bf7bee) 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-ssh17362084084777869370.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-ssh608848241677296772.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6460633800279897434.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 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-ssh9282432627232917452.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8736230465563890211.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64254 in /w/workspace/oundry_device-onvif-camera_PR-64 [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-64 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 1bc60fbd6192062c31ba9592c35aea52e7a2b34f Merge succeeded, producing 5a32146ff92cdaab2e3503a7dac6fc402cc14659 Checking out Revision 5a32146ff92cdaab2e3503a7dac6fc402cc14659 (PR-64) > 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/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bc60fbd6192062c31ba9592c35aea52e7a2b34f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a32146ff92cdaab2e3503a7dac6fc402cc14659 # timeout=10 Commit message: "Merge commit '8ea3952a55c07e239dd75554aa3eccbc97544666' into HEAD" > git rev-list --no-walk 1bc60fbd6192062c31ba9592c35aea52e7a2b34f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:20 ========================================================= 06:10:20 EdgeX Global Pipelines Version Info 06:10:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:21 ------------------- 06:10:21 stable info: 06:10:21 ------------------- 06:10:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:10:21 Message: update stable to v1.0.230 06:10:22 ------------------- 06:10:22 experimental info: 06:10:22 ------------------- 06:10:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:10:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a32146ff92cdaab2e3503a7dac6fc402cc14659 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a32146 [Pipeline] echo 06:10:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:22 provisioning config files... 06:10:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config7402745704540356441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:23 ---> docker-login.sh 06:10:23 nexus3.edgexfoundry.org:10001 06:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 nexus3.edgexfoundry.org:10002 06:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 nexus3.edgexfoundry.org:10003 06:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 nexus3.edgexfoundry.org:10004 06:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 docker.io 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 ---> docker-login.sh ends [Pipeline] } 06:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:24 + git rev-list -1 --merges 5a32146ff92cdaab2e3503a7dac6fc402cc14659~1..5a32146ff92cdaab2e3503a7dac6fc402cc14659 [Pipeline] echo 06:10:24 -----------> git rev-list -1 --merges 5a32146ff92cdaab2e3503a7dac6fc402cc14659~1..5a32146ff92cdaab2e3503a7dac6fc402cc14659 5a32146ff92cdaab2e3503a7dac6fc402cc14659 06:10:24 5a32146ff92cdaab2e3503a7dac6fc402cc14659 [false] [Pipeline] sh 06:10:25 + git log --format=format:%s -1 5a32146ff92cdaab2e3503a7dac6fc402cc14659 [Pipeline] echo 06:10:25 ========================================================= 06:10:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:25 + git log --format=format:%s -1 5a32146ff92cdaab2e3503a7dac6fc402cc14659 [Pipeline] echo 06:10:25 [semverPrep] GIT_COMMIT: 5a32146ff92cdaab2e3503a7dac6fc402cc14659, Commit Message: Merge commit '8ea3952a55c07e239dd75554aa3eccbc97544666' into HEAD [Pipeline] echo 06:10:25 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:26 + grep -v github /etc/ssh/ssh_known_hosts 06:10:26 + [ -e /tmp/ssh_known_hosts ] 06:10:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:10:26 + sudo tee -a /etc/ssh/ssh_known_hosts 06:10:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:10:26 06:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:10:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:10:26 latest: Pulling from edgex-devops/py-git-semver 06:10:26 1fe172e4850f: Pulling fs layer 06:10:26 caf521ccaac6: Pulling fs layer 06:10:26 3ead6fa29328: Pulling fs layer 06:10:26 5c2a1cbceb83: Pulling fs layer 06:10:26 a8d5f1318db7: Pulling fs layer 06:10:26 5c2a1cbceb83: Waiting 06:10:26 c427282e49a2: Pulling fs layer 06:10:26 a8d5f1318db7: Waiting 06:10:26 c427282e49a2: Waiting 06:10:26 1827001aaf11: Pulling fs layer 06:10:26 0714d37db230: Pulling fs layer 06:10:26 ac28cf19c067: Pulling fs layer 06:10:26 ca983d60f3e2: Pulling fs layer 06:10:26 9f894cec8388: Pulling fs layer 06:10:26 1827001aaf11: Waiting 06:10:26 0714d37db230: Waiting 06:10:26 ca983d60f3e2: Waiting 06:10:26 9f894cec8388: Waiting 06:10:26 caf521ccaac6: Verifying Checksum 06:10:26 caf521ccaac6: Download complete 06:10:26 5c2a1cbceb83: Verifying Checksum 06:10:26 5c2a1cbceb83: Download complete 06:10:26 a8d5f1318db7: Verifying Checksum 06:10:26 a8d5f1318db7: Download complete 06:10:27 3ead6fa29328: Verifying Checksum 06:10:27 3ead6fa29328: Download complete 06:10:27 c427282e49a2: Download complete 06:10:27 0714d37db230: Verifying Checksum 06:10:27 0714d37db230: Download complete 06:10:27 ac28cf19c067: Verifying Checksum 06:10:27 ac28cf19c067: Download complete 06:10:27 ca983d60f3e2: Download complete 06:10:27 9f894cec8388: Verifying Checksum 06:10:27 9f894cec8388: Download complete 06:10:27 1fe172e4850f: Download complete 06:10:27 1827001aaf11: Verifying Checksum 06:10:27 1827001aaf11: Download complete 06:10:28 1fe172e4850f: Pull complete 06:10:28 caf521ccaac6: Pull complete 06:10:28 3ead6fa29328: Pull complete 06:10:29 5c2a1cbceb83: Pull complete 06:10:29 a8d5f1318db7: Pull complete 06:10:29 c427282e49a2: Pull complete 06:10:32 1827001aaf11: Pull complete 06:10:32 0714d37db230: Pull complete 06:10:32 ac28cf19c067: Pull complete 06:10:32 ca983d60f3e2: Pull complete 06:10:32 9f894cec8388: Pull complete 06:10:32 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:10:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:10:32 prd-ubuntu20.04-docker-8c-8g-64254 does not seem to be running inside a container 06:10:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:10:33 $ docker top 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 -eo pid,comm 06:10:33 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). 06:10:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:33 [ssh-agent] Looking for ssh-agent implementation... 06:10:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:33 $ docker exec 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 ssh-agent 06:10:33 SSH_AUTH_SOCK=/tmp/ssh-P4vMnLtsE1ms/agent.32 06:10:33 SSH_AGENT_PID=38 06:10:33 Running ssh-add (command line suppressed) 06:10:33 Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4792457150730368637.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4792457150730368637.key) 06:10:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:34 + git tag --points-at HEAD [Pipeline] } 06:10:34 $ docker exec --env ******** --env ******** 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 ssh-agent -k 06:10:34 unset SSH_AUTH_SOCK; 06:10:34 unset SSH_AGENT_PID; 06:10:34 echo Agent pid 38 killed; 06:10:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:34 [ssh-agent] Looking for ssh-agent implementation... 06:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:34 $ docker exec 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 ssh-agent 06:10:34 SSH_AUTH_SOCK=/tmp/ssh-59VfiRm7tnML/agent.71 06:10:34 SSH_AGENT_PID=77 06:10:34 Running ssh-add (command line suppressed) 06:10:34 Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4491267034331848761.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4491267034331848761.key) 06:10:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:35 + git semver init 06:10:35 2022-05-21 06:10:35,355 [run_init] DEBUG init version:0.0.0 force:False 06:10:35 2022-05-21 06:10:35,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-64/.semver 06:10:35 2022-05-21 06:10:35,356 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-64/.semver 06:10:35 2022-05-21 06:10:35,356 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-64/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64, universal_newlines=False, shell=None, istream=None) 06:10:36 2022-05-21 06:10:36,006 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-64/.git/info/exclude 06:10:36 2022-05-21 06:10:36,007 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 with force:False 06:10:36 2022-05-21 06:10:36,007 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 06:10:36 2022-05-21 06:10:36,010 [execute] INFO git cat-file --batch-check 06:10:36 2022-05-21 06:10:36,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) 06:10:36 2022-05-21 06:10:36,018 [execute] INFO git cat-file --batch 06:10:36 2022-05-21 06:10:36,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) 06:10:36 2022-05-21 06:10:36,024 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 06:10:36 0.0.0 [Pipeline] } 06:10:36 $ docker exec --env ******** --env ******** 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 ssh-agent -k 06:10:36 unset SSH_AUTH_SOCK; 06:10:36 unset SSH_AGENT_PID; 06:10:36 echo Agent pid 77 killed; 06:10:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:36 + git semver [Pipeline] } 06:10:37 $ docker stop --time=1 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 06:10:38 $ docker rm -f 1c949ca4ca6f4c942728f306a5beecafa2805446d34411c9d6963759035ce4d5 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:39 Stashed 1 file(s) [Pipeline] echo 06:10:39 [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 06:10:39 provisioning config files... 06:10:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config6065541659830755727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:39 ---> docker-login.sh 06:10:39 nexus3.edgexfoundry.org:10001 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10002 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10003 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10004 06:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:40 Configure a credential helper to remove this warning. See 06:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:40 06:10:40 Login Succeeded 06:10:40 docker.io 06:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:40 Configure a credential helper to remove this warning. See 06:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:40 06:10:40 Login Succeeded 06:10:40 ---> docker-login.sh ends [Pipeline] } 06:10:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:40 ========================================================= 06:10:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:10:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:10:40 + 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 . 06:10:40 Sending build context to Docker daemon 8.837MB 06:10:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 06:10:40 Step 2/13 : FROM ${BASE} AS builder 06:10:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:40 59bf1c3509f3: Pulling fs layer 06:10:40 666ba61612fd: Pulling fs layer 06:10:40 8ed8ca486205: Pulling fs layer 06:10:40 4fe6c5a15a65: Pulling fs layer 06:10:40 22a0e8bec74d: Pulling fs layer 06:10:40 ca2b28591e48: Pulling fs layer 06:10:40 a51346096db8: Pulling fs layer 06:10:40 daebc70d1ce1: Pulling fs layer 06:10:40 0e18a0eac166: Pulling fs layer 06:10:40 4fe6c5a15a65: Waiting 06:10:40 22a0e8bec74d: Waiting 06:10:40 ca2b28591e48: Waiting 06:10:40 a51346096db8: Waiting 06:10:40 0e18a0eac166: Waiting 06:10:40 daebc70d1ce1: Waiting 06:10:40 8ed8ca486205: Verifying Checksum 06:10:40 8ed8ca486205: Download complete 06:10:40 666ba61612fd: Download complete 06:10:40 22a0e8bec74d: Verifying Checksum 06:10:40 22a0e8bec74d: Download complete 06:10:40 ca2b28591e48: Download complete 06:10:40 59bf1c3509f3: Verifying Checksum 06:10:40 59bf1c3509f3: Download complete 06:10:40 a51346096db8: Download complete 06:10:40 daebc70d1ce1: Verifying Checksum 06:10:40 daebc70d1ce1: Download complete 06:10:40 59bf1c3509f3: Pull complete 06:10:41 666ba61612fd: Pull complete 06:10:41 8ed8ca486205: Pull complete 06:10:41 0e18a0eac166: Verifying Checksum 06:10:41 0e18a0eac166: Download complete 06:10:41 4fe6c5a15a65: Download complete 06:10:46 4fe6c5a15a65: Pull complete 06:10:46 22a0e8bec74d: Pull complete 06:10:46 ca2b28591e48: Pull complete 06:10:46 a51346096db8: Pull complete 06:10:46 daebc70d1ce1: Pull complete 06:10:48 0e18a0eac166: Pull complete 06:10:48 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:10:48 ---> f018257e8ee9 06:10:48 Step 3/13 : ARG MAKE="make build" 06:10:49 ---> Running in 00a655ed216a 06:10:49 Removing intermediate container 00a655ed216a 06:10:49 ---> 06ff76dc6de1 06:10:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:10:49 ---> Running in 74442215a5fe 06:10:50 Removing intermediate container 74442215a5fe 06:10:50 ---> 0b3e1bb5ffa3 06:10:50 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 06:10:50 ---> Running in 56053a123c4a 06:10:50 Removing intermediate container 56053a123c4a 06:10:50 ---> ebb2dd377030 06:10:50 Step 6/13 : LABEL Name=edgex-device-onvif-camera 06:10:50 ---> Running in 4510bbf9ff15 06:10:50 Removing intermediate container 4510bbf9ff15 06:10:50 ---> 8ede58a28c2b 06:10:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:50 ---> Running in 09e33fadc6ec 06:10:51 Removing intermediate container 09e33fadc6ec 06:10:51 ---> b787dad1a3c7 06:10:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:51 ---> Running in 5bbcb045ba2f 06:10:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:10:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:10:52 OK: 221 MiB in 52 packages 06:10:52 Removing intermediate container 5bbcb045ba2f 06:10:52 ---> f0f17306f6a6 06:10:52 Step 9/13 : WORKDIR /device-onvif-camera 06:10:53 ---> Running in 2f4285db5a71 06:10:53 Removing intermediate container 2f4285db5a71 06:10:53 ---> e96ddfc1dfcb 06:10:53 Step 10/13 : COPY go.mod vendor* ./ 06:10:53 ---> 33521c679d2e 06:10:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:53 ---> Running in c49376035385 06:10:54 Still waiting to schedule task 06:10:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:11:15 Removing intermediate container c49376035385 06:11:15 ---> 9ef321465a73 06:11:15 Step 12/13 : COPY . . 06:11:15 ---> 90d21b1240f9 06:11:15 Step 13/13 : RUN ${MAKE} 06:11:15 ---> Running in db4f153610bd 06:11:15 noop 06:11:15 Removing intermediate container db4f153610bd 06:11:15 ---> aff4b4d8ddf6 06:11:15 Successfully built aff4b4d8ddf6 06:11:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:11:15 + docker inspect -f . ci-base-image-x86_64 06:11:15 . [Pipeline] withDockerContainer 06:11:15 prd-ubuntu20.04-docker-8c-8g-64254 does not seem to be running inside a container 06:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:16 $ docker top 0dfb7e5a2bf9b8382a5e1c0a45ee313a1876cfc80c3c01801d3664ddaff236be -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:16 + go version 06:11:16 go version go1.17.6 linux/amd64 [Pipeline] } 06:11:16 $ docker stop --time=1 0dfb7e5a2bf9b8382a5e1c0a45ee313a1876cfc80c3c01801d3664ddaff236be 06:11:17 $ docker rm -f 0dfb7e5a2bf9b8382a5e1c0a45ee313a1876cfc80c3c01801d3664ddaff236be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:11:18 + docker inspect -f . ci-base-image-x86_64 06:11:18 . [Pipeline] withDockerContainer 06:11:18 prd-ubuntu20.04-docker-8c-8g-64254 does not seem to be running inside a container 06:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:18 $ docker top 9d7232230f83c6ee8fcf558088764fe0566c2f459db7494f492766926232f5f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:11:19 + make test 06:11:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:11:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:11:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:11:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.0% of statements 06:11:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:42 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:43 $ docker stop --time=1 9d7232230f83c6ee8fcf558088764fe0566c2f459db7494f492766926232f5f9 06:11:45 $ docker rm -f 9d7232230f83c6ee8fcf558088764fe0566c2f459db7494f492766926232f5f9 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:46 + ls -al . 06:11:46 total 216 06:11:46 drwxrwxr-x 9 jenkins jenkins 4096 May 21 06:11 . 06:11:46 drwxrwxr-x 4 jenkins jenkins 4096 May 21 06:10 .. 06:11:46 drwxrwxr-x 8 jenkins jenkins 4096 May 21 06:10 .git 06:11:46 drwxrwxr-x 2 jenkins jenkins 4096 May 21 06:10 .github 06:11:46 -rw-rw-r-- 1 jenkins jenkins 352 May 21 06:10 .gitignore 06:11:46 -rw-rw-r-- 1 jenkins jenkins 42 May 21 06:10 .golangci.yml 06:11:46 drwxr-xr-x 3 jenkins jenkins 4096 May 21 06:10 .semver 06:11:46 -rw-rw-r-- 1 jenkins jenkins 9099 May 21 06:10 Attribution.txt 06:11:46 -rw-rw-r-- 1 jenkins jenkins 189 May 21 06:10 CHANGELOG.md 06:11:46 -rw-rw-r-- 1 jenkins jenkins 1667 May 21 06:10 Dockerfile 06:11:46 -rw-rw-r-- 1 jenkins jenkins 677 May 21 06:10 GOVERNANCE.md 06:11:46 -rw-rw-r-- 1 jenkins jenkins 660 May 21 06:10 Jenkinsfile 06:11:46 -rw-rw-r-- 1 jenkins jenkins 11348 May 21 06:10 LICENSE 06:11:46 -rw-rw-r-- 1 jenkins jenkins 2161 May 21 06:10 Makefile 06:11:46 -rw-rw-r-- 1 jenkins jenkins 625 May 21 06:10 OWNERS.md 06:11:46 -rw-rw-r-- 1 jenkins jenkins 29025 May 21 06:10 README.md 06:11:46 -rw-rw-r-- 1 jenkins jenkins 5 May 21 06:10 VERSION 06:11:46 drwxrwxr-x 2 jenkins jenkins 4096 May 21 06:10 bin 06:11:46 drwxrwxr-x 3 jenkins jenkins 4096 May 21 06:10 cmd 06:11:46 -rw-r--r-- 1 jenkins jenkins 37307 May 21 06:11 coverage.out 06:11:46 drwxrwxr-x 5 jenkins jenkins 4096 May 21 06:10 doc 06:11:46 -rw-rw-r-- 1 jenkins jenkins 3546 May 21 06:10 go.mod 06:11:46 -rw-rw-r-- 1 jenkins jenkins 37264 May 21 06:10 go.sum 06:11:46 drwxrwxr-x 3 jenkins jenkins 4096 May 21 06:10 internal 06:11:46 -rw-rw-r-- 1 jenkins jenkins 236 May 21 06:10 version.go [Pipeline] isUnix [Pipeline] sh 06:11:47 + 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=5a32146ff92cdaab2e3503a7dac6fc402cc14659 --label arch=amd64 --label version=0.0.0 . 06:11:47 Sending build context to Docker daemon 8.875MB 06:11:47 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:11:47 Step 2/26 : FROM ${BASE} AS builder 06:11:47 ---> aff4b4d8ddf6 06:11:47 Step 3/26 : ARG MAKE="make build" 06:11:47 ---> Running in 9334c3c254c2 06:11:47 Removing intermediate container 9334c3c254c2 06:11:47 ---> 256bc08ecf5e 06:11:47 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:11:47 ---> Running in 34d3d346a96c 06:11:47 Removing intermediate container 34d3d346a96c 06:11:47 ---> 28089e62c2cf 06:11:47 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:11:47 ---> Running in 94e7e85fa99e 06:11:47 Removing intermediate container 94e7e85fa99e 06:11:47 ---> 6135ae122d39 06:11:47 Step 6/26 : LABEL Name=edgex-device-onvif-camera 06:11:47 ---> Running in 357b3f135bc6 06:11:47 Removing intermediate container 357b3f135bc6 06:11:47 ---> c0cd12b4b6ef 06:11:47 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:47 ---> Running in ca746e22ead6 06:11:48 Removing intermediate container ca746e22ead6 06:11:48 ---> 4a463fa6f7c0 06:11:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:48 ---> Running in 10fcd2cd7aa3 06:11:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:11:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:11:49 OK: 221 MiB in 52 packages 06:11:50 Removing intermediate container 10fcd2cd7aa3 06:11:50 ---> ba593f22a0e8 06:11:50 Step 9/26 : WORKDIR /device-onvif-camera 06:11:50 ---> Running in 155c657b7719 06:11:50 Removing intermediate container 155c657b7719 06:11:50 ---> 214d4f65084b 06:11:50 Step 10/26 : COPY go.mod vendor* ./ 06:11:50 ---> 09153e72bfd8 06:11:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:50 ---> Running in dd78fd4d5832 06:11:51 Removing intermediate container dd78fd4d5832 06:11:51 ---> 9a997b4b86ea 06:11:51 Step 12/26 : COPY . . 06:11:51 ---> 865ac92e080f 06:11:51 Step 13/26 : RUN ${MAKE} 06:11:51 ---> Running in e2441f52038c 06:11:51 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 06:12:13 Removing intermediate container e2441f52038c 06:12:13 ---> cf6d2d2082fb 06:12:13 Step 14/26 : FROM alpine:3.15 06:12:13 3.15: Pulling from library/alpine 06:12:13 df9b9388f04a: Pulling fs layer 06:12:13 df9b9388f04a: Verifying Checksum 06:12:13 df9b9388f04a: Download complete 06:12:13 df9b9388f04a: Pull complete 06:12:13 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:12:13 Status: Downloaded newer image for alpine:3.15 06:12:13 ---> 0ac33e5f5afa 06:12:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:12:13 ---> Running in 61de3a954c55 06:12:13 Removing intermediate container 61de3a954c55 06:12:13 ---> 8c2b4321f3e1 06:12:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:12:13 ---> Running in bb9196c9b77c 06:12:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:12:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:12:14 (1/6) Installing dumb-init (1.2.5-r1) 06:12:14 (2/6) Installing libgcc (10.3.1_git20211027-r0) 06:12:14 (3/6) Installing libsodium (1.0.18-r0) 06:12:14 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 06:12:14 (5/6) Installing libzmq (4.3.4-r0) 06:12:14 (6/6) Installing zeromq (4.3.4-r0) 06:12:14 Executing busybox-1.34.1-r5.trigger 06:12:14 OK: 8 MiB in 20 packages 06:12:14 Removing intermediate container bb9196c9b77c 06:12:14 ---> 78135fef4f17 06:12:14 Step 17/26 : WORKDIR / 06:12:14 ---> Running in 9070c801e0d6 06:12:14 Removing intermediate container 9070c801e0d6 06:12:14 ---> 9b2b42c1134b 06:12:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:12:15 ---> 81834d71387d 06:12:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:12:15 ---> 9688360de471 06:12:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:12:15 ---> b1748be58bdc 06:12:15 Step 21/26 : EXPOSE 59984 06:12:15 ---> Running in 7d7f4d076afd 06:12:15 Removing intermediate container 7d7f4d076afd 06:12:15 ---> 58f9fdbeda29 06:12:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:12:15 ---> Running in 179c46219296 06:12:16 Removing intermediate container 179c46219296 06:12:16 ---> 28eeb418ecad 06:12:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:12:16 ---> Running in 99e13e1664ef 06:12:16 Removing intermediate container 99e13e1664ef 06:12:16 ---> a5358bf096b9 06:12:16 Step 24/26 : LABEL arch=amd64 06:12:16 ---> Running in be15fd1b63e4 06:12:16 Removing intermediate container be15fd1b63e4 06:12:16 ---> 8e46552e9bbb 06:12:16 Step 25/26 : LABEL git_sha=5a32146ff92cdaab2e3503a7dac6fc402cc14659 06:12:16 ---> Running in e568d83bc27c 06:12:16 Removing intermediate container e568d83bc27c 06:12:16 ---> 210406b8b039 06:12:16 Step 26/26 : LABEL version=0.0.0 06:12:16 ---> Running in 82ed2bcb76b9 06:12:16 Removing intermediate container 82ed2bcb76b9 06:12:16 ---> 8b0818d5d8b4 06:12:16 [Warning] One or more build-args [ARCH] were not consumed 06:12:16 Successfully built 8b0818d5d8b4 06:12:16 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 06:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:17 06:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:17 latest: Pulling from edgex-lftools-log-publisher 06:12:17 5eb5b503b376: Pulling fs layer 06:12:17 5c69ac0246d0: Pulling fs layer 06:12:17 ec43610c2a17: Pulling fs layer 06:12:17 3a2ae6a8a46f: Pulling fs layer 06:12:17 33b1e0a273af: Pulling fs layer 06:12:17 5d3b04190fa2: Pulling fs layer 06:12:17 2f39f015ded8: Pulling fs layer 06:12:17 3a2ae6a8a46f: Waiting 06:12:17 33b1e0a273af: Waiting 06:12:17 5d3b04190fa2: Waiting 06:12:17 5c69ac0246d0: Download complete 06:12:17 3a2ae6a8a46f: Verifying Checksum 06:12:17 3a2ae6a8a46f: Download complete 06:12:17 33b1e0a273af: Verifying Checksum 06:12:17 33b1e0a273af: Download complete 06:12:17 5d3b04190fa2: Verifying Checksum 06:12:17 5d3b04190fa2: Download complete 06:12:17 ec43610c2a17: Verifying Checksum 06:12:17 ec43610c2a17: Download complete 06:12:17 5eb5b503b376: Verifying Checksum 06:12:17 5eb5b503b376: Download complete 06:12:18 2f39f015ded8: Download complete 06:12:18 5eb5b503b376: Pull complete 06:12:18 5c69ac0246d0: Pull complete 06:12:19 ec43610c2a17: Pull complete 06:12:19 3a2ae6a8a46f: Pull complete 06:12:19 33b1e0a273af: Pull complete 06:12:19 5d3b04190fa2: Pull complete 06:12:24 2f39f015ded8: Pull complete 06:12:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:12:24 prd-ubuntu20.04-docker-8c-8g-64254 does not seem to be running inside a container 06:12:24 $ 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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:25 $ docker top 7d79f730924436fd154c24204a39b9a31134515b61e37ca9a1ad00ad75550c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:26 ---> job-cost.sh 06:12:26 lf-activate-venv: SKIPPING 06:12:26 INFO: No Stack... 06:12:26 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:27 INFO: Archiving Costs [Pipeline] sh 06:12:27 + cut -d, -f6 06:12:27 + cat /w/workspace/oundry_device-onvif-camera_PR-64/archives/cost.csv [Pipeline] lock 06:12:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] 06:12:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] did not exist. Created. 06:12:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:28 + echo total: 0.2199999988079071 [Pipeline] stash 06:12:28 Stashed 1 file(s) [Pipeline] } 06:12:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:28 $ docker stop --time=1 7d79f730924436fd154c24204a39b9a31134515b61e37ca9a1ad00ad75550c6f 06:12:29 $ docker rm -f 7d79f730924436fd154c24204a39b9a31134515b61e37ca9a1ad00ad75550c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:12:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64255 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] ws 06:12:30 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 06:12:30 Selected Git installation does not exist. Using Default 06:12:30 The recommended git tool is: NONE 06:12:36 using credential edgex-jenkins-ssh 06:12:36 Cloning the remote Git repository 06:12:36 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:12:36 > git init /w/workspace/device-onvif-camera/6 # timeout=10 06:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:12:36 > git --version # timeout=10 06:12:36 > git --version # 'git version 2.25.1' 06:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:12:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:38 Merging remotes/origin/main commit 8ea3952a55c07e239dd75554aa3eccbc97544666 into PR head commit 1bc60fbd6192062c31ba9592c35aea52e7a2b34f 06:12:38 Merge succeeded, producing f192aee9a5477b5013fc0619034062888a5ea5cd 06:12:38 Checking out Revision f192aee9a5477b5013fc0619034062888a5ea5cd (PR-64) 06:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:12:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:12:38 > git config core.sparsecheckout # timeout=10 06:12:38 > git checkout -f 1bc60fbd6192062c31ba9592c35aea52e7a2b34f # timeout=10 06:12:38 > git remote # timeout=10 06:12:38 > git config --get remote.origin.url # timeout=10 06:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:38 > git merge 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 06:12:38 > git rev-parse HEAD^{commit} # timeout=10 06:12:38 > git config core.sparsecheckout # timeout=10 06:12:38 > git checkout -f f192aee9a5477b5013fc0619034062888a5ea5cd # timeout=10 06:12:43 Commit message: "Merge commit '8ea3952a55c07e239dd75554aa3eccbc97544666' into HEAD" 06:12:43 > git rev-list --no-walk 1bc60fbd6192062c31ba9592c35aea52e7a2b34f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:12:44 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:44 Dload Upload Total Spent Left Speed 06:12:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10503 0 0 44130 0 --:--:-- --:--:-- --:--:-- 43945 100 12253 100 12253 0 0 51054 0 --:--:-- --:--:-- --:--:-- 51054 [Pipeline] sh 06:12:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:12:44 + sudo tee /etc/docker/daemon.new 06:12:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:12:44 { 06:12:44 "registry-mirrors": [ 06:12:44 "https://nexus3.edgexfoundry.org:10001" 06:12:44 ], 06:12:44 "bip": "10.250.0.254/24", 06:12:44 "hosts": [ 06:12:44 "tcp://0.0.0.0:5555", 06:12:44 "unix:///var/run/docker.sock" 06:12:44 ], 06:12:44 "mtu": 1458, 06:12:44 "selinux-enabled": true, 06:12:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:12:44 } [Pipeline] sh 06:12:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:12:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:04 provisioning config files... 06:13:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config902034308284186792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:04 ---> docker-login.sh 06:13:04 nexus3.edgexfoundry.org:10001 06:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:05 Configure a credential helper to remove this warning. See 06:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:05 06:13:05 Login Succeeded 06:13:05 nexus3.edgexfoundry.org:10002 06:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:05 Configure a credential helper to remove this warning. See 06:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:05 06:13:05 Login Succeeded 06:13:05 nexus3.edgexfoundry.org:10003 06:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:06 Configure a credential helper to remove this warning. See 06:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:06 06:13:06 Login Succeeded 06:13:06 nexus3.edgexfoundry.org:10004 06:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:06 Configure a credential helper to remove this warning. See 06:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:06 06:13:06 Login Succeeded 06:13:06 docker.io 06:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:07 Configure a credential helper to remove this warning. See 06:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:07 06:13:07 Login Succeeded 06:13:07 ---> docker-login.sh ends [Pipeline] } 06:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:07 ========================================================= 06:13:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:13:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:13:08 + 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 . 06:13:08 Sending build context to Docker daemon 6.107MB 06:13:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 06:13:08 Step 2/13 : FROM ${BASE} AS builder 06:13:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:08 9b3977197b4f: Pulling fs layer 06:13:08 1a89e8eeedd5: Pulling fs layer 06:13:08 94645a83ff95: Pulling fs layer 06:13:08 3f3a8bcf1eab: Pulling fs layer 06:13:08 0c92f367c5e7: Pulling fs layer 06:13:08 3096ccb668a1: Pulling fs layer 06:13:08 e8cf19c19ddd: Pulling fs layer 06:13:08 a4caa8a26152: Pulling fs layer 06:13:08 3f3a8bcf1eab: Waiting 06:13:08 3096ccb668a1: Waiting 06:13:08 e8cf19c19ddd: Waiting 06:13:08 a4caa8a26152: Waiting 06:13:08 0c92f367c5e7: Waiting 06:13:08 94645a83ff95: Download complete 06:13:08 1a89e8eeedd5: Verifying Checksum 06:13:08 1a89e8eeedd5: Download complete 06:13:08 0c92f367c5e7: Verifying Checksum 06:13:08 0c92f367c5e7: Download complete 06:13:08 3096ccb668a1: Verifying Checksum 06:13:08 3096ccb668a1: Download complete 06:13:08 9b3977197b4f: Download complete 06:13:08 e8cf19c19ddd: Verifying Checksum 06:13:08 e8cf19c19ddd: Download complete 06:13:09 9b3977197b4f: Pull complete 06:13:10 1a89e8eeedd5: Pull complete 06:13:10 94645a83ff95: Pull complete 06:13:10 a4caa8a26152: Verifying Checksum 06:13:10 a4caa8a26152: Download complete 06:13:11 3f3a8bcf1eab: Download complete 06:13:23 3f3a8bcf1eab: Pull complete 06:13:23 0c92f367c5e7: Pull complete 06:13:23 3096ccb668a1: Pull complete 06:13:24 e8cf19c19ddd: Pull complete 06:13:30 a4caa8a26152: Pull complete 06:13:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:13:30 ---> 725f1c02e7f9 06:13:30 Step 3/13 : ARG MAKE="make build" 06:13:31 ---> Running in 5c586487e1ef 06:13:31 Removing intermediate container 5c586487e1ef 06:13:31 ---> dfc755c05d8c 06:13:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:13:31 ---> Running in e0108a2205b9 06:13:32 Removing intermediate container e0108a2205b9 06:13:32 ---> 3be776eb1ae0 06:13:32 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 06:13:32 ---> Running in a55be69dbc95 06:13:32 Removing intermediate container a55be69dbc95 06:13:32 ---> 1604d7917642 06:13:32 Step 6/13 : LABEL Name=edgex-device-onvif-camera 06:13:32 ---> Running in aef84d5f2d34 06:13:32 Removing intermediate container aef84d5f2d34 06:13:32 ---> b91120aaba6e 06:13:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:32 ---> Running in 0d8a0fb6ec3c 06:13:34 Removing intermediate container 0d8a0fb6ec3c 06:13:34 ---> fc471debd168 06:13:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:34 ---> Running in 3520b2950642 06:13:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:13:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:13:37 OK: 220 MiB in 52 packages 06:13:39 Removing intermediate container 3520b2950642 06:13:39 ---> 5beaf72d809a 06:13:39 Step 9/13 : WORKDIR /device-onvif-camera 06:13:39 ---> Running in 4dd08a9b001e 06:13:39 Removing intermediate container 4dd08a9b001e 06:13:39 ---> 98c5e466a64d 06:13:39 Step 10/13 : COPY go.mod vendor* ./ 06:13:39 ---> 9633daccb975 06:13:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:39 ---> Running in 2e9db1f99190 06:14:26 Removing intermediate container 2e9db1f99190 06:14:26 ---> 59164d8aa93c 06:14:26 Step 12/13 : COPY . . 06:14:26 ---> 57acc7781491 06:14:26 Step 13/13 : RUN ${MAKE} 06:14:26 ---> Running in 0aacbe5d25d1 06:14:26 noop 06:14:27 Removing intermediate container 0aacbe5d25d1 06:14:27 ---> e570baf89d6e 06:14:27 Successfully built e570baf89d6e 06:14:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:27 + docker inspect -f . ci-base-image-arm64 06:14:27 . [Pipeline] withDockerContainer 06:14:27 prd-ubuntu20.04-docker-arm64-4c-16g-64255 does not seem to be running inside a container 06:14:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:29 $ docker top eba57a7f2bc2ff25a219c70ab1c7e29fe6800b311f96105dc9c2de7dc626902c -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:30 + go version 06:14:30 go version go1.17.6 linux/arm64 [Pipeline] } 06:14:30 $ docker stop --time=1 eba57a7f2bc2ff25a219c70ab1c7e29fe6800b311f96105dc9c2de7dc626902c 06:14:31 $ docker rm -f eba57a7f2bc2ff25a219c70ab1c7e29fe6800b311f96105dc9c2de7dc626902c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:32 + docker inspect -f . ci-base-image-arm64 06:14:32 . [Pipeline] withDockerContainer 06:14:32 prd-ubuntu20.04-docker-arm64-4c-16g-64255 does not seem to be running inside a container 06:14:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:34 $ docker top aece7d7fc072ff04eb2c911078df6eb216e52f9e4c0d901c5d1649772fcff7d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:14:35 + make test 06:14:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:14:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:15:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:15:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.072s coverage: 1.0% of statements 06:15:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:15:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:16:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:30 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:31 $ docker stop --time=1 aece7d7fc072ff04eb2c911078df6eb216e52f9e4c0d901c5d1649772fcff7d4 06:16:33 $ docker rm -f aece7d7fc072ff04eb2c911078df6eb216e52f9e4c0d901c5d1649772fcff7d4 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:34 Warning: overwriting stash ‘coverage-report’ 06:16:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:35 + ls -al . 06:16:35 total 212 06:16:35 drwxrwxr-x 8 jenkins jenkins 4096 May 21 06:16 . 06:16:35 drwxrwxr-x 4 jenkins jenkins 4096 May 21 06:12 .. 06:16:35 drwxrwxr-x 8 jenkins jenkins 4096 May 21 06:12 .git 06:16:35 drwxrwxr-x 2 jenkins jenkins 4096 May 21 06:12 .github 06:16:35 -rw-rw-r-- 1 jenkins jenkins 352 May 21 06:12 .gitignore 06:16:35 -rw-rw-r-- 1 jenkins jenkins 42 May 21 06:12 .golangci.yml 06:16:35 -rw-rw-r-- 1 jenkins jenkins 9099 May 21 06:12 Attribution.txt 06:16:35 -rw-rw-r-- 1 jenkins jenkins 189 May 21 06:12 CHANGELOG.md 06:16:35 -rw-rw-r-- 1 jenkins jenkins 1667 May 21 06:12 Dockerfile 06:16:35 -rw-rw-r-- 1 jenkins jenkins 677 May 21 06:12 GOVERNANCE.md 06:16:35 -rw-rw-r-- 1 jenkins jenkins 660 May 21 06:12 Jenkinsfile 06:16:35 -rw-rw-r-- 1 jenkins jenkins 11348 May 21 06:12 LICENSE 06:16:35 -rw-rw-r-- 1 jenkins jenkins 2161 May 21 06:12 Makefile 06:16:35 -rw-rw-r-- 1 jenkins jenkins 625 May 21 06:12 OWNERS.md 06:16:35 -rw-rw-r-- 1 jenkins jenkins 29025 May 21 06:12 README.md 06:16:35 -rw-rw-r-- 1 jenkins jenkins 5 May 21 06:10 VERSION 06:16:35 drwxrwxr-x 2 jenkins jenkins 4096 May 21 06:12 bin 06:16:35 drwxrwxr-x 3 jenkins jenkins 4096 May 21 06:12 cmd 06:16:35 -rw-r--r-- 1 jenkins jenkins 37307 May 21 06:15 coverage.out 06:16:35 drwxrwxr-x 5 jenkins jenkins 4096 May 21 06:12 doc 06:16:35 -rw-rw-r-- 1 jenkins jenkins 3546 May 21 06:12 go.mod 06:16:35 -rw-rw-r-- 1 jenkins jenkins 37264 May 21 06:12 go.sum 06:16:35 drwxrwxr-x 3 jenkins jenkins 4096 May 21 06:12 internal 06:16:35 -rw-rw-r-- 1 jenkins jenkins 236 May 21 06:12 version.go [Pipeline] isUnix [Pipeline] sh 06:16:35 + 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=f192aee9a5477b5013fc0619034062888a5ea5cd --label arch=arm64 --label version=0.0.0 . 06:16:36 Sending build context to Docker daemon 6.145MB 06:16:36 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:16:36 Step 2/26 : FROM ${BASE} AS builder 06:16:36 ---> e570baf89d6e 06:16:36 Step 3/26 : ARG MAKE="make build" 06:16:36 ---> Running in 9074b3eb4388 06:16:36 Removing intermediate container 9074b3eb4388 06:16:36 ---> 0e7302f54290 06:16:36 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:16:36 ---> Running in 691f83e0e7ca 06:16:36 Removing intermediate container 691f83e0e7ca 06:16:36 ---> c0569c699028 06:16:36 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:16:37 ---> Running in 29bec8f7a60a 06:16:37 Removing intermediate container 29bec8f7a60a 06:16:37 ---> 0e9709a9535e 06:16:37 Step 6/26 : LABEL Name=edgex-device-onvif-camera 06:16:37 ---> Running in 70fc4577a0bd 06:16:37 Removing intermediate container 70fc4577a0bd 06:16:37 ---> 5891fb1f9d65 06:16:37 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:37 ---> Running in 00cc1ccdab44 06:16:39 Removing intermediate container 00cc1ccdab44 06:16:39 ---> de1450ca0293 06:16:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:39 ---> Running in fab88056e172 06:16:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:16:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:16:42 OK: 220 MiB in 52 packages 06:16:42 Removing intermediate container fab88056e172 06:16:42 ---> 7ee368198954 06:16:42 Step 9/26 : WORKDIR /device-onvif-camera 06:16:42 ---> Running in ab17e10ef458 06:16:43 Removing intermediate container ab17e10ef458 06:16:43 ---> 7aeb0a0079e5 06:16:43 Step 10/26 : COPY go.mod vendor* ./ 06:16:43 ---> 5cc509a47e83 06:16:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:43 ---> Running in 5cae800b6335 06:16:45 Removing intermediate container 5cae800b6335 06:16:45 ---> fc9397339621 06:16:45 Step 12/26 : COPY . . 06:16:46 ---> a88da60b88fd 06:16:46 Step 13/26 : RUN ${MAKE} 06:16:46 ---> Running in b79143c45f75 06:16:47 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 06:18:54 Removing intermediate container b79143c45f75 06:18:54 ---> 7c2f2acdac76 06:18:54 Step 14/26 : FROM alpine:3.15 06:18:54 3.15: Pulling from library/alpine 06:18:54 9981e73032c8: Pulling fs layer 06:18:54 9981e73032c8: Verifying Checksum 06:18:54 9981e73032c8: Download complete 06:18:54 9981e73032c8: Pull complete 06:18:54 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:18:54 Status: Downloaded newer image for alpine:3.15 06:18:54 ---> 3fb3c9af89a9 06:18:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:18:54 ---> Running in 9180bc3735ff 06:18:54 Removing intermediate container 9180bc3735ff 06:18:54 ---> 7e21710c94cf 06:18:54 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:18:54 ---> Running in a15e6be392fb 06:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:18:54 (1/6) Installing dumb-init (1.2.5-r1) 06:18:54 (2/6) Installing libgcc (10.3.1_git20211027-r0) 06:18:54 (3/6) Installing libsodium (1.0.18-r0) 06:18:54 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 06:18:54 (5/6) Installing libzmq (4.3.4-r0) 06:18:54 (6/6) Installing zeromq (4.3.4-r0) 06:18:54 Executing busybox-1.34.1-r5.trigger 06:18:54 OK: 8 MiB in 20 packages 06:18:54 Removing intermediate container a15e6be392fb 06:18:54 ---> 84451ab36d7e 06:18:54 Step 17/26 : WORKDIR / 06:18:54 ---> Running in fb75818e87eb 06:18:54 Removing intermediate container fb75818e87eb 06:18:54 ---> c3c004668c1f 06:18:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:18:54 ---> 0e0334ab17ea 06:18:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:18:54 ---> 0b95f3f1b380 06:18:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:18:54 ---> 03f5968f39ad 06:18:54 Step 21/26 : EXPOSE 59984 06:18:54 ---> Running in 0af5f1400a1c 06:18:54 Removing intermediate container 0af5f1400a1c 06:18:54 ---> ddd79efc61cc 06:18:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:18:54 ---> Running in d5fdc01d9082 06:18:54 Removing intermediate container d5fdc01d9082 06:18:54 ---> 0e120f4a3ae5 06:18:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:54 ---> Running in 2cf7a8d05f17 06:18:55 Removing intermediate container 2cf7a8d05f17 06:18:55 ---> 9f900dbdd6b9 06:18:55 Step 24/26 : LABEL arch=arm64 06:18:55 ---> Running in 2eb89f1e8817 06:18:55 Removing intermediate container 2eb89f1e8817 06:18:55 ---> e8d9fdd0cb3b 06:18:55 Step 25/26 : LABEL git_sha=f192aee9a5477b5013fc0619034062888a5ea5cd 06:18:55 ---> Running in c9f8e8f7d024 06:18:55 Removing intermediate container c9f8e8f7d024 06:18:55 ---> 0ff18751b38b 06:18:55 Step 26/26 : LABEL version=0.0.0 06:18:55 ---> Running in 421b2ed680cb 06:18:56 Removing intermediate container 421b2ed680cb 06:18:56 ---> b6e4b5231e81 06:18:56 [Warning] One or more build-args [ARCH] were not consumed 06:18:56 Successfully built b6e4b5231e81 06:18:56 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 06:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:56 06:18:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:57 arm64: Pulling from edgex-lftools-log-publisher 06:18:57 8998bd30e6a1: Pulling fs layer 06:18:57 04944245beec: Pulling fs layer 06:18:57 699f458cf7ca: Pulling fs layer 06:18:57 765212b225bb: Pulling fs layer 06:18:57 f23df028b6ca: Pulling fs layer 06:18:57 d65c8cfc05b1: Pulling fs layer 06:18:57 2437ff75d9bd: Pulling fs layer 06:18:57 765212b225bb: Waiting 06:18:57 d65c8cfc05b1: Waiting 06:18:57 f23df028b6ca: Waiting 06:18:57 2437ff75d9bd: Waiting 06:18:57 04944245beec: Verifying Checksum 06:18:57 04944245beec: Download complete 06:18:57 765212b225bb: Verifying Checksum 06:18:57 765212b225bb: Download complete 06:18:57 f23df028b6ca: Verifying Checksum 06:18:57 f23df028b6ca: Download complete 06:18:57 d65c8cfc05b1: Verifying Checksum 06:18:57 d65c8cfc05b1: Download complete 06:18:57 699f458cf7ca: Verifying Checksum 06:18:57 699f458cf7ca: Download complete 06:18:58 8998bd30e6a1: Verifying Checksum 06:18:58 8998bd30e6a1: Download complete 06:19:00 2437ff75d9bd: Verifying Checksum 06:19:00 2437ff75d9bd: Download complete 06:19:02 8998bd30e6a1: Pull complete 06:19:02 04944245beec: Pull complete 06:19:04 699f458cf7ca: Pull complete 06:19:04 765212b225bb: Pull complete 06:19:05 f23df028b6ca: Pull complete 06:19:05 d65c8cfc05b1: Pull complete 06:19:20 2437ff75d9bd: Pull complete 06:19:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:19:20 prd-ubuntu20.04-docker-arm64-4c-16g-64255 does not seem to be running inside a container 06:19:21 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:19:23 $ docker top 1ce75441c06ddaeb36f609f6f838247abfb2f98c065879f7b9497547d8a610cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:24 ---> job-cost.sh 06:19:24 lf-activate-venv: SKIPPING 06:19:24 INFO: No Stack... 06:19:24 INFO: Retrieving Pricing Info for: v3-standard-4 06:19:25 INFO: Archiving Costs [Pipeline] sh 06:19:26 + cut -d, -f6 06:19:26 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock 06:19:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] 06:19:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] did not exist. Created. 06:19:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:27 /w/workspace/device-onvif-camera/6@tmp/durable-f5fcc302/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:19:27 + echo total: 0.10999999940395355 [Pipeline] stash 06:19:27 Warning: overwriting stash ‘stack-cost’ 06:19:27 Stashed 1 file(s) [Pipeline] } 06:19:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-6-stack-cost] [Pipeline] // lock [Pipeline] } 06:19:27 $ docker stop --time=1 1ce75441c06ddaeb36f609f6f838247abfb2f98c065879f7b9497547d8a610cb 06:19:29 $ docker rm -f 1ce75441c06ddaeb36f609f6f838247abfb2f98c065879f7b9497547d8a610cb [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 06:19:29 provisioning config files... 06:19:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config5508938787212017040tmp [Pipeline] { [Pipeline] sh 06:19:30 + set +x 06:19:30 + curl -s https://codecov.io/bash 06:19:30 + bash -s -- 06:19:30 06:19:30 _____ _ 06:19:30 / ____| | | 06:19:30 | | ___ __| | ___ ___ _____ __ 06:19:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:30 Bash-1.0.6 06:19:30 06:19:30 06:19:30 ==> git version 2.25.1 found 06:19:30 ==> 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 06:19:30 Release-Date: 2020-01-08 06:19:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:19:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:19:30 ==> Jenkins CI detected. 06:19:30 current dir:  /w/workspace/oundry_device-onvif-camera_PR-64 06:19:30 project root: . 06:19:30 --> token set from env 06:19:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:30 ==> Running gcov in . (disable via -X gcov) 06:19:30 ==> Python coveragepy not found 06:19:30 ==> Searching for coverage reports in: 06:19:30 + . 06:19:30 -> Found 1 reports 06:19:30 ==> Detecting git/mercurial file structure 06:19:30 ==> Reading reports 06:19:30 + ./coverage.out bytes=37307 06:19:30 ==> Appending adjustments 06:19:30 https://docs.codecov.io/docs/fixing-reports 06:19:30 + Found adjustments 06:19:30 ==> Gzipping contents 06:19:30 8.0K /tmp/codecov.iY2deb.gz 06:19:30 ==> Uploading reports 06:19:30 url: https://codecov.io 06:19:30 query: branch=PR-64&commit=5a32146ff92cdaab2e3503a7dac6fc402cc14659&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= 06:19:30 -> Pinging Codecov 06:19:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-64&commit=5a32146ff92cdaab2e3503a7dac6fc402cc14659&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= 06:19:30 -> Uploading to 06:19:30 https://storage.googleapis.com/codecov/v4/raw/2022-05-21/F29A59C45E3A92E06B3E522C9905F8EF/5a32146ff92cdaab2e3503a7dac6fc402cc14659/0534ef19-5e05-4c93-8ca6-26dbc72fd983.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220521%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220521T061930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fbe802791742cb5d1a04271ed15669ecd001be11bb239f71488b4b25ab8d7f6 06:19:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:30 Dload Upload Total Spent Left Speed 06:19:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4646 0 0 100 4646 0 16301 --:--:-- --:--:-- --:--:-- 16301 06:19:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5a32146ff92cdaab2e3503a7dac6fc402cc14659 [Pipeline] } 06:19:31 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 06:19:31 + [ -d /w/workspace/oundry_device-onvif-camera_PR-64/archives ] 06:19:31 + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives 06:19:31 total 16 06:19:31 drwxr-xr-x 3 root root 4096 May 21 06:12 . 06:19:31 drwxrwxr-x 10 jenkins jenkins 4096 May 21 06:12 .. 06:19:31 drwxr-xr-x 2 root root 4096 May 21 06:12 cost 06:19:31 -rw-r--r-- 1 root root 89 May 21 06:12 cost.csv 06:19:31 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-64/archives 06:19:31 + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives 06:19:31 total 16 06:19:31 drwxr-xr-x 3 jenkins jenkins 4096 May 21 06:12 . 06:19:31 drwxrwxr-x 10 jenkins jenkins 4096 May 21 06:12 .. 06:19:31 drwxr-xr-x 2 jenkins jenkins 4096 May 21 06:12 cost 06:19:31 -rw-r--r-- 1 jenkins jenkins 89 May 21 06:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:19:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:32 ---> package-listing.sh 06:19:32 ++ facter osfamily 06:19:32 ++ tr '[:upper:]' '[:lower:]' 06:19:33 + OS_FAMILY=debian 06:19:33 + workspace=/w/workspace/oundry_device-onvif-camera_PR-64 06:19:33 + START_PACKAGES=/tmp/packages_start.txt 06:19:33 + END_PACKAGES=/tmp/packages_end.txt 06:19:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:33 + PACKAGES=/tmp/packages_start.txt 06:19:33 + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' 06:19:33 + PACKAGES=/tmp/packages_end.txt 06:19:33 + case "${OS_FAMILY}" in 06:19:33 + dpkg -l 06:19:33 + grep '^ii' 06:19:33 + '[' -f /tmp/packages_start.txt ']' 06:19:33 + '[' -f /tmp/packages_end.txt ']' 06:19:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:33 + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' 06:19:33 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-64/archives/ 06:19:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [Pipeline] echo 06:19:33 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:19:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:34 . [Pipeline] withDockerContainer 06:19:34 prd-ubuntu20.04-docker-8c-8g-64254 does not seem to be running inside a container 06:19:34 $ 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-64/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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:19:34 $ docker top 695fe810bbd8c735814f84778e1fd9f4777f59aa4710f85e12721c4520e56a82 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:34 + touch /tmp/pre-build-complete [Pipeline] sh 06:19:35 + mkdir -p /var/log/sysstat [Pipeline] sh 06:19:35 + ls /var/log/sa-host 06:19:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:35 provisioning config files... 06:19:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config7493418432693970563tmp [Pipeline] { [Pipeline] echo 06:19:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:19:36 ---> create-netrc.sh [Pipeline] } 06:19:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:19:36 ---> python-tools-install.sh [Pipeline] echo 06:19:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:19:36 ---> sudo-logs.sh 06:19:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:19:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:19:37 ---> job-cost.sh 06:19:37 lf-activate-venv: SKIPPING 06:19:37 DEBUG: total: 0.2199999988079071 06:19:37 INFO: Retrieving Stack Cost... 06:19:37 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:37 INFO: Archiving Costs [Pipeline] echo 06:19:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:19:38 ---> logs-deploy.sh 06:19:38 lf-activate-venv: SKIPPING 06:19:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-64/6 06:19:38 INFO: archiving workspace using pattern(s): 06:19:39 Archives upload complete. 06:19:39 INFO: archiving logs to Nexus