Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 1961be3dbf536bee699796c7591b42b4c7bef829 rather than 7171bec4920088c8554c28ca2596eb12b407268c Obtained Jenkinsfile from 1961be3dbf536bee699796c7591b42b4c7bef829 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-ssh8037863519275419996.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8279042790902946301.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9025553677431257722.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8284863658181414229.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5125762597950588202.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.20 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14775 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # 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 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 7171bec4920088c8554c28ca2596eb12b407268c Merge succeeded, producing 015a96c18ed4d48f9e606fb37c228db98edf1be0 Checking out Revision 015a96c18ed4d48f9e606fb37c228db98edf1be0 (PR-347) > 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7171bec4920088c8554c28ca2596eb12b407268c # 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 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 015a96c18ed4d48f9e606fb37c228db98edf1be0 # timeout=10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" > git rev-list --no-walk 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:07 ========================================================= 21:36:07 EdgeX Global Pipelines Version Info 21:36:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:08 ------------------- 21:36:08 stable info: 21:36:08 ------------------- 21:36:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:08 Message: update stable to v1.0.249 21:36:08 ------------------- 21:36:08 experimental info: 21:36:08 ------------------- 21:36:08 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:08 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 015a96c18ed4d48f9e606fb37c228db98edf1be0 [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 015a96c [Pipeline] echo 21:36:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:09 provisioning config files... 21:36:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config9674201313753869188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:09 ---> docker-login.sh 21:36:09 nexus3.edgexfoundry.org:10001 21:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:10 Configure a credential helper to remove this warning. See 21:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:10 21:36:10 Login Succeeded 21:36:10 nexus3.edgexfoundry.org:10002 21:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:10 Configure a credential helper to remove this warning. See 21:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:10 21:36:10 Login Succeeded 21:36:10 nexus3.edgexfoundry.org:10003 21:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:10 Configure a credential helper to remove this warning. See 21:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:10 21:36:10 Login Succeeded 21:36:10 nexus3.edgexfoundry.org:10004 21:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:10 Configure a credential helper to remove this warning. See 21:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:10 21:36:10 Login Succeeded 21:36:10 docker.io 21:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:10 Configure a credential helper to remove this warning. See 21:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:10 21:36:10 Login Succeeded 21:36:10 ---> docker-login.sh ends [Pipeline] } 21:36:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:11 + git rev-list -1 --merges 015a96c18ed4d48f9e606fb37c228db98edf1be0~1..015a96c18ed4d48f9e606fb37c228db98edf1be0 [Pipeline] echo 21:36:11 -----------> git rev-list -1 --merges 015a96c18ed4d48f9e606fb37c228db98edf1be0~1..015a96c18ed4d48f9e606fb37c228db98edf1be0 015a96c18ed4d48f9e606fb37c228db98edf1be0 21:36:11 015a96c18ed4d48f9e606fb37c228db98edf1be0 [false] [Pipeline] sh 21:36:11 + git log --format=format:%s -1 015a96c18ed4d48f9e606fb37c228db98edf1be0 [Pipeline] echo 21:36:11 ========================================================= 21:36:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:12 + git log --format=format:%s -1 015a96c18ed4d48f9e606fb37c228db98edf1be0 [Pipeline] echo 21:36:12 [semverPrep] GIT_COMMIT: 015a96c18ed4d48f9e606fb37c228db98edf1be0, Commit Message: Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD [Pipeline] echo 21:36:12 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:12 + grep -v github /etc/ssh/ssh_known_hosts 21:36:12 + [ -e /tmp/ssh_known_hosts ] 21:36:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:12 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:12 21:36:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:13 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:13 b85a868b505f: Pulling fs layer 21:36:13 e2be974225ed: Pulling fs layer 21:36:13 339a4e72a1f5: Pulling fs layer 21:36:13 988bab9f4d93: Pulling fs layer 21:36:13 1469e6f7b9e6: Pulling fs layer 21:36:13 eaf3925da568: Pulling fs layer 21:36:13 bab4dde63d76: Pulling fs layer 21:36:13 bde34c3a00c8: Pulling fs layer 21:36:13 b352a97aabf1: Pulling fs layer 21:36:13 4872d77fe225: Pulling fs layer 21:36:13 5851b861e8e6: Pulling fs layer 21:36:13 bab4dde63d76: Waiting 21:36:13 bde34c3a00c8: Waiting 21:36:13 b352a97aabf1: Waiting 21:36:13 5851b861e8e6: Waiting 21:36:13 4872d77fe225: Waiting 21:36:13 988bab9f4d93: Waiting 21:36:13 1469e6f7b9e6: Waiting 21:36:13 eaf3925da568: Waiting 21:36:13 e2be974225ed: Download complete 21:36:13 988bab9f4d93: Download complete 21:36:13 339a4e72a1f5: Verifying Checksum 21:36:13 339a4e72a1f5: Download complete 21:36:13 1469e6f7b9e6: Verifying Checksum 21:36:13 1469e6f7b9e6: Download complete 21:36:13 eaf3925da568: Download complete 21:36:13 bde34c3a00c8: Download complete 21:36:13 b352a97aabf1: Download complete 21:36:13 4872d77fe225: Verifying Checksum 21:36:13 4872d77fe225: Download complete 21:36:13 5851b861e8e6: Download complete 21:36:13 b85a868b505f: Download complete 21:36:13 bab4dde63d76: Verifying Checksum 21:36:13 bab4dde63d76: Download complete 21:36:14 b85a868b505f: Pull complete 21:36:14 e2be974225ed: Pull complete 21:36:15 339a4e72a1f5: Pull complete 21:36:15 988bab9f4d93: Pull complete 21:36:15 1469e6f7b9e6: Pull complete 21:36:15 eaf3925da568: Pull complete 21:36:17 bab4dde63d76: Pull complete 21:36:17 bde34c3a00c8: Pull complete 21:36:17 b352a97aabf1: Pull complete 21:36:17 4872d77fe225: Pull complete 21:36:17 5851b861e8e6: Pull complete 21:36:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:17 prd-ubuntu20.04-docker-8c-8g-14775 does not seem to be running inside a container 21:36:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:20 $ docker top a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 -eo pid,comm 21:36:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:36:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:20 [ssh-agent] Looking for ssh-agent implementation... 21:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:21 $ docker exec a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 ssh-agent 21:36:21 SSH_AUTH_SOCK=/tmp/ssh-UTnKtU3sZoZ5/agent.32 21:36:21 SSH_AGENT_PID=38 21:36:21 Running ssh-add (command line suppressed) 21:36:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_16816170227754484441.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_16816170227754484441.key) 21:36:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:21 + git tag --points-at HEAD [Pipeline] } 21:36:21 $ docker exec --env ******** --env ******** a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 ssh-agent -k 21:36:21 unset SSH_AUTH_SOCK; 21:36:21 unset SSH_AGENT_PID; 21:36:21 echo Agent pid 38 killed; 21:36:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:21 [ssh-agent] Looking for ssh-agent implementation... 21:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:21 $ docker exec a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 ssh-agent 21:36:21 SSH_AUTH_SOCK=/tmp/ssh-B0E675Gcp6MZ/agent.70 21:36:21 SSH_AGENT_PID=76 21:36:21 Running ssh-add (command line suppressed) 21:36:22 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_1020110442301330711.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_1020110442301330711.key) 21:36:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:22 + git semver init 21:36:22 2023-05-09 21:36:22,542 [run_init] DEBUG init version:0.0.0 force:False 21:36:22 2023-05-09 21:36:22,542 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 21:36:22 2023-05-09 21:36:22,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 21:36:22 2023-05-09 21:36:22,543 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 21:36:23 2023-05-09 21:36:23,445 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 21:36:23 2023-05-09 21:36:23,446 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 21:36:23 2023-05-09 21:36:23,446 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 21:36:23 2023-05-09 21:36:23,451 [execute] INFO git cat-file --batch-check 21:36:23 2023-05-09 21:36:23,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 21:36:23 2023-05-09 21:36:23,459 [execute] INFO git cat-file --batch 21:36:23 2023-05-09 21:36:23,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 21:36:23 2023-05-09 21:36:23,465 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 21:36:23 0.0.0 [Pipeline] } 21:36:23 $ docker exec --env ******** --env ******** a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 ssh-agent -k 21:36:23 unset SSH_AUTH_SOCK; 21:36:23 unset SSH_AGENT_PID; 21:36:23 echo Agent pid 76 killed; 21:36:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:23 + git semver [Pipeline] } 21:36:24 $ docker stop --time=1 a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 21:36:25 $ docker rm -f --volumes a4105cfd229da8e9908c68a52a5259d0593b5289118afc1af031ef84cbc6ce09 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:26 Stashed 1 file(s) [Pipeline] echo 21:36:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:26 provisioning config files... 21:36:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config15242108769235194780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:26 ---> docker-login.sh 21:36:26 nexus3.edgexfoundry.org:10001 21:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:26 Configure a credential helper to remove this warning. See 21:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:26 21:36:26 Login Succeeded 21:36:26 nexus3.edgexfoundry.org:10002 21:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:26 Configure a credential helper to remove this warning. See 21:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:26 21:36:26 Login Succeeded 21:36:26 nexus3.edgexfoundry.org:10003 21:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:26 Configure a credential helper to remove this warning. See 21:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:26 21:36:26 Login Succeeded 21:36:26 nexus3.edgexfoundry.org:10004 21:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:26 Configure a credential helper to remove this warning. See 21:36:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:26 21:36:26 Login Succeeded 21:36:26 docker.io 21:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:27 Configure a credential helper to remove this warning. See 21:36:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:27 21:36:27 Login Succeeded 21:36:27 ---> docker-login.sh ends [Pipeline] } 21:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:27 ========================================================= 21:36:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:36:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:36:27 Sending build context to Docker daemon 22.03MB 21:36:27 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:36:27 Step 2/13 : FROM ${BASE} AS builder 21:36:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:36:27 f56be85fc22e: Pulling fs layer 21:36:27 85791d961cd3: Pulling fs layer 21:36:27 d694b5ae8c79: Pulling fs layer 21:36:27 9f32a84ed3da: Pulling fs layer 21:36:27 4d19c01a9841: Pulling fs layer 21:36:27 9325e15d5711: Pulling fs layer 21:36:27 556b6ee489ea: Pulling fs layer 21:36:27 c5a4b2cf53e6: Pulling fs layer 21:36:27 9f32a84ed3da: Waiting 21:36:27 4d19c01a9841: Waiting 21:36:27 9325e15d5711: Waiting 21:36:27 556b6ee489ea: Waiting 21:36:27 c5a4b2cf53e6: Waiting 21:36:27 85791d961cd3: Verifying Checksum 21:36:27 85791d961cd3: Download complete 21:36:27 9f32a84ed3da: Verifying Checksum 21:36:27 9f32a84ed3da: Download complete 21:36:27 4d19c01a9841: Verifying Checksum 21:36:27 4d19c01a9841: Download complete 21:36:27 f56be85fc22e: Verifying Checksum 21:36:27 f56be85fc22e: Download complete 21:36:27 9325e15d5711: Verifying Checksum 21:36:27 9325e15d5711: Download complete 21:36:28 f56be85fc22e: Pull complete 21:36:28 85791d961cd3: Pull complete 21:36:28 d694b5ae8c79: Verifying Checksum 21:36:28 d694b5ae8c79: Download complete 21:36:28 c5a4b2cf53e6: Download complete 21:36:28 556b6ee489ea: Verifying Checksum 21:36:28 556b6ee489ea: Download complete 21:36:32 d694b5ae8c79: Pull complete 21:36:32 9f32a84ed3da: Pull complete 21:36:32 4d19c01a9841: Pull complete 21:36:32 9325e15d5711: Pull complete 21:36:34 556b6ee489ea: Pull complete 21:36:35 c5a4b2cf53e6: Pull complete 21:36:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:36:35 ---> c4be618373d6 21:36:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:36:39 ---> Running in bf841f12a1c8 21:36:39 Removing intermediate container bf841f12a1c8 21:36:39 ---> f3813cd44bf0 21:36:39 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:39 ---> Running in decfa1d8bb52 21:36:39 Removing intermediate container decfa1d8bb52 21:36:39 ---> 159c89f2465a 21:36:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:36:39 ---> Running in 1e485041e746 21:36:39 Removing intermediate container 1e485041e746 21:36:39 ---> b2271ae24f26 21:36:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:36:39 ---> Running in 898fe617b0bb 21:36:39 Removing intermediate container 898fe617b0bb 21:36:39 ---> 9712ea37118c 21:36:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:36:39 ---> Running in af8678470d4b 21:36:39 Removing intermediate container af8678470d4b 21:36:39 ---> a6a00d40b718 21:36:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:39 ---> Running in a922975a0fae 21:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:36:40 OK: 265 MiB in 53 packages 21:36:40 Removing intermediate container a922975a0fae 21:36:40 ---> 2228bd504da3 21:36:40 Step 9/13 : WORKDIR /device-onvif-camera 21:36:40 ---> Running in 16c42116065a 21:36:40 Removing intermediate container 16c42116065a 21:36:40 ---> 04096e2e27c2 21:36:40 Step 10/13 : COPY go.mod vendor* ./ 21:36:40 ---> c811ed2f8c37 21:36:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:40 ---> Running in 23d70258fafa 21:36:41 Still waiting to schedule task 21:36:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:37:07 Removing intermediate container 23d70258fafa 21:37:07 ---> f91e2a5bfb55 21:37:07 Step 12/13 : COPY . . 21:37:07 ---> 0506fe54dcb6 21:37:07 Step 13/13 : RUN ${MAKE} 21:37:07 ---> Running in 51990435eb09 21:37:07 noop 21:37:08 Removing intermediate container 51990435eb09 21:37:08 ---> c47808fd3397 21:37:08 Successfully built c47808fd3397 21:37:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:08 + docker inspect -f . ci-base-image-x86_64 21:37:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:08 prd-ubuntu20.04-docker-8c-8g-14775 does not seem to be running inside a container 21:37:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:08 $ docker top ecefd66e113441fde32f0866f758fabe3d051f04a3ea3c59acfddfa114c973c3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:09 + go version 21:37:09 go version go1.20.2 linux/amd64 [Pipeline] } 21:37:09 $ docker stop --time=1 ecefd66e113441fde32f0866f758fabe3d051f04a3ea3c59acfddfa114c973c3 21:37:10 $ docker rm -f --volumes ecefd66e113441fde32f0866f758fabe3d051f04a3ea3c59acfddfa114c973c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:10 + docker inspect -f . ci-base-image-x86_64 21:37:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:10 prd-ubuntu20.04-docker-8c-8g-14775 does not seem to be running inside a container 21:37:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:11 $ docker top edfe74aedfb7a2b02b3f10c0baaf28fea7e04844e73b13ffceee194481e4b696 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:11 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 21:37:11 + make test 21:37:11 go test ./... -coverprofile=coverage.out ./... 21:37:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:37:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:37:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:37:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 30.9% of statements 21:37:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.286s coverage: 86.5% of statements 21:37:38 go vet ./... 21:37:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:43 $ docker stop --time=1 edfe74aedfb7a2b02b3f10c0baaf28fea7e04844e73b13ffceee194481e4b696 21:37:46 $ docker rm -f --volumes edfe74aedfb7a2b02b3f10c0baaf28fea7e04844e73b13ffceee194481e4b696 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:37:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:47 + ls -al . 21:37:47 total 232 21:37:47 drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:37 . 21:37:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:36 .. 21:37:47 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:36 .git 21:37:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:36 .github 21:37:47 -rw-rw-r-- 1 jenkins jenkins 496 May 9 21:36 .gitignore 21:37:47 -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:36 .golangci.yml 21:37:47 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:36 .semver 21:37:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 21:36 Attribution.txt 21:37:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 21:36 CHANGELOG.md 21:37:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 21:36 Dockerfile 21:37:47 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:36 GOVERNANCE.md 21:37:47 -rw-rw-r-- 1 jenkins jenkins 734 May 9 21:36 Jenkinsfile 21:37:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 21:36 LICENSE 21:37:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 21:36 Makefile 21:37:47 -rw-rw-r-- 1 jenkins jenkins 625 May 9 21:36 OWNERS.md 21:37:47 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 21:36 README.md 21:37:47 -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:36 VERSION 21:37:47 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:36 bin 21:37:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:36 cmd 21:37:47 -rw-r--r-- 1 jenkins jenkins 79213 May 9 21:37 coverage.out 21:37:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:36 doc 21:37:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 21:36 go.mod 21:37:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 21:36 go.sum 21:37:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:36 internal 21:37:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:36 snap 21:37:47 -rw-rw-r-- 1 jenkins jenkins 236 May 9 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:48 + 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=015a96c18ed4d48f9e606fb37c228db98edf1be0 --label arch=amd64 --label version=0.0.0 . 21:37:48 Sending build context to Docker daemon 22.11MB 21:37:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:37:48 Step 2/26 : FROM ${BASE} AS builder 21:37:48 ---> c47808fd3397 21:37:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:37:48 ---> Running in 00321708f810 21:37:48 Removing intermediate container 00321708f810 21:37:48 ---> 20490f9e969f 21:37:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:48 ---> Running in f989171ebf3f 21:37:48 Removing intermediate container f989171ebf3f 21:37:48 ---> 910480c5d407 21:37:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:37:48 ---> Running in b2ee6dfe001d 21:37:48 Removing intermediate container b2ee6dfe001d 21:37:48 ---> 9174b7ce657c 21:37:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:37:48 ---> Running in ea84d3b89da3 21:37:48 Removing intermediate container ea84d3b89da3 21:37:48 ---> db992b962172 21:37:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:37:48 ---> Running in 738738e0654a 21:37:48 Removing intermediate container 738738e0654a 21:37:48 ---> 8e0898807814 21:37:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:48 ---> Running in 1ad2ddbc003d 21:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:37:49 OK: 265 MiB in 53 packages 21:37:49 Removing intermediate container 1ad2ddbc003d 21:37:49 ---> 8ce8e26c2eed 21:37:49 Step 9/26 : WORKDIR /device-onvif-camera 21:37:49 ---> Running in 803aaffb3eb1 21:37:49 Removing intermediate container 803aaffb3eb1 21:37:49 ---> ff635273f435 21:37:49 Step 10/26 : COPY go.mod vendor* ./ 21:37:49 ---> 456618802d87 21:37:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:49 ---> Running in 9a7efaddfb41 21:37:50 Removing intermediate container 9a7efaddfb41 21:37:50 ---> 160d8e63690c 21:37:50 Step 12/26 : COPY . . 21:37:51 ---> 2f80b72a19d5 21:37:51 Step 13/26 : RUN ${MAKE} 21:37:51 ---> Running in 7b11a83dc12c 21:37:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:38:13 Removing intermediate container 7b11a83dc12c 21:38:13 ---> 3979eae04667 21:38:13 Step 14/26 : FROM alpine:3.17 21:38:13 3.17: Pulling from library/alpine 21:38:13 f56be85fc22e: Already exists 21:38:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:38:13 Status: Downloaded newer image for alpine:3.17 21:38:13 ---> 9ed4aefc74f6 21:38:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:38:13 ---> Running in cb4247e3821b 21:38:13 Removing intermediate container cb4247e3821b 21:38:13 ---> b5f1444f8b4a 21:38:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:38:13 ---> Running in 2bb3c0f895dd 21:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:38:13 (1/1) Installing dumb-init (1.2.5-r2) 21:38:13 Executing busybox-1.35.0-r29.trigger 21:38:13 OK: 7 MiB in 16 packages 21:38:13 Removing intermediate container 2bb3c0f895dd 21:38:13 ---> 018fb40a1b23 21:38:13 Step 17/26 : WORKDIR / 21:38:13 ---> Running in b054667e7f7a 21:38:13 Removing intermediate container b054667e7f7a 21:38:13 ---> f8ad6644feb2 21:38:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:38:13 ---> 16d13bde7138 21:38:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:38:13 ---> f9dccb92e01c 21:38:13 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:38:13 ---> ecb2929ff7f3 21:38:13 Step 21/26 : EXPOSE 59984 21:38:13 ---> Running in de0c7e7315e8 21:38:13 Removing intermediate container de0c7e7315e8 21:38:13 ---> 5405459bef68 21:38:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:38:13 ---> Running in 992aa14458cc 21:38:13 Removing intermediate container 992aa14458cc 21:38:13 ---> e52cb2829832 21:38:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:38:13 ---> Running in 0728fcc1c897 21:38:13 Removing intermediate container 0728fcc1c897 21:38:13 ---> c50a40882bbc 21:38:13 Step 24/26 : LABEL arch=amd64 21:38:13 ---> Running in 04f6b35d7267 21:38:13 Removing intermediate container 04f6b35d7267 21:38:13 ---> 89fb029f250f 21:38:13 Step 25/26 : LABEL git_sha=015a96c18ed4d48f9e606fb37c228db98edf1be0 21:38:13 ---> Running in 8fd83b3de94f 21:38:13 Removing intermediate container 8fd83b3de94f 21:38:13 ---> b222ce7e4b65 21:38:13 Step 26/26 : LABEL version=0.0.0 21:38:13 ---> Running in a302eaed5635 21:38:13 Removing intermediate container a302eaed5635 21:38:13 ---> dee26649e7c0 21:38:13 [Warning] One or more build-args [ARCH] were not consumed 21:38:13 Successfully built dee26649e7c0 21:38:13 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:14 21:38:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:14 latest: Pulling from edgex-lftools-log-publisher 21:38:14 5eb5b503b376: Pulling fs layer 21:38:14 5c69ac0246d0: Pulling fs layer 21:38:14 ec43610c2a17: Pulling fs layer 21:38:14 3a2ae6a8a46f: Pulling fs layer 21:38:14 33b1e0a273af: Pulling fs layer 21:38:14 5d3b04190fa2: Pulling fs layer 21:38:14 2f39f015ded8: Pulling fs layer 21:38:14 5d3b04190fa2: Waiting 21:38:14 2f39f015ded8: Waiting 21:38:14 3a2ae6a8a46f: Waiting 21:38:14 33b1e0a273af: Waiting 21:38:15 5c69ac0246d0: Verifying Checksum 21:38:15 5c69ac0246d0: Download complete 21:38:15 3a2ae6a8a46f: Download complete 21:38:15 33b1e0a273af: Verifying Checksum 21:38:15 33b1e0a273af: Download complete 21:38:15 ec43610c2a17: Verifying Checksum 21:38:15 ec43610c2a17: Download complete 21:38:15 5d3b04190fa2: Verifying Checksum 21:38:15 5d3b04190fa2: Download complete 21:38:15 5eb5b503b376: Verifying Checksum 21:38:15 5eb5b503b376: Download complete 21:38:16 2f39f015ded8: Verifying Checksum 21:38:16 2f39f015ded8: Download complete 21:38:16 5eb5b503b376: Pull complete 21:38:16 5c69ac0246d0: Pull complete 21:38:17 ec43610c2a17: Pull complete 21:38:17 3a2ae6a8a46f: Pull complete 21:38:17 33b1e0a273af: Pull complete 21:38:17 5d3b04190fa2: Pull complete 21:38:21 2f39f015ded8: Pull complete 21:38:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:38:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:22 prd-ubuntu20.04-docker-8c-8g-14775 does not seem to be running inside a container 21:38:22 $ 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/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:38:26 $ docker top 925a50de01f37106866170a0f14600840e5adec4f833697f50b3ef377ea3f030 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:26 ---> job-cost.sh 21:38:26 lf-activate-venv: SKIPPING 21:38:26 INFO: No Stack... 21:38:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:27 INFO: Archiving Costs [Pipeline] sh 21:38:27 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 21:38:27 + cut -d, -f6 [Pipeline] lock 21:38:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] 21:38:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] did not exist. Created. 21:38:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:27 + echo total: 0.2199999988079071 [Pipeline] stash 21:38:27 Stashed 1 file(s) [Pipeline] } 21:38:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:27 $ docker stop --time=1 925a50de01f37106866170a0f14600840e5adec4f833697f50b3ef377ea3f030 21:38:29 $ docker rm -f --volumes 925a50de01f37106866170a0f14600840e5adec4f833697f50b3ef377ea3f030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14777 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 21:40:34 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 21:40:35 The recommended git tool is: git 21:40:41 using credential edgex-jenkins-ssh 21:40:41 Cloning the remote Git repository 21:40:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:40:41 > git init /w/workspace/device-onvif-camera/5 # timeout=10 21:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:40:41 > git --version # timeout=10 21:40:41 > git --version # 'git version 2.25.1' 21:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:40:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:40:45 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 7171bec4920088c8554c28ca2596eb12b407268c 21:40:46 Merge succeeded, producing cd9d656c1fe34a07811817b05cca71dd0bd67e9b 21:40:46 Checking out Revision cd9d656c1fe34a07811817b05cca71dd0bd67e9b (PR-347) 21:40:45 > git config core.sparsecheckout # timeout=10 21:40:45 > git checkout -f 7171bec4920088c8554c28ca2596eb12b407268c # timeout=10 21:40:45 > git remote # timeout=10 21:40:45 > git config --get remote.origin.url # timeout=10 21:40:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:46 > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 21:40:46 > git rev-parse HEAD^{commit} # timeout=10 21:40:46 > git config core.sparsecheckout # timeout=10 21:40:46 > git checkout -f cd9d656c1fe34a07811817b05cca71dd0bd67e9b # timeout=10 21:40:49 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" 21:40:49 > git rev-list --no-walk 24863547b1e47d965bb77b4f9d709eb04468b0e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:40:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:50 Dload Upload Total Spent Left Speed 21:40:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 21:40:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:40:51 + sudo tee /etc/docker/daemon.new 21:40:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:40:51 { 21:40:51 "registry-mirrors": [ 21:40:51 "https://nexus3.edgexfoundry.org:10001" 21:40:51 ], 21:40:51 "bip": "10.250.0.254/24", 21:40:51 "hosts": [ 21:40:51 "tcp://0.0.0.0:5555", 21:40:51 "unix:///var/run/docker.sock" 21:40:51 ], 21:40:51 "mtu": 1458, 21:40:51 "selinux-enabled": true, 21:40:51 "seccomp-profile": "/etc/docker/seccomp.json" 21:40:51 } [Pipeline] sh 21:40:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:40:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:10 provisioning config files... 21:41:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config14158501357444550968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:11 ---> docker-login.sh 21:41:11 nexus3.edgexfoundry.org:10001 21:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:11 Configure a credential helper to remove this warning. See 21:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:11 21:41:12 Login Succeeded 21:41:12 nexus3.edgexfoundry.org:10002 21:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:12 Configure a credential helper to remove this warning. See 21:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:12 21:41:12 Login Succeeded 21:41:12 nexus3.edgexfoundry.org:10003 21:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:12 Configure a credential helper to remove this warning. See 21:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:12 21:41:12 Login Succeeded 21:41:12 nexus3.edgexfoundry.org:10004 21:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:13 Configure a credential helper to remove this warning. See 21:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:13 21:41:13 Login Succeeded 21:41:13 docker.io 21:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:13 Configure a credential helper to remove this warning. See 21:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:13 21:41:13 Login Succeeded 21:41:13 ---> docker-login.sh ends [Pipeline] } 21:41:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:14 ========================================================= 21:41:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:41:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:41:15 Sending build context to Docker daemon 14.67MB 21:41:15 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:41:15 Step 2/13 : FROM ${BASE} AS builder 21:41:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:15 c41833b44d91: Pulling fs layer 21:41:15 ed15518f5707: Pulling fs layer 21:41:15 feae8fd75edb: Pulling fs layer 21:41:15 242c74f7c9fa: Pulling fs layer 21:41:15 3cdef696dda3: Pulling fs layer 21:41:15 2ced38df9373: Pulling fs layer 21:41:15 58f1dce35555: Pulling fs layer 21:41:15 242c74f7c9fa: Waiting 21:41:15 3cdef696dda3: Waiting 21:41:15 2ced38df9373: Waiting 21:41:15 58f1dce35555: Waiting 21:41:15 ed15518f5707: Download complete 21:41:15 242c74f7c9fa: Verifying Checksum 21:41:15 242c74f7c9fa: Download complete 21:41:15 3cdef696dda3: Verifying Checksum 21:41:15 3cdef696dda3: Download complete 21:41:15 c41833b44d91: Download complete 21:41:16 c41833b44d91: Pull complete 21:41:17 58f1dce35555: Verifying Checksum 21:41:17 58f1dce35555: Download complete 21:41:17 ed15518f5707: Pull complete 21:41:18 feae8fd75edb: Verifying Checksum 21:41:18 feae8fd75edb: Download complete 21:41:18 2ced38df9373: Verifying Checksum 21:41:18 2ced38df9373: Download complete 21:41:30 feae8fd75edb: Pull complete 21:41:30 242c74f7c9fa: Pull complete 21:41:30 3cdef696dda3: Pull complete 21:41:37 2ced38df9373: Pull complete 21:41:39 58f1dce35555: Pull complete 21:41:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:41:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:41:39 ---> fadd8f120f05 21:41:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:41:41 ---> Running in 9b1446cc1a63 21:41:41 Removing intermediate container 9b1446cc1a63 21:41:41 ---> a0129444fcfe 21:41:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:41 ---> Running in 6915d32146f3 21:41:41 Removing intermediate container 6915d32146f3 21:41:41 ---> b3911c4c9243 21:41:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:41:41 ---> Running in 843590fb4251 21:41:42 Removing intermediate container 843590fb4251 21:41:42 ---> 49134ecf8056 21:41:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:41:42 ---> Running in 6bf3644cf99e 21:41:42 Removing intermediate container 6bf3644cf99e 21:41:42 ---> af751cf4e67c 21:41:42 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:41:42 ---> Running in 4e561034abc9 21:41:42 Removing intermediate container 4e561034abc9 21:41:42 ---> d25c2733f9f7 21:41:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:41:43 ---> Running in ccda9b461a61 21:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:41:46 OK: 263 MiB in 53 packages 21:41:48 Removing intermediate container ccda9b461a61 21:41:48 ---> 06e449d079a1 21:41:48 Step 9/13 : WORKDIR /device-onvif-camera 21:41:48 ---> Running in fcca606bed81 21:41:49 Removing intermediate container fcca606bed81 21:41:49 ---> 174fcf134df0 21:41:49 Step 10/13 : COPY go.mod vendor* ./ 21:41:49 ---> 4f2a7715f2c1 21:41:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:49 ---> Running in e423393aea8c 21:42:57 Removing intermediate container e423393aea8c 21:42:57 ---> d766940f85da 21:42:57 Step 12/13 : COPY . . 21:42:57 ---> f42c9368456f 21:42:57 Step 13/13 : RUN ${MAKE} 21:42:57 ---> Running in d198b6b3fb3d 21:42:57 noop 21:42:57 Removing intermediate container d198b6b3fb3d 21:42:57 ---> 56424350dacb 21:42:57 Successfully built 56424350dacb 21:42:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:58 + docker inspect -f . ci-base-image-arm64 21:42:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:58 prd-ubuntu20.04-docker-arm64-4c-16g-14777 does not seem to be running inside a container 21:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:42:59 $ docker top 2af0f38436070ad3f0170b9ddc5104aedb99545a3f0ce7bd97b8d7606108a9f4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:00 + go version 21:43:00 go version go1.20.2 linux/arm64 [Pipeline] } 21:43:00 $ docker stop --time=1 2af0f38436070ad3f0170b9ddc5104aedb99545a3f0ce7bd97b8d7606108a9f4 21:43:02 $ docker rm -f --volumes 2af0f38436070ad3f0170b9ddc5104aedb99545a3f0ce7bd97b8d7606108a9f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:02 + docker inspect -f . ci-base-image-arm64 21:43:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:02 prd-ubuntu20.04-docker-arm64-4c-16g-14777 does not seem to be running inside a container 21:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:43:03 $ docker top f7847baf45de40d84585b39f28e405139a8ca66c77df8d88c6bf79ebd1d4eb5a -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 21:43:05 + make test 21:43:05 go test ./... -coverprofile=coverage.out ./... 21:43:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:45:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:45:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:45:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.233s coverage: 30.9% of statements 21:46:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.041s coverage: 86.5% of statements 21:46:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:22 go vet ./... 21:47:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:47:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:47:01 ./bin/test-attribution-txt.sh [Pipeline] echo 21:47:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:47:01 $ docker stop --time=1 f7847baf45de40d84585b39f28e405139a8ca66c77df8d88c6bf79ebd1d4eb5a 21:47:03 $ docker rm -f --volumes f7847baf45de40d84585b39f28e405139a8ca66c77df8d88c6bf79ebd1d4eb5a [Pipeline] // withDockerContainer [Pipeline] sh 21:47:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:47:04 Warning: overwriting stash ‘coverage-report’ 21:47:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:47:06 + ls -al . 21:47:06 total 228 21:47:06 drwxrwxr-x 9 jenkins jenkins 4096 May 9 21:43 . 21:47:06 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:40 .. 21:47:06 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:40 .git 21:47:06 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:40 .github 21:47:06 -rw-rw-r-- 1 jenkins jenkins 496 May 9 21:40 .gitignore 21:47:06 -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:40 .golangci.yml 21:47:06 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 21:40 Attribution.txt 21:47:06 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 21:40 CHANGELOG.md 21:47:06 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 21:40 Dockerfile 21:47:06 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:40 GOVERNANCE.md 21:47:06 -rw-rw-r-- 1 jenkins jenkins 734 May 9 21:40 Jenkinsfile 21:47:06 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 21:40 LICENSE 21:47:06 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 21:40 Makefile 21:47:06 -rw-rw-r-- 1 jenkins jenkins 625 May 9 21:40 OWNERS.md 21:47:06 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 21:40 README.md 21:47:06 -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:36 VERSION 21:47:06 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:40 bin 21:47:06 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:40 cmd 21:47:06 -rw-r--r-- 1 jenkins jenkins 79213 May 9 21:46 coverage.out 21:47:06 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:40 doc 21:47:06 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 21:40 go.mod 21:47:06 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 21:40 go.sum 21:47:06 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:40 internal 21:47:06 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:40 snap 21:47:06 -rw-rw-r-- 1 jenkins jenkins 236 May 9 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:06 + 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=cd9d656c1fe34a07811817b05cca71dd0bd67e9b --label arch=arm64 --label version=0.0.0 . 21:47:06 Sending build context to Docker daemon 14.75MB 21:47:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:47:06 Step 2/26 : FROM ${BASE} AS builder 21:47:06 ---> 56424350dacb 21:47:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:47:06 ---> Running in 4bec2eae973f 21:47:07 Removing intermediate container 4bec2eae973f 21:47:07 ---> d5598abacc74 21:47:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:07 ---> Running in 58e60dcbf106 21:47:07 Removing intermediate container 58e60dcbf106 21:47:07 ---> a2a10eb03d1a 21:47:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:47:07 ---> Running in 2c562d394cf4 21:47:08 Removing intermediate container 2c562d394cf4 21:47:08 ---> 64864a579f3a 21:47:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:47:08 ---> Running in 70812eaed172 21:47:08 Removing intermediate container 70812eaed172 21:47:08 ---> fcd08ead3be2 21:47:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:47:08 ---> Running in 72b297803091 21:47:08 Removing intermediate container 72b297803091 21:47:08 ---> 3a8eef9e7a8c 21:47:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:47:08 ---> Running in aa03554c646f 21:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:47:11 OK: 263 MiB in 53 packages 21:47:12 Removing intermediate container aa03554c646f 21:47:12 ---> 397ff1e383e9 21:47:12 Step 9/26 : WORKDIR /device-onvif-camera 21:47:12 ---> Running in 7ae32bdd1fc4 21:47:12 Removing intermediate container 7ae32bdd1fc4 21:47:12 ---> cf36e1405598 21:47:12 Step 10/26 : COPY go.mod vendor* ./ 21:47:13 ---> 9321b9553092 21:47:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:13 ---> Running in eccb27ce5538 21:47:16 Removing intermediate container eccb27ce5538 21:47:16 ---> 324c5b770c3d 21:47:16 Step 12/26 : COPY . . 21:47:17 ---> 103227458621 21:47:17 Step 13/26 : RUN ${MAKE} 21:47:17 ---> Running in cb88c8611346 21:47:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:49:55 Removing intermediate container cb88c8611346 21:49:55 ---> 9650ea535735 21:49:55 Step 14/26 : FROM alpine:3.17 21:49:55 3.17: Pulling from library/alpine 21:49:55 c41833b44d91: Already exists 21:49:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:49:55 Status: Downloaded newer image for alpine:3.17 21:49:55 ---> 51e60588ff2c 21:49:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:49:55 ---> Running in 560880deee21 21:49:55 Removing intermediate container 560880deee21 21:49:55 ---> 646c98d1f1d6 21:49:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:49:55 ---> Running in f8de0959affc 21:49:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:49:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:49:55 (1/1) Installing dumb-init (1.2.5-r2) 21:49:55 Executing busybox-1.35.0-r29.trigger 21:49:55 OK: 8 MiB in 16 packages 21:49:55 Removing intermediate container f8de0959affc 21:49:55 ---> 1694184e5d86 21:49:55 Step 17/26 : WORKDIR / 21:49:55 ---> Running in 015a9ba54277 21:49:55 Removing intermediate container 015a9ba54277 21:49:55 ---> 47510932327a 21:49:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:49:55 ---> daa19aa3fa5a 21:49:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:49:55 ---> 6e1c2adcb15b 21:49:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:49:55 ---> afbee1813ccd 21:49:55 Step 21/26 : EXPOSE 59984 21:49:55 ---> Running in b545e56ad708 21:49:55 Removing intermediate container b545e56ad708 21:49:55 ---> 36bf5750082b 21:49:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:49:55 ---> Running in 54fd488013f3 21:49:55 Removing intermediate container 54fd488013f3 21:49:55 ---> 5f14f851a8a1 21:49:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:49:55 ---> Running in 843964818a09 21:49:55 Removing intermediate container 843964818a09 21:49:55 ---> edecdd27aa53 21:49:55 Step 24/26 : LABEL arch=arm64 21:49:55 ---> Running in dbc90fef9b64 21:49:55 Removing intermediate container dbc90fef9b64 21:49:55 ---> 0eb41136e902 21:49:55 Step 25/26 : LABEL git_sha=cd9d656c1fe34a07811817b05cca71dd0bd67e9b 21:49:55 ---> Running in ea305d0bd5ef 21:49:55 Removing intermediate container ea305d0bd5ef 21:49:55 ---> af6e708d4710 21:49:55 Step 26/26 : LABEL version=0.0.0 21:49:55 ---> Running in ad7b03eae1f7 21:49:55 Removing intermediate container ad7b03eae1f7 21:49:55 ---> fbec52213a24 21:49:55 [Warning] One or more build-args [ARCH] were not consumed 21:49:55 Successfully built fbec52213a24 21:49:55 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:55 21:49:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:55 arm64: Pulling from edgex-lftools-log-publisher 21:49:55 8998bd30e6a1: Pulling fs layer 21:49:55 04944245beec: Pulling fs layer 21:49:55 699f458cf7ca: Pulling fs layer 21:49:55 765212b225bb: Pulling fs layer 21:49:55 f23df028b6ca: Pulling fs layer 21:49:55 d65c8cfc05b1: Pulling fs layer 21:49:55 2437ff75d9bd: Pulling fs layer 21:49:55 f23df028b6ca: Waiting 21:49:55 d65c8cfc05b1: Waiting 21:49:55 765212b225bb: Waiting 21:49:55 2437ff75d9bd: Waiting 21:49:56 04944245beec: Verifying Checksum 21:49:56 04944245beec: Download complete 21:49:56 765212b225bb: Verifying Checksum 21:49:56 765212b225bb: Download complete 21:49:56 f23df028b6ca: Verifying Checksum 21:49:56 f23df028b6ca: Download complete 21:49:56 d65c8cfc05b1: Verifying Checksum 21:49:56 d65c8cfc05b1: Download complete 21:49:56 699f458cf7ca: Verifying Checksum 21:49:56 699f458cf7ca: Download complete 21:49:56 8998bd30e6a1: Verifying Checksum 21:49:56 8998bd30e6a1: Download complete 21:49:58 2437ff75d9bd: Verifying Checksum 21:49:58 2437ff75d9bd: Download complete 21:50:04 8998bd30e6a1: Pull complete 21:50:04 04944245beec: Pull complete 21:50:05 699f458cf7ca: Pull complete 21:50:05 765212b225bb: Pull complete 21:50:05 f23df028b6ca: Pull complete 21:50:06 d65c8cfc05b1: Pull complete 21:50:21 2437ff75d9bd: Pull complete 21:50:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:50:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:21 prd-ubuntu20.04-docker-arm64-4c-16g-14777 does not seem to be running inside a container 21:50: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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:50:24 $ docker top edd1d003c75617a1b5b39a59dd2a8adb0e7f54d39c8f91a4e62e8b7377ba7b2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:25 ---> job-cost.sh 21:50:25 lf-activate-venv: SKIPPING 21:50:25 INFO: No Stack... 21:50:25 INFO: Retrieving Pricing Info for: v3-standard-4 21:50:26 INFO: Archiving Costs [Pipeline] sh 21:50:26 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 21:50:26 + cut -d, -f6 [Pipeline] lock 21:50:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] 21:50:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] did not exist. Created. 21:50:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:27 /w/workspace/device-onvif-camera/5@tmp/durable-10753ae1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:50:28 + echo total: 0.10999999940395355 [Pipeline] stash 21:50:28 Warning: overwriting stash ‘stack-cost’ 21:50:28 Stashed 1 file(s) [Pipeline] } 21:50:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:28 $ docker stop --time=1 edd1d003c75617a1b5b39a59dd2a8adb0e7f54d39c8f91a4e62e8b7377ba7b2a 21:50:29 $ docker rm -f --volumes edd1d003c75617a1b5b39a59dd2a8adb0e7f54d39c8f91a4e62e8b7377ba7b2a [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 21:50:30 provisioning config files... 21:50:30 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config2820692843318652455tmp [Pipeline] { [Pipeline] sh 21:50:30 + set +x 21:50:30 + curl -s https://codecov.io/bash 21:50:30 + bash -s -- 21:50:30 21:50:30 _____ _ 21:50:30 / ____| | | 21:50:30 | | ___ __| | ___ ___ _____ __ 21:50:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:50:30 | |___| (_) | (_| | __/ (_| (_) \ V / 21:50:30 \_____\___/ \__,_|\___|\___\___/ \_/ 21:50:30 Bash-1.0.6 21:50:30 21:50:30 21:50:30 ==> git version 2.25.1 found 21:50: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 21:50:30 Release-Date: 2020-01-08 21:50: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 21:50:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:50:30 ==> Jenkins CI detected. 21:50:30 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 21:50:30 project root: . 21:50:30 --> token set from env 21:50:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:50:30 ==> Running gcov in . (disable via -X gcov) 21:50:30 ==> Python coveragepy not found 21:50:30 ==> Searching for coverage reports in: 21:50:30 + . 21:50:30 -> Found 1 reports 21:50:30 ==> Detecting git/mercurial file structure 21:50:30 ==> Reading reports 21:50:30 + ./coverage.out bytes=79213 21:50:30 ==> Appending adjustments 21:50:30 https://docs.codecov.io/docs/fixing-reports 21:50:30 + Found adjustments 21:50:30 ==> Gzipping contents 21:50:30 12K /tmp/codecov.os9HwT.gz 21:50:30 ==> Uploading reports 21:50:30 url: https://codecov.io 21:50:30 query: branch=PR-347&commit=015a96c18ed4d48f9e606fb37c228db98edf1be0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 21:50:30 -> Pinging Codecov 21:50: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-347&commit=015a96c18ed4d48f9e606fb37c228db98edf1be0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 21:50:31 -> Uploading to 21:50:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/015a96c18ed4d48f9e606fb37c228db98edf1be0/3cba95fd-cfea-4ab7-939a-6ffc7bc3a4c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T215030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f1d10532ff59b0b8083748311bba158f9935d6b06f4e96ec55059226aca354e 21:50:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:31 Dload Upload Total Spent Left Speed 21:50:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 47026 --:--:-- --:--:-- --:--:-- 47026 21:50:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/015a96c18ed4d48f9e606fb37c228db98edf1be0 [Pipeline] } 21:50: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 21:50:32 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 21:50:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 21:50:32 total 16 21:50:32 drwxr-xr-x 3 root root 4096 May 9 21:38 . 21:50:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:38 .. 21:50:32 drwxr-xr-x 2 root root 4096 May 9 21:38 cost 21:50:32 -rw-r--r-- 1 root root 91 May 9 21:38 cost.csv 21:50:32 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 21:50:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 21:50:32 total 16 21:50:32 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:38 . 21:50:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:38 .. 21:50:32 drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:38 cost 21:50:32 -rw-r--r-- 1 jenkins jenkins 91 May 9 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:50:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:50:33 ---> package-listing.sh 21:50:33 ++ facter osfamily 21:50:33 ++ tr '[:upper:]' '[:lower:]' 21:50:33 + OS_FAMILY=debian 21:50:33 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 21:50:33 + START_PACKAGES=/tmp/packages_start.txt 21:50:33 + END_PACKAGES=/tmp/packages_end.txt 21:50:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:50:33 + PACKAGES=/tmp/packages_start.txt 21:50:33 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 21:50:33 + PACKAGES=/tmp/packages_end.txt 21:50:33 + case "${OS_FAMILY}" in 21:50:33 + dpkg -l 21:50:33 + grep '^ii' 21:50:33 + '[' -f /tmp/packages_start.txt ']' 21:50:33 + '[' -f /tmp/packages_end.txt ']' 21:50:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:50:33 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 21:50:33 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 21:50:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 21:50: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/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:50:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:34 prd-ubuntu20.04-docker-8c-8g-14775 does not seem to be running inside a container 21:50: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/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:50:34 $ docker top f2cc3891ada5271a199934d1f9abf407c091f8055bc515aa6ff6d7933fb29135 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:50:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:50:35 + ls /var/log/sa-host 21:50:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:35 provisioning config files... 21:50:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config11651243301830866219tmp [Pipeline] { [Pipeline] echo 21:50:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:50:36 ---> create-netrc.sh [Pipeline] } 21:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:50:36 ---> python-tools-install.sh [Pipeline] echo 21:50:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:50:36 ---> sudo-logs.sh 21:50:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:50:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:50:36 ---> job-cost.sh 21:50:36 lf-activate-venv: SKIPPING 21:50:36 DEBUG: total: 0.2199999988079071 21:50:36 INFO: Retrieving Stack Cost... 21:50:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:37 INFO: Archiving Costs [Pipeline] echo 21:50:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:50:38 ---> logs-deploy.sh 21:50:38 lf-activate-venv: SKIPPING 21:50:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/5 21:50:38 INFO: archiving workspace using pattern(s): 21:50:39 Archives upload complete. 21:50:39 INFO: archiving logs to Nexus