Branch indexing 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 bc8694f62f775b1f1e37640ae017c5441854d813 rather than 74a069d0012c2600bdaae063aab1291ffef7ae52 Obtained Jenkinsfile from bc8694f62f775b1f1e37640ae017c5441854d813 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-ssh13411292538446316578.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-ssh6014831570919863672.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-355/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-355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh362733746843839996.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-ssh11093975893935583872.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-355/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-355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2188797970714924641.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14969 in /w/workspace/undry_device-onvif-camera_PR-355 [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-355 # 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 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit 74a069d0012c2600bdaae063aab1291ffef7ae52 Merge succeeded, producing c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc Checking out Revision c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc (PR-355) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74a069d0012c2600bdaae063aab1291ffef7ae52 # 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 bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc # timeout=10 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" > git rev-list --no-walk 74a069d0012c2600bdaae063aab1291ffef7ae52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:08 ========================================================= 22:11:08 EdgeX Global Pipelines Version Info 22:11:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:09 ------------------- 22:11:09 stable info: 22:11:09 ------------------- 22:11:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:09 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:11:09 Message: update stable to v1.0.249 22:11:09 ------------------- 22:11:09 experimental info: 22:11:09 ------------------- 22:11:09 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:09 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:11:09 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5b7ca1 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:10 provisioning config files... 22:11:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-355@tmp/config6440255334864492971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:10 ---> docker-login.sh 22:11:10 nexus3.edgexfoundry.org:10001 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10002 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10003 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10004 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 docker.io 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 ---> docker-login.sh ends [Pipeline] } 22:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:12 + git rev-list -1 --merges c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc~1..c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [Pipeline] echo 22:11:12 -----------> git rev-list -1 --merges c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc~1..c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc 22:11:12 c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [false] [Pipeline] sh 22:11:12 + git log --format=format:%s -1 c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [Pipeline] echo 22:11:12 ========================================================= 22:11:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:12 + git log --format=format:%s -1 c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [Pipeline] echo 22:11:12 [semverPrep] GIT_COMMIT: c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc, Commit Message: Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD [Pipeline] echo 22:11:12 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:13 + grep -v github /etc/ssh/ssh_known_hosts 22:11:13 + [ -e /tmp/ssh_known_hosts ] 22:11:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:13 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:13 22:11:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:13 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:13 b85a868b505f: Pulling fs layer 22:11:13 e2be974225ed: Pulling fs layer 22:11:13 339a4e72a1f5: Pulling fs layer 22:11:13 988bab9f4d93: Pulling fs layer 22:11:13 1469e6f7b9e6: Pulling fs layer 22:11:13 eaf3925da568: Pulling fs layer 22:11:13 bab4dde63d76: Pulling fs layer 22:11:13 bde34c3a00c8: Pulling fs layer 22:11:13 b352a97aabf1: Pulling fs layer 22:11:13 4872d77fe225: Pulling fs layer 22:11:13 5851b861e8e6: Pulling fs layer 22:11:13 bab4dde63d76: Waiting 22:11:13 988bab9f4d93: Waiting 22:11:13 1469e6f7b9e6: Waiting 22:11:13 eaf3925da568: Waiting 22:11:13 b352a97aabf1: Waiting 22:11:13 bde34c3a00c8: Waiting 22:11:13 4872d77fe225: Waiting 22:11:13 5851b861e8e6: Waiting 22:11:13 e2be974225ed: Verifying Checksum 22:11:13 e2be974225ed: Download complete 22:11:13 988bab9f4d93: Verifying Checksum 22:11:13 988bab9f4d93: Download complete 22:11:13 1469e6f7b9e6: Verifying Checksum 22:11:13 1469e6f7b9e6: Download complete 22:11:14 eaf3925da568: Verifying Checksum 22:11:14 eaf3925da568: Download complete 22:11:14 339a4e72a1f5: Verifying Checksum 22:11:14 339a4e72a1f5: Download complete 22:11:14 bde34c3a00c8: Verifying Checksum 22:11:14 bde34c3a00c8: Download complete 22:11:14 b352a97aabf1: Download complete 22:11:14 4872d77fe225: Verifying Checksum 22:11:14 4872d77fe225: Download complete 22:11:14 5851b861e8e6: Verifying Checksum 22:11:14 5851b861e8e6: Download complete 22:11:14 b85a868b505f: Download complete 22:11:14 bab4dde63d76: Verifying Checksum 22:11:14 bab4dde63d76: Download complete 22:11:15 b85a868b505f: Pull complete 22:11:15 e2be974225ed: Pull complete 22:11:15 339a4e72a1f5: Pull complete 22:11:15 988bab9f4d93: Pull complete 22:11:16 1469e6f7b9e6: Pull complete 22:11:16 eaf3925da568: Pull complete 22:11:17 bab4dde63d76: Pull complete 22:11:17 bde34c3a00c8: Pull complete 22:11:17 b352a97aabf1: Pull complete 22:11:18 4872d77fe225: Pull complete 22:11:18 5851b861e8e6: Pull complete 22:11:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:18 prd-ubuntu20.04-docker-8c-8g-14969 does not seem to be running inside a container 22:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-355 -v /w/workspace/undry_device-onvif-camera_PR-355:/w/workspace/undry_device-onvif-camera_PR-355:rw,z -v /w/workspace/undry_device-onvif-camera_PR-355@tmp:/w/workspace/undry_device-onvif-camera_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:20 $ docker top 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f -eo pid,comm 22:11:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:20 [ssh-agent] Looking for ssh-agent implementation... 22:11:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:20 $ docker exec 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f ssh-agent 22:11:20 SSH_AUTH_SOCK=/tmp/ssh-qJxGUyAJvyMf/agent.31 22:11:20 SSH_AGENT_PID=37 22:11:20 Running ssh-add (command line suppressed) 22:11:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-355@tmp/private_key_1015432925453281568.key (/w/workspace/undry_device-onvif-camera_PR-355@tmp/private_key_1015432925453281568.key) 22:11:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:20 + git tag --points-at HEAD [Pipeline] } 22:11:21 $ docker exec --env ******** --env ******** 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f ssh-agent -k 22:11:21 unset SSH_AUTH_SOCK; 22:11:21 unset SSH_AGENT_PID; 22:11:21 echo Agent pid 37 killed; 22:11:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:21 [ssh-agent] Looking for ssh-agent implementation... 22:11:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:21 $ docker exec 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f ssh-agent 22:11:21 SSH_AUTH_SOCK=/tmp/ssh-WJV3IaaWiSVE/agent.71 22:11:21 SSH_AGENT_PID=77 22:11:21 Running ssh-add (command line suppressed) 22:11:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-355@tmp/private_key_17291218312889787117.key (/w/workspace/undry_device-onvif-camera_PR-355@tmp/private_key_17291218312889787117.key) 22:11:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:21 + git semver init 22:11:22 2023-05-10 22:11:21,953 [run_init] DEBUG init version:0.0.0 force:False 22:11:22 2023-05-10 22:11:21,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-355/.semver 22:11:22 2023-05-10 22:11:21,955 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-355/.semver 22:11:22 2023-05-10 22:11:21,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-355/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-355, universal_newlines=False, shell=None, istream=None) 22:11:22 2023-05-10 22:11:22,828 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-355/.git/info/exclude 22:11:22 2023-05-10 22:11:22,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-355/.semver/PR-355 with force:False 22:11:22 2023-05-10 22:11:22,829 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-355/.semver/PR-355 22:11:22 2023-05-10 22:11:22,834 [execute] INFO git cat-file --batch-check 22:11:22 2023-05-10 22:11:22,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-355/.semver, universal_newlines=False, shell=None, istream=) 22:11:22 2023-05-10 22:11:22,841 [execute] INFO git cat-file --batch 22:11:22 2023-05-10 22:11:22,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-355/.semver, universal_newlines=False, shell=None, istream=) 22:11:22 2023-05-10 22:11:22,846 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-355/.semver/PR-355 22:11:22 0.0.0 [Pipeline] } 22:11:22 $ docker exec --env ******** --env ******** 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f ssh-agent -k 22:11:23 unset SSH_AUTH_SOCK; 22:11:23 unset SSH_AGENT_PID; 22:11:23 echo Agent pid 77 killed; 22:11:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:23 + git semver [Pipeline] } 22:11:23 $ docker stop --time=1 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f 22:11:24 $ docker rm -f --volumes 4186d561db5bf0ed7abbde3860bb67a6a8c67e82f7e8c97854ae9224377c532f [Pipeline] // withDockerContainer [Pipeline] sh 22:11:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:25 Stashed 1 file(s) [Pipeline] echo 22:11:25 [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:11:25 provisioning config files... 22:11:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-355@tmp/config15158973978228418327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:25 ---> docker-login.sh 22:11:25 nexus3.edgexfoundry.org:10001 22:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:25 Configure a credential helper to remove this warning. See 22:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:25 22:11:25 Login Succeeded 22:11:25 nexus3.edgexfoundry.org:10002 22:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:25 Configure a credential helper to remove this warning. See 22:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:25 22:11:25 Login Succeeded 22:11:25 nexus3.edgexfoundry.org:10003 22:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:26 Configure a credential helper to remove this warning. See 22:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:26 22:11:26 Login Succeeded 22:11:26 nexus3.edgexfoundry.org:10004 22:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:26 Configure a credential helper to remove this warning. See 22:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:26 22:11:26 Login Succeeded 22:11:26 docker.io 22:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:26 Configure a credential helper to remove this warning. See 22:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:26 22:11:26 Login Succeeded 22:11:26 ---> docker-login.sh ends [Pipeline] } 22:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:26 ========================================================= 22:11:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:26 + 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:11:26 Sending build context to Docker daemon 21.85MB 22:11:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:26 Step 2/13 : FROM ${BASE} AS builder 22:11:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:27 f56be85fc22e: Pulling fs layer 22:11:27 85791d961cd3: Pulling fs layer 22:11:27 d694b5ae8c79: Pulling fs layer 22:11:27 9f32a84ed3da: Pulling fs layer 22:11:27 4d19c01a9841: Pulling fs layer 22:11:27 9325e15d5711: Pulling fs layer 22:11:27 556b6ee489ea: Pulling fs layer 22:11:27 c5a4b2cf53e6: Pulling fs layer 22:11:27 9f32a84ed3da: Waiting 22:11:27 4d19c01a9841: Waiting 22:11:27 9325e15d5711: Waiting 22:11:27 556b6ee489ea: Waiting 22:11:27 c5a4b2cf53e6: Waiting 22:11:27 85791d961cd3: Download complete 22:11:27 9f32a84ed3da: Verifying Checksum 22:11:27 9f32a84ed3da: Download complete 22:11:27 4d19c01a9841: Download complete 22:11:27 f56be85fc22e: Download complete 22:11:27 9325e15d5711: Verifying Checksum 22:11:27 9325e15d5711: Download complete 22:11:27 f56be85fc22e: Pull complete 22:11:27 85791d961cd3: Pull complete 22:11:27 c5a4b2cf53e6: Verifying Checksum 22:11:27 c5a4b2cf53e6: Download complete 22:11:27 d694b5ae8c79: Verifying Checksum 22:11:27 d694b5ae8c79: Download complete 22:11:27 556b6ee489ea: Verifying Checksum 22:11:27 556b6ee489ea: Download complete 22:11:31 d694b5ae8c79: Pull complete 22:11:31 9f32a84ed3da: Pull complete 22:11:31 4d19c01a9841: Pull complete 22:11:31 9325e15d5711: Pull complete 22:11:33 556b6ee489ea: Pull complete 22:11:34 c5a4b2cf53e6: Pull complete 22:11:34 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:34 ---> c4be618373d6 22:11:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:38 ---> Running in 04c2fdc40ba5 22:11:38 Removing intermediate container 04c2fdc40ba5 22:11:38 ---> 8c48d8c4476d 22:11:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:38 ---> Running in 009819964fcc 22:11:38 Removing intermediate container 009819964fcc 22:11:38 ---> c12a960db5e2 22:11:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:39 ---> Running in 5330420eb429 22:11:39 Removing intermediate container 5330420eb429 22:11:39 ---> 8450a0025c6f 22:11:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:39 ---> Running in 54bf632c8168 22:11:39 Removing intermediate container 54bf632c8168 22:11:39 ---> b5fe749a0f5e 22:11:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:39 ---> Running in 9f903b60d53c 22:11:39 Removing intermediate container 9f903b60d53c 22:11:39 ---> fde3fbbbb9cc 22:11:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:39 ---> Running in d79c1660ad0b 22:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:40 Still waiting to schedule task 22:11:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:40 OK: 265 MiB in 53 packages 22:11:40 Removing intermediate container d79c1660ad0b 22:11:40 ---> 6cd467b7c615 22:11:40 Step 9/13 : WORKDIR /device-onvif-camera 22:11:40 ---> Running in 68432d3fc1ab 22:11:41 Removing intermediate container 68432d3fc1ab 22:11:41 ---> 3ee62d0c23e7 22:11:41 Step 10/13 : COPY go.mod vendor* ./ 22:11:41 ---> e5f51325c1c9 22:11:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:41 ---> Running in 2a468d2f3e0c 22:12:03 Removing intermediate container 2a468d2f3e0c 22:12:03 ---> c3fc09c5925d 22:12:03 Step 12/13 : COPY . . 22:12:03 ---> 45e83d2652e9 22:12:03 Step 13/13 : RUN ${MAKE} 22:12:03 ---> Running in 8535b2e31c37 22:12:03 noop 22:12:03 Removing intermediate container 8535b2e31c37 22:12:03 ---> 676271647c65 22:12:03 Successfully built 676271647c65 22:12:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:04 + docker inspect -f . ci-base-image-x86_64 22:12:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:04 prd-ubuntu20.04-docker-8c-8g-14969 does not seem to be running inside a container 22:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-355 -v /w/workspace/undry_device-onvif-camera_PR-355:/w/workspace/undry_device-onvif-camera_PR-355:rw,z -v /w/workspace/undry_device-onvif-camera_PR-355@tmp:/w/workspace/undry_device-onvif-camera_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:04 $ docker top d4c2059d0de3a1d4b5ff373d64867e06a148050eccf0a6a7e0bb222c5fc96c9d -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:05 + go version 22:12:05 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:05 $ docker stop --time=1 d4c2059d0de3a1d4b5ff373d64867e06a148050eccf0a6a7e0bb222c5fc96c9d 22:12:06 $ docker rm -f --volumes d4c2059d0de3a1d4b5ff373d64867e06a148050eccf0a6a7e0bb222c5fc96c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:07 + docker inspect -f . ci-base-image-x86_64 22:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:07 prd-ubuntu20.04-docker-8c-8g-14969 does not seem to be running inside a container 22:12:07 $ 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-355 -v /w/workspace/undry_device-onvif-camera_PR-355:/w/workspace/undry_device-onvif-camera_PR-355:rw,z -v /w/workspace/undry_device-onvif-camera_PR-355@tmp:/w/workspace/undry_device-onvif-camera_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:07 $ docker top ad762ff91ae86db124abc35d5899c3c0f7a29b9318b382651753c1306073678b -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-355 [Pipeline] fileExists [Pipeline] sh 22:12:08 + make test 22:12:08 go test ./... -coverprofile=coverage.out ./... 22:12:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.0% of statements 22:12:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.095s coverage: 86.5% of statements 22:12:31 go vet ./... 22:12:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:34 $ docker stop --time=1 ad762ff91ae86db124abc35d5899c3c0f7a29b9318b382651753c1306073678b 22:12:37 $ docker rm -f --volumes ad762ff91ae86db124abc35d5899c3c0f7a29b9318b382651753c1306073678b [Pipeline] // withDockerContainer [Pipeline] sh 22:12:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:38 + ls -al . 22:12:38 total 232 22:12:38 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:12 . 22:12:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:11 .. 22:12:38 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:11 .git 22:12:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:11 .github 22:12:38 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:11 .gitignore 22:12:38 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:11 .golangci.yml 22:12:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:11 .semver 22:12:38 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:11 Attribution.txt 22:12:38 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:11 CHANGELOG.md 22:12:38 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:11 Dockerfile 22:12:38 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:11 GOVERNANCE.md 22:12:38 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:11 Jenkinsfile 22:12:38 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:11 LICENSE 22:12:38 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:11 Makefile 22:12:38 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:11 OWNERS.md 22:12:38 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:11 README.md 22:12:38 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:11 VERSION 22:12:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:11 bin 22:12:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:11 cmd 22:12:38 -rw-r--r-- 1 jenkins jenkins 79472 May 10 22:12 coverage.out 22:12:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:11 doc 22:12:38 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:11 go.mod 22:12:38 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:11 go.sum 22:12:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:11 internal 22:12:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:11 snap 22:12:38 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:39 + 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=c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc --label arch=amd64 --label version=0.0.0 . 22:12:39 Sending build context to Docker daemon 21.93MB 22:12:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:39 Step 2/26 : FROM ${BASE} AS builder 22:12:39 ---> 676271647c65 22:12:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:39 ---> Running in 994e8ad2d7db 22:12:39 Removing intermediate container 994e8ad2d7db 22:12:39 ---> f81901cc5b86 22:12:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:39 ---> Running in 7c768cf86a38 22:12:39 Removing intermediate container 7c768cf86a38 22:12:39 ---> 82c1c20ee4d4 22:12:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:39 ---> Running in 76fe96776810 22:12:39 Removing intermediate container 76fe96776810 22:12:39 ---> b2878d99a12e 22:12:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:39 ---> Running in 8619d01b5d91 22:12:39 Removing intermediate container 8619d01b5d91 22:12:39 ---> 957f9ce41427 22:12:39 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:39 ---> Running in 103a6bb389f5 22:12:39 Removing intermediate container 103a6bb389f5 22:12:39 ---> a65a65b19eea 22:12:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:39 ---> Running in 8daa0916af46 22:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:40 OK: 265 MiB in 53 packages 22:12:40 Removing intermediate container 8daa0916af46 22:12:40 ---> 2eec0668d09f 22:12:40 Step 9/26 : WORKDIR /device-onvif-camera 22:12:41 ---> Running in f780b133be38 22:12:41 Removing intermediate container f780b133be38 22:12:41 ---> bcfcdf23ab58 22:12:41 Step 10/26 : COPY go.mod vendor* ./ 22:12:41 ---> 9481198e487d 22:12:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:41 ---> Running in a4fd4d428ce2 22:12:42 Removing intermediate container a4fd4d428ce2 22:12:42 ---> 09faf199a187 22:12:42 Step 12/26 : COPY . . 22:12:42 ---> 4dd6c279c648 22:12:42 Step 13/26 : RUN ${MAKE} 22:12:42 ---> Running in 65d136ede744 22:12:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:13:01 Removing intermediate container 65d136ede744 22:13:01 ---> f591be1ed551 22:13:01 Step 14/26 : FROM alpine:3.17 22:13:01 3.17: Pulling from library/alpine 22:13:01 f56be85fc22e: Already exists 22:13:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:13:01 Status: Downloaded newer image for alpine:3.17 22:13:01 ---> 9ed4aefc74f6 22:13:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:01 ---> Running in 16ab2ebd45ea 22:13:01 Removing intermediate container 16ab2ebd45ea 22:13:01 ---> d2c0c5f18763 22:13:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:01 ---> Running in 0ff6797c0687 22:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:02 (1/1) Installing dumb-init (1.2.5-r2) 22:13:02 Executing busybox-1.35.0-r29.trigger 22:13:02 OK: 7 MiB in 16 packages 22:13:03 Removing intermediate container 0ff6797c0687 22:13:03 ---> c015dd543489 22:13:03 Step 17/26 : WORKDIR / 22:13:03 ---> Running in 547f51412886 22:13:03 Removing intermediate container 547f51412886 22:13:03 ---> 97965cb9edb9 22:13:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:04 ---> 10e7ec0b6919 22:13:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:05 ---> 16342242854a 22:13:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:05 ---> be756cf57e67 22:13:05 Step 21/26 : EXPOSE 59984 22:13:05 ---> Running in 39b05f805e59 22:13:05 Removing intermediate container 39b05f805e59 22:13:05 ---> fe2f0149c91a 22:13:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:05 ---> Running in edc78323ae53 22:13:05 Removing intermediate container edc78323ae53 22:13:05 ---> a71ffffef224 22:13:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:05 ---> Running in ddc633f1a57b 22:13:05 Removing intermediate container ddc633f1a57b 22:13:05 ---> 551710f0153f 22:13:05 Step 24/26 : LABEL arch=amd64 22:13:05 ---> Running in 48736fe4a096 22:13:05 Removing intermediate container 48736fe4a096 22:13:05 ---> f5d9ca75d8f6 22:13:05 Step 25/26 : LABEL git_sha=c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc 22:13:05 ---> Running in 0f69a50f0550 22:13:06 Removing intermediate container 0f69a50f0550 22:13:06 ---> c2b972781f46 22:13:06 Step 26/26 : LABEL version=0.0.0 22:13:06 ---> Running in 2fec0e8991a5 22:13:06 Removing intermediate container 2fec0e8991a5 22:13:06 ---> faa194d3fda7 22:13:06 [Warning] One or more build-args [ARCH] were not consumed 22:13:06 Successfully built faa194d3fda7 22:13:06 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:13:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:06 22:13:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:06 latest: Pulling from edgex-lftools-log-publisher 22:13:06 5eb5b503b376: Pulling fs layer 22:13:06 5c69ac0246d0: Pulling fs layer 22:13:06 ec43610c2a17: Pulling fs layer 22:13:06 3a2ae6a8a46f: Pulling fs layer 22:13:06 33b1e0a273af: Pulling fs layer 22:13:06 5d3b04190fa2: Pulling fs layer 22:13:06 2f39f015ded8: Pulling fs layer 22:13:06 33b1e0a273af: Waiting 22:13:06 5d3b04190fa2: Waiting 22:13:06 2f39f015ded8: Waiting 22:13:06 3a2ae6a8a46f: Waiting 22:13:06 5c69ac0246d0: Download complete 22:13:06 3a2ae6a8a46f: Verifying Checksum 22:13:06 3a2ae6a8a46f: Download complete 22:13:06 33b1e0a273af: Verifying Checksum 22:13:06 33b1e0a273af: Download complete 22:13:06 5d3b04190fa2: Verifying Checksum 22:13:06 5d3b04190fa2: Download complete 22:13:06 ec43610c2a17: Verifying Checksum 22:13:06 ec43610c2a17: Download complete 22:13:07 5eb5b503b376: Verifying Checksum 22:13:07 5eb5b503b376: Download complete 22:13:07 2f39f015ded8: Verifying Checksum 22:13:07 2f39f015ded8: Download complete 22:13:08 5eb5b503b376: Pull complete 22:13:08 5c69ac0246d0: Pull complete 22:13:08 ec43610c2a17: Pull complete 22:13:08 3a2ae6a8a46f: Pull complete 22:13:09 33b1e0a273af: Pull complete 22:13:09 5d3b04190fa2: Pull complete 22:13:13 2f39f015ded8: Pull complete 22:13:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:13 prd-ubuntu20.04-docker-8c-8g-14969 does not seem to be running inside a container 22:13:13 $ 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-355 -v /w/workspace/undry_device-onvif-camera_PR-355:/w/workspace/undry_device-onvif-camera_PR-355:rw,z -v /w/workspace/undry_device-onvif-camera_PR-355@tmp:/w/workspace/undry_device-onvif-camera_PR-355@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:13:15 $ docker top d9c3c6095fdc296af8c7233c5e923d33595ab7be4cada044d18bb7d53804bda5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:15 ---> job-cost.sh 22:13:15 lf-activate-venv: SKIPPING 22:13:15 INFO: No Stack... 22:13:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:16 INFO: Archiving Costs [Pipeline] sh 22:13:16 + cat /w/workspace/undry_device-onvif-camera_PR-355/archives/cost.csv 22:13:16 + cut -d, -f6 [Pipeline] lock 22:13:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] 22:13:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] did not exist. Created. 22:13:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:16 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:17 Stashed 1 file(s) [Pipeline] } 22:13:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:17 $ docker stop --time=1 d9c3c6095fdc296af8c7233c5e923d33595ab7be4cada044d18bb7d53804bda5 22:13:18 $ docker rm -f --volumes d9c3c6095fdc296af8c7233c5e923d33595ab7be4cada044d18bb7d53804bda5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14971 in /w/workspace/undry_device-onvif-camera_PR-355 [Pipeline] { [Pipeline] ws 22:14:05 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:14:05 The recommended git tool is: git 22:14:12 using credential edgex-jenkins-ssh 22:14:12 Cloning the remote Git repository 22:14:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:12 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:14:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:12 > git --version # timeout=10 22:14:12 > git --version # 'git version 2.25.1' 22:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:16 Merging remotes/origin/main commit bc8694f62f775b1f1e37640ae017c5441854d813 into PR head commit 74a069d0012c2600bdaae063aab1291ffef7ae52 22:14:16 Merge succeeded, producing 8a2b5da26df1399db2c639664d6614c885dd100d 22:14:16 Checking out Revision 8a2b5da26df1399db2c639664d6614c885dd100d (PR-355) 22:14:16 > git config core.sparsecheckout # timeout=10 22:14:16 > git checkout -f 74a069d0012c2600bdaae063aab1291ffef7ae52 # timeout=10 22:14:16 > git remote # timeout=10 22:14:16 > git config --get remote.origin.url # timeout=10 22:14:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:16 > git merge bc8694f62f775b1f1e37640ae017c5441854d813 # timeout=10 22:14:16 > git rev-parse HEAD^{commit} # timeout=10 22:14:16 > git config core.sparsecheckout # timeout=10 22:14:17 > git checkout -f 8a2b5da26df1399db2c639664d6614c885dd100d # timeout=10 22:14:20 Commit message: "Merge commit 'bc8694f62f775b1f1e37640ae017c5441854d813' into HEAD" 22:14:20 > git rev-list --no-walk 74a069d0012c2600bdaae063aab1291ffef7ae52 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:21 Dload Upload Total Spent Left Speed 22:14:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 22:14:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:23 + sudo tee /etc/docker/daemon.new 22:14:23 { 22:14:23 "registry-mirrors": [ 22:14:23 "https://nexus3.edgexfoundry.org:10001" 22:14:23 ], 22:14:23 "bip": "10.250.0.254/24", 22:14:23 "hosts": [ 22:14:23 "tcp://0.0.0.0:5555", 22:14:23 "unix:///var/run/docker.sock" 22:14:23 ], 22:14:23 "mtu": 1458, 22:14:23 "selinux-enabled": true, 22:14:23 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:23 } [Pipeline] sh 22:14:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:42 provisioning config files... 22:14:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3003239242446622732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:42 ---> docker-login.sh 22:14:42 nexus3.edgexfoundry.org:10001 22:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:43 Configure a credential helper to remove this warning. See 22:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:43 22:14:43 Login Succeeded 22:14:43 nexus3.edgexfoundry.org:10002 22:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:43 Configure a credential helper to remove this warning. See 22:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:43 22:14:43 Login Succeeded 22:14:43 nexus3.edgexfoundry.org:10003 22:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:43 Configure a credential helper to remove this warning. See 22:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:43 22:14:43 Login Succeeded 22:14:43 nexus3.edgexfoundry.org:10004 22:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:44 Configure a credential helper to remove this warning. See 22:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:44 22:14:44 Login Succeeded 22:14:44 docker.io 22:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:44 Configure a credential helper to remove this warning. See 22:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:44 22:14:44 Login Succeeded 22:14:44 ---> docker-login.sh ends [Pipeline] } 22:14:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:45 ========================================================= 22:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:45 + 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:14:46 Sending build context to Docker daemon 14.37MB 22:14:46 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:46 Step 2/13 : FROM ${BASE} AS builder 22:14:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:47 c41833b44d91: Pulling fs layer 22:14:47 ed15518f5707: Pulling fs layer 22:14:47 feae8fd75edb: Pulling fs layer 22:14:47 242c74f7c9fa: Pulling fs layer 22:14:47 3cdef696dda3: Pulling fs layer 22:14:47 2ced38df9373: Pulling fs layer 22:14:47 58f1dce35555: Pulling fs layer 22:14:47 242c74f7c9fa: Waiting 22:14:47 3cdef696dda3: Waiting 22:14:47 2ced38df9373: Waiting 22:14:47 58f1dce35555: Waiting 22:14:47 ed15518f5707: Verifying Checksum 22:14:47 ed15518f5707: Download complete 22:14:47 242c74f7c9fa: Verifying Checksum 22:14:47 242c74f7c9fa: Download complete 22:14:47 3cdef696dda3: Verifying Checksum 22:14:47 3cdef696dda3: Download complete 22:14:47 c41833b44d91: Verifying Checksum 22:14:47 c41833b44d91: Download complete 22:14:48 c41833b44d91: Pull complete 22:14:48 58f1dce35555: Verifying Checksum 22:14:48 58f1dce35555: Download complete 22:14:48 ed15518f5707: Pull complete 22:14:49 feae8fd75edb: Download complete 22:14:49 2ced38df9373: Verifying Checksum 22:14:49 2ced38df9373: Download complete 22:15:02 feae8fd75edb: Pull complete 22:15:02 242c74f7c9fa: Pull complete 22:15:02 3cdef696dda3: Pull complete 22:15:10 2ced38df9373: Pull complete 22:15:11 58f1dce35555: Pull complete 22:15:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:15:11 ---> fadd8f120f05 22:15:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:13 ---> Running in fcf7de6bcb3d 22:15:14 Removing intermediate container fcf7de6bcb3d 22:15:14 ---> 5ec93d48cc65 22:15:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:14 ---> Running in c27dcd38803b 22:15:14 Removing intermediate container c27dcd38803b 22:15:14 ---> 4ee7f3f9c9ca 22:15:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:14 ---> Running in b34c01f9b7bf 22:15:15 Removing intermediate container b34c01f9b7bf 22:15:15 ---> 03bae61eb95a 22:15:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:15 ---> Running in 0f2b1089ee3c 22:15:15 Removing intermediate container 0f2b1089ee3c 22:15:15 ---> df46667e87d5 22:15:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:15 ---> Running in a2b0d742b330 22:15:16 Removing intermediate container a2b0d742b330 22:15:16 ---> dc35a33486ac 22:15:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:16 ---> Running in 91a9a8c88176 22:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:19 OK: 263 MiB in 53 packages 22:15:20 Removing intermediate container 91a9a8c88176 22:15:20 ---> 3b15abed50e3 22:15:20 Step 9/13 : WORKDIR /device-onvif-camera 22:15:20 ---> Running in 52e37573844f 22:15:20 Removing intermediate container 52e37573844f 22:15:20 ---> f066d5664528 22:15:20 Step 10/13 : COPY go.mod vendor* ./ 22:15:21 ---> 47e59487e548 22:15:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:21 ---> Running in a7754289e460 22:16:29 Removing intermediate container a7754289e460 22:16:29 ---> a1abfc3070d0 22:16:29 Step 12/13 : COPY . . 22:16:29 ---> 6447db06dab6 22:16:29 Step 13/13 : RUN ${MAKE} 22:16:29 ---> Running in f364dd1f1b98 22:16:29 noop 22:16:29 Removing intermediate container f364dd1f1b98 22:16:29 ---> cde343ec239c 22:16:29 Successfully built cde343ec239c 22:16:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:29 + docker inspect -f . ci-base-image-arm64 22:16:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:30 prd-ubuntu20.04-docker-arm64-4c-16g-14971 does not seem to be running inside a container 22:16:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:31 $ docker top 170d93c514d88fb136c3258ee3b359f862dd5ef9543a6202e83fa7dc20d3978f -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:32 + go version 22:16:32 go version go1.20.2 linux/arm64 [Pipeline] } 22:16:32 $ docker stop --time=1 170d93c514d88fb136c3258ee3b359f862dd5ef9543a6202e83fa7dc20d3978f 22:16:35 $ docker rm -f --volumes 170d93c514d88fb136c3258ee3b359f862dd5ef9543a6202e83fa7dc20d3978f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:36 + docker inspect -f . ci-base-image-arm64 22:16:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:36 prd-ubuntu20.04-docker-arm64-4c-16g-14971 does not seem to be running inside a container 22:16:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:37 $ docker top 11a6d78e68a4abda300f8c4e2b0cc1e792680d95dd258f39070e45466dc90369 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:16:39 + make test 22:16:39 go test ./... -coverprofile=coverage.out ./... 22:17:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:19:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:19:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.241s coverage: 31.0% of statements 22:20:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.718s coverage: 86.5% of statements 22:20:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:20:27 go vet ./... 22:21:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:06 $ docker stop --time=1 11a6d78e68a4abda300f8c4e2b0cc1e792680d95dd258f39070e45466dc90369 22:21:08 $ docker rm -f --volumes 11a6d78e68a4abda300f8c4e2b0cc1e792680d95dd258f39070e45466dc90369 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:09 Warning: overwriting stash ‘coverage-report’ 22:21:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:10 + ls -al . 22:21:10 total 228 22:21:10 drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:16 . 22:21:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:14 .. 22:21:10 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:14 .git 22:21:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:14 .github 22:21:10 -rw-rw-r-- 1 jenkins jenkins 496 May 10 22:14 .gitignore 22:21:10 -rw-rw-r-- 1 jenkins jenkins 42 May 10 22:14 .golangci.yml 22:21:10 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 22:14 Attribution.txt 22:21:10 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 22:14 CHANGELOG.md 22:21:10 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 22:14 Dockerfile 22:21:10 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:14 GOVERNANCE.md 22:21:10 -rw-rw-r-- 1 jenkins jenkins 734 May 10 22:14 Jenkinsfile 22:21:10 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 22:14 LICENSE 22:21:10 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 22:14 Makefile 22:21:10 -rw-rw-r-- 1 jenkins jenkins 625 May 10 22:14 OWNERS.md 22:21:10 -rw-rw-r-- 1 jenkins jenkins 2690 May 10 22:14 README.md 22:21:10 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:11 VERSION 22:21:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:14 bin 22:21:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:14 cmd 22:21:10 -rw-r--r-- 1 jenkins jenkins 79472 May 10 22:20 coverage.out 22:21:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:14 doc 22:21:10 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 22:14 go.mod 22:21:10 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 22:14 go.sum 22:21:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:14 internal 22:21:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:14 snap 22:21:10 -rw-rw-r-- 1 jenkins jenkins 236 May 10 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:11 + 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=8a2b5da26df1399db2c639664d6614c885dd100d --label arch=arm64 --label version=0.0.0 . 22:21:11 Sending build context to Docker daemon 14.46MB 22:21:11 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:21:11 Step 2/26 : FROM ${BASE} AS builder 22:21:11 ---> cde343ec239c 22:21:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:12 ---> Running in 3f77ec99f78d 22:21:12 Removing intermediate container 3f77ec99f78d 22:21:12 ---> 31dfb04e4501 22:21:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:12 ---> Running in 277941c233aa 22:21:12 Removing intermediate container 277941c233aa 22:21:12 ---> 431f92bd50db 22:21:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:21:12 ---> Running in ada8f68f0a7f 22:21:13 Removing intermediate container ada8f68f0a7f 22:21:13 ---> 3af8dc333d76 22:21:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:13 ---> Running in dc086abf5a61 22:21:13 Removing intermediate container dc086abf5a61 22:21:13 ---> 755946aeac26 22:21:13 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:21:13 ---> Running in 94f6e8e2377e 22:21:14 Removing intermediate container 94f6e8e2377e 22:21:14 ---> b77ed1ab1813 22:21:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:14 ---> Running in 9943ffdc14e9 22:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:16 OK: 263 MiB in 53 packages 22:21:17 Removing intermediate container 9943ffdc14e9 22:21:17 ---> ec5b2e712b5e 22:21:17 Step 9/26 : WORKDIR /device-onvif-camera 22:21:18 ---> Running in 322ce2d430f2 22:21:18 Removing intermediate container 322ce2d430f2 22:21:18 ---> 69c74ea6755c 22:21:18 Step 10/26 : COPY go.mod vendor* ./ 22:21:20 ---> 62207abac8c0 22:21:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:20 ---> Running in e98b6e5c3b5f 22:21:22 Removing intermediate container e98b6e5c3b5f 22:21:22 ---> 0df9c18f8077 22:21:22 Step 12/26 : COPY . . 22:21:24 ---> 04e94f72caf5 22:21:24 Step 13/26 : RUN ${MAKE} 22:21:24 ---> Running in 221b4d363bce 22:21:25 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:24:17 Removing intermediate container 221b4d363bce 22:24:17 ---> 068448295708 22:24:17 Step 14/26 : FROM alpine:3.17 22:24:17 3.17: Pulling from library/alpine 22:24:17 c41833b44d91: Already exists 22:24:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:24:17 Status: Downloaded newer image for alpine:3.17 22:24:17 ---> 51e60588ff2c 22:24:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:24:17 ---> Running in 7c1f421e5c12 22:24:17 Removing intermediate container 7c1f421e5c12 22:24:17 ---> 6e3d95df15d6 22:24:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:17 ---> Running in 81b57ebccb37 22:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:17 (1/1) Installing dumb-init (1.2.5-r2) 22:24:17 Executing busybox-1.35.0-r29.trigger 22:24:17 OK: 8 MiB in 16 packages 22:24:17 Removing intermediate container 81b57ebccb37 22:24:17 ---> 448a9f02a9f4 22:24:17 Step 17/26 : WORKDIR / 22:24:17 ---> Running in d9ad00d89a99 22:24:18 Removing intermediate container d9ad00d89a99 22:24:18 ---> 8f5815cc72f8 22:24:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:24:19 ---> 266d3aae7520 22:24:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:24:20 ---> 189da720e128 22:24:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:24:20 ---> b3bd7545a282 22:24:20 Step 21/26 : EXPOSE 59984 22:24:20 ---> Running in 74aa20b6e0ea 22:24:21 Removing intermediate container 74aa20b6e0ea 22:24:21 ---> b4aae921c8de 22:24:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:24:21 ---> Running in 566d0b3c2969 22:24:21 Removing intermediate container 566d0b3c2969 22:24:21 ---> 3a4504901060 22:24:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:21 ---> Running in 8a280e512350 22:24:21 Removing intermediate container 8a280e512350 22:24:21 ---> b036bd3bf78a 22:24:21 Step 24/26 : LABEL arch=arm64 22:24:22 ---> Running in 093d65cb7c0d 22:24:22 Removing intermediate container 093d65cb7c0d 22:24:22 ---> fa3f43eaa5ce 22:24:22 Step 25/26 : LABEL git_sha=8a2b5da26df1399db2c639664d6614c885dd100d 22:24:22 ---> Running in 0b3f5845acdd 22:24:22 Removing intermediate container 0b3f5845acdd 22:24:22 ---> a426a4b5eb15 22:24:22 Step 26/26 : LABEL version=0.0.0 22:24:22 ---> Running in 2bab89bdc04d 22:24:23 Removing intermediate container 2bab89bdc04d 22:24:23 ---> 7f4fa711196d 22:24:23 [Warning] One or more build-args [ARCH] were not consumed 22:24:23 Successfully built 7f4fa711196d 22:24:23 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:24:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:23 22:24:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:24 arm64: Pulling from edgex-lftools-log-publisher 22:24:24 8998bd30e6a1: Pulling fs layer 22:24:24 04944245beec: Pulling fs layer 22:24:24 699f458cf7ca: Pulling fs layer 22:24:24 765212b225bb: Pulling fs layer 22:24:24 f23df028b6ca: Pulling fs layer 22:24:24 d65c8cfc05b1: Pulling fs layer 22:24:24 2437ff75d9bd: Pulling fs layer 22:24:24 f23df028b6ca: Waiting 22:24:24 d65c8cfc05b1: Waiting 22:24:24 2437ff75d9bd: Waiting 22:24:24 04944245beec: Verifying Checksum 22:24:24 04944245beec: Download complete 22:24:24 765212b225bb: Verifying Checksum 22:24:24 765212b225bb: Download complete 22:24:24 f23df028b6ca: Verifying Checksum 22:24:24 f23df028b6ca: Download complete 22:24:24 d65c8cfc05b1: Verifying Checksum 22:24:24 d65c8cfc05b1: Download complete 22:24:24 699f458cf7ca: Verifying Checksum 22:24:24 8998bd30e6a1: Download complete 22:24:27 2437ff75d9bd: Download complete 22:24:28 8998bd30e6a1: Pull complete 22:24:30 04944245beec: Pull complete 22:24:31 699f458cf7ca: Pull complete 22:24:31 765212b225bb: Pull complete 22:24:32 f23df028b6ca: Pull complete 22:24:32 d65c8cfc05b1: Pull complete 22:24:48 2437ff75d9bd: Pull complete 22:24:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:48 prd-ubuntu20.04-docker-arm64-4c-16g-14971 does not seem to be running inside a container 22:24:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:24:51 $ docker top 673ae58e1c318a33fac54790d8c19a6c36ff2baac5c053b76c583fe8b4ab656f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:24:52 ---> job-cost.sh 22:24:52 lf-activate-venv: SKIPPING 22:24:52 INFO: No Stack... 22:24:52 INFO: Retrieving Pricing Info for: v3-standard-4 22:24:53 INFO: Archiving Costs [Pipeline] sh 22:24:54 + cat+ /w/workspace/device-onvif-camera/2/archives/cost.csv 22:24:54 cut -d, -f6 [Pipeline] lock 22:24:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] 22:24:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] did not exist. Created. 22:24:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:24:54 /w/workspace/device-onvif-camera/2@tmp/durable-1cc07aae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:24:55 + echo total: 0.10999999940395355 [Pipeline] stash 22:24:55 Warning: overwriting stash ‘stack-cost’ 22:24:55 Stashed 1 file(s) [Pipeline] } 22:24:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:24:55 $ docker stop --time=1 673ae58e1c318a33fac54790d8c19a6c36ff2baac5c053b76c583fe8b4ab656f 22:24:58 $ docker rm -f --volumes 673ae58e1c318a33fac54790d8c19a6c36ff2baac5c053b76c583fe8b4ab656f [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:24:59 provisioning config files... 22:24:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-355@tmp/config4171252701207942443tmp [Pipeline] { [Pipeline] sh 22:24:59 + set +x 22:24:59 + curl -s https://codecov.io/bash 22:24:59 + bash -s -- 22:24:59 22:24:59 _____ _ 22:24:59 / ____| | | 22:24:59 | | ___ __| | ___ ___ _____ __ 22:24:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:24:59 | |___| (_) | (_| | __/ (_| (_) \ V / 22:24:59 \_____\___/ \__,_|\___|\___\___/ \_/ 22:24:59 Bash-1.0.6 22:24:59 22:24:59 22:24:59 ==> git version 2.25.1 found 22:24:59 ==> 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:24:59 Release-Date: 2020-01-08 22:24:59 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:24:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:24:59 ==> Jenkins CI detected. 22:24:59 current dir:  /w/workspace/undry_device-onvif-camera_PR-355 22:24:59 project root: . 22:24:59 --> token set from env 22:24:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:24:59 ==> Running gcov in . (disable via -X gcov) 22:24:59 ==> Python coveragepy not found 22:24:59 ==> Searching for coverage reports in: 22:24:59 + . 22:24:59 -> Found 1 reports 22:24:59 ==> Detecting git/mercurial file structure 22:24:59 ==> Reading reports 22:24:59 + ./coverage.out bytes=79472 22:24:59 ==> Appending adjustments 22:24:59 https://docs.codecov.io/docs/fixing-reports 22:24:59 + Found adjustments 22:24:59 ==> Gzipping contents 22:24:59 12K /tmp/codecov.f4fCAF.gz 22:24:59 ==> Uploading reports 22:24:59 url: https://codecov.io 22:24:59 query: branch=PR-355&commit=c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=355&job=&cmd_args= 22:24:59 -> Pinging Codecov 22:24:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-355&commit=c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=355&job=&cmd_args= 22:25:00 -> Uploading to 22:25:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/F29A59C45E3A92E06B3E522C9905F8EF/c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc/370f942d-a02c-4a1e-b97c-484c549a9146.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T222459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ce6d54ce9c0b3bb3c38d10f3b0e82200f97f1bdf66eacd1fa4a94e8e98edee4 22:25:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:00 Dload Upload Total Spent Left Speed 22:25:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10700 0 0 100 10700 0 50000 --:--:-- --:--:-- --:--:-- 50000 22:25:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c5b7ca1a5b2e6fd5af1e9fa9e0e63f451083e1bc [Pipeline] } 22:25:00 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:25:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-355/archives ] 22:25:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-355/archives 22:25:01 total 16 22:25:01 drwxr-xr-x 3 root root 4096 May 10 22:13 . 22:25:01 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:13 .. 22:25:01 drwxr-xr-x 2 root root 4096 May 10 22:13 cost 22:25:01 -rw-r--r-- 1 root root 91 May 10 22:13 cost.csv 22:25:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-355/archives 22:25:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-355/archives 22:25:01 total 16 22:25:01 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:13 . 22:25:01 drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:13 .. 22:25:01 drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:13 cost 22:25:01 -rw-r--r-- 1 jenkins jenkins 91 May 10 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:02 ---> package-listing.sh 22:25:02 ++ facter osfamily 22:25:02 ++ tr '[:upper:]' '[:lower:]' 22:25:02 + OS_FAMILY=debian 22:25:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-355 22:25:02 + START_PACKAGES=/tmp/packages_start.txt 22:25:02 + END_PACKAGES=/tmp/packages_end.txt 22:25:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:02 + PACKAGES=/tmp/packages_start.txt 22:25:02 + '[' /w/workspace/undry_device-onvif-camera_PR-355 ']' 22:25:02 + PACKAGES=/tmp/packages_end.txt 22:25:02 + case "${OS_FAMILY}" in 22:25:02 + dpkg -l 22:25:02 + grep '^ii' 22:25:02 + '[' -f /tmp/packages_start.txt ']' 22:25:02 + '[' -f /tmp/packages_end.txt ']' 22:25:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:02 + '[' /w/workspace/undry_device-onvif-camera_PR-355 ']' 22:25:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-355/archives/ 22:25:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-355/archives/ [Pipeline] echo 22:25:02 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:25:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:03 prd-ubuntu20.04-docker-8c-8g-14969 does not seem to be running inside a container 22:25:03 $ 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-355/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-355 -v /w/workspace/undry_device-onvif-camera_PR-355:/w/workspace/undry_device-onvif-camera_PR-355:rw,z -v /w/workspace/undry_device-onvif-camera_PR-355@tmp:/w/workspace/undry_device-onvif-camera_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:03 $ docker top c45212ba9ff9ed7f09d02a1533cdb52c32cdca9eec5965d0954befc74c1d8eb2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:04 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:04 + ls /var/log/sa-host 22:25:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:04 provisioning config files... 22:25:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-355@tmp/config11659008069368731302tmp [Pipeline] { [Pipeline] echo 22:25:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:05 ---> create-netrc.sh [Pipeline] } 22:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:05 ---> python-tools-install.sh [Pipeline] echo 22:25:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:05 ---> sudo-logs.sh 22:25:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:06 ---> job-cost.sh 22:25:06 lf-activate-venv: SKIPPING 22:25:06 DEBUG: total: 0.2199999988079071 22:25:06 INFO: Retrieving Stack Cost... 22:25:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:07 INFO: Archiving Costs [Pipeline] echo 22:25:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:07 ---> logs-deploy.sh 22:25:07 lf-activate-venv: SKIPPING 22:25:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-355/2 22:25:07 INFO: archiving workspace using pattern(s): 22:25:08 Archives upload complete. 22:25:08 INFO: archiving logs to Nexus 22:25:08 ---> uname -a: 22:25:08 Linux prd-ubuntu20-04-docker-8c-8g-14969 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:25:08 22:25:08