Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 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-ssh1980926948317171365.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15726808385802382650.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3790895636866886202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16261671706221957767.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4952425929840200341.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/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6458 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # 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 Avoid second fetch Checking out Revision 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 (main) Commit message: "Merge pull request #385 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > 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 core.sparsecheckout # timeout=10 > git checkout -f 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 # timeout=10 > git rev-list --no-walk 9825d353c0ae3edd45665d4480ee2bc38ab097aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:52:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:52:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:52:05 ========================================================= 02:52:05 EdgeX Global Pipelines Version Info 02:52:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:52:06 ------------------- 02:52:06 stable info: 02:52:06 ------------------- 02:52:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:52:06 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:52:06 Message: update stable to v1.0.254 02:52:07 ------------------- 02:52:07 experimental info: 02:52:07 ------------------- 02:52:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:52:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:52:07 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 184940f [Pipeline] echo 02:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:07 provisioning config files... 02:52:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15484151114045022055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:08 ---> docker-login.sh 02:52:08 nexus3.edgexfoundry.org:10001 02:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:08 Configure a credential helper to remove this warning. See 02:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:08 02:52:08 Login Succeeded 02:52:08 nexus3.edgexfoundry.org:10002 02:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:08 Configure a credential helper to remove this warning. See 02:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:08 02:52:08 Login Succeeded 02:52:08 nexus3.edgexfoundry.org:10003 02:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:08 Configure a credential helper to remove this warning. See 02:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:08 02:52:08 Login Succeeded 02:52:08 nexus3.edgexfoundry.org:10004 02:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:08 Configure a credential helper to remove this warning. See 02:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:08 02:52:08 Login Succeeded 02:52:08 docker.io 02:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:08 Configure a credential helper to remove this warning. See 02:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:08 02:52:08 Login Succeeded 02:52:08 ---> docker-login.sh ends [Pipeline] } 02:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:52:09 + git rev-list -1 --merges 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49~1..184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] echo 02:52:09 -----------> git rev-list -1 --merges 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49~1..184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 02:52:09 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [false] [Pipeline] sh 02:52:09 + git log --format=format:%s -1 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] echo 02:52:09 ========================================================= 02:52:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:52:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:52:09 + git log --format=format:%s -1 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] echo 02:52:09 [semverPrep] GIT_COMMIT: 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49, Commit Message: Merge pull request #385 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo 02:52:09 [semverPrep] This is not a build commit. [Pipeline] sh 02:52:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:52:10 + grep -v github /etc/ssh/ssh_known_hosts 02:52:10 + [ -e /tmp/ssh_known_hosts ] 02:52:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:52:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:52:10 + sudo tee -a /etc/ssh/ssh_known_hosts 02:52:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:10 02:52:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:11 0.1.4: Pulling from edgex-devops/py-git-semver 02:52:11 b85a868b505f: Pulling fs layer 02:52:11 e2be974225ed: Pulling fs layer 02:52:11 339a4e72a1f5: Pulling fs layer 02:52:11 988bab9f4d93: Pulling fs layer 02:52:11 1469e6f7b9e6: Pulling fs layer 02:52:11 eaf3925da568: Pulling fs layer 02:52:11 bab4dde63d76: Pulling fs layer 02:52:11 bde34c3a00c8: Pulling fs layer 02:52:11 b352a97aabf1: Pulling fs layer 02:52:11 4872d77fe225: Pulling fs layer 02:52:11 5851b861e8e6: Pulling fs layer 02:52:11 1469e6f7b9e6: Waiting 02:52:11 eaf3925da568: Waiting 02:52:11 bab4dde63d76: Waiting 02:52:11 bde34c3a00c8: Waiting 02:52:11 b352a97aabf1: Waiting 02:52:11 4872d77fe225: Waiting 02:52:11 5851b861e8e6: Waiting 02:52:11 988bab9f4d93: Waiting 02:52:11 e2be974225ed: Download complete 02:52:11 988bab9f4d93: Verifying Checksum 02:52:11 988bab9f4d93: Download complete 02:52:11 339a4e72a1f5: Verifying Checksum 02:52:11 339a4e72a1f5: Download complete 02:52:11 1469e6f7b9e6: Verifying Checksum 02:52:11 1469e6f7b9e6: Download complete 02:52:11 eaf3925da568: Verifying Checksum 02:52:11 eaf3925da568: Download complete 02:52:11 bde34c3a00c8: Verifying Checksum 02:52:11 bde34c3a00c8: Download complete 02:52:11 b352a97aabf1: Verifying Checksum 02:52:11 b352a97aabf1: Download complete 02:52:11 4872d77fe225: Verifying Checksum 02:52:11 4872d77fe225: Download complete 02:52:11 5851b861e8e6: Download complete 02:52:11 b85a868b505f: Verifying Checksum 02:52:11 b85a868b505f: Download complete 02:52:11 bab4dde63d76: Verifying Checksum 02:52:11 bab4dde63d76: Download complete 02:52:12 b85a868b505f: Pull complete 02:52:12 e2be974225ed: Pull complete 02:52:13 339a4e72a1f5: Pull complete 02:52:13 988bab9f4d93: Pull complete 02:52:13 1469e6f7b9e6: Pull complete 02:52:13 eaf3925da568: Pull complete 02:52:15 bab4dde63d76: Pull complete 02:52:15 bde34c3a00c8: Pull complete 02:52:15 b352a97aabf1: Pull complete 02:52:15 4872d77fe225: Pull complete 02:52:15 5851b861e8e6: Pull complete 02:52:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:52:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:15 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 02:52:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:52:18 $ docker top cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 -eo pid,comm 02:52:18 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). 02:52:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:18 [ssh-agent] Looking for ssh-agent implementation... 02:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:18 $ docker exec cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 ssh-agent 02:52:18 SSH_AUTH_SOCK=/tmp/ssh-OKu8mdCnLqLT/agent.32 02:52:18 SSH_AGENT_PID=38 02:52:18 Running ssh-add (command line suppressed) 02:52:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16109794314239053407.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16109794314239053407.key) 02:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:19 + git tag --points-at HEAD [Pipeline] } 02:52:19 $ docker exec --env ******** --env ******** cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 ssh-agent -k 02:52:19 unset SSH_AUTH_SOCK; 02:52:19 unset SSH_AGENT_PID; 02:52:19 echo Agent pid 38 killed; 02:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:52:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:52:19 [ssh-agent] Looking for ssh-agent implementation... 02:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:52:19 $ docker exec cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 ssh-agent 02:52:19 SSH_AUTH_SOCK=/tmp/ssh-grr8E3KH464U/agent.70 02:52:19 SSH_AGENT_PID=76 02:52:19 Running ssh-add (command line suppressed) 02:52:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13976090505445300449.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13976090505445300449.key) 02:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:52:19 + git semver init 02:52:20 2023-09-19 02:52:19,986 [run_init] DEBUG init version:0.0.0 force:False 02:52:20 2023-09-19 02:52:19,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 02:52:20 2023-09-19 02:52:19,987 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 02:52:20 2023-09-19 02:52:19,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 02:52:21 2023-09-19 02:52:20,943 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 02:52:21 2023-09-19 02:52:20,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 02:52:21 2023-09-19 02:52:20,944 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:52:21 2023-09-19 02:52:20,944 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:52:21 3.1.0-dev.10 [Pipeline] } 02:52:21 $ docker exec --env ******** --env ******** cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 ssh-agent -k 02:52:21 unset SSH_AUTH_SOCK; 02:52:21 unset SSH_AGENT_PID; 02:52:21 echo Agent pid 76 killed; 02:52:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:52:21 + git semver [Pipeline] } 02:52:21 $ docker stop --time=1 cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 02:52:23 $ docker rm -f --volumes cdd631ab0dded7bc0f9cf94df0fd8492839953a1ef1b5fa3ffb6fb8aef78e227 [Pipeline] // withDockerContainer [Pipeline] sh 02:52:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:52:23 Stashed 1 file(s) [Pipeline] echo 02:52:23 [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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 02:52:23 provisioning config files... 02:52:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11044226178523720569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:24 ---> docker-login.sh 02:52:24 nexus3.edgexfoundry.org:10001 02:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:24 Configure a credential helper to remove this warning. See 02:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:24 02:52:24 Login Succeeded 02:52:24 nexus3.edgexfoundry.org:10002 02:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:24 Configure a credential helper to remove this warning. See 02:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:24 02:52:24 Login Succeeded 02:52:24 nexus3.edgexfoundry.org:10003 02:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:24 Configure a credential helper to remove this warning. See 02:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:24 02:52:24 Login Succeeded 02:52:24 nexus3.edgexfoundry.org:10004 02:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:24 Configure a credential helper to remove this warning. See 02:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:24 02:52:24 Login Succeeded 02:52:24 docker.io 02:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:24 Configure a credential helper to remove this warning. See 02:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:24 02:52:24 Login Succeeded 02:52:24 ---> docker-login.sh ends [Pipeline] } 02:52:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:52:24 ========================================================= 02:52:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:52:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:52:25 Sending build context to Docker daemon 21.68MB 02:52:25 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 02:52:25 Step 2/13 : FROM ${BASE} AS builder 02:52:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:52:25 7264a8db6415: Pulling fs layer 02:52:25 c4d48a809fc2: Pulling fs layer 02:52:25 4f1c88b9dad5: Pulling fs layer 02:52:25 ad3a456e5733: Pulling fs layer 02:52:25 9e4f439ed901: Pulling fs layer 02:52:25 feaf6a47b606: Pulling fs layer 02:52:25 5e8b037d7d82: Pulling fs layer 02:52:25 8ac70367396e: Pulling fs layer 02:52:25 6db16350a2e2: Pulling fs layer 02:52:25 9250d5d63582: Pulling fs layer 02:52:25 feaf6a47b606: Waiting 02:52:25 5e8b037d7d82: Waiting 02:52:25 6db16350a2e2: Waiting 02:52:25 8ac70367396e: Waiting 02:52:25 9250d5d63582: Waiting 02:52:25 ad3a456e5733: Waiting 02:52:25 9e4f439ed901: Waiting 02:52:25 c4d48a809fc2: Download complete 02:52:25 ad3a456e5733: Verifying Checksum 02:52:25 ad3a456e5733: Download complete 02:52:25 9e4f439ed901: Download complete 02:52:25 7264a8db6415: Verifying Checksum 02:52:25 7264a8db6415: Download complete 02:52:25 feaf6a47b606: Verifying Checksum 02:52:25 feaf6a47b606: Download complete 02:52:25 7264a8db6415: Pull complete 02:52:25 8ac70367396e: Verifying Checksum 02:52:25 8ac70367396e: Download complete 02:52:25 c4d48a809fc2: Pull complete 02:52:25 4f1c88b9dad5: Download complete 02:52:25 6db16350a2e2: Verifying Checksum 02:52:25 6db16350a2e2: Download complete 02:52:26 5e8b037d7d82: Verifying Checksum 02:52:26 5e8b037d7d82: Download complete 02:52:26 9250d5d63582: Verifying Checksum 02:52:26 9250d5d63582: Download complete 02:52:28 4f1c88b9dad5: Pull complete 02:52:28 ad3a456e5733: Pull complete 02:52:28 9e4f439ed901: Pull complete 02:52:28 feaf6a47b606: Pull complete 02:52:30 5e8b037d7d82: Pull complete 02:52:31 8ac70367396e: Pull complete 02:52:31 6db16350a2e2: Pull complete 02:52:31 9250d5d63582: Pull complete 02:52:31 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 02:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:52:31 ---> fa269f55d9b9 02:52:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:52:36 ---> Running in c1cc94d1e6be 02:52:36 Removing intermediate container c1cc94d1e6be 02:52:36 ---> 90ca219edb15 02:52:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:52:36 ---> Running in f9cd1b80bbe3 02:52:36 Removing intermediate container f9cd1b80bbe3 02:52:36 ---> b3a3acbb52d7 02:52:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:52:36 ---> Running in 669389b7e5ba 02:52:36 Removing intermediate container 669389b7e5ba 02:52:36 ---> 1e42497ce861 02:52:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:52:36 ---> Running in 275bede379a7 02:52:36 Removing intermediate container 275bede379a7 02:52:36 ---> e3a9344f75ca 02:52:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:52:36 ---> Running in cd6f5ddd24a0 02:52:36 Removing intermediate container cd6f5ddd24a0 02:52:36 ---> d60ced91c15d 02:52:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:36 ---> Running in a8d4a791b26a 02:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:52:37 OK: 265 MiB in 56 packages 02:52:37 Removing intermediate container a8d4a791b26a 02:52:37 ---> 5beb12df510b 02:52:37 Step 9/13 : WORKDIR /device-onvif-camera 02:52:37 ---> Running in d57c6e5a41a2 02:52:37 Removing intermediate container d57c6e5a41a2 02:52:37 ---> dbc1aeafa4e4 02:52:37 Step 10/13 : COPY go.mod vendor* ./ 02:52:37 ---> d362f1eea09a 02:52:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:52:37 ---> Running in 8362cb1adcc0 02:52:38 Still waiting to schedule task 02:52:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:53:04 Removing intermediate container 8362cb1adcc0 02:53:04 ---> 8502298b3646 02:53:04 Step 12/13 : COPY . . 02:53:04 ---> 86a4bf93fe5f 02:53:04 Step 13/13 : RUN ${MAKE} 02:53:04 ---> Running in 2bb7c33378df 02:53:04 noop 02:53:04 Removing intermediate container 2bb7c33378df 02:53:04 ---> 8e852436c612 02:53:04 Successfully built 8e852436c612 02:53:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:04 + docker inspect -f . ci-base-image-x86_64 02:53:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:04 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 02:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 02:53:04 $ docker top e87d9a750f71ac6f8f263e74b3543ce48731f9901a3cb867df21e96552ac6689 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:05 + go version 02:53:05 go version go1.21.0 linux/amd64 [Pipeline] } 02:53:05 $ docker stop --time=1 e87d9a750f71ac6f8f263e74b3543ce48731f9901a3cb867df21e96552ac6689 02:53:06 $ docker rm -f --volumes e87d9a750f71ac6f8f263e74b3543ce48731f9901a3cb867df21e96552ac6689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:06 + docker inspect -f . ci-base-image-x86_64 02:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:06 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 02:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 02:53:07 $ docker top 020567baa6e50412d3a8edabac28311024f93f2d4782c42e03970e6ffffafcf1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:07 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 02:53:07 + make test 02:53:07 go test ./... -coverprofile=coverage.out ./... 02:53:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:53:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:53:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:53:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.5% of statements 02:53:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.122s coverage: 86.5% of statements 02:53:27 go vet ./... 02:53:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:31 ./bin/test-attribution-txt.sh [Pipeline] echo 02:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:53:31 $ docker stop --time=1 020567baa6e50412d3a8edabac28311024f93f2d4782c42e03970e6ffffafcf1 02:53:33 $ docker rm -f --volumes 020567baa6e50412d3a8edabac28311024f93f2d4782c42e03970e6ffffafcf1 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:34 + ls -al . 02:53:34 total 244 02:53:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:53 . 02:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 .. 02:53:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:53 .git 02:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:52 .github 02:53:34 -rw-rw-r-- 1 jenkins jenkins 496 Sep 19 02:52 .gitignore 02:53:34 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 02:52 .golangci.yml 02:53:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:52 .semver 02:53:34 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 19 02:52 Attribution.txt 02:53:34 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 19 02:52 CHANGELOG.md 02:53:34 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 19 02:52 Dockerfile 02:53:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:52 GOVERNANCE.md 02:53:34 -rw-rw-r-- 1 jenkins jenkins 739 Sep 19 02:52 Jenkinsfile 02:53:34 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 02:52 LICENSE 02:53:34 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 19 02:52 Makefile 02:53:34 -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 02:52 OWNERS.md 02:53:34 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 19 02:52 README.md 02:53:34 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:52 VERSION 02:53:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:52 bin 02:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:52 cmd 02:53:34 -rw-r--r-- 1 jenkins jenkins 78456 Sep 19 02:53 coverage.out 02:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 doc 02:53:34 -rw-rw-r-- 1 jenkins jenkins 4086 Sep 19 02:52 go.mod 02:53:34 -rw-rw-r-- 1 jenkins jenkins 37524 Sep 19 02:52 go.sum 02:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 internal 02:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:52 snap 02:53:34 -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:35 + 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=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 --label arch=amd64 --label version=3.1.0-dev.10 . 02:53:35 Sending build context to Docker daemon 21.76MB 02:53:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:53:35 Step 2/26 : FROM ${BASE} AS builder 02:53:35 ---> 8e852436c612 02:53:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:53:35 ---> Running in 1503cc8a90bf 02:53:35 Removing intermediate container 1503cc8a90bf 02:53:35 ---> 2c765707572c 02:53:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:35 ---> Running in bd55e1cfb74e 02:53:35 Removing intermediate container bd55e1cfb74e 02:53:35 ---> 847f986af2d2 02:53:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:53:35 ---> Running in 2285fe1ab307 02:53:35 Removing intermediate container 2285fe1ab307 02:53:35 ---> f353701512ba 02:53:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:53:35 ---> Running in c337728cefe4 02:53:35 Removing intermediate container c337728cefe4 02:53:35 ---> 9f5b21e5681b 02:53:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:53:35 ---> Running in 19d6ba98f8a0 02:53:35 Removing intermediate container 19d6ba98f8a0 02:53:35 ---> 5b79433628c6 02:53:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:36 ---> Running in 2899c202044b 02:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:36 OK: 265 MiB in 56 packages 02:53:37 Removing intermediate container 2899c202044b 02:53:37 ---> 09bb2c1e6e7f 02:53:37 Step 9/26 : WORKDIR /device-onvif-camera 02:53:37 ---> Running in 06920f84ac98 02:53:37 Removing intermediate container 06920f84ac98 02:53:37 ---> 09e09cea07c5 02:53:37 Step 10/26 : COPY go.mod vendor* ./ 02:53:37 ---> 534b1dc22cd2 02:53:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:37 ---> Running in d0aed5ea71c5 02:53:38 Removing intermediate container d0aed5ea71c5 02:53:38 ---> dfe635bce752 02:53:38 Step 12/26 : COPY . . 02:53:38 ---> fd9f2f9bc041 02:53:38 Step 13/26 : RUN ${MAKE} 02:53:38 ---> Running in a2d4b88234e1 02:53:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 02:53:57 Removing intermediate container a2d4b88234e1 02:53:57 ---> fde67d913294 02:53:57 Step 14/26 : FROM alpine:3.18 02:53:57 3.18: Pulling from library/alpine 02:53:57 7264a8db6415: Already exists 02:53:57 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:53:57 Status: Downloaded newer image for alpine:3.18 02:53:57 ---> 7e01a0d0a1dc 02:53:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 02:53:57 ---> Running in 27abba4b3fb8 02:53:57 Removing intermediate container 27abba4b3fb8 02:53:57 ---> 841062339e2b 02:53:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:53:57 ---> Running in 2916f899b2b8 02:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:53:57 (1/1) Installing dumb-init (1.2.5-r2) 02:53:57 Executing busybox-1.36.1-r2.trigger 02:53:57 OK: 7 MiB in 16 packages 02:53:58 Removing intermediate container 2916f899b2b8 02:53:58 ---> 6e239977e0e9 02:53:58 Step 17/26 : WORKDIR / 02:53:58 ---> Running in d6b89656d228 02:53:58 Removing intermediate container d6b89656d228 02:53:58 ---> 4b1131b5d207 02:53:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:53:58 ---> f98bd07a5ef5 02:53:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:53:58 ---> 4c45b083d6df 02:53:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:53:58 ---> 806a89fc5135 02:53:58 Step 21/26 : EXPOSE 59984 02:53:58 ---> Running in dc2dc34db693 02:53:59 Removing intermediate container dc2dc34db693 02:53:59 ---> d1f31edf97a3 02:53:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:53:59 ---> Running in aa119f064103 02:53:59 Removing intermediate container aa119f064103 02:53:59 ---> 451991e95411 02:53:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:53:59 ---> Running in 19404a72a320 02:53:59 Removing intermediate container 19404a72a320 02:53:59 ---> 7b227d912919 02:53:59 Step 24/26 : LABEL arch=amd64 02:53:59 ---> Running in dfd49ab82ddc 02:53:59 Removing intermediate container dfd49ab82ddc 02:53:59 ---> 30337247b75d 02:53:59 Step 25/26 : LABEL git_sha=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 02:53:59 ---> Running in f2aeb8c77a7e 02:53:59 Removing intermediate container f2aeb8c77a7e 02:53:59 ---> c97741cf570f 02:53:59 Step 26/26 : LABEL version=3.1.0-dev.10 02:53:59 ---> Running in f8723fece26e 02:53:59 Removing intermediate container f8723fece26e 02:53:59 ---> 148a48a58600 02:53:59 [Warning] One or more build-args [ARCH] were not consumed 02:53:59 Successfully built 148a48a58600 02:53:59 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:59 provisioning config files... 02:53:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9921306607110047597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:59 ---> docker-login.sh 02:53:59 nexus3.edgexfoundry.org:10001 02:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:59 Configure a credential helper to remove this warning. See 02:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:59 02:53:59 Login Succeeded 02:53:59 nexus3.edgexfoundry.org:10002 02:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:59 Configure a credential helper to remove this warning. See 02:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:59 02:53:59 Login Succeeded 02:53:59 nexus3.edgexfoundry.org:10003 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 nexus3.edgexfoundry.org:10004 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 docker.io 02:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:00 Configure a credential helper to remove this warning. See 02:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:00 02:54:00 Login Succeeded 02:54:00 ---> docker-login.sh ends [Pipeline] } 02:54:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:00 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 02:54:00 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 02:54:00 latest 02:54:00 3.1.0-dev.10 02:54:00 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 02:54:00 main 02:54:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 02:54:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:54:01 1a439d922870: Preparing 02:54:01 4124308f62ec: Preparing 02:54:01 57fff525c444: Preparing 02:54:01 9fc60806bb6b: Preparing 02:54:01 4693057ce236: Preparing 02:54:01 4693057ce236: Layer already exists 02:54:01 9fc60806bb6b: Pushed 02:54:01 1a439d922870: Pushed 02:54:01 4124308f62ec: Pushed 02:54:03 57fff525c444: Pushed 02:54:04 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49: digest: sha256:6c9c6a0bd47792bd42eacf3f04e9cd4bc8086b2ccfdfabd22be674452be7f020 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:54:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:54:04 1a439d922870: Preparing 02:54:04 4124308f62ec: Preparing 02:54:04 57fff525c444: Preparing 02:54:04 9fc60806bb6b: Preparing 02:54:04 4693057ce236: Preparing 02:54:04 4693057ce236: Layer already exists 02:54:04 4124308f62ec: Layer already exists 02:54:04 1a439d922870: Layer already exists 02:54:04 9fc60806bb6b: Layer already exists 02:54:04 57fff525c444: Layer already exists 02:54:04 latest: digest: sha256:6c9c6a0bd47792bd42eacf3f04e9cd4bc8086b2ccfdfabd22be674452be7f020 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.10 02:54:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:54:05 1a439d922870: Preparing 02:54:05 4124308f62ec: Preparing 02:54:05 57fff525c444: Preparing 02:54:05 9fc60806bb6b: Preparing 02:54:05 4693057ce236: Preparing 02:54:05 57fff525c444: Layer already exists 02:54:05 4124308f62ec: Layer already exists 02:54:05 4693057ce236: Layer already exists 02:54:05 9fc60806bb6b: Layer already exists 02:54:05 1a439d922870: Layer already exists 02:54:05 3.1.0-dev.10: digest: sha256:6c9c6a0bd47792bd42eacf3f04e9cd4bc8086b2ccfdfabd22be674452be7f020 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 02:54:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:54:06 1a439d922870: Preparing 02:54:06 4124308f62ec: Preparing 02:54:06 57fff525c444: Preparing 02:54:06 9fc60806bb6b: Preparing 02:54:06 4693057ce236: Preparing 02:54:06 57fff525c444: Layer already exists 02:54:06 4124308f62ec: Layer already exists 02:54:06 9fc60806bb6b: Layer already exists 02:54:06 1a439d922870: Layer already exists 02:54:06 4693057ce236: Layer already exists 02:54:06 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10: digest: sha256:6c9c6a0bd47792bd42eacf3f04e9cd4bc8086b2ccfdfabd22be674452be7f020 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 02:54:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:54:06 1a439d922870: Preparing 02:54:06 4124308f62ec: Preparing 02:54:06 57fff525c444: Preparing 02:54:06 9fc60806bb6b: Preparing 02:54:06 4693057ce236: Preparing 02:54:06 57fff525c444: Layer already exists 02:54:06 9fc60806bb6b: Layer already exists 02:54:06 4124308f62ec: Layer already exists 02:54:06 1a439d922870: Layer already exists 02:54:06 4693057ce236: Layer already exists 02:54:06 main: digest: sha256:6c9c6a0bd47792bd42eacf3f04e9cd4bc8086b2ccfdfabd22be674452be7f020 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:54:06 ===================================================== [Pipeline] echo 02:54:06 taggedImages: 02:54:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 02:54:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:54:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.10 02:54:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 02:54:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 02:54:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:07 02:54:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6460 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 02:54:07 Running in /w/workspace/device-onvif-camera/167 [Pipeline] { [Pipeline] checkout 02:54:07 The recommended git tool is: git 02:54:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:07 latest: Pulling from edgex-lftools-log-publisher 02:54:07 5eb5b503b376: Pulling fs layer 02:54:07 5c69ac0246d0: Pulling fs layer 02:54:07 ec43610c2a17: Pulling fs layer 02:54:07 3a2ae6a8a46f: Pulling fs layer 02:54:07 33b1e0a273af: Pulling fs layer 02:54:07 5d3b04190fa2: Pulling fs layer 02:54:07 3a2ae6a8a46f: Waiting 02:54:07 5d3b04190fa2: Waiting 02:54:07 33b1e0a273af: Waiting 02:54:07 2f39f015ded8: Pulling fs layer 02:54:07 2f39f015ded8: Waiting 02:54:07 5c69ac0246d0: Download complete 02:54:07 3a2ae6a8a46f: Download complete 02:54:07 33b1e0a273af: Verifying Checksum 02:54:07 33b1e0a273af: Download complete 02:54:07 5d3b04190fa2: Verifying Checksum 02:54:07 5d3b04190fa2: Download complete 02:54:07 ec43610c2a17: Verifying Checksum 02:54:07 ec43610c2a17: Download complete 02:54:07 5eb5b503b376: Verifying Checksum 02:54:07 5eb5b503b376: Download complete 02:54:08 2f39f015ded8: Verifying Checksum 02:54:08 2f39f015ded8: Download complete 02:54:08 5eb5b503b376: Pull complete 02:54:08 5c69ac0246d0: Pull complete 02:54:09 ec43610c2a17: Pull complete 02:54:09 3a2ae6a8a46f: Pull complete 02:54:09 33b1e0a273af: Pull complete 02:54:09 5d3b04190fa2: Pull complete 02:54:12 using credential edgex-jenkins-ssh 02:54:12 Cloning the remote Git repository 02:54:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:54:12 > git init /w/workspace/device-onvif-camera/167 # timeout=10 02:54:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:54:12 > git --version # timeout=10 02:54:12 > git --version # 'git version 2.25.1' 02:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:54:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:13 2f39f015ded8: Pull complete 02:54:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:54:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:54:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:13 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 02:54:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:54:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:54:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:15 Avoid second fetch 02:54:15 Checking out Revision 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 (main) 02:54:15 Commit message: "Merge pull request #385 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" 02:54:15 > git config core.sparsecheckout # timeout=10 02:54:15 > git checkout -f 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 # timeout=10 02:54:16 02:54:16 GitHub has been notified of this commit’s build result 02:54:16 02:54:17 $ docker top fcfbf8ccc7da4743e5fb7f700ac465336bfb27213c8dc0c5fefa2630d76a10d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:17 ---> job-cost.sh 02:54:17 lf-activate-venv: SKIPPING 02:54:17 INFO: No Stack... 02:54:17 INFO: Retrieving Pricing Info for: v3-standard-8 02:54:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:54:17 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:17 Dload Upload Total Spent Left Speed 02:54:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 02:54:18 INFO: Archiving Costs [Pipeline] sh 02:54:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:54:18 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 02:54:18 + cut -d, -f6 [Pipeline] lock 02:54:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] 02:54:18 Resource [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] did not exist. Created. 02:54:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:54:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:54:18 + sudo tee /etc/docker/daemon.new 02:54:18 { 02:54:18 "registry-mirrors": [ 02:54:18 "https://nexus3.edgexfoundry.org:10001" 02:54:18 ], 02:54:18 "bip": "10.250.0.254/24", 02:54:18 "hosts": [ 02:54:18 "tcp://0.0.0.0:5555", 02:54:18 "unix:///var/run/docker.sock" 02:54:18 ], 02:54:18 "mtu": 1458, 02:54:18 "selinux-enabled": true, 02:54:18 "seccomp-profile": "/etc/docker/seccomp.json" 02:54:18 } [Pipeline] sh 02:54:18 + echo total: 0.2199999988079071 [Pipeline] stash 02:54:18 Stashed 1 file(s) [Pipeline] } 02:54:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 02:54:19 $ docker stop --time=1 fcfbf8ccc7da4743e5fb7f700ac465336bfb27213c8dc0c5fefa2630d76a10d7 02:54:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 02:54:20 $ docker rm -f --volumes fcfbf8ccc7da4743e5fb7f700ac465336bfb27213c8dc0c5fefa2630d76a10d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:38 provisioning config files... 02:54:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/167@tmp/config7372020816472084459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:39 ---> docker-login.sh 02:54:39 nexus3.edgexfoundry.org:10001 02:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:39 Configure a credential helper to remove this warning. See 02:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:39 02:54:39 Login Succeeded 02:54:39 nexus3.edgexfoundry.org:10002 02:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:40 Configure a credential helper to remove this warning. See 02:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:40 02:54:40 Login Succeeded 02:54:40 nexus3.edgexfoundry.org:10003 02:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:40 Configure a credential helper to remove this warning. See 02:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:40 02:54:43 Login Succeeded 02:54:43 nexus3.edgexfoundry.org:10004 02:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:43 Configure a credential helper to remove this warning. See 02:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:43 02:54:43 Login Succeeded 02:54:43 docker.io 02:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:43 Configure a credential helper to remove this warning. See 02:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:43 02:54:43 Login Succeeded 02:54:43 ---> docker-login.sh ends [Pipeline] } 02:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:43 ========================================================= 02:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:54:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:54:44 Sending build context to Docker daemon 14.21MB 02:54:44 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 02:54:44 Step 2/13 : FROM ${BASE} AS builder 02:54:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:54:44 9fda8d8052c6: Pulling fs layer 02:54:44 5d54e960e981: Pulling fs layer 02:54:44 c4a7e357bf2a: Pulling fs layer 02:54:44 f0e02332f6b5: Pulling fs layer 02:54:44 66412af1f25a: Pulling fs layer 02:54:44 1baf3a5c0e64: Pulling fs layer 02:54:44 9a37bb91b891: Pulling fs layer 02:54:44 a29adfc67d43: Pulling fs layer 02:54:44 d5de9f91c1a4: Pulling fs layer 02:54:44 f0e02332f6b5: Waiting 02:54:44 66412af1f25a: Waiting 02:54:44 1baf3a5c0e64: Waiting 02:54:44 a29adfc67d43: Waiting 02:54:44 9a37bb91b891: Waiting 02:54:44 5d54e960e981: Download complete 02:54:45 f0e02332f6b5: Verifying Checksum 02:54:45 f0e02332f6b5: Download complete 02:54:45 66412af1f25a: Verifying Checksum 02:54:45 66412af1f25a: Download complete 02:54:45 9fda8d8052c6: Verifying Checksum 02:54:45 9fda8d8052c6: Download complete 02:54:45 9a37bb91b891: Verifying Checksum 02:54:45 9a37bb91b891: Download complete 02:54:46 a29adfc67d43: Verifying Checksum 02:54:46 a29adfc67d43: Download complete 02:54:46 9fda8d8052c6: Pull complete 02:54:47 5d54e960e981: Pull complete 02:54:47 d5de9f91c1a4: Verifying Checksum 02:54:47 d5de9f91c1a4: Download complete 02:54:47 c4a7e357bf2a: Verifying Checksum 02:54:47 c4a7e357bf2a: Download complete 02:54:47 1baf3a5c0e64: Verifying Checksum 02:54:47 1baf3a5c0e64: Download complete 02:54:58 c4a7e357bf2a: Pull complete 02:54:58 f0e02332f6b5: Pull complete 02:54:58 66412af1f25a: Pull complete 02:55:04 1baf3a5c0e64: Pull complete 02:55:09 9a37bb91b891: Pull complete 02:55:10 a29adfc67d43: Pull complete 02:55:12 d5de9f91c1a4: Pull complete 02:55:12 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 02:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:55:12 ---> 746ca1b523b5 02:55:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:55:14 ---> Running in 319a14fb4e7a 02:55:14 Removing intermediate container 319a14fb4e7a 02:55:14 ---> ee7a73b81ce2 02:55:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:14 ---> Running in 5f6a6ad78625 02:55:14 Removing intermediate container 5f6a6ad78625 02:55:14 ---> 2df6cc8e1fc7 02:55:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:55:14 ---> Running in f1e357648226 02:55:14 Removing intermediate container f1e357648226 02:55:14 ---> 6c1c9410535b 02:55:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:55:14 ---> Running in 2448f76549fd 02:55:15 Removing intermediate container 2448f76549fd 02:55:15 ---> 111af2838f4c 02:55:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:55:15 ---> Running in bd3da0dda61e 02:55:15 Removing intermediate container bd3da0dda61e 02:55:15 ---> 97ee9290aa1b 02:55:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:15 ---> Running in f76a10cbd065 02:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:55:17 OK: 267 MiB in 56 packages 02:55:18 Removing intermediate container f76a10cbd065 02:55:18 ---> a9d2cf2e6933 02:55:18 Step 9/13 : WORKDIR /device-onvif-camera 02:55:18 ---> Running in 31b11b5b2c56 02:55:19 Removing intermediate container 31b11b5b2c56 02:55:19 ---> 0de7043b9300 02:55:19 Step 10/13 : COPY go.mod vendor* ./ 02:55:22 ---> 2a0b3487b9ca 02:55:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:22 ---> Running in f23a664db4ce 02:56:30 Removing intermediate container f23a664db4ce 02:56:30 ---> b4f34329f437 02:56:30 Step 12/13 : COPY . . 02:56:30 ---> d10828c71300 02:56:30 Step 13/13 : RUN ${MAKE} 02:56:30 ---> Running in 1fe1f7d1f73d 02:56:30 noop 02:56:30 Removing intermediate container 1fe1f7d1f73d 02:56:30 ---> 490b06888f1b 02:56:30 Successfully built 490b06888f1b 02:56:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:30 + docker inspect -f . ci-base-image-arm64 02:56:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:30 prd-ubuntu20.04-docker-arm64-4c-16g-6460 does not seem to be running inside a container 02:56:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/167 -v /w/workspace/device-onvif-camera/167:/w/workspace/device-onvif-camera/167:rw,z -v /w/workspace/device-onvif-camera/167@tmp:/w/workspace/device-onvif-camera/167@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 ******** ci-base-image-arm64 cat 02:56:32 $ docker top 3f0a24df8b1e24c134fb715b8e9638a34fc9e034d11e0f097ef9976cfa33c581 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:32 + go version 02:56:32 go version go1.21.0 linux/arm64 [Pipeline] } 02:56:32 $ docker stop --time=1 3f0a24df8b1e24c134fb715b8e9638a34fc9e034d11e0f097ef9976cfa33c581 02:56:34 $ docker rm -f --volumes 3f0a24df8b1e24c134fb715b8e9638a34fc9e034d11e0f097ef9976cfa33c581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:35 + docker inspect -f . ci-base-image-arm64 02:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:35 prd-ubuntu20.04-docker-arm64-4c-16g-6460 does not seem to be running inside a container 02:56:35 $ 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/167 -v /w/workspace/device-onvif-camera/167:/w/workspace/device-onvif-camera/167:rw,z -v /w/workspace/device-onvif-camera/167@tmp:/w/workspace/device-onvif-camera/167@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 ******** ci-base-image-arm64 cat 02:56:36 $ docker top f8ec30013ca6a081528f5cbc828a74ba487dd3f7ea07aacea2edb69b3cc85508 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/167 [Pipeline] fileExists [Pipeline] sh 02:56:37 + make test 02:56:37 go test ./... -coverprofile=coverage.out ./... 02:56:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:58:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:58:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:58:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 31.5% of statements 02:58:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.116s coverage: 86.5% of statements 02:58:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:48 go vet ./... 02:59:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:20 ./bin/test-attribution-txt.sh [Pipeline] echo 02:59:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:59:20 $ docker stop --time=1 f8ec30013ca6a081528f5cbc828a74ba487dd3f7ea07aacea2edb69b3cc85508 02:59:22 $ docker rm -f --volumes f8ec30013ca6a081528f5cbc828a74ba487dd3f7ea07aacea2edb69b3cc85508 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:24 Warning: overwriting stash ‘coverage-report’ 02:59:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:25 + ls -al . 02:59:25 total 240 02:59:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:56 . 02:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:54 .. 02:59:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:54 .git 02:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:54 .github 02:59:25 -rw-rw-r-- 1 jenkins jenkins 496 Sep 19 02:54 .gitignore 02:59:25 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 02:54 .golangci.yml 02:59:25 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 19 02:54 Attribution.txt 02:59:25 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 19 02:54 CHANGELOG.md 02:59:25 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 19 02:54 Dockerfile 02:59:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:54 GOVERNANCE.md 02:59:25 -rw-rw-r-- 1 jenkins jenkins 739 Sep 19 02:54 Jenkinsfile 02:59:25 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 02:54 LICENSE 02:59:25 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 19 02:54 Makefile 02:59:25 -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 02:54 OWNERS.md 02:59:25 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 19 02:54 README.md 02:59:25 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:52 VERSION 02:59:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:54 bin 02:59:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:54 cmd 02:59:25 -rw-r--r-- 1 jenkins jenkins 78456 Sep 19 02:58 coverage.out 02:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:54 doc 02:59:25 -rw-rw-r-- 1 jenkins jenkins 4086 Sep 19 02:54 go.mod 02:59:25 -rw-rw-r-- 1 jenkins jenkins 37524 Sep 19 02:54 go.sum 02:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:54 internal 02:59:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:54 snap 02:59:25 -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:25 + 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=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 --label arch=arm64 --label version=3.1.0-dev.10 . 02:59:27 Sending build context to Docker daemon 14.29MB 02:59:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:59:27 Step 2/26 : FROM ${BASE} AS builder 02:59:27 ---> 490b06888f1b 02:59:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:59:27 ---> Running in 4e7ef535b0a7 02:59:27 Removing intermediate container 4e7ef535b0a7 02:59:27 ---> f4ae2b14661d 02:59:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:27 ---> Running in d4b2d2a1fff7 02:59:28 Removing intermediate container d4b2d2a1fff7 02:59:28 ---> f88f82a86da0 02:59:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:59:28 ---> Running in f82db32850da 02:59:29 Removing intermediate container f82db32850da 02:59:29 ---> d7e5111ff34c 02:59:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:59:29 ---> Running in fe3b4e68cdf0 02:59:29 Removing intermediate container fe3b4e68cdf0 02:59:29 ---> cfb34a394282 02:59:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:59:29 ---> Running in 50b853a1fb8e 02:59:30 Removing intermediate container 50b853a1fb8e 02:59:30 ---> 692d92c30c4c 02:59:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:30 ---> Running in b55dc685fc2f 02:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:59:33 OK: 267 MiB in 56 packages 02:59:34 Removing intermediate container b55dc685fc2f 02:59:34 ---> 9cbf6def5ad6 02:59:34 Step 9/26 : WORKDIR /device-onvif-camera 02:59:34 ---> Running in b5ed709e24bb 02:59:36 Removing intermediate container b5ed709e24bb 02:59:36 ---> 9f86fc6833de 02:59:36 Step 10/26 : COPY go.mod vendor* ./ 02:59:36 ---> 5bd99eb56f60 02:59:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:38 ---> Running in b167ff57996c 02:59:41 Removing intermediate container b167ff57996c 02:59:41 ---> 47bc15741d58 02:59:41 Step 12/26 : COPY . . 02:59:42 ---> d2bd0ffe583a 02:59:42 Step 13/26 : RUN ${MAKE} 02:59:42 ---> Running in cdea357a31d2 02:59:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:01:49 Removing intermediate container cdea357a31d2 03:01:49 ---> 48ae102495d2 03:01:49 Step 14/26 : FROM alpine:3.18 03:01:49 3.18: Pulling from library/alpine 03:01:49 9fda8d8052c6: Already exists 03:01:49 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:01:49 Status: Downloaded newer image for alpine:3.18 03:01:49 ---> f6648c04cd6c 03:01:49 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:01:49 ---> Running in 1d0b12b4e0c6 03:01:49 Removing intermediate container 1d0b12b4e0c6 03:01:49 ---> ac9d00d1b146 03:01:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:01:49 ---> Running in de73ee29caaa 03:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:01:49 (1/1) Installing dumb-init (1.2.5-r2) 03:01:49 Executing busybox-1.36.1-r2.trigger 03:01:49 OK: 8 MiB in 16 packages 03:01:49 Removing intermediate container de73ee29caaa 03:01:49 ---> 76efe795d109 03:01:49 Step 17/26 : WORKDIR / 03:01:49 ---> Running in df9ccad6ce04 03:01:49 Removing intermediate container df9ccad6ce04 03:01:49 ---> 40c7d3be3745 03:01:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:01:49 ---> 6cb3e2831292 03:01:49 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:01:49 ---> d13cee01507a 03:01:49 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:01:49 ---> 91ac3c459b3c 03:01:49 Step 21/26 : EXPOSE 59984 03:01:49 ---> Running in 7f1078d50e46 03:01:49 Removing intermediate container 7f1078d50e46 03:01:49 ---> d2912b38063b 03:01:49 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:01:49 ---> Running in 3e1ed0914f95 03:01:49 Removing intermediate container 3e1ed0914f95 03:01:49 ---> 2070d7e7196e 03:01:49 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:01:49 ---> Running in c7d12c264ff5 03:01:49 Removing intermediate container c7d12c264ff5 03:01:49 ---> b5fc0a97f1f7 03:01:49 Step 24/26 : LABEL arch=arm64 03:01:49 ---> Running in 93022a5d080f 03:01:49 Removing intermediate container 93022a5d080f 03:01:49 ---> 1fb46ebdf2ef 03:01:49 Step 25/26 : LABEL git_sha=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 03:01:49 ---> Running in 7ab1245bf167 03:01:49 Removing intermediate container 7ab1245bf167 03:01:49 ---> b6a58738247b 03:01:49 Step 26/26 : LABEL version=3.1.0-dev.10 03:01:49 ---> Running in 741137c9a286 03:01:49 Removing intermediate container 741137c9a286 03:01:49 ---> 551a65eff77c 03:01:49 [Warning] One or more build-args [ARCH] were not consumed 03:01:49 Successfully built 551a65eff77c 03:01:49 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:01:49 provisioning config files... 03:01:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/167@tmp/config11784612727320574640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:50 ---> docker-login.sh 03:01:50 nexus3.edgexfoundry.org:10001 03:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:50 Configure a credential helper to remove this warning. See 03:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:50 03:01:50 Login Succeeded 03:01:50 nexus3.edgexfoundry.org:10002 03:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:50 Configure a credential helper to remove this warning. See 03:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:50 03:01:50 Login Succeeded 03:01:50 nexus3.edgexfoundry.org:10003 03:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:51 Configure a credential helper to remove this warning. See 03:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:51 03:01:51 Login Succeeded 03:01:51 nexus3.edgexfoundry.org:10004 03:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:51 Configure a credential helper to remove this warning. See 03:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:51 03:01:51 Login Succeeded 03:01:51 docker.io 03:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:52 Configure a credential helper to remove this warning. See 03:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:52 03:01:52 Login Succeeded 03:01:52 ---> docker-login.sh ends [Pipeline] } 03:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:52 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 03:01:52 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 03:01:52 latest 03:01:52 3.1.0-dev.10 03:01:52 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 03:01:52 main 03:01:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 03:01:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:01:52 b29e3f97fdf3: Preparing 03:01:52 4312bb03bb6d: Preparing 03:01:52 ecaeebe475da: Preparing 03:01:52 4c0cce32f095: Preparing 03:01:52 b2191e2be29d: Preparing 03:01:52 b2191e2be29d: Layer already exists 03:03:29 4c0cce32f095: Retrying in 5 seconds 03:03:29 b29e3f97fdf3: Retrying in 5 seconds 03:03:29 4312bb03bb6d: Retrying in 5 seconds 03:03:29 ecaeebe475da: Retrying in 5 seconds 03:03:29 4c0cce32f095: Retrying in 4 seconds 03:03:29 b29e3f97fdf3: Retrying in 4 seconds 03:03:29 ecaeebe475da: Retrying in 4 seconds 03:03:29 4312bb03bb6d: Retrying in 4 seconds 03:03:29 b29e3f97fdf3: Retrying in 3 seconds 03:03:29 4c0cce32f095: Retrying in 3 seconds 03:03:29 ecaeebe475da: Retrying in 3 seconds 03:03:29 4312bb03bb6d: Retrying in 3 seconds 03:03:29 4c0cce32f095: Retrying in 2 seconds 03:03:29 b29e3f97fdf3: Retrying in 2 seconds 03:03:29 4312bb03bb6d: Retrying in 2 seconds 03:03:29 ecaeebe475da: Retrying in 2 seconds 03:03:29 4c0cce32f095: Retrying in 1 second 03:03:29 b29e3f97fdf3: Retrying in 1 second 03:03:29 ecaeebe475da: Retrying in 1 second 03:03:29 4312bb03bb6d: Retrying in 1 second 03:05:06 b29e3f97fdf3: Retrying in 10 seconds 03:05:06 4312bb03bb6d: Retrying in 10 seconds 03:05:06 4c0cce32f095: Retrying in 10 seconds 03:05:06 ecaeebe475da: Retrying in 10 seconds 03:05:06 b29e3f97fdf3: Retrying in 9 seconds 03:05:06 4c0cce32f095: Retrying in 9 seconds 03:05:06 4312bb03bb6d: Retrying in 9 seconds 03:05:06 ecaeebe475da: Retrying in 9 seconds 03:05:06 4312bb03bb6d: Retrying in 8 seconds 03:05:06 b29e3f97fdf3: Retrying in 8 seconds 03:05:06 4c0cce32f095: Retrying in 8 seconds 03:05:06 ecaeebe475da: Retrying in 8 seconds 03:05:06 4c0cce32f095: Retrying in 7 seconds 03:05:06 b29e3f97fdf3: Retrying in 7 seconds 03:05:06 4312bb03bb6d: Retrying in 7 seconds 03:05:06 ecaeebe475da: Retrying in 7 seconds 03:05:06 4c0cce32f095: Retrying in 6 seconds 03:05:06 4312bb03bb6d: Retrying in 6 seconds 03:05:06 b29e3f97fdf3: Retrying in 6 seconds 03:05:06 ecaeebe475da: Retrying in 6 seconds 03:05:06 b29e3f97fdf3: Retrying in 5 seconds 03:05:06 4c0cce32f095: Retrying in 5 seconds 03:05:06 4312bb03bb6d: Retrying in 5 seconds 03:05:06 ecaeebe475da: Retrying in 5 seconds 03:05:06 b29e3f97fdf3: Retrying in 4 seconds 03:05:06 4c0cce32f095: Retrying in 4 seconds 03:05:06 4312bb03bb6d: Retrying in 4 seconds 03:05:06 ecaeebe475da: Retrying in 4 seconds 03:05:06 4312bb03bb6d: Retrying in 3 seconds 03:05:06 b29e3f97fdf3: Retrying in 3 seconds 03:05:06 4c0cce32f095: Retrying in 3 seconds 03:05:06 ecaeebe475da: Retrying in 3 seconds 03:05:06 4c0cce32f095: Retrying in 2 seconds 03:05:06 4312bb03bb6d: Retrying in 2 seconds 03:05:06 b29e3f97fdf3: Retrying in 2 seconds 03:05:06 ecaeebe475da: Retrying in 2 seconds 03:05:07 b29e3f97fdf3: Retrying in 1 second 03:05:07 4c0cce32f095: Retrying in 1 second 03:05:07 4312bb03bb6d: Retrying in 1 second 03:05:07 ecaeebe475da: Retrying in 1 second 03:06:44 b29e3f97fdf3: Retrying in 15 seconds 03:06:44 4c0cce32f095: Retrying in 15 seconds 03:06:44 4312bb03bb6d: Retrying in 15 seconds 03:06:44 ecaeebe475da: Retrying in 15 seconds 03:06:44 4c0cce32f095: Retrying in 14 seconds 03:06:44 4312bb03bb6d: Retrying in 14 seconds 03:06:44 b29e3f97fdf3: Retrying in 14 seconds 03:06:44 ecaeebe475da: Retrying in 14 seconds 03:06:44 4c0cce32f095: Retrying in 13 seconds 03:06:44 4312bb03bb6d: Retrying in 13 seconds 03:06:44 b29e3f97fdf3: Retrying in 13 seconds 03:06:44 ecaeebe475da: Retrying in 13 seconds 03:06:44 4c0cce32f095: Retrying in 12 seconds 03:06:44 4312bb03bb6d: Retrying in 12 seconds 03:06:44 b29e3f97fdf3: Retrying in 12 seconds 03:06:44 ecaeebe475da: Retrying in 12 seconds 03:06:44 4c0cce32f095: Retrying in 11 seconds 03:06:44 b29e3f97fdf3: Retrying in 11 seconds 03:06:44 4312bb03bb6d: Retrying in 11 seconds 03:06:44 ecaeebe475da: Retrying in 11 seconds 03:06:44 4c0cce32f095: Retrying in 10 seconds 03:06:44 ecaeebe475da: Retrying in 10 seconds 03:06:44 4312bb03bb6d: Retrying in 10 seconds 03:06:44 b29e3f97fdf3: Retrying in 10 seconds 03:06:44 b29e3f97fdf3: Retrying in 9 seconds 03:06:44 4312bb03bb6d: Retrying in 9 seconds 03:06:44 4c0cce32f095: Retrying in 9 seconds 03:06:44 ecaeebe475da: Retrying in 9 seconds 03:06:44 b29e3f97fdf3: Retrying in 8 seconds 03:06:44 4c0cce32f095: Retrying in 8 seconds 03:06:44 4312bb03bb6d: Retrying in 8 seconds 03:06:44 ecaeebe475da: Retrying in 8 seconds 03:06:46 b29e3f97fdf3: Retrying in 7 seconds 03:06:46 4c0cce32f095: Retrying in 7 seconds 03:06:46 ecaeebe475da: Retrying in 7 seconds 03:06:46 4312bb03bb6d: Retrying in 7 seconds 03:06:46 b29e3f97fdf3: Retrying in 6 seconds 03:06:46 4c0cce32f095: Retrying in 6 seconds 03:06:46 4312bb03bb6d: Retrying in 6 seconds 03:06:46 ecaeebe475da: Retrying in 6 seconds 03:06:48 4c0cce32f095: Retrying in 5 seconds 03:06:48 4312bb03bb6d: Retrying in 5 seconds 03:06:48 b29e3f97fdf3: Retrying in 5 seconds 03:06:48 ecaeebe475da: Retrying in 5 seconds 03:06:49 4c0cce32f095: Retrying in 4 seconds 03:06:49 4312bb03bb6d: Retrying in 4 seconds 03:06:49 b29e3f97fdf3: Retrying in 4 seconds 03:06:49 ecaeebe475da: Retrying in 4 seconds 03:06:50 b29e3f97fdf3: Retrying in 3 seconds 03:06:50 4312bb03bb6d: Retrying in 3 seconds 03:06:50 4c0cce32f095: Retrying in 3 seconds 03:06:50 ecaeebe475da: Retrying in 3 seconds 03:06:51 b29e3f97fdf3: Retrying in 2 seconds 03:06:51 4c0cce32f095: Retrying in 2 seconds 03:06:51 4312bb03bb6d: Retrying in 2 seconds 03:06:51 ecaeebe475da: Retrying in 2 seconds 03:06:52 4312bb03bb6d: Retrying in 1 second 03:06:52 b29e3f97fdf3: Retrying in 1 second 03:06:52 4c0cce32f095: Retrying in 1 second 03:06:52 ecaeebe475da: Retrying in 1 second 03:08:28 ecaeebe475da: Retrying in 20 seconds 03:08:28 b29e3f97fdf3: Retrying in 20 seconds 03:08:28 4312bb03bb6d: Retrying in 20 seconds 03:08:28 4c0cce32f095: Retrying in 20 seconds 03:08:28 4312bb03bb6d: Retrying in 19 seconds 03:08:28 b29e3f97fdf3: Retrying in 19 seconds 03:08:28 ecaeebe475da: Retrying in 19 seconds 03:08:28 4c0cce32f095: Retrying in 19 seconds 03:08:28 ecaeebe475da: Retrying in 18 seconds 03:08:28 b29e3f97fdf3: Retrying in 18 seconds 03:08:28 4312bb03bb6d: Retrying in 18 seconds 03:08:28 4c0cce32f095: Retrying in 18 seconds 03:08:28 4312bb03bb6d: Retrying in 17 seconds 03:08:28 b29e3f97fdf3: Retrying in 17 seconds 03:08:28 ecaeebe475da: Retrying in 17 seconds 03:08:28 4c0cce32f095: Retrying in 17 seconds 03:08:28 4312bb03bb6d: Retrying in 16 seconds 03:08:28 ecaeebe475da: Retrying in 16 seconds 03:08:28 b29e3f97fdf3: Retrying in 16 seconds 03:08:28 4c0cce32f095: Retrying in 16 seconds 03:08:28 ecaeebe475da: Retrying in 15 seconds 03:08:28 b29e3f97fdf3: Retrying in 15 seconds 03:08:28 4312bb03bb6d: Retrying in 15 seconds 03:08:28 4c0cce32f095: Retrying in 15 seconds 03:08:29 4312bb03bb6d: Retrying in 14 seconds 03:08:29 ecaeebe475da: Retrying in 14 seconds 03:08:29 b29e3f97fdf3: Retrying in 14 seconds 03:08:29 4c0cce32f095: Retrying in 14 seconds 03:08:30 ecaeebe475da: Retrying in 13 seconds 03:08:30 b29e3f97fdf3: Retrying in 13 seconds 03:08:30 4312bb03bb6d: Retrying in 13 seconds 03:08:30 4c0cce32f095: Retrying in 13 seconds 03:08:31 ecaeebe475da: Retrying in 12 seconds 03:08:31 b29e3f97fdf3: Retrying in 12 seconds 03:08:31 4312bb03bb6d: Retrying in 12 seconds 03:08:31 4c0cce32f095: Retrying in 12 seconds 03:08:32 ecaeebe475da: Retrying in 11 seconds 03:08:32 b29e3f97fdf3: Retrying in 11 seconds 03:08:32 4312bb03bb6d: Retrying in 11 seconds 03:08:32 4c0cce32f095: Retrying in 11 seconds 03:08:33 4312bb03bb6d: Retrying in 10 seconds 03:08:33 ecaeebe475da: Retrying in 10 seconds 03:08:33 b29e3f97fdf3: Retrying in 10 seconds 03:08:33 4c0cce32f095: Retrying in 10 seconds 03:08:34 4312bb03bb6d: Retrying in 9 seconds 03:08:34 ecaeebe475da: Retrying in 9 seconds 03:08:34 b29e3f97fdf3: Retrying in 9 seconds 03:08:34 4c0cce32f095: Retrying in 9 seconds 03:08:35 4312bb03bb6d: Retrying in 8 seconds 03:08:35 ecaeebe475da: Retrying in 8 seconds 03:08:35 b29e3f97fdf3: Retrying in 8 seconds 03:08:35 4c0cce32f095: Retrying in 8 seconds 03:08:36 ecaeebe475da: Retrying in 7 seconds 03:08:36 b29e3f97fdf3: Retrying in 7 seconds 03:08:36 4312bb03bb6d: Retrying in 7 seconds 03:08:36 4c0cce32f095: Retrying in 7 seconds 03:08:37 ecaeebe475da: Retrying in 6 seconds 03:08:37 b29e3f97fdf3: Retrying in 6 seconds 03:08:37 4312bb03bb6d: Retrying in 6 seconds 03:08:37 4c0cce32f095: Retrying in 6 seconds 03:08:38 b29e3f97fdf3: Retrying in 5 seconds 03:08:38 ecaeebe475da: Retrying in 5 seconds 03:08:38 4312bb03bb6d: Retrying in 5 seconds 03:08:38 4c0cce32f095: Retrying in 5 seconds 03:08:39 b29e3f97fdf3: Retrying in 4 seconds 03:08:39 4312bb03bb6d: Retrying in 4 seconds 03:08:39 ecaeebe475da: Retrying in 4 seconds 03:08:39 4c0cce32f095: Retrying in 4 seconds 03:08:40 ecaeebe475da: Retrying in 3 seconds 03:08:40 b29e3f97fdf3: Retrying in 3 seconds 03:08:40 4312bb03bb6d: Retrying in 3 seconds 03:08:40 4c0cce32f095: Retrying in 3 seconds 03:08:41 4312bb03bb6d: Retrying in 2 seconds 03:08:41 ecaeebe475da: Retrying in 2 seconds 03:08:41 b29e3f97fdf3: Retrying in 2 seconds 03:08:41 4c0cce32f095: Retrying in 2 seconds 03:08:42 ecaeebe475da: Retrying in 1 second 03:08:42 4312bb03bb6d: Retrying in 1 second 03:08:42 b29e3f97fdf3: Retrying in 1 second 03:08:42 4c0cce32f095: Retrying in 1 second 03:08:43 b29e3f97fdf3: Pushed 03:08:43 4312bb03bb6d: Pushed 03:08:43 4c0cce32f095: Pushed 03:08:50 ecaeebe475da: Pushed 03:08:50 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49: digest: sha256:cec73c1db958f94a38743ff499b630e514296aead9ef9d3d64827f8c016d4625 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:50 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:08:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:08:50 b29e3f97fdf3: Preparing 03:08:50 4312bb03bb6d: Preparing 03:08:50 ecaeebe475da: Preparing 03:08:50 4c0cce32f095: Preparing 03:08:50 b2191e2be29d: Preparing 03:08:50 b2191e2be29d: Layer already exists 03:08:50 b29e3f97fdf3: Layer already exists 03:08:50 4312bb03bb6d: Layer already exists 03:08:50 4c0cce32f095: Layer already exists 03:08:50 ecaeebe475da: Layer already exists 03:08:51 latest: digest: sha256:cec73c1db958f94a38743ff499b630e514296aead9ef9d3d64827f8c016d4625 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.10 03:08:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:08:51 b29e3f97fdf3: Preparing 03:08:51 4312bb03bb6d: Preparing 03:08:51 ecaeebe475da: Preparing 03:08:51 4c0cce32f095: Preparing 03:08:51 b2191e2be29d: Preparing 03:08:51 4312bb03bb6d: Layer already exists 03:08:51 b2191e2be29d: Layer already exists 03:08:51 b29e3f97fdf3: Layer already exists 03:08:51 ecaeebe475da: Layer already exists 03:08:51 4c0cce32f095: Layer already exists 03:08:51 3.1.0-dev.10: digest: sha256:cec73c1db958f94a38743ff499b630e514296aead9ef9d3d64827f8c016d4625 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 03:08:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:08:52 b29e3f97fdf3: Preparing 03:08:52 4312bb03bb6d: Preparing 03:08:52 ecaeebe475da: Preparing 03:08:52 4c0cce32f095: Preparing 03:08:52 b2191e2be29d: Preparing 03:08:52 b2191e2be29d: Layer already exists 03:08:52 4c0cce32f095: Layer already exists 03:08:52 ecaeebe475da: Layer already exists 03:08:52 b29e3f97fdf3: Layer already exists 03:08:52 4312bb03bb6d: Layer already exists 03:08:52 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10: digest: sha256:cec73c1db958f94a38743ff499b630e514296aead9ef9d3d64827f8c016d4625 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 03:08:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:08:53 b29e3f97fdf3: Preparing 03:08:53 4312bb03bb6d: Preparing 03:08:53 ecaeebe475da: Preparing 03:08:53 4c0cce32f095: Preparing 03:08:53 b2191e2be29d: Preparing 03:08:53 4312bb03bb6d: Layer already exists 03:08:53 ecaeebe475da: Layer already exists 03:08:53 b29e3f97fdf3: Layer already exists 03:08:53 b2191e2be29d: Layer already exists 03:08:53 4c0cce32f095: Layer already exists 03:08:53 main: digest: sha256:cec73c1db958f94a38743ff499b630e514296aead9ef9d3d64827f8c016d4625 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:08:53 ===================================================== [Pipeline] echo 03:08:53 taggedImages: 03:08:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 03:08:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:08:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.10 03:08:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49-3.1.0-dev.10 03:08:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:53 03:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:54 arm64: Pulling from edgex-lftools-log-publisher 03:08:54 8998bd30e6a1: Pulling fs layer 03:08:54 04944245beec: Pulling fs layer 03:08:54 699f458cf7ca: Pulling fs layer 03:08:54 765212b225bb: Pulling fs layer 03:08:54 f23df028b6ca: Pulling fs layer 03:08:54 d65c8cfc05b1: Pulling fs layer 03:08:54 2437ff75d9bd: Pulling fs layer 03:08:54 765212b225bb: Waiting 03:08:54 f23df028b6ca: Waiting 03:08:54 d65c8cfc05b1: Waiting 03:08:54 2437ff75d9bd: Waiting 03:08:54 04944245beec: Verifying Checksum 03:08:54 04944245beec: Download complete 03:08:54 765212b225bb: Verifying Checksum 03:08:54 765212b225bb: Download complete 03:08:54 f23df028b6ca: Verifying Checksum 03:08:54 f23df028b6ca: Download complete 03:08:54 d65c8cfc05b1: Verifying Checksum 03:08:54 d65c8cfc05b1: Download complete 03:08:54 699f458cf7ca: Verifying Checksum 03:08:54 699f458cf7ca: Download complete 03:08:55 8998bd30e6a1: Download complete 03:08:57 2437ff75d9bd: Verifying Checksum 03:08:57 2437ff75d9bd: Download complete 03:09:01 8998bd30e6a1: Pull complete 03:09:01 04944245beec: Pull complete 03:09:02 699f458cf7ca: Pull complete 03:09:02 765212b225bb: Pull complete 03:09:03 f23df028b6ca: Pull complete 03:09:03 d65c8cfc05b1: Pull complete 03:09:18 2437ff75d9bd: Pull complete 03:09:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:18 prd-ubuntu20.04-docker-arm64-4c-16g-6460 does not seem to be running inside a container 03:09:18 $ 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/167 -v /w/workspace/device-onvif-camera/167:/w/workspace/device-onvif-camera/167:rw,z -v /w/workspace/device-onvif-camera/167@tmp:/w/workspace/device-onvif-camera/167@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:09:21 $ docker top 70c79078a9164e9e9705766098f21a33dc7d8c004b0f28966572815bee5f430c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:22 ---> job-cost.sh 03:09:22 lf-activate-venv: SKIPPING 03:09:22 INFO: No Stack... 03:09:23 INFO: Retrieving Pricing Info for: v3-standard-4 03:09:23 INFO: Archiving Costs [Pipeline] sh 03:09:23 + cat /w/workspace/device-onvif-camera/167/archives/cost.csv 03:09:23 + cut -d, -f6 [Pipeline] lock 03:09:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] 03:09:24 Resource [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] did not exist. Created. 03:09:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:24 /w/workspace/device-onvif-camera/167@tmp/durable-262942a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:09:24 + echo total: 0.10999999940395355 [Pipeline] stash 03:09:25 Warning: overwriting stash ‘stack-cost’ 03:09:25 Stashed 1 file(s) [Pipeline] } 03:09:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:25 $ docker stop --time=1 70c79078a9164e9e9705766098f21a33dc7d8c004b0f28966572815bee5f430c 03:09:26 $ docker rm -f --volumes 70c79078a9164e9e9705766098f21a33dc7d8c004b0f28966572815bee5f430c [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 03:09:29 provisioning config files... 03:09:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2298129104868004898tmp [Pipeline] { [Pipeline] sh 03:09:29 + set +x 03:09:29 + curl -s https://codecov.io/bash 03:09:29 + bash -s -- 03:09:29 03:09:29 _____ _ 03:09:29 / ____| | | 03:09:29 | | ___ __| | ___ ___ _____ __ 03:09:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:09:29 | |___| (_) | (_| | __/ (_| (_) \ V / 03:09:29 \_____\___/ \__,_|\___|\___\___/ \_/ 03:09:29 Bash-1.0.6 03:09:29 03:09:29 03:09:29 ==> git version 2.25.1 found 03:09:29 ==> 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 03:09:29 Release-Date: 2020-01-08 03:09:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:09:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:09:29 ==> Jenkins CI detected. 03:09:29 current dir:  /w/workspace/foundry_device-onvif-camera_main 03:09:29 project root: . 03:09:29 --> token set from env 03:09:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:09:29 ==> Running gcov in . (disable via -X gcov) 03:09:29 ==> Python coveragepy not found 03:09:29 ==> Searching for coverage reports in: 03:09:29 + . 03:09:29 -> Found 1 reports 03:09:29 ==> Detecting git/mercurial file structure 03:09:29 ==> Reading reports 03:09:29 + ./coverage.out bytes=78456 03:09:29 ==> Appending adjustments 03:09:29 https://docs.codecov.io/docs/fixing-reports 03:09:29 + Found adjustments 03:09:29 ==> Gzipping contents 03:09:29 12K /tmp/codecov.xhSSxH.gz 03:09:29 ==> Uploading reports 03:09:29 url: https://codecov.io 03:09:29 query: branch=main&commit=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:09:29 -> Pinging Codecov 03:09:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:09:30 -> Uploading to 03:09:30 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/F29A59C45E3A92E06B3E522C9905F8EF/184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49/aa8669f5-162b-4e4a-90f4-dcc502384499.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T030929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5aa6bd48accb8df24fa362b3cd928f001eb93491876779ce5094c9e0661fa38a 03:09:30 % Total % Received % Xferd Average Speed Time Time Time Current 03:09:30 Dload Upload Total Spent Left Speed 03:09:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 58672 --:--:-- --:--:-- --:--:-- 58348 100 10561 0 0 100 10561 0 58672 --:--:-- --:--:-- --:--:-- 58348 03:09:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] } 03:09:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:09:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:09:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:30 03:09:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:09:30 df9b9388f04a: Pulling fs layer 03:09:30 52dc419b0ee2: Pulling fs layer 03:09:30 25bc292e5bac: Pulling fs layer 03:09:30 114826534d7a: Pulling fs layer 03:09:30 4657fd5d0bcf: Pulling fs layer 03:09:30 114826534d7a: Waiting 03:09:30 4657fd5d0bcf: Waiting 03:09:30 6ad1cebc031e: Pulling fs layer 03:09:30 8a3aa393b2d8: Pulling fs layer 03:09:30 6ad1cebc031e: Waiting 03:09:30 8a3aa393b2d8: Waiting 03:09:30 25bc292e5bac: Verifying Checksum 03:09:30 25bc292e5bac: Download complete 03:09:30 52dc419b0ee2: Verifying Checksum 03:09:30 52dc419b0ee2: Download complete 03:09:30 4657fd5d0bcf: Verifying Checksum 03:09:30 4657fd5d0bcf: Download complete 03:09:30 df9b9388f04a: Verifying Checksum 03:09:30 df9b9388f04a: Download complete 03:09:30 df9b9388f04a: Pull complete 03:09:30 6ad1cebc031e: Verifying Checksum 03:09:30 6ad1cebc031e: Download complete 03:09:30 52dc419b0ee2: Pull complete 03:09:30 25bc292e5bac: Pull complete 03:09:31 114826534d7a: Verifying Checksum 03:09:31 114826534d7a: Download complete 03:09:31 8a3aa393b2d8: Verifying Checksum 03:09:31 8a3aa393b2d8: Download complete 03:09:34 114826534d7a: Pull complete 03:09:34 4657fd5d0bcf: Pull complete 03:09:34 6ad1cebc031e: Pull complete 03:09:37 8a3aa393b2d8: Pull complete 03:09:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:09:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:37 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:09:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:09:40 $ docker top dbd4cc156ce2a0938062e7728e80764448db356c38b757b622a6e8ca09899b58 -eo pid,comm [Pipeline] { [Pipeline] echo 03:09:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 03:09:41 + set -o pipefail 03:09:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 03:09:47 03:09:47 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 03:09:47 03:09:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/409e6684-7868-415d-a900-4fb3237807f7 03:09:47 03:09:47 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 03:09:47 03:09:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:09:47 03:09:47 03:09:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:09:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:09:47 More details here: https://snyk.co/ue1NS [Pipeline] } 03:09:47 $ docker stop --time=1 dbd4cc156ce2a0938062e7728e80764448db356c38b757b622a6e8ca09899b58 03:09:50 $ docker rm -f --volumes dbd4cc156ce2a0938062e7728e80764448db356c38b757b622a6e8ca09899b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 03:09:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:51 provisioning config files... 03:09:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2649925214977328485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:51 --> edgex-publish-swagger.sh 03:09:51 === Publish doc/openapi/v3 API === 03:09:51 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 03:09:51 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 03:09:51 % Total % Received % Xferd Average Speed Time Time Time Current 03:09:51 Dload Upload Total Spent Left Speed 03:09:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 681k --:--:-- --:--:-- --:--:-- 681k 03:09:51 03:09:51 [Pipeline] } 03:09:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:52 + git log --format=format:%s -1 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 [Pipeline] sh 03:09:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:52 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:09:53 $ docker top e3d558cbbcf69026aaac03cc2560795f22802e0c96d8fd03e97bf1fcb3949aec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:53 [ssh-agent] Looking for ssh-agent implementation... 03:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:53 $ docker exec e3d558cbbcf69026aaac03cc2560795f22802e0c96d8fd03e97bf1fcb3949aec ssh-agent 03:09:53 SSH_AUTH_SOCK=/tmp/ssh-9vr5sDicp7AV/agent.32 03:09:53 SSH_AGENT_PID=38 03:09:53 Running ssh-add (command line suppressed) 03:09:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9454987708123905684.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9454987708123905684.key) 03:09:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:54 + git semver tag 03:09:54 2023-09-19 03:09:54,297 [run_tag] DEBUG tag force:False 03:09:54 2023-09-19 03:09:54,297 [check_head_tag] DEBUG check head tag 03:09:54 2023-09-19 03:09:54,298 [execute] INFO git cat-file --batch-check 03:09:54 2023-09-19 03:09:54,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:09:54 2023-09-19 03:09:54,301 [execute] INFO git cat-file --batch 03:09:54 2023-09-19 03:09:54,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:09:54 2023-09-19 03:09:54,310 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:09:54 2023-09-19 03:09:54,311 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 03:09:54 2023-09-19 03:09:54,311 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 03:09:54 2023-09-19 03:09:54,315 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:09:54 3.1.0-dev.10 [Pipeline] } 03:09:54 $ docker exec --env ******** --env ******** e3d558cbbcf69026aaac03cc2560795f22802e0c96d8fd03e97bf1fcb3949aec ssh-agent -k 03:09:54 unset SSH_AUTH_SOCK; 03:09:54 unset SSH_AGENT_PID; 03:09:54 echo Agent pid 38 killed; 03:09:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:54 + git semver [Pipeline] } 03:09:55 $ docker stop --time=1 e3d558cbbcf69026aaac03cc2560795f22802e0c96d8fd03e97bf1fcb3949aec 03:09:56 $ docker rm -f --volumes e3d558cbbcf69026aaac03cc2560795f22802e0c96d8fd03e97bf1fcb3949aec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:56 03:09:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:57 0.23.1-centos7: Pulling from edgex-lftools 03:09:57 ab5ef0e58194: Pulling fs layer 03:09:57 9712f1f96733: Pulling fs layer 03:09:57 63f879dbbcfc: Pulling fs layer 03:09:57 0d9ebad4ef96: Pulling fs layer 03:09:57 e9a5061849ea: Pulling fs layer 03:09:57 d747dcd14b5f: Pulling fs layer 03:09:57 2de7ff778b66: Pulling fs layer 03:09:57 d747dcd14b5f: Waiting 03:09:57 0d9ebad4ef96: Waiting 03:09:57 2de7ff778b66: Waiting 03:09:57 e9a5061849ea: Waiting 03:09:57 9712f1f96733: Verifying Checksum 03:09:57 9712f1f96733: Download complete 03:09:57 63f879dbbcfc: Verifying Checksum 03:09:57 63f879dbbcfc: Download complete 03:09:57 e9a5061849ea: Verifying Checksum 03:09:57 e9a5061849ea: Download complete 03:09:57 d747dcd14b5f: Verifying Checksum 03:09:57 d747dcd14b5f: Download complete 03:09:57 0d9ebad4ef96: Verifying Checksum 03:09:57 0d9ebad4ef96: Download complete 03:09:57 ab5ef0e58194: Download complete 03:09:57 2de7ff778b66: Verifying Checksum 03:09:57 2de7ff778b66: Download complete 03:10:00 ab5ef0e58194: Pull complete 03:10:00 9712f1f96733: Pull complete 03:10:00 63f879dbbcfc: Pull complete 03:10:03 0d9ebad4ef96: Pull complete 03:10:04 e9a5061849ea: Pull complete 03:10:04 d747dcd14b5f: Pull complete 03:10:05 2de7ff778b66: Pull complete 03:10:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:10:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:05 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:10:09 $ docker top f0e0a585af522dcbdaa9a20a2eeaa7d123df07b636f4379f21cdc333c7696591 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:10:09 provisioning config files... 03:10:09 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3064403351432525744tmp 03:10:09 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15638214481078275568tmp 03:10:09 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3024951388452769937tmp [Pipeline] { [Pipeline] echo 03:10:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:10:09 ---> sigul-configuration.sh 03:10:09 gpg: directory `/root/.gnupg' created 03:10:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:10:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:10:09 gpg: keyring `/root/.gnupg/secring.gpg' created 03:10:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:10:09 gpg: CAST5 encrypted data 03:10:09 gpg: encrypted with 1 passphrase 03:10:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:10:09 + mkdir /home/jenkins 03:10:09 + mkdir /home/jenkins/sigul [Pipeline] sh 03:10:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:10:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:10:10 ---> sigul-install.sh 03:10:10 Sigul already installed; skipping installation. [Pipeline] sh 03:10:10 + git tag --list 03:10:10 v0.0.0 03:10:10 v2.2.0 03:10:10 v2.3.0 03:10:10 v2.3.1 03:10:10 v3.0 03:10:10 v3.0.0 03:10:10 v3.1.0-dev.1 03:10:10 v3.1.0-dev.10 03:10:10 v3.1.0-dev.2 03:10:10 v3.1.0-dev.3 03:10:10 v3.1.0-dev.4 03:10:10 v3.1.0-dev.5 03:10:10 v3.1.0-dev.6 03:10:10 v3.1.0-dev.7 03:10:10 v3.1.0-dev.8 03:10:10 v3.1.0-dev.9 [Pipeline] sh 03:10:10 + lftools sign git-tag v3.1.0-dev.10 03:10:11 Signing Git tag with Sigul... 03:10:11 Signing v3.1.0-dev.10 [Pipeline] echo 03:10:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:10:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:10:12 $ docker stop --time=1 f0e0a585af522dcbdaa9a20a2eeaa7d123df07b636f4379f21cdc333c7696591 03:10:13 $ docker rm -f --volumes f0e0a585af522dcbdaa9a20a2eeaa7d123df07b636f4379f21cdc333c7696591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:10:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:10:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:14 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:14 $ docker top 467b2263040324b0295df3ff27dd3117d969f4a6c19ddfe01ca35ae43e2b75a2 -eo pid,comm 03:10:14 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). 03:10:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:14 [ssh-agent] Looking for ssh-agent implementation... 03:10:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:14 $ docker exec 467b2263040324b0295df3ff27dd3117d969f4a6c19ddfe01ca35ae43e2b75a2 ssh-agent 03:10:14 SSH_AUTH_SOCK=/tmp/ssh-BcWmrnOntNDJ/agent.32 03:10:14 SSH_AGENT_PID=38 03:10:14 Running ssh-add (command line suppressed) 03:10:14 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4259892185071064031.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4259892185071064031.key) 03:10:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:15 + git semver bump pre 03:10:15 2023-09-19 03:10:15,303 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:10:15 2023-09-19 03:10:15,303 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev 03:10:15 2023-09-19 03:10:15,303 [bump_version] DEBUG bumped version:3.1.0-dev.11 03:10:15 2023-09-19 03:10:15,303 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 03:10:15 2023-09-19 03:10:15,303 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:10:15 2023-09-19 03:10:15,303 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 03:10:15 2023-09-19 03:10:15,305 [execute] INFO git cat-file --batch-check 03:10:15 2023-09-19 03:10:15,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:10:15 2023-09-19 03:10:15,309 [execute] INFO git cat-file --batch 03:10:15 2023-09-19 03:10:15,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:10:15 2023-09-19 03:10:15,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:10:15 3.1.0-dev.11 [Pipeline] } 03:10:15 $ docker exec --env ******** --env ******** 467b2263040324b0295df3ff27dd3117d969f4a6c19ddfe01ca35ae43e2b75a2 ssh-agent -k 03:10:15 unset SSH_AUTH_SOCK; 03:10:15 unset SSH_AGENT_PID; 03:10:15 echo Agent pid 38 killed; 03:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:15 + git semver [Pipeline] } 03:10:16 $ docker stop --time=1 467b2263040324b0295df3ff27dd3117d969f4a6c19ddfe01ca35ae43e2b75a2 03:10:17 $ docker rm -f --volumes 467b2263040324b0295df3ff27dd3117d969f4a6c19ddfe01ca35ae43e2b75a2 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:10:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:18 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:18 $ docker top 7df9ec428c56a650b10e9c1338ad4a06a388c919d28b247679502d2481bdd1ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:18 [ssh-agent] Looking for ssh-agent implementation... 03:10:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:18 $ docker exec 7df9ec428c56a650b10e9c1338ad4a06a388c919d28b247679502d2481bdd1ea ssh-agent 03:10:18 SSH_AUTH_SOCK=/tmp/ssh-lupvH18p9eCK/agent.32 03:10:18 SSH_AGENT_PID=38 03:10:18 Running ssh-add (command line suppressed) 03:10:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_613307472026455791.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_613307472026455791.key) 03:10:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:19 + git semver push 03:10:19 2023-09-19 03:10:19,406 [run_push] DEBUG push 03:10:19 2023-09-19 03:10:19,407 [execute] INFO git cat-file --batch-check 03:10:19 2023-09-19 03:10:19,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:10:19 2023-09-19 03:10:19,411 [execute] INFO git rev-list 7f9a89aec9a80c46b19fda4e0e76a7503f2dba20 -- 03:10:19 2023-09-19 03:10:19,411 [execute] DEBUG Popen(['git', 'rev-list', '7f9a89aec9a80c46b19fda4e0e76a7503f2dba20', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:19 2023-09-19 03:10:19,418 [execute] INFO git fetch -v origin 03:10:19 2023-09-19 03:10:19,419 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 03:10:20 2023-09-19 03:10:19,872 [run_push] DEBUG no remote changes detected 03:10:20 2023-09-19 03:10:19,872 [execute] INFO git push origin semver 03:10:20 2023-09-19 03:10:19,873 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:21 2023-09-19 03:10:20,954 [run_push] DEBUG push all version tags 03:10:21 2023-09-19 03:10:20,954 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:10:21 2023-09-19 03:10:20,955 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 03:10:21 2023-09-19 03:10:21,727 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:10:21 3.1.0-dev.11 [Pipeline] } 03:10:21 $ docker exec --env ******** --env ******** 7df9ec428c56a650b10e9c1338ad4a06a388c919d28b247679502d2481bdd1ea ssh-agent -k 03:10:22 unset SSH_AUTH_SOCK; 03:10:22 unset SSH_AGENT_PID; 03:10:22 echo Agent pid 38 killed; 03:10:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:22 + git semver [Pipeline] } 03:10:22 $ docker stop --time=1 7df9ec428c56a650b10e9c1338ad4a06a388c919d28b247679502d2481bdd1ea 03:10:23 $ docker rm -f --volumes 7df9ec428c56a650b10e9c1338ad4a06a388c919d28b247679502d2481bdd1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 03:10:24 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 03:10:24 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:10:24 total 16 03:10:24 drwxr-xr-x 3 root root 4096 Sep 19 02:54 . 03:10:24 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:10 .. 03:10:24 drwxr-xr-x 2 root root 4096 Sep 19 02:54 cost 03:10:24 -rw-r--r-- 1 root root 91 Sep 19 02:54 cost.csv 03:10:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 03:10:24 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:10:24 total 16 03:10:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:54 . 03:10:24 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:10 .. 03:10:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:54 cost 03:10:24 -rw-r--r-- 1 jenkins jenkins 91 Sep 19 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:10:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:25 ---> package-listing.sh 03:10:25 ++ facter osfamily 03:10:25 ++ tr '[:upper:]' '[:lower:]' 03:10:25 + OS_FAMILY=debian 03:10:25 + workspace=/w/workspace/foundry_device-onvif-camera_main 03:10:25 + START_PACKAGES=/tmp/packages_start.txt 03:10:25 + END_PACKAGES=/tmp/packages_end.txt 03:10:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:25 + PACKAGES=/tmp/packages_start.txt 03:10:25 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:10:25 + PACKAGES=/tmp/packages_end.txt 03:10:25 + case "${OS_FAMILY}" in 03:10:25 + dpkg -l 03:10:25 + grep '^ii' 03:10:25 + '[' -f /tmp/packages_start.txt ']' 03:10:25 + '[' -f /tmp/packages_end.txt ']' 03:10:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:10:25 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:10:25 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 03:10:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 03:10:25 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:10:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:26 prd-ubuntu20.04-docker-8c-8g-6458 does not seem to be running inside a container 03:10:26 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:10:26 $ docker top e6b273c767f6e22c4a3ee744b5567629ed9ac3389ecc0330c1d86dc78d35e582 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:27 + touch /tmp/pre-build-complete [Pipeline] sh 03:10:27 + mkdir -p /var/log/sysstat [Pipeline] sh 03:10:27 + ls /var/log/sa-host 03:10:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:27 provisioning config files... 03:10:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11252825845244365296tmp [Pipeline] { [Pipeline] echo 03:10:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:10:27 ---> create-netrc.sh [Pipeline] } 03:10:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:10:28 ---> python-tools-install.sh [Pipeline] echo 03:10:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:10:28 ---> sudo-logs.sh 03:10:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:10:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:10:28 ---> job-cost.sh 03:10:28 lf-activate-venv: SKIPPING 03:10:28 DEBUG: total: 0.2199999988079071 03:10:28 INFO: Retrieving Stack Cost... 03:10:29 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:29 INFO: Archiving Costs [Pipeline] echo 03:10:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:10:30 ---> logs-deploy.sh 03:10:30 lf-activate-venv: SKIPPING 03:10:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/167 03:10:30 INFO: archiving workspace using pattern(s): 03:10:30 Archives upload complete. 03:10:30 INFO: archiving logs to Nexus