Pull request #275 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84cc58ff96c2fa7aacd7918b029a65105fd586c1+35e0b630cb735782c58facbcf80c1125d056e597 (b13767d91b07324e39f7a0b6c5783350ce51c172) 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-ssh1369104244479448533.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh223995142062389283.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-275/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-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1165499609360410760.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6318470468096899671.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-275/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-275/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17972259927140785460.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4600 in /w/workspace/undry_device-onvif-camera_PR-275 [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-275 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit 84cc58ff96c2fa7aacd7918b029a65105fd586c1 Merge succeeded, producing 84cc58ff96c2fa7aacd7918b029a65105fd586c1 Checking out Revision 84cc58ff96c2fa7aacd7918b029a65105fd586c1 (PR-275) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84cc58ff96c2fa7aacd7918b029a65105fd586c1 # 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 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84cc58ff96c2fa7aacd7918b029a65105fd586c1 # timeout=10 > git rev-list --no-walk 3a79e5e9503a421826e08c5ae44e133dbaed1abf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:42 ========================================================= 16:21:42 EdgeX Global Pipelines Version Info 16:21:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:21:43 ------------------- 16:21:43 stable info: 16:21:43 ------------------- 16:21:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:21:43 Message: update stable to v1.0.245 16:21:43 ------------------- 16:21:43 experimental info: 16:21:43 ------------------- 16:21:43 Commited By: **** collab-it+edgex@linuxfoundation.org 16:21:43 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:21:43 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84cc58ff96c2fa7aacd7918b029a65105fd586c1 [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84cc58f [Pipeline] echo 16:21:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:44 provisioning config files... 16:21:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config7740931863072338005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:44 ---> docker-login.sh 16:21:44 nexus3.edgexfoundry.org:10001 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 nexus3.edgexfoundry.org:10002 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 nexus3.edgexfoundry.org:10003 16:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:45 Configure a credential helper to remove this warning. See 16:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:45 16:21:45 Login Succeeded 16:21:45 nexus3.edgexfoundry.org:10004 16:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:45 Configure a credential helper to remove this warning. See 16:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:45 16:21:45 Login Succeeded 16:21:45 docker.io 16:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:45 Configure a credential helper to remove this warning. See 16:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:45 16:21:45 Login Succeeded 16:21:45 ---> docker-login.sh ends [Pipeline] } 16:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:45 + git rev-list -1 --merges 84cc58ff96c2fa7aacd7918b029a65105fd586c1~1..84cc58ff96c2fa7aacd7918b029a65105fd586c1 [Pipeline] echo 16:21:45 -----------> git rev-list -1 --merges 84cc58ff96c2fa7aacd7918b029a65105fd586c1~1..84cc58ff96c2fa7aacd7918b029a65105fd586c1 84cc58ff96c2fa7aacd7918b029a65105fd586c1 [false] [Pipeline] sh 16:21:46 + git log --format=format:%s -1 84cc58ff96c2fa7aacd7918b029a65105fd586c1 [Pipeline] echo 16:21:46 ========================================================= 16:21:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:46 + git log --format=format:%s -1 84cc58ff96c2fa7aacd7918b029a65105fd586c1 [Pipeline] echo 16:21:46 [semverPrep] GIT_COMMIT: 84cc58ff96c2fa7aacd7918b029a65105fd586c1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 16:21:46 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:46 + grep -v github /etc/ssh/ssh_known_hosts 16:21:46 + [ -e /tmp/ssh_known_hosts ] 16:21:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:21:46 + sudo tee -a /etc/ssh/ssh_known_hosts 16:21:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:47 16:21:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:47 0.1.4: Pulling from edgex-devops/py-git-semver 16:21:47 b85a868b505f: Pulling fs layer 16:21:47 e2be974225ed: Pulling fs layer 16:21:47 339a4e72a1f5: Pulling fs layer 16:21:47 988bab9f4d93: Pulling fs layer 16:21:47 1469e6f7b9e6: Pulling fs layer 16:21:47 eaf3925da568: Pulling fs layer 16:21:47 bab4dde63d76: Pulling fs layer 16:21:47 bde34c3a00c8: Pulling fs layer 16:21:47 b352a97aabf1: Pulling fs layer 16:21:47 4872d77fe225: Pulling fs layer 16:21:47 5851b861e8e6: Pulling fs layer 16:21:47 eaf3925da568: Waiting 16:21:47 4872d77fe225: Waiting 16:21:47 bab4dde63d76: Waiting 16:21:47 988bab9f4d93: Waiting 16:21:47 bde34c3a00c8: Waiting 16:21:47 b352a97aabf1: Waiting 16:21:47 1469e6f7b9e6: Waiting 16:21:47 e2be974225ed: Verifying Checksum 16:21:47 e2be974225ed: Download complete 16:21:47 988bab9f4d93: Download complete 16:21:47 1469e6f7b9e6: Verifying Checksum 16:21:47 1469e6f7b9e6: Download complete 16:21:47 339a4e72a1f5: Verifying Checksum 16:21:47 339a4e72a1f5: Download complete 16:21:47 eaf3925da568: Download complete 16:21:47 bde34c3a00c8: Verifying Checksum 16:21:47 bde34c3a00c8: Download complete 16:21:47 b352a97aabf1: Download complete 16:21:48 4872d77fe225: Download complete 16:21:48 5851b861e8e6: Download complete 16:21:48 b85a868b505f: Download complete 16:21:48 bab4dde63d76: Verifying Checksum 16:21:48 bab4dde63d76: Download complete 16:21:49 b85a868b505f: Pull complete 16:21:49 e2be974225ed: Pull complete 16:21:50 339a4e72a1f5: Pull complete 16:21:50 988bab9f4d93: Pull complete 16:21:50 1469e6f7b9e6: Pull complete 16:21:50 eaf3925da568: Pull complete 16:21:52 bab4dde63d76: Pull complete 16:21:52 bde34c3a00c8: Pull complete 16:21:52 b352a97aabf1: Pull complete 16:21:52 4872d77fe225: Pull complete 16:21:52 5851b861e8e6: Pull complete 16:21:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:52 prd-ubuntu20.04-docker-8c-8g-4600 does not seem to be running inside a container 16:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:21:54 $ docker top bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff -eo pid,comm 16:21:54 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). 16:21:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:54 [ssh-agent] Looking for ssh-agent implementation... 16:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:54 $ docker exec bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff ssh-agent 16:21:54 SSH_AUTH_SOCK=/tmp/ssh-lfJbOUmHgFMn/agent.32 16:21:54 SSH_AGENT_PID=38 16:21:54 Running ssh-add (command line suppressed) 16:21:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_16824022024201262353.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_16824022024201262353.key) 16:21:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:55 + git tag --points-at HEAD [Pipeline] } 16:21:55 $ docker exec --env ******** --env ******** bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff ssh-agent -k 16:21:55 unset SSH_AUTH_SOCK; 16:21:55 unset SSH_AGENT_PID; 16:21:55 echo Agent pid 38 killed; 16:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:21:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:55 [ssh-agent] Looking for ssh-agent implementation... 16:21:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:55 $ docker exec bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff ssh-agent 16:21:55 SSH_AUTH_SOCK=/tmp/ssh-rSxtoClbMkm6/agent.70 16:21:55 SSH_AGENT_PID=76 16:21:55 Running ssh-add (command line suppressed) 16:21:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_15050710400668227309.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_15050710400668227309.key) 16:21:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:56 + git semver init 16:21:56 2023-03-20 16:21:56,349 [run_init] DEBUG init version:0.0.0 force:False 16:21:56 2023-03-20 16:21:56,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-275/.semver 16:21:56 2023-03-20 16:21:56,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-275/.semver 16:21:56 2023-03-20 16:21:56,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-275/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-275, universal_newlines=False, shell=None, istream=None) 16:21:57 2023-03-20 16:21:57,208 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-275/.git/info/exclude 16:21:57 2023-03-20 16:21:57,209 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 with force:False 16:21:57 2023-03-20 16:21:57,209 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 16:21:57 2023-03-20 16:21:57,212 [execute] INFO git cat-file --batch-check 16:21:57 2023-03-20 16:21:57,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) 16:21:57 2023-03-20 16:21:57,218 [execute] INFO git cat-file --batch 16:21:57 2023-03-20 16:21:57,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) 16:21:57 2023-03-20 16:21:57,224 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 16:21:57 0.0.0 [Pipeline] } 16:21:57 $ docker exec --env ******** --env ******** bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff ssh-agent -k 16:21:57 unset SSH_AUTH_SOCK; 16:21:57 unset SSH_AGENT_PID; 16:21:57 echo Agent pid 76 killed; 16:21:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:21:57 + git semver [Pipeline] } 16:21:58 $ docker stop --time=1 bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff 16:21:59 $ docker rm -f --volumes bc0f3cb15b11d423ebc64acbb09af4a125191601f32721f4f87550b6dd2e43ff [Pipeline] // withDockerContainer [Pipeline] sh 16:21:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:21:59 Stashed 1 file(s) [Pipeline] echo 16:21:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:00 provisioning config files... 16:22:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config10291292974006063033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:00 ---> docker-login.sh 16:22:00 nexus3.edgexfoundry.org:10001 16:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:00 Configure a credential helper to remove this warning. See 16:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:00 16:22:00 Login Succeeded 16:22:00 nexus3.edgexfoundry.org:10002 16:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:00 Configure a credential helper to remove this warning. See 16:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:00 16:22:00 Login Succeeded 16:22:00 nexus3.edgexfoundry.org:10003 16:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:00 Configure a credential helper to remove this warning. See 16:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:00 16:22:00 Login Succeeded 16:22:00 nexus3.edgexfoundry.org:10004 16:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:00 Configure a credential helper to remove this warning. See 16:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:00 16:22:00 Login Succeeded 16:22:00 docker.io 16:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:01 Configure a credential helper to remove this warning. See 16:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:01 16:22:01 Login Succeeded 16:22:01 ---> docker-login.sh ends [Pipeline] } 16:22:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:01 ========================================================= 16:22:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:22:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:01 + 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 . 16:22:01 Sending build context to Docker daemon 27.97MB 16:22:01 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:22:01 Step 2/13 : FROM ${BASE} AS builder 16:22:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:22:01 63b65145d645: Pulling fs layer 16:22:01 a2d21d5440eb: Pulling fs layer 16:22:01 935e6c44a52c: Pulling fs layer 16:22:01 94cc34f8dd06: Pulling fs layer 16:22:01 30dea6a524f1: Pulling fs layer 16:22:01 a2aff8979fd8: Pulling fs layer 16:22:01 6808be2612f2: Pulling fs layer 16:22:01 f25807f1079a: Pulling fs layer 16:22:01 a2aff8979fd8: Waiting 16:22:01 6808be2612f2: Waiting 16:22:01 f25807f1079a: Waiting 16:22:01 94cc34f8dd06: Waiting 16:22:01 30dea6a524f1: Waiting 16:22:01 a2d21d5440eb: Verifying Checksum 16:22:01 a2d21d5440eb: Download complete 16:22:01 94cc34f8dd06: Verifying Checksum 16:22:01 94cc34f8dd06: Download complete 16:22:01 30dea6a524f1: Verifying Checksum 16:22:01 30dea6a524f1: Download complete 16:22:01 63b65145d645: Verifying Checksum 16:22:01 63b65145d645: Download complete 16:22:01 a2aff8979fd8: Verifying Checksum 16:22:01 a2aff8979fd8: Download complete 16:22:02 63b65145d645: Pull complete 16:22:02 a2d21d5440eb: Pull complete 16:22:02 f25807f1079a: Verifying Checksum 16:22:02 f25807f1079a: Download complete 16:22:02 935e6c44a52c: Verifying Checksum 16:22:02 935e6c44a52c: Download complete 16:22:02 6808be2612f2: Verifying Checksum 16:22:06 935e6c44a52c: Pull complete 16:22:06 94cc34f8dd06: Pull complete 16:22:06 30dea6a524f1: Pull complete 16:22:06 a2aff8979fd8: Pull complete 16:22:09 6808be2612f2: Pull complete 16:22:09 f25807f1079a: Pull complete 16:22:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:22:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:22:09 ---> 3b553350e43f 16:22:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:22:11 ---> Running in c9c57621379d 16:22:11 Removing intermediate container c9c57621379d 16:22:11 ---> c6adc4a7f1c0 16:22:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:11 ---> Running in 2d741d289a16 16:22:12 Removing intermediate container 2d741d289a16 16:22:12 ---> 6ad16639a2dc 16:22:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:22:12 ---> Running in 55f5851b6917 16:22:12 Removing intermediate container 55f5851b6917 16:22:12 ---> 57497217e10e 16:22:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:22:12 ---> Running in 6f2629ffe85f 16:22:12 Removing intermediate container 6f2629ffe85f 16:22:12 ---> 92d4bd95ae8d 16:22:12 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:22:12 ---> Running in 944f689d57d0 16:22:12 Removing intermediate container 944f689d57d0 16:22:12 ---> c5050e377b74 16:22:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:12 ---> Running in c7210d878815 16:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:22:13 OK: 265 MiB in 53 packages 16:22:13 Removing intermediate container c7210d878815 16:22:13 ---> 339b466b20bf 16:22:13 Step 9/13 : WORKDIR /device-onvif-camera 16:22:13 ---> Running in 30cb58d77707 16:22:13 Removing intermediate container 30cb58d77707 16:22:13 ---> 6f97f9bc49ab 16:22:13 Step 10/13 : COPY go.mod vendor* ./ 16:22:13 ---> 3b9fdafdb710 16:22:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:14 ---> Running in 91c76d6af498 16:22:14 Still waiting to schedule task 16:22:14 ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:22:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4601’ is offline 16:22:36 Removing intermediate container 91c76d6af498 16:22:36 ---> 17727aa0116c 16:22:36 Step 12/13 : COPY . . 16:22:36 ---> 95517d9ccd63 16:22:36 Step 13/13 : RUN ${MAKE} 16:22:36 ---> Running in 499023e04378 16:22:36 noop 16:22:37 Removing intermediate container 499023e04378 16:22:37 ---> bbe0fc30ef18 16:22:37 Successfully built bbe0fc30ef18 16:22:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:37 + docker inspect -f . ci-base-image-x86_64 16:22:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:37 prd-ubuntu20.04-docker-8c-8g-4600 does not seem to be running inside a container 16:22:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** ci-base-image-x86_64 cat 16:22:38 $ docker top 845cd81e50892406c180e120928301f0b7babd4af5c33fe70fc36723dd7b8cb5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:38 + go version 16:22:38 go version go1.20.2 linux/amd64 [Pipeline] } 16:22:38 $ docker stop --time=1 845cd81e50892406c180e120928301f0b7babd4af5c33fe70fc36723dd7b8cb5 16:22:39 $ docker rm -f --volumes 845cd81e50892406c180e120928301f0b7babd4af5c33fe70fc36723dd7b8cb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:40 + docker inspect -f . ci-base-image-x86_64 16:22:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:40 prd-ubuntu20.04-docker-8c-8g-4600 does not seem to be running inside a container 16:22:40 $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** ci-base-image-x86_64 cat 16:22:40 $ docker top 7e04140c82d6e6a992e8f26174b964450f7b6001d296f26b1d755bf45e441d9c -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:41 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] fileExists [Pipeline] sh 16:22:41 + make test 16:22:41 go test ./... -coverprofile=coverage.out ./... 16:22:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:22:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:22:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:22:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.7% of statements 16:22:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.215s coverage: 86.5% of statements 16:23:05 go vet ./... 16:23:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:23:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:23:09 ./bin/test-attribution-txt.sh [Pipeline] echo 16:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:23:09 $ docker stop --time=1 7e04140c82d6e6a992e8f26174b964450f7b6001d296f26b1d755bf45e441d9c 16:23:12 $ docker rm -f --volumes 7e04140c82d6e6a992e8f26174b964450f7b6001d296f26b1d755bf45e441d9c [Pipeline] // withDockerContainer [Pipeline] sh 16:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:23:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:23:13 + ls -al . 16:23:13 total 236 16:23:13 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 16:22 . 16:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:21 .. 16:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:21 .git 16:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:21 .github 16:23:13 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:21 .gitignore 16:23:13 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:21 .golangci.yml 16:23:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:21 .semver 16:23:13 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:21 Attribution.txt 16:23:13 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:21 CHANGELOG.md 16:23:13 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:21 Dockerfile 16:23:13 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:21 GOVERNANCE.md 16:23:13 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:21 Jenkinsfile 16:23:13 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:21 LICENSE 16:23:13 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:21 Makefile 16:23:13 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:21 OWNERS.md 16:23:13 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:21 README.md 16:23:13 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 16:21 VERSION 16:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:21 bin 16:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:21 cmd 16:23:13 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:22 coverage.out 16:23:13 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:21 doc 16:23:13 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 20 16:21 go.mod 16:23:13 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 20 16:21 go.sum 16:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:21 internal 16:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:21 snap 16:23:13 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:13 + 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=84cc58ff96c2fa7aacd7918b029a65105fd586c1 --label arch=amd64 --label version=0.0.0 . 16:23:13 Sending build context to Docker daemon 28.05MB 16:23:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:23:13 Step 2/26 : FROM ${BASE} AS builder 16:23:13 ---> bbe0fc30ef18 16:23:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:23:14 ---> Running in 60012721ce0c 16:23:14 Removing intermediate container 60012721ce0c 16:23:14 ---> e585d7ec79a8 16:23:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:14 ---> Running in d3165ee92e54 16:23:14 Removing intermediate container d3165ee92e54 16:23:14 ---> ada48d93a1d2 16:23:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:23:14 ---> Running in 636de93b2c62 16:23:14 Removing intermediate container 636de93b2c62 16:23:14 ---> 2b539aea37d7 16:23:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:23:14 ---> Running in 93a2da56bb90 16:23:14 Removing intermediate container 93a2da56bb90 16:23:14 ---> b1ec1953aaf3 16:23:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:23:14 ---> Running in c949a18aa42b 16:23:14 Removing intermediate container c949a18aa42b 16:23:14 ---> 70b671e1e566 16:23:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:14 ---> Running in 3786d36eec17 16:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:15 OK: 265 MiB in 53 packages 16:23:15 Removing intermediate container 3786d36eec17 16:23:15 ---> 24661ae2c67c 16:23:15 Step 9/26 : WORKDIR /device-onvif-camera 16:23:15 ---> Running in acdbaf589a47 16:23:15 Removing intermediate container acdbaf589a47 16:23:15 ---> 050026104c08 16:23:15 Step 10/26 : COPY go.mod vendor* ./ 16:23:15 ---> 80fd6136d90e 16:23:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:15 ---> Running in 0125eddffd5a 16:23:16 Removing intermediate container 0125eddffd5a 16:23:16 ---> b76ca5cb2abf 16:23:16 Step 12/26 : COPY . . 16:23:17 ---> 859af1401e0a 16:23:17 Step 13/26 : RUN ${MAKE} 16:23:17 ---> Running in 6567fa7e92bb 16:23:17 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 16:23:35 Removing intermediate container 6567fa7e92bb 16:23:35 ---> f58b7d35e606 16:23:35 Step 14/26 : FROM alpine:3.17 16:23:36 3.17: Pulling from library/alpine 16:23:36 63b65145d645: Already exists 16:23:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:23:36 Status: Downloaded newer image for alpine:3.17 16:23:36 ---> b2aa39c304c2 16:23:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:23:36 ---> Running in fe52ad8bb94e 16:23:36 Removing intermediate container fe52ad8bb94e 16:23:36 ---> 48440218c983 16:23:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:23:36 ---> Running in 72228183f04f 16:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:37 (1/1) Installing dumb-init (1.2.5-r2) 16:23:37 Executing busybox-1.35.0-r29.trigger 16:23:37 OK: 7 MiB in 16 packages 16:23:37 Removing intermediate container 72228183f04f 16:23:37 ---> 2cab59247384 16:23:37 Step 17/26 : WORKDIR / 16:23:37 ---> Running in 6777f82df3cd 16:23:37 Removing intermediate container 6777f82df3cd 16:23:37 ---> c3d03246b7c6 16:23:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:23:38 ---> 69c777668970 16:23:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:23:38 ---> dbe9f2d35ab3 16:23:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:23:38 ---> 48c0ee232120 16:23:38 Step 21/26 : EXPOSE 59984 16:23:38 ---> Running in 54fd34cf2098 16:23:38 Removing intermediate container 54fd34cf2098 16:23:38 ---> b863c5f16fd7 16:23:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:23:38 ---> Running in 165bc5529baf 16:23:38 Removing intermediate container 165bc5529baf 16:23:38 ---> 6b5cc4ac532e 16:23:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:23:39 ---> Running in 8fe7a59348a7 16:23:39 Removing intermediate container 8fe7a59348a7 16:23:39 ---> 8dfb3ca2c428 16:23:39 Step 24/26 : LABEL arch=amd64 16:23:39 ---> Running in a188ead97e65 16:23:39 Removing intermediate container a188ead97e65 16:23:39 ---> dbfa5ca16db1 16:23:39 Step 25/26 : LABEL git_sha=84cc58ff96c2fa7aacd7918b029a65105fd586c1 16:23:39 ---> Running in 9928f2590b30 16:23:39 Removing intermediate container 9928f2590b30 16:23:39 ---> 915f5a038185 16:23:39 Step 26/26 : LABEL version=0.0.0 16:23:39 ---> Running in b420b1c6e8de 16:23:39 Removing intermediate container b420b1c6e8de 16:23:39 ---> 6b653ceb220f 16:23:39 [Warning] One or more build-args [ARCH] were not consumed 16:23:39 Successfully built 6b653ceb220f 16:23:39 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 16:23:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:39 16:23:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:40 latest: Pulling from edgex-lftools-log-publisher 16:23:40 5eb5b503b376: Pulling fs layer 16:23:40 5c69ac0246d0: Pulling fs layer 16:23:40 ec43610c2a17: Pulling fs layer 16:23:40 3a2ae6a8a46f: Pulling fs layer 16:23:40 33b1e0a273af: Pulling fs layer 16:23:40 5d3b04190fa2: Pulling fs layer 16:23:40 2f39f015ded8: Pulling fs layer 16:23:40 3a2ae6a8a46f: Waiting 16:23:40 33b1e0a273af: Waiting 16:23:40 5d3b04190fa2: Waiting 16:23:40 2f39f015ded8: Waiting 16:23:40 5c69ac0246d0: Verifying Checksum 16:23:40 5c69ac0246d0: Download complete 16:23:40 3a2ae6a8a46f: Download complete 16:23:40 33b1e0a273af: Verifying Checksum 16:23:40 33b1e0a273af: Download complete 16:23:40 5d3b04190fa2: Verifying Checksum 16:23:40 5d3b04190fa2: Download complete 16:23:40 ec43610c2a17: Verifying Checksum 16:23:40 ec43610c2a17: Download complete 16:23:40 5eb5b503b376: Verifying Checksum 16:23:40 5eb5b503b376: Download complete 16:23:41 2f39f015ded8: Verifying Checksum 16:23:41 2f39f015ded8: Download complete 16:23:41 5eb5b503b376: Pull complete 16:23:41 5c69ac0246d0: Pull complete 16:23:42 ec43610c2a17: Pull complete 16:23:42 3a2ae6a8a46f: Pull complete 16:23:42 33b1e0a273af: Pull complete 16:23:42 5d3b04190fa2: Pull complete 16:23:47 2f39f015ded8: Pull complete 16:23:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:23:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:47 prd-ubuntu20.04-docker-8c-8g-4600 does not seem to be running inside a container 16:23:47 $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:23:49 $ docker top 272dbaa03d0a1b9b92bc84716f6f9981f2ebb4b897bf1fc617048cff1e2978b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:49 ---> job-cost.sh 16:23:49 lf-activate-venv: SKIPPING 16:23:49 INFO: No Stack... 16:23:50 INFO: Retrieving Pricing Info for: v3-standard-8 16:23:50 INFO: Archiving Costs [Pipeline] sh 16:23:50 + cat /w/workspace/undry_device-onvif-camera_PR-275/archives/cost.csv 16:23:50 + cut -d, -f6 [Pipeline] lock 16:23:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] 16:23:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] did not exist. Created. 16:23:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:50 + echo total: 0.2199999988079071 [Pipeline] stash 16:23:50 Stashed 1 file(s) [Pipeline] } 16:23:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:50 $ docker stop --time=1 272dbaa03d0a1b9b92bc84716f6f9981f2ebb4b897bf1fc617048cff1e2978b1 16:23:52 $ docker rm -f --volumes 272dbaa03d0a1b9b92bc84716f6f9981f2ebb4b897bf1fc617048cff1e2978b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:24:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4603 in /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] { [Pipeline] ws 16:24:51 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 16:24:51 The recommended git tool is: git 16:24:58 using credential edgex-jenkins-ssh 16:24:58 Cloning the remote Git repository 16:24:58 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:24:58 > git init /w/workspace/device-onvif-camera/4 # timeout=10 16:24:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:24:58 > git --version # timeout=10 16:24:58 > git --version # 'git version 2.25.1' 16:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:25:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:25:02 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit 84cc58ff96c2fa7aacd7918b029a65105fd586c1 16:25:02 Merge succeeded, producing 84cc58ff96c2fa7aacd7918b029a65105fd586c1 16:25:02 Checking out Revision 84cc58ff96c2fa7aacd7918b029a65105fd586c1 (PR-275) 16:25:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:25:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:25:02 > git config core.sparsecheckout # timeout=10 16:25:02 > git checkout -f 84cc58ff96c2fa7aacd7918b029a65105fd586c1 # timeout=10 16:25:02 > git remote # timeout=10 16:25:02 > git config --get remote.origin.url # timeout=10 16:25:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:02 > git merge 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 16:25:02 > git rev-parse HEAD^{commit} # timeout=10 16:25:02 > git config core.sparsecheckout # timeout=10 16:25:02 > git checkout -f 84cc58ff96c2fa7aacd7918b029a65105fd586c1 # timeout=10 16:25:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:25:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:25:04 Dload Upload Total Spent Left Speed 16:25:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 16:25:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:25:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:25:05 + sudo tee /etc/docker/daemon.new 16:25:05 { 16:25:05 "registry-mirrors": [ 16:25:05 "https://nexus3.edgexfoundry.org:10001" 16:25:05 ], 16:25:05 "bip": "10.250.0.254/24", 16:25:05 "hosts": [ 16:25:05 "tcp://0.0.0.0:5555", 16:25:05 "unix:///var/run/docker.sock" 16:25:05 ], 16:25:05 "mtu": 1458, 16:25:05 "selinux-enabled": true, 16:25:05 "seccomp-profile": "/etc/docker/seccomp.json" 16:25:05 } [Pipeline] sh 16:25:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:25:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:24 provisioning config files... 16:25:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config13739928795671715249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:25 ---> docker-login.sh 16:25:25 nexus3.edgexfoundry.org:10001 16:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:25 Configure a credential helper to remove this warning. See 16:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:25 16:25:25 Login Succeeded 16:25:25 nexus3.edgexfoundry.org:10002 16:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:26 Configure a credential helper to remove this warning. See 16:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:26 16:25:26 Login Succeeded 16:25:26 nexus3.edgexfoundry.org:10003 16:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:26 Configure a credential helper to remove this warning. See 16:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:26 16:25:26 Login Succeeded 16:25:26 nexus3.edgexfoundry.org:10004 16:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:27 Configure a credential helper to remove this warning. See 16:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:27 16:25:27 Login Succeeded 16:25:27 docker.io 16:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:27 Configure a credential helper to remove this warning. See 16:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:27 16:25:27 Login Succeeded 16:25:27 ---> docker-login.sh ends [Pipeline] } 16:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:28 ========================================================= 16:25:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:25:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:28 + 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 . 16:25:29 Sending build context to Docker daemon 20.67MB 16:25:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:25:29 Step 2/13 : FROM ${BASE} AS builder 16:25:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:29 af6eaf76a39c: Pulling fs layer 16:25:29 55522c791124: Pulling fs layer 16:25:29 ce5c4a1c91eb: Pulling fs layer 16:25:29 169dfbe0d373: Pulling fs layer 16:25:29 e1ff8fa3b103: Pulling fs layer 16:25:29 52ebb69f0ebf: Pulling fs layer 16:25:29 5abe8eddf0d5: Pulling fs layer 16:25:29 e1ff8fa3b103: Waiting 16:25:29 169dfbe0d373: Waiting 16:25:29 52ebb69f0ebf: Waiting 16:25:29 5abe8eddf0d5: Waiting 16:25:29 55522c791124: Download complete 16:25:29 169dfbe0d373: Download complete 16:25:29 e1ff8fa3b103: Verifying Checksum 16:25:29 e1ff8fa3b103: Download complete 16:25:29 af6eaf76a39c: Verifying Checksum 16:25:29 af6eaf76a39c: Download complete 16:25:30 af6eaf76a39c: Pull complete 16:25:30 5abe8eddf0d5: Verifying Checksum 16:25:30 5abe8eddf0d5: Download complete 16:25:30 55522c791124: Pull complete 16:25:32 ce5c4a1c91eb: Verifying Checksum 16:25:32 ce5c4a1c91eb: Download complete 16:25:32 52ebb69f0ebf: Verifying Checksum 16:25:32 52ebb69f0ebf: Download complete 16:25:44 ce5c4a1c91eb: Pull complete 16:25:44 169dfbe0d373: Pull complete 16:25:44 e1ff8fa3b103: Pull complete 16:25:53 52ebb69f0ebf: Pull complete 16:25:54 5abe8eddf0d5: Pull complete 16:25:54 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:25:54 ---> 6cb57ee374ae 16:25:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:25:56 ---> Running in 5a0d6e6bb167 16:25:56 Removing intermediate container 5a0d6e6bb167 16:25:56 ---> 5f3a64af823d 16:25:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:56 ---> Running in c5ba72f46308 16:25:56 Removing intermediate container c5ba72f46308 16:25:56 ---> 0bd6f9cd172f 16:25:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:25:56 ---> Running in deb7e3dc6737 16:25:57 Removing intermediate container deb7e3dc6737 16:25:57 ---> 88e7d6042420 16:25:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:25:57 ---> Running in 08c305dcefbf 16:25:57 Removing intermediate container 08c305dcefbf 16:25:57 ---> 84d0ea91d68e 16:25:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:25:58 ---> Running in b821f9062da7 16:25:58 Removing intermediate container b821f9062da7 16:25:58 ---> 6e33bb4dc4a7 16:25:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:58 ---> Running in 408b7d03f7c7 16:25:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:26:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:26:01 OK: 263 MiB in 53 packages 16:26:03 Removing intermediate container 408b7d03f7c7 16:26:03 ---> e698bbe1f6c1 16:26:03 Step 9/13 : WORKDIR /device-onvif-camera 16:26:03 ---> Running in e4bda174c1f2 16:26:04 Removing intermediate container e4bda174c1f2 16:26:04 ---> 9f2264f8a095 16:26:04 Step 10/13 : COPY go.mod vendor* ./ 16:26:04 ---> a765ca71a8aa 16:26:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:04 ---> Running in 3fc7b11ad6f1 16:27:12 Removing intermediate container 3fc7b11ad6f1 16:27:12 ---> baf6eb89959d 16:27:12 Step 12/13 : COPY . . 16:27:12 ---> 47853a2548a5 16:27:12 Step 13/13 : RUN ${MAKE} 16:27:12 ---> Running in 2b839257493b 16:27:12 noop 16:27:13 Removing intermediate container 2b839257493b 16:27:13 ---> e2426256a6f9 16:27:13 Successfully built e2426256a6f9 16:27:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:13 + docker inspect -f . ci-base-image-arm64 16:27:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:13 prd-ubuntu20.04-docker-arm64-4c-16g-4603 does not seem to be running inside a container 16:27:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 16:27:15 $ docker top d3d089832f9b74d809b44423da0f8a828aafa35bb8a136d0263f6657b4e8c70a -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:16 + go version 16:27:16 go version go1.20.2 linux/arm64 [Pipeline] } 16:27:16 $ docker stop --time=1 d3d089832f9b74d809b44423da0f8a828aafa35bb8a136d0263f6657b4e8c70a 16:27:17 $ docker rm -f --volumes d3d089832f9b74d809b44423da0f8a828aafa35bb8a136d0263f6657b4e8c70a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:18 + docker inspect -f . ci-base-image-arm64 16:27:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:18 prd-ubuntu20.04-docker-arm64-4c-16g-4603 does not seem to be running inside a container 16:27:18 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** ci-base-image-arm64 cat 16:27:21 $ docker top 14b911734512b10fe6e1e220c2dfe54888c50617ce3d25add2730ab5e79ad81a -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:22 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 16:27:23 + make test 16:27:23 go test ./... -coverprofile=coverage.out ./... 16:28:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:30:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:30:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:30:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.209s coverage: 31.7% of statements 16:31:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.539s coverage: 86.5% of statements 16:31:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:31:20 go vet ./... 16:31:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:59 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:59 $ docker stop --time=1 14b911734512b10fe6e1e220c2dfe54888c50617ce3d25add2730ab5e79ad81a 16:32:01 $ docker rm -f --volumes 14b911734512b10fe6e1e220c2dfe54888c50617ce3d25add2730ab5e79ad81a [Pipeline] // withDockerContainer [Pipeline] sh 16:32:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:32:02 Warning: overwriting stash ‘coverage-report’ 16:32:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:32:04 + ls -al . 16:32:04 total 232 16:32:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 16:27 . 16:32:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:24 .. 16:32:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:25 .git 16:32:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:25 .github 16:32:04 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:25 .gitignore 16:32:04 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:25 .golangci.yml 16:32:04 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:25 Attribution.txt 16:32:04 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:25 CHANGELOG.md 16:32:04 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:25 Dockerfile 16:32:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:25 GOVERNANCE.md 16:32:04 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:25 Jenkinsfile 16:32:04 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:25 LICENSE 16:32:04 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:25 Makefile 16:32:04 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:25 OWNERS.md 16:32:04 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:25 README.md 16:32:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 16:21 VERSION 16:32:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:25 bin 16:32:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:25 cmd 16:32:04 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:31 coverage.out 16:32:04 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:25 doc 16:32:04 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 20 16:25 go.mod 16:32:04 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 20 16:25 go.sum 16:32:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:25 internal 16:32:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:25 snap 16:32:04 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:04 + 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=84cc58ff96c2fa7aacd7918b029a65105fd586c1 --label arch=arm64 --label version=0.0.0 . 16:32:05 Sending build context to Docker daemon 20.75MB 16:32:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:32:05 Step 2/26 : FROM ${BASE} AS builder 16:32:05 ---> e2426256a6f9 16:32:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:32:05 ---> Running in 46ca7801aa7f 16:32:06 Removing intermediate container 46ca7801aa7f 16:32:06 ---> 6c48cc1d5e20 16:32:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:32:06 ---> Running in 41e49f2ac29b 16:32:06 Removing intermediate container 41e49f2ac29b 16:32:06 ---> 6e507ca94461 16:32:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:32:06 ---> Running in 4d48b808eb6b 16:32:06 Removing intermediate container 4d48b808eb6b 16:32:06 ---> 779601d01326 16:32:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:32:06 ---> Running in 3a157b3a54c2 16:32:07 Removing intermediate container 3a157b3a54c2 16:32:07 ---> 82ac83757cf3 16:32:07 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:32:07 ---> Running in e3d1b9f7a746 16:32:07 Removing intermediate container e3d1b9f7a746 16:32:07 ---> e3faec1d6011 16:32:07 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:32:07 ---> Running in 77aa1d4e6b83 16:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:32:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:32:10 OK: 263 MiB in 53 packages 16:32:11 Removing intermediate container 77aa1d4e6b83 16:32:11 ---> 9ad621a17432 16:32:11 Step 9/26 : WORKDIR /device-onvif-camera 16:32:11 ---> Running in 70322739452f 16:32:12 Removing intermediate container 70322739452f 16:32:12 ---> c004263c4c0c 16:32:12 Step 10/26 : COPY go.mod vendor* ./ 16:32:12 ---> 7ce3fece12fb 16:32:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:32:12 ---> Running in ebc608f18c77 16:32:16 Removing intermediate container ebc608f18c77 16:32:16 ---> 35fbf5079751 16:32:16 Step 12/26 : COPY . . 16:32:17 ---> 2f021882a459 16:32:17 Step 13/26 : RUN ${MAKE} 16:32:17 ---> Running in c6293e0cc7c3 16:32:18 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 16:34:55 Removing intermediate container c6293e0cc7c3 16:34:55 ---> fc25daaef3af 16:34:55 Step 14/26 : FROM alpine:3.17 16:34:55 3.17: Pulling from library/alpine 16:34:55 af6eaf76a39c: Already exists 16:34:55 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:34:55 Status: Downloaded newer image for alpine:3.17 16:34:55 ---> d74e625d9115 16:34:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:34:55 ---> Running in 6a771cd16419 16:34:55 Removing intermediate container 6a771cd16419 16:34:55 ---> 556d1caeb87d 16:34:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:34:55 ---> Running in c2de015f5733 16:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:34:55 (1/1) Installing dumb-init (1.2.5-r2) 16:34:55 Executing busybox-1.35.0-r29.trigger 16:34:55 OK: 8 MiB in 16 packages 16:34:57 Removing intermediate container c2de015f5733 16:34:57 ---> 141f0d274b4f 16:34:57 Step 17/26 : WORKDIR / 16:34:57 ---> Running in 2aa45d0b7feb 16:34:57 Removing intermediate container 2aa45d0b7feb 16:34:57 ---> 905ab2ffc10b 16:34:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:34:58 ---> 8cfa6e5252c5 16:34:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:34:59 ---> 9d19dd61f894 16:34:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:35:00 ---> 9a7a0e794fee 16:35:00 Step 21/26 : EXPOSE 59984 16:35:00 ---> Running in fa0f350ee1bf 16:35:00 Removing intermediate container fa0f350ee1bf 16:35:00 ---> 8517b20b0b80 16:35:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:35:00 ---> Running in eaa5f0a1cc0f 16:35:00 Removing intermediate container eaa5f0a1cc0f 16:35:00 ---> c300a63e9afb 16:35:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:35:00 ---> Running in f55e31669878 16:35:01 Removing intermediate container f55e31669878 16:35:01 ---> 10024760759e 16:35:01 Step 24/26 : LABEL arch=arm64 16:35:01 ---> Running in f9d68a6c9805 16:35:01 Removing intermediate container f9d68a6c9805 16:35:01 ---> 1442b0add56f 16:35:01 Step 25/26 : LABEL git_sha=84cc58ff96c2fa7aacd7918b029a65105fd586c1 16:35:01 ---> Running in 35877b15ff63 16:35:01 Removing intermediate container 35877b15ff63 16:35:01 ---> f9bac8b3e954 16:35:01 Step 26/26 : LABEL version=0.0.0 16:35:01 ---> Running in 33916b61a0fd 16:35:02 Removing intermediate container 33916b61a0fd 16:35:02 ---> 006a4b00995e 16:35:02 [Warning] One or more build-args [ARCH] were not consumed 16:35:02 Successfully built 006a4b00995e 16:35:02 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 16:35:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:02 16:35:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:03 arm64: Pulling from edgex-lftools-log-publisher 16:35:03 8998bd30e6a1: Pulling fs layer 16:35:03 04944245beec: Pulling fs layer 16:35:03 699f458cf7ca: Pulling fs layer 16:35:03 765212b225bb: Pulling fs layer 16:35:03 f23df028b6ca: Pulling fs layer 16:35:03 d65c8cfc05b1: Pulling fs layer 16:35:03 2437ff75d9bd: Pulling fs layer 16:35:03 765212b225bb: Waiting 16:35:03 f23df028b6ca: Waiting 16:35:03 d65c8cfc05b1: Waiting 16:35:03 2437ff75d9bd: Waiting 16:35:03 04944245beec: Verifying Checksum 16:35:03 04944245beec: Download complete 16:35:03 765212b225bb: Verifying Checksum 16:35:03 765212b225bb: Download complete 16:35:03 f23df028b6ca: Verifying Checksum 16:35:03 f23df028b6ca: Download complete 16:35:03 d65c8cfc05b1: Verifying Checksum 16:35:03 d65c8cfc05b1: Download complete 16:35:03 699f458cf7ca: Verifying Checksum 16:35:03 699f458cf7ca: Download complete 16:35:04 8998bd30e6a1: Verifying Checksum 16:35:04 8998bd30e6a1: Download complete 16:35:06 2437ff75d9bd: Verifying Checksum 16:35:06 2437ff75d9bd: Download complete 16:35:08 8998bd30e6a1: Pull complete 16:35:08 04944245beec: Pull complete 16:35:09 699f458cf7ca: Pull complete 16:35:09 765212b225bb: Pull complete 16:35:10 f23df028b6ca: Pull complete 16:35:10 d65c8cfc05b1: Pull complete 16:35:22 2437ff75d9bd: Pull complete 16:35:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:22 prd-ubuntu20.04-docker-arm64-4c-16g-4603 does not seem to be running inside a container 16:35:23 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-lftools-log-publisher:arm64 cat 16:35:25 $ docker top 45fce0037c4224aba0fc7f8e34886e7ef7238dadc53ad5a9a2ac963e1e36e1e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:26 ---> job-cost.sh 16:35:26 lf-activate-venv: SKIPPING 16:35:26 INFO: No Stack... 16:35:27 INFO: Retrieving Pricing Info for: v3-standard-4 16:35:27 INFO: Archiving Costs [Pipeline] sh 16:35:28 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 16:35:28 + cut -d, -f6 [Pipeline] lock 16:35:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] 16:35:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] did not exist. Created. 16:35:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:28 /w/workspace/device-onvif-camera/4@tmp/durable-195dd254/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:35:29 + echo total: 0.10999999940395355 [Pipeline] stash 16:35:29 Warning: overwriting stash ‘stack-cost’ 16:35:29 Stashed 1 file(s) [Pipeline] } 16:35:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:29 $ docker stop --time=1 45fce0037c4224aba0fc7f8e34886e7ef7238dadc53ad5a9a2ac963e1e36e1e3 16:35:31 $ docker rm -f --volumes 45fce0037c4224aba0fc7f8e34886e7ef7238dadc53ad5a9a2ac963e1e36e1e3 [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 16:35:31 provisioning config files... 16:35:31 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config16993568161148904967tmp [Pipeline] { [Pipeline] sh 16:35:31 + set +x 16:35:31 + bash -s -- 16:35:31 + curl -s https://codecov.io/bash 16:35:31 16:35:31 _____ _ 16:35:31 / ____| | | 16:35:31 | | ___ __| | ___ ___ _____ __ 16:35:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:35:31 | |___| (_) | (_| | __/ (_| (_) \ V / 16:35:31 \_____\___/ \__,_|\___|\___\___/ \_/ 16:35:31 Bash-1.0.6 16:35:31 16:35:31 16:35:31 ==> git version 2.25.1 found 16:35:31 ==> 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 16:35:31 Release-Date: 2020-01-08 16:35:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:35:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:35:31 ==> Jenkins CI detected. 16:35:31 current dir:  /w/workspace/undry_device-onvif-camera_PR-275 16:35:31 project root: . 16:35:31 --> token set from env 16:35:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:35:31 ==> Running gcov in . (disable via -X gcov) 16:35:31 ==> Python coveragepy not found 16:35:31 ==> Searching for coverage reports in: 16:35:31 + . 16:35:31 -> Found 1 reports 16:35:31 ==> Detecting git/mercurial file structure 16:35:31 ==> Reading reports 16:35:31 + ./coverage.out bytes=78487 16:35:31 ==> Appending adjustments 16:35:31 https://docs.codecov.io/docs/fixing-reports 16:35:31 + Found adjustments 16:35:31 ==> Gzipping contents 16:35:31 12K /tmp/codecov.DI0O6y.gz 16:35:31 ==> Uploading reports 16:35:31 url: https://codecov.io 16:35:31 query: branch=PR-275&commit=84cc58ff96c2fa7aacd7918b029a65105fd586c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-275%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=275&job=&cmd_args= 16:35:31 -> Pinging Codecov 16:35:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-275&commit=84cc58ff96c2fa7aacd7918b029a65105fd586c1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-275%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=275&job=&cmd_args= 16:35:32 -> Uploading to 16:35:32 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/84cc58ff96c2fa7aacd7918b029a65105fd586c1/88fad037-bbfa-43f2-ad83-89d76f40c207.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T163531Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af486d1e53149b3fc778e68c740357ef63e7938f7666070ce0de126ac6e9cf20 16:35:32 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:32 Dload Upload Total Spent Left Speed 16:35:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 43676 --:--:-- --:--:-- --:--:-- 43495 100 10526 0 0 100 10526 0 43676 --:--:-- --:--:-- --:--:-- 43495 16:35:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/84cc58ff96c2fa7aacd7918b029a65105fd586c1 [Pipeline] } 16:35:32 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 16:35:33 + [ -d /w/workspace/undry_device-onvif-camera_PR-275/archives ] 16:35:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives 16:35:33 total 16 16:35:33 drwxr-xr-x 3 root root 4096 Mar 20 16:23 . 16:35:33 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:23 .. 16:35:33 drwxr-xr-x 2 root root 4096 Mar 20 16:23 cost 16:35:33 -rw-r--r-- 1 root root 91 Mar 20 16:23 cost.csv 16:35:33 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-275/archives 16:35:33 + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives 16:35:33 total 16 16:35:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:23 . 16:35:33 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:23 .. 16:35:33 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 16:23 cost 16:35:33 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:35:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:34 ---> package-listing.sh 16:35:34 ++ facter osfamily 16:35:34 ++ tr '[:upper:]' '[:lower:]' 16:35:34 + OS_FAMILY=debian 16:35:34 + workspace=/w/workspace/undry_device-onvif-camera_PR-275 16:35:34 + START_PACKAGES=/tmp/packages_start.txt 16:35:34 + END_PACKAGES=/tmp/packages_end.txt 16:35:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:34 + PACKAGES=/tmp/packages_start.txt 16:35:34 + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' 16:35:34 + PACKAGES=/tmp/packages_end.txt 16:35:34 + case "${OS_FAMILY}" in 16:35:34 + dpkg -l 16:35:34 + grep '^ii' 16:35:34 + '[' -f /tmp/packages_start.txt ']' 16:35:34 + '[' -f /tmp/packages_end.txt ']' 16:35:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:34 + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' 16:35:34 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-275/archives/ 16:35:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-275/archives/ [Pipeline] echo 16:35:34 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-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:35:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:35 prd-ubuntu20.04-docker-8c-8g-4600 does not seem to be running inside a container 16:35:35 $ 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-275/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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:35:35 $ docker top af725211736b2516aaa73012552472cdf740e2b75241a5c16ba0eb4d7d6d2510 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:35:36 + mkdir -p /var/log/sysstat [Pipeline] sh 16:35:36 + ls /var/log/sa-host 16:35:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:36 provisioning config files... 16:35:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config7456479842283031023tmp [Pipeline] { [Pipeline] echo 16:35:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:35:37 ---> create-netrc.sh [Pipeline] } 16:35:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:35:37 ---> python-tools-install.sh [Pipeline] echo 16:35:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:35:37 ---> sudo-logs.sh 16:35:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:35:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:35:37 ---> job-cost.sh 16:35:37 lf-activate-venv: SKIPPING 16:35:37 DEBUG: total: 0.2199999988079071 16:35:37 INFO: Retrieving Stack Cost... 16:35:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:38 INFO: Archiving Costs [Pipeline] echo 16:35:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:35:39 ---> logs-deploy.sh 16:35:39 lf-activate-venv: SKIPPING 16:35:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-275/4 16:35:39 INFO: archiving workspace using pattern(s): 16:35:39 Archives upload complete. 16:35:39 INFO: archiving logs to Nexus