Pull request #354 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 7ce4a539a20def6796c661962dd9df4631deba7f+19aea0788ff6687e1018adc680fb40cfac0f4964 (3618b4c68c1e3ccdf75227e7102067f0b8e8a26a) 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-ssh12250492585691825208.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-ssh11411063913196890944.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-354/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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2191123526788883369.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-ssh10914685427354761874.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-354/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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3315990908713845342.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 ‘prd-ubuntu20.04-docker-8c-8g-14947’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14950 in /w/workspace/undry_device-onvif-camera_PR-354 [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-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19aea0788ff6687e1018adc680fb40cfac0f4964 into PR head commit 7ce4a539a20def6796c661962dd9df4631deba7f Merge succeeded, producing 7ce4a539a20def6796c661962dd9df4631deba7f Checking out Revision 7ce4a539a20def6796c661962dd9df4631deba7f (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f 7ce4a539a20def6796c661962dd9df4631deba7f # 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 19aea0788ff6687e1018adc680fb40cfac0f4964 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ce4a539a20def6796c661962dd9df4631deba7f # timeout=10 Commit message: "fix: Updated docs link to point to latest" > git rev-list --no-walk 8d9f64a8fffb3f51d7ab58f36ab717308c2439ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:12:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:12:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:12:06 ========================================================= 20:12:06 EdgeX Global Pipelines Version Info 20:12:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:12:07 ------------------- 20:12:07 stable info: 20:12:07 ------------------- 20:12:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:12:07 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:12:07 Message: update stable to v1.0.249 20:12:08 ------------------- 20:12:08 experimental info: 20:12:08 ------------------- 20:12:08 Commited By: **** collab-it+edgex@linuxfoundation.org 20:12:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:12:08 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ce4a539a20def6796c661962dd9df4631deba7f [Pipeline] echo 20:12:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ce4a53 [Pipeline] echo 20:12:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:09 provisioning config files... 20:12:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-354@tmp/config13404514044869816220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:09 ---> docker-login.sh 20:12:09 nexus3.edgexfoundry.org:10001 20:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:09 Configure a credential helper to remove this warning. See 20:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:09 20:12:09 Login Succeeded 20:12:09 nexus3.edgexfoundry.org:10002 20:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:09 Configure a credential helper to remove this warning. See 20:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:09 20:12:09 Login Succeeded 20:12:09 nexus3.edgexfoundry.org:10003 20:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:10 Configure a credential helper to remove this warning. See 20:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:10 20:12:10 Login Succeeded 20:12:10 nexus3.edgexfoundry.org:10004 20:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:10 Configure a credential helper to remove this warning. See 20:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:10 20:12:10 Login Succeeded 20:12:10 docker.io 20:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:10 Configure a credential helper to remove this warning. See 20:12:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:10 20:12:10 Login Succeeded 20:12:10 ---> docker-login.sh ends [Pipeline] } 20:12:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:12:10 + git rev-list -1 --merges 7ce4a539a20def6796c661962dd9df4631deba7f~1..7ce4a539a20def6796c661962dd9df4631deba7f [Pipeline] echo 20:12:10 -----------> git rev-list -1 --merges 7ce4a539a20def6796c661962dd9df4631deba7f~1..7ce4a539a20def6796c661962dd9df4631deba7f 7ce4a539a20def6796c661962dd9df4631deba7f [false] [Pipeline] sh 20:12:11 + git log --format=format:%s -1 7ce4a539a20def6796c661962dd9df4631deba7f [Pipeline] echo 20:12:11 ========================================================= 20:12:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:12:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:11 + git log --format=format:%s -1 7ce4a539a20def6796c661962dd9df4631deba7f [Pipeline] echo 20:12:11 [semverPrep] GIT_COMMIT: 7ce4a539a20def6796c661962dd9df4631deba7f, Commit Message: fix: Updated docs link to point to latest [Pipeline] echo 20:12:11 [semverPrep] This is not a build commit. [Pipeline] sh 20:12:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:12:11 + grep -v github /etc/ssh/ssh_known_hosts 20:12:11 + [ -e /tmp/ssh_known_hosts ] 20:12:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:12:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:12:11 + sudo tee -a /etc/ssh/ssh_known_hosts 20:12:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:12 20:12:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:12 0.1.4: Pulling from edgex-devops/py-git-semver 20:12:12 b85a868b505f: Pulling fs layer 20:12:12 e2be974225ed: Pulling fs layer 20:12:12 339a4e72a1f5: Pulling fs layer 20:12:12 988bab9f4d93: Pulling fs layer 20:12:12 1469e6f7b9e6: Pulling fs layer 20:12:12 eaf3925da568: Pulling fs layer 20:12:12 bab4dde63d76: Pulling fs layer 20:12:12 bde34c3a00c8: Pulling fs layer 20:12:12 b352a97aabf1: Pulling fs layer 20:12:12 4872d77fe225: Pulling fs layer 20:12:12 5851b861e8e6: Pulling fs layer 20:12:12 988bab9f4d93: Waiting 20:12:12 1469e6f7b9e6: Waiting 20:12:12 eaf3925da568: Waiting 20:12:12 bab4dde63d76: Waiting 20:12:12 bde34c3a00c8: Waiting 20:12:12 b352a97aabf1: Waiting 20:12:12 4872d77fe225: Waiting 20:12:12 5851b861e8e6: Waiting 20:12:12 e2be974225ed: Download complete 20:12:12 988bab9f4d93: Verifying Checksum 20:12:12 988bab9f4d93: Download complete 20:12:12 1469e6f7b9e6: Verifying Checksum 20:12:12 1469e6f7b9e6: Download complete 20:12:12 eaf3925da568: Download complete 20:12:12 339a4e72a1f5: Verifying Checksum 20:12:12 339a4e72a1f5: Download complete 20:12:12 bde34c3a00c8: Download complete 20:12:12 b352a97aabf1: Download complete 20:12:12 4872d77fe225: Verifying Checksum 20:12:12 4872d77fe225: Download complete 20:12:12 5851b861e8e6: Verifying Checksum 20:12:12 5851b861e8e6: Download complete 20:12:12 b85a868b505f: Verifying Checksum 20:12:12 b85a868b505f: Download complete 20:12:13 bab4dde63d76: Verifying Checksum 20:12:13 bab4dde63d76: Download complete 20:12:14 b85a868b505f: Pull complete 20:12:14 e2be974225ed: Pull complete 20:12:14 339a4e72a1f5: Pull complete 20:12:14 988bab9f4d93: Pull complete 20:12:15 1469e6f7b9e6: Pull complete 20:12:15 eaf3925da568: Pull complete 20:12:17 bab4dde63d76: Pull complete 20:12:17 bde34c3a00c8: Pull complete 20:12:17 b352a97aabf1: Pull complete 20:12:17 4872d77fe225: Pull complete 20:12:17 5851b861e8e6: Pull complete 20:12:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:17 prd-ubuntu20.04-docker-8c-8g-14950 does not seem to be running inside a container 20:12:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-354 -v /w/workspace/undry_device-onvif-camera_PR-354:/w/workspace/undry_device-onvif-camera_PR-354:rw,z -v /w/workspace/undry_device-onvif-camera_PR-354@tmp:/w/workspace/undry_device-onvif-camera_PR-354@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 20:12:19 $ docker top 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c -eo pid,comm 20:12:19 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). 20:12:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:12:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:19 [ssh-agent] Looking for ssh-agent implementation... 20:12:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:19 $ docker exec 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c ssh-agent 20:12:19 SSH_AUTH_SOCK=/tmp/ssh-YPceLJcC2zDe/agent.32 20:12:19 SSH_AGENT_PID=38 20:12:19 Running ssh-add (command line suppressed) 20:12:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-354@tmp/private_key_14993929850333155493.key (/w/workspace/undry_device-onvif-camera_PR-354@tmp/private_key_14993929850333155493.key) 20:12:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:19 + git tag --points-at HEAD [Pipeline] } 20:12:19 $ docker exec --env ******** --env ******** 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c ssh-agent -k 20:12:20 unset SSH_AUTH_SOCK; 20:12:20 unset SSH_AGENT_PID; 20:12:20 echo Agent pid 38 killed; 20:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:12:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:20 [ssh-agent] Looking for ssh-agent implementation... 20:12:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:20 $ docker exec 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c ssh-agent 20:12:20 SSH_AUTH_SOCK=/tmp/ssh-EIRnKAG65cAS/agent.71 20:12:20 SSH_AGENT_PID=77 20:12:20 Running ssh-add (command line suppressed) 20:12:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-354@tmp/private_key_10637920244589608694.key (/w/workspace/undry_device-onvif-camera_PR-354@tmp/private_key_10637920244589608694.key) 20:12:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:20 + git semver init 20:12:21 2023-05-10 20:12:20,940 [run_init] DEBUG init version:0.0.0 force:False 20:12:21 2023-05-10 20:12:20,941 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-354/.semver 20:12:21 2023-05-10 20:12:20,942 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-354/.semver 20:12:21 2023-05-10 20:12:20,943 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-354/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-354, universal_newlines=False, shell=None, istream=None) 20:12:21 2023-05-10 20:12:21,817 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-354/.git/info/exclude 20:12:21 2023-05-10 20:12:21,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-354/.semver/PR-354 with force:False 20:12:21 2023-05-10 20:12:21,817 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-354/.semver/PR-354 20:12:21 2023-05-10 20:12:21,822 [execute] INFO git cat-file --batch-check 20:12:21 2023-05-10 20:12:21,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-354/.semver, universal_newlines=False, shell=None, istream=) 20:12:21 2023-05-10 20:12:21,829 [execute] INFO git cat-file --batch 20:12:21 2023-05-10 20:12:21,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-354/.semver, universal_newlines=False, shell=None, istream=) 20:12:21 2023-05-10 20:12:21,835 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-354/.semver/PR-354 20:12:21 0.0.0 [Pipeline] } 20:12:21 $ docker exec --env ******** --env ******** 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c ssh-agent -k 20:12:22 unset SSH_AUTH_SOCK; 20:12:22 unset SSH_AGENT_PID; 20:12:22 echo Agent pid 77 killed; 20:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:12:22 + git semver [Pipeline] } 20:12:22 $ docker stop --time=1 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c 20:12:23 $ docker rm -f --volumes 83e5a2f7c794ea1511f5e02f521390a9d09f70dac66174525e1d2989df6a7c0c [Pipeline] // withDockerContainer [Pipeline] sh 20:12:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:12:24 Stashed 1 file(s) [Pipeline] echo 20:12:24 [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 20:12:24 provisioning config files... 20:12:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-354@tmp/config14548785281909414632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:24 ---> docker-login.sh 20:12:24 nexus3.edgexfoundry.org:10001 20:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:24 Configure a credential helper to remove this warning. See 20:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:24 20:12:24 Login Succeeded 20:12:24 nexus3.edgexfoundry.org:10002 20:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:24 Configure a credential helper to remove this warning. See 20:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:24 20:12:24 Login Succeeded 20:12:24 nexus3.edgexfoundry.org:10003 20:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:25 Configure a credential helper to remove this warning. See 20:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:25 20:12:25 Login Succeeded 20:12:25 nexus3.edgexfoundry.org:10004 20:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:25 Configure a credential helper to remove this warning. See 20:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:25 20:12:25 Login Succeeded 20:12:25 docker.io 20:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:25 Configure a credential helper to remove this warning. See 20:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:25 20:12:25 Login Succeeded 20:12:25 ---> docker-login.sh ends [Pipeline] } 20:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:12:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:12:25 ========================================================= 20:12:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:12:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:25 + 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 . 20:12:25 Sending build context to Docker daemon 21.8MB 20:12:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:12:25 Step 2/13 : FROM ${BASE} AS builder 20:12:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:12:26 f56be85fc22e: Pulling fs layer 20:12:26 85791d961cd3: Pulling fs layer 20:12:26 d694b5ae8c79: Pulling fs layer 20:12:26 9f32a84ed3da: Pulling fs layer 20:12:26 4d19c01a9841: Pulling fs layer 20:12:26 9325e15d5711: Pulling fs layer 20:12:26 556b6ee489ea: Pulling fs layer 20:12:26 c5a4b2cf53e6: Pulling fs layer 20:12:26 9f32a84ed3da: Waiting 20:12:26 4d19c01a9841: Waiting 20:12:26 9325e15d5711: Waiting 20:12:26 c5a4b2cf53e6: Waiting 20:12:26 85791d961cd3: Download complete 20:12:26 9f32a84ed3da: Verifying Checksum 20:12:26 9f32a84ed3da: Download complete 20:12:26 4d19c01a9841: Verifying Checksum 20:12:26 4d19c01a9841: Download complete 20:12:26 f56be85fc22e: Download complete 20:12:26 9325e15d5711: Verifying Checksum 20:12:26 9325e15d5711: Download complete 20:12:26 f56be85fc22e: Pull complete 20:12:26 85791d961cd3: Pull complete 20:12:26 c5a4b2cf53e6: Verifying Checksum 20:12:26 c5a4b2cf53e6: Download complete 20:12:26 d694b5ae8c79: Verifying Checksum 20:12:26 d694b5ae8c79: Download complete 20:12:26 556b6ee489ea: Verifying Checksum 20:12:26 556b6ee489ea: Download complete 20:12:31 d694b5ae8c79: Pull complete 20:12:31 9f32a84ed3da: Pull complete 20:12:31 4d19c01a9841: Pull complete 20:12:31 9325e15d5711: Pull complete 20:12:33 556b6ee489ea: Pull complete 20:12:33 c5a4b2cf53e6: Pull complete 20:12:33 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:12:33 ---> c4be618373d6 20:12:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:12:36 ---> Running in eca653ff4715 20:12:36 Removing intermediate container eca653ff4715 20:12:36 ---> 541f63a9f982 20:12:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:36 ---> Running in 4243b2884460 20:12:36 Removing intermediate container 4243b2884460 20:12:36 ---> a6521125e1a2 20:12:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:12:36 ---> Running in 1a83f6281f68 20:12:36 Removing intermediate container 1a83f6281f68 20:12:36 ---> f8cfa80a0b32 20:12:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:12:37 ---> Running in 31237eeabd38 20:12:37 Removing intermediate container 31237eeabd38 20:12:37 ---> e43e382e33c9 20:12:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:12:37 ---> Running in 76ad1fb3555f 20:12:37 Removing intermediate container 76ad1fb3555f 20:12:37 ---> 2e04cdc72e1f 20:12:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:37 ---> Running in f2103bac2efc 20:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:12:37 OK: 265 MiB in 53 packages 20:12:38 Removing intermediate container f2103bac2efc 20:12:38 ---> 853c3acd6b44 20:12:38 Step 9/13 : WORKDIR /device-onvif-camera 20:12:38 ---> Running in ae2b77c214e6 20:12:38 Removing intermediate container ae2b77c214e6 20:12:38 ---> e00ff5e22b36 20:12:38 Step 10/13 : COPY go.mod vendor* ./ 20:12:38 ---> 611280db105d 20:12:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:38 ---> Running in 2c6635a9ad40 20:12:39 Still waiting to schedule task 20:12:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14948’ is offline 20:13:00 Removing intermediate container 2c6635a9ad40 20:13:00 ---> 3a4915d6bcca 20:13:00 Step 12/13 : COPY . . 20:13:00 ---> 30ac17ced43a 20:13:00 Step 13/13 : RUN ${MAKE} 20:13:00 ---> Running in aee3fbc65c15 20:13:00 noop 20:13:01 Removing intermediate container aee3fbc65c15 20:13:01 ---> 5d52397450d9 20:13:01 Successfully built 5d52397450d9 20:13:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:01 + docker inspect -f . ci-base-image-x86_64 20:13:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:01 prd-ubuntu20.04-docker-8c-8g-14950 does not seem to be running inside a container 20:13:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-354 -v /w/workspace/undry_device-onvif-camera_PR-354:/w/workspace/undry_device-onvif-camera_PR-354:rw,z -v /w/workspace/undry_device-onvif-camera_PR-354@tmp:/w/workspace/undry_device-onvif-camera_PR-354@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 20:13:02 $ docker top 05c38372c8b8da905df2e2e653bb57fd239d9490735e767c0ddb2255ac999266 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:02 + go version 20:13:02 go version go1.20.2 linux/amd64 [Pipeline] } 20:13:02 $ docker stop --time=1 05c38372c8b8da905df2e2e653bb57fd239d9490735e767c0ddb2255ac999266 20:13:03 $ docker rm -f --volumes 05c38372c8b8da905df2e2e653bb57fd239d9490735e767c0ddb2255ac999266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:04 + docker inspect -f . ci-base-image-x86_64 20:13:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:04 prd-ubuntu20.04-docker-8c-8g-14950 does not seem to be running inside a container 20:13:04 $ 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-354 -v /w/workspace/undry_device-onvif-camera_PR-354:/w/workspace/undry_device-onvif-camera_PR-354:rw,z -v /w/workspace/undry_device-onvif-camera_PR-354@tmp:/w/workspace/undry_device-onvif-camera_PR-354@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 20:13:04 $ docker top 87ba4f5328fffb915bf2105d03feeada71bd0f0fd97c0e9088f91e2808518b07 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:05 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-354 [Pipeline] fileExists [Pipeline] sh 20:13:05 + make test 20:13:05 go test ./... -coverprofile=coverage.out ./... 20:13:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:13:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:13:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:13:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 30.9% of statements 20:13:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.129s coverage: 86.5% of statements 20:13:31 go vet ./... 20:13:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:13:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:13:36 ./bin/test-attribution-txt.sh [Pipeline] echo 20:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:13:36 $ docker stop --time=1 87ba4f5328fffb915bf2105d03feeada71bd0f0fd97c0e9088f91e2808518b07 20:13:38 $ docker rm -f --volumes 87ba4f5328fffb915bf2105d03feeada71bd0f0fd97c0e9088f91e2808518b07 [Pipeline] // withDockerContainer [Pipeline] sh 20:13:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:13:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:13:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:39 + ls -al . 20:13:39 total 232 20:13:39 drwxrwxr-x 10 jenkins jenkins 4096 May 10 20:13 . 20:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:12 .. 20:13:39 drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:12 .git 20:13:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:12 .github 20:13:39 -rw-rw-r-- 1 jenkins jenkins 496 May 10 20:12 .gitignore 20:13:39 -rw-rw-r-- 1 jenkins jenkins 42 May 10 20:12 .golangci.yml 20:13:39 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:12 .semver 20:13:39 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 20:12 Attribution.txt 20:13:39 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 20:12 CHANGELOG.md 20:13:39 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 20:12 Dockerfile 20:13:39 -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:12 GOVERNANCE.md 20:13:39 -rw-rw-r-- 1 jenkins jenkins 734 May 10 20:12 Jenkinsfile 20:13:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 20:12 LICENSE 20:13:39 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 20:12 Makefile 20:13:39 -rw-rw-r-- 1 jenkins jenkins 625 May 10 20:12 OWNERS.md 20:13:39 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 20:12 README.md 20:13:39 -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:12 VERSION 20:13:39 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:12 bin 20:13:39 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:12 cmd 20:13:39 -rw-r--r-- 1 jenkins jenkins 79213 May 10 20:13 coverage.out 20:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:12 doc 20:13:39 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 20:12 go.mod 20:13:39 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 20:12 go.sum 20:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:12 internal 20:13:39 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:12 snap 20:13:39 -rw-rw-r-- 1 jenkins jenkins 236 May 10 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:40 + 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=7ce4a539a20def6796c661962dd9df4631deba7f --label arch=amd64 --label version=0.0.0 . 20:13:40 Sending build context to Docker daemon 21.88MB 20:13:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:13:40 Step 2/26 : FROM ${BASE} AS builder 20:13:40 ---> 5d52397450d9 20:13:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:13:40 ---> Running in cc12b8c12710 20:13:40 Removing intermediate container cc12b8c12710 20:13:40 ---> 8029c6608838 20:13:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:13:40 ---> Running in 28343a9d36cb 20:13:40 Removing intermediate container 28343a9d36cb 20:13:40 ---> 71ed363bdf4b 20:13:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:13:40 ---> Running in df7a16979c57 20:13:40 Removing intermediate container df7a16979c57 20:13:40 ---> cbb4188bec9c 20:13:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:13:40 ---> Running in e738039ad8e1 20:13:40 Removing intermediate container e738039ad8e1 20:13:40 ---> 21ed21000ae4 20:13:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:13:40 ---> Running in c248fe0082f4 20:13:40 Removing intermediate container c248fe0082f4 20:13:40 ---> 8959b9180299 20:13:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:40 ---> Running in 2243696d75f0 20:13:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:13:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:13:41 OK: 265 MiB in 53 packages 20:13:41 Removing intermediate container 2243696d75f0 20:13:41 ---> b6966684e19e 20:13:41 Step 9/26 : WORKDIR /device-onvif-camera 20:13:41 ---> Running in 20005c4f8c9b 20:13:41 Removing intermediate container 20005c4f8c9b 20:13:41 ---> b7b39e0a7575 20:13:41 Step 10/26 : COPY go.mod vendor* ./ 20:13:41 ---> dca5d0b0e8da 20:13:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:41 ---> Running in f73d6ac86288 20:13:42 Removing intermediate container f73d6ac86288 20:13:42 ---> d5654e551ba4 20:13:42 Step 12/26 : COPY . . 20:13:43 ---> dd3cff698556 20:13:43 Step 13/26 : RUN ${MAKE} 20:13:43 ---> Running in b52c6211b0bf 20:13:43 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 20:14:05 Removing intermediate container b52c6211b0bf 20:14:05 ---> 3c07b0001d36 20:14:05 Step 14/26 : FROM alpine:3.17 20:14:05 3.17: Pulling from library/alpine 20:14:05 f56be85fc22e: Already exists 20:14:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:14:05 Status: Downloaded newer image for alpine:3.17 20:14:05 ---> 9ed4aefc74f6 20:14:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:14:05 ---> Running in 9a77820823f6 20:14:05 Removing intermediate container 9a77820823f6 20:14:05 ---> 0f45f062bd6a 20:14:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:14:05 ---> Running in 630a6f9b7916 20:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:14:05 (1/1) Installing dumb-init (1.2.5-r2) 20:14:05 Executing busybox-1.35.0-r29.trigger 20:14:05 OK: 7 MiB in 16 packages 20:14:05 Removing intermediate container 630a6f9b7916 20:14:05 ---> 5b7dab541cae 20:14:05 Step 17/26 : WORKDIR / 20:14:05 ---> Running in 8dc42d6ae330 20:14:05 Removing intermediate container 8dc42d6ae330 20:14:05 ---> 2b542cc053ac 20:14:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:14:05 ---> 68784ecae516 20:14:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:14:05 ---> 2d7c79685164 20:14:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:14:05 ---> 064d6a5070fd 20:14:05 Step 21/26 : EXPOSE 59984 20:14:05 ---> Running in e125730b49b5 20:14:05 Removing intermediate container e125730b49b5 20:14:05 ---> 89ca63e49b3a 20:14:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:14:05 ---> Running in f330deebf12c 20:14:05 Removing intermediate container f330deebf12c 20:14:05 ---> d8b7893319d2 20:14:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:14:05 ---> Running in 05e3a6e667ce 20:14:05 Removing intermediate container 05e3a6e667ce 20:14:05 ---> a206ad2c912c 20:14:05 Step 24/26 : LABEL arch=amd64 20:14:05 ---> Running in dd9a5a5702c9 20:14:05 Removing intermediate container dd9a5a5702c9 20:14:05 ---> a4ccfadc7350 20:14:05 Step 25/26 : LABEL git_sha=7ce4a539a20def6796c661962dd9df4631deba7f 20:14:05 ---> Running in 79dc387fee4a 20:14:05 Removing intermediate container 79dc387fee4a 20:14:05 ---> 88a215419bba 20:14:05 Step 26/26 : LABEL version=0.0.0 20:14:05 ---> Running in effb4e1a53db 20:14:05 Removing intermediate container effb4e1a53db 20:14:05 ---> 5f3cdfd21449 20:14:05 [Warning] One or more build-args [ARCH] were not consumed 20:14:05 Successfully built 5f3cdfd21449 20:14:05 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 20:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:06 20:14:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:06 latest: Pulling from edgex-lftools-log-publisher 20:14:06 5eb5b503b376: Pulling fs layer 20:14:06 5c69ac0246d0: Pulling fs layer 20:14:06 ec43610c2a17: Pulling fs layer 20:14:06 3a2ae6a8a46f: Pulling fs layer 20:14:06 3a2ae6a8a46f: Waiting 20:14:06 33b1e0a273af: Pulling fs layer 20:14:06 5d3b04190fa2: Pulling fs layer 20:14:06 2f39f015ded8: Pulling fs layer 20:14:06 2f39f015ded8: Waiting 20:14:06 5d3b04190fa2: Waiting 20:14:06 5c69ac0246d0: Download complete 20:14:06 3a2ae6a8a46f: Verifying Checksum 20:14:06 3a2ae6a8a46f: Download complete 20:14:06 33b1e0a273af: Verifying Checksum 20:14:06 33b1e0a273af: Download complete 20:14:06 ec43610c2a17: Verifying Checksum 20:14:06 ec43610c2a17: Download complete 20:14:06 5d3b04190fa2: Verifying Checksum 20:14:06 5d3b04190fa2: Download complete 20:14:06 5eb5b503b376: Download complete 20:14:07 2f39f015ded8: Verifying Checksum 20:14:07 2f39f015ded8: Download complete 20:14:07 5eb5b503b376: Pull complete 20:14:07 5c69ac0246d0: Pull complete 20:14:08 ec43610c2a17: Pull complete 20:14:08 3a2ae6a8a46f: Pull complete 20:14:08 33b1e0a273af: Pull complete 20:14:08 5d3b04190fa2: Pull complete 20:14:12 2f39f015ded8: Pull complete 20:14:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:14:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:12 prd-ubuntu20.04-docker-8c-8g-14950 does not seem to be running inside a container 20:14:12 $ 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-354 -v /w/workspace/undry_device-onvif-camera_PR-354:/w/workspace/undry_device-onvif-camera_PR-354:rw,z -v /w/workspace/undry_device-onvif-camera_PR-354@tmp:/w/workspace/undry_device-onvif-camera_PR-354@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 20:14:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14951 in /w/workspace/undry_device-onvif-camera_PR-354 20:14:15 $ docker top 3b117a24d9353def7effaf39ca7eaf179540eabec3826780af1ed6f642391e92 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 20:14:15 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 20:14:15 The recommended git tool is: git 20:14:15 ---> job-cost.sh 20:14:15 lf-activate-venv: SKIPPING 20:14:15 INFO: No Stack... 20:14:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:16 INFO: Archiving Costs [Pipeline] sh 20:14:16 + cat /w/workspace/undry_device-onvif-camera_PR-354/archives/cost.csv 20:14:16 + cut -d, -f6 [Pipeline] lock 20:14:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] 20:14:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] did not exist. Created. 20:14:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:14:17 Stashed 1 file(s) [Pipeline] } 20:14:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:17 $ docker stop --time=1 3b117a24d9353def7effaf39ca7eaf179540eabec3826780af1ed6f642391e92 20:14:18 $ docker rm -f --volumes 3b117a24d9353def7effaf39ca7eaf179540eabec3826780af1ed6f642391e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:14:20 using credential edgex-jenkins-ssh 20:14:20 Cloning the remote Git repository 20:14:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:14:20 > git init /w/workspace/device-onvif-camera/2 # timeout=10 20:14:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:14:20 > git --version # timeout=10 20:14:20 > git --version # 'git version 2.25.1' 20:14:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:14:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:14:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:14:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:14:25 Merging remotes/origin/main commit 19aea0788ff6687e1018adc680fb40cfac0f4964 into PR head commit 7ce4a539a20def6796c661962dd9df4631deba7f 20:14:25 Merge succeeded, producing 7ce4a539a20def6796c661962dd9df4631deba7f 20:14:25 Checking out Revision 7ce4a539a20def6796c661962dd9df4631deba7f (PR-354) 20:14:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:14:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:14:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:14:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:14:25 > git config core.sparsecheckout # timeout=10 20:14:25 > git checkout -f 7ce4a539a20def6796c661962dd9df4631deba7f # timeout=10 20:14:25 > git remote # timeout=10 20:14:25 > git config --get remote.origin.url # timeout=10 20:14:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:14:25 > git merge 19aea0788ff6687e1018adc680fb40cfac0f4964 # timeout=10 20:14:25 > git rev-parse HEAD^{commit} # timeout=10 20:14:25 > git config core.sparsecheckout # timeout=10 20:14:25 > git checkout -f 7ce4a539a20def6796c661962dd9df4631deba7f # timeout=10 20:14:29 Commit message: "fix: Updated docs link to point to latest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:14:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:30 Dload Upload Total Spent Left Speed 20:14:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 20:14:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:14:31 + sudo tee /etc/docker/daemon.new 20:14:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:14:31 { 20:14:31 "registry-mirrors": [ 20:14:31 "https://nexus3.edgexfoundry.org:10001" 20:14:31 ], 20:14:31 "bip": "10.250.0.254/24", 20:14:31 "hosts": [ 20:14:31 "tcp://0.0.0.0:5555", 20:14:31 "unix:///var/run/docker.sock" 20:14:31 ], 20:14:31 "mtu": 1458, 20:14:31 "selinux-enabled": true, 20:14:31 "seccomp-profile": "/etc/docker/seccomp.json" 20:14:31 } [Pipeline] sh 20:14:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:14:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:54 provisioning config files... 20:14:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6154193270268682645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:54 ---> docker-login.sh 20:14:54 nexus3.edgexfoundry.org:10001 20:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:55 Configure a credential helper to remove this warning. See 20:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:55 20:14:55 Login Succeeded 20:14:55 nexus3.edgexfoundry.org:10002 20:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:55 Configure a credential helper to remove this warning. See 20:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:55 20:14:55 Login Succeeded 20:14:55 nexus3.edgexfoundry.org:10003 20:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:55 Configure a credential helper to remove this warning. See 20:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:55 20:14:55 Login Succeeded 20:14:55 nexus3.edgexfoundry.org:10004 20:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:56 Configure a credential helper to remove this warning. See 20:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:56 20:14:56 Login Succeeded 20:14:56 docker.io 20:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:56 Configure a credential helper to remove this warning. See 20:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:56 20:14:56 Login Succeeded 20:14:56 ---> docker-login.sh ends [Pipeline] } 20:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:57 ========================================================= 20:14:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:14:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:57 + 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 . 20:14:57 Sending build context to Docker daemon 14.33MB 20:14:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:14:58 Step 2/13 : FROM ${BASE} AS builder 20:14:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:14:58 c41833b44d91: Pulling fs layer 20:14:58 ed15518f5707: Pulling fs layer 20:14:58 feae8fd75edb: Pulling fs layer 20:14:58 242c74f7c9fa: Pulling fs layer 20:14:58 3cdef696dda3: Pulling fs layer 20:14:58 2ced38df9373: Pulling fs layer 20:14:58 58f1dce35555: Pulling fs layer 20:14:58 242c74f7c9fa: Waiting 20:14:58 3cdef696dda3: Waiting 20:14:58 2ced38df9373: Waiting 20:14:58 58f1dce35555: Waiting 20:14:58 ed15518f5707: Verifying Checksum 20:14:58 ed15518f5707: Download complete 20:14:58 242c74f7c9fa: Verifying Checksum 20:14:58 3cdef696dda3: Verifying Checksum 20:14:58 3cdef696dda3: Download complete 20:14:58 c41833b44d91: Verifying Checksum 20:14:58 c41833b44d91: Download complete 20:14:59 c41833b44d91: Pull complete 20:14:59 58f1dce35555: Verifying Checksum 20:14:59 58f1dce35555: Download complete 20:15:00 ed15518f5707: Pull complete 20:15:00 feae8fd75edb: Verifying Checksum 20:15:00 feae8fd75edb: Download complete 20:15:01 2ced38df9373: Verifying Checksum 20:15:01 2ced38df9373: Download complete 20:15:13 feae8fd75edb: Pull complete 20:15:13 242c74f7c9fa: Pull complete 20:15:13 3cdef696dda3: Pull complete 20:15:18 2ced38df9373: Pull complete 20:15:21 58f1dce35555: Pull complete 20:15:21 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:15:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:15:21 ---> fadd8f120f05 20:15:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:15:23 ---> Running in 32fdf6658494 20:15:23 Removing intermediate container 32fdf6658494 20:15:23 ---> 2cd419232e55 20:15:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:23 ---> Running in 0c500e14ba82 20:15:23 Removing intermediate container 0c500e14ba82 20:15:23 ---> b30c1ca65211 20:15:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:15:23 ---> Running in 988959aa0801 20:15:24 Removing intermediate container 988959aa0801 20:15:24 ---> 0a63c2e8d2a3 20:15:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:15:24 ---> Running in fe5e1a661a06 20:15:24 Removing intermediate container fe5e1a661a06 20:15:24 ---> 7f7d103e3160 20:15:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:15:24 ---> Running in 74d4a422e5e4 20:15:24 Removing intermediate container 74d4a422e5e4 20:15:24 ---> 30799879d0ab 20:15:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:24 ---> Running in ef3022b2af03 20:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:15:27 OK: 263 MiB in 53 packages 20:15:28 Removing intermediate container ef3022b2af03 20:15:28 ---> 0ca08b814cec 20:15:28 Step 9/13 : WORKDIR /device-onvif-camera 20:15:28 ---> Running in e1f7b6e09581 20:15:28 Removing intermediate container e1f7b6e09581 20:15:28 ---> 220a4e36355f 20:15:28 Step 10/13 : COPY go.mod vendor* ./ 20:15:32 ---> 06939e7646ce 20:15:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:32 ---> Running in 4db0bc40fd6a 20:16:40 Removing intermediate container 4db0bc40fd6a 20:16:40 ---> 7eea403b25cd 20:16:40 Step 12/13 : COPY . . 20:16:40 ---> 4b3fb9df7485 20:16:40 Step 13/13 : RUN ${MAKE} 20:16:40 ---> Running in 1838028c0568 20:16:40 noop 20:16:40 Removing intermediate container 1838028c0568 20:16:40 ---> 1b64e8a7218c 20:16:40 Successfully built 1b64e8a7218c 20:16:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:40 + docker inspect -f . ci-base-image-arm64 20:16:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:40 prd-ubuntu20.04-docker-arm64-4c-16g-14951 does not seem to be running inside a container 20:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 20:16:41 $ docker top e791371616d4082e801241471e9704456ab1f6d054382bfa3ac91d066c959bbb -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:42 + go version 20:16:42 go version go1.20.2 linux/arm64 [Pipeline] } 20:16:42 $ docker stop --time=1 e791371616d4082e801241471e9704456ab1f6d054382bfa3ac91d066c959bbb 20:16:44 $ docker rm -f --volumes e791371616d4082e801241471e9704456ab1f6d054382bfa3ac91d066c959bbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:44 + docker inspect -f . ci-base-image-arm64 20:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:45 prd-ubuntu20.04-docker-arm64-4c-16g-14951 does not seem to be running inside a container 20:16:45 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 20:16:46 $ docker top a87ed68517908f59da05b309511bec2b4c91058586badda1ba6c36f2f254314c -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 20:16:47 + make test 20:16:47 go test ./... -coverprofile=coverage.out ./... 20:17:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:19:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:19:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:19:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 30.9% of statements 20:19:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.506s coverage: 86.5% of statements 20:20:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:20:00 go vet ./... 20:20:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:20:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:20:26 ./bin/test-attribution-txt.sh [Pipeline] echo 20:20:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:20:26 $ docker stop --time=1 a87ed68517908f59da05b309511bec2b4c91058586badda1ba6c36f2f254314c 20:20:28 $ docker rm -f --volumes a87ed68517908f59da05b309511bec2b4c91058586badda1ba6c36f2f254314c [Pipeline] // withDockerContainer [Pipeline] sh 20:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:20:29 Warning: overwriting stash ‘coverage-report’ 20:20:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:20:31 + ls -al . 20:20:31 total 228 20:20:31 drwxrwxr-x 9 jenkins jenkins 4096 May 10 20:16 . 20:20:31 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:14 .. 20:20:31 drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:14 .git 20:20:31 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:14 .github 20:20:31 -rw-rw-r-- 1 jenkins jenkins 496 May 10 20:14 .gitignore 20:20:31 -rw-rw-r-- 1 jenkins jenkins 42 May 10 20:14 .golangci.yml 20:20:31 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 20:14 Attribution.txt 20:20:31 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 20:14 CHANGELOG.md 20:20:31 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 20:14 Dockerfile 20:20:31 -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:14 GOVERNANCE.md 20:20:31 -rw-rw-r-- 1 jenkins jenkins 734 May 10 20:14 Jenkinsfile 20:20:31 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 20:14 LICENSE 20:20:31 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 20:14 Makefile 20:20:31 -rw-rw-r-- 1 jenkins jenkins 625 May 10 20:14 OWNERS.md 20:20:31 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 20:14 README.md 20:20:31 -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:12 VERSION 20:20:31 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:14 bin 20:20:31 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:14 cmd 20:20:31 -rw-r--r-- 1 jenkins jenkins 79213 May 10 20:19 coverage.out 20:20:31 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:14 doc 20:20:31 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 20:14 go.mod 20:20:31 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 20:14 go.sum 20:20:31 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:14 internal 20:20:31 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:14 snap 20:20:31 -rw-rw-r-- 1 jenkins jenkins 236 May 10 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:31 + 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=7ce4a539a20def6796c661962dd9df4631deba7f --label arch=arm64 --label version=0.0.0 . 20:20:32 Sending build context to Docker daemon 14.41MB 20:20:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:20:32 Step 2/26 : FROM ${BASE} AS builder 20:20:32 ---> 1b64e8a7218c 20:20:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:20:32 ---> Running in ae10b0812d3b 20:20:32 Removing intermediate container ae10b0812d3b 20:20:32 ---> 23b3bc5abada 20:20:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:32 ---> Running in 5b9127468245 20:20:32 Removing intermediate container 5b9127468245 20:20:32 ---> 4684ea5bff01 20:20:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:20:32 ---> Running in 469b0444fa46 20:20:33 Removing intermediate container 469b0444fa46 20:20:33 ---> e36d7c995dee 20:20:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:20:33 ---> Running in df9af15859b4 20:20:33 Removing intermediate container df9af15859b4 20:20:33 ---> abe925acf7c6 20:20:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:20:33 ---> Running in 25d13f16fcc7 20:20:33 Removing intermediate container 25d13f16fcc7 20:20:33 ---> ca0bebc1000c 20:20:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:33 ---> Running in 4af3144ba707 20:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:20:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:20:36 OK: 263 MiB in 53 packages 20:20:37 Removing intermediate container 4af3144ba707 20:20:37 ---> a355f5e16b03 20:20:37 Step 9/26 : WORKDIR /device-onvif-camera 20:20:37 ---> Running in 068914cc3944 20:20:37 Removing intermediate container 068914cc3944 20:20:37 ---> c5ef5fe5bbcd 20:20:37 Step 10/26 : COPY go.mod vendor* ./ 20:20:40 ---> 85ca267b49aa 20:20:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:40 ---> Running in 2c7c387301ec 20:20:42 Removing intermediate container 2c7c387301ec 20:20:42 ---> a5bb3249bf9a 20:20:42 Step 12/26 : COPY . . 20:20:43 ---> f63c464a0771 20:20:43 Step 13/26 : RUN ${MAKE} 20:20:43 ---> Running in a2e3fb2ed963 20:20:44 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 20:23:06 Removing intermediate container a2e3fb2ed963 20:23:06 ---> 167ca571cd8c 20:23:06 Step 14/26 : FROM alpine:3.17 20:23:06 3.17: Pulling from library/alpine 20:23:06 c41833b44d91: Already exists 20:23:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:23:06 Status: Downloaded newer image for alpine:3.17 20:23:06 ---> 51e60588ff2c 20:23:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:23:06 ---> Running in e8b09812041f 20:23:06 Removing intermediate container e8b09812041f 20:23:06 ---> 465dc16549f8 20:23:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:23:06 ---> Running in 6f9919bcb044 20:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:23:06 (1/1) Installing dumb-init (1.2.5-r2) 20:23:06 Executing busybox-1.35.0-r29.trigger 20:23:06 OK: 8 MiB in 16 packages 20:23:06 Removing intermediate container 6f9919bcb044 20:23:06 ---> 655e77714be3 20:23:06 Step 17/26 : WORKDIR / 20:23:06 ---> Running in 76a77c019981 20:23:06 Removing intermediate container 76a77c019981 20:23:06 ---> 55ac09da1a6b 20:23:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:23:07 ---> 3665cd776b5a 20:23:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:23:07 ---> 9559b6c1021d 20:23:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:23:08 ---> 0cf93928ea63 20:23:08 Step 21/26 : EXPOSE 59984 20:23:08 ---> Running in 183147eb4a95 20:23:08 Removing intermediate container 183147eb4a95 20:23:08 ---> 3caafbbc648f 20:23:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:23:08 ---> Running in 137602ae0d6d 20:23:08 Removing intermediate container 137602ae0d6d 20:23:08 ---> c7c643cfbf27 20:23:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:23:08 ---> Running in 4769c3a090d3 20:23:09 Removing intermediate container 4769c3a090d3 20:23:09 ---> db7bb88cbfb8 20:23:09 Step 24/26 : LABEL arch=arm64 20:23:09 ---> Running in c8f60f43c470 20:23:09 Removing intermediate container c8f60f43c470 20:23:09 ---> 9a3864963cb5 20:23:09 Step 25/26 : LABEL git_sha=7ce4a539a20def6796c661962dd9df4631deba7f 20:23:09 ---> Running in 7e7bb35a4b7d 20:23:10 Removing intermediate container 7e7bb35a4b7d 20:23:10 ---> 209cb06ca9fb 20:23:10 Step 26/26 : LABEL version=0.0.0 20:23:10 ---> Running in 61b1ef6df95f 20:23:10 Removing intermediate container 61b1ef6df95f 20:23:10 ---> a4d044ca0a9c 20:23:10 [Warning] One or more build-args [ARCH] were not consumed 20:23:10 Successfully built a4d044ca0a9c 20:23:10 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 20:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:10 20:23:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:11 arm64: Pulling from edgex-lftools-log-publisher 20:23:11 8998bd30e6a1: Pulling fs layer 20:23:11 04944245beec: Pulling fs layer 20:23:11 699f458cf7ca: Pulling fs layer 20:23:11 765212b225bb: Pulling fs layer 20:23:11 f23df028b6ca: Pulling fs layer 20:23:11 d65c8cfc05b1: Pulling fs layer 20:23:11 2437ff75d9bd: Pulling fs layer 20:23:11 765212b225bb: Waiting 20:23:11 f23df028b6ca: Waiting 20:23:11 d65c8cfc05b1: Waiting 20:23:11 2437ff75d9bd: Waiting 20:23:11 04944245beec: Verifying Checksum 20:23:11 04944245beec: Download complete 20:23:11 765212b225bb: Download complete 20:23:11 f23df028b6ca: Verifying Checksum 20:23:11 f23df028b6ca: Download complete 20:23:11 d65c8cfc05b1: Download complete 20:23:11 699f458cf7ca: Verifying Checksum 20:23:11 699f458cf7ca: Download complete 20:23:11 8998bd30e6a1: Verifying Checksum 20:23:11 8998bd30e6a1: Download complete 20:23:13 2437ff75d9bd: Verifying Checksum 20:23:13 2437ff75d9bd: Download complete 20:23:18 8998bd30e6a1: Pull complete 20:23:18 04944245beec: Pull complete 20:23:19 699f458cf7ca: Pull complete 20:23:19 765212b225bb: Pull complete 20:23:20 f23df028b6ca: Pull complete 20:23:21 d65c8cfc05b1: Pull complete 20:23:36 2437ff75d9bd: Pull complete 20:23:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:36 prd-ubuntu20.04-docker-arm64-4c-16g-14951 does not seem to be running inside a container 20:23:36 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 20:23:38 $ docker top e79766e3484f780f96764a2c17b46f94f36ce2114322283b05b41177cd2a9d8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:39 ---> job-cost.sh 20:23:39 lf-activate-venv: SKIPPING 20:23:39 INFO: No Stack... 20:23:39 INFO: Retrieving Pricing Info for: v3-standard-4 20:23:40 INFO: Archiving Costs [Pipeline] sh 20:23:41 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 20:23:41 + cut -d, -f6 [Pipeline] lock 20:23:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] 20:23:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] did not exist. Created. 20:23:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:42 /w/workspace/device-onvif-camera/2@tmp/durable-8f8e45a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:42 + echo total: 0.10999999940395355 [Pipeline] stash 20:23:42 Warning: overwriting stash ‘stack-cost’ 20:23:42 Stashed 1 file(s) [Pipeline] } 20:23:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:42 $ docker stop --time=1 e79766e3484f780f96764a2c17b46f94f36ce2114322283b05b41177cd2a9d8f 20:23:44 $ docker rm -f --volumes e79766e3484f780f96764a2c17b46f94f36ce2114322283b05b41177cd2a9d8f [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 20:23:44 provisioning config files... 20:23:44 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-354@tmp/config1539239225673760578tmp [Pipeline] { [Pipeline] sh 20:23:44 + set +x 20:23:44 + bash -s -- 20:23:44 + curl -s https://codecov.io/bash 20:23:44 20:23:44 _____ _ 20:23:44 / ____| | | 20:23:44 | | ___ __| | ___ ___ _____ __ 20:23:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:23:44 | |___| (_) | (_| | __/ (_| (_) \ V / 20:23:44 \_____\___/ \__,_|\___|\___\___/ \_/ 20:23:44 Bash-1.0.6 20:23:44 20:23:44 20:23:44 ==> git version 2.25.1 found 20:23:44 ==> 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 20:23:44 Release-Date: 2020-01-08 20:23:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:23:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:23:44 ==> Jenkins CI detected. 20:23:44 current dir:  /w/workspace/undry_device-onvif-camera_PR-354 20:23:44 project root: . 20:23:44 --> token set from env 20:23:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:23:44 ==> Running gcov in . (disable via -X gcov) 20:23:44 ==> Python coveragepy not found 20:23:44 ==> Searching for coverage reports in: 20:23:44 + . 20:23:44 -> Found 1 reports 20:23:44 ==> Detecting git/mercurial file structure 20:23:45 ==> Reading reports 20:23:45 + ./coverage.out bytes=79213 20:23:45 ==> Appending adjustments 20:23:45 https://docs.codecov.io/docs/fixing-reports 20:23:45 + Found adjustments 20:23:45 ==> Gzipping contents 20:23:45 12K /tmp/codecov.THmTLP.gz 20:23:45 ==> Uploading reports 20:23:45 url: https://codecov.io 20:23:45 query: branch=PR-354&commit=7ce4a539a20def6796c661962dd9df4631deba7f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=354&job=&cmd_args= 20:23:45 -> Pinging Codecov 20:23:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-354&commit=7ce4a539a20def6796c661962dd9df4631deba7f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=354&job=&cmd_args= 20:23:45 -> Uploading to 20:23:45 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/F29A59C45E3A92E06B3E522C9905F8EF/7ce4a539a20def6796c661962dd9df4631deba7f/fb6e6a5c-8502-4708-9a8c-bcc94f5e7225.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T202345Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00de5cbe78fff290c1e3e839cec4d8d4de471f8cad7efe46f3efb84a125d4e69 20:23:45 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:45 Dload Upload Total Spent Left Speed 20:23:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 50146 --:--:-- --:--:-- --:--:-- 50146 20:23:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7ce4a539a20def6796c661962dd9df4631deba7f [Pipeline] } 20:23:45 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 20:23:46 + [ -d /w/workspace/undry_device-onvif-camera_PR-354/archives ] 20:23:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-354/archives 20:23:46 total 16 20:23:46 drwxr-xr-x 3 root root 4096 May 10 20:14 . 20:23:46 drwxrwxr-x 11 jenkins jenkins 4096 May 10 20:14 .. 20:23:46 drwxr-xr-x 2 root root 4096 May 10 20:14 cost 20:23:46 -rw-r--r-- 1 root root 91 May 10 20:14 cost.csv 20:23:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-354/archives 20:23:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-354/archives 20:23:46 total 16 20:23:46 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:14 . 20:23:46 drwxrwxr-x 11 jenkins jenkins 4096 May 10 20:14 .. 20:23:46 drwxr-xr-x 2 jenkins jenkins 4096 May 10 20:14 cost 20:23:46 -rw-r--r-- 1 jenkins jenkins 91 May 10 20:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:23:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:23:47 ---> package-listing.sh 20:23:47 ++ facter osfamily 20:23:47 ++ tr '[:upper:]' '[:lower:]' 20:23:47 + OS_FAMILY=debian 20:23:47 + workspace=/w/workspace/undry_device-onvif-camera_PR-354 20:23:47 + START_PACKAGES=/tmp/packages_start.txt 20:23:47 + END_PACKAGES=/tmp/packages_end.txt 20:23:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:23:47 + PACKAGES=/tmp/packages_start.txt 20:23:47 + '[' /w/workspace/undry_device-onvif-camera_PR-354 ']' 20:23:47 + PACKAGES=/tmp/packages_end.txt 20:23:47 + case "${OS_FAMILY}" in 20:23:47 + dpkg -l 20:23:47 + grep '^ii' 20:23:47 + '[' -f /tmp/packages_start.txt ']' 20:23:47 + '[' -f /tmp/packages_end.txt ']' 20:23:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:23:47 + '[' /w/workspace/undry_device-onvif-camera_PR-354 ']' 20:23:47 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-354/archives/ 20:23:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-354/archives/ [Pipeline] echo 20:23:47 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:23:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:48 prd-ubuntu20.04-docker-8c-8g-14950 does not seem to be running inside a container 20:23:48 $ 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-354/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-354 -v /w/workspace/undry_device-onvif-camera_PR-354:/w/workspace/undry_device-onvif-camera_PR-354:rw,z -v /w/workspace/undry_device-onvif-camera_PR-354@tmp:/w/workspace/undry_device-onvif-camera_PR-354@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 20:23:48 $ docker top 6068a45f7e90103a9ed00cc714c29abceb6cbbae2eb36a765f391afdd8386bae -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:49 + touch /tmp/pre-build-complete [Pipeline] sh 20:23:49 + mkdir -p /var/log/sysstat [Pipeline] sh 20:23:49 + ls /var/log/sa-host 20:23:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:49 provisioning config files... 20:23:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-354@tmp/config3567251919263959012tmp [Pipeline] { [Pipeline] echo 20:23:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> create-netrc.sh [Pipeline] } 20:23:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> python-tools-install.sh [Pipeline] echo 20:23:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> sudo-logs.sh 20:23:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:23:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:23:51 ---> job-cost.sh 20:23:51 lf-activate-venv: SKIPPING 20:23:51 DEBUG: total: 0.2199999988079071 20:23:51 INFO: Retrieving Stack Cost... 20:23:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:23:52 INFO: Archiving Costs [Pipeline] echo 20:23:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:23:52 ---> logs-deploy.sh 20:23:52 lf-activate-venv: SKIPPING 20:23:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-354/2 20:23:52 INFO: archiving workspace using pattern(s): 20:23:53 Archives upload complete. 20:23:53 INFO: archiving logs to Nexus