Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 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-ssh10642713453623542308.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-ssh1571530688992386487.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-ssh15538736688010683694.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-ssh687435515964024142.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-ssh3308014699582492218.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24689 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 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418)" > 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 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 # timeout=10 > git rev-list --no-walk 5c31a42961058bd23b8ccbd80479928550a3acc6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:28:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:28:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:28:01 ========================================================= 04:28:01 EdgeX Global Pipelines Version Info 04:28:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:28:02 ------------------- 04:28:02 stable info: 04:28:02 ------------------- 04:28:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:28:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:28:02 Message: update stable to v1.0.258 04:28:02 ------------------- 04:28:02 experimental info: 04:28:02 ------------------- 04:28:02 Commited By: **** collab-it+edgex@linuxfoundation.org 04:28:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:28:02 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3c384b [Pipeline] echo 04:28:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:03 provisioning config files... 04:28:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1866470651745032383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:04 ---> ****-login.sh 04:28:04 nexus3.edgexfoundry.org:10001 04:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:04 Configure a credential helper to remove this warning. See 04:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:04 04:28:04 Login Succeeded 04:28:04 nexus3.edgexfoundry.org:10002 04:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:04 Configure a credential helper to remove this warning. See 04:28:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:04 04:28:04 Login Succeeded 04:28:04 nexus3.edgexfoundry.org:10003 04:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:05 Configure a credential helper to remove this warning. See 04:28:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:05 04:28:05 Login Succeeded 04:28:05 nexus3.edgexfoundry.org:10004 04:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:05 Configure a credential helper to remove this warning. See 04:28:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:05 04:28:05 Login Succeeded 04:28:05 ****.io 04:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:05 Configure a credential helper to remove this warning. See 04:28:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:05 04:28:05 Login Succeeded 04:28:05 ---> ****-login.sh ends [Pipeline] } 04:28:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:28:06 + git rev-list -1 --merges b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9~1..b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] echo 04:28:06 -----------> git rev-list -1 --merges b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9~1..b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [false] [Pipeline] sh 04:28:06 + git log --format=format:%s -1 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] echo 04:28:06 ========================================================= 04:28:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:28:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:06 + git log --format=format:%s -1 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] echo 04:28:06 [semverPrep] GIT_COMMIT: b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418) [Pipeline] echo 04:28:06 [semverPrep] This is not a build commit. [Pipeline] sh 04:28:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:07 + grep -v github /etc/ssh/ssh_known_hosts 04:28:07 + [ -e /tmp/ssh_known_hosts ] 04:28:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:28:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:28:07 + sudo tee -a /etc/ssh/ssh_known_hosts 04:28:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:07 04:28:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:08 0.1.4: Pulling from edgex-devops/py-git-semver 04:28:08 b85a868b505f: Pulling fs layer 04:28:08 e2be974225ed: Pulling fs layer 04:28:08 339a4e72a1f5: Pulling fs layer 04:28:08 988bab9f4d93: Pulling fs layer 04:28:08 1469e6f7b9e6: Pulling fs layer 04:28:08 eaf3925da568: Pulling fs layer 04:28:08 bab4dde63d76: Pulling fs layer 04:28:08 bde34c3a00c8: Pulling fs layer 04:28:08 b352a97aabf1: Pulling fs layer 04:28:08 4872d77fe225: Pulling fs layer 04:28:08 5851b861e8e6: Pulling fs layer 04:28:08 bab4dde63d76: Waiting 04:28:08 bde34c3a00c8: Waiting 04:28:08 b352a97aabf1: Waiting 04:28:08 4872d77fe225: Waiting 04:28:08 5851b861e8e6: Waiting 04:28:08 eaf3925da568: Waiting 04:28:08 1469e6f7b9e6: Waiting 04:28:08 988bab9f4d93: Waiting 04:28:08 e2be974225ed: Download complete 04:28:08 988bab9f4d93: Verifying Checksum 04:28:08 988bab9f4d93: Download complete 04:28:08 1469e6f7b9e6: Verifying Checksum 04:28:08 1469e6f7b9e6: Download complete 04:28:08 339a4e72a1f5: Verifying Checksum 04:28:08 339a4e72a1f5: Download complete 04:28:08 eaf3925da568: Verifying Checksum 04:28:08 eaf3925da568: Download complete 04:28:08 bde34c3a00c8: Download complete 04:28:08 b352a97aabf1: Download complete 04:28:08 4872d77fe225: Download complete 04:28:08 b85a868b505f: Download complete 04:28:08 5851b861e8e6: Verifying Checksum 04:28:08 5851b861e8e6: Download complete 04:28:08 bab4dde63d76: Verifying Checksum 04:28:08 bab4dde63d76: Download complete 04:28:09 b85a868b505f: Pull complete 04:28:09 e2be974225ed: Pull complete 04:28:10 339a4e72a1f5: Pull complete 04:28:10 988bab9f4d93: Pull complete 04:28:10 1469e6f7b9e6: Pull complete 04:28:10 eaf3925da568: Pull complete 04:28:12 bab4dde63d76: Pull complete 04:28:12 bde34c3a00c8: Pull complete 04:28:12 b352a97aabf1: Pull complete 04:28:12 4872d77fe225: Pull complete 04:28:12 5851b861e8e6: Pull complete 04:28:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:28:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:13 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:28:13 $ 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 04:28:16 $ docker top a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 -eo pid,comm 04:28:16 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). 04:28:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:17 [ssh-agent] Looking for ssh-agent implementation... 04:28:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:17 $ docker exec a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 ssh-agent 04:28:17 SSH_AUTH_SOCK=/tmp/ssh-kpURQaEVRvvS/agent.32 04:28:17 SSH_AGENT_PID=38 04:28:17 Running ssh-add (command line suppressed) 04:28:17 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9825720813030629637.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9825720813030629637.key) 04:28:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:17 + git tag --points-at HEAD [Pipeline] } 04:28:17 $ docker exec --env ******** --env ******** a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 ssh-agent -k 04:28:17 unset SSH_AUTH_SOCK; 04:28:17 unset SSH_AGENT_PID; 04:28:17 echo Agent pid 38 killed; 04:28:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:17 [ssh-agent] Looking for ssh-agent implementation... 04:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:18 $ docker exec a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 ssh-agent 04:28:18 SSH_AUTH_SOCK=/tmp/ssh-NAfmbQmCJkFT/agent.70 04:28:18 SSH_AGENT_PID=76 04:28:18 Running ssh-add (command line suppressed) 04:28:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12651463045518913062.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12651463045518913062.key) 04:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:18 + git semver init 04:28:18 2023-12-08 04:28:18,766 [run_init] DEBUG init version:0.0.0 force:False 04:28:18 2023-12-08 04:28:18,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:28:18 2023-12-08 04:28:18,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:28:18 2023-12-08 04:28:18,767 [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) 04:28:20 2023-12-08 04:28:20,200 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:28:20 2023-12-08 04:28:20,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:28:20 2023-12-08 04:28:20,201 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:28:20 2023-12-08 04:28:20,201 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:28:20 3.2.0-dev.4 [Pipeline] } 04:28:20 $ docker exec --env ******** --env ******** a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 ssh-agent -k 04:28:20 unset SSH_AUTH_SOCK; 04:28:20 unset SSH_AGENT_PID; 04:28:20 echo Agent pid 76 killed; 04:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:20 + git semver [Pipeline] } 04:28:21 $ docker stop --time=1 a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 04:28:22 $ docker rm -f --volumes a8a7521ce90bb3a2746a25cdf6a4f457fab864f89be438c91afc2098edd8e850 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:28:22 Stashed 1 file(s) [Pipeline] echo 04:28:22 [edgeXSemver]: initialized semver on version 3.2.0-dev.4 [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 04:28:23 provisioning config files... 04:28:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6115836343997234361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:23 ---> ****-login.sh 04:28:23 nexus3.edgexfoundry.org:10001 04:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:23 Configure a credential helper to remove this warning. See 04:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:23 04:28:23 Login Succeeded 04:28:23 nexus3.edgexfoundry.org:10002 04:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:23 Configure a credential helper to remove this warning. See 04:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:23 04:28:23 Login Succeeded 04:28:23 nexus3.edgexfoundry.org:10003 04:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:23 Configure a credential helper to remove this warning. See 04:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:23 04:28:23 Login Succeeded 04:28:23 nexus3.edgexfoundry.org:10004 04:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:23 Configure a credential helper to remove this warning. See 04:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:23 04:28:23 Login Succeeded 04:28:23 ****.io 04:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:28:24 Configure a credential helper to remove this warning. See 04:28:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:28:24 04:28:24 Login Succeeded 04:28:24 ---> ****-login.sh ends [Pipeline] } 04:28:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:28:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:28:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:28:24 ========================================================= 04:28:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:28:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:24 + 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 . 04:28:24 Sending build context to Docker daemon 34.17MB 04:28:24 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:28:24 Step 2/13 : FROM ${BASE} AS builder 04:28:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:28:25 7264a8db6415: Pulling fs layer 04:28:25 c4d48a809fc2: Pulling fs layer 04:28:25 4f1c88b9dad5: Pulling fs layer 04:28:25 ad3a456e5733: Pulling fs layer 04:28:25 69c7f0334f64: Pulling fs layer 04:28:25 1f1c1a5573a3: Pulling fs layer 04:28:25 ce7588e14bc9: Pulling fs layer 04:28:25 b5e4710f87ac: Pulling fs layer 04:28:25 ce7588e14bc9: Waiting 04:28:25 b5e4710f87ac: Waiting 04:28:25 69c7f0334f64: Waiting 04:28:25 1f1c1a5573a3: Waiting 04:28:25 ad3a456e5733: Waiting 04:28:25 c4d48a809fc2: Verifying Checksum 04:28:25 c4d48a809fc2: Download complete 04:28:25 ad3a456e5733: Verifying Checksum 04:28:25 ad3a456e5733: Download complete 04:28:25 69c7f0334f64: Verifying Checksum 04:28:25 69c7f0334f64: Download complete 04:28:25 7264a8db6415: Verifying Checksum 04:28:25 7264a8db6415: Download complete 04:28:25 1f1c1a5573a3: Verifying Checksum 04:28:25 1f1c1a5573a3: Download complete 04:28:25 7264a8db6415: Pull complete 04:28:25 b5e4710f87ac: Verifying Checksum 04:28:25 b5e4710f87ac: Download complete 04:28:25 c4d48a809fc2: Pull complete 04:28:25 4f1c88b9dad5: Verifying Checksum 04:28:25 4f1c88b9dad5: Download complete 04:28:25 ce7588e14bc9: Verifying Checksum 04:28:25 ce7588e14bc9: Download complete 04:28:29 4f1c88b9dad5: Pull complete 04:28:29 ad3a456e5733: Pull complete 04:28:29 69c7f0334f64: Pull complete 04:28:29 1f1c1a5573a3: Pull complete 04:28:31 ce7588e14bc9: Pull complete 04:28:31 b5e4710f87ac: Pull complete 04:28:31 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:28:31 ---> 88b5674ff536 04:28:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:28:37 ---> Running in 1520e90bd931 04:28:37 Removing intermediate container 1520e90bd931 04:28:37 ---> e85573e4ee54 04:28:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:37 ---> Running in 2c5dd43c43e0 04:28:37 Removing intermediate container 2c5dd43c43e0 04:28:37 ---> aab06d59a05d 04:28:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:28:37 ---> Running in b4f0e3c90575 04:28:37 Removing intermediate container b4f0e3c90575 04:28:37 ---> fe784ea57b33 04:28:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:28:37 ---> Running in 325f71086e9f 04:28:37 Removing intermediate container 325f71086e9f 04:28:37 ---> 0a9a8ef374a8 04:28:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:28:37 ---> Running in 63ddb713f700 04:28:37 Removing intermediate container 63ddb713f700 04:28:37 ---> 35cdac349da3 04:28:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:37 ---> Running in d92aabd0f1e9 04:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:28:38 OK: 264 MiB in 52 packages 04:28:38 Still waiting to schedule task 04:28:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:28:38 Removing intermediate container d92aabd0f1e9 04:28:38 ---> 721866af39dd 04:28:38 Step 9/13 : WORKDIR /device-onvif-camera 04:28:38 ---> Running in 681bb954c5a2 04:28:38 Removing intermediate container 681bb954c5a2 04:28:38 ---> 690f3c654ee0 04:28:38 Step 10/13 : COPY go.mod vendor* ./ 04:28:38 ---> ccc6686f88ab 04:28:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:38 ---> Running in 5e1f9561be23 04:29:36 Removing intermediate container 5e1f9561be23 04:29:36 ---> f361cbe2a30c 04:29:36 Step 12/13 : COPY . . 04:29:36 ---> be87e5d525ad 04:29:36 Step 13/13 : RUN ${MAKE} 04:29:36 ---> Running in 6be47efbc834 04:29:36 noop 04:29:37 Removing intermediate container 6be47efbc834 04:29:37 ---> d8754900442f 04:29:37 Successfully built d8754900442f 04:29:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:37 + docker inspect -f . ci-base-image-x86_64 04:29:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:37 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:29:37 $ 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 04:29:38 $ docker top f50a27a195d91db77ec2b6c5438b360ec33064b0cb7391af7c06916c0ab681b1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:38 + go version 04:29:38 go version go1.21.0 linux/amd64 [Pipeline] } 04:29:38 $ docker stop --time=1 f50a27a195d91db77ec2b6c5438b360ec33064b0cb7391af7c06916c0ab681b1 04:29:39 $ docker rm -f --volumes f50a27a195d91db77ec2b6c5438b360ec33064b0cb7391af7c06916c0ab681b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:40 + docker inspect -f . ci-base-image-x86_64 04:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:40 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:29:40 $ 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 04:29:41 $ docker top 5a5f1c99114894242c23f3d7b5d0d116d578a2736486d04099a7a54ecc4f2170 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:41 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:29:41 + make test 04:29:41 go test ./... -coverprofile=coverage.out ./... 04:29:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:29:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:29:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:30:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements 04:30:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.128s coverage: 86.5% of statements 04:30:09 go vet ./... 04:30:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24691 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:30:10 Running in /w/workspace/device-onvif-camera/189 [Pipeline] { [Pipeline] checkout 04:30:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:30:12 ./bin/test-attribution-txt.sh 04:30:13 The recommended git tool is: git [Pipeline] echo 04:30:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:30:13 $ docker stop --time=1 5a5f1c99114894242c23f3d7b5d0d116d578a2736486d04099a7a54ecc4f2170 04:30:16 $ docker rm -f --volumes 5a5f1c99114894242c23f3d7b5d0d116d578a2736486d04099a7a54ecc4f2170 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:30:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:30:17 + ls -al . 04:30:17 total 240 04:30:17 drwxrwxr-x 9 jenkins jenkins 4096 Dec 8 04:29 . 04:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:27 .. 04:30:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 04:30 .git 04:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 04:28 .github 04:30:17 -rw-rw-r-- 1 jenkins jenkins 493 Dec 8 04:28 .gitignore 04:30:17 -rw-rw-r-- 1 jenkins jenkins 42 Dec 8 04:28 .golangci.yml 04:30:17 drwxr-xr-x 3 jenkins jenkins 4096 Dec 8 04:28 .semver 04:30:17 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 8 04:28 Attribution.txt 04:30:17 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 8 04:28 CHANGELOG.md 04:30:17 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 8 04:28 Dockerfile 04:30:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 8 04:28 GOVERNANCE.md 04:30:17 -rw-rw-r-- 1 jenkins jenkins 739 Dec 8 04:28 Jenkinsfile 04:30:17 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 8 04:28 LICENSE 04:30:17 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 8 04:28 Makefile 04:30:17 -rw-rw-r-- 1 jenkins jenkins 625 Dec 8 04:28 OWNERS.md 04:30:17 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 8 04:28 README.md 04:30:17 -rw-rw-r-- 1 jenkins jenkins 11 Dec 8 04:28 VERSION 04:30:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 04:28 bin 04:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 04:28 cmd 04:30:17 -rw-r--r-- 1 jenkins jenkins 78456 Dec 8 04:30 coverage.out 04:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:28 doc 04:30:17 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 8 04:28 go.mod 04:30:17 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 8 04:28 go.sum 04:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:28 internal 04:30:17 -rw-rw-r-- 1 jenkins jenkins 236 Dec 8 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:18 + 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=b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 --label arch=amd64 --label version=3.2.0-dev.4 . 04:30:18 Sending build context to Docker daemon 34.25MB 04:30:18 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:30:18 Step 2/27 : FROM ${BASE} AS builder 04:30:18 ---> d8754900442f 04:30:18 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:30:18 using credential edgex-jenkins-ssh 04:30:18 Cloning the remote Git repository 04:30:18 ---> Running in 5c1574a254ca 04:30:18 Removing intermediate container 5c1574a254ca 04:30:18 ---> aff13c68bd3b 04:30:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:18 ---> Running in bd1849730041 04:30:18 Removing intermediate container bd1849730041 04:30:18 ---> 5e08026d37fa 04:30:18 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:30:18 ---> Running in b18085bd8e1f 04:30:18 Removing intermediate container b18085bd8e1f 04:30:18 ---> 22a9765fe9a6 04:30:18 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:30:18 ---> Running in 19565f691b42 04:30:18 Removing intermediate container 19565f691b42 04:30:18 ---> 03564ba1f348 04:30:18 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:30:18 ---> Running in e85589e1e7a9 04:30:18 Removing intermediate container e85589e1e7a9 04:30:18 ---> e34830b71a1e 04:30:18 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:19 ---> Running in 8ef95c0e2e8c 04:30:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:30:18 > git init /w/workspace/device-onvif-camera/189 # timeout=10 04:30:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:30:18 > git --version # timeout=10 04:30:18 > git --version # 'git version 2.25.1' 04:30:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:19 OK: 264 MiB in 52 packages 04:30:19 Removing intermediate container 8ef95c0e2e8c 04:30:19 ---> a8f893d50717 04:30:19 Step 9/27 : WORKDIR /device-onvif-camera 04:30:19 ---> Running in 653bf50e8eb0 04:30:20 Removing intermediate container 653bf50e8eb0 04:30:20 ---> a1cd1d6317c2 04:30:20 Step 10/27 : COPY go.mod vendor* ./ 04:30:20 ---> efe0538b42ef 04:30:20 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:20 ---> Running in 0d356f7e9a39 04:30:21 Removing intermediate container 0d356f7e9a39 04:30:21 ---> 85dfd2f6858c 04:30:21 Step 12/27 : COPY . . 04:30:22 ---> f00fab5fab8b 04:30:22 Step 13/27 : RUN ${MAKE} 04:30:22 ---> Running in 728e9696e741 04:30:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:30:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:30:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:25 Avoid second fetch 04:30:25 Checking out Revision b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 (main) 04:30:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:30:25 > git config core.sparsecheckout # timeout=10 04:30:25 > git checkout -f b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 # timeout=10 [Pipeline] sh 04:30:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:30:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:27 Dload Upload Total Spent Left Speed 04:30:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 80265 0 --:--:-- --:--:-- --:--:-- 80777 [Pipeline] sh 04:30:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:30:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:30:27 sudo tee /etc/docker/daemon.new 04:30:27 { 04:30:27 "registry-mirrors": [ 04:30:27 "https://nexus3.edgexfoundry.org:10001" 04:30:27 ], 04:30:27 "bip": "10.250.0.254/24", 04:30:27 "hosts": [ 04:30:27 "tcp://0.0.0.0:5555", 04:30:27 "unix:///var/run/docker.sock" 04:30:27 ], 04:30:27 "mtu": 1458, 04:30:27 "selinux-enabled": true, 04:30:27 "seccomp-profile": "/etc/docker/seccomp.json" 04:30:27 } [Pipeline] sh 04:30:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:30:28 + sudo service docker restart 04:30:44 Removing intermediate container 728e9696e741 04:30:44 ---> a9bb7c746233 04:30:44 Step 14/27 : FROM alpine:3.18 04:30:44 3.18: Pulling from library/alpine 04:30:44 c926b61bad3b: Pulling fs layer 04:30:44 c926b61bad3b: Verifying Checksum 04:30:44 c926b61bad3b: Download complete 04:30:44 c926b61bad3b: Pull complete 04:30:44 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:30:44 Status: Downloaded newer image for alpine:3.18 04:30:44 ---> b541f2080109 04:30:44 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:30:44 ---> Running in 720dc0c99b6d 04:30:44 Removing intermediate container 720dc0c99b6d 04:30:44 ---> 209235d75624 04:30:44 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:30:44 ---> Running in 659288c07615 04:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:44 (1/1) Installing dumb-init (1.2.5-r2) 04:30:44 Executing busybox-1.36.1-r5.trigger 04:30:44 OK: 7 MiB in 16 packages 04:30:44 Removing intermediate container 659288c07615 04:30:44 ---> e21f72cd6309 04:30:44 Step 17/27 : RUN apk --no-cache upgrade 04:30:44 ---> Running in b047de7da913 04:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:44 OK: 7 MiB in 16 packages 04:30:44 Removing intermediate container b047de7da913 04:30:44 ---> a52fbcaef2ee 04:30:44 Step 18/27 : WORKDIR / 04:30:44 ---> Running in a164b8ec3bbb 04:30:44 Removing intermediate container a164b8ec3bbb 04:30:44 ---> 01b1b8651f01 04:30:44 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:30:45 ---> 532bec0d6c22 04:30:45 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:30:45 ---> a6c03164b6be 04:30:45 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:30:45 ---> 79da616a5f74 04:30:45 Step 22/27 : EXPOSE 59984 04:30:45 ---> Running in b50b3efddcd5 04:30:45 Removing intermediate container b50b3efddcd5 04:30:45 ---> 32e8cec80a78 04:30:45 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:30:45 ---> Running in bb4c95812d7f 04:30:46 Removing intermediate container bb4c95812d7f 04:30:46 ---> d5c60e13d55e 04:30:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:30:46 ---> Running in cec5ff8c5835 04:30:46 Removing intermediate container cec5ff8c5835 04:30:46 ---> 5d0caff10fc8 04:30:46 Step 25/27 : LABEL arch=amd64 04:30:46 ---> Running in 29fcb95deef8 04:30:46 Removing intermediate container 29fcb95deef8 04:30:46 ---> c6cbda38d586 04:30:46 Step 26/27 : LABEL git_sha=b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:30:46 ---> Running in 4c087a6e5273 04:30:46 Removing intermediate container 4c087a6e5273 04:30:46 ---> b377d1d9a6c0 04:30:46 Step 27/27 : LABEL version=3.2.0-dev.4 04:30:46 ---> Running in 10e3a6c501ab 04:30:46 Removing intermediate container 10e3a6c501ab 04:30:46 ---> 423d6823314f 04:30:46 [Warning] One or more build-args [ARCH] were not consumed 04:30:46 Successfully built 423d6823314f 04:30:46 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 04:30:46 provisioning config files... 04:30:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5990059498272351205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:46 provisioning config files... 04:30:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/189@tmp/config18100321828821759950tmp 04:30:46 ---> ****-login.sh 04:30:46 nexus3.edgexfoundry.org:10001 04:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:46 Configure a credential helper to remove this warning. See 04:30:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:46 04:30:46 Login Succeeded 04:30:46 nexus3.edgexfoundry.org:10002 04:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:46 Configure a credential helper to remove this warning. See 04:30:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:46 04:30:46 Login Succeeded 04:30:46 nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:47 Configure a credential helper to remove this warning. See 04:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:47 04:30:47 Login Succeeded 04:30:47 nexus3.edgexfoundry.org:10004 04:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:47 Configure a credential helper to remove this warning. See 04:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:47 04:30:47 Login Succeeded 04:30:47 ****.io 04:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:47 ---> ****-login.sh 04:30:47 nexus3.edgexfoundry.org:10001 04:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:47 Configure a credential helper to remove this warning. See 04:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:47 04:30:47 Login Succeeded 04:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:47 Configure a credential helper to remove this warning. See 04:30:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:47 04:30:47 Login Succeeded 04:30:47 ---> ****-login.sh ends [Pipeline] } 04:30:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 04:30:47 nexus3.edgexfoundry.org:10002 04:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo 04:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:30:47 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:30:47 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:30:47 latest 04:30:47 3.2.0-dev.4 04:30:47 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:30:47 main 04:30:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:48 Configure a credential helper to remove this warning. See 04:30:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:48 04:30:48 Login Succeeded 04:30:48 nexus3.edgexfoundry.org:10003 04:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] } 04:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:48 Configure a credential helper to remove this warning. See 04:30:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:48 04:30:48 Login Succeeded 04:30:48 nexus3.edgexfoundry.org:10004 04:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:48 Configure a credential helper to remove this warning. See 04:30:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:48 04:30:48 Login Succeeded 04:30:48 ****.io 04:30:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:30:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:30:48 f4ce400d3ab3: Preparing 04:30:48 0ff267d80b52: Preparing 04:30:48 ca3f0d7586cb: Preparing 04:30:48 adde87634a77: Preparing 04:30:48 662fd02ebbf0: Preparing 04:30:48 9fe9a137fd00: Preparing 04:30:48 9fe9a137fd00: Waiting 04:30:48 adde87634a77: Pushed 04:30:48 662fd02ebbf0: Pushed 04:30:48 f4ce400d3ab3: Pushed 04:30:48 0ff267d80b52: Pushed 04:30:48 9fe9a137fd00: Layer already exists 04:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:49 Configure a credential helper to remove this warning. See 04:30:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:49 04:30:49 Login Succeeded 04:30:49 ---> ****-login.sh ends [Pipeline] } 04:30:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:30:49 ========================================================= 04:30:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:30:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:50 + 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 . 04:30:52 ca3f0d7586cb: Pushed 04:30:52 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9: digest: sha256:1172a017e1e3022105f3329c7750ec58845ffb955e00c680f51bc32167aae414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:30:53 f4ce400d3ab3: Preparing 04:30:53 0ff267d80b52: Preparing 04:30:53 ca3f0d7586cb: Preparing 04:30:53 adde87634a77: Preparing 04:30:53 662fd02ebbf0: Preparing 04:30:53 9fe9a137fd00: Preparing 04:30:53 9fe9a137fd00: Waiting 04:30:53 662fd02ebbf0: Layer already exists 04:30:53 adde87634a77: Layer already exists 04:30:53 f4ce400d3ab3: Layer already exists 04:30:53 0ff267d80b52: Layer already exists 04:30:53 ca3f0d7586cb: Layer already exists 04:30:53 9fe9a137fd00: Layer already exists 04:30:53 latest: digest: sha256:1172a017e1e3022105f3329c7750ec58845ffb955e00c680f51bc32167aae414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:54 #0 building with "default" instance using docker driver 04:30:54 04:30:54 #1 [internal] load .dockerignore 04:30:54 #1 transferring context: 2B done 04:30:54 #1 DONE 0.1s 04:30:54 04:30:54 #2 [internal] load build definition from Dockerfile 04:30:54 #2 transferring dockerfile: 1.72kB 0.0s done 04:30:54 #2 DONE 0.1s 04:30:54 04:30:54 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:30:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.4 04:30:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:30:54 f4ce400d3ab3: Preparing 04:30:54 0ff267d80b52: Preparing 04:30:54 ca3f0d7586cb: Preparing 04:30:54 adde87634a77: Preparing 04:30:54 662fd02ebbf0: Preparing 04:30:54 9fe9a137fd00: Preparing 04:30:54 9fe9a137fd00: Waiting 04:30:54 ca3f0d7586cb: Layer already exists 04:30:54 0ff267d80b52: Layer already exists 04:30:54 662fd02ebbf0: Layer already exists 04:30:54 f4ce400d3ab3: Layer already exists 04:30:54 adde87634a77: Layer already exists 04:30:54 9fe9a137fd00: Layer already exists 04:30:54 3.2.0-dev.4: digest: sha256:1172a017e1e3022105f3329c7750ec58845ffb955e00c680f51bc32167aae414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:54 #3 DONE 0.1s 04:30:54 04:30:54 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:30:54 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:30:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:30:54 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:30:54 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:30:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 3.15MB / 63.99MB 0.2s 04:30:54 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.2s 04:30:54 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:30:54 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:30:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 04:30:54 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 04:30:54 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:30:54 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:30:54 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 430.08kB / 97.63MB 0.3s [Pipeline] sh 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s 04:30:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 04:30:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.43MB / 97.63MB 0.5s 04:30:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s 04:30:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.96MB / 63.99MB 0.7s 04:30:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.63MB / 97.63MB 0.7s 04:30:55 #4 ... 04:30:55 04:30:55 #5 [internal] load build context 04:30:55 #5 transferring context: 20.31MB 0.7s done 04:30:55 #5 DONE 0.8s 04:30:55 04:30:55 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.37MB / 63.99MB 0.8s 04:30:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.8s 04:30:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.0s 04:30:55 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 04:30:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 1.0s 04:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 1.1s 04:30:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.1s 04:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.04MB / 63.99MB 1.2s 04:30:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 04:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.3s 04:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.3s 04:30:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 04:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.5s 04:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 04:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.79MB / 97.63MB 1.7s 04:30:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.92MB / 97.63MB 1.9s 04:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 86.57MB / 97.63MB 2.1s 04:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s 04:30:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:30:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:30:57 f4ce400d3ab3: Preparing 04:30:57 0ff267d80b52: Preparing 04:30:57 ca3f0d7586cb: Preparing 04:30:57 adde87634a77: Preparing 04:30:57 662fd02ebbf0: Preparing 04:30:57 9fe9a137fd00: Preparing 04:30:57 9fe9a137fd00: Waiting 04:30:57 ca3f0d7586cb: Layer already exists 04:30:57 0ff267d80b52: Layer already exists 04:30:57 adde87634a77: Layer already exists 04:30:57 f4ce400d3ab3: Layer already exists 04:30:57 662fd02ebbf0: Layer already exists 04:30:57 9fe9a137fd00: Layer already exists 04:30:57 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4: digest: sha256:1172a017e1e3022105f3329c7750ec58845ffb955e00c680f51bc32167aae414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 04:30:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:30:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:30:58 f4ce400d3ab3: Preparing 04:30:58 0ff267d80b52: Preparing 04:30:58 ca3f0d7586cb: Preparing 04:30:58 adde87634a77: Preparing 04:30:58 662fd02ebbf0: Preparing 04:30:58 9fe9a137fd00: Preparing 04:30:58 9fe9a137fd00: Waiting 04:30:58 ca3f0d7586cb: Layer already exists 04:30:58 0ff267d80b52: Layer already exists 04:30:58 f4ce400d3ab3: Layer already exists 04:30:58 662fd02ebbf0: Layer already exists 04:30:58 adde87634a77: Layer already exists 04:30:58 9fe9a137fd00: Layer already exists 04:30:58 main: digest: sha256:1172a017e1e3022105f3329c7750ec58845ffb955e00c680f51bc32167aae414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:30:58 ===================================================== [Pipeline] echo 04:30:58 taggedImages: 04:30:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:30:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:30:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.4 04:30:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:30:58 - 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 04:30:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:59 04:30:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:59 latest: Pulling from edgex-lftools-log-publisher 04:30:59 5eb5b503b376: Pulling fs layer 04:30:59 5c69ac0246d0: Pulling fs layer 04:30:59 ec43610c2a17: Pulling fs layer 04:30:59 3a2ae6a8a46f: Pulling fs layer 04:30:59 33b1e0a273af: Pulling fs layer 04:30:59 5d3b04190fa2: Pulling fs layer 04:30:59 2f39f015ded8: Pulling fs layer 04:30:59 33b1e0a273af: Waiting 04:30:59 5d3b04190fa2: Waiting 04:30:59 2f39f015ded8: Waiting 04:30:59 5c69ac0246d0: Download complete 04:30:59 3a2ae6a8a46f: Verifying Checksum 04:30:59 3a2ae6a8a46f: Download complete 04:30:59 33b1e0a273af: Verifying Checksum 04:30:59 33b1e0a273af: Download complete 04:30:59 ec43610c2a17: Verifying Checksum 04:30:59 ec43610c2a17: Download complete 04:30:59 5d3b04190fa2: Verifying Checksum 04:30:59 5d3b04190fa2: Download complete 04:30:59 5eb5b503b376: Verifying Checksum 04:30:59 5eb5b503b376: Download complete 04:31:00 2f39f015ded8: Download complete 04:31:00 5eb5b503b376: Pull complete 04:31:01 5c69ac0246d0: Pull complete 04:31:01 ec43610c2a17: Pull complete 04:31:01 3a2ae6a8a46f: Pull complete 04:31:01 33b1e0a273af: Pull complete 04:31:01 5d3b04190fa2: Pull complete 04:31:02 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.1s 04:31:06 2f39f015ded8: Pull complete 04:31:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:06 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:31:07 $ 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 04:31:08 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 04:31:14 $ docker top c94b3fdb0f2cdb05ab4510d3a34ab176c6482cbfa7137952dca9c0296a3fb97b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:13 ---> job-cost.sh 04:31:13 lf-activate-venv: SKIPPING 04:31:13 INFO: No Stack... 04:31:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:31:14 INFO: Archiving Costs [Pipeline] sh 04:31:14 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:31:14 + cut -d, -f6 [Pipeline] lock 04:31:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] 04:31:14 Resource [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] did not exist. Created. 04:31:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:14 + echo total: 0.2199999988079071 [Pipeline] stash 04:31:14 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.5s done 04:31:14 Stashed 1 file(s) [Pipeline] } 04:31:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 04:31:15 $ docker stop --time=1 c94b3fdb0f2cdb05ab4510d3a34ab176c6482cbfa7137952dca9c0296a3fb97b 04:31:15 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:31:15 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:31:15 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:31:17 $ docker rm -f --volumes c94b3fdb0f2cdb05ab4510d3a34ab176c6482cbfa7137952dca9c0296a3fb97b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:31:21 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:31:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 04:31:24 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:31:26 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:31:26 #4 DONE 31.9s 04:31:26 04:31:26 #6 [builder 2/7] RUN apk add --no-cache make git 04:31:27 #6 0.735 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:31:27 #6 1.138 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:31:28 #6 2.155 OK: 266 MiB in 52 packages 04:31:30 #6 DONE 3.8s 04:31:30 04:31:30 #7 [builder 3/7] WORKDIR /device-onvif-camera 04:31:30 #7 DONE 0.1s 04:31:30 04:31:30 #8 [builder 4/7] COPY go.mod vendor* ./ 04:31:30 #8 DONE 0.1s 04:31:30 04:31:30 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:58 #9 DONE 23.4s 04:31:58 04:31:58 #10 [builder 6/7] COPY . . 04:31:58 #10 DONE 0.4s 04:31:58 04:31:58 #11 [builder 7/7] RUN echo noop 04:31:58 #11 0.579 noop 04:31:58 #11 DONE 0.6s 04:31:58 04:31:58 #12 exporting to image 04:31:58 #12 exporting layers 04:32:20 #12 exporting layers 24.2s done 04:32:20 #12 writing image sha256:b6994afe89722c9306efe1049beded7121e52676600b24e96439d87b661cd751 done 04:32:20 #12 naming to docker.io/library/ci-base-image-arm64 done 04:32:20 #12 DONE 24.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:20 + docker inspect -f . ci-base-image-arm64 04:32:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:21 prd-ubuntu20.04-docker-arm64-4c-16g-24691 does not seem to be running inside a container 04:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/189 -v /w/workspace/device-onvif-camera/189:/w/workspace/device-onvif-camera/189:rw,z -v /w/workspace/device-onvif-camera/189@tmp:/w/workspace/device-onvif-camera/189@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 04:32:22 $ docker top 83f8ae60a954d6229712e81ad53e9feade6b49795c7cbaeec709cfdbc7a5633d -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:23 + go version 04:32:23 go version go1.21.0 linux/arm64 [Pipeline] } 04:32:23 $ docker stop --time=1 83f8ae60a954d6229712e81ad53e9feade6b49795c7cbaeec709cfdbc7a5633d 04:32:24 $ docker rm -f --volumes 83f8ae60a954d6229712e81ad53e9feade6b49795c7cbaeec709cfdbc7a5633d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:25 + docker inspect -f . ci-base-image-arm64 04:32:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:25 prd-ubuntu20.04-docker-arm64-4c-16g-24691 does not seem to be running inside a container 04:32:25 $ 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/189 -v /w/workspace/device-onvif-camera/189:/w/workspace/device-onvif-camera/189:rw,z -v /w/workspace/device-onvif-camera/189@tmp:/w/workspace/device-onvif-camera/189@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 04:32:26 $ docker top 10661fd7e73bec856a62d6ab51c96c6859e56f3e1093765a2bef4c2bfe1d9076 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/189 [Pipeline] fileExists [Pipeline] sh 04:32:27 + make test 04:32:27 go test ./... -coverprofile=coverage.out ./... 04:32:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:33:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:33:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:33:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.186s coverage: 31.5% of statements 04:33:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.036s coverage: 86.5% of statements 04:33:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:33:52 go vet ./... 04:34:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:34:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:34:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:34:10 $ docker stop --time=1 10661fd7e73bec856a62d6ab51c96c6859e56f3e1093765a2bef4c2bfe1d9076 04:34:14 $ docker rm -f --volumes 10661fd7e73bec856a62d6ab51c96c6859e56f3e1093765a2bef4c2bfe1d9076 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:15 Warning: overwriting stash ‘coverage-report’ 04:34:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:34:17 + ls -al . 04:34:17 total 236 04:34:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 04:32 . 04:34:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:30 .. 04:34:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 8 04:30 .git 04:34:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 04:30 .github 04:34:17 -rw-rw-r-- 1 jenkins jenkins 493 Dec 8 04:30 .gitignore 04:34:17 -rw-rw-r-- 1 jenkins jenkins 42 Dec 8 04:30 .golangci.yml 04:34:17 -rw-rw-r-- 1 jenkins jenkins 11155 Dec 8 04:30 Attribution.txt 04:34:17 -rw-rw-r-- 1 jenkins jenkins 17665 Dec 8 04:30 CHANGELOG.md 04:34:17 -rw-rw-r-- 1 jenkins jenkins 1683 Dec 8 04:30 Dockerfile 04:34:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 8 04:30 GOVERNANCE.md 04:34:17 -rw-rw-r-- 1 jenkins jenkins 739 Dec 8 04:30 Jenkinsfile 04:34:17 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 8 04:30 LICENSE 04:34:17 -rw-rw-r-- 1 jenkins jenkins 2877 Dec 8 04:30 Makefile 04:34:17 -rw-rw-r-- 1 jenkins jenkins 625 Dec 8 04:30 OWNERS.md 04:34:17 -rw-rw-r-- 1 jenkins jenkins 2620 Dec 8 04:30 README.md 04:34:17 -rw-rw-r-- 1 jenkins jenkins 11 Dec 8 04:28 VERSION 04:34:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 8 04:30 bin 04:34:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 8 04:30 cmd 04:34:17 -rw-r--r-- 1 jenkins jenkins 78456 Dec 8 04:33 coverage.out 04:34:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:30 doc 04:34:17 -rw-rw-r-- 1 jenkins jenkins 4082 Dec 8 04:30 go.mod 04:34:17 -rw-rw-r-- 1 jenkins jenkins 35678 Dec 8 04:30 go.sum 04:34:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 8 04:30 internal 04:34:17 -rw-rw-r-- 1 jenkins jenkins 236 Dec 8 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:17 + 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=b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 --label arch=arm64 --label version=3.2.0-dev.4 . 04:34:18 #0 building with "default" instance using docker driver 04:34:18 04:34:18 #1 [internal] load .dockerignore 04:34:18 #1 transferring context: 2B 0.0s done 04:34:18 #1 DONE 0.0s 04:34:18 04:34:18 #2 [internal] load build definition from Dockerfile 04:34:18 #2 transferring dockerfile: 1.72kB 0.0s done 04:34:18 #2 DONE 0.0s 04:34:18 04:34:18 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:34:18 #3 DONE 0.0s 04:34:18 04:34:18 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:34:18 #4 DONE 0.3s 04:34:18 04:34:18 #5 [internal] load build context 04:34:18 #5 transferring context: 87.17kB 0.1s done 04:34:18 #5 DONE 0.1s 04:34:18 04:34:18 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:34:18 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:34:18 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:34:18 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:34:18 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:34:18 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 04:34:18 #6 ... 04:34:18 04:34:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:34:18 #7 DONE 0.2s 04:34:18 04:34:18 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:34:18 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.4s 04:34:19 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.4s done 04:34:19 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:34:19 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:34:19 #6 DONE 1.1s 04:34:19 04:34:19 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 04:34:20 #8 0.686 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:20 #8 1.027 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:21 #8 ... 04:34:21 04:34:21 #9 [builder 2/7] RUN apk add --no-cache make git 04:34:21 #9 0.728 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:21 #9 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:21 #9 2.330 OK: 266 MiB in 52 packages 04:34:21 #9 DONE 2.6s 04:34:21 04:34:21 #10 [builder 3/7] WORKDIR /device-onvif-camera 04:34:21 #10 DONE 0.1s 04:34:21 04:34:21 #11 [builder 4/7] COPY go.mod vendor* ./ 04:34:21 #11 DONE 0.2s 04:34:21 04:34:21 #8 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 04:34:21 #8 2.149 (1/1) Installing dumb-init (1.2.5-r2) 04:34:21 #8 2.166 Executing busybox-1.36.1-r5.trigger 04:34:21 #8 2.195 OK: 8 MiB in 16 packages 04:34:22 #8 DONE 2.5s 04:34:22 04:34:22 #12 [stage-1 3/7] RUN apk --no-cache upgrade 04:34:23 #12 0.864 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:23 #12 1.215 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:24 #12 2.260 OK: 8 MiB in 16 packages 04:34:28 #12 DONE 5.5s 04:34:28 04:34:28 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:28 #13 DONE 6.0s 04:34:28 04:34:28 #14 [builder 6/7] COPY . . 04:34:28 #14 DONE 0.5s 04:34:28 04:34:28 #15 [builder 7/7] RUN make build 04:34:28 #15 0.679 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:36:05 #15 DONE 85.5s 04:36:05 04:36:05 #16 [stage-1 4/7] COPY --from=builder /device-onvif-camera/cmd / 04:36:05 #16 DONE 0.4s 04:36:05 04:36:05 #17 [stage-1 5/7] COPY --from=builder /device-onvif-camera/LICENSE / 04:36:05 #17 DONE 0.1s 04:36:05 04:36:05 #18 [stage-1 6/7] COPY --from=builder /device-onvif-camera/Attribution.txt / 04:36:05 #18 DONE 0.1s 04:36:05 04:36:05 #19 exporting to image 04:36:05 #19 exporting layers 04:36:05 #19 exporting layers 0.4s done 04:36:05 #19 writing image sha256:a4e963bc22cf7ffc5d9ece1d12d7db290779ffea6c8eed1f71f51300172bd96f done 04:36:05 #19 naming to docker.io/library/device-onvif-camera-arm64 done 04:36:05 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:06 provisioning config files... 04:36:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/189@tmp/config9476737345184211341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:06 ---> ****-login.sh 04:36:06 nexus3.edgexfoundry.org:10001 04:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:06 Configure a credential helper to remove this warning. See 04:36:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:06 04:36:06 Login Succeeded 04:36:06 nexus3.edgexfoundry.org:10002 04:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 nexus3.edgexfoundry.org:10003 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 nexus3.edgexfoundry.org:10004 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 ****.io 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:08 Configure a credential helper to remove this warning. See 04:36:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:08 04:36:08 Login Succeeded 04:36:08 ---> ****-login.sh ends [Pipeline] } 04:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:08 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:36:08 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:36:08 latest 04:36:08 3.2.0-dev.4 04:36:08 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:36:08 main 04:36:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:09 4f503f209125: Preparing 04:36:09 340ebd0303d0: Preparing 04:36:09 f3b9f847b69a: Preparing 04:36:09 fb879e5df4d5: Preparing 04:36:09 b5f1c00e0565: Preparing 04:36:09 0faf9b67be60: Preparing 04:36:09 0faf9b67be60: Waiting 04:36:09 fb879e5df4d5: Pushed 04:36:09 b5f1c00e0565: Pushed 04:36:09 4f503f209125: Pushed 04:36:09 340ebd0303d0: Pushed 04:36:09 0faf9b67be60: Layer already exists 04:36:15 f3b9f847b69a: Pushed 04:36:15 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9: digest: sha256:78de41630a8722a074785b27e95aa81bd959ae0f3eb70fdd7053b725ca8671e6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:15 + 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 04:36:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:16 4f503f209125: Preparing 04:36:16 340ebd0303d0: Preparing 04:36:16 f3b9f847b69a: Preparing 04:36:16 fb879e5df4d5: Preparing 04:36:16 b5f1c00e0565: Preparing 04:36:16 0faf9b67be60: Preparing 04:36:16 0faf9b67be60: Waiting 04:36:16 340ebd0303d0: Layer already exists 04:36:16 4f503f209125: Layer already exists 04:36:16 b5f1c00e0565: Layer already exists 04:36:16 fb879e5df4d5: Layer already exists 04:36:16 f3b9f847b69a: Layer already exists 04:36:16 0faf9b67be60: Layer already exists 04:36:16 latest: digest: sha256:78de41630a8722a074785b27e95aa81bd959ae0f3eb70fdd7053b725ca8671e6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.4 04:36:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:17 4f503f209125: Preparing 04:36:17 340ebd0303d0: Preparing 04:36:17 f3b9f847b69a: Preparing 04:36:17 fb879e5df4d5: Preparing 04:36:17 b5f1c00e0565: Preparing 04:36:17 0faf9b67be60: Preparing 04:36:17 0faf9b67be60: Waiting 04:36:17 4f503f209125: Layer already exists 04:36:17 f3b9f847b69a: Layer already exists 04:36:17 b5f1c00e0565: Layer already exists 04:36:17 340ebd0303d0: Layer already exists 04:36:17 fb879e5df4d5: Layer already exists 04:36:17 0faf9b67be60: Layer already exists 04:36:17 3.2.0-dev.4: digest: sha256:78de41630a8722a074785b27e95aa81bd959ae0f3eb70fdd7053b725ca8671e6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:36:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:18 4f503f209125: Preparing 04:36:18 340ebd0303d0: Preparing 04:36:18 f3b9f847b69a: Preparing 04:36:18 fb879e5df4d5: Preparing 04:36:18 b5f1c00e0565: Preparing 04:36:18 0faf9b67be60: Preparing 04:36:18 0faf9b67be60: Waiting 04:36:18 340ebd0303d0: Layer already exists 04:36:18 f3b9f847b69a: Layer already exists 04:36:18 fb879e5df4d5: Layer already exists 04:36:18 4f503f209125: Layer already exists 04:36:18 b5f1c00e0565: Layer already exists 04:36:18 0faf9b67be60: Layer already exists 04:36:19 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4: digest: sha256:78de41630a8722a074785b27e95aa81bd959ae0f3eb70fdd7053b725ca8671e6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:19 + 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 04:36:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:36:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:36:23 4f503f209125: Preparing 04:36:23 340ebd0303d0: Preparing 04:36:23 f3b9f847b69a: Preparing 04:36:23 fb879e5df4d5: Preparing 04:36:23 b5f1c00e0565: Preparing 04:36:23 0faf9b67be60: Preparing 04:36:23 0faf9b67be60: Waiting 04:36:23 f3b9f847b69a: Layer already exists 04:36:23 4f503f209125: Layer already exists 04:36:23 fb879e5df4d5: Layer already exists 04:36:23 340ebd0303d0: Layer already exists 04:36:23 b5f1c00e0565: Layer already exists 04:36:23 0faf9b67be60: Layer already exists 04:36:23 main: digest: sha256:78de41630a8722a074785b27e95aa81bd959ae0f3eb70fdd7053b725ca8671e6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:23 ===================================================== [Pipeline] echo 04:36:24 taggedImages: 04:36:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 04:36:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:36:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.4 04:36:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9-3.2.0-dev.4 04:36:24 - 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 04:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:24 04:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:25 arm64: Pulling from edgex-lftools-log-publisher 04:36:25 8998bd30e6a1: Pulling fs layer 04:36:25 04944245beec: Pulling fs layer 04:36:25 699f458cf7ca: Pulling fs layer 04:36:25 765212b225bb: Pulling fs layer 04:36:25 f23df028b6ca: Pulling fs layer 04:36:25 d65c8cfc05b1: Pulling fs layer 04:36:25 765212b225bb: Waiting 04:36:25 f23df028b6ca: Waiting 04:36:25 2437ff75d9bd: Pulling fs layer 04:36:25 d65c8cfc05b1: Waiting 04:36:25 2437ff75d9bd: Waiting 04:36:25 04944245beec: Verifying Checksum 04:36:25 04944245beec: Download complete 04:36:25 765212b225bb: Verifying Checksum 04:36:25 765212b225bb: Download complete 04:36:25 f23df028b6ca: Download complete 04:36:25 d65c8cfc05b1: Verifying Checksum 04:36:25 d65c8cfc05b1: Download complete 04:36:25 699f458cf7ca: Verifying Checksum 04:36:25 699f458cf7ca: Download complete 04:36:25 8998bd30e6a1: Verifying Checksum 04:36:25 8998bd30e6a1: Download complete 04:36:27 2437ff75d9bd: Verifying Checksum 04:36:27 2437ff75d9bd: Download complete 04:36:32 8998bd30e6a1: Pull complete 04:36:32 04944245beec: Pull complete 04:36:34 699f458cf7ca: Pull complete 04:36:34 765212b225bb: Pull complete 04:36:34 f23df028b6ca: Pull complete 04:36:35 d65c8cfc05b1: Pull complete 04:37:01 2437ff75d9bd: Pull complete 04:37:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:02 prd-ubuntu20.04-docker-arm64-4c-16g-24691 does not seem to be running inside a container 04:37:02 $ 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/189 -v /w/workspace/device-onvif-camera/189:/w/workspace/device-onvif-camera/189:rw,z -v /w/workspace/device-onvif-camera/189@tmp:/w/workspace/device-onvif-camera/189@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 04:37:07 $ docker top 8d07873580df8ebded238ee6364a95ec753ac855b25eb6a07c349236c40d9bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:08 ---> job-cost.sh 04:37:08 lf-activate-venv: SKIPPING 04:37:08 INFO: No Stack... 04:37:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:09 INFO: Archiving Costs [Pipeline] sh 04:37:09 + cat /w/workspace/device-onvif-camera/189/archives/cost.csv 04:37:09 + cut -d, -f6 [Pipeline] lock 04:37:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] 04:37:10 Resource [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] did not exist. Created. 04:37:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:10 /w/workspace/device-onvif-camera/189@tmp/durable-dc924817/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:10 + echo total: 0.2199999988079071 [Pipeline] stash 04:37:10 Warning: overwriting stash ‘stack-cost’ 04:37:11 Stashed 1 file(s) [Pipeline] } 04:37:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-189-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:11 $ docker stop --time=1 8d07873580df8ebded238ee6364a95ec753ac855b25eb6a07c349236c40d9bdf 04:37:12 $ docker rm -f --volumes 8d07873580df8ebded238ee6364a95ec753ac855b25eb6a07c349236c40d9bdf [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 04:37:13 provisioning config files... 04:37:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13615863114079396993tmp [Pipeline] { [Pipeline] sh 04:37:14 + set +x 04:37:14 + curl -s https://codecov.io/bash 04:37:14 + bash -s -- 04:37:14 04:37:14 _____ _ 04:37:14 / ____| | | 04:37:14 | | ___ __| | ___ ___ _____ __ 04:37:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:14 Bash-1.0.6 04:37:14 04:37:14 04:37:14 ==> git version 2.25.1 found 04:37:14 ==> 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 04:37:14 Release-Date: 2020-01-08 04:37:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:37:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:14 ==> Jenkins CI detected. 04:37:14 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:37:14 project root: . 04:37:14 --> token set from env 04:37:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:14 ==> Running gcov in . (disable via -X gcov) 04:37:14 ==> Python coveragepy not found 04:37:14 ==> Searching for coverage reports in: 04:37:14 + . 04:37:14 -> Found 1 reports 04:37:14 ==> Detecting git/mercurial file structure 04:37:14 ==> Reading reports 04:37:14 + ./coverage.out bytes=78456 04:37:14 ==> Appending adjustments 04:37:14 https://docs.codecov.io/docs/fixing-reports 04:37:14 + Found adjustments 04:37:14 ==> Gzipping contents 04:37:14 12K /tmp/codecov.teZOVd.gz 04:37:14 ==> Uploading reports 04:37:14 url: https://codecov.io 04:37:14 query: branch=main&commit=b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:37:14 -> Pinging Codecov 04:37:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9&build=189&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F189%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:37:14 -> Uploading to 04:37:14 https://storage.googleapis.com/codecov/v4/raw/2023-12-08/F29A59C45E3A92E06B3E522C9905F8EF/b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9/f9ee0213-3789-4710-b52e-4541770abbef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231208T043714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6b988d981b0db0dc075edc824b0049506ac9921e3656b3087899269a97efbb7 04:37:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:14 Dload Upload Total Spent Left Speed 04:37:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 42884 --:--:-- --:--:-- --:--:-- 42884 04:37:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] } 04:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:37:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:37:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:16 04:37:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:37:16 df9b9388f04a: Pulling fs layer 04:37:16 52dc419b0ee2: Pulling fs layer 04:37:16 25bc292e5bac: Pulling fs layer 04:37:16 114826534d7a: Pulling fs layer 04:37:16 4657fd5d0bcf: Pulling fs layer 04:37:16 6ad1cebc031e: Pulling fs layer 04:37:16 8a3aa393b2d8: Pulling fs layer 04:37:16 114826534d7a: Waiting 04:37:16 8a3aa393b2d8: Waiting 04:37:16 4657fd5d0bcf: Waiting 04:37:16 6ad1cebc031e: Waiting 04:37:16 25bc292e5bac: Download complete 04:37:16 52dc419b0ee2: Verifying Checksum 04:37:16 52dc419b0ee2: Download complete 04:37:16 4657fd5d0bcf: Verifying Checksum 04:37:16 4657fd5d0bcf: Download complete 04:37:16 df9b9388f04a: Verifying Checksum 04:37:16 df9b9388f04a: Download complete 04:37:16 6ad1cebc031e: Verifying Checksum 04:37:16 6ad1cebc031e: Download complete 04:37:16 df9b9388f04a: Pull complete 04:37:16 52dc419b0ee2: Pull complete 04:37:16 25bc292e5bac: Pull complete 04:37:17 114826534d7a: Verifying Checksum 04:37:17 114826534d7a: Download complete 04:37:17 8a3aa393b2d8: Verifying Checksum 04:37:17 8a3aa393b2d8: Download complete 04:37:20 114826534d7a: Pull complete 04:37:20 4657fd5d0bcf: Pull complete 04:37:20 6ad1cebc031e: Pull complete 04:37:23 8a3aa393b2d8: Pull complete 04:37:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:37:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:37:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:23 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:37:23 $ 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 04:37:27 $ docker top b0353f11e7bc23c6357c23f12875522dd4ccf7ba5d2ba64d61b8e956f36788e7 -eo pid,comm [Pipeline] { [Pipeline] echo 04:37:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:37:27 + set -o pipefail 04:37:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:37:34 04:37:34 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:37:34 04:37:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/4d1b2aed-73fe-472b-86d5-26c0eef22688 04:37:34 04:37:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:37:34 04:37:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:37:34 04:37:34 04:37:34 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:37:34 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:37:34 More details here: https://snyk.co/ue1NS 04:37:34 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:37:34 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:37:34 $ docker stop --time=1 b0353f11e7bc23c6357c23f12875522dd4ccf7ba5d2ba64d61b8e956f36788e7 04:37:38 $ docker rm -f --volumes b0353f11e7bc23c6357c23f12875522dd4ccf7ba5d2ba64d61b8e956f36788e7 [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 04:37:39 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:39 provisioning config files... 04:37:39 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9837520326132869725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:39 --> edgex-publish-swagger.sh 04:37:39 === Publish doc/openapi/v3 API === 04:37:39 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:37:39 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:37:39 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:39 Dload Upload Total Spent Left Speed 04:37:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 180 100 485k 336 907k --:--:-- --:--:-- --:--:-- 907k 04:37:40 {"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":{}} 04:37:40 [Pipeline] } 04:37:40 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 04:37:41 + git log --format=format:%s -1 b3c384b9a12d342ec73fe5d856bb8ef25bfc9cc9 [Pipeline] sh 04:37:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:37:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:37:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:42 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:37:42 $ 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 04:37:42 $ docker top 9713f32ead5bdacd6d704eebd16cf7b870560014b22215a085dcd97b38e66a3f -eo pid,comm 04:37:42 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). 04:37:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:42 [ssh-agent] Looking for ssh-agent implementation... 04:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:42 $ docker exec 9713f32ead5bdacd6d704eebd16cf7b870560014b22215a085dcd97b38e66a3f ssh-agent 04:37:43 SSH_AUTH_SOCK=/tmp/ssh-Ossr3lKWQ5Fy/agent.31 04:37:43 SSH_AGENT_PID=37 04:37:43 Running ssh-add (command line suppressed) 04:37:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18121079006501546832.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18121079006501546832.key) 04:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:43 + git semver tag 04:37:43 2023-12-08 04:37:43,732 [run_tag] DEBUG tag force:False 04:37:43 2023-12-08 04:37:43,732 [check_head_tag] DEBUG check head tag 04:37:43 2023-12-08 04:37:43,733 [execute] INFO git cat-file --batch-check 04:37:43 2023-12-08 04:37:43,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:37:43 2023-12-08 04:37:43,737 [execute] INFO git cat-file --batch 04:37:43 2023-12-08 04:37:43,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:37:43 2023-12-08 04:37:43,750 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:37:43 2023-12-08 04:37:43,751 [execute] INFO git tag -a v3.2.0-dev.4 -m v3.2.0-dev.4 04:37:43 2023-12-08 04:37:43,751 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.4', '-m', 'v3.2.0-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:37:43 2023-12-08 04:37:43,756 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:37:43 3.2.0-dev.4 [Pipeline] } 04:37:43 $ docker exec --env ******** --env ******** 9713f32ead5bdacd6d704eebd16cf7b870560014b22215a085dcd97b38e66a3f ssh-agent -k 04:37:43 unset SSH_AUTH_SOCK; 04:37:43 unset SSH_AGENT_PID; 04:37:43 echo Agent pid 37 killed; 04:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:37:44 + git semver [Pipeline] } 04:37:44 $ docker stop --time=1 9713f32ead5bdacd6d704eebd16cf7b870560014b22215a085dcd97b38e66a3f 04:37:45 $ docker rm -f --volumes 9713f32ead5bdacd6d704eebd16cf7b870560014b22215a085dcd97b38e66a3f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:46 04:37:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:46 0.23.1-centos7: Pulling from edgex-lftools 04:37:46 ab5ef0e58194: Pulling fs layer 04:37:46 9712f1f96733: Pulling fs layer 04:37:46 63f879dbbcfc: Pulling fs layer 04:37:46 0d9ebad4ef96: Pulling fs layer 04:37:46 e9a5061849ea: Pulling fs layer 04:37:46 d747dcd14b5f: Pulling fs layer 04:37:46 2de7ff778b66: Pulling fs layer 04:37:46 e9a5061849ea: Waiting 04:37:46 d747dcd14b5f: Waiting 04:37:46 2de7ff778b66: Waiting 04:37:46 9712f1f96733: Verifying Checksum 04:37:46 9712f1f96733: Download complete 04:37:47 63f879dbbcfc: Verifying Checksum 04:37:47 63f879dbbcfc: Download complete 04:37:47 e9a5061849ea: Verifying Checksum 04:37:47 e9a5061849ea: Download complete 04:37:47 d747dcd14b5f: Verifying Checksum 04:37:47 d747dcd14b5f: Download complete 04:37:47 0d9ebad4ef96: Verifying Checksum 04:37:47 0d9ebad4ef96: Download complete 04:37:47 ab5ef0e58194: Verifying Checksum 04:37:47 ab5ef0e58194: Download complete 04:37:47 2de7ff778b66: Verifying Checksum 04:37:47 2de7ff778b66: Download complete 04:37:50 ab5ef0e58194: Pull complete 04:37:50 9712f1f96733: Pull complete 04:37:50 63f879dbbcfc: Pull complete 04:37:55 0d9ebad4ef96: Pull complete 04:37:55 e9a5061849ea: Pull complete 04:37:55 d747dcd14b5f: Pull complete 04:37:56 2de7ff778b66: Pull complete 04:37:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:37:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:56 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:37:56 $ 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 04:38:00 $ docker top 6e4b47da37f8c7c20d943da112a095535922d9aeb7d8d8916209ae46a8b2911c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:38:00 provisioning config files... 04:38:00 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7794053971834037392tmp 04:38:00 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11822633630674857824tmp 04:38:00 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7359743399154922808tmp [Pipeline] { [Pipeline] echo 04:38:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:38:01 ---> sigul-configuration.sh 04:38:01 gpg: directory `/root/.gnupg' created 04:38:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:38:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:38:01 gpg: keyring `/root/.gnupg/secring.gpg' created 04:38:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:38:01 gpg: CAST5 encrypted data 04:38:01 gpg: encrypted with 1 passphrase 04:38:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:38:01 + mkdir /home/jenkins 04:38:01 + mkdir /home/jenkins/sigul [Pipeline] sh 04:38:02 + 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 04:38:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:38:02 ---> sigul-install.sh 04:38:02 Sigul already installed; skipping installation. [Pipeline] sh 04:38:02 + git tag --list 04:38:02 v0.0.0 04:38:02 v2.2.0 04:38:02 v2.3.0 04:38:02 v2.3.1 04:38:02 v3.0 04:38:02 v3.0.0 04:38:02 v3.1 04:38:02 v3.1.0 04:38:02 v3.1.0-dev.1 04:38:02 v3.1.0-dev.10 04:38:02 v3.1.0-dev.11 04:38:02 v3.1.0-dev.12 04:38:02 v3.1.0-dev.13 04:38:02 v3.1.0-dev.14 04:38:02 v3.1.0-dev.15 04:38:02 v3.1.0-dev.16 04:38:02 v3.1.0-dev.17 04:38:02 v3.1.0-dev.18 04:38:02 v3.1.0-dev.19 04:38:02 v3.1.0-dev.2 04:38:02 v3.1.0-dev.20 04:38:02 v3.1.0-dev.21 04:38:02 v3.1.0-dev.22 04:38:02 v3.1.0-dev.23 04:38:02 v3.1.0-dev.24 04:38:02 v3.1.0-dev.25 04:38:02 v3.1.0-dev.26 04:38:02 v3.1.0-dev.27 04:38:02 v3.1.0-dev.28 04:38:02 v3.1.0-dev.3 04:38:02 v3.1.0-dev.4 04:38:02 v3.1.0-dev.5 04:38:02 v3.1.0-dev.6 04:38:02 v3.1.0-dev.7 04:38:02 v3.1.0-dev.8 04:38:02 v3.1.0-dev.9 04:38:02 v3.2.0-dev.1 04:38:02 v3.2.0-dev.2 04:38:02 v3.2.0-dev.3 04:38:02 v3.2.0-dev.4 [Pipeline] sh 04:38:03 + lftools sign git-tag v3.2.0-dev.4 04:38:03 Signing Git tag with Sigul... 04:38:03 Signing v3.2.0-dev.4 [Pipeline] echo 04:38:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:38:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:38:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:38:04 $ docker stop --time=1 6e4b47da37f8c7c20d943da112a095535922d9aeb7d8d8916209ae46a8b2911c 04:38:05 $ docker rm -f --volumes 6e4b47da37f8c7c20d943da112a095535922d9aeb7d8d8916209ae46a8b2911c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:38:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:07 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:38:07 $ 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 04:38:07 $ docker top 8d7add0544e264d00a983c49e19ba9543cc75943c19e67a03c831bc95845ff93 -eo pid,comm 04:38:07 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). 04:38:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:07 [ssh-agent] Looking for ssh-agent implementation... 04:38:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:08 $ docker exec 8d7add0544e264d00a983c49e19ba9543cc75943c19e67a03c831bc95845ff93 ssh-agent 04:38:08 SSH_AUTH_SOCK=/tmp/ssh-hLkZZbb34Ur8/agent.32 04:38:08 SSH_AGENT_PID=38 04:38:08 Running ssh-add (command line suppressed) 04:38:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5593724710563696310.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5593724710563696310.key) 04:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:08 + git semver bump pre 04:38:08 2023-12-08 04:38:08,880 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:08 2023-12-08 04:38:08,880 [bump_version] DEBUG bumping version:3.2.0-dev.4 on axis:pre with prefix:dev 04:38:08 2023-12-08 04:38:08,880 [bump_version] DEBUG bumped version:3.2.0-dev.5 04:38:08 2023-12-08 04:38:08,880 [write_version] DEBUG write version:3.2.0-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:38:08 2023-12-08 04:38:08,880 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:08 2023-12-08 04:38:08,880 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:08 2023-12-08 04:38:08,883 [execute] INFO git cat-file --batch-check 04:38:08 2023-12-08 04:38:08,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:08 2023-12-08 04:38:08,890 [execute] INFO git cat-file --batch 04:38:08 2023-12-08 04:38:08,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:08 2023-12-08 04:38:08,895 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:08 3.2.0-dev.5 [Pipeline] } 04:38:08 $ docker exec --env ******** --env ******** 8d7add0544e264d00a983c49e19ba9543cc75943c19e67a03c831bc95845ff93 ssh-agent -k 04:38:09 unset SSH_AUTH_SOCK; 04:38:09 unset SSH_AGENT_PID; 04:38:09 echo Agent pid 38 killed; 04:38:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:09 + git semver [Pipeline] } 04:38:09 $ docker stop --time=1 8d7add0544e264d00a983c49e19ba9543cc75943c19e67a03c831bc95845ff93 04:38:11 $ docker rm -f --volumes 8d7add0544e264d00a983c49e19ba9543cc75943c19e67a03c831bc95845ff93 [Pipeline] // withDockerContainer [Pipeline] sh 04:38:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:12 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:38:12 $ 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 04:38:12 $ docker top ab707abf5e7b46d09ec3a22244bcd939ed0a57856d697c45aff42547457ca817 -eo pid,comm 04:38:12 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). 04:38:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:12 [ssh-agent] Looking for ssh-agent implementation... 04:38:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:13 $ docker exec ab707abf5e7b46d09ec3a22244bcd939ed0a57856d697c45aff42547457ca817 ssh-agent 04:38:13 SSH_AUTH_SOCK=/tmp/ssh-8WAeOqaq8Hd2/agent.32 04:38:13 SSH_AGENT_PID=38 04:38:13 Running ssh-add (command line suppressed) 04:38:13 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3867878262400828033.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3867878262400828033.key) 04:38:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:13 + git semver push 04:38:13 2023-12-08 04:38:13,835 [run_push] DEBUG push 04:38:13 2023-12-08 04:38:13,835 [execute] INFO git cat-file --batch-check 04:38:13 2023-12-08 04:38:13,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:38:13 2023-12-08 04:38:13,840 [execute] INFO git rev-list 1a066d760a58db81fbe0797b40b0f4280e158cdd -- 04:38:13 2023-12-08 04:38:13,840 [execute] DEBUG Popen(['git', 'rev-list', '1a066d760a58db81fbe0797b40b0f4280e158cdd', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:38:13 2023-12-08 04:38:13,848 [execute] INFO git fetch -v origin 04:38:13 2023-12-08 04:38:13,849 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:38:14 2023-12-08 04:38:14,354 [run_push] DEBUG no remote changes detected 04:38:14 2023-12-08 04:38:14,354 [execute] INFO git push origin semver 04:38:14 2023-12-08 04:38:14,354 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:38:15 2023-12-08 04:38:15,117 [run_push] DEBUG push all version tags 04:38:15 2023-12-08 04:38:15,118 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:38:15 2023-12-08 04:38:15,118 [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) 04:38:15 2023-12-08 04:38:15,847 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:38:15 3.2.0-dev.5 [Pipeline] } 04:38:16 $ docker exec --env ******** --env ******** ab707abf5e7b46d09ec3a22244bcd939ed0a57856d697c45aff42547457ca817 ssh-agent -k 04:38:16 unset SSH_AUTH_SOCK; 04:38:16 unset SSH_AGENT_PID; 04:38:16 echo Agent pid 38 killed; 04:38:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:16 + git semver [Pipeline] } 04:38:16 $ docker stop --time=1 ab707abf5e7b46d09ec3a22244bcd939ed0a57856d697c45aff42547457ca817 04:38:18 $ docker rm -f --volumes ab707abf5e7b46d09ec3a22244bcd939ed0a57856d697c45aff42547457ca817 [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 04:38:19 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:38:19 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:38:19 total 16 04:38:19 drwxr-xr-x 3 root root 4096 Dec 8 04:31 . 04:38:19 drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 04:38 .. 04:38:19 drwxr-xr-x 2 root root 4096 Dec 8 04:31 cost 04:38:19 -rw-r--r-- 1 root root 91 Dec 8 04:31 cost.csv 04:38:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:38:19 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:38:19 total 16 04:38:19 drwxr-xr-x 3 jenkins jenkins 4096 Dec 8 04:31 . 04:38:19 drwxrwxr-x 10 jenkins jenkins 4096 Dec 8 04:38 .. 04:38:19 drwxr-xr-x 2 jenkins jenkins 4096 Dec 8 04:31 cost 04:38:19 -rw-r--r-- 1 jenkins jenkins 91 Dec 8 04:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:38:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:38:20 ---> package-listing.sh 04:38:20 ++ facter osfamily 04:38:20 ++ tr '[:upper:]' '[:lower:]' 04:38:21 + OS_FAMILY=debian 04:38:21 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:38:21 + START_PACKAGES=/tmp/packages_start.txt 04:38:21 + END_PACKAGES=/tmp/packages_end.txt 04:38:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:38:21 + PACKAGES=/tmp/packages_start.txt 04:38:21 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:38:21 + PACKAGES=/tmp/packages_end.txt 04:38:21 + case "${OS_FAMILY}" in 04:38:21 + dpkg -l 04:38:21 + grep '^ii' 04:38:21 + '[' -f /tmp/packages_start.txt ']' 04:38:21 + '[' -f /tmp/packages_end.txt ']' 04:38:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:38:21 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:38:21 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:38:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:38:21 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 04:38:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:22 prd-ubuntu20.04-docker-8c-8g-24689 does not seem to be running inside a container 04:38:22 $ 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 04:38:22 $ docker top 28832dc782fbb1e6dde4402a2932b2008c16c3189c86dd67dc3b03066f726bdc -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:22 + touch /tmp/pre-build-complete [Pipeline] sh 04:38:23 + mkdir -p /var/log/sysstat [Pipeline] sh 04:38:23 + ls /var/log/sa-host 04:38:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:23 provisioning config files... 04:38:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17434901061396350868tmp [Pipeline] { [Pipeline] echo 04:38:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:38:24 ---> create-netrc.sh [Pipeline] } 04:38:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:38:24 ---> python-tools-install.sh [Pipeline] echo 04:38:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:38:24 ---> sudo-logs.sh 04:38:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:38:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:38:25 ---> job-cost.sh 04:38:25 lf-activate-venv: SKIPPING 04:38:25 DEBUG: total: 0.2199999988079071 04:38:25 INFO: Retrieving Stack Cost... 04:38:25 INFO: Retrieving Pricing Info for: v3-standard-8 04:38:26 INFO: Archiving Costs [Pipeline] echo 04:38:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:38:26 ---> logs-deploy.sh 04:38:26 lf-activate-venv: SKIPPING 04:38:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/189 04:38:26 INFO: archiving workspace using pattern(s): 04:38:27 Archives upload complete. 04:38:27 INFO: archiving logs to Nexus