Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30f2e04c1e5a9bcedf43d76deea8330b142364ec 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-ssh15329356035676929135.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-ssh11370333565592923184.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-ssh10157378090603713493.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-ssh9479494228888539531.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-ssh6407634439949193883.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26628 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 30f2e04c1e5a9bcedf43d76deea8330b142364ec (main) Commit message: "Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" > 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 30f2e04c1e5a9bcedf43d76deea8330b142364ec # timeout=10 > git rev-list --no-walk 6e8cd5c7b327808cee3cdc8246778581b79512e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:37:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:37:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:37:02 ========================================================= 08:37:02 EdgeX Global Pipelines Version Info 08:37:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:37:03 ------------------- 08:37:03 stable info: 08:37:03 ------------------- 08:37:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:37:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:37:03 Message: update stable to v1.0.258 08:37:04 ------------------- 08:37:04 experimental info: 08:37:04 ------------------- 08:37:04 Commited By: **** collab-it+edgex@linuxfoundation.org 08:37:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:37:04 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:37:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30f2e04 [Pipeline] echo 08:37:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:37:05 provisioning config files... 08:37:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18287724108760086021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:05 ---> ****-login.sh 08:37:05 nexus3.edgexfoundry.org:10001 08:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:06 Configure a credential helper to remove this warning. See 08:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:06 08:37:06 Login Succeeded 08:37:06 nexus3.edgexfoundry.org:10002 08:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:06 Configure a credential helper to remove this warning. See 08:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:06 08:37:06 Login Succeeded 08:37:06 nexus3.edgexfoundry.org:10003 08:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:06 Configure a credential helper to remove this warning. See 08:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:06 08:37:06 Login Succeeded 08:37:06 nexus3.edgexfoundry.org:10004 08:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:06 Configure a credential helper to remove this warning. See 08:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:06 08:37:06 Login Succeeded 08:37:06 ****.io 08:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:07 Configure a credential helper to remove this warning. See 08:37:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:07 08:37:07 Login Succeeded 08:37:07 ---> ****-login.sh ends [Pipeline] } 08:37:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:37:07 + git rev-list -1 --merges 30f2e04c1e5a9bcedf43d76deea8330b142364ec~1..30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] echo 08:37:08 -----------> git rev-list -1 --merges 30f2e04c1e5a9bcedf43d76deea8330b142364ec~1..30f2e04c1e5a9bcedf43d76deea8330b142364ec 30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:37:08 30f2e04c1e5a9bcedf43d76deea8330b142364ec [false] [Pipeline] sh 08:37:08 + git log --format=format:%s -1 30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] echo 08:37:08 ========================================================= 08:37:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:37:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:08 + git log --format=format:%s -1 30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] echo 08:37:08 [semverPrep] GIT_COMMIT: 30f2e04c1e5a9bcedf43d76deea8330b142364ec, Commit Message: Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6 [Pipeline] echo 08:37:08 [semverPrep] This is not a build commit. [Pipeline] sh 08:37:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:37:09 + grep -v github /etc/ssh/ssh_known_hosts 08:37:09 + [ -e /tmp/ssh_known_hosts ] 08:37:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:37:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:37:09 + sudo tee -a /etc/ssh/ssh_known_hosts 08:37:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:37:09 08:37:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:37:10 0.1.4: Pulling from edgex-devops/py-git-semver 08:37:10 b85a868b505f: Pulling fs layer 08:37:10 e2be974225ed: Pulling fs layer 08:37:10 339a4e72a1f5: Pulling fs layer 08:37:10 988bab9f4d93: Pulling fs layer 08:37:10 1469e6f7b9e6: Pulling fs layer 08:37:10 eaf3925da568: Pulling fs layer 08:37:10 bab4dde63d76: Pulling fs layer 08:37:10 bde34c3a00c8: Pulling fs layer 08:37:10 b352a97aabf1: Pulling fs layer 08:37:10 4872d77fe225: Pulling fs layer 08:37:10 5851b861e8e6: Pulling fs layer 08:37:10 eaf3925da568: Waiting 08:37:10 bab4dde63d76: Waiting 08:37:10 988bab9f4d93: Waiting 08:37:10 bde34c3a00c8: Waiting 08:37:10 1469e6f7b9e6: Waiting 08:37:10 b352a97aabf1: Waiting 08:37:10 4872d77fe225: Waiting 08:37:10 5851b861e8e6: Waiting 08:37:10 e2be974225ed: Download complete 08:37:10 988bab9f4d93: Verifying Checksum 08:37:10 988bab9f4d93: Download complete 08:37:10 1469e6f7b9e6: Verifying Checksum 08:37:10 1469e6f7b9e6: Download complete 08:37:10 339a4e72a1f5: Verifying Checksum 08:37:10 339a4e72a1f5: Download complete 08:37:10 eaf3925da568: Download complete 08:37:10 bde34c3a00c8: Verifying Checksum 08:37:10 bde34c3a00c8: Download complete 08:37:10 b352a97aabf1: Download complete 08:37:10 4872d77fe225: Download complete 08:37:10 5851b861e8e6: Verifying Checksum 08:37:10 5851b861e8e6: Download complete 08:37:10 b85a868b505f: Verifying Checksum 08:37:10 b85a868b505f: Download complete 08:37:10 bab4dde63d76: Verifying Checksum 08:37:10 bab4dde63d76: Download complete 08:37:11 b85a868b505f: Pull complete 08:37:12 e2be974225ed: Pull complete 08:37:12 339a4e72a1f5: Pull complete 08:37:12 988bab9f4d93: Pull complete 08:37:12 1469e6f7b9e6: Pull complete 08:37:12 eaf3925da568: Pull complete 08:37:14 bab4dde63d76: Pull complete 08:37:14 bde34c3a00c8: Pull complete 08:37:15 b352a97aabf1: Pull complete 08:37:15 4872d77fe225: Pull complete 08:37:15 5851b861e8e6: Pull complete 08:37:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:37:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:15 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:37:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:37:18 $ docker top 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede -eo pid,comm 08:37:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:37:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:18 [ssh-agent] Looking for ssh-agent implementation... 08:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:18 $ docker exec 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede ssh-agent 08:37:19 SSH_AUTH_SOCK=/tmp/ssh-TWFoV3iRiq4k/agent.32 08:37:19 SSH_AGENT_PID=38 08:37:19 Running ssh-add (command line suppressed) 08:37:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2279517259826504889.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2279517259826504889.key) 08:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:19 + git tag --points-at HEAD [Pipeline] } 08:37:19 $ docker exec --env ******** --env ******** 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede ssh-agent -k 08:37:19 unset SSH_AUTH_SOCK; 08:37:19 unset SSH_AGENT_PID; 08:37:19 echo Agent pid 38 killed; 08:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:37:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:19 [ssh-agent] Looking for ssh-agent implementation... 08:37:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:19 $ docker exec 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede ssh-agent 08:37:19 SSH_AUTH_SOCK=/tmp/ssh-uBfG6TOhcTbb/agent.70 08:37:19 SSH_AGENT_PID=76 08:37:19 Running ssh-add (command line suppressed) 08:37:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4513268138335908221.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4513268138335908221.key) 08:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:20 + git semver init 08:37:20 2024-01-02 08:37:20,450 [run_init] DEBUG init version:0.0.0 force:False 08:37:20 2024-01-02 08:37:20,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 08:37:20 2024-01-02 08:37:20,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 08:37:20 2024-01-02 08:37:20,452 [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) 08:37:21 2024-01-02 08:37:21,901 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 08:37:21 2024-01-02 08:37:21,901 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 08:37:21 2024-01-02 08:37:21,901 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:37:21 2024-01-02 08:37:21,902 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:37:21 3.2.0-dev.7 [Pipeline] } 08:37:22 $ docker exec --env ******** --env ******** 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede ssh-agent -k 08:37:22 unset SSH_AUTH_SOCK; 08:37:22 unset SSH_AGENT_PID; 08:37:22 echo Agent pid 76 killed; 08:37:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:22 + git semver [Pipeline] } 08:37:22 $ docker stop --time=1 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede 08:37:24 $ docker rm -f --volumes 003a9247d699d3f52d950d285c5b043323b00858d9445cb9d204184d304baede [Pipeline] // withDockerContainer [Pipeline] sh 08:37:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:37:24 Stashed 1 file(s) [Pipeline] echo 08:37:24 [edgeXSemver]: initialized semver on version 3.2.0-dev.7 [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 08:37:25 provisioning config files... 08:37:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17400037624742306028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:25 ---> ****-login.sh 08:37:25 nexus3.edgexfoundry.org:10001 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10002 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10003 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 nexus3.edgexfoundry.org:10004 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:25 Configure a credential helper to remove this warning. See 08:37:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:25 08:37:25 Login Succeeded 08:37:25 ****.io 08:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:26 Configure a credential helper to remove this warning. See 08:37:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:26 08:37:26 Login Succeeded 08:37:26 ---> ****-login.sh ends [Pipeline] } 08:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:37:26 ========================================================= 08:37:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:37:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:26 + 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 . 08:37:26 Sending build context to Docker daemon 34.19MB 08:37:26 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 08:37:26 Step 2/13 : FROM ${BASE} AS builder 08:37:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:37:26 7264a8db6415: Pulling fs layer 08:37:26 c4d48a809fc2: Pulling fs layer 08:37:26 4f1c88b9dad5: Pulling fs layer 08:37:26 ad3a456e5733: Pulling fs layer 08:37:26 69c7f0334f64: Pulling fs layer 08:37:26 ad3a456e5733: Waiting 08:37:26 1f1c1a5573a3: Pulling fs layer 08:37:26 69c7f0334f64: Waiting 08:37:26 ce7588e14bc9: Pulling fs layer 08:37:26 b5e4710f87ac: Pulling fs layer 08:37:26 1f1c1a5573a3: Waiting 08:37:26 ce7588e14bc9: Waiting 08:37:26 b5e4710f87ac: Waiting 08:37:26 c4d48a809fc2: Verifying Checksum 08:37:26 c4d48a809fc2: Download complete 08:37:26 7264a8db6415: Verifying Checksum 08:37:26 7264a8db6415: Download complete 08:37:26 ad3a456e5733: Verifying Checksum 08:37:26 ad3a456e5733: Download complete 08:37:26 69c7f0334f64: Verifying Checksum 08:37:26 69c7f0334f64: Download complete 08:37:26 1f1c1a5573a3: Verifying Checksum 08:37:26 1f1c1a5573a3: Download complete 08:37:27 7264a8db6415: Pull complete 08:37:27 b5e4710f87ac: Verifying Checksum 08:37:27 b5e4710f87ac: Download complete 08:37:27 c4d48a809fc2: Pull complete 08:37:27 4f1c88b9dad5: Verifying Checksum 08:37:27 4f1c88b9dad5: Download complete 08:37:27 ce7588e14bc9: Download complete 08:37:31 4f1c88b9dad5: Pull complete 08:37:31 ad3a456e5733: Pull complete 08:37:31 69c7f0334f64: Pull complete 08:37:31 1f1c1a5573a3: Pull complete 08:37:33 ce7588e14bc9: Pull complete 08:37:33 b5e4710f87ac: Pull complete 08:37:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:37:33 ---> 88b5674ff536 08:37:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:37:40 Still waiting to schedule task 08:37:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26625’ 08:37:40 ---> Running in c6e4aabb5ce5 08:37:40 Removing intermediate container c6e4aabb5ce5 08:37:40 ---> bc9c9f8f7d1f 08:37:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:37:40 ---> Running in ba7b0df9f1cc 08:37:40 Removing intermediate container ba7b0df9f1cc 08:37:40 ---> fc93f7efaee5 08:37:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:37:40 ---> Running in 807e5527987b 08:37:40 Removing intermediate container 807e5527987b 08:37:40 ---> d38b0910138c 08:37:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:37:40 ---> Running in cc3b41d300d5 08:37:40 Removing intermediate container cc3b41d300d5 08:37:40 ---> 60060ccb7740 08:37:40 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:37:40 ---> Running in a8afad2d5a6f 08:37:40 Removing intermediate container a8afad2d5a6f 08:37:40 ---> f51434c141f9 08:37:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:37:40 ---> Running in f7da7edaa8cc 08:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:37:41 OK: 264 MiB in 52 packages 08:37:42 Removing intermediate container f7da7edaa8cc 08:37:42 ---> c0cdbd1f2e18 08:37:42 Step 9/13 : WORKDIR /device-onvif-camera 08:37:42 ---> Running in df5f25d46b2f 08:37:42 Removing intermediate container df5f25d46b2f 08:37:42 ---> 867a7ca6f8f6 08:37:42 Step 10/13 : COPY go.mod vendor* ./ 08:37:43 ---> 5208d7a916e7 08:37:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:37:43 ---> Running in fc76bebf54f2 08:38:31 Removing intermediate container fc76bebf54f2 08:38:31 ---> 910c7589d4d0 08:38:31 Step 12/13 : COPY . . 08:38:31 ---> b0716d3bbc02 08:38:31 Step 13/13 : RUN ${MAKE} 08:38:31 ---> Running in 820040388c93 08:38:31 noop 08:38:31 Removing intermediate container 820040388c93 08:38:31 ---> 38fc95a41a85 08:38:31 Successfully built 38fc95a41a85 08:38:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:31 + docker inspect -f . ci-base-image-x86_64 08:38:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:31 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:38:31 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:38:31 $ docker top 4b1451285e7f6ea6586b5dbccab13b1dec1587277a51edeebbec3b4218f115ba -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:32 + go version 08:38:32 go version go1.21.0 linux/amd64 [Pipeline] } 08:38:32 $ docker stop --time=1 4b1451285e7f6ea6586b5dbccab13b1dec1587277a51edeebbec3b4218f115ba 08:38:33 $ docker rm -f --volumes 4b1451285e7f6ea6586b5dbccab13b1dec1587277a51edeebbec3b4218f115ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:34 + docker inspect -f . ci-base-image-x86_64 08:38:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:34 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:38:34 $ 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 ******** -e ******** ci-base-image-x86_64 cat 08:38:34 $ docker top fdb424db0637cd2d245da4b7f190f86f93b102cfbc63ed9712da9ce47a684e11 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:35 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 08:38:35 + make test 08:38:35 go test ./... -coverprofile=coverage.out ./... 08:38:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:38:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:38:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:38:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.5% of statements 08:38:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.107s coverage: 86.5% of statements 08:38:56 go vet ./... 08:39:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:39:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:39:00 ./bin/test-attribution-txt.sh [Pipeline] echo 08:39:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:39:00 $ docker stop --time=1 fdb424db0637cd2d245da4b7f190f86f93b102cfbc63ed9712da9ce47a684e11 08:39:04 $ docker rm -f --volumes fdb424db0637cd2d245da4b7f190f86f93b102cfbc63ed9712da9ce47a684e11 [Pipeline] // withDockerContainer [Pipeline] sh 08:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:39:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:39:06 + ls -al . 08:39:06 total 240 08:39:06 drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 08:38 . 08:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:37 .. 08:39:06 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 08:38 .git 08:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 08:37 .github 08:39:06 -rw-rw-r-- 1 jenkins jenkins 493 Jan 2 08:37 .gitignore 08:39:06 -rw-rw-r-- 1 jenkins jenkins 42 Jan 2 08:37 .golangci.yml 08:39:06 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 08:37 .semver 08:39:06 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 2 08:37 Attribution.txt 08:39:06 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 2 08:37 CHANGELOG.md 08:39:06 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 2 08:37 Dockerfile 08:39:06 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 08:37 GOVERNANCE.md 08:39:06 -rw-rw-r-- 1 jenkins jenkins 739 Jan 2 08:37 Jenkinsfile 08:39:06 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 2 08:37 LICENSE 08:39:06 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 2 08:37 Makefile 08:39:06 -rw-rw-r-- 1 jenkins jenkins 625 Jan 2 08:37 OWNERS.md 08:39:06 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 2 08:37 README.md 08:39:06 -rw-rw-r-- 1 jenkins jenkins 11 Jan 2 08:37 VERSION 08:39:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 08:37 bin 08:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 08:37 cmd 08:39:06 -rw-r--r-- 1 jenkins jenkins 78456 Jan 2 08:38 coverage.out 08:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:37 doc 08:39:06 -rw-rw-r-- 1 jenkins jenkins 4083 Jan 2 08:37 go.mod 08:39:06 -rw-rw-r-- 1 jenkins jenkins 35189 Jan 2 08:37 go.sum 08:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:37 internal 08:39:06 -rw-rw-r-- 1 jenkins jenkins 236 Jan 2 08:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:06 + 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=30f2e04c1e5a9bcedf43d76deea8330b142364ec --label arch=amd64 --label version=3.2.0-dev.7 . 08:39:06 Sending build context to Docker daemon 34.27MB 08:39:06 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 08:39:06 Step 2/27 : FROM ${BASE} AS builder 08:39:06 ---> 38fc95a41a85 08:39:06 Step 3/27 : ARG ADD_BUILD_TAGS="" 08:39:06 ---> Running in 7e7d08a35d68 08:39:06 Removing intermediate container 7e7d08a35d68 08:39:06 ---> cb54af1ad73e 08:39:06 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:39:06 ---> Running in 86404b5a8658 08:39:06 Removing intermediate container 86404b5a8658 08:39:06 ---> 074240e09e37 08:39:06 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 08:39:07 ---> Running in 9ca4e05e776f 08:39:07 Removing intermediate container 9ca4e05e776f 08:39:07 ---> 87392139807b 08:39:07 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 08:39:07 ---> Running in 718c232b1d85 08:39:07 Removing intermediate container 718c232b1d85 08:39:07 ---> b696c232b359 08:39:07 Step 7/27 : LABEL Name=edgex-device-onvif-camera 08:39:07 ---> Running in f6cdd0665a30 08:39:07 Removing intermediate container f6cdd0665a30 08:39:07 ---> 4f299c3a41c6 08:39:07 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:39:07 ---> Running in d4eaf3b960ac 08:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:39:08 OK: 264 MiB in 52 packages 08:39:08 Removing intermediate container d4eaf3b960ac 08:39:08 ---> 7fe82e74a19c 08:39:08 Step 9/27 : WORKDIR /device-onvif-camera 08:39:08 ---> Running in 71aa01477a4c 08:39:08 Removing intermediate container 71aa01477a4c 08:39:08 ---> cbb42fa25a20 08:39:08 Step 10/27 : COPY go.mod vendor* ./ 08:39:09 ---> 2adc064010be 08:39:09 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:39:09 ---> Running in 90298872dc42 08:39:09 Removing intermediate container 90298872dc42 08:39:09 ---> c3fe72b30c3a 08:39:09 Step 12/27 : COPY . . 08:39:10 ---> 9f6ee8fa77c3 08:39:10 Step 13/27 : RUN ${MAKE} 08:39:10 ---> Running in 2dcafc141bd4 08:39:10 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 08:39:32 Removing intermediate container 2dcafc141bd4 08:39:32 ---> 59c9a710aff2 08:39:32 Step 14/27 : FROM alpine:3.18 08:39:32 3.18: Pulling from library/alpine 08:39:32 c926b61bad3b: Pulling fs layer 08:39:32 c926b61bad3b: Download complete 08:39:32 c926b61bad3b: Pull complete 08:39:32 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:39:32 Status: Downloaded newer image for alpine:3.18 08:39:32 ---> b541f2080109 08:39:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 08:39:32 ---> Running in 33cdb17a1809 08:39:32 Removing intermediate container 33cdb17a1809 08:39:32 ---> 24ad0f3d2379 08:39:32 Step 16/27 : RUN apk add --update --no-cache dumb-init 08:39:32 ---> Running in f1ce898a2fdf 08:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:39:32 (1/1) Installing dumb-init (1.2.5-r2) 08:39:32 Executing busybox-1.36.1-r5.trigger 08:39:32 OK: 7 MiB in 16 packages 08:39:33 Removing intermediate container f1ce898a2fdf 08:39:33 ---> b20813298712 08:39:33 Step 17/27 : RUN apk --no-cache upgrade 08:39:33 ---> Running in 229c1155b99c 08:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:39:33 OK: 7 MiB in 16 packages 08:39:34 Removing intermediate container 229c1155b99c 08:39:34 ---> 3f619be0e637 08:39:34 Step 18/27 : WORKDIR / 08:39:34 ---> Running in 02720c89f33e 08:39:34 Removing intermediate container 02720c89f33e 08:39:34 ---> 9f590f84c32f 08:39:34 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 08:39:34 ---> 1b43de5e7492 08:39:34 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 08:39:34 ---> 12db08de1c54 08:39:34 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:39:34 ---> 324de1fa4053 08:39:34 Step 22/27 : EXPOSE 59984 08:39:34 ---> Running in 620366ff5391 08:39:35 Removing intermediate container 620366ff5391 08:39:35 ---> b538a1234b40 08:39:35 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 08:39:35 ---> Running in 2d8fa2554f55 08:39:35 Removing intermediate container 2d8fa2554f55 08:39:35 ---> b9e9db306c0e 08:39:35 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:39:35 ---> Running in 14e533808178 08:39:35 Removing intermediate container 14e533808178 08:39:35 ---> 01856e51368e 08:39:35 Step 25/27 : LABEL arch=amd64 08:39:35 ---> Running in 786a1fdb4fc1 08:39:35 Removing intermediate container 786a1fdb4fc1 08:39:35 ---> 018b29345aa8 08:39:35 Step 26/27 : LABEL git_sha=30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:39:35 ---> Running in 33e5012f3bd1 08:39:35 Removing intermediate container 33e5012f3bd1 08:39:35 ---> 29e770981da6 08:39:35 Step 27/27 : LABEL version=3.2.0-dev.7 08:39:35 ---> Running in 3b49f7a2d67f 08:39:35 Removing intermediate container 3b49f7a2d67f 08:39:35 ---> 6d7ae0f0af33 08:39:35 [Warning] One or more build-args [ARCH] were not consumed 08:39:35 Successfully built 6d7ae0f0af33 08:39:35 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 08:39:35 provisioning config files... 08:39:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8223970061119582808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:39:36 ---> ****-login.sh 08:39:36 nexus3.edgexfoundry.org:10001 08:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:39:36 Configure a credential helper to remove this warning. See 08:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:39:36 08:39:36 Login Succeeded 08:39:36 nexus3.edgexfoundry.org:10002 08:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:39:36 Configure a credential helper to remove this warning. See 08:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:39:36 08:39:36 Login Succeeded 08:39:36 nexus3.edgexfoundry.org:10003 08:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:39:36 Configure a credential helper to remove this warning. See 08:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:39:36 08:39:36 Login Succeeded 08:39:36 nexus3.edgexfoundry.org:10004 08:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:39:36 Configure a credential helper to remove this warning. See 08:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:39:36 08:39:36 Login Succeeded 08:39:36 ****.io 08:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:39:36 Configure a credential helper to remove this warning. See 08:39:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:39:36 08:39:36 Login Succeeded 08:39:36 ---> ****-login.sh ends [Pipeline] } 08:39:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:39:36 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 08:39:36 30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:39:36 latest 08:39:36 3.2.0-dev.7 08:39:36 30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:39:36 main 08:39:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:39:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:39:37 fa29548ec292: Preparing 08:39:37 616ac785c062: Preparing 08:39:37 9a8ed8214665: Preparing 08:39:37 1efa606cc8f8: Preparing 08:39:37 253f929aa2f4: Preparing 08:39:37 9fe9a137fd00: Preparing 08:39:37 9fe9a137fd00: Waiting 08:39:37 616ac785c062: Pushed 08:39:37 9fe9a137fd00: Layer already exists 08:39:37 1efa606cc8f8: Pushed 08:39:37 253f929aa2f4: Pushed 08:39:37 fa29548ec292: Pushed 08:39:39 9a8ed8214665: Pushed 08:39:39 30f2e04c1e5a9bcedf43d76deea8330b142364ec: digest: sha256:4db11cd740777a31a75d062c64fe98bd0259b4f196a913050ff64691dadfea06 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 08:39:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:39:40 fa29548ec292: Preparing 08:39:40 616ac785c062: Preparing 08:39:40 9a8ed8214665: Preparing 08:39:40 1efa606cc8f8: Preparing 08:39:40 253f929aa2f4: Preparing 08:39:40 9fe9a137fd00: Preparing 08:39:40 9fe9a137fd00: Waiting 08:39:40 616ac785c062: Layer already exists 08:39:40 9a8ed8214665: Layer already exists 08:39:40 fa29548ec292: Layer already exists 08:39:40 253f929aa2f4: Layer already exists 08:39:40 1efa606cc8f8: Layer already exists 08:39:40 9fe9a137fd00: Layer already exists 08:39:40 latest: digest: sha256:4db11cd740777a31a75d062c64fe98bd0259b4f196a913050ff64691dadfea06 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.7 08:39:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:39:41 fa29548ec292: Preparing 08:39:41 616ac785c062: Preparing 08:39:41 9a8ed8214665: Preparing 08:39:41 1efa606cc8f8: Preparing 08:39:41 253f929aa2f4: Preparing 08:39:41 9fe9a137fd00: Preparing 08:39:41 9fe9a137fd00: Waiting 08:39:41 1efa606cc8f8: Layer already exists 08:39:41 253f929aa2f4: Layer already exists 08:39:41 616ac785c062: Layer already exists 08:39:41 fa29548ec292: Layer already exists 08:39:41 9a8ed8214665: Layer already exists 08:39:41 9fe9a137fd00: Layer already exists 08:39:41 3.2.0-dev.7: digest: sha256:4db11cd740777a31a75d062c64fe98bd0259b4f196a913050ff64691dadfea06 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:39:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:39:42 fa29548ec292: Preparing 08:39:42 616ac785c062: Preparing 08:39:42 9a8ed8214665: Preparing 08:39:42 1efa606cc8f8: Preparing 08:39:42 253f929aa2f4: Preparing 08:39:42 9fe9a137fd00: Preparing 08:39:42 9fe9a137fd00: Waiting 08:39:42 fa29548ec292: Layer already exists 08:39:42 9a8ed8214665: Layer already exists 08:39:42 253f929aa2f4: Layer already exists 08:39:42 1efa606cc8f8: Layer already exists 08:39:42 616ac785c062: Layer already exists 08:39:42 9fe9a137fd00: Layer already exists 08:39:42 30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7: digest: sha256:4db11cd740777a31a75d062c64fe98bd0259b4f196a913050ff64691dadfea06 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 08:39:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:39:42 fa29548ec292: Preparing 08:39:42 616ac785c062: Preparing 08:39:42 9a8ed8214665: Preparing 08:39:42 1efa606cc8f8: Preparing 08:39:42 253f929aa2f4: Preparing 08:39:42 9fe9a137fd00: Preparing 08:39:42 9a8ed8214665: Layer already exists 08:39:42 253f929aa2f4: Layer already exists 08:39:42 1efa606cc8f8: Layer already exists 08:39:42 fa29548ec292: Layer already exists 08:39:42 616ac785c062: Layer already exists 08:39:42 9fe9a137fd00: Layer already exists 08:39:42 main: digest: sha256:4db11cd740777a31a75d062c64fe98bd0259b4f196a913050ff64691dadfea06 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:39:43 ===================================================== [Pipeline] echo 08:39:43 taggedImages: 08:39:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:39:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 08:39:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.7 08:39:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:39:43 - 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 08:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:39:43 08:39:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:39:44 latest: Pulling from edgex-lftools-log-publisher 08:39:44 5eb5b503b376: Pulling fs layer 08:39:44 5c69ac0246d0: Pulling fs layer 08:39:44 ec43610c2a17: Pulling fs layer 08:39:44 3a2ae6a8a46f: Pulling fs layer 08:39:44 33b1e0a273af: Pulling fs layer 08:39:44 5d3b04190fa2: Pulling fs layer 08:39:44 2f39f015ded8: Pulling fs layer 08:39:44 3a2ae6a8a46f: Waiting 08:39:44 33b1e0a273af: Waiting 08:39:44 2f39f015ded8: Waiting 08:39:44 5d3b04190fa2: Waiting 08:39:44 5c69ac0246d0: Verifying Checksum 08:39:44 5c69ac0246d0: Download complete 08:39:44 3a2ae6a8a46f: Verifying Checksum 08:39:44 3a2ae6a8a46f: Download complete 08:39:44 33b1e0a273af: Verifying Checksum 08:39:44 33b1e0a273af: Download complete 08:39:44 5d3b04190fa2: Verifying Checksum 08:39:44 5d3b04190fa2: Download complete 08:39:44 ec43610c2a17: Verifying Checksum 08:39:44 ec43610c2a17: Download complete 08:39:44 5eb5b503b376: Verifying Checksum 08:39:44 5eb5b503b376: Download complete 08:39:44 2f39f015ded8: Download complete 08:39:45 5eb5b503b376: Pull complete 08:39:45 5c69ac0246d0: Pull complete 08:39:46 ec43610c2a17: Pull complete 08:39:46 3a2ae6a8a46f: Pull complete 08:39:46 33b1e0a273af: Pull complete 08:39:47 5d3b04190fa2: Pull complete 08:39:51 2f39f015ded8: Pull complete 08:39:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:39:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:39:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:39:51 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:39:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:39:56 $ docker top d2c5a007650a3b6af40d7a523a86aa8bdff11e7da8c7ad5a078211c1db570b0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:39:56 ---> job-cost.sh 08:39:56 lf-activate-venv: SKIPPING 08:39:56 INFO: No Stack... 08:39:56 INFO: Retrieving Pricing Info for: v3-standard-8 08:39:57 INFO: Archiving Costs [Pipeline] sh 08:39:57 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 08:39:57 + cut -d, -f6 [Pipeline] lock 08:39:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] 08:39:57 Resource [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] did not exist. Created. 08:39:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:39:57 + echo total: 0.2199999988079071 [Pipeline] stash 08:39:57 Stashed 1 file(s) [Pipeline] } 08:39:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 08:39:58 $ docker stop --time=1 d2c5a007650a3b6af40d7a523a86aa8bdff11e7da8c7ad5a078211c1db570b0d 08:39:59 $ docker rm -f --volumes d2c5a007650a3b6af40d7a523a86aa8bdff11e7da8c7ad5a078211c1db570b0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:40:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26634 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 08:40:40 Running in /w/workspace/device-onvif-camera/192 [Pipeline] { [Pipeline] checkout 08:40:43 The recommended git tool is: git 08:40:50 using credential edgex-jenkins-ssh 08:40:50 Cloning the remote Git repository 08:40:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:40:50 > git init /w/workspace/device-onvif-camera/192 # timeout=10 08:40:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:40:50 > git --version # timeout=10 08:40:50 > git --version # 'git version 2.25.1' 08:40:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:40:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:40:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:40:54 Avoid second fetch 08:40:54 Checking out Revision 30f2e04c1e5a9bcedf43d76deea8330b142364ec (main) 08:40:54 > git config core.sparsecheckout # timeout=10 08:40:54 > git checkout -f 30f2e04c1e5a9bcedf43d76deea8330b142364ec # timeout=10 08:40:55 Commit message: "Merge pull request #423 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:40:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:40:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:40:56 Dload Upload Total Spent Left Speed 08:40:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 08:40:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:40:57 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 08:40:57 tee /etc/docker/daemon.new 08:40:57 { 08:40:57 "registry-mirrors": [ 08:40:57 "https://nexus3.edgexfoundry.org:10001" 08:40:57 ], 08:40:57 "bip": "10.250.0.254/24", 08:40:57 "hosts": [ 08:40:57 "tcp://0.0.0.0:5555", 08:40:57 "unix:///var/run/docker.sock" 08:40:57 ], 08:40:57 "mtu": 1458, 08:40:57 "selinux-enabled": true, 08:40:57 "seccomp-profile": "/etc/docker/seccomp.json" 08:40:57 } [Pipeline] sh 08:40:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:40:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:41:16 provisioning config files... 08:41:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/192@tmp/config2365584298403133265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:17 ---> ****-login.sh 08:41:17 nexus3.edgexfoundry.org:10001 08:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:17 Configure a credential helper to remove this warning. See 08:41:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:17 08:41:17 Login Succeeded 08:41:17 nexus3.edgexfoundry.org:10002 08:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:18 Configure a credential helper to remove this warning. See 08:41:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:18 08:41:18 Login Succeeded 08:41:18 nexus3.edgexfoundry.org:10003 08:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:18 Configure a credential helper to remove this warning. See 08:41:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:18 08:41:18 Login Succeeded 08:41:18 nexus3.edgexfoundry.org:10004 08:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:18 Configure a credential helper to remove this warning. See 08:41:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:18 08:41:18 Login Succeeded 08:41:18 ****.io 08:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:41:19 Configure a credential helper to remove this warning. See 08:41:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:41:19 08:41:19 Login Succeeded 08:41:19 ---> ****-login.sh ends [Pipeline] } 08:41:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:41:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:41:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:41:19 ========================================================= 08:41:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 08:41:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:20 + 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 . 08:41:21 #0 building with "default" instance using docker driver 08:41:21 08:41:21 #1 [internal] load .dockerignore 08:41:21 #1 transferring context: 08:41:21 #1 transferring context: 2B 0.0s done 08:41:21 #1 DONE 0.1s 08:41:21 08:41:21 #2 [internal] load build definition from Dockerfile 08:41:21 #2 transferring dockerfile: 1.72kB done 08:41:21 #2 DONE 0.1s 08:41:21 08:41:21 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 08:41:21 #3 DONE 0.1s 08:41:21 08:41:21 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:41:21 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 08:41:22 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 08:41:22 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 08:41:22 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 08:41:22 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.43MB / 3.33MB 0.1s 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 08:41:22 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 08:41:22 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 08:41:22 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.21MB / 63.99MB 0.3s 08:41:22 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 08:41:22 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 08:41:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.4s 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.62MB / 63.99MB 0.5s 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.61MB / 11.40MB 0.6s 08:41:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.33MB / 97.63MB 0.6s 08:41:22 #4 ... 08:41:22 08:41:22 #5 [internal] load build context 08:41:22 #5 transferring context: 20.32MB 0.7s done 08:41:22 #5 DONE 0.8s 08:41:22 08:41:22 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.7s 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 08:41:22 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 08:41:22 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 08:41:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.91MB / 97.63MB 0.8s 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.88MB / 63.99MB 1.0s 08:41:22 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 1.0s 08:41:22 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 1.1s 08:41:22 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 08:41:23 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.2s 08:41:23 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.26MB / 97.63MB 1.2s 08:41:23 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.15MB / 63.99MB 1.4s 08:41:23 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.91MB / 97.63MB 1.4s 08:41:23 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 08:41:23 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.5s 08:41:23 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.5s 08:41:23 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.43MB / 63.99MB 1.6s 08:41:23 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.7s 08:41:23 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 08:41:23 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 2.0s 08:41:23 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 08:41:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.35MB / 97.63MB 2.2s 08:41:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 2.4s 08:41:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.44MB / 97.63MB 2.6s 08:41:24 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.8s 08:41:25 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.0s done 08:41:30 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.0s 08:41:35 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 08:41:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.8s done 08:41:43 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 08:41:43 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 08:41:43 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 08:41:48 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 08:41:52 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.1s done 08:41:52 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 08:41:54 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 08:41:55 #4 DONE 33.2s 08:41:55 08:41:55 #6 [builder 2/7] RUN apk add --no-cache make git 08:41:55 #6 0.787 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:41:56 #6 1.226 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:41:57 #6 2.491 OK: 266 MiB in 52 packages 08:41:59 #6 DONE 4.5s 08:41:59 08:41:59 #7 [builder 3/7] WORKDIR /device-onvif-camera 08:41:59 #7 DONE 0.1s 08:41:59 08:41:59 #8 [builder 4/7] COPY go.mod vendor* ./ 08:41:59 #8 DONE 0.2s 08:41:59 08:41:59 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:32 #9 DONE 27.7s 08:42:32 08:42:32 #10 [builder 6/7] COPY . . 08:42:32 #10 DONE 0.5s 08:42:32 08:42:32 #11 [builder 7/7] RUN echo noop 08:42:32 #11 0.701 noop 08:42:32 #11 DONE 0.8s 08:42:32 08:42:32 #12 exporting to image 08:42:32 #12 exporting layers 08:42:54 #12 exporting layers 24.8s done 08:42:54 #12 writing image sha256:7e202e7fb187456d69b5af5a7c341867e9b5a1712c773f0c6ac2933d7e8bd060 done 08:42:54 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 08:42:54 #12 DONE 24.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:54 + docker inspect -f . ci-base-image-arm64 08:42:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:54 prd-ubuntu20.04-docker-arm64-4c-16g-26634 does not seem to be running inside a container 08:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/192 -v /w/workspace/device-onvif-camera/192:/w/workspace/device-onvif-camera/192:rw,z -v /w/workspace/device-onvif-camera/192@tmp:/w/workspace/device-onvif-camera/192@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 08:42:56 $ docker top 29d8c925157ffc8343709f8f0b87b2d290934c45aa30f9f82a9156a8ef151f01 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:57 + go version 08:42:57 go version go1.21.0 linux/arm64 [Pipeline] } 08:42:57 $ docker stop --time=1 29d8c925157ffc8343709f8f0b87b2d290934c45aa30f9f82a9156a8ef151f01 08:42:58 $ docker rm -f --volumes 29d8c925157ffc8343709f8f0b87b2d290934c45aa30f9f82a9156a8ef151f01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:59 + docker inspect -f . ci-base-image-arm64 08:42:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:00 prd-ubuntu20.04-docker-arm64-4c-16g-26634 does not seem to be running inside a container 08:43:00 $ 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/192 -v /w/workspace/device-onvif-camera/192:/w/workspace/device-onvif-camera/192:rw,z -v /w/workspace/device-onvif-camera/192@tmp:/w/workspace/device-onvif-camera/192@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 08:43:01 $ docker top 16cefc795abb21e37c5af47f5b33ffab2d82d527617a8c816dc3e90168ed29dd -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/192 [Pipeline] fileExists [Pipeline] sh 08:43:02 + make test 08:43:02 go test ./... -coverprofile=coverage.out ./... 08:43:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:44:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:44:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:44:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.187s coverage: 31.5% of statements 08:44:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.840s coverage: 86.5% of statements 08:44:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:44:37 go vet ./... 08:44:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:44:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:44:59 ./bin/test-attribution-txt.sh [Pipeline] echo 08:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:44:59 $ docker stop --time=1 16cefc795abb21e37c5af47f5b33ffab2d82d527617a8c816dc3e90168ed29dd 08:45:01 $ docker rm -f --volumes 16cefc795abb21e37c5af47f5b33ffab2d82d527617a8c816dc3e90168ed29dd [Pipeline] // withDockerContainer [Pipeline] sh 08:45:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:45:02 Warning: overwriting stash ‘coverage-report’ 08:45:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:45:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:45:04 + ls -al . 08:45:04 total 236 08:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 08:43 . 08:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:40 .. 08:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 08:40 .git 08:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 08:40 .github 08:45:04 -rw-rw-r-- 1 jenkins jenkins 493 Jan 2 08:40 .gitignore 08:45:04 -rw-rw-r-- 1 jenkins jenkins 42 Jan 2 08:40 .golangci.yml 08:45:04 -rw-rw-r-- 1 jenkins jenkins 11155 Jan 2 08:40 Attribution.txt 08:45:04 -rw-rw-r-- 1 jenkins jenkins 17665 Jan 2 08:40 CHANGELOG.md 08:45:04 -rw-rw-r-- 1 jenkins jenkins 1683 Jan 2 08:40 Dockerfile 08:45:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 08:40 GOVERNANCE.md 08:45:04 -rw-rw-r-- 1 jenkins jenkins 739 Jan 2 08:40 Jenkinsfile 08:45:04 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 2 08:40 LICENSE 08:45:04 -rw-rw-r-- 1 jenkins jenkins 2883 Jan 2 08:40 Makefile 08:45:04 -rw-rw-r-- 1 jenkins jenkins 625 Jan 2 08:40 OWNERS.md 08:45:04 -rw-rw-r-- 1 jenkins jenkins 2620 Jan 2 08:40 README.md 08:45:04 -rw-rw-r-- 1 jenkins jenkins 11 Jan 2 08:37 VERSION 08:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 08:40 bin 08:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 08:40 cmd 08:45:04 -rw-r--r-- 1 jenkins jenkins 78456 Jan 2 08:44 coverage.out 08:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:40 doc 08:45:04 -rw-rw-r-- 1 jenkins jenkins 4083 Jan 2 08:40 go.mod 08:45:04 -rw-rw-r-- 1 jenkins jenkins 35189 Jan 2 08:40 go.sum 08:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 08:40 internal 08:45:04 -rw-rw-r-- 1 jenkins jenkins 236 Jan 2 08:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:05 + 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=30f2e04c1e5a9bcedf43d76deea8330b142364ec --label arch=arm64 --label version=3.2.0-dev.7 . 08:45:08 #0 building with "default" instance using docker driver 08:45:08 08:45:08 #1 [internal] load build definition from Dockerfile 08:45:08 #1 transferring dockerfile: 1.72kB done 08:45:08 #1 DONE 0.0s 08:45:08 08:45:08 #2 [internal] load .dockerignore 08:45:08 #2 transferring context: 2B done 08:45:08 #2 DONE 0.0s 08:45:08 08:45:08 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 08:45:08 #3 DONE 0.0s 08:45:08 08:45:08 #4 [internal] load metadata for docker.io/library/alpine:3.18 08:45:08 #4 DONE 0.3s 08:45:08 08:45:08 #5 [internal] load build context 08:45:08 #5 transferring context: 87.31kB 0.1s done 08:45:08 #5 DONE 0.1s 08:45:08 08:45:08 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:45:08 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 08:45:08 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 08:45:08 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 08:45:08 #6 ... 08:45:08 08:45:08 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 08:45:08 #7 DONE 0.3s 08:45:08 08:45:08 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 08:45:08 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 08:45:08 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 08:45:08 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 08:45:08 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 08:45:09 #6 DONE 1.2s 08:45:09 08:45:09 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 08:45:10 #8 0.788 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:10 #8 1.154 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:11 #8 ... 08:45:11 08:45:11 #9 [builder 2/7] RUN apk add --no-cache make git 08:45:11 #9 0.845 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:11 #9 1.317 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:11 #9 2.658 OK: 266 MiB in 52 packages 08:45:11 #9 DONE 3.0s 08:45:11 08:45:11 #10 [builder 3/7] WORKDIR /device-onvif-camera 08:45:11 #10 DONE 0.1s 08:45:11 08:45:11 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 08:45:11 #8 ... 08:45:11 08:45:11 #11 [builder 4/7] COPY go.mod vendor* ./ 08:45:11 #11 DONE 0.2s 08:45:11 08:45:11 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 08:45:11 #8 2.563 (1/1) Installing dumb-init (1.2.5-r2) 08:45:12 #8 2.582 Executing busybox-1.36.1-r5.trigger 08:45:12 #8 2.606 OK: 8 MiB in 16 packages 08:45:12 #8 DONE 3.0s 08:45:12 08:45:12 #12 [stage-1 3/7] RUN apk --no-cache upgrade 08:45:13 #12 1.158 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:45:13 #12 1.539 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:45:14 #12 ... 08:45:14 08:45:14 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:45:14 #13 DONE 2.6s 08:45:14 08:45:14 #14 [builder 6/7] COPY . . 08:45:14 #14 DONE 0.5s 08:45:14 08:45:14 #15 [builder 7/7] RUN make build 08:45:15 #15 ... 08:45:15 08:45:15 #12 [stage-1 3/7] RUN apk --no-cache upgrade 08:45:15 #12 2.839 OK: 8 MiB in 16 packages 08:45:15 #12 DONE 3.2s 08:45:15 08:45:15 #15 [builder 7/7] RUN make build 08:45:16 #15 1.884 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 08:46:53 #15 DONE 85.5s 08:46:53 08:46:53 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 08:46:53 #16 DONE 0.3s 08:46:53 08:46:53 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 08:46:53 #17 DONE 0.1s 08:46:53 08:46:53 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 08:46:53 #18 DONE 0.1s 08:46:53 08:46:53 #19 exporting to image 08:46:53 #19 exporting layers 08:46:53 #19 exporting layers 0.3s done 08:46:53 #19 writing image sha256:6382a69d4e5cff2012015abc8d809dd7ac9f548ca28febd089aa2a94e07d65f1 done 08:46:53 #19 naming to docker.io/library/device-onvif-camera-arm64 done 08:46:53 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:53 provisioning config files... 08:46:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/192@tmp/config4390745207693115768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:54 ---> ****-login.sh 08:46:54 nexus3.edgexfoundry.org:10001 08:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:54 Configure a credential helper to remove this warning. See 08:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:54 08:46:54 Login Succeeded 08:46:54 nexus3.edgexfoundry.org:10002 08:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:54 Configure a credential helper to remove this warning. See 08:46:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:54 08:46:54 Login Succeeded 08:46:54 nexus3.edgexfoundry.org:10003 08:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:55 Configure a credential helper to remove this warning. See 08:46:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:55 08:46:55 Login Succeeded 08:46:55 nexus3.edgexfoundry.org:10004 08:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:55 Configure a credential helper to remove this warning. See 08:46:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:55 08:46:55 Login Succeeded 08:46:55 ****.io 08:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:56 Configure a credential helper to remove this warning. See 08:46:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:56 08:46:56 Login Succeeded 08:46:56 ---> ****-login.sh ends [Pipeline] } 08:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:56 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 08:46:56 30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:46:56 latest 08:46:56 3.2.0-dev.7 08:46:56 30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:46:56 main 08:46:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:46:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:46:57 52f5f32280b4: Preparing 08:46:57 7b517b919aab: Preparing 08:46:57 726fdb11ab7c: Preparing 08:46:57 71362f7df1e0: Preparing 08:46:57 71dfb2690db5: Preparing 08:46:57 0faf9b67be60: Preparing 08:46:57 52f5f32280b4: Pushed 08:46:57 7b517b919aab: Pushed 08:46:57 71362f7df1e0: Pushed 08:46:57 71dfb2690db5: Pushed 08:46:57 0faf9b67be60: Layer already exists 08:47:01 726fdb11ab7c: Pushed 08:47:02 30f2e04c1e5a9bcedf43d76deea8330b142364ec: digest: sha256:92dbe2e2fae9bc7741d15c3620a5b864b81c19f7a729d080540ea5fdacf7139b size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:02 + 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 08:47:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 08:47:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:47:03 52f5f32280b4: Preparing 08:47:03 7b517b919aab: Preparing 08:47:03 726fdb11ab7c: Preparing 08:47:03 71362f7df1e0: Preparing 08:47:03 71dfb2690db5: Preparing 08:47:03 0faf9b67be60: Preparing 08:47:03 0faf9b67be60: Waiting 08:47:03 7b517b919aab: Layer already exists 08:47:03 71dfb2690db5: Layer already exists 08:47:03 52f5f32280b4: Layer already exists 08:47:03 71362f7df1e0: Layer already exists 08:47:03 726fdb11ab7c: Layer already exists 08:47:03 0faf9b67be60: Layer already exists 08:47:03 latest: digest: sha256:92dbe2e2fae9bc7741d15c3620a5b864b81c19f7a729d080540ea5fdacf7139b size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:03 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.7 08:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:47:06 52f5f32280b4: Preparing 08:47:06 7b517b919aab: Preparing 08:47:06 726fdb11ab7c: Preparing 08:47:06 71362f7df1e0: Preparing 08:47:06 71dfb2690db5: Preparing 08:47:06 0faf9b67be60: Preparing 08:47:06 0faf9b67be60: Waiting 08:47:06 71dfb2690db5: Layer already exists 08:47:06 7b517b919aab: Layer already exists 08:47:06 726fdb11ab7c: Layer already exists 08:47:06 71362f7df1e0: Layer already exists 08:47:06 52f5f32280b4: Layer already exists 08:47:06 0faf9b67be60: Layer already exists 08:47:06 3.2.0-dev.7: digest: sha256:92dbe2e2fae9bc7741d15c3620a5b864b81c19f7a729d080540ea5fdacf7139b size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:47:07 52f5f32280b4: Preparing 08:47:07 7b517b919aab: Preparing 08:47:07 726fdb11ab7c: Preparing 08:47:07 71362f7df1e0: Preparing 08:47:07 71dfb2690db5: Preparing 08:47:07 0faf9b67be60: Preparing 08:47:07 0faf9b67be60: Waiting 08:47:07 52f5f32280b4: Layer already exists 08:47:07 71dfb2690db5: Layer already exists 08:47:07 726fdb11ab7c: Layer already exists 08:47:07 7b517b919aab: Layer already exists 08:47:07 71362f7df1e0: Layer already exists 08:47:07 0faf9b67be60: Layer already exists 08:47:07 30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7: digest: sha256:92dbe2e2fae9bc7741d15c3620a5b864b81c19f7a729d080540ea5fdacf7139b size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:08 + 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 08:47:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 08:47:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:47:08 52f5f32280b4: Preparing 08:47:08 7b517b919aab: Preparing 08:47:08 726fdb11ab7c: Preparing 08:47:08 71362f7df1e0: Preparing 08:47:08 71dfb2690db5: Preparing 08:47:08 0faf9b67be60: Preparing 08:47:08 0faf9b67be60: Waiting 08:47:08 52f5f32280b4: Layer already exists 08:47:08 726fdb11ab7c: Layer already exists 08:47:08 7b517b919aab: Layer already exists 08:47:08 71362f7df1e0: Layer already exists 08:47:08 71dfb2690db5: Layer already exists 08:47:08 0faf9b67be60: Layer already exists 08:47:09 main: digest: sha256:92dbe2e2fae9bc7741d15c3620a5b864b81c19f7a729d080540ea5fdacf7139b size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:47:09 ===================================================== [Pipeline] echo 08:47:09 taggedImages: 08:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec 08:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 08:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.7 08:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:30f2e04c1e5a9bcedf43d76deea8330b142364ec-3.2.0-dev.7 08:47:09 - 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 08:47:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:10 08:47:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:10 arm64: Pulling from edgex-lftools-log-publisher 08:47:10 8998bd30e6a1: Pulling fs layer 08:47:10 04944245beec: Pulling fs layer 08:47:10 699f458cf7ca: Pulling fs layer 08:47:10 765212b225bb: Pulling fs layer 08:47:10 f23df028b6ca: Pulling fs layer 08:47:10 d65c8cfc05b1: Pulling fs layer 08:47:10 765212b225bb: Waiting 08:47:10 f23df028b6ca: Waiting 08:47:10 2437ff75d9bd: Pulling fs layer 08:47:10 d65c8cfc05b1: Waiting 08:47:10 2437ff75d9bd: Waiting 08:47:10 04944245beec: Download complete 08:47:10 765212b225bb: Verifying Checksum 08:47:10 765212b225bb: Download complete 08:47:10 f23df028b6ca: Verifying Checksum 08:47:10 f23df028b6ca: Download complete 08:47:10 d65c8cfc05b1: Verifying Checksum 08:47:10 d65c8cfc05b1: Download complete 08:47:11 699f458cf7ca: Verifying Checksum 08:47:11 699f458cf7ca: Download complete 08:47:11 8998bd30e6a1: Verifying Checksum 08:47:11 8998bd30e6a1: Download complete 08:47:13 2437ff75d9bd: Verifying Checksum 08:47:13 2437ff75d9bd: Download complete 08:47:17 8998bd30e6a1: Pull complete 08:47:17 04944245beec: Pull complete 08:47:19 699f458cf7ca: Pull complete 08:47:19 765212b225bb: Pull complete 08:47:20 f23df028b6ca: Pull complete 08:47:20 d65c8cfc05b1: Pull complete 08:47:42 2437ff75d9bd: Pull complete 08:47:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:43 prd-ubuntu20.04-docker-arm64-4c-16g-26634 does not seem to be running inside a container 08:47: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/device-onvif-camera/192 -v /w/workspace/device-onvif-camera/192:/w/workspace/device-onvif-camera/192:rw,z -v /w/workspace/device-onvif-camera/192@tmp:/w/workspace/device-onvif-camera/192@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 08:47:45 $ docker top c438e6f50732692f8a24d81b696d94e98103dc5ee7454ccce2036b33fb522f3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:46 ---> job-cost.sh 08:47:46 lf-activate-venv: SKIPPING 08:47:46 INFO: No Stack... 08:47:46 INFO: Retrieving Pricing Info for: v3-standard-8 08:47:47 INFO: Archiving Costs [Pipeline] sh 08:47:48 + cat /w/workspace/device-onvif-camera/192/archives/cost.csv 08:47:48 + cut -d, -f6 [Pipeline] lock 08:47:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] 08:47:48 Resource [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] did not exist. Created. 08:47:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:47:48 /w/workspace/device-onvif-camera/192@tmp/durable-2abd2970/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:47:48 + echo total: 0.2199999988079071 [Pipeline] stash 08:47:48 Warning: overwriting stash ‘stack-cost’ 08:47:49 Stashed 1 file(s) [Pipeline] } 08:47:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-192-stack-cost] [Pipeline] // lock [Pipeline] } 08:47:49 $ docker stop --time=1 c438e6f50732692f8a24d81b696d94e98103dc5ee7454ccce2036b33fb522f3b 08:47:51 $ docker rm -f --volumes c438e6f50732692f8a24d81b696d94e98103dc5ee7454ccce2036b33fb522f3b [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 08:47:52 provisioning config files... 08:47:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16392454076812771780tmp [Pipeline] { [Pipeline] sh 08:47:52 + set +x 08:47:52 + curl -s https://codecov.io/bash 08:47:52 + bash -s -- 08:47:52 08:47:52 _____ _ 08:47:52 / ____| | | 08:47:52 | | ___ __| | ___ ___ _____ __ 08:47:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:47:52 | |___| (_) | (_| | __/ (_| (_) \ V / 08:47:52 \_____\___/ \__,_|\___|\___\___/ \_/ 08:47:52 Bash-1.0.6 08:47:52 08:47:52 08:47:52 ==> git version 2.25.1 found 08:47:52 ==> 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 08:47:52 Release-Date: 2020-01-08 08:47:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:47:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:47:52 ==> Jenkins CI detected. 08:47:52 current dir:  /w/workspace/foundry_device-onvif-camera_main 08:47:52 project root: . 08:47:52 --> token set from env 08:47:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:47:52 ==> Running gcov in . (disable via -X gcov) 08:47:52 ==> Python coveragepy not found 08:47:52 ==> Searching for coverage reports in: 08:47:52 + . 08:47:52 -> Found 1 reports 08:47:52 ==> Detecting git/mercurial file structure 08:47:52 ==> Reading reports 08:47:52 + ./coverage.out bytes=78456 08:47:52 ==> Appending adjustments 08:47:52 https://docs.codecov.io/docs/fixing-reports 08:47:53 + Found adjustments 08:47:53 ==> Gzipping contents 08:47:53 12K /tmp/codecov.B0DLlz.gz 08:47:53 ==> Uploading reports 08:47:53 url: https://codecov.io 08:47:53 query: branch=main&commit=30f2e04c1e5a9bcedf43d76deea8330b142364ec&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 08:47:53 -> Pinging Codecov 08:47:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=30f2e04c1e5a9bcedf43d76deea8330b142364ec&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F192%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 08:47:53 -> Uploading to 08:47:53 https://storage.googleapis.com/codecov/v4/raw/2024-01-02/F29A59C45E3A92E06B3E522C9905F8EF/30f2e04c1e5a9bcedf43d76deea8330b142364ec/17689470-8518-4676-a269-58b00f6029a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240102T084753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=395cad9f591b51c8ea2509e9e25db9213ceaa0699e24974fffe9e73bdc1a98da 08:47:53 % Total % Received % Xferd Average Speed Time Time Time Current 08:47:53 Dload Upload Total Spent Left Speed 08:47:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 41019 --:--:-- --:--:-- --:--:-- 41019 08:47:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] } 08:47:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:47:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:47:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:47:54 08:47:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:47:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:47:54 df9b9388f04a: Pulling fs layer 08:47:54 52dc419b0ee2: Pulling fs layer 08:47:54 25bc292e5bac: Pulling fs layer 08:47:54 114826534d7a: Pulling fs layer 08:47:54 4657fd5d0bcf: Pulling fs layer 08:47:54 6ad1cebc031e: Pulling fs layer 08:47:54 8a3aa393b2d8: Pulling fs layer 08:47:54 4657fd5d0bcf: Waiting 08:47:54 6ad1cebc031e: Waiting 08:47:54 114826534d7a: Waiting 08:47:54 25bc292e5bac: Verifying Checksum 08:47:54 25bc292e5bac: Download complete 08:47:54 52dc419b0ee2: Verifying Checksum 08:47:54 52dc419b0ee2: Download complete 08:47:54 4657fd5d0bcf: Verifying Checksum 08:47:54 4657fd5d0bcf: Download complete 08:47:54 df9b9388f04a: Download complete 08:47:55 6ad1cebc031e: Verifying Checksum 08:47:55 6ad1cebc031e: Download complete 08:47:55 df9b9388f04a: Pull complete 08:47:55 52dc419b0ee2: Pull complete 08:47:55 25bc292e5bac: Pull complete 08:47:55 114826534d7a: Verifying Checksum 08:47:55 114826534d7a: Download complete 08:47:55 8a3aa393b2d8: Download complete 08:47:58 114826534d7a: Pull complete 08:47:58 4657fd5d0bcf: Pull complete 08:47:59 6ad1cebc031e: Pull complete 08:48:01 8a3aa393b2d8: Pull complete 08:48:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:48:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:02 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:48:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:48:07 $ docker top ddeabbaff73f61e5bf9a6af41f1c9d9997a936891a4a1fff74b4a7653a1f5a78 -eo pid,comm [Pipeline] { [Pipeline] echo 08:48:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 08:48:07 + set -o pipefail 08:48:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 08:48:14 08:48:14 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 08:48:14 08:48:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/5679aa7c-b3d0-44e3-a48e-89a3d05b31e4 08:48:14 08:48:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:48:14 08:48:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:48:14 08:48:14 08:48:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:48:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:48:14 More details here: https://snyk.co/ue1NS 08:48:14 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 08:48:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:48:14 $ docker stop --time=1 ddeabbaff73f61e5bf9a6af41f1c9d9997a936891a4a1fff74b4a7653a1f5a78 08:48:19 $ docker rm -f --volumes ddeabbaff73f61e5bf9a6af41f1c9d9997a936891a4a1fff74b4a7653a1f5a78 [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 08:48:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:20 provisioning config files... 08:48:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16668808517858019470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:21 --> edgex-publish-swagger.sh 08:48:21 === Publish doc/openapi/v3 API === 08:48:21 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 08:48:21 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 08:48:21 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:21 Dload Upload Total Spent Left Speed 08:48:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 3112k --:--:-- --:--:-- --:--:-- 3092k 100 485k 0 0 100 485k 0 391k 0:00:01 0:00:01 --:--:-- 390k 100 485k 0 0 100 485k 0 216k 0:00:02 0:00:02 --:--:-- 216k 100 485k 100 180 100 485k 75 202k 0:00:02 0:00:02 --:--:-- 202k 08:48:23 {"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":{}} 08:48:23 [Pipeline] } 08:48:23 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 08:48:24 + git log --format=format:%s -1 30f2e04c1e5a9bcedf43d76deea8330b142364ec [Pipeline] sh 08:48:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:25 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:48:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:48:25 $ docker top 73408d77931d229884edd239842aee63c75ed1cfda33bff7927acca3048af9e2 -eo pid,comm 08:48:25 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). 08:48:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:25 [ssh-agent] Looking for ssh-agent implementation... 08:48:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:25 $ docker exec 73408d77931d229884edd239842aee63c75ed1cfda33bff7927acca3048af9e2 ssh-agent 08:48:26 SSH_AUTH_SOCK=/tmp/ssh-KYZ3hwuGGPPp/agent.31 08:48:26 SSH_AGENT_PID=37 08:48:26 Running ssh-add (command line suppressed) 08:48:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14227090797508198371.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14227090797508198371.key) 08:48:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:26 + git semver tag 08:48:26 2024-01-02 08:48:26,686 [run_tag] DEBUG tag force:False 08:48:26 2024-01-02 08:48:26,686 [check_head_tag] DEBUG check head tag 08:48:26 2024-01-02 08:48:26,687 [execute] INFO git cat-file --batch-check 08:48:26 2024-01-02 08:48:26,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 08:48:26 2024-01-02 08:48:26,690 [execute] INFO git cat-file --batch 08:48:26 2024-01-02 08:48:26,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 08:48:26 2024-01-02 08:48:26,704 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:26 2024-01-02 08:48:26,704 [execute] INFO git tag -a v3.2.0-dev.7 -m v3.2.0-dev.7 08:48:26 2024-01-02 08:48:26,704 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.7', '-m', 'v3.2.0-dev.7'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 08:48:26 2024-01-02 08:48:26,709 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:26 3.2.0-dev.7 [Pipeline] } 08:48:26 $ docker exec --env ******** --env ******** 73408d77931d229884edd239842aee63c75ed1cfda33bff7927acca3048af9e2 ssh-agent -k 08:48:26 unset SSH_AUTH_SOCK; 08:48:26 unset SSH_AGENT_PID; 08:48:26 echo Agent pid 37 killed; 08:48:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:27 + git semver [Pipeline] } 08:48:27 $ docker stop --time=1 73408d77931d229884edd239842aee63c75ed1cfda33bff7927acca3048af9e2 08:48:28 $ docker rm -f --volumes 73408d77931d229884edd239842aee63c75ed1cfda33bff7927acca3048af9e2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:29 08:48:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:30 0.23.1-centos7: Pulling from edgex-lftools 08:48:30 ab5ef0e58194: Pulling fs layer 08:48:30 9712f1f96733: Pulling fs layer 08:48:30 63f879dbbcfc: Pulling fs layer 08:48:30 0d9ebad4ef96: Pulling fs layer 08:48:30 e9a5061849ea: Pulling fs layer 08:48:30 d747dcd14b5f: Pulling fs layer 08:48:30 2de7ff778b66: Pulling fs layer 08:48:30 e9a5061849ea: Waiting 08:48:30 2de7ff778b66: Waiting 08:48:30 0d9ebad4ef96: Waiting 08:48:30 9712f1f96733: Verifying Checksum 08:48:30 9712f1f96733: Download complete 08:48:30 63f879dbbcfc: Verifying Checksum 08:48:30 63f879dbbcfc: Download complete 08:48:30 0d9ebad4ef96: Verifying Checksum 08:48:30 0d9ebad4ef96: Download complete 08:48:30 ab5ef0e58194: Verifying Checksum 08:48:30 ab5ef0e58194: Download complete 08:48:30 d747dcd14b5f: Verifying Checksum 08:48:30 d747dcd14b5f: Download complete 08:48:30 e9a5061849ea: Verifying Checksum 08:48:30 e9a5061849ea: Download complete 08:48:30 2de7ff778b66: Verifying Checksum 08:48:30 2de7ff778b66: Download complete 08:48:33 ab5ef0e58194: Pull complete 08:48:33 9712f1f96733: Pull complete 08:48:33 63f879dbbcfc: Pull complete 08:48:37 0d9ebad4ef96: Pull complete 08:48:37 e9a5061849ea: Pull complete 08:48:37 d747dcd14b5f: Pull complete 08:48:38 2de7ff778b66: Pull complete 08:48:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:39 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:48:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:48:45 $ docker top 553a2ea097790e593dddd04761de896994b309b776bd957fb539485042361076 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:48:46 provisioning config files... 08:48:46 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9811602421047569064tmp 08:48:46 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11244234450581995543tmp 08:48:46 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16061841478862994619tmp [Pipeline] { [Pipeline] echo 08:48:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:48:46 ---> sigul-configuration.sh 08:48:46 gpg: directory `/root/.gnupg' created 08:48:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:48:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:48:46 gpg: keyring `/root/.gnupg/secring.gpg' created 08:48:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:48:46 gpg: CAST5 encrypted data 08:48:46 gpg: encrypted with 1 passphrase 08:48:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:48:46 + mkdir /home/jenkins 08:48:46 + mkdir /home/jenkins/sigul [Pipeline] sh 08:48:47 + 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 08:48:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:48:47 ---> sigul-install.sh 08:48:47 Sigul already installed; skipping installation. [Pipeline] sh 08:48:47 + git tag --list 08:48:47 v0.0.0 08:48:47 v2.2.0 08:48:47 v2.3.0 08:48:47 v2.3.1 08:48:47 v3.0 08:48:47 v3.0.0 08:48:47 v3.1 08:48:47 v3.1.0 08:48:47 v3.1.0-dev.1 08:48:47 v3.1.0-dev.10 08:48:47 v3.1.0-dev.11 08:48:47 v3.1.0-dev.12 08:48:47 v3.1.0-dev.13 08:48:47 v3.1.0-dev.14 08:48:47 v3.1.0-dev.15 08:48:47 v3.1.0-dev.16 08:48:47 v3.1.0-dev.17 08:48:47 v3.1.0-dev.18 08:48:47 v3.1.0-dev.19 08:48:47 v3.1.0-dev.2 08:48:47 v3.1.0-dev.20 08:48:47 v3.1.0-dev.21 08:48:47 v3.1.0-dev.22 08:48:47 v3.1.0-dev.23 08:48:47 v3.1.0-dev.24 08:48:47 v3.1.0-dev.25 08:48:47 v3.1.0-dev.26 08:48:47 v3.1.0-dev.27 08:48:47 v3.1.0-dev.28 08:48:47 v3.1.0-dev.3 08:48:47 v3.1.0-dev.4 08:48:47 v3.1.0-dev.5 08:48:47 v3.1.0-dev.6 08:48:47 v3.1.0-dev.7 08:48:47 v3.1.0-dev.8 08:48:47 v3.1.0-dev.9 08:48:47 v3.2.0-dev.1 08:48:47 v3.2.0-dev.2 08:48:47 v3.2.0-dev.3 08:48:47 v3.2.0-dev.4 08:48:47 v3.2.0-dev.5 08:48:47 v3.2.0-dev.6 08:48:47 v3.2.0-dev.7 [Pipeline] sh 08:48:48 + lftools sign git-tag v3.2.0-dev.7 08:48:48 Signing Git tag with Sigul... 08:48:48 Signing v3.2.0-dev.7 [Pipeline] echo 08:48:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:48:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:48:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:48:49 $ docker stop --time=1 553a2ea097790e593dddd04761de896994b309b776bd957fb539485042361076 08:48:51 $ docker rm -f --volumes 553a2ea097790e593dddd04761de896994b309b776bd957fb539485042361076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:48:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:52 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:48:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:48:53 $ docker top e55e33f8610124c578397d5d10f584977e5f2514b3150f65dfde102ff7ea4eb3 -eo pid,comm 08:48:53 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). 08:48:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:53 [ssh-agent] Looking for ssh-agent implementation... 08:48:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:53 $ docker exec e55e33f8610124c578397d5d10f584977e5f2514b3150f65dfde102ff7ea4eb3 ssh-agent 08:48:53 SSH_AUTH_SOCK=/tmp/ssh-JItrnj4gs2gq/agent.32 08:48:53 SSH_AGENT_PID=38 08:48:53 Running ssh-add (command line suppressed) 08:48:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15158917406038506744.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15158917406038506744.key) 08:48:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:54 + git semver bump pre 08:48:54 2024-01-02 08:48:54,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:54 2024-01-02 08:48:54,258 [bump_version] DEBUG bumping version:3.2.0-dev.7 on axis:pre with prefix:dev 08:48:54 2024-01-02 08:48:54,259 [bump_version] DEBUG bumped version:3.2.0-dev.8 08:48:54 2024-01-02 08:48:54,259 [write_version] DEBUG write version:3.2.0-dev.8 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 08:48:54 2024-01-02 08:48:54,259 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:54 2024-01-02 08:48:54,259 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:54 2024-01-02 08:48:54,261 [execute] INFO git cat-file --batch-check 08:48:54 2024-01-02 08:48:54,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:54 2024-01-02 08:48:54,265 [execute] INFO git cat-file --batch 08:48:54 2024-01-02 08:48:54,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:54 2024-01-02 08:48:54,269 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:48:54 3.2.0-dev.8 [Pipeline] } 08:48:54 $ docker exec --env ******** --env ******** e55e33f8610124c578397d5d10f584977e5f2514b3150f65dfde102ff7ea4eb3 ssh-agent -k 08:48:54 unset SSH_AUTH_SOCK; 08:48:54 unset SSH_AGENT_PID; 08:48:54 echo Agent pid 38 killed; 08:48:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:55 + git semver [Pipeline] } 08:48:55 $ docker stop --time=1 e55e33f8610124c578397d5d10f584977e5f2514b3150f65dfde102ff7ea4eb3 08:48:56 $ docker rm -f --volumes e55e33f8610124c578397d5d10f584977e5f2514b3150f65dfde102ff7ea4eb3 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:57 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:48:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:48:58 $ docker top 5c37744aee02af3a10d5073ae53f71173d4334d6816897dad64127b9c441e476 -eo pid,comm 08:48:58 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). 08:48:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:58 [ssh-agent] Looking for ssh-agent implementation... 08:48:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:58 $ docker exec 5c37744aee02af3a10d5073ae53f71173d4334d6816897dad64127b9c441e476 ssh-agent 08:48:58 SSH_AUTH_SOCK=/tmp/ssh-vucZJUWBu07Q/agent.32 08:48:58 SSH_AGENT_PID=38 08:48:58 Running ssh-add (command line suppressed) 08:48:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13925309802079869792.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13925309802079869792.key) 08:48:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:59 + git semver push 08:48:59 2024-01-02 08:48:59,472 [run_push] DEBUG push 08:48:59 2024-01-02 08:48:59,473 [execute] INFO git cat-file --batch-check 08:48:59 2024-01-02 08:48:59,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:59 2024-01-02 08:48:59,477 [execute] INFO git rev-list ebac1bf12870350d873373b4a8fe31d9a9c62cb1 -- 08:48:59 2024-01-02 08:48:59,477 [execute] DEBUG Popen(['git', 'rev-list', 'ebac1bf12870350d873373b4a8fe31d9a9c62cb1', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 08:48:59 2024-01-02 08:48:59,488 [execute] INFO git fetch -v origin 08:48:59 2024-01-02 08:48:59,488 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 08:49:00 2024-01-02 08:49:00,017 [run_push] DEBUG no remote changes detected 08:49:00 2024-01-02 08:49:00,018 [execute] INFO git push origin semver 08:49:00 2024-01-02 08:49:00,018 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 08:49:01 2024-01-02 08:49:00,781 [run_push] DEBUG push all version tags 08:49:01 2024-01-02 08:49:00,782 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:49:01 2024-01-02 08:49:00,782 [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) 08:49:01 2024-01-02 08:49:01,507 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:49:01 3.2.0-dev.8 [Pipeline] } 08:49:01 $ docker exec --env ******** --env ******** 5c37744aee02af3a10d5073ae53f71173d4334d6816897dad64127b9c441e476 ssh-agent -k 08:49:01 unset SSH_AUTH_SOCK; 08:49:01 unset SSH_AGENT_PID; 08:49:01 echo Agent pid 38 killed; 08:49:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:49:02 + git semver [Pipeline] } 08:49:02 $ docker stop --time=1 5c37744aee02af3a10d5073ae53f71173d4334d6816897dad64127b9c441e476 08:49:03 $ docker rm -f --volumes 5c37744aee02af3a10d5073ae53f71173d4334d6816897dad64127b9c441e476 [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 08:49:05 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 08:49:05 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 08:49:05 total 16 08:49:05 drwxr-xr-x 3 root root 4096 Jan 2 08:39 . 08:49:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 08:48 .. 08:49:05 drwxr-xr-x 2 root root 4096 Jan 2 08:39 cost 08:49:05 -rw-r--r-- 1 root root 91 Jan 2 08:39 cost.csv 08:49:05 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 08:49:05 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 08:49:05 total 16 08:49:05 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 08:39 . 08:49:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 08:48 .. 08:49:05 drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 08:39 cost 08:49:05 -rw-r--r-- 1 jenkins jenkins 91 Jan 2 08:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:49:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:49:06 ---> package-listing.sh 08:49:06 ++ facter osfamily 08:49:06 ++ tr '[:upper:]' '[:lower:]' 08:49:06 + OS_FAMILY=debian 08:49:06 + workspace=/w/workspace/foundry_device-onvif-camera_main 08:49:06 + START_PACKAGES=/tmp/packages_start.txt 08:49:06 + END_PACKAGES=/tmp/packages_end.txt 08:49:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:49:06 + PACKAGES=/tmp/packages_start.txt 08:49:06 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 08:49:06 + PACKAGES=/tmp/packages_end.txt 08:49:06 + case "${OS_FAMILY}" in 08:49:06 + dpkg -l 08:49:06 + grep '^ii' 08:49:06 + '[' -f /tmp/packages_start.txt ']' 08:49:06 + '[' -f /tmp/packages_end.txt ']' 08:49:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:49:06 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 08:49:06 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 08:49:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 08:49:06 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 08:49:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:49:07 prd-ubuntu20.04-docker-8c-8g-26628 does not seem to be running inside a container 08:49:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:49:08 $ docker top dc0de3bcf840c6b64e441108418570a958c066d86b234b70a6c4d344c0d7eb8c -eo pid,comm [Pipeline] { [Pipeline] sh 08:49:08 + touch /tmp/pre-build-complete [Pipeline] sh 08:49:08 + mkdir -p /var/log/sysstat [Pipeline] sh 08:49:09 + ls /var/log/sa-host 08:49:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:09 provisioning config files... 08:49:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10831568630683515959tmp [Pipeline] { [Pipeline] echo 08:49:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:49:09 ---> create-netrc.sh [Pipeline] } 08:49:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:49:10 ---> python-tools-install.sh [Pipeline] echo 08:49:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:49:10 ---> sudo-logs.sh 08:49:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:49:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:49:10 ---> job-cost.sh 08:49:10 lf-activate-venv: SKIPPING 08:49:10 DEBUG: total: 0.2199999988079071 08:49:10 INFO: Retrieving Stack Cost... 08:49:11 INFO: Retrieving Pricing Info for: v3-standard-8 08:49:11 INFO: Archiving Costs [Pipeline] echo 08:49:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:49:12 ---> logs-deploy.sh 08:49:12 lf-activate-venv: SKIPPING 08:49:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/192 08:49:12 INFO: archiving workspace using pattern(s): 08:49:13 Archives upload complete. 08:49:13 INFO: archiving logs to Nexus