Pull request #299 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df7c202fb88a1add622e32fe454168ce23d0acd8+c6cff038fe156dd62418d57d6c36ffe741a1df05 (287e9fbe65dd4370c2874d299a078c9b3f56d053) 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-ssh6897856849013691777.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-ssh15378266587158272048.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-299/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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11572767299010199433.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-ssh1513767515427526517.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-299/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-299/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8696543241970565551.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 ‘prd-ubuntu20.04-docker-8c-8g-7083’ Running on prd-ubuntu20.04-docker-8c-8g-7088 in /w/workspace/undry_device-onvif-camera_PR-299 [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-299 # 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 > 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/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit df7c202fb88a1add622e32fe454168ce23d0acd8 Merge succeeded, producing df7c202fb88a1add622e32fe454168ce23d0acd8 Checking out Revision df7c202fb88a1add622e32fe454168ce23d0acd8 (PR-299) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:08:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:08:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f df7c202fb88a1add622e32fe454168ce23d0acd8 # 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 c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df7c202fb88a1add622e32fe454168ce23d0acd8 # timeout=10 > git rev-list --no-walk 23fbfb204be5318310628bf409a31119d36e0abe # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:08:04 ========================================================= 06:08:04 EdgeX Global Pipelines Version Info 06:08:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:08:05 ------------------- 06:08:05 stable info: 06:08:05 ------------------- 06:08:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:08:05 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:08:05 Message: update stable to v1.0.245 06:08:05 ------------------- 06:08:05 experimental info: 06:08:05 ------------------- 06:08:05 Commited By: **** collab-it+edgex@linuxfoundation.org 06:08:05 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:08:05 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:08:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-299 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-299 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-299 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df7c202fb88a1add622e32fe454168ce23d0acd8 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df7c202 [Pipeline] echo 06:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:06 provisioning config files... 06:08:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config3529581188215156568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:06 ---> docker-login.sh 06:08:06 nexus3.edgexfoundry.org:10001 06:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:08 Configure a credential helper to remove this warning. See 06:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:08 06:08:08 Login Succeeded 06:08:08 nexus3.edgexfoundry.org:10002 06:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:08 Configure a credential helper to remove this warning. See 06:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:08 06:08:08 Login Succeeded 06:08:08 nexus3.edgexfoundry.org:10003 06:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:08 Configure a credential helper to remove this warning. See 06:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:08 06:08:08 Login Succeeded 06:08:08 nexus3.edgexfoundry.org:10004 06:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:09 Configure a credential helper to remove this warning. See 06:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:09 06:08:09 Login Succeeded 06:08:09 docker.io 06:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:09 Configure a credential helper to remove this warning. See 06:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:09 06:08:09 Login Succeeded 06:08:09 ---> docker-login.sh ends [Pipeline] } 06:08:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:08:09 + git rev-list -1 --merges df7c202fb88a1add622e32fe454168ce23d0acd8~1..df7c202fb88a1add622e32fe454168ce23d0acd8 [Pipeline] echo 06:08:09 -----------> git rev-list -1 --merges df7c202fb88a1add622e32fe454168ce23d0acd8~1..df7c202fb88a1add622e32fe454168ce23d0acd8 df7c202fb88a1add622e32fe454168ce23d0acd8 [false] [Pipeline] sh 06:08:10 + git log --format=format:%s -1 df7c202fb88a1add622e32fe454168ce23d0acd8 [Pipeline] echo 06:08:10 ========================================================= 06:08:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:08:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:10 + git log --format=format:%s -1 df7c202fb88a1add622e32fe454168ce23d0acd8 [Pipeline] echo 06:08:10 [semverPrep] GIT_COMMIT: df7c202fb88a1add622e32fe454168ce23d0acd8, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 06:08:10 [semverPrep] This is not a build commit. [Pipeline] sh 06:08:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:10 + grep -v github /etc/ssh/ssh_known_hosts 06:08:10 + [ -e /tmp/ssh_known_hosts ] 06:08:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:08:10 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:08:10 sudo tee -a /etc/ssh/ssh_known_hosts 06:08:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:11 06:08:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:12 0.1.4: Pulling from edgex-devops/py-git-semver 06:08:12 b85a868b505f: Pulling fs layer 06:08:12 e2be974225ed: Pulling fs layer 06:08:12 339a4e72a1f5: Pulling fs layer 06:08:12 988bab9f4d93: Pulling fs layer 06:08:12 1469e6f7b9e6: Pulling fs layer 06:08:12 eaf3925da568: Pulling fs layer 06:08:12 bab4dde63d76: Pulling fs layer 06:08:12 bde34c3a00c8: Pulling fs layer 06:08:12 b352a97aabf1: Pulling fs layer 06:08:12 4872d77fe225: Pulling fs layer 06:08:12 5851b861e8e6: Pulling fs layer 06:08:12 988bab9f4d93: Waiting 06:08:12 eaf3925da568: Waiting 06:08:12 b352a97aabf1: Waiting 06:08:12 bab4dde63d76: Waiting 06:08:12 bde34c3a00c8: Waiting 06:08:12 1469e6f7b9e6: Waiting 06:08:12 5851b861e8e6: Waiting 06:08:12 e2be974225ed: Verifying Checksum 06:08:12 e2be974225ed: Download complete 06:08:12 988bab9f4d93: Download complete 06:08:12 1469e6f7b9e6: Verifying Checksum 06:08:12 1469e6f7b9e6: Download complete 06:08:12 eaf3925da568: Verifying Checksum 06:08:12 eaf3925da568: Download complete 06:08:12 339a4e72a1f5: Verifying Checksum 06:08:12 339a4e72a1f5: Download complete 06:08:12 bde34c3a00c8: Download complete 06:08:13 b352a97aabf1: Download complete 06:08:13 4872d77fe225: Verifying Checksum 06:08:13 4872d77fe225: Download complete 06:08:13 5851b861e8e6: Download complete 06:08:13 b85a868b505f: Verifying Checksum 06:08:13 b85a868b505f: Download complete 06:08:13 bab4dde63d76: Verifying Checksum 06:08:13 bab4dde63d76: Download complete 06:08:14 b85a868b505f: Pull complete 06:08:15 e2be974225ed: Pull complete 06:08:16 339a4e72a1f5: Pull complete 06:08:16 988bab9f4d93: Pull complete 06:08:17 1469e6f7b9e6: Pull complete 06:08:18 eaf3925da568: Pull complete 06:08:20 bab4dde63d76: Pull complete 06:08:21 bde34c3a00c8: Pull complete 06:08:21 b352a97aabf1: Pull complete 06:08:21 4872d77fe225: Pull complete 06:08:22 5851b861e8e6: Pull complete 06:08:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:23 prd-ubuntu20.04-docker-8c-8g-7088 does not seem to be running inside a container 06:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@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-devops/py-git-semver:0.1.4 cat 06:08:34 $ docker top d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 -eo pid,comm 06:08:34 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). 06:08:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:34 [ssh-agent] Looking for ssh-agent implementation... 06:08:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:34 $ docker exec d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 ssh-agent 06:08:34 SSH_AUTH_SOCK=/tmp/ssh-dOXeR6zFBIR2/agent.14 06:08:34 SSH_AGENT_PID=20 06:08:34 Running ssh-add (command line suppressed) 06:08:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_16141692063343172970.key (/w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_16141692063343172970.key) 06:08:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:35 + git tag --points-at HEAD [Pipeline] } 06:08:35 $ docker exec --env ******** --env ******** d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 ssh-agent -k 06:08:35 unset SSH_AUTH_SOCK; 06:08:35 unset SSH_AGENT_PID; 06:08:35 echo Agent pid 20 killed; 06:08:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:35 [ssh-agent] Looking for ssh-agent implementation... 06:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:35 $ docker exec d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 ssh-agent 06:08:35 SSH_AUTH_SOCK=/tmp/ssh-pf2ymjK9HMlF/agent.52 06:08:35 SSH_AGENT_PID=59 06:08:35 Running ssh-add (command line suppressed) 06:08:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_1302457147925670630.key (/w/workspace/undry_device-onvif-camera_PR-299@tmp/private_key_1302457147925670630.key) 06:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:35 + git semver init 06:08:36 2023-04-07 06:08:36,175 [run_init] DEBUG init version:0.0.0 force:False 06:08:36 2023-04-07 06:08:36,176 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-299/.semver 06:08:36 2023-04-07 06:08:36,177 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-299/.semver 06:08:36 2023-04-07 06:08:36,208 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-299/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-299, universal_newlines=False, shell=None, istream=None) 06:08:37 2023-04-07 06:08:37,332 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-299/.git/info/exclude 06:08:37 2023-04-07 06:08:37,333 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 with force:False 06:08:37 2023-04-07 06:08:37,333 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 06:08:37 2023-04-07 06:08:37,337 [execute] INFO git cat-file --batch-check 06:08:37 2023-04-07 06:08:37,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-299/.semver, universal_newlines=False, shell=None, istream=) 06:08:37 2023-04-07 06:08:37,344 [execute] INFO git cat-file --batch 06:08:37 2023-04-07 06:08:37,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-299/.semver, universal_newlines=False, shell=None, istream=) 06:08:37 2023-04-07 06:08:37,349 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-299/.semver/PR-299 06:08:37 0.0.0 [Pipeline] } 06:08:37 $ docker exec --env ******** --env ******** d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 ssh-agent -k 06:08:37 unset SSH_AUTH_SOCK; 06:08:37 unset SSH_AGENT_PID; 06:08:37 echo Agent pid 59 killed; 06:08:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:38 + git semver [Pipeline] } 06:08:38 $ docker stop --time=1 d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 06:08:41 $ docker rm -f --volumes d6cfa4ed2e624b9855f56a065c95fe28488dd4e028493e72f23f0c895db51a20 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:08:42 Stashed 1 file(s) [Pipeline] echo 06:08:42 [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 06:08:42 provisioning config files... 06:08:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config8919635320615861659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:42 ---> docker-login.sh 06:08:42 nexus3.edgexfoundry.org:10001 06:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:42 Configure a credential helper to remove this warning. See 06:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:42 06:08:42 Login Succeeded 06:08:42 nexus3.edgexfoundry.org:10002 06:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:42 Configure a credential helper to remove this warning. See 06:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:42 06:08:42 Login Succeeded 06:08:42 nexus3.edgexfoundry.org:10003 06:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:42 Configure a credential helper to remove this warning. See 06:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:42 06:08:42 Login Succeeded 06:08:42 nexus3.edgexfoundry.org:10004 06:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:42 Configure a credential helper to remove this warning. See 06:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:42 06:08:42 Login Succeeded 06:08:42 docker.io 06:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:43 Configure a credential helper to remove this warning. See 06:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:43 06:08:43 Login Succeeded 06:08:43 ---> docker-login.sh ends [Pipeline] } 06:08:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:43 ========================================================= 06:08:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:08:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:43 + 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 . 06:08:43 Sending build context to Docker daemon 26.89MB 06:08:43 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:08:43 Step 2/13 : FROM ${BASE} AS builder 06:08:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:44 63b65145d645: Pulling fs layer 06:08:44 a2d21d5440eb: Pulling fs layer 06:08:44 935e6c44a52c: Pulling fs layer 06:08:44 94cc34f8dd06: Pulling fs layer 06:08:44 30dea6a524f1: Pulling fs layer 06:08:44 a2aff8979fd8: Pulling fs layer 06:08:44 6808be2612f2: Pulling fs layer 06:08:44 f25807f1079a: Pulling fs layer 06:08:44 94cc34f8dd06: Waiting 06:08:44 30dea6a524f1: Waiting 06:08:44 a2aff8979fd8: Waiting 06:08:44 6808be2612f2: Waiting 06:08:44 f25807f1079a: Waiting 06:08:44 a2d21d5440eb: Verifying Checksum 06:08:44 a2d21d5440eb: Download complete 06:08:44 94cc34f8dd06: Verifying Checksum 06:08:44 94cc34f8dd06: Download complete 06:08:44 30dea6a524f1: Verifying Checksum 06:08:44 30dea6a524f1: Download complete 06:08:44 63b65145d645: Verifying Checksum 06:08:44 63b65145d645: Download complete 06:08:44 a2aff8979fd8: Verifying Checksum 06:08:44 a2aff8979fd8: Download complete 06:08:44 63b65145d645: Pull complete 06:08:44 f25807f1079a: Verifying Checksum 06:08:44 f25807f1079a: Download complete 06:08:45 935e6c44a52c: Download complete 06:08:45 a2d21d5440eb: Pull complete 06:08:45 6808be2612f2: Verifying Checksum 06:08:45 6808be2612f2: Download complete 06:08:49 935e6c44a52c: Pull complete 06:08:49 94cc34f8dd06: Pull complete 06:08:50 30dea6a524f1: Pull complete 06:08:50 a2aff8979fd8: Pull complete 06:08:53 6808be2612f2: Pull complete 06:08:54 f25807f1079a: Pull complete 06:08:54 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:08:54 ---> 3b553350e43f 06:08:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:08:57 Still waiting to schedule task 06:08:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7084’ 06:09:04 ---> Running in 04a20738f924 06:09:04 Removing intermediate container 04a20738f924 06:09:04 ---> 0a395c320b0b 06:09:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:05 ---> Running in 28a716c21d52 06:09:05 Removing intermediate container 28a716c21d52 06:09:05 ---> 99ee5285e4c1 06:09:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:09:07 ---> Running in 47cf69ce05cb 06:09:07 Removing intermediate container 47cf69ce05cb 06:09:07 ---> c5e2cec96be5 06:09:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:09:08 ---> Running in c061a1b53a11 06:09:09 Removing intermediate container c061a1b53a11 06:09:09 ---> 03413de9d9f5 06:09:09 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:09:09 ---> Running in 58c84e6f0d49 06:09:10 Removing intermediate container 58c84e6f0d49 06:09:10 ---> ceafa55850bb 06:09:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:11 ---> Running in b9aef7100285 06:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:09:12 OK: 265 MiB in 53 packages 06:09:14 Removing intermediate container b9aef7100285 06:09:14 ---> 3429e9566bdd 06:09:14 Step 9/13 : WORKDIR /device-onvif-camera 06:09:15 ---> Running in efe628070b22 06:09:16 Removing intermediate container efe628070b22 06:09:16 ---> 6ebb0b111f66 06:09:16 Step 10/13 : COPY go.mod vendor* ./ 06:09:16 ---> e713442abbd4 06:09:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:17 ---> Running in e3368b8e100e 06:10:04 Removing intermediate container e3368b8e100e 06:10:04 ---> d8b95f9511c9 06:10:04 Step 12/13 : COPY . . 06:10:07 ---> 61454ce5a6f6 06:10:07 Step 13/13 : RUN ${MAKE} 06:10:07 ---> Running in 436fa374c9fa 06:10:07 noop 06:10:08 Removing intermediate container 436fa374c9fa 06:10:08 ---> 3cebdc1d5d3a 06:10:08 Successfully built 3cebdc1d5d3a 06:10:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + docker inspect -f . ci-base-image-x86_64 06:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:08 prd-ubuntu20.04-docker-8c-8g-7088 does not seem to be running inside a container 06:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:09 $ docker top 758abe14047844d6180bdb7a3982ccada1e7bf627cbc991990ff8cbf1d5ccde3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:09 + go version 06:10:09 go version go1.20.2 linux/amd64 [Pipeline] } 06:10:09 $ docker stop --time=1 758abe14047844d6180bdb7a3982ccada1e7bf627cbc991990ff8cbf1d5ccde3 06:10:11 $ docker rm -f --volumes 758abe14047844d6180bdb7a3982ccada1e7bf627cbc991990ff8cbf1d5ccde3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:11 + docker inspect -f . ci-base-image-x86_64 06:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:11 prd-ubuntu20.04-docker-8c-8g-7088 does not seem to be running inside a container 06:10:11 $ 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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:12 $ docker top b008d0b3993589ede2ad831b1a3cfe80008af52b5dd3e059ad60d0c3e83834d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:12 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-299 [Pipeline] fileExists [Pipeline] sh 06:10:12 + make test 06:10:12 go test ./... -coverprofile=coverage.out ./... 06:10:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:10:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:10:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:10:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.7% of statements 06:10:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.128s coverage: 86.5% of statements 06:10:37 go vet ./... 06:10:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:40 ./bin/test-attribution-txt.sh 06:10:40 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:40 $ docker stop --time=1 b008d0b3993589ede2ad831b1a3cfe80008af52b5dd3e059ad60d0c3e83834d6 06:10:42 $ docker rm -f --volumes b008d0b3993589ede2ad831b1a3cfe80008af52b5dd3e059ad60d0c3e83834d6 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:43 + ls -al . 06:10:43 total 236 06:10:43 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:10 . 06:10:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:08 .. 06:10:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:08 .git 06:10:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:08 .github 06:10:43 -rw-rw-r-- 1 jenkins jenkins 496 Apr 7 06:08 .gitignore 06:10:43 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 06:08 .golangci.yml 06:10:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:08 .semver 06:10:43 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 7 06:08 Attribution.txt 06:10:43 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 7 06:08 CHANGELOG.md 06:10:43 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 7 06:08 Dockerfile 06:10:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:08 GOVERNANCE.md 06:10:43 -rw-rw-r-- 1 jenkins jenkins 734 Apr 7 06:08 Jenkinsfile 06:10:43 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 06:08 LICENSE 06:10:43 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 7 06:08 Makefile 06:10:43 -rw-rw-r-- 1 jenkins jenkins 625 Apr 7 06:08 OWNERS.md 06:10:43 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 7 06:08 README.md 06:10:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:08 VERSION 06:10:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:08 bin 06:10:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:08 cmd 06:10:43 -rw-r--r-- 1 jenkins jenkins 78485 Apr 7 06:10 coverage.out 06:10:43 drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 06:08 doc 06:10:43 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 7 06:08 go.mod 06:10:43 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 7 06:08 go.sum 06:10:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:08 internal 06:10:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:08 snap 06:10:43 -rw-rw-r-- 1 jenkins jenkins 236 Apr 7 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:43 + 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=df7c202fb88a1add622e32fe454168ce23d0acd8 --label arch=amd64 --label version=0.0.0 . 06:10:43 Sending build context to Docker daemon 26.97MB 06:10:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:10:43 Step 2/26 : FROM ${BASE} AS builder 06:10:43 ---> 3cebdc1d5d3a 06:10:43 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:10:44 ---> Running in 04acf8c3593f 06:10:44 Removing intermediate container 04acf8c3593f 06:10:44 ---> 8dbfd45b4972 06:10:44 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:44 ---> Running in 402ceee9028f 06:10:44 Removing intermediate container 402ceee9028f 06:10:44 ---> 070523637693 06:10:44 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:10:44 ---> Running in fedc5f031785 06:10:44 Removing intermediate container fedc5f031785 06:10:44 ---> 51e6f12f943c 06:10:44 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:10:44 ---> Running in 5de38dc97dbe 06:10:44 Removing intermediate container 5de38dc97dbe 06:10:44 ---> 932caa901773 06:10:44 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:10:44 ---> Running in c0597ab1088a 06:10:44 Removing intermediate container c0597ab1088a 06:10:44 ---> 0737da77d37f 06:10:44 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:44 ---> Running in 3f6f1ff2e9d1 06:10:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:45 OK: 265 MiB in 53 packages 06:10:45 Removing intermediate container 3f6f1ff2e9d1 06:10:45 ---> baa5b5cbb293 06:10:45 Step 9/26 : WORKDIR /device-onvif-camera 06:10:45 ---> Running in 3a95d07fc7fb 06:10:45 Removing intermediate container 3a95d07fc7fb 06:10:45 ---> 9e4afb706d97 06:10:45 Step 10/26 : COPY go.mod vendor* ./ 06:10:45 ---> 1efc0a374581 06:10:45 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:45 ---> Running in 08dc15e1343a 06:10:46 Removing intermediate container 08dc15e1343a 06:10:46 ---> 1134d59e4a4f 06:10:46 Step 12/26 : COPY . . 06:10:47 ---> 5e21afd6b3b4 06:10:47 Step 13/26 : RUN ${MAKE} 06:10:47 ---> Running in 36ef7cde9c76 06:10:47 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 06:11:05 Removing intermediate container 36ef7cde9c76 06:11:05 ---> 612b3347ca8f 06:11:05 Step 14/26 : FROM alpine:3.17 06:11:05 3.17: Pulling from library/alpine 06:11:05 f56be85fc22e: Pulling fs layer 06:11:05 f56be85fc22e: Download complete 06:11:06 f56be85fc22e: Pull complete 06:11:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:06 Status: Downloaded newer image for alpine:3.17 06:11:06 ---> 9ed4aefc74f6 06:11:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:11:06 ---> Running in 28e1860154f3 06:11:06 Removing intermediate container 28e1860154f3 06:11:06 ---> ca3ad9c758ce 06:11:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:11:06 ---> Running in b6d97d565b7a 06:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:07 (1/1) Installing dumb-init (1.2.5-r2) 06:11:07 Executing busybox-1.35.0-r29.trigger 06:11:07 OK: 7 MiB in 16 packages 06:11:07 Removing intermediate container b6d97d565b7a 06:11:07 ---> 0ebf2235da07 06:11:07 Step 17/26 : WORKDIR / 06:11:07 ---> Running in f15f80258a6a 06:11:07 Removing intermediate container f15f80258a6a 06:11:07 ---> 0296506b0b75 06:11:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:11:08 ---> b9d66ecbfb23 06:11:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:11:08 ---> b20a37809375 06:11:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:11:08 ---> 472713df29f3 06:11:08 Step 21/26 : EXPOSE 59984 06:11:08 ---> Running in 6a0df7984147 06:11:08 Removing intermediate container 6a0df7984147 06:11:08 ---> 3479f9ea166a 06:11:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:11:08 ---> Running in 54d0bb1f68f5 06:11:08 Removing intermediate container 54d0bb1f68f5 06:11:08 ---> 5c3536ba6169 06:11:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:11:08 ---> Running in 297b97679edd 06:11:08 Removing intermediate container 297b97679edd 06:11:08 ---> a23d099b389f 06:11:08 Step 24/26 : LABEL arch=amd64 06:11:08 ---> Running in 1cc697d177ca 06:11:08 Removing intermediate container 1cc697d177ca 06:11:08 ---> 055ccb3767bd 06:11:08 Step 25/26 : LABEL git_sha=df7c202fb88a1add622e32fe454168ce23d0acd8 06:11:08 ---> Running in 5be67a8de17c 06:11:08 Removing intermediate container 5be67a8de17c 06:11:08 ---> ee3b614f8e40 06:11:08 Step 26/26 : LABEL version=0.0.0 06:11:08 ---> Running in 8b385c45a93d 06:11:08 Removing intermediate container 8b385c45a93d 06:11:08 ---> 906a9eba90d6 06:11:08 [Warning] One or more build-args [ARCH] were not consumed 06:11:08 Successfully built 906a9eba90d6 06:11:08 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 06:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:09 06:11:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:09 latest: Pulling from edgex-lftools-log-publisher 06:11:09 5eb5b503b376: Pulling fs layer 06:11:09 5c69ac0246d0: Pulling fs layer 06:11:09 ec43610c2a17: Pulling fs layer 06:11:09 3a2ae6a8a46f: Pulling fs layer 06:11:09 33b1e0a273af: Pulling fs layer 06:11:09 5d3b04190fa2: Pulling fs layer 06:11:09 2f39f015ded8: Pulling fs layer 06:11:09 33b1e0a273af: Waiting 06:11:09 5d3b04190fa2: Waiting 06:11:09 3a2ae6a8a46f: Waiting 06:11:09 2f39f015ded8: Waiting 06:11:09 5c69ac0246d0: Verifying Checksum 06:11:09 5c69ac0246d0: Download complete 06:11:09 3a2ae6a8a46f: Download complete 06:11:09 33b1e0a273af: Verifying Checksum 06:11:09 33b1e0a273af: Download complete 06:11:09 5d3b04190fa2: Verifying Checksum 06:11:09 5d3b04190fa2: Download complete 06:11:09 ec43610c2a17: Verifying Checksum 06:11:09 ec43610c2a17: Download complete 06:11:09 5eb5b503b376: Verifying Checksum 06:11:09 5eb5b503b376: Download complete 06:11:10 2f39f015ded8: Download complete 06:11:10 5eb5b503b376: Pull complete 06:11:11 5c69ac0246d0: Pull complete 06:11:11 ec43610c2a17: Pull complete 06:11:11 3a2ae6a8a46f: Pull complete 06:11:11 33b1e0a273af: Pull complete 06:11:11 5d3b04190fa2: Pull complete 06:11:16 2f39f015ded8: Pull complete 06:11:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:16 prd-ubuntu20.04-docker-8c-8g-7088 does not seem to be running inside a container 06:11:16 $ 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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:17 $ docker top f39c8c810a399c2873c93b507b48bf0df3c1994da106d93dc7625c667257344d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:18 ---> job-cost.sh 06:11:18 lf-activate-venv: SKIPPING 06:11:18 INFO: No Stack... 06:11:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:18 INFO: Archiving Costs [Pipeline] sh 06:11:19 + cat /w/workspace/undry_device-onvif-camera_PR-299/archives/cost.csv 06:11:19 + cut -d, -f6 [Pipeline] lock 06:11:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] 06:11:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] did not exist. Created. 06:11:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:19 + echo total: 0.2199999988079071 [Pipeline] stash 06:11:19 Stashed 1 file(s) [Pipeline] } 06:11:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:19 $ docker stop --time=1 f39c8c810a399c2873c93b507b48bf0df3c1994da106d93dc7625c667257344d 06:11:20 $ docker rm -f --volumes f39c8c810a399c2873c93b507b48bf0df3c1994da106d93dc7625c667257344d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:11:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7092 in /w/workspace/undry_device-onvif-camera_PR-299 [Pipeline] { [Pipeline] ws 06:11:38 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 06:11:38 The recommended git tool is: git 06:11:44 using credential edgex-jenkins-ssh 06:11:44 Cloning the remote Git repository 06:11:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:11:44 > git init /w/workspace/device-onvif-camera/2 # timeout=10 06:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:11:45 > git --version # timeout=10 06:11:45 > git --version # 'git version 2.25.1' 06:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:11:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:11:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:11:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:11:48 Merging remotes/origin/main commit c6cff038fe156dd62418d57d6c36ffe741a1df05 into PR head commit df7c202fb88a1add622e32fe454168ce23d0acd8 06:11:48 Merge succeeded, producing df7c202fb88a1add622e32fe454168ce23d0acd8 06:11:48 Checking out Revision df7c202fb88a1add622e32fe454168ce23d0acd8 (PR-299) 06:11:48 > git config core.sparsecheckout # timeout=10 06:11:48 > git checkout -f df7c202fb88a1add622e32fe454168ce23d0acd8 # timeout=10 06:11:48 > git remote # timeout=10 06:11:48 > git config --get remote.origin.url # timeout=10 06:11:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:48 > git merge c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 06:11:48 > git rev-parse HEAD^{commit} # timeout=10 06:11:48 > git config core.sparsecheckout # timeout=10 06:11:48 > git checkout -f df7c202fb88a1add622e32fe454168ce23d0acd8 # timeout=10 06:11:49 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:11:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:50 Dload Upload Total Spent Left Speed 06:11:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 06:11:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:11:51 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:11:51 /etc/docker/daemon.new 06:11:51 { 06:11:51 "registry-mirrors": [ 06:11:51 "https://nexus3.edgexfoundry.org:10001" 06:11:51 ], 06:11:51 "bip": "10.250.0.254/24", 06:11:51 "hosts": [ 06:11:51 "tcp://0.0.0.0:5555", 06:11:51 "unix:///var/run/docker.sock" 06:11:51 ], 06:11:51 "mtu": 1458, 06:11:51 "selinux-enabled": true, 06:11:51 "seccomp-profile": "/etc/docker/seccomp.json" 06:11:51 } [Pipeline] sh 06:11:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:11:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:10 provisioning config files... 06:12:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config1651173511489191153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:10 ---> docker-login.sh 06:12:10 nexus3.edgexfoundry.org:10001 06:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:11 Configure a credential helper to remove this warning. See 06:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:11 06:12:11 Login Succeeded 06:12:11 nexus3.edgexfoundry.org:10002 06:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:12 Configure a credential helper to remove this warning. See 06:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:12 06:12:12 Login Succeeded 06:12:12 nexus3.edgexfoundry.org:10003 06:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:12 Configure a credential helper to remove this warning. See 06:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:12 06:12:12 Login Succeeded 06:12:12 nexus3.edgexfoundry.org:10004 06:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:12 Configure a credential helper to remove this warning. See 06:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:12 06:12:12 Login Succeeded 06:12:12 docker.io 06:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:13 Configure a credential helper to remove this warning. See 06:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:13 06:12:13 Login Succeeded 06:12:13 ---> docker-login.sh ends [Pipeline] } 06:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:13 ========================================================= 06:12:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:12:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:14 + 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 . 06:12:16 Sending build context to Docker daemon 19.64MB 06:12:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:12:16 Step 2/13 : FROM ${BASE} AS builder 06:12:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:16 af6eaf76a39c: Pulling fs layer 06:12:16 55522c791124: Pulling fs layer 06:12:16 ce5c4a1c91eb: Pulling fs layer 06:12:16 169dfbe0d373: Pulling fs layer 06:12:16 e1ff8fa3b103: Pulling fs layer 06:12:16 52ebb69f0ebf: Pulling fs layer 06:12:16 5abe8eddf0d5: Pulling fs layer 06:12:16 e1ff8fa3b103: Waiting 06:12:16 5abe8eddf0d5: Waiting 06:12:16 52ebb69f0ebf: Waiting 06:12:16 169dfbe0d373: Waiting 06:12:16 55522c791124: Verifying Checksum 06:12:16 55522c791124: Download complete 06:12:16 169dfbe0d373: Verifying Checksum 06:12:16 169dfbe0d373: Download complete 06:12:16 e1ff8fa3b103: Verifying Checksum 06:12:16 e1ff8fa3b103: Download complete 06:12:16 af6eaf76a39c: Verifying Checksum 06:12:16 af6eaf76a39c: Download complete 06:12:18 af6eaf76a39c: Pull complete 06:12:18 5abe8eddf0d5: Verifying Checksum 06:12:18 5abe8eddf0d5: Download complete 06:12:18 55522c791124: Pull complete 06:12:19 ce5c4a1c91eb: Download complete 06:12:19 52ebb69f0ebf: Verifying Checksum 06:12:19 52ebb69f0ebf: Download complete 06:12:32 ce5c4a1c91eb: Pull complete 06:12:32 169dfbe0d373: Pull complete 06:12:32 e1ff8fa3b103: Pull complete 06:12:38 52ebb69f0ebf: Pull complete 06:12:43 5abe8eddf0d5: Pull complete 06:12:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:12:43 ---> 6cb57ee374ae 06:12:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:12:45 ---> Running in 9966091a08e0 06:12:45 Removing intermediate container 9966091a08e0 06:12:45 ---> 79c624909c48 06:12:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:45 ---> Running in 9126155e0791 06:12:46 Removing intermediate container 9126155e0791 06:12:46 ---> bd53012d4253 06:12:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:12:46 ---> Running in 8b1f195ff2e4 06:12:46 Removing intermediate container 8b1f195ff2e4 06:12:46 ---> 8c40a5c59e7c 06:12:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:12:46 ---> Running in 702a581d071c 06:12:46 Removing intermediate container 702a581d071c 06:12:46 ---> dce78d9ef431 06:12:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:12:47 ---> Running in b0974f620cf2 06:12:47 Removing intermediate container b0974f620cf2 06:12:47 ---> 11e7491ed4ca 06:12:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:47 ---> Running in 67712a4fcaa4 06:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:50 OK: 263 MiB in 53 packages 06:12:51 Removing intermediate container 67712a4fcaa4 06:12:51 ---> 576df0e75784 06:12:51 Step 9/13 : WORKDIR /device-onvif-camera 06:12:51 ---> Running in f1b213c8a650 06:12:52 Removing intermediate container f1b213c8a650 06:12:52 ---> d92acbf3f2bb 06:12:52 Step 10/13 : COPY go.mod vendor* ./ 06:12:52 ---> c1e7bb83c4ec 06:12:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:52 ---> Running in 6bda1fc861b0 06:14:00 Removing intermediate container 6bda1fc861b0 06:14:00 ---> 2ccb8968899a 06:14:00 Step 12/13 : COPY . . 06:14:00 ---> bf2f9a0bc0bd 06:14:00 Step 13/13 : RUN ${MAKE} 06:14:00 ---> Running in 8510f4b299b3 06:14:00 noop 06:14:00 Removing intermediate container 8510f4b299b3 06:14:00 ---> cae5e58dc4e1 06:14:00 Successfully built cae5e58dc4e1 06:14:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:00 + docker inspect -f . ci-base-image-arm64 06:14:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-7092 does not seem to be running inside a container 06:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:04 $ docker top 4fcea2c07434abeab4a6f8c70886070bf7cc43e404bc70d90b9692569c73176e -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:05 + go version 06:14:05 go version go1.20.2 linux/arm64 [Pipeline] } 06:14:05 $ docker stop --time=1 4fcea2c07434abeab4a6f8c70886070bf7cc43e404bc70d90b9692569c73176e 06:14:07 $ docker rm -f --volumes 4fcea2c07434abeab4a6f8c70886070bf7cc43e404bc70d90b9692569c73176e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:08 + docker inspect -f . ci-base-image-arm64 06:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:08 prd-ubuntu20.04-docker-arm64-4c-16g-7092 does not seem to be running inside a container 06:14:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:14:09 $ docker top d036e3d6be0451d25bdbff0a9ac9986e89635804bae29da817f125b31046b390 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 06:14:11 + make test 06:14:11 go test ./... -coverprofile=coverage.out ./... 06:14:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:17:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:17:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:17:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.7% of statements 06:18:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.120s coverage: 86.5% of statements 06:18:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:18:16 go vet ./... 06:18:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:49 ./bin/test-attribution-txt.sh 06:18:49 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:18:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:18:49 $ docker stop --time=1 d036e3d6be0451d25bdbff0a9ac9986e89635804bae29da817f125b31046b390 06:18:51 $ docker rm -f --volumes d036e3d6be0451d25bdbff0a9ac9986e89635804bae29da817f125b31046b390 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:52 Warning: overwriting stash ‘coverage-report’ 06:18:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:53 + ls -al . 06:18:53 total 232 06:18:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 06:14 . 06:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 .. 06:18:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:11 .git 06:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 .github 06:18:53 -rw-rw-r-- 1 jenkins jenkins 496 Apr 7 06:11 .gitignore 06:18:53 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 06:11 .golangci.yml 06:18:53 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 7 06:11 Attribution.txt 06:18:53 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 7 06:11 CHANGELOG.md 06:18:53 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 7 06:11 Dockerfile 06:18:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:11 GOVERNANCE.md 06:18:53 -rw-rw-r-- 1 jenkins jenkins 734 Apr 7 06:11 Jenkinsfile 06:18:53 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 06:11 LICENSE 06:18:53 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 7 06:11 Makefile 06:18:53 -rw-rw-r-- 1 jenkins jenkins 625 Apr 7 06:11 OWNERS.md 06:18:53 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 7 06:11 README.md 06:18:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:08 VERSION 06:18:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:11 bin 06:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 cmd 06:18:53 -rw-r--r-- 1 jenkins jenkins 78485 Apr 7 06:18 coverage.out 06:18:53 drwxrwxr-x 6 jenkins jenkins 4096 Apr 7 06:11 doc 06:18:53 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 7 06:11 go.mod 06:18:53 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 7 06:11 go.sum 06:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 internal 06:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 snap 06:18:53 -rw-rw-r-- 1 jenkins jenkins 236 Apr 7 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:54 + 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=df7c202fb88a1add622e32fe454168ce23d0acd8 --label arch=arm64 --label version=0.0.0 . 06:18:54 Sending build context to Docker daemon 19.72MB 06:18:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:18:55 Step 2/26 : FROM ${BASE} AS builder 06:18:55 ---> cae5e58dc4e1 06:18:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:18:55 ---> Running in e74ec9f8cf47 06:18:55 Removing intermediate container e74ec9f8cf47 06:18:55 ---> 5741fb5d86e6 06:18:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:55 ---> Running in 872aad1f75e5 06:18:56 Removing intermediate container 872aad1f75e5 06:18:56 ---> 79ff302af33a 06:18:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:18:56 ---> Running in df48cde4ea80 06:18:56 Removing intermediate container df48cde4ea80 06:18:56 ---> aced0c19543f 06:18:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:18:56 ---> Running in 69c51a5dcc0d 06:18:56 Removing intermediate container 69c51a5dcc0d 06:18:56 ---> d0fb06a13ce4 06:18:56 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:18:57 ---> Running in c4d44b586a3b 06:18:57 Removing intermediate container c4d44b586a3b 06:18:57 ---> cfa0bb4ce9ca 06:18:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:57 ---> Running in b62abba29472 06:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:19:00 OK: 263 MiB in 53 packages 06:19:01 Removing intermediate container b62abba29472 06:19:01 ---> ca822f1a7420 06:19:01 Step 9/26 : WORKDIR /device-onvif-camera 06:19:01 ---> Running in 3f9487f11dd8 06:19:02 Removing intermediate container 3f9487f11dd8 06:19:02 ---> 07dec58a31b9 06:19:02 Step 10/26 : COPY go.mod vendor* ./ 06:19:02 ---> e370d52c3b1c 06:19:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:02 ---> Running in 4543f72ba3ee 06:19:06 Removing intermediate container 4543f72ba3ee 06:19:06 ---> 65d0d6a3396c 06:19:06 Step 12/26 : COPY . . 06:19:08 ---> 3dcdc2ee6339 06:19:08 Step 13/26 : RUN ${MAKE} 06:19:08 ---> Running in 8c489aa58609 06:19:09 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 06:22:01 Removing intermediate container 8c489aa58609 06:22:01 ---> 5fb760656069 06:22:01 Step 14/26 : FROM alpine:3.17 06:22:01 3.17: Pulling from library/alpine 06:22:02 c41833b44d91: Pulling fs layer 06:22:02 c41833b44d91: Verifying Checksum 06:22:02 c41833b44d91: Download complete 06:22:03 c41833b44d91: Pull complete 06:22:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:22:03 Status: Downloaded newer image for alpine:3.17 06:22:03 ---> 51e60588ff2c 06:22:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:22:03 ---> Running in 92d2902f59bf 06:22:03 Removing intermediate container 92d2902f59bf 06:22:03 ---> 1d097d852cc9 06:22:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:22:04 ---> Running in 525b509a568b 06:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:22:07 (1/1) Installing dumb-init (1.2.5-r2) 06:22:07 Executing busybox-1.35.0-r29.trigger 06:22:07 OK: 8 MiB in 16 packages 06:22:08 Removing intermediate container 525b509a568b 06:22:08 ---> be635c497a24 06:22:08 Step 17/26 : WORKDIR / 06:22:08 ---> Running in 1e4d022b24d0 06:22:08 Removing intermediate container 1e4d022b24d0 06:22:08 ---> f080f50e73f5 06:22:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:22:09 ---> 96993ed0c1c5 06:22:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:22:10 ---> 2892a9eb215a 06:22:10 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:22:10 ---> b2a2552bdaf4 06:22:10 Step 21/26 : EXPOSE 59984 06:22:10 ---> Running in e906aaba9a10 06:22:11 Removing intermediate container e906aaba9a10 06:22:11 ---> 65236c57d41c 06:22:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:22:11 ---> Running in 1f371cc723da 06:22:11 Removing intermediate container 1f371cc723da 06:22:11 ---> 0fdaaa2a7ff0 06:22:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:22:11 ---> Running in 72be037ac153 06:22:11 Removing intermediate container 72be037ac153 06:22:11 ---> abf3d7a98b00 06:22:11 Step 24/26 : LABEL arch=arm64 06:22:11 ---> Running in 11fd3790d2ef 06:22:12 Removing intermediate container 11fd3790d2ef 06:22:12 ---> ac88f19ef242 06:22:12 Step 25/26 : LABEL git_sha=df7c202fb88a1add622e32fe454168ce23d0acd8 06:22:12 ---> Running in a1e0b7469ae0 06:22:12 Removing intermediate container a1e0b7469ae0 06:22:12 ---> 918c8b58da48 06:22:12 Step 26/26 : LABEL version=0.0.0 06:22:12 ---> Running in 77a355cabf2c 06:22:13 Removing intermediate container 77a355cabf2c 06:22:13 ---> 435f9fe2e572 06:22:13 [Warning] One or more build-args [ARCH] were not consumed 06:22:13 Successfully built 435f9fe2e572 06:22:13 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:13 06:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:13 arm64: Pulling from edgex-lftools-log-publisher 06:22:13 8998bd30e6a1: Pulling fs layer 06:22:13 04944245beec: Pulling fs layer 06:22:13 699f458cf7ca: Pulling fs layer 06:22:13 765212b225bb: Pulling fs layer 06:22:13 f23df028b6ca: Pulling fs layer 06:22:13 d65c8cfc05b1: Pulling fs layer 06:22:13 2437ff75d9bd: Pulling fs layer 06:22:13 f23df028b6ca: Waiting 06:22:13 d65c8cfc05b1: Waiting 06:22:14 765212b225bb: Waiting 06:22:14 2437ff75d9bd: Waiting 06:22:14 04944245beec: Verifying Checksum 06:22:14 04944245beec: Download complete 06:22:14 765212b225bb: Verifying Checksum 06:22:14 765212b225bb: Download complete 06:22:14 f23df028b6ca: Verifying Checksum 06:22:14 f23df028b6ca: Download complete 06:22:14 d65c8cfc05b1: Verifying Checksum 06:22:14 d65c8cfc05b1: Download complete 06:22:14 699f458cf7ca: Verifying Checksum 06:22:14 699f458cf7ca: Download complete 06:22:14 8998bd30e6a1: Verifying Checksum 06:22:14 8998bd30e6a1: Download complete 06:22:17 2437ff75d9bd: Verifying Checksum 06:22:17 2437ff75d9bd: Download complete 06:22:19 8998bd30e6a1: Pull complete 06:22:19 04944245beec: Pull complete 06:22:20 699f458cf7ca: Pull complete 06:22:21 765212b225bb: Pull complete 06:22:21 f23df028b6ca: Pull complete 06:22:22 d65c8cfc05b1: Pull complete 06:22:37 2437ff75d9bd: Pull complete 06:22:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:22:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:37 prd-ubuntu20.04-docker-arm64-4c-16g-7092 does not seem to be running inside a container 06:22:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:22:40 $ docker top d33dba6ce5e769ec9fa6ef12b3154ebd9640ff38b81d20ea6f65fdb7f734e8c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:40 ---> job-cost.sh 06:22:40 lf-activate-venv: SKIPPING 06:22:40 INFO: No Stack... 06:22:41 INFO: Retrieving Pricing Info for: v3-standard-4 06:22:42 INFO: Archiving Costs [Pipeline] sh 06:22:42 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 06:22:42 + cut -d, -f6 [Pipeline] lock 06:22:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] 06:22:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] did not exist. Created. 06:22:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:43 /w/workspace/device-onvif-camera/2@tmp/durable-050c2656/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:22:44 + echo total: 0.10999999940395355 [Pipeline] stash 06:22:44 Warning: overwriting stash ‘stack-cost’ 06:22:44 Stashed 1 file(s) [Pipeline] } 06:22:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-299-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:22:44 $ docker stop --time=1 d33dba6ce5e769ec9fa6ef12b3154ebd9640ff38b81d20ea6f65fdb7f734e8c4 06:22:45 $ docker rm -f --volumes d33dba6ce5e769ec9fa6ef12b3154ebd9640ff38b81d20ea6f65fdb7f734e8c4 [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 06:22:46 provisioning config files... 06:22:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config15370760963844083593tmp [Pipeline] { [Pipeline] sh 06:22:46 + set +x 06:22:46 + + curl -s https://codecov.io/bash 06:22:46 bash -s -- 06:22:46 06:22:46 _____ _ 06:22:46 / ____| | | 06:22:46 | | ___ __| | ___ ___ _____ __ 06:22:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:22:46 | |___| (_) | (_| | __/ (_| (_) \ V / 06:22:46 \_____\___/ \__,_|\___|\___\___/ \_/ 06:22:46 Bash-1.0.6 06:22:46 06:22:46 06:22:46 ==> git version 2.25.1 found 06:22:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:22:46 Release-Date: 2020-01-08 06:22:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:22:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:22:46 ==> Jenkins CI detected. 06:22:46 current dir:  /w/workspace/undry_device-onvif-camera_PR-299 06:22:46 project root: . 06:22:46 --> token set from env 06:22:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:22:46 ==> Running gcov in . (disable via -X gcov) 06:22:46 ==> Python coveragepy not found 06:22:46 ==> Searching for coverage reports in: 06:22:46 + . 06:22:46 -> Found 1 reports 06:22:46 ==> Detecting git/mercurial file structure 06:22:46 ==> Reading reports 06:22:46 + ./coverage.out bytes=78485 06:22:46 ==> Appending adjustments 06:22:46 https://docs.codecov.io/docs/fixing-reports 06:22:46 + Found adjustments 06:22:46 ==> Gzipping contents 06:22:46 12K /tmp/codecov.pF1AF4.gz 06:22:46 ==> Uploading reports 06:22:46 url: https://codecov.io 06:22:46 query: branch=PR-299&commit=df7c202fb88a1add622e32fe454168ce23d0acd8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-299%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=299&job=&cmd_args= 06:22:46 -> Pinging Codecov 06:22:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-299&commit=df7c202fb88a1add622e32fe454168ce23d0acd8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-299%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=299&job=&cmd_args= 06:22:47 -> Uploading to 06:22:47 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/F29A59C45E3A92E06B3E522C9905F8EF/df7c202fb88a1add622e32fe454168ce23d0acd8/bf190781-5b4e-4a3d-bda1-caa7fa71dc48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T062246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=343c8a8f5e0fd136d7b84ed64ed3e225195dea76c1cb5771c7e20b75127abb7e 06:22:47 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:47 Dload Upload Total Spent Left Speed 06:22:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10464 0 0 100 10464 0 40875 --:--:-- --:--:-- --:--:-- 40875 06:22:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/df7c202fb88a1add622e32fe454168ce23d0acd8 [Pipeline] } 06:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:22:48 + [ -d /w/workspace/undry_device-onvif-camera_PR-299/archives ] 06:22:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-299/archives 06:22:48 total 16 06:22:48 drwxr-xr-x 3 root root 4096 Apr 7 06:11 . 06:22:48 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:11 .. 06:22:48 drwxr-xr-x 2 root root 4096 Apr 7 06:11 cost 06:22:48 -rw-r--r-- 1 root root 91 Apr 7 06:11 cost.csv 06:22:48 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-299/archives 06:22:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-299/archives 06:22:48 total 16 06:22:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:11 . 06:22:48 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:11 .. 06:22:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 06:11 cost 06:22:48 -rw-r--r-- 1 jenkins jenkins 91 Apr 7 06:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:22:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:22:49 ---> package-listing.sh 06:22:49 ++ tr '[:upper:]' '[:lower:]' 06:22:49 ++ facter osfamily 06:22:49 + OS_FAMILY=debian 06:22:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-299 06:22:49 + START_PACKAGES=/tmp/packages_start.txt 06:22:49 + END_PACKAGES=/tmp/packages_end.txt 06:22:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:22:49 + PACKAGES=/tmp/packages_start.txt 06:22:49 + '[' /w/workspace/undry_device-onvif-camera_PR-299 ']' 06:22:49 + PACKAGES=/tmp/packages_end.txt 06:22:49 + case "${OS_FAMILY}" in 06:22:49 + dpkg -l 06:22:49 + grep '^ii' 06:22:49 + '[' -f /tmp/packages_start.txt ']' 06:22:49 + '[' -f /tmp/packages_end.txt ']' 06:22:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:22:49 + '[' /w/workspace/undry_device-onvif-camera_PR-299 ']' 06:22:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-299/archives/ 06:22:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-299/archives/ [Pipeline] echo 06:22:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-299/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:22:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:50 prd-ubuntu20.04-docker-8c-8g-7088 does not seem to be running inside a container 06:22:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-299/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-299 -v /w/workspace/undry_device-onvif-camera_PR-299:/w/workspace/undry_device-onvif-camera_PR-299:rw,z -v /w/workspace/undry_device-onvif-camera_PR-299@tmp:/w/workspace/undry_device-onvif-camera_PR-299@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:latest cat 06:22:52 $ docker top f340ec58318e40284cc78d8467d8a5ea61e93a9a8da0587ef0ba01fa8efaa24a -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:22:53 + mkdir -p /var/log/sysstat [Pipeline] sh 06:22:53 + ls /var/log/sa-host 06:22:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:53 provisioning config files... 06:22:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-299@tmp/config18306194091357344283tmp [Pipeline] { [Pipeline] echo 06:22:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:22:53 ---> create-netrc.sh [Pipeline] } 06:22:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:22:54 ---> python-tools-install.sh [Pipeline] echo 06:22:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:22:54 ---> sudo-logs.sh 06:22:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:22:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:22:54 ---> job-cost.sh 06:22:54 lf-activate-venv: SKIPPING 06:22:54 DEBUG: total: 0.2199999988079071 06:22:54 INFO: Retrieving Stack Cost... 06:22:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:22:55 INFO: Archiving Costs [Pipeline] echo 06:22:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:22:55 ---> logs-deploy.sh 06:22:55 lf-activate-venv: SKIPPING 06:22:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-299/2 06:22:55 INFO: archiving workspace using pattern(s): 06:22:56 Archives upload complete. 06:22:56 INFO: archiving logs to Nexus