Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c31a42961058bd23b8ccbd80479928550a3acc6 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-ssh15159677302442023859.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17284391536667935925.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2891977121149339311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh236405836795603703.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-ssh5596064845618790540.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 Running on prd-ubuntu20.04-docker-8c-8g-24219 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 5c31a42961058bd23b8ccbd80479928550a3acc6 (main) > 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 5c31a42961058bd23b8ccbd80479928550a3acc6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" > git rev-list --no-walk 8d134797eab24b0c9a6c7ce1206394b55438db5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:25:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:25:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:25:10 ========================================================= 15:25:10 EdgeX Global Pipelines Version Info 15:25:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:25:11 ------------------- 15:25:11 stable info: 15:25:11 ------------------- 15:25:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:25:11 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:25:11 Message: update stable to v1.0.258 15:25:12 ------------------- 15:25:12 experimental info: 15:25:12 ------------------- 15:25:12 Commited By: **** collab-it+edgex@linuxfoundation.org 15:25:12 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:25:12 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:25:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c31a42 [Pipeline] echo 15:25:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:13 provisioning config files... 15:25:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13462927457114901085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:13 ---> ****-login.sh 15:25:13 nexus3.edgexfoundry.org:10001 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 nexus3.edgexfoundry.org:10002 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 nexus3.edgexfoundry.org:10003 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 nexus3.edgexfoundry.org:10004 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 ****.io 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 ---> ****-login.sh ends [Pipeline] } 15:25:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:25:15 + git rev-list -1 --merges 5c31a42961058bd23b8ccbd80479928550a3acc6~1..5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] echo 15:25:15 -----------> git rev-list -1 --merges 5c31a42961058bd23b8ccbd80479928550a3acc6~1..5c31a42961058bd23b8ccbd80479928550a3acc6 5c31a42961058bd23b8ccbd80479928550a3acc6 [false] [Pipeline] sh 15:25:15 + git log --format=format:%s -1 5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] echo 15:25:15 ========================================================= 15:25:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:25:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:16 + git log --format=format:%s -1 5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] echo 15:25:16 [semverPrep] GIT_COMMIT: 5c31a42961058bd23b8ccbd80479928550a3acc6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415) [Pipeline] echo 15:25:16 [semverPrep] This is not a build commit. [Pipeline] sh 15:25:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:25:16 + grep -v github /etc/ssh/ssh_known_hosts 15:25:16 + [ -e /tmp/ssh_known_hosts ] 15:25:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:25:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:25:16 + sudo tee -a /etc/ssh/ssh_known_hosts 15:25:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:16 15:25:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:17 0.1.4: Pulling from edgex-devops/py-git-semver 15:25:17 b85a868b505f: Pulling fs layer 15:25:17 e2be974225ed: Pulling fs layer 15:25:17 339a4e72a1f5: Pulling fs layer 15:25:17 988bab9f4d93: Pulling fs layer 15:25:17 1469e6f7b9e6: Pulling fs layer 15:25:17 eaf3925da568: Pulling fs layer 15:25:17 bab4dde63d76: Pulling fs layer 15:25:17 bde34c3a00c8: Pulling fs layer 15:25:17 b352a97aabf1: Pulling fs layer 15:25:17 4872d77fe225: Pulling fs layer 15:25:17 5851b861e8e6: Pulling fs layer 15:25:17 bab4dde63d76: Waiting 15:25:17 bde34c3a00c8: Waiting 15:25:17 b352a97aabf1: Waiting 15:25:17 4872d77fe225: Waiting 15:25:17 5851b861e8e6: Waiting 15:25:17 eaf3925da568: Waiting 15:25:17 e2be974225ed: Verifying Checksum 15:25:17 e2be974225ed: Download complete 15:25:17 988bab9f4d93: Verifying Checksum 15:25:17 988bab9f4d93: Download complete 15:25:17 1469e6f7b9e6: Verifying Checksum 15:25:17 1469e6f7b9e6: Download complete 15:25:17 eaf3925da568: Verifying Checksum 15:25:17 eaf3925da568: Download complete 15:25:17 339a4e72a1f5: Verifying Checksum 15:25:17 339a4e72a1f5: Download complete 15:25:17 bde34c3a00c8: Verifying Checksum 15:25:17 bde34c3a00c8: Download complete 15:25:17 b352a97aabf1: Verifying Checksum 15:25:17 b352a97aabf1: Download complete 15:25:17 4872d77fe225: Download complete 15:25:17 5851b861e8e6: Verifying Checksum 15:25:17 5851b861e8e6: Download complete 15:25:17 b85a868b505f: Verifying Checksum 15:25:17 b85a868b505f: Download complete 15:25:17 bab4dde63d76: Verifying Checksum 15:25:17 bab4dde63d76: Download complete 15:25:18 b85a868b505f: Pull complete 15:25:19 e2be974225ed: Pull complete 15:25:19 339a4e72a1f5: Pull complete 15:25:19 988bab9f4d93: Pull complete 15:25:19 1469e6f7b9e6: Pull complete 15:25:19 eaf3925da568: Pull complete 15:25:21 bab4dde63d76: Pull complete 15:25:21 bde34c3a00c8: Pull complete 15:25:21 b352a97aabf1: Pull complete 15:25:21 4872d77fe225: Pull complete 15:25:21 5851b861e8e6: Pull complete 15:25:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:21 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:25:21 $ 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 15:25:24 $ docker top 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 -eo pid,comm 15:25:24 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). 15:25:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:25:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:24 [ssh-agent] Looking for ssh-agent implementation... 15:25:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:24 $ docker exec 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 ssh-agent 15:25:24 SSH_AUTH_SOCK=/tmp/ssh-CLCv1ehciU5b/agent.33 15:25:24 SSH_AGENT_PID=39 15:25:24 Running ssh-add (command line suppressed) 15:25:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12271351914281547243.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12271351914281547243.key) 15:25:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:24 + git tag --points-at HEAD [Pipeline] } 15:25:24 $ docker exec --env ******** --env ******** 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 ssh-agent -k 15:25:25 unset SSH_AUTH_SOCK; 15:25:25 unset SSH_AGENT_PID; 15:25:25 echo Agent pid 39 killed; 15:25:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:25 [ssh-agent] Looking for ssh-agent implementation... 15:25:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:25 $ docker exec 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 ssh-agent 15:25:25 SSH_AUTH_SOCK=/tmp/ssh-f4zZYdkj73OP/agent.71 15:25:25 SSH_AGENT_PID=77 15:25:25 Running ssh-add (command line suppressed) 15:25:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1793644534707085440.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1793644534707085440.key) 15:25:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:25 + git semver init 15:25:26 2023-12-06 15:25:25,970 [run_init] DEBUG init version:0.0.0 force:False 15:25:26 2023-12-06 15:25:25,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:25:26 2023-12-06 15:25:25,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:25:26 2023-12-06 15:25:25,972 [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) 15:25:27 2023-12-06 15:25:27,436 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:25:27 2023-12-06 15:25:27,437 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:25:27 2023-12-06 15:25:27,437 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:25:27 2023-12-06 15:25:27,437 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:25:27 3.2.0-dev.3 [Pipeline] } 15:25:27 $ docker exec --env ******** --env ******** 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 ssh-agent -k 15:25:28 unset SSH_AUTH_SOCK; 15:25:28 unset SSH_AGENT_PID; 15:25:28 echo Agent pid 77 killed; 15:25:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:25:28 + git semver [Pipeline] } 15:25:28 $ docker stop --time=1 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 15:25:31 $ docker rm -f --volumes 4571887be172cf942af61acb0c449adb8fda8ff0bacae5754a7d59596b9f2c82 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:25:31 Stashed 1 file(s) [Pipeline] echo 15:25:31 [edgeXSemver]: initialized semver on version 3.2.0-dev.3 [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 15:25:32 provisioning config files... 15:25:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11087863883688978334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:32 ---> ****-login.sh 15:25:32 nexus3.edgexfoundry.org:10001 15:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:32 Configure a credential helper to remove this warning. See 15:25:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:32 15:25:32 Login Succeeded 15:25:32 nexus3.edgexfoundry.org:10002 15:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:32 Configure a credential helper to remove this warning. See 15:25:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:32 15:25:32 Login Succeeded 15:25:32 nexus3.edgexfoundry.org:10003 15:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:32 Configure a credential helper to remove this warning. See 15:25:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:32 15:25:32 Login Succeeded 15:25:32 nexus3.edgexfoundry.org:10004 15:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:32 Configure a credential helper to remove this warning. See 15:25:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:32 15:25:32 Login Succeeded 15:25:32 ****.io 15:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:25:33 Configure a credential helper to remove this warning. See 15:25:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:25:33 15:25:33 Login Succeeded 15:25:33 ---> ****-login.sh ends [Pipeline] } 15:25:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:25:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:25:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:25:33 ========================================================= 15:25:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:25:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:33 + 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 . 15:25:33 Sending build context to Docker daemon 34.17MB 15:25:33 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:25:33 Step 2/13 : FROM ${BASE} AS builder 15:25:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:25:34 7264a8db6415: Pulling fs layer 15:25:34 c4d48a809fc2: Pulling fs layer 15:25:34 4f1c88b9dad5: Pulling fs layer 15:25:34 ad3a456e5733: Pulling fs layer 15:25:34 69c7f0334f64: Pulling fs layer 15:25:34 1f1c1a5573a3: Pulling fs layer 15:25:34 ce7588e14bc9: Pulling fs layer 15:25:34 b5e4710f87ac: Pulling fs layer 15:25:34 69c7f0334f64: Waiting 15:25:34 ce7588e14bc9: Waiting 15:25:34 b5e4710f87ac: Waiting 15:25:34 1f1c1a5573a3: Waiting 15:25:34 ad3a456e5733: Waiting 15:25:34 c4d48a809fc2: Verifying Checksum 15:25:34 c4d48a809fc2: Download complete 15:25:34 ad3a456e5733: Verifying Checksum 15:25:34 ad3a456e5733: Download complete 15:25:34 69c7f0334f64: Verifying Checksum 15:25:34 69c7f0334f64: Download complete 15:25:34 7264a8db6415: Verifying Checksum 15:25:34 7264a8db6415: Download complete 15:25:34 1f1c1a5573a3: Verifying Checksum 15:25:34 1f1c1a5573a3: Download complete 15:25:34 7264a8db6415: Pull complete 15:25:34 b5e4710f87ac: Verifying Checksum 15:25:34 b5e4710f87ac: Download complete 15:25:34 c4d48a809fc2: Pull complete 15:25:35 4f1c88b9dad5: Verifying Checksum 15:25:35 4f1c88b9dad5: Download complete 15:25:35 ce7588e14bc9: Verifying Checksum 15:25:35 ce7588e14bc9: Download complete 15:25:38 4f1c88b9dad5: Pull complete 15:25:38 ad3a456e5733: Pull complete 15:25:38 69c7f0334f64: Pull complete 15:25:38 1f1c1a5573a3: Pull complete 15:25:41 ce7588e14bc9: Pull complete 15:25:41 b5e4710f87ac: Pull complete 15:25:41 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:25:41 ---> 88b5674ff536 15:25:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:25:44 ---> Running in 791cf9b4cb26 15:25:44 Removing intermediate container 791cf9b4cb26 15:25:44 ---> b453c5c4736d 15:25:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:25:44 ---> Running in e7eb8dc27060 15:25:44 Removing intermediate container e7eb8dc27060 15:25:44 ---> ef51c9200862 15:25:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:25:44 ---> Running in df7a34e17326 15:25:44 Removing intermediate container df7a34e17326 15:25:44 ---> 7380e975c920 15:25:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:25:44 ---> Running in 3db01eb5bdb8 15:25:44 Removing intermediate container 3db01eb5bdb8 15:25:44 ---> f073e78cf8ef 15:25:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:25:44 ---> Running in 10680b263957 15:25:44 Removing intermediate container 10680b263957 15:25:44 ---> 740835fb1af6 15:25:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:44 ---> Running in a93956d005e6 15:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:25:45 OK: 264 MiB in 52 packages 15:25:46 Removing intermediate container a93956d005e6 15:25:46 ---> 20ebebfb55e0 15:25:46 Step 9/13 : WORKDIR /device-onvif-camera 15:25:46 ---> Running in 9a5b336deaab 15:25:46 Removing intermediate container 9a5b336deaab 15:25:46 ---> 2c72c13a2591 15:25:46 Step 10/13 : COPY go.mod vendor* ./ 15:25:46 ---> fe5a8079e828 15:25:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:46 ---> Running in 198a53ca657f 15:25:47 Still waiting to schedule task 15:25:47 ‘prd-centos7-blackbox-4c-2g-23876’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:25:47 ‘prd-ubuntu18.04-docker-8c-8g-24205’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:25:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24220’ is offline 15:25:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24221’ is offline 15:26:25 Removing intermediate container 198a53ca657f 15:26:25 ---> 6a3e3aa87672 15:26:25 Step 12/13 : COPY . . 15:26:25 ---> 3db7dae4a8b7 15:26:25 Step 13/13 : RUN ${MAKE} 15:26:25 ---> Running in 58b51637da00 15:26:25 noop 15:26:25 Removing intermediate container 58b51637da00 15:26:25 ---> f6f66fadf854 15:26:25 Successfully built f6f66fadf854 15:26:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:25 + docker inspect -f . ci-base-image-x86_64 15:26:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:25 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:26:25 $ 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 15:26:25 $ docker top 3693c870a3db1c75b3ae2637954ac102eb57c360d3549a675ae8df1819fc20f5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:26 + go version 15:26:26 go version go1.21.0 linux/amd64 [Pipeline] } 15:26:26 $ docker stop --time=1 3693c870a3db1c75b3ae2637954ac102eb57c360d3549a675ae8df1819fc20f5 15:26:27 $ docker rm -f --volumes 3693c870a3db1c75b3ae2637954ac102eb57c360d3549a675ae8df1819fc20f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:28 + docker inspect -f . ci-base-image-x86_64 15:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:28 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:26:28 $ 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 15:26:28 $ docker top dab435fb4a5a01c5779165129cb49d9e90ed9e3479ec9827c34ff6c116808619 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:28 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 15:26:29 + make test 15:26:29 go test ./... -coverprofile=coverage.out ./... 15:26:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:26:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:26:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:26:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.5% of statements 15:26:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.074s coverage: 86.5% of statements 15:26:49 go vet ./... 15:26:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:26:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:26:52 ./bin/test-attribution-txt.sh [Pipeline] echo 15:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:26:53 $ docker stop --time=1 dab435fb4a5a01c5779165129cb49d9e90ed9e3479ec9827c34ff6c116808619 15:26:56 $ docker rm -f --volumes dab435fb4a5a01c5779165129cb49d9e90ed9e3479ec9827c34ff6c116808619 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:26:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:57 + ls -al . 15:26:57 total 240 15:26:57 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:26 . 15:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:25 .. 15:26:57 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:26 .git 15:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:25 .github 15:26:57 -rw-rw-r-- 1 jenkins jenkins 493 Dec 6 15:25 .gitignore 15:26:57 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 15:25 .golangci.yml 15:26:57 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:25 .semver 15:26:57 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 6 15:25 Attribution.txt 15:26:57 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 6 15:25 CHANGELOG.md 15:26:57 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 6 15:25 Dockerfile 15:26:57 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:25 GOVERNANCE.md 15:26:57 -rw-rw-r-- 1 jenkins jenkins 739 Dec 6 15:25 Jenkinsfile 15:26:57 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 15:25 LICENSE 15:26:57 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 6 15:25 Makefile 15:26:57 -rw-rw-r-- 1 jenkins jenkins 625 Dec 6 15:25 OWNERS.md 15:26:57 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 6 15:25 README.md 15:26:57 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:25 VERSION 15:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:25 bin 15:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:25 cmd 15:26:57 -rw-r--r-- 1 jenkins jenkins 78456 Dec 6 15:26 coverage.out 15:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:25 doc 15:26:57 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 6 15:25 go.mod 15:26:57 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 6 15:25 go.sum 15:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:25 internal 15:26:57 -rw-rw-r-- 1 jenkins jenkins 236 Dec 6 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:58 + 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=5c31a42961058bd23b8ccbd80479928550a3acc6 --label arch=amd64 --label version=3.2.0-dev.3 . 15:26:58 Sending build context to Docker daemon 34.25MB 15:26:58 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 15:26:58 Step 2/27 : FROM ${BASE} AS builder 15:26:58 ---> f6f66fadf854 15:26:58 Step 3/27 : ARG ADD_BUILD_TAGS="" 15:26:58 ---> Running in 5317d487ad8b 15:26:58 Removing intermediate container 5317d487ad8b 15:26:58 ---> b34f5b4f9ca5 15:26:58 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:58 ---> Running in b43536e334ff 15:26:58 Removing intermediate container b43536e334ff 15:26:58 ---> 45ad47d928c8 15:26:58 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 15:26:59 ---> Running in ef4d7e67ae62 15:26:59 Removing intermediate container ef4d7e67ae62 15:26:59 ---> aaeb3bab335c 15:26:59 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 15:26:59 ---> Running in dd7f305997d9 15:26:59 Removing intermediate container dd7f305997d9 15:26:59 ---> 1f0309275412 15:26:59 Step 7/27 : LABEL Name=edgex-device-onvif-camera 15:26:59 ---> Running in 0d921ecb0424 15:26:59 Removing intermediate container 0d921ecb0424 15:26:59 ---> f979308b7ee1 15:26:59 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:59 ---> Running in 81fc90354999 15:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:26:59 OK: 264 MiB in 52 packages 15:27:00 Removing intermediate container 81fc90354999 15:27:00 ---> 79b9ca5e759e 15:27:00 Step 9/27 : WORKDIR /device-onvif-camera 15:27:00 ---> Running in d72410920c9a 15:27:00 Removing intermediate container d72410920c9a 15:27:00 ---> 34feb2043ef8 15:27:00 Step 10/27 : COPY go.mod vendor* ./ 15:27:00 ---> 1fae922f18ef 15:27:00 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:00 ---> Running in d3bad1ae564e 15:27:01 Removing intermediate container d3bad1ae564e 15:27:01 ---> 34b200f4da75 15:27:01 Step 12/27 : COPY . . 15:27:01 ---> dc44be2e4d33 15:27:01 Step 13/27 : RUN ${MAKE} 15:27:01 ---> Running in 1864fa464665 15:27:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:27:23 Removing intermediate container 1864fa464665 15:27:23 ---> 2b56ce31e1a1 15:27:23 Step 14/27 : FROM alpine:3.18 15:27:23 3.18: Pulling from library/alpine 15:27:23 c926b61bad3b: Pulling fs layer 15:27:23 c926b61bad3b: Verifying Checksum 15:27:23 c926b61bad3b: Download complete 15:27:23 c926b61bad3b: Pull complete 15:27:23 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:27:23 Status: Downloaded newer image for alpine:3.18 15:27:23 ---> b541f2080109 15:27:23 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:27:23 ---> Running in 2a484833c04a 15:27:23 Removing intermediate container 2a484833c04a 15:27:23 ---> 45da0f2d2a98 15:27:23 Step 16/27 : RUN apk add --update --no-cache dumb-init 15:27:23 ---> Running in 3f57913ae0d6 15:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:27:23 (1/1) Installing dumb-init (1.2.5-r2) 15:27:23 Executing busybox-1.36.1-r5.trigger 15:27:23 OK: 7 MiB in 16 packages 15:27:23 Removing intermediate container 3f57913ae0d6 15:27:23 ---> 97f01cbbf477 15:27:23 Step 17/27 : RUN apk --no-cache upgrade 15:27:23 ---> Running in 3808ecd7d473 15:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:27:24 OK: 7 MiB in 16 packages 15:27:25 Removing intermediate container 3808ecd7d473 15:27:25 ---> 7eb4d457712a 15:27:25 Step 18/27 : WORKDIR / 15:27:25 ---> Running in 0779521e09f4 15:27:25 Removing intermediate container 0779521e09f4 15:27:25 ---> f35c9d9d1de3 15:27:25 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 15:27:25 ---> d9bacd518c0d 15:27:25 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 15:27:25 ---> 0112fbcc3c72 15:27:25 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:27:25 ---> 1f2543e39c6f 15:27:25 Step 22/27 : EXPOSE 59984 15:27:25 ---> Running in 846f325dc43e 15:27:26 Removing intermediate container 846f325dc43e 15:27:26 ---> 26a0881a7c9e 15:27:26 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 15:27:26 ---> Running in 63f1e71c7f1c 15:27:26 Removing intermediate container 63f1e71c7f1c 15:27:26 ---> aefc3a501e58 15:27:26 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:27:26 ---> Running in 0bf0378413e8 15:27:26 Removing intermediate container 0bf0378413e8 15:27:26 ---> 06d34ea4aa60 15:27:26 Step 25/27 : LABEL arch=amd64 15:27:26 ---> Running in b66d6ca67ff6 15:27:26 Removing intermediate container b66d6ca67ff6 15:27:26 ---> e5d7700938b3 15:27:26 Step 26/27 : LABEL git_sha=5c31a42961058bd23b8ccbd80479928550a3acc6 15:27:26 ---> Running in 20411a606c39 15:27:26 Removing intermediate container 20411a606c39 15:27:26 ---> 1babf5b59ce0 15:27:26 Step 27/27 : LABEL version=3.2.0-dev.3 15:27:26 ---> Running in 86eec3e6f5d9 15:27:26 Removing intermediate container 86eec3e6f5d9 15:27:26 ---> ade96c685742 15:27:26 [Warning] One or more build-args [ARCH] were not consumed 15:27:26 Successfully built ade96c685742 15:27:26 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 15:27:26 provisioning config files... 15:27:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config157170070443867027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:27 ---> ****-login.sh 15:27:27 nexus3.edgexfoundry.org:10001 15:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:27 Configure a credential helper to remove this warning. See 15:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:27 15:27:27 Login Succeeded 15:27:27 nexus3.edgexfoundry.org:10002 15:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:27 Configure a credential helper to remove this warning. See 15:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:27 15:27:27 Login Succeeded 15:27:27 nexus3.edgexfoundry.org:10003 15:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:27 Configure a credential helper to remove this warning. See 15:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:27 15:27:27 Login Succeeded 15:27:27 nexus3.edgexfoundry.org:10004 15:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:27 Configure a credential helper to remove this warning. See 15:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:27 15:27:27 Login Succeeded 15:27:27 ****.io 15:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:27:27 Configure a credential helper to remove this warning. See 15:27:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:27:27 15:27:27 Login Succeeded 15:27:27 ---> ****-login.sh ends [Pipeline] } 15:27:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:27:28 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:27:28 5c31a42961058bd23b8ccbd80479928550a3acc6 15:27:28 latest 15:27:28 3.2.0-dev.3 15:27:28 5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:27:28 main 15:27:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:28 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6 15:27:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:27:28 e50c698e4306: Preparing 15:27:28 30a6482c0a2b: Preparing 15:27:28 d0a97d23a49b: Preparing 15:27:28 d5d8501a286d: Preparing 15:27:28 29454ed2087f: Preparing 15:27:28 9fe9a137fd00: Preparing 15:27:28 9fe9a137fd00: Waiting 15:27:28 d5d8501a286d: Pushed 15:27:28 9fe9a137fd00: Layer already exists 15:27:28 29454ed2087f: Pushed 15:27:28 30a6482c0a2b: Pushed 15:27:28 e50c698e4306: Pushed 15:27:32 d0a97d23a49b: Pushed 15:27:32 5c31a42961058bd23b8ccbd80479928550a3acc6: digest: sha256:cba4ec73ea229a771ff86fa05bae1ac746527ab36114286e05dfbbde6e8cb74b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:32 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:27:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:27:32 e50c698e4306: Preparing 15:27:32 30a6482c0a2b: Preparing 15:27:32 d0a97d23a49b: Preparing 15:27:32 d5d8501a286d: Preparing 15:27:32 29454ed2087f: Preparing 15:27:32 9fe9a137fd00: Preparing 15:27:32 9fe9a137fd00: Waiting 15:27:32 29454ed2087f: Layer already exists 15:27:32 d0a97d23a49b: Layer already exists 15:27:32 d5d8501a286d: Layer already exists 15:27:32 30a6482c0a2b: Layer already exists 15:27:32 e50c698e4306: Layer already exists 15:27:32 9fe9a137fd00: Layer already exists 15:27:32 latest: digest: sha256:cba4ec73ea229a771ff86fa05bae1ac746527ab36114286e05dfbbde6e8cb74b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.3 15:27:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:27:33 e50c698e4306: Preparing 15:27:33 30a6482c0a2b: Preparing 15:27:33 d0a97d23a49b: Preparing 15:27:33 d5d8501a286d: Preparing 15:27:33 29454ed2087f: Preparing 15:27:33 9fe9a137fd00: Preparing 15:27:33 9fe9a137fd00: Waiting 15:27:33 30a6482c0a2b: Layer already exists 15:27:33 e50c698e4306: Layer already exists 15:27:33 29454ed2087f: Layer already exists 15:27:33 d5d8501a286d: Layer already exists 15:27:33 d0a97d23a49b: Layer already exists 15:27:33 9fe9a137fd00: Layer already exists 15:27:33 3.2.0-dev.3: digest: sha256:cba4ec73ea229a771ff86fa05bae1ac746527ab36114286e05dfbbde6e8cb74b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:27:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:27:34 e50c698e4306: Preparing 15:27:34 30a6482c0a2b: Preparing 15:27:34 d0a97d23a49b: Preparing 15:27:34 d5d8501a286d: Preparing 15:27:34 29454ed2087f: Preparing 15:27:34 9fe9a137fd00: Preparing 15:27:34 e50c698e4306: Layer already exists 15:27:34 d5d8501a286d: Layer already exists 15:27:34 d0a97d23a49b: Layer already exists 15:27:34 29454ed2087f: Layer already exists 15:27:34 30a6482c0a2b: Layer already exists 15:27:34 9fe9a137fd00: Layer already exists 15:27:34 5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3: digest: sha256:cba4ec73ea229a771ff86fa05bae1ac746527ab36114286e05dfbbde6e8cb74b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:35 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:27:35 e50c698e4306: Preparing 15:27:35 30a6482c0a2b: Preparing 15:27:35 d0a97d23a49b: Preparing 15:27:35 d5d8501a286d: Preparing 15:27:35 29454ed2087f: Preparing 15:27:35 9fe9a137fd00: Preparing 15:27:35 9fe9a137fd00: Waiting 15:27:35 29454ed2087f: Layer already exists 15:27:35 d0a97d23a49b: Layer already exists 15:27:35 d5d8501a286d: Layer already exists 15:27:35 e50c698e4306: Layer already exists 15:27:35 30a6482c0a2b: Layer already exists 15:27:35 9fe9a137fd00: Layer already exists 15:27:35 main: digest: sha256:cba4ec73ea229a771ff86fa05bae1ac746527ab36114286e05dfbbde6e8cb74b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:27:35 ===================================================== [Pipeline] echo 15:27:35 taggedImages: 15:27:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6 15:27:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:27:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.3 15:27:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:27:35 - 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 15:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:36 15:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:36 latest: Pulling from edgex-lftools-log-publisher 15:27:36 5eb5b503b376: Pulling fs layer 15:27:36 5c69ac0246d0: Pulling fs layer 15:27:36 ec43610c2a17: Pulling fs layer 15:27:36 3a2ae6a8a46f: Pulling fs layer 15:27:36 33b1e0a273af: Pulling fs layer 15:27:36 5d3b04190fa2: Pulling fs layer 15:27:36 2f39f015ded8: Pulling fs layer 15:27:36 33b1e0a273af: Waiting 15:27:36 5d3b04190fa2: Waiting 15:27:36 2f39f015ded8: Waiting 15:27:36 3a2ae6a8a46f: Waiting 15:27:36 5c69ac0246d0: Download complete 15:27:36 3a2ae6a8a46f: Verifying Checksum 15:27:36 3a2ae6a8a46f: Download complete 15:27:36 33b1e0a273af: Verifying Checksum 15:27:36 33b1e0a273af: Download complete 15:27:36 5d3b04190fa2: Verifying Checksum 15:27:36 5d3b04190fa2: Download complete 15:27:36 ec43610c2a17: Verifying Checksum 15:27:36 ec43610c2a17: Download complete 15:27:36 5eb5b503b376: Verifying Checksum 15:27:36 5eb5b503b376: Download complete 15:27:37 2f39f015ded8: Download complete 15:27:38 5eb5b503b376: Pull complete 15:27:38 5c69ac0246d0: Pull complete 15:27:38 ec43610c2a17: Pull complete 15:27:38 3a2ae6a8a46f: Pull complete 15:27:38 33b1e0a273af: Pull complete 15:27:38 5d3b04190fa2: Pull complete 15:27:43 2f39f015ded8: Pull complete 15:27:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:43 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:27:43 $ 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 15:27:46 $ docker top d175965fe164296873e8602f8b0307080f40128c2a1b14a4b191135fff5c9394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:47 ---> job-cost.sh 15:27:47 lf-activate-venv: SKIPPING 15:27:47 INFO: No Stack... 15:27:47 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:47 INFO: Archiving Costs [Pipeline] sh 15:27:48 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:27:48 + cut -d, -f6 [Pipeline] lock 15:27:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] 15:27:48 Resource [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] did not exist. Created. 15:27:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:48 + echo total: 0.2199999988079071 [Pipeline] stash 15:27:48 Stashed 1 file(s) [Pipeline] } 15:27:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 15:27:48 $ docker stop --time=1 d175965fe164296873e8602f8b0307080f40128c2a1b14a4b191135fff5c9394 15:27:49 $ docker rm -f --volumes d175965fe164296873e8602f8b0307080f40128c2a1b14a4b191135fff5c9394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:36:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24363 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:36:49 Running in /w/workspace/device-onvif-camera/188 [Pipeline] { [Pipeline] checkout 15:36:52 The recommended git tool is: git 15:37:00 using credential edgex-jenkins-ssh 15:37:00 Cloning the remote Git repository 15:37:00 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:37:00 > git init /w/workspace/device-onvif-camera/188 # timeout=10 15:37:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:37:00 > git --version # timeout=10 15:37:00 > git --version # 'git version 2.25.1' 15:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:37:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:37:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:37:04 Avoid second fetch 15:37:04 Checking out Revision 5c31a42961058bd23b8ccbd80479928550a3acc6 (main) 15:37:04 > git config core.sparsecheckout # timeout=10 15:37:04 > git checkout -f 5c31a42961058bd23b8ccbd80479928550a3acc6 # timeout=10 15:37:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:37:06 % Total % Received % Xferd Average Speed Time Time Time Current 15:37:06 Dload Upload Total Spent Left Speed 15:37:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 74163 0 --:--:-- --:--:-- --:--:-- 74163 [Pipeline] sh 15:37:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:37:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:37:07 + sudo tee /etc/docker/daemon.new 15:37:07 { 15:37:07 "registry-mirrors": [ 15:37:07 "https://nexus3.edgexfoundry.org:10001" 15:37:07 ], 15:37:07 "bip": "10.250.0.254/24", 15:37:07 "hosts": [ 15:37:07 "tcp://0.0.0.0:5555", 15:37:07 "unix:///var/run/docker.sock" 15:37:07 ], 15:37:07 "mtu": 1458, 15:37:07 "selinux-enabled": true, 15:37:07 "seccomp-profile": "/etc/docker/seccomp.json" 15:37:07 } [Pipeline] sh 15:37:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:37:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:26 provisioning config files... 15:37:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/188@tmp/config17388813494052298456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:26 ---> ****-login.sh 15:37:26 nexus3.edgexfoundry.org:10001 15:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:27 Configure a credential helper to remove this warning. See 15:37:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:27 15:37:27 Login Succeeded 15:37:27 nexus3.edgexfoundry.org:10002 15:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:27 Configure a credential helper to remove this warning. See 15:37:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:27 15:37:27 Login Succeeded 15:37:27 nexus3.edgexfoundry.org:10003 15:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:28 Configure a credential helper to remove this warning. See 15:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:28 15:37:28 Login Succeeded 15:37:28 nexus3.edgexfoundry.org:10004 15:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:28 Configure a credential helper to remove this warning. See 15:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:28 15:37:28 Login Succeeded 15:37:28 ****.io 15:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:37:28 Configure a credential helper to remove this warning. See 15:37:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:37:28 15:37:28 Login Succeeded 15:37:28 ---> ****-login.sh ends [Pipeline] } 15:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:37:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:37:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:37:29 ========================================================= 15:37:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:37:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:29 + 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 . 15:37:30 #0 building with "default" instance using docker driver 15:37:30 15:37:30 #1 [internal] load build definition from Dockerfile 15:37:30 #1 transferring dockerfile: 1.72kB 0.0s done 15:37:30 #1 DONE 0.1s 15:37:30 15:37:30 #2 [internal] load .dockerignore 15:37:30 #2 transferring context: 2B done 15:37:30 #2 DONE 0.1s 15:37:31 15:37:31 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:37:31 #3 DONE 0.1s 15:37:31 15:37:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:37:31 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s 15:37:31 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 15:37:31 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 15:37:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.15MB / 3.33MB 0.2s 15:37:31 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 15:37:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.26MB / 63.99MB 0.3s 15:37:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 15:37:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 15:37:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 15:37:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.4s 15:37:31 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 15:37:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.45MB / 63.99MB 0.5s 15:37:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 15:37:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.44MB / 11.40MB 0.5s 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s 15:37:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s 15:37:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.7s 15:37:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 15:37:31 #4 ... 15:37:31 15:37:31 #5 [internal] load build context 15:37:31 #5 transferring context: 20.31MB 0.7s done 15:37:31 #5 DONE 0.8s 15:37:31 15:37:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:37:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 15:37:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 15:37:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.71MB / 63.99MB 1.0s 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 1.0s 15:37:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.36MB / 63.99MB 1.1s 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.70MB / 97.63MB 1.1s 15:37:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 15:37:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.22MB / 63.99MB 1.2s 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.88MB / 97.63MB 1.2s 15:37:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 15:37:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.4s 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.71MB / 97.63MB 1.4s 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.76MB / 97.63MB 1.5s 15:37:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 15:37:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.6s 15:37:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.9s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 2.0s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 2.1s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 89.13MB / 97.63MB 2.2s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.3s 15:37:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 15:37:38 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 15:37:44 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 15:37:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.9s done 15:37:55 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 15:37:55 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 15:37:55 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 15:37:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15:38:00 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 15:38:03 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 15:38:04 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 15:38:05 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 15:38:11 #4 DONE 39.1s 15:38:11 15:38:11 #6 [builder 2/7] RUN apk add --no-cache make git 15:38:11 #6 0.773 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:38:11 #6 1.177 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:38:12 #6 2.214 OK: 266 MiB in 52 packages 15:38:14 #6 DONE 3.8s 15:38:14 15:38:14 #7 [builder 3/7] WORKDIR /device-onvif-camera 15:38:14 #7 DONE 0.1s 15:38:14 15:38:14 #8 [builder 4/7] COPY go.mod vendor* ./ 15:38:14 #8 DONE 0.1s 15:38:14 15:38:14 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:41 #9 DONE 22.7s 15:38:41 15:38:41 #10 [builder 6/7] COPY . . 15:38:41 #10 DONE 0.4s 15:38:41 15:38:41 #11 [builder 7/7] RUN echo noop 15:38:41 #11 0.649 noop 15:38:41 #11 DONE 0.7s 15:38:41 15:38:41 #12 exporting to image 15:38:41 #12 exporting layers 15:39:03 #12 exporting layers 22.4s done 15:39:03 #12 writing image sha256:9497d92b03b0abebfa24377bb049c678cb34eadcb7ec243a9d9d4b2067f9da01 done 15:39:03 #12 naming to docker.io/library/ci-base-image-arm64 done 15:39:03 #12 DONE 22.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:03 + docker inspect -f . ci-base-image-arm64 15:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:03 prd-ubuntu20.04-docker-arm64-4c-16g-24363 does not seem to be running inside a container 15:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/188 -v /w/workspace/device-onvif-camera/188:/w/workspace/device-onvif-camera/188:rw,z -v /w/workspace/device-onvif-camera/188@tmp:/w/workspace/device-onvif-camera/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:39:05 $ docker top 7b303273ec5564e5962060f7f5adf895f0882d0c3d5d9708d62760e263fdae1a -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:06 + go version 15:39:06 go version go1.21.0 linux/arm64 [Pipeline] } 15:39:06 $ docker stop --time=1 7b303273ec5564e5962060f7f5adf895f0882d0c3d5d9708d62760e263fdae1a 15:39:08 $ docker rm -f --volumes 7b303273ec5564e5962060f7f5adf895f0882d0c3d5d9708d62760e263fdae1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:09 + docker inspect -f . ci-base-image-arm64 15:39:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:09 prd-ubuntu20.04-docker-arm64-4c-16g-24363 does not seem to be running inside a container 15:39:09 $ 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/188 -v /w/workspace/device-onvif-camera/188:/w/workspace/device-onvif-camera/188:rw,z -v /w/workspace/device-onvif-camera/188@tmp:/w/workspace/device-onvif-camera/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:39:10 $ docker top 7d9d42c19e47a94f63143261d49e1e75d91ba79a08e87d5f6a9750bffdb8a908 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:11 + git config --global --add safe.directory /w/workspace/device-onvif-camera/188 [Pipeline] fileExists [Pipeline] sh 15:39:11 + make test 15:39:11 go test ./... -coverprofile=coverage.out ./... 15:39:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:40:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:40:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:40:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 31.5% of statements 15:40:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.500s coverage: 86.5% of statements 15:40:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:40:42 go vet ./... 15:40:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:40:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:40:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:40:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:40:57 $ docker stop --time=1 7d9d42c19e47a94f63143261d49e1e75d91ba79a08e87d5f6a9750bffdb8a908 15:40:59 $ docker rm -f --volumes 7d9d42c19e47a94f63143261d49e1e75d91ba79a08e87d5f6a9750bffdb8a908 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:00 Warning: overwriting stash ‘coverage-report’ 15:41:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:41:04 + ls -al . 15:41:04 total 236 15:41:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:39 . 15:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:37 .. 15:41:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:37 .git 15:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:37 .github 15:41:04 -rw-rw-r-- 1 jenkins jenkins 493 Dec 6 15:37 .gitignore 15:41:04 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 15:37 .golangci.yml 15:41:04 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 6 15:37 Attribution.txt 15:41:04 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 6 15:37 CHANGELOG.md 15:41:04 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 6 15:37 Dockerfile 15:41:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:37 GOVERNANCE.md 15:41:04 -rw-rw-r-- 1 jenkins jenkins 739 Dec 6 15:37 Jenkinsfile 15:41:04 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 15:37 LICENSE 15:41:04 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 6 15:37 Makefile 15:41:04 -rw-rw-r-- 1 jenkins jenkins 625 Dec 6 15:37 OWNERS.md 15:41:04 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 6 15:37 README.md 15:41:04 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:25 VERSION 15:41:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:37 bin 15:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:37 cmd 15:41:04 -rw-r--r-- 1 jenkins jenkins 78456 Dec 6 15:40 coverage.out 15:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:37 doc 15:41:04 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 6 15:37 go.mod 15:41:04 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 6 15:37 go.sum 15:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:37 internal 15:41:04 -rw-rw-r-- 1 jenkins jenkins 236 Dec 6 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:04 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5c31a42961058bd23b8ccbd80479928550a3acc6 --label arch=arm64 --label version=3.2.0-dev.3 . 15:41:05 #0 building with "default" instance using docker driver 15:41:05 15:41:05 #1 [internal] load build definition from Dockerfile 15:41:05 #1 transferring dockerfile: 15:41:05 #1 transferring dockerfile: 1.72kB 0.0s done 15:41:05 #1 DONE 0.0s 15:41:05 15:41:05 #2 [internal] load .dockerignore 15:41:05 #2 transferring context: 2B done 15:41:05 #2 DONE 0.0s 15:41:05 15:41:05 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 15:41:05 #3 DONE 0.0s 15:41:05 15:41:05 #4 [internal] load metadata for docker.io/library/alpine:3.18 15:41:05 #4 DONE 0.3s 15:41:06 15:41:06 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:41:06 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 15:41:06 #5 DONE 0.1s 15:41:06 15:41:06 #6 [internal] load build context 15:41:06 #6 transferring context: 87.13kB 0.1s done 15:41:06 #6 DONE 0.1s 15:41:06 15:41:06 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:41:06 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 15:41:06 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 15:41:06 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 15:41:06 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 15:41:06 #5 ... 15:41:06 15:41:06 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:41:06 #7 DONE 0.2s 15:41:06 15:41:06 #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:41:06 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 15:41:06 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 15:41:06 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.6s done 15:41:07 #5 DONE 1.1s 15:41:07 15:41:07 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 15:41:07 #8 0.737 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:41:08 #8 1.080 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:41:09 #8 ... 15:41:09 15:41:09 #9 [builder 2/7] RUN apk add --no-cache make git 15:41:09 #9 0.819 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:41:09 #9 1.290 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:41:09 #9 2.504 OK: 266 MiB in 52 packages 15:41:09 #9 DONE 2.8s 15:41:09 15:41:09 #10 [builder 3/7] WORKDIR /device-onvif-camera 15:41:09 #10 DONE 0.1s 15:41:09 15:41:09 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 15:41:09 #8 ... 15:41:09 15:41:09 #11 [builder 4/7] COPY go.mod vendor* ./ 15:41:09 #11 DONE 0.2s 15:41:09 15:41:09 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 15:41:09 #8 2.236 (1/1) Installing dumb-init (1.2.5-r2) 15:41:09 #8 2.253 Executing busybox-1.36.1-r5.trigger 15:41:09 #8 2.299 OK: 8 MiB in 16 packages 15:41:09 #8 DONE 2.6s 15:41:09 15:41:09 #12 [stage-1 3/7] RUN apk --no-cache upgrade 15:41:10 #12 0.850 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:41:11 #12 1.212 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:41:11 #12 ... 15:41:11 15:41:11 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:11 #13 DONE 2.0s 15:41:11 15:41:11 #14 [builder 6/7] COPY . . 15:41:11 #14 DONE 0.5s 15:41:11 15:41:11 #15 [builder 7/7] RUN make build 15:41:12 #15 ... 15:41:12 15:41:12 #12 [stage-1 3/7] RUN apk --no-cache upgrade 15:41:12 #12 2.391 OK: 8 MiB in 16 packages 15:41:12 #12 DONE 2.7s 15:41:12 15:41:12 #15 [builder 7/7] RUN make build 15:41:12 #15 0.862 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:42:35 #15 DONE 80.3s 15:42:35 15:42:35 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 15:42:35 #16 DONE 0.5s 15:42:35 15:42:35 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 15:42:35 #17 DONE 0.1s 15:42:35 15:42:35 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 15:42:35 #18 DONE 0.1s 15:42:35 15:42:35 #19 exporting to image 15:42:35 #19 exporting layers 15:42:35 #19 exporting layers 0.3s done 15:42:35 #19 writing image sha256:9a5a7cea974ee05c7c7bbc367dfaea5cc9626b9cb068e06bd23ade5eda6f0d4b done 15:42:35 #19 naming to docker.io/library/device-onvif-camera-arm64 done 15:42:35 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:35 provisioning config files... 15:42:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/188@tmp/config3175271707651568857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:36 ---> ****-login.sh 15:42:36 nexus3.edgexfoundry.org:10001 15:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:36 Configure a credential helper to remove this warning. See 15:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:36 15:42:36 Login Succeeded 15:42:36 nexus3.edgexfoundry.org:10002 15:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:36 Configure a credential helper to remove this warning. See 15:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:36 15:42:36 Login Succeeded 15:42:36 nexus3.edgexfoundry.org:10003 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 nexus3.edgexfoundry.org:10004 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 ****.io 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 ---> ****-login.sh ends [Pipeline] } 15:42:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:38 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 15:42:38 5c31a42961058bd23b8ccbd80479928550a3acc6 15:42:38 latest 15:42:38 3.2.0-dev.3 15:42:38 5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:42:38 main 15:42:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6 15:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:42:39 b3c692f3242b: Preparing 15:42:39 377bd60caac3: Preparing 15:42:39 fcdf5c891527: Preparing 15:42:39 c4e4c8715ed8: Preparing 15:42:39 e45fb980c19a: Preparing 15:42:39 0faf9b67be60: Preparing 15:42:39 0faf9b67be60: Waiting 15:42:39 b3c692f3242b: Pushed 15:42:39 c4e4c8715ed8: Pushed 15:42:39 e45fb980c19a: Pushed 15:42:39 377bd60caac3: Pushed 15:42:39 0faf9b67be60: Layer already exists 15:42:46 fcdf5c891527: Pushed 15:42:46 5c31a42961058bd23b8ccbd80479928550a3acc6: digest: sha256:d928e1598128765ffa18c634fd6fda864b91059766e12bbd7a25c6bce666f5ba size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:46 + 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 15:42:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:42:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:42:47 b3c692f3242b: Preparing 15:42:47 377bd60caac3: Preparing 15:42:47 fcdf5c891527: Preparing 15:42:47 c4e4c8715ed8: Preparing 15:42:47 e45fb980c19a: Preparing 15:42:47 0faf9b67be60: Preparing 15:42:47 0faf9b67be60: Waiting 15:42:47 377bd60caac3: Layer already exists 15:42:47 e45fb980c19a: Layer already exists 15:42:47 b3c692f3242b: Layer already exists 15:42:47 c4e4c8715ed8: Layer already exists 15:42:47 fcdf5c891527: Layer already exists 15:42:47 0faf9b67be60: Layer already exists 15:42:47 latest: digest: sha256:d928e1598128765ffa18c634fd6fda864b91059766e12bbd7a25c6bce666f5ba size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.3 15:42:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:42:48 b3c692f3242b: Preparing 15:42:48 377bd60caac3: Preparing 15:42:48 fcdf5c891527: Preparing 15:42:48 c4e4c8715ed8: Preparing 15:42:48 e45fb980c19a: Preparing 15:42:48 0faf9b67be60: Preparing 15:42:48 0faf9b67be60: Waiting 15:42:48 fcdf5c891527: Layer already exists 15:42:48 e45fb980c19a: Layer already exists 15:42:48 377bd60caac3: Layer already exists 15:42:48 c4e4c8715ed8: Layer already exists 15:42:48 b3c692f3242b: Layer already exists 15:42:48 0faf9b67be60: Layer already exists 15:42:48 3.2.0-dev.3: digest: sha256:d928e1598128765ffa18c634fd6fda864b91059766e12bbd7a25c6bce666f5ba size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:42:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:42:49 b3c692f3242b: Preparing 15:42:49 377bd60caac3: Preparing 15:42:49 fcdf5c891527: Preparing 15:42:49 c4e4c8715ed8: Preparing 15:42:49 e45fb980c19a: Preparing 15:42:49 0faf9b67be60: Preparing 15:42:49 0faf9b67be60: Waiting 15:42:49 e45fb980c19a: Layer already exists 15:42:49 377bd60caac3: Layer already exists 15:42:49 b3c692f3242b: Layer already exists 15:42:49 c4e4c8715ed8: Layer already exists 15:42:49 fcdf5c891527: Layer already exists 15:42:49 0faf9b67be60: Layer already exists 15:42:49 5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3: digest: sha256:d928e1598128765ffa18c634fd6fda864b91059766e12bbd7a25c6bce666f5ba size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:50 + 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 15:42:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 15:42:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:42:50 b3c692f3242b: Preparing 15:42:50 377bd60caac3: Preparing 15:42:50 fcdf5c891527: Preparing 15:42:50 c4e4c8715ed8: Preparing 15:42:50 e45fb980c19a: Preparing 15:42:50 0faf9b67be60: Preparing 15:42:50 0faf9b67be60: Waiting 15:42:50 e45fb980c19a: Layer already exists 15:42:50 fcdf5c891527: Layer already exists 15:42:50 c4e4c8715ed8: Layer already exists 15:42:50 b3c692f3242b: Layer already exists 15:42:50 377bd60caac3: Layer already exists 15:42:50 0faf9b67be60: Layer already exists 15:42:51 main: digest: sha256:d928e1598128765ffa18c634fd6fda864b91059766e12bbd7a25c6bce666f5ba size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:51 ===================================================== [Pipeline] echo 15:42:51 taggedImages: 15:42:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6 15:42:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:42:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.3 15:42:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c31a42961058bd23b8ccbd80479928550a3acc6-3.2.0-dev.3 15:42:51 - 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 15:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:52 15:42:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:52 arm64: Pulling from edgex-lftools-log-publisher 15:42:52 8998bd30e6a1: Pulling fs layer 15:42:52 04944245beec: Pulling fs layer 15:42:52 699f458cf7ca: Pulling fs layer 15:42:52 765212b225bb: Pulling fs layer 15:42:52 765212b225bb: Waiting 15:42:52 f23df028b6ca: Pulling fs layer 15:42:52 d65c8cfc05b1: Pulling fs layer 15:42:52 f23df028b6ca: Waiting 15:42:52 2437ff75d9bd: Pulling fs layer 15:42:52 d65c8cfc05b1: Waiting 15:42:52 04944245beec: Verifying Checksum 15:42:52 04944245beec: Download complete 15:42:52 765212b225bb: Verifying Checksum 15:42:52 765212b225bb: Download complete 15:42:52 f23df028b6ca: Verifying Checksum 15:42:52 f23df028b6ca: Download complete 15:42:53 d65c8cfc05b1: Verifying Checksum 15:42:53 d65c8cfc05b1: Download complete 15:42:53 699f458cf7ca: Verifying Checksum 15:42:53 699f458cf7ca: Download complete 15:42:53 8998bd30e6a1: Verifying Checksum 15:42:53 8998bd30e6a1: Download complete 15:42:55 2437ff75d9bd: Verifying Checksum 15:42:55 2437ff75d9bd: Download complete 15:43:00 8998bd30e6a1: Pull complete 15:43:00 04944245beec: Pull complete 15:43:02 699f458cf7ca: Pull complete 15:43:02 765212b225bb: Pull complete 15:43:03 f23df028b6ca: Pull complete 15:43:03 d65c8cfc05b1: Pull complete 15:43:29 2437ff75d9bd: Pull complete 15:43:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:30 prd-ubuntu20.04-docker-arm64-4c-16g-24363 does not seem to be running inside a container 15:43:30 $ 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/188 -v /w/workspace/device-onvif-camera/188:/w/workspace/device-onvif-camera/188:rw,z -v /w/workspace/device-onvif-camera/188@tmp:/w/workspace/device-onvif-camera/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:43:31 $ docker top bf5068f79dad8519f3ce221ed3673def965ddaca77288b1a79ecd99f0509ea13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:32 ---> job-cost.sh 15:43:32 lf-activate-venv: SKIPPING 15:43:32 INFO: No Stack... 15:43:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:43:33 INFO: Archiving Costs [Pipeline] sh 15:43:34 + cat /w/workspace/device-onvif-camera/188/archives/cost.csv 15:43:34 + cut -d, -f6 [Pipeline] lock 15:43:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] 15:43:34 Resource [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] did not exist. Created. 15:43:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:43:34 /w/workspace/device-onvif-camera/188@tmp/durable-4b9476aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:43:34 + echo total: 0.2199999988079071 [Pipeline] stash 15:43:35 Warning: overwriting stash ‘stack-cost’ 15:43:35 Stashed 1 file(s) [Pipeline] } 15:43:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 15:43:35 $ docker stop --time=1 bf5068f79dad8519f3ce221ed3673def965ddaca77288b1a79ecd99f0509ea13 15:43:36 $ docker rm -f --volumes bf5068f79dad8519f3ce221ed3673def965ddaca77288b1a79ecd99f0509ea13 [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 15:43:37 provisioning config files... 15:43:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10892102087030938238tmp [Pipeline] { [Pipeline] sh 15:43:38 + set +x 15:43:38 + curl -s https://codecov.io/bash 15:43:38 + bash -s -- 15:43:38 15:43:38 _____ _ 15:43:38 / ____| | | 15:43:38 | | ___ __| | ___ ___ _____ __ 15:43:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:43:38 | |___| (_) | (_| | __/ (_| (_) \ V / 15:43:38 \_____\___/ \__,_|\___|\___\___/ \_/ 15:43:38 Bash-1.0.6 15:43:38 15:43:38 15:43:38 ==> git version 2.25.1 found 15:43:38 ==> 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 15:43:38 Release-Date: 2020-01-08 15:43:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:43:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:43:38 ==> Jenkins CI detected. 15:43:38 current dir:  /w/workspace/foundry_device-onvif-camera_main 15:43:38 project root: . 15:43:38 --> token set from env 15:43:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:43:38 ==> Running gcov in . (disable via -X gcov) 15:43:38 ==> Python coveragepy not found 15:43:38 ==> Searching for coverage reports in: 15:43:38 + . 15:43:38 -> Found 1 reports 15:43:38 ==> Detecting git/mercurial file structure 15:43:38 ==> Reading reports 15:43:38 + ./coverage.out bytes=78456 15:43:38 ==> Appending adjustments 15:43:38 https://docs.codecov.io/docs/fixing-reports 15:43:38 + Found adjustments 15:43:38 ==> Gzipping contents 15:43:38 12K /tmp/codecov.Ft9kJj.gz 15:43:38 ==> Uploading reports 15:43:38 url: https://codecov.io 15:43:38 query: branch=main&commit=5c31a42961058bd23b8ccbd80479928550a3acc6&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:43:38 -> Pinging Codecov 15:43:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5c31a42961058bd23b8ccbd80479928550a3acc6&build=188&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F188%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:43:38 -> Uploading to 15:43:38 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/F29A59C45E3A92E06B3E522C9905F8EF/5c31a42961058bd23b8ccbd80479928550a3acc6/c300eee2-f1f2-4503-9e14-7bca78ad3a31.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T154338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59e8207afbad184a58e42f37b0d2e7b7763a4f94bd29f76311ec456fd7270c77 15:43:38 % Total % Received % Xferd Average Speed Time Time Time Current 15:43:38 Dload Upload Total Spent Left Speed 15:43:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 45121 --:--:-- --:--:-- --:--:-- 45121 15:43:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] } 15:43:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:43:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:43:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:39 15:43:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:43:40 df9b9388f04a: Pulling fs layer 15:43:40 52dc419b0ee2: Pulling fs layer 15:43:40 25bc292e5bac: Pulling fs layer 15:43:40 114826534d7a: Pulling fs layer 15:43:40 4657fd5d0bcf: Pulling fs layer 15:43:40 6ad1cebc031e: Pulling fs layer 15:43:40 8a3aa393b2d8: Pulling fs layer 15:43:40 114826534d7a: Waiting 15:43:40 4657fd5d0bcf: Waiting 15:43:40 6ad1cebc031e: Waiting 15:43:40 8a3aa393b2d8: Waiting 15:43:40 25bc292e5bac: Download complete 15:43:40 52dc419b0ee2: Verifying Checksum 15:43:40 52dc419b0ee2: Download complete 15:43:40 4657fd5d0bcf: Verifying Checksum 15:43:40 4657fd5d0bcf: Download complete 15:43:40 df9b9388f04a: Verifying Checksum 15:43:40 df9b9388f04a: Download complete 15:43:40 df9b9388f04a: Pull complete 15:43:40 52dc419b0ee2: Pull complete 15:43:40 6ad1cebc031e: Verifying Checksum 15:43:40 6ad1cebc031e: Download complete 15:43:40 25bc292e5bac: Pull complete 15:43:41 8a3aa393b2d8: Verifying Checksum 15:43:41 8a3aa393b2d8: Download complete 15:43:41 114826534d7a: Verifying Checksum 15:43:41 114826534d7a: Download complete 15:43:45 114826534d7a: Pull complete 15:43:45 4657fd5d0bcf: Pull complete 15:43:45 6ad1cebc031e: Pull complete 15:43:48 8a3aa393b2d8: Pull complete 15:43:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:43:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:43:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:48 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:43:48 $ 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 15:43:52 $ docker top 31b79215b55ee81aa84ccba6cecc77459ef4a5946b7afe546f6b70374e2e1f79 -eo pid,comm [Pipeline] { [Pipeline] echo 15:43:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 15:43:52 + set -o pipefail 15:43:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 15:43:57 15:43:57 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 15:43:57 15:43:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/d08d28d2-dc09-4184-a823-8de1c80263a0 15:43:57 15:43:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:43:57 15:43:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:43:57 15:43:58 15:43:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:43:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:43:58 More details here: https://snyk.co/ue1NS 15:43:58 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:43:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:43:58 $ docker stop --time=1 31b79215b55ee81aa84ccba6cecc77459ef4a5946b7afe546f6b70374e2e1f79 15:44:01 $ docker rm -f --volumes 31b79215b55ee81aa84ccba6cecc77459ef4a5946b7afe546f6b70374e2e1f79 [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 15:44:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:02 provisioning config files... 15:44:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10985047151634329116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:03 --> edgex-publish-swagger.sh 15:44:03 === Publish doc/openapi/v3 API === 15:44:03 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 15:44:03 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 15:44:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:44:03 Dload Upload Total Spent Left Speed 15:44:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 180 100 485k 315 850k --:--:-- --:--:-- --:--:-- 849k 100 485k 100 180 100 485k 315 850k --:--:-- --:--:-- --:--:-- 849k 15:44:03 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 15:44:03 [Pipeline] } 15:44:03 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 15:44:04 + git log --format=format:%s -1 5c31a42961058bd23b8ccbd80479928550a3acc6 [Pipeline] sh 15:44:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:05 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:44:05 $ 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 15:44:05 $ docker top 7d23204e435aa57fde75ca660fe198e0f34f3a54b3b9142a6f01fd27cc4687ce -eo pid,comm 15:44:05 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). 15:44:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:06 [ssh-agent] Looking for ssh-agent implementation... 15:44:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:06 $ docker exec 7d23204e435aa57fde75ca660fe198e0f34f3a54b3b9142a6f01fd27cc4687ce ssh-agent 15:44:06 SSH_AUTH_SOCK=/tmp/ssh-Ax7bkpEiH3GL/agent.31 15:44:06 SSH_AGENT_PID=37 15:44:06 Running ssh-add (command line suppressed) 15:44:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4077138558476236482.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4077138558476236482.key) 15:44:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:06 + git semver tag 15:44:07 2023-12-06 15:44:07,024 [run_tag] DEBUG tag force:False 15:44:07 2023-12-06 15:44:07,024 [check_head_tag] DEBUG check head tag 15:44:07 2023-12-06 15:44:07,024 [execute] INFO git cat-file --batch-check 15:44:07 2023-12-06 15:44:07,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:44:07 2023-12-06 15:44:07,028 [execute] INFO git cat-file --batch 15:44:07 2023-12-06 15:44:07,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:44:07 2023-12-06 15:44:07,042 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:07 2023-12-06 15:44:07,043 [execute] INFO git tag -a v3.2.0-dev.3 -m v3.2.0-dev.3 15:44:07 2023-12-06 15:44:07,043 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.3', '-m', 'v3.2.0-dev.3'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:44:07 2023-12-06 15:44:07,048 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:07 3.2.0-dev.3 [Pipeline] } 15:44:07 $ docker exec --env ******** --env ******** 7d23204e435aa57fde75ca660fe198e0f34f3a54b3b9142a6f01fd27cc4687ce ssh-agent -k 15:44:07 unset SSH_AUTH_SOCK; 15:44:07 unset SSH_AGENT_PID; 15:44:07 echo Agent pid 37 killed; 15:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:07 + git semver [Pipeline] } 15:44:07 $ docker stop --time=1 7d23204e435aa57fde75ca660fe198e0f34f3a54b3b9142a6f01fd27cc4687ce 15:44:09 $ docker rm -f --volumes 7d23204e435aa57fde75ca660fe198e0f34f3a54b3b9142a6f01fd27cc4687ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:09 15:44:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:10 0.23.1-centos7: Pulling from edgex-lftools 15:44:10 ab5ef0e58194: Pulling fs layer 15:44:10 9712f1f96733: Pulling fs layer 15:44:10 63f879dbbcfc: Pulling fs layer 15:44:10 0d9ebad4ef96: Pulling fs layer 15:44:10 e9a5061849ea: Pulling fs layer 15:44:10 d747dcd14b5f: Pulling fs layer 15:44:10 2de7ff778b66: Pulling fs layer 15:44:10 0d9ebad4ef96: Waiting 15:44:10 d747dcd14b5f: Waiting 15:44:10 2de7ff778b66: Waiting 15:44:10 9712f1f96733: Download complete 15:44:10 63f879dbbcfc: Verifying Checksum 15:44:10 63f879dbbcfc: Download complete 15:44:10 0d9ebad4ef96: Verifying Checksum 15:44:10 0d9ebad4ef96: Download complete 15:44:10 d747dcd14b5f: Download complete 15:44:10 e9a5061849ea: Verifying Checksum 15:44:10 e9a5061849ea: Download complete 15:44:10 ab5ef0e58194: Verifying Checksum 15:44:10 ab5ef0e58194: Download complete 15:44:11 2de7ff778b66: Verifying Checksum 15:44:11 2de7ff778b66: Download complete 15:44:13 ab5ef0e58194: Pull complete 15:44:13 9712f1f96733: Pull complete 15:44:14 63f879dbbcfc: Pull complete 15:44:17 0d9ebad4ef96: Pull complete 15:44:17 e9a5061849ea: Pull complete 15:44:17 d747dcd14b5f: Pull complete 15:44:18 2de7ff778b66: Pull complete 15:44:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:19 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:44:19 $ 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 15:44:24 $ docker top 37f5f0d0b6cf9cd96fee824bca8b4baacabd8a65269c558dec11d0241c45e8d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:44:24 provisioning config files... 15:44:24 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7900240492575370074tmp 15:44:24 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9629625501646349994tmp 15:44:24 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10770929876305228693tmp [Pipeline] { [Pipeline] echo 15:44:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:44:24 ---> sigul-configuration.sh 15:44:24 gpg: directory `/root/.gnupg' created 15:44:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:44:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:44:24 gpg: keyring `/root/.gnupg/secring.gpg' created 15:44:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:44:24 gpg: CAST5 encrypted data 15:44:24 gpg: encrypted with 1 passphrase 15:44:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:44:25 + mkdir /home/jenkins 15:44:25 + mkdir /home/jenkins/sigul [Pipeline] sh 15:44:25 + 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 15:44:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:44:25 ---> sigul-install.sh 15:44:25 Sigul already installed; skipping installation. [Pipeline] sh 15:44:26 + git tag --list 15:44:26 v0.0.0 15:44:26 v2.2.0 15:44:26 v2.3.0 15:44:26 v2.3.1 15:44:26 v3.0 15:44:26 v3.0.0 15:44:26 v3.1 15:44:26 v3.1.0 15:44:26 v3.1.0-dev.1 15:44:26 v3.1.0-dev.10 15:44:26 v3.1.0-dev.11 15:44:26 v3.1.0-dev.12 15:44:26 v3.1.0-dev.13 15:44:26 v3.1.0-dev.14 15:44:26 v3.1.0-dev.15 15:44:26 v3.1.0-dev.16 15:44:26 v3.1.0-dev.17 15:44:26 v3.1.0-dev.18 15:44:26 v3.1.0-dev.19 15:44:26 v3.1.0-dev.2 15:44:26 v3.1.0-dev.20 15:44:26 v3.1.0-dev.21 15:44:26 v3.1.0-dev.22 15:44:26 v3.1.0-dev.23 15:44:26 v3.1.0-dev.24 15:44:26 v3.1.0-dev.25 15:44:26 v3.1.0-dev.26 15:44:26 v3.1.0-dev.27 15:44:26 v3.1.0-dev.28 15:44:26 v3.1.0-dev.3 15:44:26 v3.1.0-dev.4 15:44:26 v3.1.0-dev.5 15:44:26 v3.1.0-dev.6 15:44:26 v3.1.0-dev.7 15:44:26 v3.1.0-dev.8 15:44:26 v3.1.0-dev.9 15:44:26 v3.2.0-dev.1 15:44:26 v3.2.0-dev.2 15:44:26 v3.2.0-dev.3 [Pipeline] sh 15:44:26 + lftools sign git-tag v3.2.0-dev.3 15:44:27 Signing Git tag with Sigul... 15:44:27 Signing v3.2.0-dev.3 [Pipeline] echo 15:44:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:44:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:44:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:44:27 $ docker stop --time=1 37f5f0d0b6cf9cd96fee824bca8b4baacabd8a65269c558dec11d0241c45e8d7 15:44:29 $ docker rm -f --volumes 37f5f0d0b6cf9cd96fee824bca8b4baacabd8a65269c558dec11d0241c45e8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:44:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:30 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:44:30 $ 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 15:44:31 $ docker top 015b073f789bc613b3ea20bd76e79c2268f55c753eb6ca46ac198f6ca2cebdf5 -eo pid,comm 15:44:31 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). 15:44:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:31 [ssh-agent] Looking for ssh-agent implementation... 15:44:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:31 $ docker exec 015b073f789bc613b3ea20bd76e79c2268f55c753eb6ca46ac198f6ca2cebdf5 ssh-agent 15:44:31 SSH_AUTH_SOCK=/tmp/ssh-25E6g0jGeGit/agent.32 15:44:31 SSH_AGENT_PID=39 15:44:31 Running ssh-add (command line suppressed) 15:44:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14767898972878576678.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14767898972878576678.key) 15:44:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:31 + git semver bump pre 15:44:32 2023-12-06 15:44:32,136 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:32 2023-12-06 15:44:32,136 [bump_version] DEBUG bumping version:3.2.0-dev.3 on axis:pre with prefix:dev 15:44:32 2023-12-06 15:44:32,136 [bump_version] DEBUG bumped version:3.2.0-dev.4 15:44:32 2023-12-06 15:44:32,136 [write_version] DEBUG write version:3.2.0-dev.4 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 15:44:32 2023-12-06 15:44:32,136 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:32 2023-12-06 15:44:32,137 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:32 2023-12-06 15:44:32,138 [execute] INFO git cat-file --batch-check 15:44:32 2023-12-06 15:44:32,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:32 2023-12-06 15:44:32,143 [execute] INFO git cat-file --batch 15:44:32 2023-12-06 15:44:32,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:32 2023-12-06 15:44:32,149 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:32 3.2.0-dev.4 [Pipeline] } 15:44:32 $ docker exec --env ******** --env ******** 015b073f789bc613b3ea20bd76e79c2268f55c753eb6ca46ac198f6ca2cebdf5 ssh-agent -k 15:44:32 unset SSH_AUTH_SOCK; 15:44:32 unset SSH_AGENT_PID; 15:44:32 echo Agent pid 39 killed; 15:44:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:32 + git semver [Pipeline] } 15:44:33 $ docker stop --time=1 015b073f789bc613b3ea20bd76e79c2268f55c753eb6ca46ac198f6ca2cebdf5 15:44:34 $ docker rm -f --volumes 015b073f789bc613b3ea20bd76e79c2268f55c753eb6ca46ac198f6ca2cebdf5 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:35 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:44:35 $ 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 15:44:35 $ docker top 00b49796594468878d6b8409232191ab689e6473b31e3a8b7b93390fd3326de1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:36 [ssh-agent] Looking for ssh-agent implementation... 15:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:36 $ docker exec 00b49796594468878d6b8409232191ab689e6473b31e3a8b7b93390fd3326de1 ssh-agent 15:44:36 SSH_AUTH_SOCK=/tmp/ssh-hZdNz5kCMSAF/agent.32 15:44:36 SSH_AGENT_PID=38 15:44:36 Running ssh-add (command line suppressed) 15:44:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13385054199201436728.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13385054199201436728.key) 15:44:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:36 + git semver push 15:44:37 2023-12-06 15:44:37,035 [run_push] DEBUG push 15:44:37 2023-12-06 15:44:37,036 [execute] INFO git cat-file --batch-check 15:44:37 2023-12-06 15:44:37,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:44:37 2023-12-06 15:44:37,039 [execute] INFO git rev-list d84aadf583a4049de870a53c59b647d3ce0b1a32 -- 15:44:37 2023-12-06 15:44:37,039 [execute] DEBUG Popen(['git', 'rev-list', 'd84aadf583a4049de870a53c59b647d3ce0b1a32', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:44:37 2023-12-06 15:44:37,047 [execute] INFO git fetch -v origin 15:44:37 2023-12-06 15:44:37,048 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:44:37 2023-12-06 15:44:37,572 [run_push] DEBUG no remote changes detected 15:44:37 2023-12-06 15:44:37,572 [execute] INFO git push origin semver 15:44:37 2023-12-06 15:44:37,573 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:44:38 2023-12-06 15:44:38,367 [run_push] DEBUG push all version tags 15:44:38 2023-12-06 15:44:38,368 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:44:38 2023-12-06 15:44:38,368 [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) 15:44:39 2023-12-06 15:44:39,103 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:44:39 3.2.0-dev.4 [Pipeline] } 15:44:39 $ docker exec --env ******** --env ******** 00b49796594468878d6b8409232191ab689e6473b31e3a8b7b93390fd3326de1 ssh-agent -k 15:44:39 unset SSH_AUTH_SOCK; 15:44:39 unset SSH_AGENT_PID; 15:44:39 echo Agent pid 38 killed; 15:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:39 + git semver [Pipeline] } 15:44:40 $ docker stop --time=1 00b49796594468878d6b8409232191ab689e6473b31e3a8b7b93390fd3326de1 15:44:41 $ docker rm -f --volumes 00b49796594468878d6b8409232191ab689e6473b31e3a8b7b93390fd3326de1 [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 15:44:43 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:44:43 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:44:43 total 16 15:44:43 drwxr-xr-x 3 root root 4096 Dec 6 15:27 . 15:44:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:44 .. 15:44:43 drwxr-xr-x 2 root root 4096 Dec 6 15:27 cost 15:44:43 -rw-r--r-- 1 root root 91 Dec 6 15:27 cost.csv 15:44:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:44:43 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:44:43 total 16 15:44:43 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:27 . 15:44:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:44 .. 15:44:43 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 15:27 cost 15:44:43 -rw-r--r-- 1 jenkins jenkins 91 Dec 6 15:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:44:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:44:44 ---> package-listing.sh 15:44:44 ++ facter osfamily 15:44:44 ++ tr '[:upper:]' '[:lower:]' 15:44:44 + OS_FAMILY=debian 15:44:44 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:44:44 + START_PACKAGES=/tmp/packages_start.txt 15:44:44 + END_PACKAGES=/tmp/packages_end.txt 15:44:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:44:44 + PACKAGES=/tmp/packages_start.txt 15:44:44 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:44:44 + PACKAGES=/tmp/packages_end.txt 15:44:44 + case "${OS_FAMILY}" in 15:44:44 + dpkg -l 15:44:44 + grep '^ii' 15:44:44 + '[' -f /tmp/packages_start.txt ']' 15:44:44 + '[' -f /tmp/packages_end.txt ']' 15:44:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:44:44 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:44:44 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:44:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:44:44 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 15:44:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:45 prd-ubuntu20.04-docker-8c-8g-24219 does not seem to be running inside a container 15:44:45 $ 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 15:44:45 $ docker top c0b0bde98718b523d87eb8ddbb94b25d6b896898e556501d576186aa0c2bae45 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:46 + touch /tmp/pre-build-complete [Pipeline] sh 15:44:46 + mkdir -p /var/log/sysstat [Pipeline] sh 15:44:46 + ls /var/log/sa-host 15:44:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:46 provisioning config files... 15:44:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14352222022629896125tmp [Pipeline] { [Pipeline] echo 15:44:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:44:47 ---> create-netrc.sh [Pipeline] } 15:44:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:44:47 ---> python-tools-install.sh [Pipeline] echo 15:44:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:44:48 ---> sudo-logs.sh 15:44:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:44:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:44:48 ---> job-cost.sh 15:44:48 lf-activate-venv: SKIPPING 15:44:48 DEBUG: total: 0.2199999988079071 15:44:48 INFO: Retrieving Stack Cost... 15:44:49 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:49 INFO: Archiving Costs [Pipeline] echo 15:44:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:44:49 ---> logs-deploy.sh 15:44:49 lf-activate-venv: SKIPPING 15:44:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/188 15:44:49 INFO: archiving workspace using pattern(s): 15:44:50 Archives upload complete. 15:44:50 INFO: archiving logs to Nexus