Pull request #333 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 ca50ff0226266dec6d343d3687e79f892dd3f78d rather than 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe Obtained Jenkinsfile from ca50ff0226266dec6d343d3687e79f892dd3f78d 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-ssh14806740982918213113.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh8262095933023618661.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1845576461123588328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh5821413599564015002.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1253913777909396402.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12605 in /w/workspace/undry_device-onvif-camera_PR-333 [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-333 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe Checking out Revision 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe (PR-333) > git config core.sparsecheckout # timeout=10 > git checkout -f 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe # 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 ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe # timeout=10 Commit message: "fix: address PR comments" > git rev-list --no-walk 368d8b89130b295f0f6a05347d1e242a9a8adc29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:39:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:39:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:39:25 ========================================================= 17:39:25 EdgeX Global Pipelines Version Info 17:39:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:39:26 ------------------- 17:39:26 stable info: 17:39:26 ------------------- 17:39:26 Commited By: Bill Mahoney bill.mahoney@intel.com 17:39:26 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 17:39:26 Message: update stable to v1.0.248 17:39:26 ------------------- 17:39:26 experimental info: 17:39:26 ------------------- 17:39:26 Commited By: **** collab-it+edgex@linuxfoundation.org 17:39:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:39:26 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:39:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ca05bc [Pipeline] echo 17:39:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:27 provisioning config files... 17:39:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config3207906644236021948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:27 ---> docker-login.sh 17:39:27 nexus3.edgexfoundry.org:10001 17:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:28 Configure a credential helper to remove this warning. See 17:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:28 17:39:28 Login Succeeded 17:39:28 nexus3.edgexfoundry.org:10002 17:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:29 Configure a credential helper to remove this warning. See 17:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:29 17:39:29 Login Succeeded 17:39:29 nexus3.edgexfoundry.org:10003 17:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:29 Configure a credential helper to remove this warning. See 17:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:29 17:39:29 Login Succeeded 17:39:29 nexus3.edgexfoundry.org:10004 17:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:29 Configure a credential helper to remove this warning. See 17:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:29 17:39:29 Login Succeeded 17:39:29 docker.io 17:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:29 Configure a credential helper to remove this warning. See 17:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:29 17:39:29 Login Succeeded 17:39:29 ---> docker-login.sh ends [Pipeline] } 17:39:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:39:29 + git rev-list -1 --merges 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe~1..1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [Pipeline] echo 17:39:29 -----------> git rev-list -1 --merges 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe~1..1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [false] [Pipeline] sh 17:39:30 + git log --format=format:%s -1 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [Pipeline] echo 17:39:30 ========================================================= 17:39:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:39:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:30 + git log --format=format:%s -1 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [Pipeline] echo 17:39:30 [semverPrep] GIT_COMMIT: 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe, Commit Message: fix: address PR comments [Pipeline] echo 17:39:30 [semverPrep] This is not a build commit. [Pipeline] sh 17:39:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:30 + grep -v github /etc/ssh/ssh_known_hosts 17:39:30 + [ -e /tmp/ssh_known_hosts ] 17:39:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:39:30 + + sudo tee -a /etc/ssh/ssh_known_hostsecho 17:39:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:39:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:31 17:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:32 0.1.4: Pulling from edgex-devops/py-git-semver 17:39:32 b85a868b505f: Pulling fs layer 17:39:32 e2be974225ed: Pulling fs layer 17:39:32 339a4e72a1f5: Pulling fs layer 17:39:32 988bab9f4d93: Pulling fs layer 17:39:32 1469e6f7b9e6: Pulling fs layer 17:39:32 eaf3925da568: Pulling fs layer 17:39:32 bab4dde63d76: Pulling fs layer 17:39:32 bde34c3a00c8: Pulling fs layer 17:39:32 b352a97aabf1: Pulling fs layer 17:39:32 4872d77fe225: Pulling fs layer 17:39:32 5851b861e8e6: Pulling fs layer 17:39:32 bab4dde63d76: Waiting 17:39:32 b352a97aabf1: Waiting 17:39:32 4872d77fe225: Waiting 17:39:32 bde34c3a00c8: Waiting 17:39:32 988bab9f4d93: Waiting 17:39:32 1469e6f7b9e6: Waiting 17:39:32 eaf3925da568: Waiting 17:39:32 5851b861e8e6: Waiting 17:39:32 e2be974225ed: Verifying Checksum 17:39:32 e2be974225ed: Download complete 17:39:32 988bab9f4d93: Verifying Checksum 17:39:32 988bab9f4d93: Download complete 17:39:32 1469e6f7b9e6: Verifying Checksum 17:39:32 1469e6f7b9e6: Download complete 17:39:32 339a4e72a1f5: Verifying Checksum 17:39:32 339a4e72a1f5: Download complete 17:39:32 eaf3925da568: Verifying Checksum 17:39:32 eaf3925da568: Download complete 17:39:32 bde34c3a00c8: Verifying Checksum 17:39:32 bde34c3a00c8: Download complete 17:39:32 b352a97aabf1: Verifying Checksum 17:39:32 b352a97aabf1: Download complete 17:39:32 4872d77fe225: Download complete 17:39:32 5851b861e8e6: Verifying Checksum 17:39:32 5851b861e8e6: Download complete 17:39:32 b85a868b505f: Verifying Checksum 17:39:32 b85a868b505f: Download complete 17:39:32 bab4dde63d76: Verifying Checksum 17:39:32 bab4dde63d76: Download complete 17:39:33 b85a868b505f: Pull complete 17:39:34 e2be974225ed: Pull complete 17:39:35 339a4e72a1f5: Pull complete 17:39:35 988bab9f4d93: Pull complete 17:39:36 1469e6f7b9e6: Pull complete 17:39:36 eaf3925da568: Pull complete 17:39:38 bab4dde63d76: Pull complete 17:39:38 bde34c3a00c8: Pull complete 17:39:39 b352a97aabf1: Pull complete 17:39:39 4872d77fe225: Pull complete 17:39:39 5851b861e8e6: Pull complete 17:39:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:39:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:40 prd-ubuntu20.04-docker-8c-8g-12605 does not seem to be running inside a container 17:39:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:39:52 $ docker top 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e -eo pid,comm 17:39:52 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). 17:39:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:52 [ssh-agent] Looking for ssh-agent implementation... 17:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:52 $ docker exec 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e ssh-agent 17:39:52 SSH_AUTH_SOCK=/tmp/ssh-rg6kWAGCJYsN/agent.13 17:39:52 SSH_AGENT_PID=19 17:39:52 Running ssh-add (command line suppressed) 17:39:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_9746477554967436579.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_9746477554967436579.key) 17:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:53 + git tag --points-at HEAD [Pipeline] } 17:39:53 $ docker exec --env ******** --env ******** 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e ssh-agent -k 17:39:53 unset SSH_AUTH_SOCK; 17:39:53 unset SSH_AGENT_PID; 17:39:53 echo Agent pid 19 killed; 17:39:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:39:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:53 [ssh-agent] Looking for ssh-agent implementation... 17:39:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:53 $ docker exec 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e ssh-agent 17:39:53 SSH_AUTH_SOCK=/tmp/ssh-hX5J730rgKfv/agent.58 17:39:53 SSH_AGENT_PID=65 17:39:53 Running ssh-add (command line suppressed) 17:39:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_7542817676476536803.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_7542817676476536803.key) 17:39:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:54 + git semver init 17:39:54 2023-05-03 17:39:54,260 [run_init] DEBUG init version:0.0.0 force:False 17:39:54 2023-05-03 17:39:54,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-333/.semver 17:39:54 2023-05-03 17:39:54,262 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-333/.semver 17:39:54 2023-05-03 17:39:54,262 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-333/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-333, universal_newlines=False, shell=None, istream=None) 17:39:55 2023-05-03 17:39:55,547 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-333/.git/info/exclude 17:39:55 2023-05-03 17:39:55,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 with force:False 17:39:55 2023-05-03 17:39:55,548 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 17:39:55 2023-05-03 17:39:55,551 [execute] INFO git cat-file --batch-check 17:39:55 2023-05-03 17:39:55,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 17:39:55 2023-05-03 17:39:55,557 [execute] INFO git cat-file --batch 17:39:55 2023-05-03 17:39:55,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 17:39:55 2023-05-03 17:39:55,562 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 17:39:55 0.0.0 [Pipeline] } 17:39:55 $ docker exec --env ******** --env ******** 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e ssh-agent -k 17:39:55 unset SSH_AUTH_SOCK; 17:39:55 unset SSH_AGENT_PID; 17:39:55 echo Agent pid 65 killed; 17:39:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:56 + git semver [Pipeline] } 17:39:56 $ docker stop --time=1 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e 17:39:58 $ docker rm -f --volumes 3084026be8b60a166ab54cf5716bcf0e09b31d017ae3c2459d464979c2651b4e [Pipeline] // withDockerContainer [Pipeline] sh 17:39:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:39:59 Stashed 1 file(s) [Pipeline] echo 17:39:59 [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 17:39:59 provisioning config files... 17:39:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config5182170442178365442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:59 ---> docker-login.sh 17:39:59 nexus3.edgexfoundry.org:10001 17:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:59 Configure a credential helper to remove this warning. See 17:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:59 17:39:59 Login Succeeded 17:39:59 nexus3.edgexfoundry.org:10002 17:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:59 Configure a credential helper to remove this warning. See 17:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:59 17:39:59 Login Succeeded 17:39:59 nexus3.edgexfoundry.org:10003 17:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:00 Configure a credential helper to remove this warning. See 17:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:00 17:40:00 Login Succeeded 17:40:00 nexus3.edgexfoundry.org:10004 17:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:00 Configure a credential helper to remove this warning. See 17:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:00 17:40:00 Login Succeeded 17:40:00 docker.io 17:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:00 Configure a credential helper to remove this warning. See 17:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:00 17:40:00 Login Succeeded 17:40:00 ---> docker-login.sh ends [Pipeline] } 17:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:40:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:40:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:40:00 ========================================================= 17:40:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:40:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:00 + 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 . 17:40:00 Sending build context to Docker daemon 21.55MB 17:40:00 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:40:00 Step 2/13 : FROM ${BASE} AS builder 17:40:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:40:01 f56be85fc22e: Pulling fs layer 17:40:01 85791d961cd3: Pulling fs layer 17:40:01 d694b5ae8c79: Pulling fs layer 17:40:01 9f32a84ed3da: Pulling fs layer 17:40:01 4d19c01a9841: Pulling fs layer 17:40:01 9325e15d5711: Pulling fs layer 17:40:01 4d19c01a9841: Waiting 17:40:01 9f32a84ed3da: Waiting 17:40:01 556b6ee489ea: Pulling fs layer 17:40:01 c5a4b2cf53e6: Pulling fs layer 17:40:01 556b6ee489ea: Waiting 17:40:01 85791d961cd3: Verifying Checksum 17:40:01 85791d961cd3: Download complete 17:40:01 9f32a84ed3da: Verifying Checksum 17:40:01 9f32a84ed3da: Download complete 17:40:01 4d19c01a9841: Verifying Checksum 17:40:01 4d19c01a9841: Download complete 17:40:01 f56be85fc22e: Verifying Checksum 17:40:01 f56be85fc22e: Download complete 17:40:01 9325e15d5711: Verifying Checksum 17:40:01 9325e15d5711: Download complete 17:40:01 f56be85fc22e: Pull complete 17:40:01 c5a4b2cf53e6: Verifying Checksum 17:40:01 c5a4b2cf53e6: Download complete 17:40:02 d694b5ae8c79: Verifying Checksum 17:40:02 d694b5ae8c79: Download complete 17:40:02 556b6ee489ea: Verifying Checksum 17:40:02 556b6ee489ea: Download complete 17:40:02 85791d961cd3: Pull complete 17:40:06 d694b5ae8c79: Pull complete 17:40:06 9f32a84ed3da: Pull complete 17:40:06 4d19c01a9841: Pull complete 17:40:07 9325e15d5711: Pull complete 17:40:10 556b6ee489ea: Pull complete 17:40:11 c5a4b2cf53e6: Pull complete 17:40:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:40:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:40:11 ---> c4be618373d6 17:40:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:40:14 Still waiting to schedule task 17:40:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:40:29 ---> Running in 9e7b7eff1ab4 17:40:29 Removing intermediate container 9e7b7eff1ab4 17:40:29 ---> 386efd1ad378 17:40:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:29 ---> Running in 05e23beb5dbe 17:40:29 Removing intermediate container 05e23beb5dbe 17:40:29 ---> ed71a3530320 17:40:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:40:30 ---> Running in 048c533eea87 17:40:30 Removing intermediate container 048c533eea87 17:40:30 ---> 408451dd45f1 17:40:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:40:31 ---> Running in 159d26cab28d 17:40:31 Removing intermediate container 159d26cab28d 17:40:31 ---> 26214f9b48c2 17:40:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:40:31 ---> Running in f33a90d13e19 17:40:32 Removing intermediate container f33a90d13e19 17:40:32 ---> 28e80cf6d6f8 17:40:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:32 ---> Running in 54d4468e0a2f 17:40:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:40:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:40:33 OK: 265 MiB in 53 packages 17:40:34 Removing intermediate container 54d4468e0a2f 17:40:34 ---> c08276012128 17:40:34 Step 9/13 : WORKDIR /device-onvif-camera 17:40:34 ---> Running in 129d85cda165 17:40:35 Removing intermediate container 129d85cda165 17:40:35 ---> a3ebef791557 17:40:35 Step 10/13 : COPY go.mod vendor* ./ 17:40:35 ---> 123540a4f572 17:40:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:35 ---> Running in 3cf9f8776507 17:41:43 Removing intermediate container 3cf9f8776507 17:41:43 ---> f6c872559f8a 17:41:43 Step 12/13 : COPY . . 17:41:43 ---> 29f82fbcdd25 17:41:43 Step 13/13 : RUN ${MAKE} 17:41:43 ---> Running in 58cd9d6d5cac 17:41:43 noop 17:41:43 Removing intermediate container 58cd9d6d5cac 17:41:43 ---> 95a7bcb6f0c7 17:41:43 Successfully built 95a7bcb6f0c7 17:41:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:43 + docker inspect -f . ci-base-image-x86_64 17:41:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:44 prd-ubuntu20.04-docker-8c-8g-12605 does not seem to be running inside a container 17:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@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 ******** ci-base-image-x86_64 cat 17:41:45 $ docker top 2142e3b08384353511c0e5d8670ed17fe2b0c85c9841517fa631a219fe273cd0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:45 + go version 17:41:45 go version go1.20.2 linux/amd64 [Pipeline] } 17:41:45 $ docker stop --time=1 2142e3b08384353511c0e5d8670ed17fe2b0c85c9841517fa631a219fe273cd0 17:41:46 $ docker rm -f --volumes 2142e3b08384353511c0e5d8670ed17fe2b0c85c9841517fa631a219fe273cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:47 + docker inspect -f . ci-base-image-x86_64 17:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:47 prd-ubuntu20.04-docker-8c-8g-12605 does not seem to be running inside a container 17:41:47 $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@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 ******** ci-base-image-x86_64 cat 17:41:48 $ docker top 986dbca50921c952e199d117e5c58a3f2b2c3b1ddfc5b43e3a170d6333c976d9 -eo pid,comm [Pipeline] { 17:41:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12606 in /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] { [Pipeline] sh [Pipeline] ws 17:41:48 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 17:41:48 The recommended git tool is: git 17:41:49 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] fileExists [Pipeline] sh 17:41:49 + make test 17:41:49 go test ./... -coverprofile=coverage.out ./... 17:41:54 using credential edgex-jenkins-ssh 17:41:54 Cloning the remote Git repository 17:41:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:41:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:41:54 > git init /w/workspace/device-onvif-camera/2 # timeout=10 17:41:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:54 > git --version # timeout=10 17:41:54 > git --version # 'git version 2.25.1' 17:41:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:41:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:41:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:41:57 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe 17:41:58 Merge succeeded, producing 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe 17:41:58 Checking out Revision 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe (PR-333) 17:41:57 > git config core.sparsecheckout # timeout=10 17:41:57 > git checkout -f 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe # timeout=10 17:41:58 > git remote # timeout=10 17:41:58 > git config --get remote.origin.url # timeout=10 17:41:58 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:58 > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 17:41:58 > git rev-parse HEAD^{commit} # timeout=10 17:41:58 > git config core.sparsecheckout # timeout=10 17:41:58 > git checkout -f 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe # timeout=10 17:42:01 Commit message: "fix: address PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:42:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:42:02 Dload Upload Total Spent Left Speed 17:42:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 17:42:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:42:03 + sudo tee /etc/docker/daemon.new 17:42:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:42:03 { 17:42:03 "registry-mirrors": [ 17:42:03 "https://nexus3.edgexfoundry.org:10001" 17:42:03 ], 17:42:03 "bip": "10.250.0.254/24", 17:42:03 "hosts": [ 17:42:03 "tcp://0.0.0.0:5555", 17:42:03 "unix:///var/run/docker.sock" 17:42:03 ], 17:42:03 "mtu": 1458, 17:42:03 "selinux-enabled": true, 17:42:03 "seccomp-profile": "/etc/docker/seccomp.json" 17:42:03 } [Pipeline] sh 17:42:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:42:04 + sudo service docker restart 17:42:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:42:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:42:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 32.2% of statements 17:42:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.095s coverage: 86.5% of statements 17:42:16 go vet ./... 17:42:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:42:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:42:18 ./bin/test-attribution-txt.sh [Pipeline] echo 17:42:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:42:19 $ docker stop --time=1 986dbca50921c952e199d117e5c58a3f2b2c3b1ddfc5b43e3a170d6333c976d9 17:42:21 $ docker rm -f --volumes 986dbca50921c952e199d117e5c58a3f2b2c3b1ddfc5b43e3a170d6333c976d9 [Pipeline] // withDockerContainer [Pipeline] sh 17:42:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:42:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:22 provisioning config files... 17:42:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:42:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config11197666399356589812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:23 + ls -al . 17:42:23 total 232 17:42:23 drwxrwxr-x 10 jenkins jenkins 4096 May 3 17:41 . 17:42:23 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:39 .. 17:42:23 drwxrwxr-x 8 jenkins jenkins 4096 May 3 17:39 .git 17:42:23 drwxrwxr-x 3 jenkins jenkins 4096 May 3 17:39 .github 17:42:23 -rw-rw-r-- 1 jenkins jenkins 496 May 3 17:39 .gitignore 17:42:23 -rw-rw-r-- 1 jenkins jenkins 42 May 3 17:39 .golangci.yml 17:42:23 drwxr-xr-x 3 jenkins jenkins 4096 May 3 17:39 .semver 17:42:23 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 17:39 Attribution.txt 17:42:23 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 17:39 CHANGELOG.md 17:42:23 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 17:39 Dockerfile 17:42:23 -rw-rw-r-- 1 jenkins jenkins 677 May 3 17:39 GOVERNANCE.md 17:42:23 -rw-rw-r-- 1 jenkins jenkins 734 May 3 17:39 Jenkinsfile 17:42:23 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 17:39 LICENSE 17:42:23 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 17:39 Makefile 17:42:23 -rw-rw-r-- 1 jenkins jenkins 625 May 3 17:39 OWNERS.md 17:42:23 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 17:39 README.md 17:42:23 -rw-rw-r-- 1 jenkins jenkins 5 May 3 17:39 VERSION 17:42:23 drwxrwxr-x 2 jenkins jenkins 4096 May 3 17:39 bin 17:42:23 drwxrwxr-x 3 jenkins jenkins 4096 May 3 17:39 cmd 17:42:23 -rw-r--r-- 1 jenkins jenkins 80372 May 3 17:42 coverage.out 17:42:23 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:39 doc 17:42:23 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 17:39 go.mod 17:42:23 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 17:39 go.sum 17:42:23 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:39 internal 17:42:23 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:39 snap 17:42:23 -rw-rw-r-- 1 jenkins jenkins 236 May 3 17:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:23 ---> docker-login.sh 17:42:23 nexus3.edgexfoundry.org:10001 17:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:23 + 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=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe --label arch=amd64 --label version=0.0.0 . 17:42:23 Sending build context to Docker daemon 21.63MB 17:42:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:42:23 Step 2/26 : FROM ${BASE} AS builder 17:42:23 ---> 95a7bcb6f0c7 17:42:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:23 Configure a credential helper to remove this warning. See 17:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:23 17:42:23 Login Succeeded 17:42:23 nexus3.edgexfoundry.org:10002 17:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:24 ---> Running in 1217e190141e 17:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:24 Configure a credential helper to remove this warning. See 17:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:24 17:42:24 Login Succeeded 17:42:24 nexus3.edgexfoundry.org:10003 17:42:24 Removing intermediate container 1217e190141e 17:42:24 ---> f12a3883bb16 17:42:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:24 Configure a credential helper to remove this warning. See 17:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:24 17:42:24 Login Succeeded 17:42:24 nexus3.edgexfoundry.org:10004 17:42:24 ---> Running in a1204103b2e4 17:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:24 Configure a credential helper to remove this warning. See 17:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:24 17:42:24 Login Succeeded 17:42:24 docker.io 17:42:24 Removing intermediate container a1204103b2e4 17:42:24 ---> 91b528bdc9fb 17:42:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:25 ---> Running in cc1339d720d1 17:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:25 Configure a credential helper to remove this warning. See 17:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:25 17:42:25 Login Succeeded 17:42:25 ---> docker-login.sh ends [Pipeline] } 17:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:42:25 Removing intermediate container cc1339d720d1 17:42:25 ---> 61d7469175a2 17:42:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:42:25 ---> Running in 06bb85896247 17:42:25 Removing intermediate container 06bb85896247 17:42:25 ---> eff3c4084d9d 17:42:25 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:42:25 ---> Running in b7bdeee93c75 [Pipeline] echo 17:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:25 ========================================================= 17:42:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:42:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:25 Removing intermediate container b7bdeee93c75 17:42:25 ---> 6904195b8ec1 17:42:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:25 ---> Running in 689430a4a0a4 17:42:25 + 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 . 17:42:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:42:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:42:26 OK: 265 MiB in 53 packages 17:42:26 Sending build context to Docker daemon 14.25MB 17:42:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:42:26 Step 2/13 : FROM ${BASE} AS builder 17:42:26 Removing intermediate container 689430a4a0a4 17:42:26 ---> 7cd0a375c1d4 17:42:26 Step 9/26 : WORKDIR /device-onvif-camera 17:42:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:42:26 c41833b44d91: Pulling fs layer 17:42:26 ed15518f5707: Pulling fs layer 17:42:26 feae8fd75edb: Pulling fs layer 17:42:26 242c74f7c9fa: Pulling fs layer 17:42:26 3cdef696dda3: Pulling fs layer 17:42:26 2ced38df9373: Pulling fs layer 17:42:26 58f1dce35555: Pulling fs layer 17:42:26 242c74f7c9fa: Waiting 17:42:26 3cdef696dda3: Waiting 17:42:26 2ced38df9373: Waiting 17:42:26 58f1dce35555: Waiting 17:42:26 ed15518f5707: Download complete 17:42:26 242c74f7c9fa: Verifying Checksum 17:42:26 242c74f7c9fa: Download complete 17:42:26 3cdef696dda3: Download complete 17:42:26 c41833b44d91: Verifying Checksum 17:42:26 c41833b44d91: Download complete 17:42:27 ---> Running in 18c936466a19 17:42:27 Removing intermediate container 18c936466a19 17:42:27 ---> a102b7e89322 17:42:27 Step 10/26 : COPY go.mod vendor* ./ 17:42:27 ---> 41f582520876 17:42:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:27 c41833b44d91: Pull complete 17:42:27 ---> Running in 11c396895f91 17:42:28 58f1dce35555: Verifying Checksum 17:42:28 58f1dce35555: Download complete 17:42:28 ed15518f5707: Pull complete 17:42:29 Removing intermediate container 11c396895f91 17:42:29 ---> b2cf53a59209 17:42:29 Step 12/26 : COPY . . 17:42:29 feae8fd75edb: Verifying Checksum 17:42:29 feae8fd75edb: Download complete 17:42:29 2ced38df9373: Verifying Checksum 17:42:29 2ced38df9373: Download complete 17:42:30 ---> 00ba82a2a5e1 17:42:30 Step 13/26 : RUN ${MAKE} 17:42:30 ---> Running in 925f76930911 17:42:31 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 17:42:41 feae8fd75edb: Pull complete 17:42:41 242c74f7c9fa: Pull complete 17:42:41 3cdef696dda3: Pull complete 17:42:47 2ced38df9373: Pull complete 17:42:49 58f1dce35555: Pull complete 17:42:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:42:49 ---> fadd8f120f05 17:42:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:42:51 ---> Running in 38cedff97b1f 17:42:51 Removing intermediate container 38cedff97b1f 17:42:51 ---> be009b643d60 17:42:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:51 ---> Running in b0a76c7190ca 17:42:51 Removing intermediate container b0a76c7190ca 17:42:51 ---> 4c924a23a3ba 17:42:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:42:51 ---> Running in b98a6f46f215 17:42:52 Removing intermediate container b98a6f46f215 17:42:52 ---> 2bac43ce90cb 17:42:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:42:52 ---> Running in ec7fb5aff097 17:42:52 Removing intermediate container ec7fb5aff097 17:42:52 ---> 51ccd80bb7fd 17:42:52 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:42:52 ---> Running in c838a428af67 17:42:53 Removing intermediate container c838a428af67 17:42:53 ---> dde6dd213f55 17:42:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:53 ---> Running in fb50e5b2c9f9 17:42:53 Removing intermediate container 925f76930911 17:42:53 ---> 04883df5613b 17:42:53 Step 14/26 : FROM alpine:3.17 17:42:53 3.17: Pulling from library/alpine 17:42:53 f56be85fc22e: Already exists 17:42:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:42:53 Status: Downloaded newer image for alpine:3.17 17:42:53 ---> 9ed4aefc74f6 17:42:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:42:53 ---> Running in da51bbdcf80c 17:42:53 Removing intermediate container da51bbdcf80c 17:42:53 ---> e836acd19321 17:42:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:42:53 ---> Running in c5249d20e833 17:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:42:53 (1/1) Installing dumb-init (1.2.5-r2) 17:42:53 Executing busybox-1.35.0-r29.trigger 17:42:53 OK: 7 MiB in 16 packages 17:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:42:54 Removing intermediate container c5249d20e833 17:42:54 ---> 7142617db020 17:42:54 Step 17/26 : WORKDIR / 17:42:54 ---> Running in 90b8bfac0633 17:42:54 Removing intermediate container 90b8bfac0633 17:42:54 ---> a8fca84a5fb7 17:42:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:42:55 OK: 263 MiB in 53 packages 17:42:56 ---> 17e019b32a94 17:42:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:42:56 ---> 2c18118bf92e 17:42:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:42:56 Removing intermediate container fb50e5b2c9f9 17:42:56 ---> ff4c3f0f7e4c 17:42:56 Step 9/13 : WORKDIR /device-onvif-camera 17:42:56 ---> Running in d8e9397f0afc 17:42:56 ---> f6089197f118 17:42:56 Step 21/26 : EXPOSE 59984 17:42:56 ---> Running in 6dec1bd7c1de 17:42:56 Removing intermediate container d8e9397f0afc 17:42:56 ---> b9039df8fe64 17:42:56 Step 10/13 : COPY go.mod vendor* ./ 17:42:57 Removing intermediate container 6dec1bd7c1de 17:42:57 ---> 1d30415c15ab 17:42:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:42:57 ---> Running in 2ae0f004b265 17:42:57 ---> 3380dc05efaa 17:42:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:57 ---> Running in 46690fcad374 17:42:57 Removing intermediate container 2ae0f004b265 17:42:57 ---> df088fe0b98f 17:42:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:42:57 ---> Running in a8965579f523 17:42:57 Removing intermediate container a8965579f523 17:42:57 ---> 9c45d15f1390 17:42:57 Step 24/26 : LABEL arch=amd64 17:42:58 ---> Running in 7c4225ad50c6 17:42:58 Removing intermediate container 7c4225ad50c6 17:42:58 ---> 690a49705aff 17:42:58 Step 25/26 : LABEL git_sha=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe 17:42:58 ---> Running in e1a6fc8594d4 17:42:58 Removing intermediate container e1a6fc8594d4 17:42:58 ---> d36e1553a7d8 17:42:58 Step 26/26 : LABEL version=0.0.0 17:42:58 ---> Running in a2e7708b9b9b 17:42:59 Removing intermediate container a2e7708b9b9b 17:42:59 ---> aec83efc9d09 17:42:59 [Warning] One or more build-args [ARCH] were not consumed 17:42:59 Successfully built aec83efc9d09 17:42:59 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 17:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:42:59 17:42:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:43:00 latest: Pulling from edgex-lftools-log-publisher 17:43:00 5eb5b503b376: Pulling fs layer 17:43:00 5c69ac0246d0: Pulling fs layer 17:43:00 ec43610c2a17: Pulling fs layer 17:43:00 3a2ae6a8a46f: Pulling fs layer 17:43:00 33b1e0a273af: Pulling fs layer 17:43:00 5d3b04190fa2: Pulling fs layer 17:43:00 2f39f015ded8: Pulling fs layer 17:43:00 33b1e0a273af: Waiting 17:43:00 5d3b04190fa2: Waiting 17:43:00 3a2ae6a8a46f: Waiting 17:43:00 2f39f015ded8: Waiting 17:43:00 5c69ac0246d0: Verifying Checksum 17:43:00 5c69ac0246d0: Download complete 17:43:00 3a2ae6a8a46f: Verifying Checksum 17:43:00 3a2ae6a8a46f: Download complete 17:43:00 33b1e0a273af: Verifying Checksum 17:43:00 33b1e0a273af: Download complete 17:43:00 ec43610c2a17: Verifying Checksum 17:43:00 ec43610c2a17: Download complete 17:43:00 5d3b04190fa2: Verifying Checksum 17:43:00 5d3b04190fa2: Download complete 17:43:00 5eb5b503b376: Verifying Checksum 17:43:00 5eb5b503b376: Download complete 17:43:01 2f39f015ded8: Verifying Checksum 17:43:01 2f39f015ded8: Download complete 17:43:01 5eb5b503b376: Pull complete 17:43:01 5c69ac0246d0: Pull complete 17:43:02 ec43610c2a17: Pull complete 17:43:02 3a2ae6a8a46f: Pull complete 17:43:03 33b1e0a273af: Pull complete 17:43:03 5d3b04190fa2: Pull complete 17:43:07 2f39f015ded8: Pull complete 17:43:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:43:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:07 prd-ubuntu20.04-docker-8c-8g-12605 does not seem to be running inside a container 17:43:07 $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@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 17:43:14 $ docker top e14b8b0c51ab346fd705ad0ced84feb81006270521df902affcd64abed0f3469 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:14 ---> job-cost.sh 17:43:14 lf-activate-venv: SKIPPING 17:43:14 INFO: No Stack... 17:43:14 INFO: Retrieving Pricing Info for: v3-standard-8 17:43:15 INFO: Archiving Costs [Pipeline] sh 17:43:15 + cat /w/workspace/undry_device-onvif-camera_PR-333/archives/cost.csv 17:43:15 + cut -d, -f6 [Pipeline] lock 17:43:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] 17:43:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] did not exist. Created. 17:43:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:43:16 + echo total: 0.2199999988079071 [Pipeline] stash 17:43:16 Stashed 1 file(s) [Pipeline] } 17:43:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:43:16 $ docker stop --time=1 e14b8b0c51ab346fd705ad0ced84feb81006270521df902affcd64abed0f3469 17:43:17 $ docker rm -f --volumes e14b8b0c51ab346fd705ad0ced84feb81006270521df902affcd64abed0f3469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:44:05 Removing intermediate container 46690fcad374 17:44:05 ---> 4f2758f69a6e 17:44:05 Step 12/13 : COPY . . 17:44:05 ---> 343c2227863d 17:44:05 Step 13/13 : RUN ${MAKE} 17:44:05 ---> Running in 3e7316b172b4 17:44:05 noop 17:44:05 Removing intermediate container 3e7316b172b4 17:44:05 ---> b345c3e12094 17:44:05 Successfully built b345c3e12094 17:44:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:05 + docker inspect -f . ci-base-image-arm64 17:44:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:05 prd-ubuntu20.04-docker-arm64-4c-16g-12606 does not seem to be running inside a container 17:44:05 $ 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 17:44:07 $ docker top fcd5c4b3d7d44dce174ebaf0525029043d4237a68eccc337793b8d65d4f12166 -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:07 + go version 17:44:07 go version go1.20.2 linux/arm64 [Pipeline] } 17:44:07 $ docker stop --time=1 fcd5c4b3d7d44dce174ebaf0525029043d4237a68eccc337793b8d65d4f12166 17:44:09 $ docker rm -f --volumes fcd5c4b3d7d44dce174ebaf0525029043d4237a68eccc337793b8d65d4f12166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:10 + docker inspect -f . ci-base-image-arm64 17:44:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:10 prd-ubuntu20.04-docker-arm64-4c-16g-12606 does not seem to be running inside a container 17:44:10 $ 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 17:44:11 $ docker top 88de11b884b2c7c6609eb12f588c26efe64064776e8bfb362b97dcaf5713c740 -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:11 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 17:44:12 + make test 17:44:12 go test ./... -coverprofile=coverage.out ./... 17:44:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:46:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:46:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:46:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.197s coverage: 32.2% of statements 17:47:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.015s coverage: 86.5% of statements 17:47:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:47:06 go vet ./... 17:47:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:47:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:47:33 ./bin/test-attribution-txt.sh [Pipeline] echo 17:47:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:47:33 $ docker stop --time=1 88de11b884b2c7c6609eb12f588c26efe64064776e8bfb362b97dcaf5713c740 17:47:35 $ docker rm -f --volumes 88de11b884b2c7c6609eb12f588c26efe64064776e8bfb362b97dcaf5713c740 [Pipeline] // withDockerContainer [Pipeline] sh 17:47:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:47:36 Warning: overwriting stash ‘coverage-report’ 17:47:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:47:37 + ls -al . 17:47:37 total 228 17:47:37 drwxrwxr-x 9 jenkins jenkins 4096 May 3 17:44 . 17:47:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:41 .. 17:47:37 drwxrwxr-x 8 jenkins jenkins 4096 May 3 17:41 .git 17:47:37 drwxrwxr-x 3 jenkins jenkins 4096 May 3 17:41 .github 17:47:37 -rw-rw-r-- 1 jenkins jenkins 496 May 3 17:41 .gitignore 17:47:37 -rw-rw-r-- 1 jenkins jenkins 42 May 3 17:41 .golangci.yml 17:47:37 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 17:41 Attribution.txt 17:47:37 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 17:41 CHANGELOG.md 17:47:37 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 17:41 Dockerfile 17:47:37 -rw-rw-r-- 1 jenkins jenkins 677 May 3 17:41 GOVERNANCE.md 17:47:37 -rw-rw-r-- 1 jenkins jenkins 734 May 3 17:41 Jenkinsfile 17:47:37 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 17:41 LICENSE 17:47:37 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 17:41 Makefile 17:47:37 -rw-rw-r-- 1 jenkins jenkins 625 May 3 17:41 OWNERS.md 17:47:37 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 17:41 README.md 17:47:37 -rw-rw-r-- 1 jenkins jenkins 5 May 3 17:39 VERSION 17:47:37 drwxrwxr-x 2 jenkins jenkins 4096 May 3 17:41 bin 17:47:37 drwxrwxr-x 3 jenkins jenkins 4096 May 3 17:41 cmd 17:47:37 -rw-r--r-- 1 jenkins jenkins 80372 May 3 17:47 coverage.out 17:47:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:41 doc 17:47:37 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 17:41 go.mod 17:47:37 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 17:41 go.sum 17:47:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:41 internal 17:47:37 drwxrwxr-x 4 jenkins jenkins 4096 May 3 17:41 snap 17:47:37 -rw-rw-r-- 1 jenkins jenkins 236 May 3 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:38 + 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=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe --label arch=arm64 --label version=0.0.0 . 17:47:38 Sending build context to Docker daemon 14.33MB 17:47:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:47:38 Step 2/26 : FROM ${BASE} AS builder 17:47:38 ---> b345c3e12094 17:47:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:47:39 ---> Running in 7276aacb75fd 17:47:40 Removing intermediate container 7276aacb75fd 17:47:40 ---> cc61b5ce0a06 17:47:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:47:40 ---> Running in 4a6db047f523 17:47:40 Removing intermediate container 4a6db047f523 17:47:40 ---> 00f001ed6939 17:47:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:47:40 ---> Running in f1ae99bc05f3 17:47:40 Removing intermediate container f1ae99bc05f3 17:47:40 ---> ea2392c2ede6 17:47:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:47:40 ---> Running in 8e4664a51d6f 17:47:40 Removing intermediate container 8e4664a51d6f 17:47:40 ---> 21be062ba1f4 17:47:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:47:41 ---> Running in 0a661042f26b 17:47:41 Removing intermediate container 0a661042f26b 17:47:41 ---> f58aba9744c8 17:47:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:41 ---> Running in 413c287133c7 17:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:47:44 OK: 263 MiB in 53 packages 17:47:44 Removing intermediate container 413c287133c7 17:47:44 ---> 9c8b27110648 17:47:44 Step 9/26 : WORKDIR /device-onvif-camera 17:47:44 ---> Running in 2d2365b8a045 17:47:45 Removing intermediate container 2d2365b8a045 17:47:45 ---> 383e7e265f2b 17:47:45 Step 10/26 : COPY go.mod vendor* ./ 17:47:45 ---> ca3b256bf380 17:47:45 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:45 ---> Running in bb347f50e2f9 17:47:48 Removing intermediate container bb347f50e2f9 17:47:48 ---> 67af688f4583 17:47:48 Step 12/26 : COPY . . 17:47:49 ---> 7007eba7ffb5 17:47:49 Step 13/26 : RUN ${MAKE} 17:47:49 ---> Running in 6645e74a0b8b 17:47:50 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 17:50:13 Removing intermediate container 6645e74a0b8b 17:50:13 ---> 0f284e00bc90 17:50:13 Step 14/26 : FROM alpine:3.17 17:50:13 3.17: Pulling from library/alpine 17:50:13 c41833b44d91: Already exists 17:50:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:50:13 Status: Downloaded newer image for alpine:3.17 17:50:13 ---> 51e60588ff2c 17:50:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:50:13 ---> Running in b0e9fa59d090 17:50:13 Removing intermediate container b0e9fa59d090 17:50:13 ---> 917f4e7ee78b 17:50:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:50:13 ---> Running in 97b0c10cebe9 17:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:50:13 (1/1) Installing dumb-init (1.2.5-r2) 17:50:13 Executing busybox-1.35.0-r29.trigger 17:50:13 OK: 8 MiB in 16 packages 17:50:13 Removing intermediate container 97b0c10cebe9 17:50:13 ---> 51bbf8ac5f89 17:50:13 Step 17/26 : WORKDIR / 17:50:13 ---> Running in b7886956de81 17:50:13 Removing intermediate container b7886956de81 17:50:13 ---> 88f2b87bc976 17:50:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:50:13 ---> 4481aec280dc 17:50:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:50:13 ---> a9873af5e4f5 17:50:13 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:50:13 ---> f3f6b7c1b174 17:50:13 Step 21/26 : EXPOSE 59984 17:50:13 ---> Running in 21558c4c923a 17:50:13 Removing intermediate container 21558c4c923a 17:50:13 ---> f87258b4756a 17:50:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:50:13 ---> Running in e05a2b7cbde1 17:50:13 Removing intermediate container e05a2b7cbde1 17:50:13 ---> 66db3b6518e1 17:50:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:50:13 ---> Running in da870debe039 17:50:13 Removing intermediate container da870debe039 17:50:13 ---> fe0f5f7d051a 17:50:13 Step 24/26 : LABEL arch=arm64 17:50:13 ---> Running in deb71230a522 17:50:13 Removing intermediate container deb71230a522 17:50:13 ---> 4d0f2a0b2f6b 17:50:13 Step 25/26 : LABEL git_sha=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe 17:50:13 ---> Running in d5f0f679d58b 17:50:13 Removing intermediate container d5f0f679d58b 17:50:13 ---> a663a3b8fad5 17:50:13 Step 26/26 : LABEL version=0.0.0 17:50:13 ---> Running in eaf13f9f2efc 17:50:13 Removing intermediate container eaf13f9f2efc 17:50:13 ---> 0e2b9443ef5a 17:50:13 [Warning] One or more build-args [ARCH] were not consumed 17:50:13 Successfully built 0e2b9443ef5a 17:50: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 17:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:14 17:50:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:14 arm64: Pulling from edgex-lftools-log-publisher 17:50:14 8998bd30e6a1: Pulling fs layer 17:50:14 04944245beec: Pulling fs layer 17:50:14 699f458cf7ca: Pulling fs layer 17:50:14 765212b225bb: Pulling fs layer 17:50:14 f23df028b6ca: Pulling fs layer 17:50:14 d65c8cfc05b1: Pulling fs layer 17:50:14 2437ff75d9bd: Pulling fs layer 17:50:14 f23df028b6ca: Waiting 17:50:14 d65c8cfc05b1: Waiting 17:50:14 2437ff75d9bd: Waiting 17:50:14 765212b225bb: Waiting 17:50:14 04944245beec: Verifying Checksum 17:50:14 04944245beec: Download complete 17:50:14 765212b225bb: Verifying Checksum 17:50:14 765212b225bb: Download complete 17:50:14 f23df028b6ca: Verifying Checksum 17:50:14 f23df028b6ca: Download complete 17:50:14 d65c8cfc05b1: Verifying Checksum 17:50:14 d65c8cfc05b1: Download complete 17:50:14 699f458cf7ca: Verifying Checksum 17:50:15 699f458cf7ca: Download complete 17:50:15 8998bd30e6a1: Verifying Checksum 17:50:15 8998bd30e6a1: Download complete 17:50:17 2437ff75d9bd: Verifying Checksum 17:50:17 2437ff75d9bd: Download complete 17:50:19 8998bd30e6a1: Pull complete 17:50:19 04944245beec: Pull complete 17:50:20 699f458cf7ca: Pull complete 17:50:21 765212b225bb: Pull complete 17:50:21 f23df028b6ca: Pull complete 17:50:22 d65c8cfc05b1: Pull complete 17:50:37 2437ff75d9bd: Pull complete 17:50:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:37 prd-ubuntu20.04-docker-arm64-4c-16g-12606 does not seem to be running inside a container 17:50: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 17:50:39 $ docker top 223790f0ef1e249e9ad7c93eeb9b0695163ab8517e37c95a71cad1cdfa3bb2dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:40 ---> job-cost.sh 17:50:40 lf-activate-venv: SKIPPING 17:50:40 INFO: No Stack... 17:50:40 INFO: Retrieving Pricing Info for: v3-standard-4 17:50:41 INFO: Archiving Costs [Pipeline] sh 17:50:42 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 17:50:42 + cut -d, -f6 [Pipeline] lock 17:50:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] 17:50:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] did not exist. Created. 17:50:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:42 /w/workspace/device-onvif-camera/2@tmp/durable-5f97d83a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:50:43 + echo total: 0.10999999940395355 [Pipeline] stash 17:50:43 Warning: overwriting stash ‘stack-cost’ 17:50:43 Stashed 1 file(s) [Pipeline] } 17:50:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:43 $ docker stop --time=1 223790f0ef1e249e9ad7c93eeb9b0695163ab8517e37c95a71cad1cdfa3bb2dc 17:50:46 $ docker rm -f --volumes 223790f0ef1e249e9ad7c93eeb9b0695163ab8517e37c95a71cad1cdfa3bb2dc [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 17:50:47 provisioning config files... 17:50:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config3832724574444961032tmp [Pipeline] { [Pipeline] sh 17:50:47 + set +x 17:50:47 + curl -s https://codecov.io/bash 17:50:47 + bash -s -- 17:50:47 17:50:47 _____ _ 17:50:47 / ____| | | 17:50:47 | | ___ __| | ___ ___ _____ __ 17:50:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:50:47 | |___| (_) | (_| | __/ (_| (_) \ V / 17:50:47 \_____\___/ \__,_|\___|\___\___/ \_/ 17:50:47 Bash-1.0.6 17:50:47 17:50:47 17:50:47 ==> git version 2.25.1 found 17:50:47 ==> 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 17:50:47 Release-Date: 2020-01-08 17:50:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:50:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:50:47 ==> Jenkins CI detected. 17:50:47 current dir:  /w/workspace/undry_device-onvif-camera_PR-333 17:50:47 project root: . 17:50:47 --> token set from env 17:50:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:50:47 ==> Running gcov in . (disable via -X gcov) 17:50:47 ==> Python coveragepy not found 17:50:47 ==> Searching for coverage reports in: 17:50:47 + . 17:50:47 -> Found 1 reports 17:50:47 ==> Detecting git/mercurial file structure 17:50:47 ==> Reading reports 17:50:47 + ./coverage.out bytes=80372 17:50:47 ==> Appending adjustments 17:50:47 https://docs.codecov.io/docs/fixing-reports 17:50:47 + Found adjustments 17:50:47 ==> Gzipping contents 17:50:47 12K /tmp/codecov.vLZe45.gz 17:50:47 ==> Uploading reports 17:50:47 url: https://codecov.io 17:50:47 query: branch=PR-333&commit=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 17:50:47 -> Pinging Codecov 17:50:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-333&commit=1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 17:50:48 -> Uploading to 17:50:48 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/F29A59C45E3A92E06B3E522C9905F8EF/1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe/11e21834-9e10-4f9e-8168-f99ddb25f5cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T175047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d70bb129012b00eac613364278f2175fb42462b6f72f1e7b57830572b26025a0 17:50:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:48 Dload Upload Total Spent Left Speed 17:50:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10673 0 0 100 10673 0 46606 --:--:-- --:--:-- --:--:-- 46606 17:50:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe [Pipeline] } 17:50:48 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 17:50:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-333/archives ] 17:50:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives 17:50:49 total 16 17:50:49 drwxr-xr-x 3 root root 4096 May 3 17:43 . 17:50:49 drwxrwxr-x 11 jenkins jenkins 4096 May 3 17:43 .. 17:50:49 drwxr-xr-x 2 root root 4096 May 3 17:43 cost 17:50:49 -rw-r--r-- 1 root root 91 May 3 17:43 cost.csv 17:50:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-333/archives 17:50:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives 17:50:49 total 16 17:50:49 drwxr-xr-x 3 jenkins jenkins 4096 May 3 17:43 . 17:50:49 drwxrwxr-x 11 jenkins jenkins 4096 May 3 17:43 .. 17:50:49 drwxr-xr-x 2 jenkins jenkins 4096 May 3 17:43 cost 17:50:49 -rw-r--r-- 1 jenkins jenkins 91 May 3 17:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:50:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:50:50 ---> package-listing.sh 17:50:50 ++ tr '[:upper:]' '[:lower:]' 17:50:50 ++ facter osfamily 17:50:50 + OS_FAMILY=debian 17:50:50 + workspace=/w/workspace/undry_device-onvif-camera_PR-333 17:50:50 + START_PACKAGES=/tmp/packages_start.txt 17:50:50 + END_PACKAGES=/tmp/packages_end.txt 17:50:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:50 + PACKAGES=/tmp/packages_start.txt 17:50:50 + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' 17:50:50 + PACKAGES=/tmp/packages_end.txt 17:50:50 + case "${OS_FAMILY}" in 17:50:50 + dpkg -l 17:50:50 + grep '^ii' 17:50:50 + '[' -f /tmp/packages_start.txt ']' 17:50:50 + '[' -f /tmp/packages_end.txt ']' 17:50:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:50 + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' 17:50:50 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-333/archives/ 17:50:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-333/archives/ [Pipeline] echo 17:50:50 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:50:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:51 prd-ubuntu20.04-docker-8c-8g-12605 does not seem to be running inside a container 17:50:51 $ 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-333/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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:51 $ docker top 6758b609fa2bd00f04a37b272971b723dfe8de3b965fbc138da1359d29f6457a -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 17:50:52 + mkdir -p /var/log/sysstat [Pipeline] sh 17:50:52 + ls /var/log/sa-host 17:50:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:52 provisioning config files... 17:50:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config7035605841087166248tmp [Pipeline] { [Pipeline] echo 17:50:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:50:53 ---> create-netrc.sh [Pipeline] } 17:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:50:53 ---> python-tools-install.sh [Pipeline] echo 17:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:50:53 ---> sudo-logs.sh 17:50:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:50:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:50:54 ---> job-cost.sh 17:50:54 lf-activate-venv: SKIPPING 17:50:54 DEBUG: total: 0.2199999988079071 17:50:54 INFO: Retrieving Stack Cost... 17:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:55 INFO: Archiving Costs [Pipeline] echo 17:50:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:50:55 ---> logs-deploy.sh 17:50:55 lf-activate-venv: SKIPPING 17:50:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-333/2 17:50:55 INFO: archiving workspace using pattern(s): 17:50:56 Archives upload complete. 17:50:56 INFO: archiving logs to Nexus