Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 rather than 45d4da5952707b0a5a33c75d23bcf1dc6dbaefd4 Obtained Jenkinsfile from b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 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-ssh5368167575371439749.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-ssh14241755322544694457.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9697519195341523047.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-ssh5575779348516964692.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh950743602649709240.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14580 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit 45d4da5952707b0a5a33c75d23bcf1dc6dbaefd4 Merge succeeded, producing c6389369434a2e71940a3fa73b528b4a4a17b053 Checking out Revision c6389369434a2e71940a3fa73b528b4a4a17b053 (PR-347) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45d4da5952707b0a5a33c75d23bcf1dc6dbaefd4 # 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6389369434a2e71940a3fa73b528b4a4a17b053 # timeout=10 Commit message: "Merge commit 'b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:47:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:47:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:47:46 ========================================================= 23:47:46 EdgeX Global Pipelines Version Info 23:47:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6a656956388baf6eb67e8350e3dcdaf376783fa7 # timeout=10 23:47:47 ------------------- 23:47:47 stable info: 23:47:47 ------------------- 23:47:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:47:47 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:47:47 Message: update stable to v1.0.249 23:47:47 ------------------- 23:47:47 experimental info: 23:47:47 ------------------- 23:47:47 Commited By: **** collab-it+edgex@linuxfoundation.org 23:47:47 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:47:47 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:47:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6389369434a2e71940a3fa73b528b4a4a17b053 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c638936 [Pipeline] echo 23:47:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:48 provisioning config files... 23:47:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config8633713798359861420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:48 ---> docker-login.sh 23:47:48 nexus3.edgexfoundry.org:10001 23:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:49 Configure a credential helper to remove this warning. See 23:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:49 23:47:49 Login Succeeded 23:47:49 nexus3.edgexfoundry.org:10002 23:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:49 Configure a credential helper to remove this warning. See 23:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:49 23:47:49 Login Succeeded 23:47:49 nexus3.edgexfoundry.org:10003 23:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:49 Configure a credential helper to remove this warning. See 23:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:49 23:47:49 Login Succeeded 23:47:49 nexus3.edgexfoundry.org:10004 23:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:49 Configure a credential helper to remove this warning. See 23:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:49 23:47:49 Login Succeeded 23:47:49 docker.io 23:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:49 Configure a credential helper to remove this warning. See 23:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:49 23:47:49 Login Succeeded 23:47:49 ---> docker-login.sh ends [Pipeline] } 23:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:47:50 + git rev-list -1 --merges c6389369434a2e71940a3fa73b528b4a4a17b053~1..c6389369434a2e71940a3fa73b528b4a4a17b053 [Pipeline] echo 23:47:50 -----------> git rev-list -1 --merges c6389369434a2e71940a3fa73b528b4a4a17b053~1..c6389369434a2e71940a3fa73b528b4a4a17b053 c6389369434a2e71940a3fa73b528b4a4a17b053 23:47:50 c6389369434a2e71940a3fa73b528b4a4a17b053 [false] [Pipeline] sh 23:47:50 + git log --format=format:%s -1 c6389369434a2e71940a3fa73b528b4a4a17b053 [Pipeline] echo 23:47:50 ========================================================= 23:47:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:47:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:50 + git log --format=format:%s -1 c6389369434a2e71940a3fa73b528b4a4a17b053 [Pipeline] echo 23:47:51 [semverPrep] GIT_COMMIT: c6389369434a2e71940a3fa73b528b4a4a17b053, Commit Message: Merge commit 'b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141' into HEAD [Pipeline] echo 23:47:51 [semverPrep] This is not a build commit. [Pipeline] sh 23:47:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:47:51 + grep -v github /etc/ssh/ssh_known_hosts 23:47:51 + [ -e /tmp/ssh_known_hosts ] 23:47:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:47:51 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:47:51 sudo tee -a /etc/ssh/ssh_known_hosts 23:47:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:51 23:47:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:52 0.1.4: Pulling from edgex-devops/py-git-semver 23:47:52 b85a868b505f: Pulling fs layer 23:47:52 e2be974225ed: Pulling fs layer 23:47:52 339a4e72a1f5: Pulling fs layer 23:47:52 988bab9f4d93: Pulling fs layer 23:47:52 1469e6f7b9e6: Pulling fs layer 23:47:52 eaf3925da568: Pulling fs layer 23:47:52 bab4dde63d76: Pulling fs layer 23:47:52 bde34c3a00c8: Pulling fs layer 23:47:52 b352a97aabf1: Pulling fs layer 23:47:52 4872d77fe225: Pulling fs layer 23:47:52 5851b861e8e6: Pulling fs layer 23:47:52 1469e6f7b9e6: Waiting 23:47:52 eaf3925da568: Waiting 23:47:52 bab4dde63d76: Waiting 23:47:52 bde34c3a00c8: Waiting 23:47:52 b352a97aabf1: Waiting 23:47:52 4872d77fe225: Waiting 23:47:52 988bab9f4d93: Waiting 23:47:52 e2be974225ed: Download complete 23:47:52 988bab9f4d93: Verifying Checksum 23:47:52 988bab9f4d93: Download complete 23:47:52 339a4e72a1f5: Verifying Checksum 23:47:52 339a4e72a1f5: Download complete 23:47:52 1469e6f7b9e6: Verifying Checksum 23:47:52 1469e6f7b9e6: Download complete 23:47:52 eaf3925da568: Download complete 23:47:52 bde34c3a00c8: Verifying Checksum 23:47:52 bde34c3a00c8: Download complete 23:47:52 b352a97aabf1: Download complete 23:47:52 4872d77fe225: Download complete 23:47:52 5851b861e8e6: Verifying Checksum 23:47:52 5851b861e8e6: Download complete 23:47:52 b85a868b505f: Download complete 23:47:52 bab4dde63d76: Verifying Checksum 23:47:52 bab4dde63d76: Download complete 23:47:53 b85a868b505f: Pull complete 23:47:53 e2be974225ed: Pull complete 23:47:54 339a4e72a1f5: Pull complete 23:47:54 988bab9f4d93: Pull complete 23:47:54 1469e6f7b9e6: Pull complete 23:47:54 eaf3925da568: Pull complete 23:47:56 bab4dde63d76: Pull complete 23:47:56 bde34c3a00c8: Pull complete 23:47:56 b352a97aabf1: Pull complete 23:47:56 4872d77fe225: Pull complete 23:47:56 5851b861e8e6: Pull complete 23:47:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:47:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:47:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:57 prd-ubuntu20.04-docker-8c-8g-14580 does not seem to be running inside a container 23:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:47:59 $ docker top 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 -eo pid,comm 23:47:59 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). 23:47:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:47:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:59 [ssh-agent] Looking for ssh-agent implementation... 23:47:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:59 $ docker exec 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 ssh-agent 23:47:59 SSH_AUTH_SOCK=/tmp/ssh-wNIbNsOOkk1H/agent.33 23:47:59 SSH_AGENT_PID=39 23:47:59 Running ssh-add (command line suppressed) 23:47:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10983268668480293387.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_10983268668480293387.key) 23:47:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:59 + git tag --points-at HEAD [Pipeline] } 23:47:59 $ docker exec --env ******** --env ******** 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 ssh-agent -k 23:47:59 unset SSH_AUTH_SOCK; 23:47:59 unset SSH_AGENT_PID; 23:47:59 echo Agent pid 39 killed; 23:47:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:47:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:59 [ssh-agent] Looking for ssh-agent implementation... 23:48:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:48:00 $ docker exec 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 ssh-agent 23:48:00 SSH_AUTH_SOCK=/tmp/ssh-2hDfgWYlNq2N/agent.72 23:48:00 SSH_AGENT_PID=78 23:48:00 Running ssh-add (command line suppressed) 23:48:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_800949414046917970.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_800949414046917970.key) 23:48:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:48:00 + git semver init 23:48:00 2023-05-08 23:48:00,838 [run_init] DEBUG init version:0.0.0 force:False 23:48:00 2023-05-08 23:48:00,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 23:48:00 2023-05-08 23:48:00,839 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 23:48:00 2023-05-08 23:48:00,839 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 23:48:01 2023-05-08 23:48:01,759 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 23:48:01 2023-05-08 23:48:01,760 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 23:48:01 2023-05-08 23:48:01,760 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 23:48:01 2023-05-08 23:48:01,765 [execute] INFO git cat-file --batch-check 23:48:01 2023-05-08 23:48:01,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 23:48:01 2023-05-08 23:48:01,771 [execute] INFO git cat-file --batch 23:48:01 2023-05-08 23:48:01,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 23:48:01 2023-05-08 23:48:01,776 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 23:48:01 0.0.0 [Pipeline] } 23:48:01 $ docker exec --env ******** --env ******** 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 ssh-agent -k 23:48:01 unset SSH_AUTH_SOCK; 23:48:01 unset SSH_AGENT_PID; 23:48:01 echo Agent pid 78 killed; 23:48:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:48:02 + git semver [Pipeline] } 23:48:02 $ docker stop --time=1 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 23:48:03 $ docker rm -f --volumes 39a44d2c293a42b42e918a760db3ebb8121cf73d1538d135802c8276baaa3349 [Pipeline] // withDockerContainer [Pipeline] sh 23:48:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:48:04 Stashed 1 file(s) [Pipeline] echo 23:48:04 [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 23:48:04 provisioning config files... 23:48:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config9717986361768167355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:04 ---> docker-login.sh 23:48:04 nexus3.edgexfoundry.org:10001 23:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:04 Configure a credential helper to remove this warning. See 23:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:04 23:48:04 Login Succeeded 23:48:04 nexus3.edgexfoundry.org:10002 23:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:05 Configure a credential helper to remove this warning. See 23:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:05 23:48:05 Login Succeeded 23:48:05 nexus3.edgexfoundry.org:10003 23:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:05 Configure a credential helper to remove this warning. See 23:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:05 23:48:05 Login Succeeded 23:48:05 nexus3.edgexfoundry.org:10004 23:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:05 Configure a credential helper to remove this warning. See 23:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:05 23:48:05 Login Succeeded 23:48:05 docker.io 23:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:05 Configure a credential helper to remove this warning. See 23:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:05 23:48:05 Login Succeeded 23:48:05 ---> docker-login.sh ends [Pipeline] } 23:48:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:48:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:05 ========================================================= 23:48:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:48:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:06 + 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 . 23:48:06 Sending build context to Docker daemon 22MB 23:48:06 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:48:06 Step 2/13 : FROM ${BASE} AS builder 23:48:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:48:06 f56be85fc22e: Pulling fs layer 23:48:06 85791d961cd3: Pulling fs layer 23:48:06 d694b5ae8c79: Pulling fs layer 23:48:06 9f32a84ed3da: Pulling fs layer 23:48:06 4d19c01a9841: Pulling fs layer 23:48:06 9325e15d5711: Pulling fs layer 23:48:06 556b6ee489ea: Pulling fs layer 23:48:06 9f32a84ed3da: Waiting 23:48:06 4d19c01a9841: Waiting 23:48:06 9325e15d5711: Waiting 23:48:06 c5a4b2cf53e6: Pulling fs layer 23:48:06 c5a4b2cf53e6: Waiting 23:48:06 85791d961cd3: Verifying Checksum 23:48:06 85791d961cd3: Download complete 23:48:06 9f32a84ed3da: Download complete 23:48:06 4d19c01a9841: Download complete 23:48:06 f56be85fc22e: Verifying Checksum 23:48:06 f56be85fc22e: Download complete 23:48:06 9325e15d5711: Verifying Checksum 23:48:06 9325e15d5711: Download complete 23:48:06 f56be85fc22e: Pull complete 23:48:06 85791d961cd3: Pull complete 23:48:07 c5a4b2cf53e6: Verifying Checksum 23:48:07 c5a4b2cf53e6: Download complete 23:48:07 d694b5ae8c79: Verifying Checksum 23:48:07 d694b5ae8c79: Download complete 23:48:07 556b6ee489ea: Verifying Checksum 23:48:07 556b6ee489ea: Download complete 23:48:10 d694b5ae8c79: Pull complete 23:48:10 9f32a84ed3da: Pull complete 23:48:10 4d19c01a9841: Pull complete 23:48:10 9325e15d5711: Pull complete 23:48:13 556b6ee489ea: Pull complete 23:48:14 c5a4b2cf53e6: Pull complete 23:48:14 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:48:14 ---> c4be618373d6 23:48:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:48:18 ---> Running in ec11dfd1706a 23:48:18 Removing intermediate container ec11dfd1706a 23:48:18 ---> b70570541ed2 23:48:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:18 ---> Running in 85f97ddc8ee7 23:48:18 Removing intermediate container 85f97ddc8ee7 23:48:18 ---> 72164afb2227 23:48:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:48:18 ---> Running in c987b8f7d937 23:48:18 Removing intermediate container c987b8f7d937 23:48:18 ---> 6a7f23e2b007 23:48:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:48:18 ---> Running in 4d783b695078 23:48:18 Removing intermediate container 4d783b695078 23:48:18 ---> 15ebe45c06d8 23:48:18 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:48:18 ---> Running in 0bc0dc853e16 23:48:18 Removing intermediate container 0bc0dc853e16 23:48:18 ---> 2cd2db514488 23:48:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:18 ---> Running in 43529b156d5a 23:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:48:18 OK: 265 MiB in 53 packages 23:48:19 Removing intermediate container 43529b156d5a 23:48:19 ---> 7ed7535a5eea 23:48:19 Step 9/13 : WORKDIR /device-onvif-camera 23:48:19 ---> Running in 35e63711a7a5 23:48:19 Removing intermediate container 35e63711a7a5 23:48:19 ---> c6b7ea3f2eb3 23:48:19 Step 10/13 : COPY go.mod vendor* ./ 23:48:19 ---> fd0ac08e86f3 23:48:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:19 ---> Running in 8bb92095ab34 23:48:19 Still waiting to schedule task 23:48:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:48:46 Removing intermediate container 8bb92095ab34 23:48:46 ---> 43e42b54734e 23:48:46 Step 12/13 : COPY . . 23:48:46 ---> a7b4f865d5cc 23:48:46 Step 13/13 : RUN ${MAKE} 23:48:46 ---> Running in 1c81641addb3 23:48:46 noop 23:48:46 Removing intermediate container 1c81641addb3 23:48:46 ---> 5aa40099f809 23:48:46 Successfully built 5aa40099f809 23:48:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:46 + docker inspect -f . ci-base-image-x86_64 23:48:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:46 prd-ubuntu20.04-docker-8c-8g-14580 does not seem to be running inside a container 23:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:48:47 $ docker top fdd2d9005fd245f6ad6863d37c3692110cfb462b4f56b3de51397f3ca538fdd5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:47 + go version 23:48:47 go version go1.20.2 linux/amd64 [Pipeline] } 23:48:47 $ docker stop --time=1 fdd2d9005fd245f6ad6863d37c3692110cfb462b4f56b3de51397f3ca538fdd5 23:48:48 $ docker rm -f --volumes fdd2d9005fd245f6ad6863d37c3692110cfb462b4f56b3de51397f3ca538fdd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:49 + docker inspect -f . ci-base-image-x86_64 23:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:49 prd-ubuntu20.04-docker-8c-8g-14580 does not seem to be running inside a container 23:48:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:48:49 $ docker top 62b555336e5081eb0e3bc7cb7efb8ac013d807eb48ed735bebf2e3314fbf2b0c -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:49 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 23:48:50 + make test 23:48:50 go test ./... -coverprofile=coverage.out ./... 23:48:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:49:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:49:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:49:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 30.9% of statements 23:49:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.367s coverage: 86.5% of statements 23:49:17 go vet ./... 23:49:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:49:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:49:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:49:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:49:20 $ docker stop --time=1 62b555336e5081eb0e3bc7cb7efb8ac013d807eb48ed735bebf2e3314fbf2b0c 23:49:23 $ docker rm -f --volumes 62b555336e5081eb0e3bc7cb7efb8ac013d807eb48ed735bebf2e3314fbf2b0c [Pipeline] // withDockerContainer [Pipeline] sh 23:49:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:49:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:49:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:49:25 + ls -al . 23:49:25 total 232 23:49:25 drwxrwxr-x 10 jenkins jenkins 4096 May 8 23:48 . 23:49:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:47 .. 23:49:25 drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:48 .git 23:49:25 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:47 .github 23:49:25 -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:47 .gitignore 23:49:25 -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:47 .golangci.yml 23:49:25 drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:48 .semver 23:49:25 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:47 Attribution.txt 23:49:25 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:47 CHANGELOG.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:47 Dockerfile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:47 GOVERNANCE.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:47 Jenkinsfile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:47 LICENSE 23:49:25 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:47 Makefile 23:49:25 -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:47 OWNERS.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:47 README.md 23:49:25 -rw-rw-r-- 1 jenkins jenkins 5 May 8 23:48 VERSION 23:49:25 drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:47 bin 23:49:25 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:47 cmd 23:49:25 -rw-r--r-- 1 jenkins jenkins 79213 May 8 23:49 coverage.out 23:49:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:47 doc 23:49:25 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:47 go.mod 23:49:25 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:47 go.sum 23:49:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:47 internal 23:49:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:47 snap 23:49:25 -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:25 + 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=c6389369434a2e71940a3fa73b528b4a4a17b053 --label arch=amd64 --label version=0.0.0 . 23:49:25 Sending build context to Docker daemon 22.08MB 23:49:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:49:25 Step 2/26 : FROM ${BASE} AS builder 23:49:25 ---> 5aa40099f809 23:49:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:49:25 ---> Running in 0cade4f76e77 23:49:25 Removing intermediate container 0cade4f76e77 23:49:25 ---> 5011af86b214 23:49:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:25 ---> Running in c4704bfe785e 23:49:26 Removing intermediate container c4704bfe785e 23:49:26 ---> 9a3f69fc2b41 23:49:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:49:26 ---> Running in 1eb2bd004eec 23:49:26 Removing intermediate container 1eb2bd004eec 23:49:26 ---> ae08b0a55a0f 23:49:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:49:26 ---> Running in b2d5f17e41ea 23:49:26 Removing intermediate container b2d5f17e41ea 23:49:26 ---> 7b6d57f6ab1c 23:49:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:49:26 ---> Running in b1a0f2a41013 23:49:26 Removing intermediate container b1a0f2a41013 23:49:26 ---> b5ef8f4a3ede 23:49:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:49:26 ---> Running in 4b5f0f6ea8c5 23:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:49:26 OK: 265 MiB in 53 packages 23:49:27 Removing intermediate container 4b5f0f6ea8c5 23:49:27 ---> de2c52f6aa6a 23:49:27 Step 9/26 : WORKDIR /device-onvif-camera 23:49:27 ---> Running in 4cee79258d99 23:49:27 Removing intermediate container 4cee79258d99 23:49:27 ---> dc400a66fd50 23:49:27 Step 10/26 : COPY go.mod vendor* ./ 23:49:27 ---> 475b6ff72aee 23:49:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:27 ---> Running in 9da68bb42100 23:49:28 Removing intermediate container 9da68bb42100 23:49:28 ---> 462137ed73b8 23:49:28 Step 12/26 : COPY . . 23:49:29 ---> 9a59215d2ac8 23:49:29 Step 13/26 : RUN ${MAKE} 23:49:29 ---> Running in 0dbdc30fd109 23:49:29 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 23:49:51 Removing intermediate container 0dbdc30fd109 23:49:51 ---> 672b84ee60ba 23:49:51 Step 14/26 : FROM alpine:3.17 23:49:51 3.17: Pulling from library/alpine 23:49:51 f56be85fc22e: Already exists 23:49:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:49:51 Status: Downloaded newer image for alpine:3.17 23:49:51 ---> 9ed4aefc74f6 23:49:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:49:51 ---> Running in 9ee8f0e2bf07 23:49:51 Removing intermediate container 9ee8f0e2bf07 23:49:51 ---> 03f9b23cabca 23:49:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:49:51 ---> Running in 1106a820b9f5 23:49:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:49:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:49:51 (1/1) Installing dumb-init (1.2.5-r2) 23:49:51 Executing busybox-1.35.0-r29.trigger 23:49:51 OK: 7 MiB in 16 packages 23:49:51 Removing intermediate container 1106a820b9f5 23:49:51 ---> a721314ec4ec 23:49:51 Step 17/26 : WORKDIR / 23:49:51 ---> Running in b32712441d14 23:49:51 Removing intermediate container b32712441d14 23:49:51 ---> ac31d3d47732 23:49:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:49:51 ---> a642160f0b50 23:49:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:49:51 ---> 347d9d29c768 23:49:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:49:51 ---> da54432d13fe 23:49:51 Step 21/26 : EXPOSE 59984 23:49:51 ---> Running in 9a6d0c98e5d7 23:49:51 Removing intermediate container 9a6d0c98e5d7 23:49:51 ---> 0f58f72a1a8e 23:49:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:49:51 ---> Running in 774a48455bf1 23:49:51 Removing intermediate container 774a48455bf1 23:49:51 ---> 569b99e9d25f 23:49:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:49:51 ---> Running in a95ab39eafd7 23:49:51 Removing intermediate container a95ab39eafd7 23:49:51 ---> e538c3bbb1ac 23:49:51 Step 24/26 : LABEL arch=amd64 23:49:51 ---> Running in ec3ef0bd7c00 23:49:51 Removing intermediate container ec3ef0bd7c00 23:49:51 ---> 4198b30eb98e 23:49:51 Step 25/26 : LABEL git_sha=c6389369434a2e71940a3fa73b528b4a4a17b053 23:49:51 ---> Running in 32a098378750 23:49:51 Removing intermediate container 32a098378750 23:49:51 ---> d502639c89c0 23:49:51 Step 26/26 : LABEL version=0.0.0 23:49:51 ---> Running in c3df90445472 23:49:51 Removing intermediate container c3df90445472 23:49:51 ---> faf408b9e8db 23:49:51 [Warning] One or more build-args [ARCH] were not consumed 23:49:51 Successfully built faf408b9e8db 23:49:51 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 23:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:52 23:49:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:52 latest: Pulling from edgex-lftools-log-publisher 23:49:52 5eb5b503b376: Pulling fs layer 23:49:52 5c69ac0246d0: Pulling fs layer 23:49:52 ec43610c2a17: Pulling fs layer 23:49:52 3a2ae6a8a46f: Pulling fs layer 23:49:52 33b1e0a273af: Pulling fs layer 23:49:52 5d3b04190fa2: Pulling fs layer 23:49:52 2f39f015ded8: Pulling fs layer 23:49:52 3a2ae6a8a46f: Waiting 23:49:52 5d3b04190fa2: Waiting 23:49:52 2f39f015ded8: Waiting 23:49:52 5c69ac0246d0: Verifying Checksum 23:49:52 5c69ac0246d0: Download complete 23:49:52 3a2ae6a8a46f: Download complete 23:49:52 33b1e0a273af: Verifying Checksum 23:49:52 33b1e0a273af: Download complete 23:49:52 ec43610c2a17: Verifying Checksum 23:49:52 ec43610c2a17: Download complete 23:49:52 5d3b04190fa2: Verifying Checksum 23:49:52 5d3b04190fa2: Download complete 23:49:52 5eb5b503b376: Verifying Checksum 23:49:52 5eb5b503b376: Download complete 23:49:54 5eb5b503b376: Pull complete 23:49:54 5c69ac0246d0: Pull complete 23:49:54 ec43610c2a17: Pull complete 23:49:54 3a2ae6a8a46f: Pull complete 23:49:54 33b1e0a273af: Pull complete 23:49:54 5d3b04190fa2: Pull complete 23:49:58 2f39f015ded8: Pull complete 23:49:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:49:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:58 prd-ubuntu20.04-docker-8c-8g-14580 does not seem to be running inside a container 23:49:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:50:01 $ docker top e56505d5eca14fdbc6952dfefdfac064edf5b5e0526ba01bb8fceb2e380847b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:01 ---> job-cost.sh 23:50:01 lf-activate-venv: SKIPPING 23:50:01 INFO: No Stack... 23:50:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:02 INFO: Archiving Costs [Pipeline] sh 23:50:02 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 23:50:02 + cut -d, -f6 [Pipeline] lock 23:50:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] 23:50:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] did not exist. Created. 23:50:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:03 + echo total: 0.2199999988079071 [Pipeline] stash 23:50:03 Stashed 1 file(s) [Pipeline] } 23:50:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:03 $ docker stop --time=1 e56505d5eca14fdbc6952dfefdfac064edf5b5e0526ba01bb8fceb2e380847b3 23:50:04 $ docker rm -f --volumes e56505d5eca14fdbc6952dfefdfac064edf5b5e0526ba01bb8fceb2e380847b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:51:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14581 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 23:51:53 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 23:51:53 The recommended git tool is: git 23:51:59 using credential edgex-jenkins-ssh 23:51:59 Cloning the remote Git repository 23:51:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:51:59 > git init /w/workspace/device-onvif-camera/2 # timeout=10 23:51:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:51:59 > git --version # timeout=10 23:51:59 > git --version # 'git version 2.25.1' 23:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:52:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:52:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:52:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:52:03 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit 45d4da5952707b0a5a33c75d23bcf1dc6dbaefd4 23:52:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:52:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:52:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:52:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:52:03 > git config core.sparsecheckout # timeout=10 23:52:03 > git checkout -f 45d4da5952707b0a5a33c75d23bcf1dc6dbaefd4 # timeout=10 23:52:03 > git remote # timeout=10 23:52:03 > git config --get remote.origin.url # timeout=10 23:52:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:52:03 > git merge b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 23:52:03 Merge succeeded, producing 331b08c8b51cebc19d8e785093f31ab9e5e5f2ac 23:52:03 Checking out Revision 331b08c8b51cebc19d8e785093f31ab9e5e5f2ac (PR-347) 23:52:03 > git rev-parse HEAD^{commit} # timeout=10 23:52:04 > git config core.sparsecheckout # timeout=10 23:52:04 > git checkout -f 331b08c8b51cebc19d8e785093f31ab9e5e5f2ac # timeout=10 23:52:07 Commit message: "Merge commit 'b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141' into HEAD" 23:52:07 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:07 > git rev-list --no-walk 6a656956388baf6eb67e8350e3dcdaf376783fa7 # timeout=10 23:52:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:52:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:52:08 Dload Upload Total Spent Left Speed 23:52:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 23:52:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:52:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:52:09 + sudo tee /etc/docker/daemon.new 23:52:11 { 23:52:11 "registry-mirrors": [ 23:52:11 "https://nexus3.edgexfoundry.org:10001" 23:52:11 ], 23:52:11 "bip": "10.250.0.254/24", 23:52:11 "hosts": [ 23:52:11 "tcp://0.0.0.0:5555", 23:52:11 "unix:///var/run/docker.sock" 23:52:11 ], 23:52:11 "mtu": 1458, 23:52:11 "selinux-enabled": true, 23:52:11 "seccomp-profile": "/etc/docker/seccomp.json" 23:52:11 } [Pipeline] sh 23:52:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:52:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:30 provisioning config files... 23:52:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config5982338920145303343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:31 ---> docker-login.sh 23:52:31 nexus3.edgexfoundry.org:10001 23:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:31 Configure a credential helper to remove this warning. See 23:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:31 23:52:31 Login Succeeded 23:52:31 nexus3.edgexfoundry.org:10002 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 nexus3.edgexfoundry.org:10003 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 nexus3.edgexfoundry.org:10004 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 docker.io 23:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:33 Configure a credential helper to remove this warning. See 23:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:33 23:52:33 Login Succeeded 23:52:33 ---> docker-login.sh ends [Pipeline] } 23:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:33 ========================================================= 23:52:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:52:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:34 + 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 . 23:52:34 Sending build context to Docker daemon 14.65MB 23:52:34 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:52:34 Step 2/13 : FROM ${BASE} AS builder 23:52:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:52:34 c41833b44d91: Pulling fs layer 23:52:34 ed15518f5707: Pulling fs layer 23:52:34 feae8fd75edb: Pulling fs layer 23:52:34 242c74f7c9fa: Pulling fs layer 23:52:34 3cdef696dda3: Pulling fs layer 23:52:34 2ced38df9373: Pulling fs layer 23:52:34 58f1dce35555: Pulling fs layer 23:52:34 242c74f7c9fa: Waiting 23:52:34 2ced38df9373: Waiting 23:52:34 3cdef696dda3: Waiting 23:52:35 ed15518f5707: Verifying Checksum 23:52:35 ed15518f5707: Download complete 23:52:35 242c74f7c9fa: Verifying Checksum 23:52:35 242c74f7c9fa: Download complete 23:52:35 3cdef696dda3: Verifying Checksum 23:52:35 3cdef696dda3: Download complete 23:52:35 c41833b44d91: Download complete 23:52:36 58f1dce35555: Verifying Checksum 23:52:36 58f1dce35555: Download complete 23:52:37 feae8fd75edb: Verifying Checksum 23:52:37 feae8fd75edb: Download complete 23:52:37 2ced38df9373: Verifying Checksum 23:52:37 2ced38df9373: Download complete 23:52:37 c41833b44d91: Pull complete 23:52:38 ed15518f5707: Pull complete 23:52:53 feae8fd75edb: Pull complete 23:52:53 242c74f7c9fa: Pull complete 23:52:53 3cdef696dda3: Pull complete 23:52:58 2ced38df9373: Pull complete 23:53:00 58f1dce35555: Pull complete 23:53:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:53:00 ---> fadd8f120f05 23:53:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:53:02 ---> Running in 2676b188d9f7 23:53:02 Removing intermediate container 2676b188d9f7 23:53:02 ---> 20855e9742c2 23:53:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:02 ---> Running in 30792acb48ed 23:53:03 Removing intermediate container 30792acb48ed 23:53:03 ---> 5b4257028677 23:53:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:53:03 ---> Running in 6bf290aec078 23:53:03 Removing intermediate container 6bf290aec078 23:53:03 ---> 9e327926be64 23:53:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:53:03 ---> Running in 7eac899bcb6d 23:53:04 Removing intermediate container 7eac899bcb6d 23:53:04 ---> 0796a1763880 23:53:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:53:04 ---> Running in 0e7c4d299beb 23:53:04 Removing intermediate container 0e7c4d299beb 23:53:04 ---> 7ce7f4d9289f 23:53:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:04 ---> Running in c7d104200b93 23:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:53:07 OK: 263 MiB in 53 packages 23:53:08 Removing intermediate container c7d104200b93 23:53:08 ---> a794a4f39cb1 23:53:08 Step 9/13 : WORKDIR /device-onvif-camera 23:53:08 ---> Running in 8567be2dbec7 23:53:09 Removing intermediate container 8567be2dbec7 23:53:09 ---> eeb1ffed459a 23:53:09 Step 10/13 : COPY go.mod vendor* ./ 23:53:09 ---> c363bb95f356 23:53:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:09 ---> Running in fb98ad8fdd0f 23:54:17 Removing intermediate container fb98ad8fdd0f 23:54:17 ---> df7c51daef50 23:54:17 Step 12/13 : COPY . . 23:54:17 ---> b44815183f85 23:54:17 Step 13/13 : RUN ${MAKE} 23:54:17 ---> Running in 81784f6c05ab 23:54:17 noop 23:54:17 Removing intermediate container 81784f6c05ab 23:54:17 ---> bf6fdf180001 23:54:17 Successfully built bf6fdf180001 23:54:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:17 + docker inspect -f . ci-base-image-arm64 23:54:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:18 prd-ubuntu20.04-docker-arm64-4c-16g-14581 does not seem to be running inside a container 23:54:18 $ 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 23:54:19 $ docker top 91387717f2cd9c6554ab7ceed6d98249fd50bbd73e69097cc44fc4b2d66e9e09 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:20 + go version 23:54:20 go version go1.20.2 linux/arm64 [Pipeline] } 23:54:20 $ docker stop --time=1 91387717f2cd9c6554ab7ceed6d98249fd50bbd73e69097cc44fc4b2d66e9e09 23:54:22 $ docker rm -f --volumes 91387717f2cd9c6554ab7ceed6d98249fd50bbd73e69097cc44fc4b2d66e9e09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:23 + docker inspect -f . ci-base-image-arm64 23:54:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:23 prd-ubuntu20.04-docker-arm64-4c-16g-14581 does not seem to be running inside a container 23:54:23 $ 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 23:54:24 $ docker top 2309c8aa7470d7f4e20323b72158396b40cac49188c9e5b03cd36b07e4af0a53 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 23:54:26 + make test 23:54:26 go test ./... -coverprofile=coverage.out ./... 23:54:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:57:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:57:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:57:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 30.9% of statements 23:57:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.226s coverage: 86.5% of statements 23:57:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:57:47 go vet ./... 23:58:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:58:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:58:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:58:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:58:19 $ docker stop --time=1 2309c8aa7470d7f4e20323b72158396b40cac49188c9e5b03cd36b07e4af0a53 23:58:21 $ docker rm -f --volumes 2309c8aa7470d7f4e20323b72158396b40cac49188c9e5b03cd36b07e4af0a53 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:58:22 Warning: overwriting stash ‘coverage-report’ 23:58:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:58:24 + ls -al . 23:58:24 total 228 23:58:24 drwxrwxr-x 9 jenkins jenkins 4096 May 8 23:54 . 23:58:24 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:51 .. 23:58:24 drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:52 .git 23:58:24 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:52 .github 23:58:24 -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:52 .gitignore 23:58:24 -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:52 .golangci.yml 23:58:24 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:52 Attribution.txt 23:58:24 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:52 CHANGELOG.md 23:58:24 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:52 Dockerfile 23:58:24 -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:52 GOVERNANCE.md 23:58:24 -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:52 Jenkinsfile 23:58:24 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:52 LICENSE 23:58:24 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:52 Makefile 23:58:24 -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:52 OWNERS.md 23:58:24 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:52 README.md 23:58:24 -rw-rw-r-- 1 jenkins jenkins 5 May 8 23:48 VERSION 23:58:24 drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:52 bin 23:58:24 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:52 cmd 23:58:24 -rw-r--r-- 1 jenkins jenkins 79213 May 8 23:57 coverage.out 23:58:24 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:52 doc 23:58:24 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:52 go.mod 23:58:24 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:52 go.sum 23:58:24 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:52 internal 23:58:24 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:52 snap 23:58:24 -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:24 + 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=331b08c8b51cebc19d8e785093f31ab9e5e5f2ac --label arch=arm64 --label version=0.0.0 . 23:58:25 Sending build context to Docker daemon 14.73MB 23:58:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:58:25 Step 2/26 : FROM ${BASE} AS builder 23:58:25 ---> bf6fdf180001 23:58:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:58:25 ---> Running in 4371d16a0d02 23:58:25 Removing intermediate container 4371d16a0d02 23:58:25 ---> 947b61c4c60e 23:58:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:58:25 ---> Running in 21ceb8e5e7b3 23:58:25 Removing intermediate container 21ceb8e5e7b3 23:58:25 ---> 34fa6e30ce1c 23:58:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:58:25 ---> Running in 0ddb6e287e58 23:58:26 Removing intermediate container 0ddb6e287e58 23:58:26 ---> 37108ae4f95f 23:58:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:58:26 ---> Running in 240d5c9eb847 23:58:26 Removing intermediate container 240d5c9eb847 23:58:26 ---> 128c6dc42104 23:58:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:58:26 ---> Running in e7af5637cceb 23:58:27 Removing intermediate container e7af5637cceb 23:58:27 ---> 52dbe3c6853c 23:58:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:27 ---> Running in d9b29e26ba9c 23:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:58:30 OK: 263 MiB in 53 packages 23:58:30 Removing intermediate container d9b29e26ba9c 23:58:30 ---> 0836a9c231e1 23:58:30 Step 9/26 : WORKDIR /device-onvif-camera 23:58:30 ---> Running in 0c0dc596da33 23:58:30 Removing intermediate container 0c0dc596da33 23:58:30 ---> f7abca0a6272 23:58:30 Step 10/26 : COPY go.mod vendor* ./ 23:58:31 ---> fb1e1f02c0cc 23:58:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:31 ---> Running in c1d74b25ba6a 23:58:34 Removing intermediate container c1d74b25ba6a 23:58:34 ---> efffacc70e0b 23:58:34 Step 12/26 : COPY . . 23:58:35 ---> 43583f9c190c 23:58:35 Step 13/26 : RUN ${MAKE} 23:58:35 ---> Running in e3bbbc9b260f 23:58:36 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 00:01:13 Removing intermediate container e3bbbc9b260f 00:01:13 ---> 9638b494fc5d 00:01:13 Step 14/26 : FROM alpine:3.17 00:01:13 3.17: Pulling from library/alpine 00:01:13 c41833b44d91: Already exists 00:01:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:01:13 Status: Downloaded newer image for alpine:3.17 00:01:13 ---> 51e60588ff2c 00:01:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:01:13 ---> Running in e83db1122e79 00:01:13 Removing intermediate container e83db1122e79 00:01:13 ---> d28efddfefc6 00:01:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:01:13 ---> Running in 54be8a96f254 00:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:01:13 (1/1) Installing dumb-init (1.2.5-r2) 00:01:13 Executing busybox-1.35.0-r29.trigger 00:01:13 OK: 8 MiB in 16 packages 00:01:13 Removing intermediate container 54be8a96f254 00:01:13 ---> 0e9a3f09e702 00:01:13 Step 17/26 : WORKDIR / 00:01:13 ---> Running in 3077ed9f7de3 00:01:13 Removing intermediate container 3077ed9f7de3 00:01:13 ---> a0b89fdaefb6 00:01:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:01:13 ---> 55527d503062 00:01:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:01:13 ---> 20eba1c7fe9a 00:01:13 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:01:13 ---> a45c47ccca0d 00:01:13 Step 21/26 : EXPOSE 59984 00:01:13 ---> Running in 3b3017a87af9 00:01:13 Removing intermediate container 3b3017a87af9 00:01:13 ---> 6c410c330f40 00:01:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:01:13 ---> Running in 15e24fefbab5 00:01:13 Removing intermediate container 15e24fefbab5 00:01:13 ---> 208465a7fd7a 00:01:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:01:13 ---> Running in 1faf3da83720 00:01:13 Removing intermediate container 1faf3da83720 00:01:13 ---> a09b5e0ab6e8 00:01:13 Step 24/26 : LABEL arch=arm64 00:01:13 ---> Running in 956038354b3e 00:01:13 Removing intermediate container 956038354b3e 00:01:13 ---> 92bd58efb480 00:01:13 Step 25/26 : LABEL git_sha=331b08c8b51cebc19d8e785093f31ab9e5e5f2ac 00:01:13 ---> Running in f1537119ac95 00:01:13 Removing intermediate container f1537119ac95 00:01:13 ---> 1000bbba4906 00:01:13 Step 26/26 : LABEL version=0.0.0 00:01:13 ---> Running in 75cbdb41f7b3 00:01:13 Removing intermediate container 75cbdb41f7b3 00:01:13 ---> 52d129f82ace 00:01:13 [Warning] One or more build-args [ARCH] were not consumed 00:01:13 Successfully built 52d129f82ace 00:01:13 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 00:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:14 00:01:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:14 arm64: Pulling from edgex-lftools-log-publisher 00:01:14 8998bd30e6a1: Pulling fs layer 00:01:14 04944245beec: Pulling fs layer 00:01:14 699f458cf7ca: Pulling fs layer 00:01:14 765212b225bb: Pulling fs layer 00:01:14 f23df028b6ca: Pulling fs layer 00:01:14 d65c8cfc05b1: Pulling fs layer 00:01:14 2437ff75d9bd: Pulling fs layer 00:01:14 f23df028b6ca: Waiting 00:01:14 d65c8cfc05b1: Waiting 00:01:14 765212b225bb: Waiting 00:01:14 2437ff75d9bd: Waiting 00:01:14 04944245beec: Verifying Checksum 00:01:14 04944245beec: Download complete 00:01:14 765212b225bb: Verifying Checksum 00:01:14 765212b225bb: Download complete 00:01:14 f23df028b6ca: Download complete 00:01:15 d65c8cfc05b1: Verifying Checksum 00:01:15 d65c8cfc05b1: Download complete 00:01:15 699f458cf7ca: Verifying Checksum 00:01:15 699f458cf7ca: Download complete 00:01:15 8998bd30e6a1: Verifying Checksum 00:01:15 8998bd30e6a1: Download complete 00:01:17 2437ff75d9bd: Verifying Checksum 00:01:17 2437ff75d9bd: Download complete 00:01:22 8998bd30e6a1: Pull complete 00:01:22 04944245beec: Pull complete 00:01:23 699f458cf7ca: Pull complete 00:01:23 765212b225bb: Pull complete 00:01:24 f23df028b6ca: Pull complete 00:01:24 d65c8cfc05b1: Pull complete 00:01:36 2437ff75d9bd: Pull complete 00:01:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:37 prd-ubuntu20.04-docker-arm64-4c-16g-14581 does not seem to be running inside a container 00:01:37 $ 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 00:01:40 $ docker top 1098e97cb89fcf4aea6e0c5d808ccc05adddd390c8df4db9da877b32e3d41504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:41 ---> job-cost.sh 00:01:41 lf-activate-venv: SKIPPING 00:01:41 INFO: No Stack... 00:01:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:01:42 INFO: Archiving Costs [Pipeline] sh 00:01:43 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 00:01:43 + cut -d, -f6 [Pipeline] lock 00:01:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] 00:01:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] did not exist. Created. 00:01:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:43 /w/workspace/device-onvif-camera/2@tmp/durable-5c86442e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:01:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:01:44 Warning: overwriting stash ‘stack-cost’ 00:01:44 Stashed 1 file(s) [Pipeline] } 00:01:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:44 $ docker stop --time=1 1098e97cb89fcf4aea6e0c5d808ccc05adddd390c8df4db9da877b32e3d41504 00:01:45 $ docker rm -f --volumes 1098e97cb89fcf4aea6e0c5d808ccc05adddd390c8df4db9da877b32e3d41504 [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 00:01:46 provisioning config files... 00:01:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config18266199789682858688tmp [Pipeline] { [Pipeline] sh 00:01:46 + set +x 00:01:46 + bash -s -- 00:01:46 + curl -s https://codecov.io/bash 00:01:46 00:01:46 _____ _ 00:01:46 / ____| | | 00:01:46 | | ___ __| | ___ ___ _____ __ 00:01:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:01:46 | |___| (_) | (_| | __/ (_| (_) \ V / 00:01:46 \_____\___/ \__,_|\___|\___\___/ \_/ 00:01:46 Bash-1.0.6 00:01:46 00:01:46 00:01:46 ==> git version 2.25.1 found 00:01:46 ==> 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 00:01:46 Release-Date: 2020-01-08 00:01:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:01:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:01:46 ==> Jenkins CI detected. 00:01:46 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 00:01:46 project root: . 00:01:46 --> token set from env 00:01:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:01:46 ==> Running gcov in . (disable via -X gcov) 00:01:46 ==> Python coveragepy not found 00:01:46 ==> Searching for coverage reports in: 00:01:46 + . 00:01:46 -> Found 1 reports 00:01:46 ==> Detecting git/mercurial file structure 00:01:46 ==> Reading reports 00:01:46 + ./coverage.out bytes=79213 00:01:46 ==> Appending adjustments 00:01:46 https://docs.codecov.io/docs/fixing-reports 00:01:46 + Found adjustments 00:01:46 ==> Gzipping contents 00:01:46 12K /tmp/codecov.js5m8l.gz 00:01:46 ==> Uploading reports 00:01:46 url: https://codecov.io 00:01:46 query: branch=PR-347&commit=c6389369434a2e71940a3fa73b528b4a4a17b053&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 00:01:46 -> Pinging Codecov 00:01:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=c6389369434a2e71940a3fa73b528b4a4a17b053&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 00:01:46 -> Uploading to 00:01:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/c6389369434a2e71940a3fa73b528b4a4a17b053/ba197540-d8cc-48df-b8b3-dd651f816171.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T000146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9996c63d8a6020069fe8c772864b2d25469f88be6466e98357b9b9b5d4c0a4b1 00:01:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:46 Dload Upload Total Spent Left Speed 00:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 43187 --:--:-- --:--:-- --:--:-- 43187 00:01:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c6389369434a2e71940a3fa73b528b4a4a17b053 [Pipeline] } 00:01:47 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 00:01:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 00:01:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 00:01:47 total 16 00:01:47 drwxr-xr-x 3 root root 4096 May 8 23:50 . 00:01:47 drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:50 .. 00:01:47 drwxr-xr-x 2 root root 4096 May 8 23:50 cost 00:01:47 -rw-r--r-- 1 root root 91 May 8 23:50 cost.csv 00:01:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 00:01:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 00:01:47 total 16 00:01:47 drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:50 . 00:01:47 drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:50 .. 00:01:47 drwxr-xr-x 2 jenkins jenkins 4096 May 8 23:50 cost 00:01:47 -rw-r--r-- 1 jenkins jenkins 91 May 8 23:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:01:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:01:49 ---> package-listing.sh 00:01:49 ++ facter osfamily 00:01:49 ++ tr '[:upper:]' '[:lower:]' 00:01:49 + OS_FAMILY=debian 00:01:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 00:01:49 + START_PACKAGES=/tmp/packages_start.txt 00:01:49 + END_PACKAGES=/tmp/packages_end.txt 00:01:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:01:49 + PACKAGES=/tmp/packages_start.txt 00:01:49 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 00:01:49 + PACKAGES=/tmp/packages_end.txt 00:01:49 + case "${OS_FAMILY}" in 00:01:49 + dpkg -l 00:01:49 + grep '^ii' 00:01:49 + '[' -f /tmp/packages_start.txt ']' 00:01:49 + '[' -f /tmp/packages_end.txt ']' 00:01:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:01:49 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 00:01:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 00:01:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 00:01:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:01:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:50 prd-ubuntu20.04-docker-8c-8g-14580 does not seem to be running inside a container 00:01:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:01:50 $ docker top 892b95e687ccb1a9a6a1de8805dea67a5e0da69fcfe2d5c403f1fdb58dce0131 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:50 + touch /tmp/pre-build-complete [Pipeline] sh 00:01:51 + mkdir -p /var/log/sysstat [Pipeline] sh 00:01:51 + ls /var/log/sa-host 00:01:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:51 provisioning config files... 00:01:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config17148679355354783939tmp [Pipeline] { [Pipeline] echo 00:01:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:01:51 ---> create-netrc.sh [Pipeline] } 00:01:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:01:52 ---> python-tools-install.sh [Pipeline] echo 00:01:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:01:52 ---> sudo-logs.sh 00:01:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:01:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:01:52 ---> job-cost.sh 00:01:52 lf-activate-venv: SKIPPING 00:01:52 DEBUG: total: 0.2199999988079071 00:01:52 INFO: Retrieving Stack Cost... 00:01:53 INFO: Retrieving Pricing Info for: v3-standard-8 00:01:53 INFO: Archiving Costs [Pipeline] echo 00:01:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:01:53 ---> logs-deploy.sh 00:01:53 lf-activate-venv: SKIPPING 00:01:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/2 00:01:53 INFO: archiving workspace using pattern(s): 00:01:55 Archives upload complete. 00:01:55 INFO: archiving logs to Nexus