Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 1961be3dbf536bee699796c7591b42b4c7bef829 rather than 6479ccebd988310ba5dd3a0c4dce5d757c7b5dd1 Obtained Jenkinsfile from 1961be3dbf536bee699796c7591b42b4c7bef829 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15520094609406870310.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6005755574246890286.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17528564316582946409.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10939218733657959901.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11055868387798440426.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14791 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 6479ccebd988310ba5dd3a0c4dce5d757c7b5dd1 Merge succeeded, producing 91c0639a8534559480b1fa7eddc79df47ff1d856 Checking out Revision 91c0639a8534559480b1fa7eddc79df47ff1d856 (PR-347) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6479ccebd988310ba5dd3a0c4dce5d757c7b5dd1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91c0639a8534559480b1fa7eddc79df47ff1d856 # timeout=10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:30:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:30:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:23 ========================================================= 22:30:23 EdgeX Global Pipelines Version Info 22:30:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cd9d656c1fe34a07811817b05cca71dd0bd67e9b # timeout=10 22:30:23 ------------------- 22:30:23 stable info: 22:30:23 ------------------- 22:30:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:30:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:30:23 Message: update stable to v1.0.249 22:30:24 ------------------- 22:30:24 experimental info: 22:30:24 ------------------- 22:30:24 Commited By: **** collab-it+edgex@linuxfoundation.org 22:30:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:30:24 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91c0639a8534559480b1fa7eddc79df47ff1d856 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91c0639 [Pipeline] echo 22:30:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:24 provisioning config files... 22:30:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config4620160678876680902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:25 ---> docker-login.sh 22:30:25 nexus3.edgexfoundry.org:10001 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 nexus3.edgexfoundry.org:10002 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 nexus3.edgexfoundry.org:10003 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 nexus3.edgexfoundry.org:10004 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 docker.io 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:26 Configure a credential helper to remove this warning. See 22:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:26 22:30:26 Login Succeeded 22:30:26 ---> docker-login.sh ends [Pipeline] } 22:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:30:26 + git rev-list -1 --merges 91c0639a8534559480b1fa7eddc79df47ff1d856~1..91c0639a8534559480b1fa7eddc79df47ff1d856 [Pipeline] echo 22:30:26 -----------> git rev-list -1 --merges 91c0639a8534559480b1fa7eddc79df47ff1d856~1..91c0639a8534559480b1fa7eddc79df47ff1d856 91c0639a8534559480b1fa7eddc79df47ff1d856 22:30:26 91c0639a8534559480b1fa7eddc79df47ff1d856 [false] [Pipeline] sh 22:30:26 + git log --format=format:%s -1 91c0639a8534559480b1fa7eddc79df47ff1d856 [Pipeline] echo 22:30:26 ========================================================= 22:30:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:30:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:30:27 + git log --format=format:%s -1 91c0639a8534559480b1fa7eddc79df47ff1d856 [Pipeline] echo 22:30:27 [semverPrep] GIT_COMMIT: 91c0639a8534559480b1fa7eddc79df47ff1d856, Commit Message: Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD [Pipeline] echo 22:30:27 [semverPrep] This is not a build commit. [Pipeline] sh 22:30:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:27 + grep -v github /etc/ssh/ssh_known_hosts 22:30:27 + [ -e /tmp/ssh_known_hosts ] 22:30:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:30:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:30:27 + sudo tee -a /etc/ssh/ssh_known_hosts 22:30:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:27 22:30:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:28 0.1.4: Pulling from edgex-devops/py-git-semver 22:30:28 b85a868b505f: Pulling fs layer 22:30:28 e2be974225ed: Pulling fs layer 22:30:28 339a4e72a1f5: Pulling fs layer 22:30:28 988bab9f4d93: Pulling fs layer 22:30:28 1469e6f7b9e6: Pulling fs layer 22:30:28 eaf3925da568: Pulling fs layer 22:30:28 bab4dde63d76: Pulling fs layer 22:30:28 bde34c3a00c8: Pulling fs layer 22:30:28 b352a97aabf1: Pulling fs layer 22:30:28 4872d77fe225: Pulling fs layer 22:30:28 5851b861e8e6: Pulling fs layer 22:30:28 bab4dde63d76: Waiting 22:30:28 bde34c3a00c8: Waiting 22:30:28 b352a97aabf1: Waiting 22:30:28 4872d77fe225: Waiting 22:30:28 5851b861e8e6: Waiting 22:30:28 988bab9f4d93: Waiting 22:30:28 1469e6f7b9e6: Waiting 22:30:28 eaf3925da568: Waiting 22:30:28 e2be974225ed: Verifying Checksum 22:30:28 e2be974225ed: Download complete 22:30:28 988bab9f4d93: Download complete 22:30:28 1469e6f7b9e6: Verifying Checksum 22:30:28 1469e6f7b9e6: Download complete 22:30:28 339a4e72a1f5: Verifying Checksum 22:30:28 339a4e72a1f5: Download complete 22:30:28 eaf3925da568: Verifying Checksum 22:30:28 eaf3925da568: Download complete 22:30:28 bde34c3a00c8: Download complete 22:30:28 b352a97aabf1: Verifying Checksum 22:30:28 b352a97aabf1: Download complete 22:30:28 4872d77fe225: Verifying Checksum 22:30:28 4872d77fe225: Download complete 22:30:28 5851b861e8e6: Download complete 22:30:28 b85a868b505f: Verifying Checksum 22:30:28 b85a868b505f: Download complete 22:30:28 bab4dde63d76: Download complete 22:30:29 b85a868b505f: Pull complete 22:30:29 e2be974225ed: Pull complete 22:30:30 339a4e72a1f5: Pull complete 22:30:30 988bab9f4d93: Pull complete 22:30:30 1469e6f7b9e6: Pull complete 22:30:30 eaf3925da568: Pull complete 22:30:32 bab4dde63d76: Pull complete 22:30:32 bde34c3a00c8: Pull complete 22:30:32 b352a97aabf1: Pull complete 22:30:32 4872d77fe225: Pull complete 22:30:32 5851b861e8e6: Pull complete 22:30:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:33 prd-ubuntu20.04-docker-8c-8g-14791 does not seem to be running inside a container 22:30:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:30:35 $ docker top 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 -eo pid,comm 22:30:35 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). 22:30:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:30:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:35 [ssh-agent] Looking for ssh-agent implementation... 22:30:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:35 $ docker exec 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 ssh-agent 22:30:35 SSH_AUTH_SOCK=/tmp/ssh-KzHl082cVE0p/agent.31 22:30:35 SSH_AGENT_PID=37 22:30:35 Running ssh-add (command line suppressed) 22:30:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_7055464628104666500.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_7055464628104666500.key) 22:30:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:36 + git tag --points-at HEAD [Pipeline] } 22:30:36 $ docker exec --env ******** --env ******** 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 ssh-agent -k 22:30:36 unset SSH_AUTH_SOCK; 22:30:36 unset SSH_AGENT_PID; 22:30:36 echo Agent pid 37 killed; 22:30:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:30:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:36 [ssh-agent] Looking for ssh-agent implementation... 22:30:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:36 $ docker exec 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 ssh-agent 22:30:36 SSH_AUTH_SOCK=/tmp/ssh-MCRNa9kcoaQK/agent.70 22:30:36 SSH_AGENT_PID=76 22:30:36 Running ssh-add (command line suppressed) 22:30:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_6887801976989937249.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_6887801976989937249.key) 22:30:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:36 + git semver init 22:30:37 2023-05-09 22:30:37,107 [run_init] DEBUG init version:0.0.0 force:False 22:30:37 2023-05-09 22:30:37,107 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 22:30:37 2023-05-09 22:30:37,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 22:30:37 2023-05-09 22:30:37,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 22:30:38 2023-05-09 22:30:37,986 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 22:30:38 2023-05-09 22:30:37,986 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 22:30:38 2023-05-09 22:30:37,986 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:30:38 2023-05-09 22:30:37,990 [execute] INFO git cat-file --batch-check 22:30:38 2023-05-09 22:30:37,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:30:38 2023-05-09 22:30:37,996 [execute] INFO git cat-file --batch 22:30:38 2023-05-09 22:30:37,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:30:38 2023-05-09 22:30:38,001 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:30:38 0.0.0 [Pipeline] } 22:30:38 $ docker exec --env ******** --env ******** 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 ssh-agent -k 22:30:38 unset SSH_AUTH_SOCK; 22:30:38 unset SSH_AGENT_PID; 22:30:38 echo Agent pid 76 killed; 22:30:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:38 + git semver [Pipeline] } 22:30:38 $ docker stop --time=1 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 22:30:40 $ docker rm -f --volumes 2c4d8e400aaa8396fbb1ffacd973a04cf20a9e173d5286fc82bad29b49a5e5e8 [Pipeline] // withDockerContainer [Pipeline] sh 22:30:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:30:40 Stashed 1 file(s) [Pipeline] echo 22:30:40 [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 22:30:40 provisioning config files... 22:30:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config11911443364022925232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:41 ---> docker-login.sh 22:30:41 nexus3.edgexfoundry.org:10001 22:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:41 Configure a credential helper to remove this warning. See 22:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:41 22:30:41 Login Succeeded 22:30:41 nexus3.edgexfoundry.org:10002 22:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:41 Configure a credential helper to remove this warning. See 22:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:41 22:30:41 Login Succeeded 22:30:41 nexus3.edgexfoundry.org:10003 22:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:41 Configure a credential helper to remove this warning. See 22:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:41 22:30:41 Login Succeeded 22:30:41 nexus3.edgexfoundry.org:10004 22:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:41 Configure a credential helper to remove this warning. See 22:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:41 22:30:41 Login Succeeded 22:30:41 docker.io 22:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:41 Configure a credential helper to remove this warning. See 22:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:41 22:30:41 Login Succeeded 22:30:41 ---> docker-login.sh ends [Pipeline] } 22:30:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:41 ========================================================= 22:30:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:30:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:42 + 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 . 22:30:42 Sending build context to Docker daemon 22.02MB 22:30:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:30:42 Step 2/13 : FROM ${BASE} AS builder 22:30:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:30:42 f56be85fc22e: Pulling fs layer 22:30:42 85791d961cd3: Pulling fs layer 22:30:42 d694b5ae8c79: Pulling fs layer 22:30:42 9f32a84ed3da: Pulling fs layer 22:30:42 4d19c01a9841: Pulling fs layer 22:30:42 9325e15d5711: Pulling fs layer 22:30:42 556b6ee489ea: Pulling fs layer 22:30:42 c5a4b2cf53e6: Pulling fs layer 22:30:42 4d19c01a9841: Waiting 22:30:42 9f32a84ed3da: Waiting 22:30:42 9325e15d5711: Waiting 22:30:42 c5a4b2cf53e6: Waiting 22:30:42 85791d961cd3: Verifying Checksum 22:30:42 85791d961cd3: Download complete 22:30:42 9f32a84ed3da: Download complete 22:30:42 4d19c01a9841: Verifying Checksum 22:30:42 4d19c01a9841: Download complete 22:30:42 f56be85fc22e: Verifying Checksum 22:30:42 f56be85fc22e: Download complete 22:30:42 9325e15d5711: Verifying Checksum 22:30:42 9325e15d5711: Download complete 22:30:42 f56be85fc22e: Pull complete 22:30:42 85791d961cd3: Pull complete 22:30:42 d694b5ae8c79: Verifying Checksum 22:30:42 d694b5ae8c79: Download complete 22:30:43 c5a4b2cf53e6: Verifying Checksum 22:30:43 c5a4b2cf53e6: Download complete 22:30:43 556b6ee489ea: Verifying Checksum 22:30:43 556b6ee489ea: Download complete 22:30:46 d694b5ae8c79: Pull complete 22:30:46 9f32a84ed3da: Pull complete 22:30:46 4d19c01a9841: Pull complete 22:30:46 9325e15d5711: Pull complete 22:30:48 556b6ee489ea: Pull complete 22:30:49 c5a4b2cf53e6: Pull complete 22:30:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:30:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:30:49 ---> c4be618373d6 22:30:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:30:52 ---> Running in 8654d20ecb8b 22:30:53 Removing intermediate container 8654d20ecb8b 22:30:53 ---> 431e5cc9f016 22:30:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:53 ---> Running in 0c0556e33ac9 22:30:53 Removing intermediate container 0c0556e33ac9 22:30:53 ---> 5d9cf0d9fe56 22:30:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:30:53 ---> Running in d0e465ea5c3b 22:30:53 Removing intermediate container d0e465ea5c3b 22:30:53 ---> eab33051a8b0 22:30:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:30:53 ---> Running in aac9dbdb4317 22:30:53 Removing intermediate container aac9dbdb4317 22:30:53 ---> 178297bf1c00 22:30:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:30:53 ---> Running in db2008eb0a90 22:30:53 Removing intermediate container db2008eb0a90 22:30:53 ---> 8054a72bd6fc 22:30:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:53 ---> Running in b54f241faf5c 22:30:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:30:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:30:54 OK: 265 MiB in 53 packages 22:30:54 Removing intermediate container b54f241faf5c 22:30:54 ---> 475d11a27b34 22:30:54 Step 9/13 : WORKDIR /device-onvif-camera 22:30:54 ---> Running in 66953b4c693a 22:30:54 Removing intermediate container 66953b4c693a 22:30:54 ---> 4e8ec8bccf82 22:30:54 Step 10/13 : COPY go.mod vendor* ./ 22:30:54 ---> a23bb7f9ef77 22:30:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:54 ---> Running in d94b1a64ff87 22:30:55 Still waiting to schedule task 22:30:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:31:21 Removing intermediate container d94b1a64ff87 22:31:21 ---> 530a5d4f9e39 22:31:21 Step 12/13 : COPY . . 22:31:21 ---> a36f29d93238 22:31:21 Step 13/13 : RUN ${MAKE} 22:31:21 ---> Running in c9bc1473d462 22:31:22 noop 22:31:22 Removing intermediate container c9bc1473d462 22:31:22 ---> bdc6e0c9fe17 22:31:22 Successfully built bdc6e0c9fe17 22:31:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:22 + docker inspect -f . ci-base-image-x86_64 22:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:22 prd-ubuntu20.04-docker-8c-8g-14791 does not seem to be running inside a container 22:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:31:23 $ docker top 9a75b8f4b6703cbffe820d4fcac9b3a91a82c74fec1f9580e95c6d215aab27dc -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:23 + go version 22:31:23 go version go1.20.2 linux/amd64 [Pipeline] } 22:31:23 $ docker stop --time=1 9a75b8f4b6703cbffe820d4fcac9b3a91a82c74fec1f9580e95c6d215aab27dc 22:31:24 $ docker rm -f --volumes 9a75b8f4b6703cbffe820d4fcac9b3a91a82c74fec1f9580e95c6d215aab27dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + docker inspect -f . ci-base-image-x86_64 22:31:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:25 prd-ubuntu20.04-docker-8c-8g-14791 does not seem to be running inside a container 22:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:31:25 $ docker top efea19464e6a2e3a6ae14496f0ca136ab6bb3d11d7a090f73cd2838f0f15cddd -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:25 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 22:31:26 + make test 22:31:26 go test ./... -coverprofile=coverage.out ./... 22:31:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:31:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:31:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:31:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.044s coverage: 30.9% of statements 22:31:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.336s coverage: 86.5% of statements 22:31:53 go vet ./... 22:31:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:56 ./bin/test-attribution-txt.sh [Pipeline] echo 22:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:56 $ docker stop --time=1 efea19464e6a2e3a6ae14496f0ca136ab6bb3d11d7a090f73cd2838f0f15cddd 22:32:00 $ docker rm -f --volumes efea19464e6a2e3a6ae14496f0ca136ab6bb3d11d7a090f73cd2838f0f15cddd [Pipeline] // withDockerContainer [Pipeline] sh 22:32:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:32:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:01 + ls -al . 22:32:01 total 232 22:32:01 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:31 . 22:32:01 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:30 .. 22:32:01 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:30 .git 22:32:01 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:30 .github 22:32:01 -rw-rw-r-- 1 jenkins jenkins 496 May 9 22:30 .gitignore 22:32:01 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:30 .golangci.yml 22:32:01 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:30 .semver 22:32:01 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 22:30 Attribution.txt 22:32:01 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 22:30 CHANGELOG.md 22:32:01 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 22:30 Dockerfile 22:32:01 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:30 GOVERNANCE.md 22:32:01 -rw-rw-r-- 1 jenkins jenkins 734 May 9 22:30 Jenkinsfile 22:32:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 22:30 LICENSE 22:32:01 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 22:30 Makefile 22:32:01 -rw-rw-r-- 1 jenkins jenkins 625 May 9 22:30 OWNERS.md 22:32:01 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 22:30 README.md 22:32:01 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:30 VERSION 22:32:01 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:30 bin 22:32:01 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:30 cmd 22:32:01 -rw-r--r-- 1 jenkins jenkins 79213 May 9 22:31 coverage.out 22:32:01 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:30 doc 22:32:01 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 22:30 go.mod 22:32:01 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 22:30 go.sum 22:32:01 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:30 internal 22:32:01 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:30 snap 22:32:01 -rw-rw-r-- 1 jenkins jenkins 236 May 9 22:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:01 + 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=91c0639a8534559480b1fa7eddc79df47ff1d856 --label arch=amd64 --label version=0.0.0 . 22:32:01 Sending build context to Docker daemon 22.1MB 22:32:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:32:01 Step 2/26 : FROM ${BASE} AS builder 22:32:01 ---> bdc6e0c9fe17 22:32:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:32:02 ---> Running in 246d775579b4 22:32:02 Removing intermediate container 246d775579b4 22:32:02 ---> b0e3386cb944 22:32:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:02 ---> Running in c6ccf256ecd6 22:32:02 Removing intermediate container c6ccf256ecd6 22:32:02 ---> a2673769253f 22:32:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:32:02 ---> Running in 903200e6cea4 22:32:02 Removing intermediate container 903200e6cea4 22:32:02 ---> 223d78989789 22:32:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:32:02 ---> Running in 01dfb3dfa4dc 22:32:02 Removing intermediate container 01dfb3dfa4dc 22:32:02 ---> 4d4ece59b4d1 22:32:02 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:32:02 ---> Running in 7cdb6d6ed897 22:32:02 Removing intermediate container 7cdb6d6ed897 22:32:02 ---> 185e5155acf0 22:32:02 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:02 ---> Running in 106f1e909919 22:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:32:03 OK: 265 MiB in 53 packages 22:32:03 Removing intermediate container 106f1e909919 22:32:03 ---> 767a066b74fb 22:32:03 Step 9/26 : WORKDIR /device-onvif-camera 22:32:03 ---> Running in 196bf2c1b594 22:32:03 Removing intermediate container 196bf2c1b594 22:32:03 ---> e589b34248a4 22:32:03 Step 10/26 : COPY go.mod vendor* ./ 22:32:03 ---> 43aa7d7bbc7f 22:32:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:03 ---> Running in 221c5838ddd0 22:32:04 Removing intermediate container 221c5838ddd0 22:32:04 ---> c874ebb20c07 22:32:04 Step 12/26 : COPY . . 22:32:05 ---> 55f909623e58 22:32:05 Step 13/26 : RUN ${MAKE} 22:32:05 ---> Running in 9039b415b776 22:32:05 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 22:32:27 Removing intermediate container 9039b415b776 22:32:27 ---> 2ad0ae3583e6 22:32:27 Step 14/26 : FROM alpine:3.17 22:32:27 3.17: Pulling from library/alpine 22:32:27 f56be85fc22e: Already exists 22:32:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:32:27 Status: Downloaded newer image for alpine:3.17 22:32:27 ---> 9ed4aefc74f6 22:32:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:32:27 ---> Running in 0ee444595e8f 22:32:27 Removing intermediate container 0ee444595e8f 22:32:27 ---> 5d94e9204555 22:32:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:32:27 ---> Running in e141b1c2b420 22:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:32:27 (1/1) Installing dumb-init (1.2.5-r2) 22:32:27 Executing busybox-1.35.0-r29.trigger 22:32:27 OK: 7 MiB in 16 packages 22:32:27 Removing intermediate container e141b1c2b420 22:32:27 ---> d2eba7c6826d 22:32:27 Step 17/26 : WORKDIR / 22:32:27 ---> Running in 4f65d9a9eac4 22:32:27 Removing intermediate container 4f65d9a9eac4 22:32:27 ---> f73a4d5034a0 22:32:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:32:27 ---> 7ea1bf1e3375 22:32:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:32:27 ---> f7e65b82aac3 22:32:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:32:27 ---> 9dddee24a9fe 22:32:27 Step 21/26 : EXPOSE 59984 22:32:27 ---> Running in 888b576bf351 22:32:27 Removing intermediate container 888b576bf351 22:32:27 ---> c1fc5b1f01e2 22:32:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:32:27 ---> Running in 9566a7f5da4b 22:32:27 Removing intermediate container 9566a7f5da4b 22:32:27 ---> 76fc7328d52c 22:32:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:32:27 ---> Running in 3760c055efa5 22:32:27 Removing intermediate container 3760c055efa5 22:32:27 ---> 3c8e5b510671 22:32:27 Step 24/26 : LABEL arch=amd64 22:32:27 ---> Running in 2e78d96f9e12 22:32:27 Removing intermediate container 2e78d96f9e12 22:32:27 ---> 4626016d306a 22:32:27 Step 25/26 : LABEL git_sha=91c0639a8534559480b1fa7eddc79df47ff1d856 22:32:27 ---> Running in dd905add751b 22:32:27 Removing intermediate container dd905add751b 22:32:27 ---> 7117d43498ad 22:32:27 Step 26/26 : LABEL version=0.0.0 22:32:27 ---> Running in 5c8ff4a5bef6 22:32:27 Removing intermediate container 5c8ff4a5bef6 22:32:27 ---> 16a2b3524a68 22:32:27 [Warning] One or more build-args [ARCH] were not consumed 22:32:27 Successfully built 16a2b3524a68 22:32:27 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 22:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:28 22:32:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:28 latest: Pulling from edgex-lftools-log-publisher 22:32:28 5eb5b503b376: Pulling fs layer 22:32:28 5c69ac0246d0: Pulling fs layer 22:32:28 ec43610c2a17: Pulling fs layer 22:32:28 3a2ae6a8a46f: Pulling fs layer 22:32:28 33b1e0a273af: Pulling fs layer 22:32:28 5d3b04190fa2: Pulling fs layer 22:32:28 2f39f015ded8: Pulling fs layer 22:32:28 2f39f015ded8: Waiting 22:32:28 33b1e0a273af: Waiting 22:32:28 3a2ae6a8a46f: Waiting 22:32:28 5d3b04190fa2: Waiting 22:32:28 5c69ac0246d0: Verifying Checksum 22:32:28 5c69ac0246d0: Download complete 22:32:28 3a2ae6a8a46f: Verifying Checksum 22:32:28 3a2ae6a8a46f: Download complete 22:32:28 33b1e0a273af: Verifying Checksum 22:32:28 33b1e0a273af: Download complete 22:32:28 ec43610c2a17: Verifying Checksum 22:32:28 ec43610c2a17: Download complete 22:32:28 5d3b04190fa2: Verifying Checksum 22:32:28 5d3b04190fa2: Download complete 22:32:28 5eb5b503b376: Verifying Checksum 22:32:28 5eb5b503b376: Download complete 22:32:29 2f39f015ded8: Verifying Checksum 22:32:29 5eb5b503b376: Pull complete 22:32:29 5c69ac0246d0: Pull complete 22:32:30 ec43610c2a17: Pull complete 22:32:30 3a2ae6a8a46f: Pull complete 22:32:30 33b1e0a273af: Pull complete 22:32:30 5d3b04190fa2: Pull complete 22:32:34 2f39f015ded8: Pull complete 22:32:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:32:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:34 prd-ubuntu20.04-docker-8c-8g-14791 does not seem to be running inside a container 22:32:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:32:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14792 in /w/workspace/undry_device-onvif-camera_PR-347 22:32:38 $ docker top c191b85fd76e470dd694eb4bd05ea634442479581bff701486fb8f121cb5d131 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 22:32:38 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 22:32:38 The recommended git tool is: git 22:32:38 ---> job-cost.sh 22:32:38 lf-activate-venv: SKIPPING 22:32:38 INFO: No Stack... 22:32:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:32:39 INFO: Archiving Costs [Pipeline] sh 22:32:40 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 22:32:40 + cut -d, -f6 [Pipeline] lock 22:32:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] 22:32:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] did not exist. Created. 22:32:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:32:40 + echo total: 0.2199999988079071 [Pipeline] stash 22:32:40 Stashed 1 file(s) [Pipeline] } 22:32:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:32:40 $ docker stop --time=1 c191b85fd76e470dd694eb4bd05ea634442479581bff701486fb8f121cb5d131 22:32:41 $ docker rm -f --volumes c191b85fd76e470dd694eb4bd05ea634442479581bff701486fb8f121cb5d131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:32:44 using credential edgex-jenkins-ssh 22:32:44 Cloning the remote Git repository 22:32:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:32:44 > git init /w/workspace/device-onvif-camera/6 # timeout=10 22:32:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:32:44 > git --version # timeout=10 22:32:44 > git --version # 'git version 2.25.1' 22:32:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:32:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:50 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 6479ccebd988310ba5dd3a0c4dce5d757c7b5dd1 22:32:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:32:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:32:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:32:50 > git config core.sparsecheckout # timeout=10 22:32:50 Merge succeeded, producing 015255d9511ee0dd4c54ffab83c6258df708b662 22:32:50 Checking out Revision 015255d9511ee0dd4c54ffab83c6258df708b662 (PR-347) 22:32:50 > git checkout -f 6479ccebd988310ba5dd3a0c4dce5d757c7b5dd1 # timeout=10 22:32:50 > git remote # timeout=10 22:32:50 > git config --get remote.origin.url # timeout=10 22:32:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:50 > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 22:32:50 > git rev-parse HEAD^{commit} # timeout=10 22:32:50 > git config core.sparsecheckout # timeout=10 22:32:50 > git checkout -f 015255d9511ee0dd4c54ffab83c6258df708b662 # timeout=10 22:32:54 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" 22:32:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:54 > git rev-list --no-walk cd9d656c1fe34a07811817b05cca71dd0bd67e9b # timeout=10 22:32:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:32:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:32:55 Dload Upload Total Spent Left Speed 22:32:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 22:32:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:32:56 + sudo tee /etc/docker/daemon.new 22:32:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:32:56 { 22:32:56 "registry-mirrors": [ 22:32:56 "https://nexus3.edgexfoundry.org:10001" 22:32:56 ], 22:32:56 "bip": "10.250.0.254/24", 22:32:56 "hosts": [ 22:32:56 "tcp://0.0.0.0:5555", 22:32:56 "unix:///var/run/docker.sock" 22:32:56 ], 22:32:56 "mtu": 1458, 22:32:56 "selinux-enabled": true, 22:32:56 "seccomp-profile": "/etc/docker/seccomp.json" 22:32:56 } [Pipeline] sh 22:32:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:32:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:19 provisioning config files... 22:33:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config15421256004839711601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:19 ---> docker-login.sh 22:33:19 nexus3.edgexfoundry.org:10001 22:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:20 Configure a credential helper to remove this warning. See 22:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:20 22:33:20 Login Succeeded 22:33:20 nexus3.edgexfoundry.org:10002 22:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:20 Configure a credential helper to remove this warning. See 22:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:20 22:33:20 Login Succeeded 22:33:20 nexus3.edgexfoundry.org:10003 22:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:21 Configure a credential helper to remove this warning. See 22:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:21 22:33:21 Login Succeeded 22:33:21 nexus3.edgexfoundry.org:10004 22:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:21 Configure a credential helper to remove this warning. See 22:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:21 22:33:21 Login Succeeded 22:33:21 docker.io 22:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:22 Configure a credential helper to remove this warning. See 22:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:22 22:33:22 Login Succeeded 22:33:22 ---> docker-login.sh ends [Pipeline] } 22:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:33:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:22 ========================================================= 22:33:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:33:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:22 + 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 . 22:33:23 Sending build context to Docker daemon 14.66MB 22:33:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:33:23 Step 2/13 : FROM ${BASE} AS builder 22:33:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:33:23 c41833b44d91: Pulling fs layer 22:33:23 ed15518f5707: Pulling fs layer 22:33:23 feae8fd75edb: Pulling fs layer 22:33:23 242c74f7c9fa: Pulling fs layer 22:33:23 3cdef696dda3: Pulling fs layer 22:33:23 2ced38df9373: Pulling fs layer 22:33:23 58f1dce35555: Pulling fs layer 22:33:23 242c74f7c9fa: Waiting 22:33:23 3cdef696dda3: Waiting 22:33:23 2ced38df9373: Waiting 22:33:23 ed15518f5707: Verifying Checksum 22:33:23 ed15518f5707: Download complete 22:33:23 242c74f7c9fa: Verifying Checksum 22:33:23 242c74f7c9fa: Download complete 22:33:23 3cdef696dda3: Verifying Checksum 22:33:23 3cdef696dda3: Download complete 22:33:23 c41833b44d91: Verifying Checksum 22:33:23 c41833b44d91: Download complete 22:33:24 c41833b44d91: Pull complete 22:33:24 58f1dce35555: Verifying Checksum 22:33:24 58f1dce35555: Download complete 22:33:25 ed15518f5707: Pull complete 22:33:26 feae8fd75edb: Verifying Checksum 22:33:26 feae8fd75edb: Download complete 22:33:26 2ced38df9373: Verifying Checksum 22:33:26 2ced38df9373: Download complete 22:33:38 feae8fd75edb: Pull complete 22:33:38 242c74f7c9fa: Pull complete 22:33:38 3cdef696dda3: Pull complete 22:33:43 2ced38df9373: Pull complete 22:33:46 58f1dce35555: Pull complete 22:33:46 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:33:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:33:46 ---> fadd8f120f05 22:33:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:33:48 ---> Running in d44a2b1fbc4b 22:33:48 Removing intermediate container d44a2b1fbc4b 22:33:48 ---> d2dd4eec1d50 22:33:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:33:48 ---> Running in 750c202d22d2 22:33:48 Removing intermediate container 750c202d22d2 22:33:49 ---> d25579c49717 22:33:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:33:49 ---> Running in 40026e80acdd 22:33:49 Removing intermediate container 40026e80acdd 22:33:49 ---> effec4725d08 22:33:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:33:49 ---> Running in f0a8ba82e40d 22:33:49 Removing intermediate container f0a8ba82e40d 22:33:49 ---> ec579851f26f 22:33:49 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:33:49 ---> Running in 508fdc542d59 22:33:50 Removing intermediate container 508fdc542d59 22:33:50 ---> a6469417ec25 22:33:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:50 ---> Running in 7d250ca112fb 22:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:33:53 OK: 263 MiB in 53 packages 22:33:55 Removing intermediate container 7d250ca112fb 22:33:55 ---> 4e175a733145 22:33:55 Step 9/13 : WORKDIR /device-onvif-camera 22:33:55 ---> Running in 120c5b1aef7f 22:33:55 Removing intermediate container 120c5b1aef7f 22:33:55 ---> 31a9504616e1 22:33:55 Step 10/13 : COPY go.mod vendor* ./ 22:33:55 ---> 7592ea79b74c 22:33:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:55 ---> Running in bcfedd94adc9 22:35:03 Removing intermediate container bcfedd94adc9 22:35:03 ---> 42c20a12f08f 22:35:03 Step 12/13 : COPY . . 22:35:03 ---> caefc5581e20 22:35:03 Step 13/13 : RUN ${MAKE} 22:35:03 ---> Running in 8ea9786b6f84 22:35:03 noop 22:35:03 Removing intermediate container 8ea9786b6f84 22:35:03 ---> 607eeaa1af63 22:35:03 Successfully built 607eeaa1af63 22:35:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:03 + docker inspect -f . ci-base-image-arm64 22:35:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:04 prd-ubuntu20.04-docker-arm64-4c-16g-14792 does not seem to be running inside a container 22:35:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:35:05 $ docker top 02b3e4f6883a395b7a9ceeff010050aa2f303b1ce14a4a2d44c94ec351064f15 -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:06 + go version 22:35:06 go version go1.20.2 linux/arm64 [Pipeline] } 22:35:06 $ docker stop --time=1 02b3e4f6883a395b7a9ceeff010050aa2f303b1ce14a4a2d44c94ec351064f15 22:35:07 $ docker rm -f --volumes 02b3e4f6883a395b7a9ceeff010050aa2f303b1ce14a4a2d44c94ec351064f15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:08 + docker inspect -f . ci-base-image-arm64 22:35:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:08 prd-ubuntu20.04-docker-arm64-4c-16g-14792 does not seem to be running inside a container 22:35:08 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:35:09 $ docker top 3789ccabf815061c06a8a62f3711a7f55550bfbb7a9fd2de3617cb4b83ebd1a9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 22:35:10 + make test 22:35:10 go test ./... -coverprofile=coverage.out ./... 22:35:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:38:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:38:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:38:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.204s coverage: 30.9% of statements 22:38:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.469s coverage: 86.5% of statements 22:38:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:38:31 go vet ./... 22:38:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:38:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:38:58 ./bin/test-attribution-txt.sh [Pipeline] echo 22:38:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:38:58 $ docker stop --time=1 3789ccabf815061c06a8a62f3711a7f55550bfbb7a9fd2de3617cb4b83ebd1a9 22:39:00 $ docker rm -f --volumes 3789ccabf815061c06a8a62f3711a7f55550bfbb7a9fd2de3617cb4b83ebd1a9 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:39:01 Warning: overwriting stash ‘coverage-report’ 22:39:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:39:02 + ls -al . 22:39:02 total 228 22:39:02 drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:35 . 22:39:02 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:32 .. 22:39:02 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:32 .git 22:39:02 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:32 .github 22:39:02 -rw-rw-r-- 1 jenkins jenkins 496 May 9 22:32 .gitignore 22:39:02 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:32 .golangci.yml 22:39:02 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 22:32 Attribution.txt 22:39:02 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 22:32 CHANGELOG.md 22:39:02 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 22:32 Dockerfile 22:39:02 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:32 GOVERNANCE.md 22:39:02 -rw-rw-r-- 1 jenkins jenkins 734 May 9 22:32 Jenkinsfile 22:39:02 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 22:32 LICENSE 22:39:02 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 22:32 Makefile 22:39:02 -rw-rw-r-- 1 jenkins jenkins 625 May 9 22:32 OWNERS.md 22:39:02 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 22:32 README.md 22:39:02 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:30 VERSION 22:39:02 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:32 bin 22:39:02 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:32 cmd 22:39:02 -rw-r--r-- 1 jenkins jenkins 79213 May 9 22:38 coverage.out 22:39:02 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:32 doc 22:39:02 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 22:32 go.mod 22:39:02 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 22:32 go.sum 22:39:02 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:32 internal 22:39:02 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:32 snap 22:39:02 -rw-rw-r-- 1 jenkins jenkins 236 May 9 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:03 + 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=015255d9511ee0dd4c54ffab83c6258df708b662 --label arch=arm64 --label version=0.0.0 . 22:39:03 Sending build context to Docker daemon 14.74MB 22:39:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:39:03 Step 2/26 : FROM ${BASE} AS builder 22:39:03 ---> 607eeaa1af63 22:39:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:39:04 ---> Running in e69488fd24ac 22:39:04 Removing intermediate container e69488fd24ac 22:39:04 ---> 4e1c9b6f40bd 22:39:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:39:04 ---> Running in 57306771306d 22:39:04 Removing intermediate container 57306771306d 22:39:04 ---> 94b9f64b0c56 22:39:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:39:04 ---> Running in 5b5eeaf22eb9 22:39:04 Removing intermediate container 5b5eeaf22eb9 22:39:04 ---> 5123a247ae48 22:39:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:39:05 ---> Running in b405e402d6a6 22:39:05 Removing intermediate container b405e402d6a6 22:39:05 ---> 2f3a0a5c3a6c 22:39:05 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:39:05 ---> Running in 2d989c4ca3e5 22:39:05 Removing intermediate container 2d989c4ca3e5 22:39:05 ---> d2da91ff2f17 22:39:05 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:39:05 ---> Running in 9d84c28f85a9 22:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:39:08 OK: 263 MiB in 53 packages 22:39:09 Removing intermediate container 9d84c28f85a9 22:39:09 ---> 6c9aba340d82 22:39:09 Step 9/26 : WORKDIR /device-onvif-camera 22:39:09 ---> Running in 614e02c22b8e 22:39:09 Removing intermediate container 614e02c22b8e 22:39:09 ---> f9d71b3e67ea 22:39:09 Step 10/26 : COPY go.mod vendor* ./ 22:39:10 ---> a7aa1ec4b857 22:39:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:10 ---> Running in 70379a3e328a 22:39:12 Removing intermediate container 70379a3e328a 22:39:12 ---> 55c96f24c478 22:39:12 Step 12/26 : COPY . . 22:39:14 ---> a2fa932e443f 22:39:14 Step 13/26 : RUN ${MAKE} 22:39:14 ---> Running in 3e4691137769 22:39:15 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 22:41:52 Removing intermediate container 3e4691137769 22:41:52 ---> 01e08fd586f8 22:41:52 Step 14/26 : FROM alpine:3.17 22:41:52 3.17: Pulling from library/alpine 22:41:52 c41833b44d91: Already exists 22:41:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:41:52 Status: Downloaded newer image for alpine:3.17 22:41:52 ---> 51e60588ff2c 22:41:52 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:41:52 ---> Running in 603536997c48 22:41:52 Removing intermediate container 603536997c48 22:41:52 ---> 072dd72e74fd 22:41:52 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:41:52 ---> Running in 17cc218805d6 22:41:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:41:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:41:52 (1/1) Installing dumb-init (1.2.5-r2) 22:41:52 Executing busybox-1.35.0-r29.trigger 22:41:52 OK: 8 MiB in 16 packages 22:41:52 Removing intermediate container 17cc218805d6 22:41:52 ---> f69261d16c26 22:41:52 Step 17/26 : WORKDIR / 22:41:52 ---> Running in 176f58f5bdc8 22:41:52 Removing intermediate container 176f58f5bdc8 22:41:52 ---> 15a3e88b5ecc 22:41:52 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:41:52 ---> 727946593200 22:41:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:41:52 ---> ce52d17895a4 22:41:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:41:52 ---> b8bef78a55d8 22:41:52 Step 21/26 : EXPOSE 59984 22:41:52 ---> Running in 3ca70e5ab254 22:41:52 Removing intermediate container 3ca70e5ab254 22:41:52 ---> 8e8317369adb 22:41:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:41:52 ---> Running in daf52400e826 22:41:52 Removing intermediate container daf52400e826 22:41:52 ---> a346aa5d145b 22:41:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:41:52 ---> Running in fc984c1e9384 22:41:52 Removing intermediate container fc984c1e9384 22:41:52 ---> 975a3654e0f1 22:41:52 Step 24/26 : LABEL arch=arm64 22:41:52 ---> Running in d49b6548f56f 22:41:52 Removing intermediate container d49b6548f56f 22:41:52 ---> eae83f7d0c97 22:41:52 Step 25/26 : LABEL git_sha=015255d9511ee0dd4c54ffab83c6258df708b662 22:41:52 ---> Running in ca1dc8fe08c1 22:41:52 Removing intermediate container ca1dc8fe08c1 22:41:52 ---> 4243411bb62a 22:41:52 Step 26/26 : LABEL version=0.0.0 22:41:52 ---> Running in 40b9c414f92b 22:41:52 Removing intermediate container 40b9c414f92b 22:41:52 ---> 541723a28916 22:41:52 [Warning] One or more build-args [ARCH] were not consumed 22:41:52 Successfully built 541723a28916 22:41:52 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 22:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:52 22:41:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:53 arm64: Pulling from edgex-lftools-log-publisher 22:41:53 8998bd30e6a1: Pulling fs layer 22:41:53 04944245beec: Pulling fs layer 22:41:53 699f458cf7ca: Pulling fs layer 22:41:53 765212b225bb: Pulling fs layer 22:41:53 f23df028b6ca: Pulling fs layer 22:41:53 d65c8cfc05b1: Pulling fs layer 22:41:53 2437ff75d9bd: Pulling fs layer 22:41:53 f23df028b6ca: Waiting 22:41:53 d65c8cfc05b1: Waiting 22:41:53 2437ff75d9bd: Waiting 22:41:53 765212b225bb: Waiting 22:41:53 04944245beec: Verifying Checksum 22:41:53 04944245beec: Download complete 22:41:53 765212b225bb: Verifying Checksum 22:41:53 765212b225bb: Download complete 22:41:53 f23df028b6ca: Download complete 22:41:53 d65c8cfc05b1: Verifying Checksum 22:41:53 d65c8cfc05b1: Download complete 22:41:53 699f458cf7ca: Verifying Checksum 22:41:53 699f458cf7ca: Download complete 22:41:53 8998bd30e6a1: Verifying Checksum 22:41:53 8998bd30e6a1: Download complete 22:41:56 2437ff75d9bd: Verifying Checksum 22:41:56 2437ff75d9bd: Download complete 22:41:59 8998bd30e6a1: Pull complete 22:41:59 04944245beec: Pull complete 22:42:00 699f458cf7ca: Pull complete 22:42:00 765212b225bb: Pull complete 22:42:01 f23df028b6ca: Pull complete 22:42:01 d65c8cfc05b1: Pull complete 22:42:16 2437ff75d9bd: Pull complete 22:42:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:42:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:16 prd-ubuntu20.04-docker-arm64-4c-16g-14792 does not seem to be running inside a container 22:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:42:19 $ docker top 24bc76d68b2f3c66809daa6f8f3334959e01d5843bbec892c922f106d9f8b492 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:20 ---> job-cost.sh 22:42:20 lf-activate-venv: SKIPPING 22:42:20 INFO: No Stack... 22:42:20 INFO: Retrieving Pricing Info for: v3-standard-4 22:42:21 INFO: Archiving Costs [Pipeline] sh 22:42:22 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv 22:42:22 + cut -d, -f6 [Pipeline] lock 22:42:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] 22:42:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] did not exist. Created. 22:42:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:23 /w/workspace/device-onvif-camera/6@tmp/durable-f817564d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:42:23 + echo total: 0.10999999940395355 [Pipeline] stash 22:42:23 Warning: overwriting stash ‘stack-cost’ 22:42:24 Stashed 1 file(s) [Pipeline] } 22:42:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:24 $ docker stop --time=1 24bc76d68b2f3c66809daa6f8f3334959e01d5843bbec892c922f106d9f8b492 22:42:25 $ docker rm -f --volumes 24bc76d68b2f3c66809daa6f8f3334959e01d5843bbec892c922f106d9f8b492 [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 22:42:25 provisioning config files... 22:42:25 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config789696884871213815tmp [Pipeline] { [Pipeline] sh 22:42:26 + set +x 22:42:26 + bash -s -- 22:42:26 + curl -s https://codecov.io/bash 22:42:26 22:42:26 _____ _ 22:42:26 / ____| | | 22:42:26 | | ___ __| | ___ ___ _____ __ 22:42:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:42:26 | |___| (_) | (_| | __/ (_| (_) \ V / 22:42:26 \_____\___/ \__,_|\___|\___\___/ \_/ 22:42:26 Bash-1.0.6 22:42:26 22:42:26 22:42:26 ==> git version 2.25.1 found 22:42:26 ==> 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 22:42:26 Release-Date: 2020-01-08 22:42:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:42:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:42:26 ==> Jenkins CI detected. 22:42:26 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 22:42:26 project root: . 22:42:26 --> token set from env 22:42:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:42:26 ==> Running gcov in . (disable via -X gcov) 22:42:26 ==> Python coveragepy not found 22:42:26 ==> Searching for coverage reports in: 22:42:26 + . 22:42:26 -> Found 1 reports 22:42:26 ==> Detecting git/mercurial file structure 22:42:26 ==> Reading reports 22:42:26 + ./coverage.out bytes=79213 22:42:26 ==> Appending adjustments 22:42:26 https://docs.codecov.io/docs/fixing-reports 22:42:26 + Found adjustments 22:42:26 ==> Gzipping contents 22:42:26 12K /tmp/codecov.9ZlXjK.gz 22:42:26 ==> Uploading reports 22:42:26 url: https://codecov.io 22:42:26 query: branch=PR-347&commit=91c0639a8534559480b1fa7eddc79df47ff1d856&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 22:42:26 -> Pinging Codecov 22:42:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=91c0639a8534559480b1fa7eddc79df47ff1d856&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 22:42:26 -> Uploading to 22:42:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/91c0639a8534559480b1fa7eddc79df47ff1d856/8c3bf953-4edc-42fc-b1d2-e78704f7097a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T224226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=284a218ff4c1b3635d053fbe03b2241abf2be6c758b74590e593e3bb9186278f 22:42:26 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:26 Dload Upload Total Spent Left Speed 22:42:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 47448 --:--:-- --:--:-- --:--:-- 47448 22:42:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/91c0639a8534559480b1fa7eddc79df47ff1d856 [Pipeline] } 22:42:27 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 22:42:27 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 22:42:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 22:42:27 total 16 22:42:27 drwxr-xr-x 3 root root 4096 May 9 22:32 . 22:42:27 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:32 .. 22:42:27 drwxr-xr-x 2 root root 4096 May 9 22:32 cost 22:42:27 -rw-r--r-- 1 root root 91 May 9 22:32 cost.csv 22:42:27 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 22:42:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 22:42:27 total 16 22:42:27 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:32 . 22:42:27 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:32 .. 22:42:27 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:32 cost 22:42:27 -rw-r--r-- 1 jenkins jenkins 91 May 9 22:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:42:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:42:28 ---> package-listing.sh 22:42:28 ++ facter osfamily 22:42:28 ++ tr '[:upper:]' '[:lower:]' 22:42:29 + OS_FAMILY=debian 22:42:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 22:42:29 + START_PACKAGES=/tmp/packages_start.txt 22:42:29 + END_PACKAGES=/tmp/packages_end.txt 22:42:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:42:29 + PACKAGES=/tmp/packages_start.txt 22:42:29 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 22:42:29 + PACKAGES=/tmp/packages_end.txt 22:42:29 + case "${OS_FAMILY}" in 22:42:29 + dpkg -l 22:42:29 + grep '^ii' 22:42:29 + '[' -f /tmp/packages_start.txt ']' 22:42:29 + '[' -f /tmp/packages_end.txt ']' 22:42:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:42:29 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 22:42:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 22:42:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 22:42:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:42:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:30 prd-ubuntu20.04-docker-8c-8g-14791 does not seem to be running inside a container 22:42:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:30 $ docker top 4e302c25fbc5ddf79553a4b2183d33c10f7682e0551b12eaf9793834ab60f474 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:30 + touch /tmp/pre-build-complete [Pipeline] sh 22:42:30 + mkdir -p /var/log/sysstat [Pipeline] sh 22:42:31 + ls /var/log/sa-host 22:42:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:31 provisioning config files... 22:42:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config6221016400446319771tmp [Pipeline] { [Pipeline] echo 22:42:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:42:31 ---> create-netrc.sh [Pipeline] } 22:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:42:31 ---> python-tools-install.sh [Pipeline] echo 22:42:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:42:32 ---> sudo-logs.sh 22:42:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:42:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:42:32 ---> job-cost.sh 22:42:32 lf-activate-venv: SKIPPING 22:42:32 DEBUG: total: 0.2199999988079071 22:42:32 INFO: Retrieving Stack Cost... 22:42:32 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:33 INFO: Archiving Costs [Pipeline] echo 22:42:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:42:33 ---> logs-deploy.sh 22:42:33 lf-activate-venv: SKIPPING 22:42:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/6 22:42:33 INFO: archiving workspace using pattern(s): 22:42:34 Archives upload complete. 22:42:34 INFO: archiving logs to Nexus