Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c6b29b4f74c1924abd599cd10297b3464f260a3 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-ssh16220858540138991292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6280138291093056121.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11240250868037422194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13179718990482130255.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-ssh3007087737022669604.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15176’ Running on prd-ubuntu20.04-docker-8c-8g-15178 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 > 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 Avoid second fetch Checking out Revision 7c6b29b4f74c1924abd599cd10297b3464f260a3 (main) Commit message: "refactor!: prefix some commands with onvif service name and add SnapshotUri (#357)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6b29b4f74c1924abd599cd10297b3464f260a3 # timeout=10 > git rev-list --no-walk 1f388099ed379dad62200909a1d9c5e93e9adedb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:54:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:12 ========================================================= 05:54:12 EdgeX Global Pipelines Version Info 05:54:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:54:13 ------------------- 05:54:13 stable info: 05:54:13 ------------------- 05:54:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:54:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:54:13 Message: update stable to v1.0.249 05:54:13 ------------------- 05:54:13 experimental info: 05:54:13 ------------------- 05:54:13 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:54:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c6b29b [Pipeline] echo 05:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:14 provisioning config files... 05:54:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6054481722985361561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:14 ---> docker-login.sh 05:54:14 nexus3.edgexfoundry.org:10001 05:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:14 Configure a credential helper to remove this warning. See 05:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:14 05:54:14 Login Succeeded 05:54:14 nexus3.edgexfoundry.org:10002 05:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:15 Configure a credential helper to remove this warning. See 05:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:15 05:54:15 Login Succeeded 05:54:15 nexus3.edgexfoundry.org:10003 05:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:15 Configure a credential helper to remove this warning. See 05:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:15 05:54:15 Login Succeeded 05:54:15 nexus3.edgexfoundry.org:10004 05:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:15 Configure a credential helper to remove this warning. See 05:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:15 05:54:15 Login Succeeded 05:54:15 docker.io 05:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:15 Configure a credential helper to remove this warning. See 05:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:15 05:54:15 Login Succeeded 05:54:15 ---> docker-login.sh ends [Pipeline] } 05:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:54:16 + git rev-list -1 --merges 7c6b29b4f74c1924abd599cd10297b3464f260a3~1..7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] echo 05:54:16 -----------> git rev-list -1 --merges 7c6b29b4f74c1924abd599cd10297b3464f260a3~1..7c6b29b4f74c1924abd599cd10297b3464f260a3 7c6b29b4f74c1924abd599cd10297b3464f260a3 [false] [Pipeline] sh 05:54:16 + git log --format=format:%s -1 7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] echo 05:54:16 ========================================================= 05:54:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:54:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:16 + git log --format=format:%s -1 7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] echo 05:54:16 [semverPrep] GIT_COMMIT: 7c6b29b4f74c1924abd599cd10297b3464f260a3, Commit Message: refactor!: prefix some commands with onvif service name and add SnapshotUri (#357) [Pipeline] echo 05:54:16 [semverPrep] This is not a build commit. [Pipeline] sh 05:54:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:54:17 + grep -v github /etc/ssh/ssh_known_hosts 05:54:17 + [ -e /tmp/ssh_known_hosts ] 05:54:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:54:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:54:17 + sudo tee -a /etc/ssh/ssh_known_hosts 05:54:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:17 05:54:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:17 0.1.4: Pulling from edgex-devops/py-git-semver 05:54:17 b85a868b505f: Pulling fs layer 05:54:17 e2be974225ed: Pulling fs layer 05:54:17 339a4e72a1f5: Pulling fs layer 05:54:17 988bab9f4d93: Pulling fs layer 05:54:17 1469e6f7b9e6: Pulling fs layer 05:54:17 eaf3925da568: Pulling fs layer 05:54:17 bab4dde63d76: Pulling fs layer 05:54:17 bde34c3a00c8: Pulling fs layer 05:54:17 b352a97aabf1: Pulling fs layer 05:54:17 4872d77fe225: Pulling fs layer 05:54:17 5851b861e8e6: Pulling fs layer 05:54:17 bde34c3a00c8: Waiting 05:54:17 988bab9f4d93: Waiting 05:54:17 b352a97aabf1: Waiting 05:54:17 eaf3925da568: Waiting 05:54:17 bab4dde63d76: Waiting 05:54:17 5851b861e8e6: Waiting 05:54:17 1469e6f7b9e6: Waiting 05:54:17 4872d77fe225: Waiting 05:54:17 e2be974225ed: Verifying Checksum 05:54:17 e2be974225ed: Download complete 05:54:17 988bab9f4d93: Verifying Checksum 05:54:17 988bab9f4d93: Download complete 05:54:17 1469e6f7b9e6: Verifying Checksum 05:54:17 1469e6f7b9e6: Download complete 05:54:17 eaf3925da568: Verifying Checksum 05:54:17 eaf3925da568: Download complete 05:54:17 339a4e72a1f5: Verifying Checksum 05:54:17 339a4e72a1f5: Download complete 05:54:17 bde34c3a00c8: Download complete 05:54:17 b352a97aabf1: Verifying Checksum 05:54:17 b352a97aabf1: Download complete 05:54:17 4872d77fe225: Verifying Checksum 05:54:17 4872d77fe225: Download complete 05:54:17 5851b861e8e6: Download complete 05:54:17 b85a868b505f: Verifying Checksum 05:54:17 b85a868b505f: Download complete 05:54:18 bab4dde63d76: Verifying Checksum 05:54:19 b85a868b505f: Pull complete 05:54:19 e2be974225ed: Pull complete 05:54:19 339a4e72a1f5: Pull complete 05:54:19 988bab9f4d93: Pull complete 05:54:19 1469e6f7b9e6: Pull complete 05:54:19 eaf3925da568: Pull complete 05:54:21 bab4dde63d76: Pull complete 05:54:21 bde34c3a00c8: Pull complete 05:54:21 b352a97aabf1: Pull complete 05:54:21 4872d77fe225: Pull complete 05:54:21 5851b861e8e6: Pull complete 05:54:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:54:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:54:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:21 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 05:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:54:23 $ docker top cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 -eo pid,comm 05:54:23 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). 05:54:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:23 [ssh-agent] Looking for ssh-agent implementation... 05:54:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:23 $ docker exec cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 ssh-agent 05:54:23 SSH_AUTH_SOCK=/tmp/ssh-z0ilGUuporcQ/agent.33 05:54:23 SSH_AGENT_PID=39 05:54:23 Running ssh-add (command line suppressed) 05:54:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10890927902233117078.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10890927902233117078.key) 05:54:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:24 + git tag --points-at HEAD [Pipeline] } 05:54:24 $ docker exec --env ******** --env ******** cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 ssh-agent -k 05:54:24 unset SSH_AUTH_SOCK; 05:54:24 unset SSH_AGENT_PID; 05:54:24 echo Agent pid 39 killed; 05:54:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:24 [ssh-agent] Looking for ssh-agent implementation... 05:54:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:24 $ docker exec cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 ssh-agent 05:54:24 SSH_AUTH_SOCK=/tmp/ssh-MP4zqjzMX6fJ/agent.71 05:54:24 SSH_AGENT_PID=77 05:54:24 Running ssh-add (command line suppressed) 05:54:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3906352072801994615.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3906352072801994615.key) 05:54:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:24 + git semver init 05:54:25 2023-05-11 05:54:24,937 [run_init] DEBUG init version:0.0.0 force:False 05:54:25 2023-05-11 05:54:24,937 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 05:54:25 2023-05-11 05:54:24,938 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 05:54:25 2023-05-11 05:54:24,938 [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) 05:54:25 2023-05-11 05:54:25,872 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 05:54:25 2023-05-11 05:54:25,872 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 05:54:25 2023-05-11 05:54:25,872 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:54:25 2023-05-11 05:54:25,872 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:54:25 3.0.0-dev.50 [Pipeline] } 05:54:25 $ docker exec --env ******** --env ******** cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 ssh-agent -k 05:54:26 unset SSH_AUTH_SOCK; 05:54:26 unset SSH_AGENT_PID; 05:54:26 echo Agent pid 77 killed; 05:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:26 + git semver [Pipeline] } 05:54:26 $ docker stop --time=1 cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 05:54:27 $ docker rm -f --volumes cfeafc69fcc94c5dfccf58dcb44c08d359110d9139965dd5c64f27bad540e902 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:28 Stashed 1 file(s) [Pipeline] echo 05:54:28 [edgeXSemver]: initialized semver on version 3.0.0-dev.50 [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 05:54:28 provisioning config files... 05:54:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7169859008117602784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:28 ---> docker-login.sh 05:54:28 nexus3.edgexfoundry.org:10001 05:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:28 Configure a credential helper to remove this warning. See 05:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:28 05:54:28 Login Succeeded 05:54:28 nexus3.edgexfoundry.org:10002 05:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:28 Configure a credential helper to remove this warning. See 05:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:28 05:54:28 Login Succeeded 05:54:28 nexus3.edgexfoundry.org:10003 05:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:29 Configure a credential helper to remove this warning. See 05:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:29 05:54:29 Login Succeeded 05:54:29 nexus3.edgexfoundry.org:10004 05:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:29 Configure a credential helper to remove this warning. See 05:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:29 05:54:29 Login Succeeded 05:54:29 docker.io 05:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:29 Configure a credential helper to remove this warning. See 05:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:29 05:54:29 Login Succeeded 05:54:29 ---> docker-login.sh ends [Pipeline] } 05:54:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:54:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:54:29 ========================================================= 05:54:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:54:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:54:29 Sending build context to Docker daemon 21.8MB 05:54:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:54:29 Step 2/13 : FROM ${BASE} AS builder 05:54:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:30 f56be85fc22e: Pulling fs layer 05:54:30 85791d961cd3: Pulling fs layer 05:54:30 d694b5ae8c79: Pulling fs layer 05:54:30 9f32a84ed3da: Pulling fs layer 05:54:30 4d19c01a9841: Pulling fs layer 05:54:30 9325e15d5711: Pulling fs layer 05:54:30 556b6ee489ea: Pulling fs layer 05:54:30 c5a4b2cf53e6: Pulling fs layer 05:54:30 9f32a84ed3da: Waiting 05:54:30 4d19c01a9841: Waiting 05:54:30 9325e15d5711: Waiting 05:54:30 556b6ee489ea: Waiting 05:54:30 c5a4b2cf53e6: Waiting 05:54:30 85791d961cd3: Download complete 05:54:30 9f32a84ed3da: Download complete 05:54:30 4d19c01a9841: Verifying Checksum 05:54:30 4d19c01a9841: Download complete 05:54:30 f56be85fc22e: Verifying Checksum 05:54:30 f56be85fc22e: Download complete 05:54:30 9325e15d5711: Verifying Checksum 05:54:30 9325e15d5711: Download complete 05:54:30 f56be85fc22e: Pull complete 05:54:30 85791d961cd3: Pull complete 05:54:30 c5a4b2cf53e6: Verifying Checksum 05:54:30 c5a4b2cf53e6: Download complete 05:54:30 d694b5ae8c79: Verifying Checksum 05:54:30 d694b5ae8c79: Download complete 05:54:30 556b6ee489ea: Verifying Checksum 05:54:30 556b6ee489ea: Download complete 05:54:33 d694b5ae8c79: Pull complete 05:54:33 9f32a84ed3da: Pull complete 05:54:33 4d19c01a9841: Pull complete 05:54:33 9325e15d5711: Pull complete 05:54:36 556b6ee489ea: Pull complete 05:54:36 c5a4b2cf53e6: Pull complete 05:54:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:54:36 ---> c4be618373d6 05:54:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:54:38 ---> Running in aea061cc60f1 05:54:38 Removing intermediate container aea061cc60f1 05:54:38 ---> 11b98b961841 05:54:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:54:38 ---> Running in 4a17253fe9ca 05:54:38 Removing intermediate container 4a17253fe9ca 05:54:38 ---> c76d8a57446a 05:54:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:54:38 ---> Running in b3ddc8f4dc26 05:54:39 Removing intermediate container b3ddc8f4dc26 05:54:39 ---> 5fddfbdf3b52 05:54:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:54:39 ---> Running in 0dd0f5ae3eb9 05:54:39 Removing intermediate container 0dd0f5ae3eb9 05:54:39 ---> 6248571fd00e 05:54:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:54:39 ---> Running in 944284b9d725 05:54:39 Removing intermediate container 944284b9d725 05:54:39 ---> a5f0ccd9dcba 05:54:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:39 ---> Running in 65187e279c9b 05:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:54:39 OK: 265 MiB in 53 packages 05:54:40 Removing intermediate container 65187e279c9b 05:54:40 ---> 06a620fe8a58 05:54:40 Step 9/13 : WORKDIR /device-onvif-camera 05:54:40 ---> Running in 6e6a01dd8128 05:54:40 Removing intermediate container 6e6a01dd8128 05:54:40 ---> 40e779983657 05:54:40 Step 10/13 : COPY go.mod vendor* ./ 05:54:40 ---> 37eb792880e1 05:54:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:40 ---> Running in b4713ddbc169 05:54:43 Still waiting to schedule task 05:54:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15177’ is offline 05:55:19 Removing intermediate container b4713ddbc169 05:55:19 ---> 117bf976f5ff 05:55:19 Step 12/13 : COPY . . 05:55:19 ---> aad945ef7d94 05:55:19 Step 13/13 : RUN ${MAKE} 05:55:19 ---> Running in a90501745808 05:55:19 noop 05:55:19 Removing intermediate container a90501745808 05:55:19 ---> 49b2521343e3 05:55:19 Successfully built 49b2521343e3 05:55:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:19 + docker inspect -f . ci-base-image-x86_64 05:55:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:19 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 05:55:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:19 $ docker top d6bbe08d2384a1726ac64b28caa8e1d626c3d2565998a622901a81f8fa52d1c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:20 + go version 05:55:20 go version go1.20.2 linux/amd64 [Pipeline] } 05:55:20 $ docker stop --time=1 d6bbe08d2384a1726ac64b28caa8e1d626c3d2565998a622901a81f8fa52d1c5 05:55:21 $ docker rm -f --volumes d6bbe08d2384a1726ac64b28caa8e1d626c3d2565998a622901a81f8fa52d1c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:21 + docker inspect -f . ci-base-image-x86_64 05:55:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:21 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 05:55:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:22 $ docker top 5afb36edc0c0fb21c751148d883c7e846a9dc02cf7dff768bd0254a57cd58bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:22 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 05:55:22 + make test 05:55:22 go test ./... -coverprofile=coverage.out ./... 05:55:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:55:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:55:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:55:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements 05:55:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.103s coverage: 86.5% of statements 05:55:48 go vet ./... 05:55:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:55:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:55:51 ./bin/test-attribution-txt.sh [Pipeline] echo 05:55:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:55:51 $ docker stop --time=1 5afb36edc0c0fb21c751148d883c7e846a9dc02cf7dff768bd0254a57cd58bc5 05:55:53 $ docker rm -f --volumes 5afb36edc0c0fb21c751148d883c7e846a9dc02cf7dff768bd0254a57cd58bc5 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:55 + ls -al . 05:55:55 total 232 05:55:55 drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:55 . 05:55:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:54 .. 05:55:55 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:54 .git 05:55:55 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:54 .github 05:55:55 -rw-rw-r-- 1 jenkins jenkins 496 May 11 05:54 .gitignore 05:55:55 -rw-rw-r-- 1 jenkins jenkins 42 May 11 05:54 .golangci.yml 05:55:55 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:54 .semver 05:55:55 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 05:54 Attribution.txt 05:55:55 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 05:54 CHANGELOG.md 05:55:55 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 05:54 Dockerfile 05:55:55 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:54 GOVERNANCE.md 05:55:55 -rw-rw-r-- 1 jenkins jenkins 734 May 11 05:54 Jenkinsfile 05:55:55 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 05:54 LICENSE 05:55:55 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 05:54 Makefile 05:55:55 -rw-rw-r-- 1 jenkins jenkins 625 May 11 05:54 OWNERS.md 05:55:55 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 05:54 README.md 05:55:55 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:54 VERSION 05:55:55 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:54 bin 05:55:55 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:54 cmd 05:55:55 -rw-r--r-- 1 jenkins jenkins 78459 May 11 05:55 coverage.out 05:55:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:54 doc 05:55:55 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 05:54 go.mod 05:55:55 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 05:54 go.sum 05:55:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:54 internal 05:55:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:54 snap 05:55:55 -rw-rw-r-- 1 jenkins jenkins 236 May 11 05:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:55 + 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=7c6b29b4f74c1924abd599cd10297b3464f260a3 --label arch=amd64 --label version=3.0.0-dev.50 . 05:55:55 Sending build context to Docker daemon 21.88MB 05:55:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:55:55 Step 2/26 : FROM ${BASE} AS builder 05:55:55 ---> 49b2521343e3 05:55:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:55:55 ---> Running in 04c3ac2fd3be 05:55:55 Removing intermediate container 04c3ac2fd3be 05:55:55 ---> 7d2dce5e7791 05:55:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:55:56 ---> Running in aeeeb0fb269b 05:55:56 Removing intermediate container aeeeb0fb269b 05:55:56 ---> a124d6a88f97 05:55:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 05:55:56 ---> Running in 3f936b7b338a 05:55:56 Removing intermediate container 3f936b7b338a 05:55:56 ---> db07d9acf1e4 05:55:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:55:56 ---> Running in 962d0d3284b0 05:55:56 Removing intermediate container 962d0d3284b0 05:55:56 ---> 669e4e2e7806 05:55:56 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:55:56 ---> Running in b5b518563172 05:55:56 Removing intermediate container b5b518563172 05:55:56 ---> fd1735618d1f 05:55:56 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:55:56 ---> Running in bef5afab259b 05:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:55:57 OK: 265 MiB in 53 packages 05:55:57 Removing intermediate container bef5afab259b 05:55:57 ---> 584dbe1337c6 05:55:57 Step 9/26 : WORKDIR /device-onvif-camera 05:55:57 ---> Running in 1a57c75fc7d4 05:55:57 Removing intermediate container 1a57c75fc7d4 05:55:57 ---> 1266c5c50c83 05:55:57 Step 10/26 : COPY go.mod vendor* ./ 05:55:57 ---> 4d1c00af275b 05:55:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:55:57 ---> Running in e7d27fcdcdd3 05:55:58 Removing intermediate container e7d27fcdcdd3 05:55:58 ---> a11113d8202d 05:55:58 Step 12/26 : COPY . . 05:55:59 ---> 1828b054b7cb 05:55:59 Step 13/26 : RUN ${MAKE} 05:55:59 ---> Running in 230850af2ef4 05:55:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 05:56:17 Removing intermediate container 230850af2ef4 05:56:17 ---> 8e7de220560c 05:56:17 Step 14/26 : FROM alpine:3.17 05:56:17 3.17: Pulling from library/alpine 05:56:17 f56be85fc22e: Already exists 05:56:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:56:17 Status: Downloaded newer image for alpine:3.17 05:56:17 ---> 9ed4aefc74f6 05:56:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:56:17 ---> Running in 757d04136e6b 05:56:17 Removing intermediate container 757d04136e6b 05:56:17 ---> e7246c1860d9 05:56:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:56:17 ---> Running in ba8e31eacd59 05:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:56:18 (1/1) Installing dumb-init (1.2.5-r2) 05:56:18 Executing busybox-1.35.0-r29.trigger 05:56:18 OK: 7 MiB in 16 packages 05:56:18 Removing intermediate container ba8e31eacd59 05:56:18 ---> c23ee31be53f 05:56:18 Step 17/26 : WORKDIR / 05:56:18 ---> Running in e0afba4fb6f8 05:56:18 Removing intermediate container e0afba4fb6f8 05:56:18 ---> 3f955ba55444 05:56:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:56:19 ---> fdfacd2a2d73 05:56:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:56:19 ---> 26cf518c9bd4 05:56:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:56:19 ---> aa7e2ab586ff 05:56:19 Step 21/26 : EXPOSE 59984 05:56:19 ---> Running in ac522217adab 05:56:19 Removing intermediate container ac522217adab 05:56:19 ---> 9c306c20513b 05:56:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:56:19 ---> Running in 9c3a3313d1ec 05:56:19 Removing intermediate container 9c3a3313d1ec 05:56:19 ---> 66a5706c10c8 05:56:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:56:19 ---> Running in 1a8cd7c14656 05:56:20 Removing intermediate container 1a8cd7c14656 05:56:20 ---> 2a375d586a86 05:56:20 Step 24/26 : LABEL arch=amd64 05:56:20 ---> Running in cc138da6b049 05:56:20 Removing intermediate container cc138da6b049 05:56:20 ---> bc10905ca6dc 05:56:20 Step 25/26 : LABEL git_sha=7c6b29b4f74c1924abd599cd10297b3464f260a3 05:56:20 ---> Running in 0476733f28d4 05:56:20 Removing intermediate container 0476733f28d4 05:56:20 ---> 821322376f8b 05:56:20 Step 26/26 : LABEL version=3.0.0-dev.50 05:56:20 ---> Running in 456d31772fc8 05:56:20 Removing intermediate container 456d31772fc8 05:56:20 ---> 206dd8ba5c49 05:56:20 [Warning] One or more build-args [ARCH] were not consumed 05:56:20 Successfully built 206dd8ba5c49 05:56:20 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 05:56:20 provisioning config files... 05:56:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4417971852629140235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:23 ---> docker-login.sh 05:56:23 nexus3.edgexfoundry.org:10001 05:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:23 Configure a credential helper to remove this warning. See 05:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:23 05:56:23 Login Succeeded 05:56:23 nexus3.edgexfoundry.org:10002 05:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:23 Configure a credential helper to remove this warning. See 05:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:23 05:56:23 Login Succeeded 05:56:23 nexus3.edgexfoundry.org:10003 05:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:23 Configure a credential helper to remove this warning. See 05:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:23 05:56:23 Login Succeeded 05:56:23 nexus3.edgexfoundry.org:10004 05:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:23 Configure a credential helper to remove this warning. See 05:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:23 05:56:23 Login Succeeded 05:56:23 docker.io 05:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:24 Configure a credential helper to remove this warning. See 05:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:24 05:56:24 Login Succeeded 05:56:24 ---> docker-login.sh ends [Pipeline] } 05:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:56:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15179 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] // withEnv [Pipeline] { [Pipeline] echo 05:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] ws 05:56:24 Running in /w/workspace/device-onvif-camera/147 [Pipeline] { [Pipeline] checkout [Pipeline] echo 05:56:24 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 05:56:24 7c6b29b4f74c1924abd599cd10297b3464f260a3 05:56:24 latest 05:56:24 3.0.0-dev.50 05:56:24 7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 05:56:24 main 05:56:24 ===================================================== 05:56:24 The recommended git tool is: git [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3 05:56:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:56:25 c9c91b19f5f4: Preparing 05:56:25 eb265731922c: Preparing 05:56:25 a17b394f942a: Preparing 05:56:25 7cdf791ef864: Preparing 05:56:25 f1417ff83b31: Preparing 05:56:25 f1417ff83b31: Layer already exists 05:56:25 7cdf791ef864: Pushed 05:56:25 c9c91b19f5f4: Pushed 05:56:25 eb265731922c: Pushed 05:56:27 a17b394f942a: Pushed 05:56:27 7c6b29b4f74c1924abd599cd10297b3464f260a3: digest: sha256:ad06497571b70b01a343865a760ba2ef3336a86204939bcd3ef34a4d3d1075ec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:27 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:56:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:56:28 c9c91b19f5f4: Preparing 05:56:28 eb265731922c: Preparing 05:56:28 a17b394f942a: Preparing 05:56:28 7cdf791ef864: Preparing 05:56:28 f1417ff83b31: Preparing 05:56:28 eb265731922c: Layer already exists 05:56:28 c9c91b19f5f4: Layer already exists 05:56:28 7cdf791ef864: Layer already exists 05:56:28 f1417ff83b31: Layer already exists 05:56:28 a17b394f942a: Layer already exists 05:56:28 latest: digest: sha256:ad06497571b70b01a343865a760ba2ef3336a86204939bcd3ef34a4d3d1075ec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:28 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.50 05:56:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:56:28 c9c91b19f5f4: Preparing 05:56:28 eb265731922c: Preparing 05:56:28 a17b394f942a: Preparing 05:56:28 7cdf791ef864: Preparing 05:56:28 f1417ff83b31: Preparing 05:56:28 f1417ff83b31: Layer already exists 05:56:28 eb265731922c: Layer already exists 05:56:28 c9c91b19f5f4: Layer already exists 05:56:28 7cdf791ef864: Layer already exists 05:56:28 a17b394f942a: Layer already exists 05:56:28 3.0.0-dev.50: digest: sha256:ad06497571b70b01a343865a760ba2ef3336a86204939bcd3ef34a4d3d1075ec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 05:56:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:56:29 c9c91b19f5f4: Preparing 05:56:29 eb265731922c: Preparing 05:56:29 a17b394f942a: Preparing 05:56:29 7cdf791ef864: Preparing 05:56:29 f1417ff83b31: Preparing 05:56:29 c9c91b19f5f4: Layer already exists 05:56:29 eb265731922c: Layer already exists 05:56:29 7cdf791ef864: Layer already exists 05:56:29 f1417ff83b31: Layer already exists 05:56:29 a17b394f942a: Layer already exists 05:56:29 7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50: digest: sha256:ad06497571b70b01a343865a760ba2ef3336a86204939bcd3ef34a4d3d1075ec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:29 using credential edgex-jenkins-ssh 05:56:29 Cloning the remote Git repository 05:56:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 05:56:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:56:30 c9c91b19f5f4: Preparing 05:56:30 eb265731922c: Preparing 05:56:30 a17b394f942a: Preparing 05:56:30 7cdf791ef864: Preparing 05:56:30 f1417ff83b31: Preparing 05:56:30 a17b394f942a: Layer already exists 05:56:30 7cdf791ef864: Layer already exists 05:56:30 f1417ff83b31: Layer already exists 05:56:30 c9c91b19f5f4: Layer already exists 05:56:30 eb265731922c: Layer already exists 05:56:30 main: digest: sha256:ad06497571b70b01a343865a760ba2ef3336a86204939bcd3ef34a4d3d1075ec size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:56:30 ===================================================== [Pipeline] echo 05:56:30 taggedImages: 05:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3 05:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.50 05:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 05:56:30 - 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 05:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:30 05:56:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 05:56:29 > git init /w/workspace/device-onvif-camera/147 # timeout=10 05:56:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:56:30 > git --version # timeout=10 05:56:30 > git --version # 'git version 2.25.1' 05:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:30 latest: Pulling from edgex-lftools-log-publisher 05:56:30 5eb5b503b376: Pulling fs layer 05:56:30 5c69ac0246d0: Pulling fs layer 05:56:30 ec43610c2a17: Pulling fs layer 05:56:30 3a2ae6a8a46f: Pulling fs layer 05:56:30 33b1e0a273af: Pulling fs layer 05:56:30 5d3b04190fa2: Pulling fs layer 05:56:30 2f39f015ded8: Pulling fs layer 05:56:30 3a2ae6a8a46f: Waiting 05:56:30 5d3b04190fa2: Waiting 05:56:30 33b1e0a273af: Waiting 05:56:30 5c69ac0246d0: Download complete 05:56:30 3a2ae6a8a46f: Verifying Checksum 05:56:30 3a2ae6a8a46f: Download complete 05:56:30 ec43610c2a17: Verifying Checksum 05:56:30 ec43610c2a17: Download complete 05:56:31 33b1e0a273af: Verifying Checksum 05:56:31 33b1e0a273af: Download complete 05:56:31 5d3b04190fa2: Verifying Checksum 05:56:31 5d3b04190fa2: Download complete 05:56:31 5eb5b503b376: Verifying Checksum 05:56:31 5eb5b503b376: Download complete 05:56:32 5eb5b503b376: Pull complete 05:56:32 5c69ac0246d0: Pull complete 05:56:33 ec43610c2a17: Pull complete 05:56:33 3a2ae6a8a46f: Pull complete 05:56:33 33b1e0a273af: Pull complete 05:56:33 5d3b04190fa2: Pull complete 05:56:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:56:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:35 Avoid second fetch 05:56:35 Checking out Revision 7c6b29b4f74c1924abd599cd10297b3464f260a3 (main) 05:56:36 Commit message: "refactor!: prefix some commands with onvif service name and add SnapshotUri (#357)" 05:56:35 > git config core.sparsecheckout # timeout=10 05:56:35 > git checkout -f 7c6b29b4f74c1924abd599cd10297b3464f260a3 # timeout=10 05:56:36 05:56:36 GitHub has been notified of this commit’s build result 05:56:36 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:56:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:56:37 Dload Upload Total Spent Left Speed 05:56:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh 05:56:37 2f39f015ded8: Pull complete 05:56:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:37 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 05:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 05:56:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 05:56:39 $ docker top 0e5dbeaf16ff0424fb05ebc864d996384d1d9817a1ab209be79e9c9689cdf269 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 05:56:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:56:40 + sudo tee /etc/docker/daemon.new 05:56:40 { 05:56:40 "registry-mirrors": [ 05:56:40 "https://nexus3.edgexfoundry.org:10001" 05:56:40 ], 05:56:40 "bip": "10.250.0.254/24", 05:56:40 "hosts": [ 05:56:40 "tcp://0.0.0.0:5555", 05:56:40 "unix:///var/run/docker.sock" 05:56:40 ], 05:56:40 "mtu": 1458, 05:56:40 "selinux-enabled": true, 05:56:40 "seccomp-profile": "/etc/docker/seccomp.json" 05:56:40 } [Pipeline] sh 05:56:40 ---> job-cost.sh 05:56:40 lf-activate-venv: SKIPPING 05:56:40 INFO: No Stack... 05:56:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:56:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:40 + sudo service docker restart 05:56:41 INFO: Archiving Costs [Pipeline] sh 05:56:41 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 05:56:41 + cut -d, -f6 [Pipeline] lock 05:56:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] 05:56:41 Resource [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] did not exist. Created. 05:56:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:42 Stashed 1 file(s) [Pipeline] } 05:56:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:42 $ docker stop --time=1 0e5dbeaf16ff0424fb05ebc864d996384d1d9817a1ab209be79e9c9689cdf269 05:56:43 $ docker rm -f --volumes 0e5dbeaf16ff0424fb05ebc864d996384d1d9817a1ab209be79e9c9689cdf269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:59 provisioning config files... 05:56:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/147@tmp/config5065243687504124328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:59 ---> docker-login.sh 05:56:59 nexus3.edgexfoundry.org:10001 05:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:00 Configure a credential helper to remove this warning. See 05:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:00 05:57:00 Login Succeeded 05:57:00 nexus3.edgexfoundry.org:10002 05:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:00 Configure a credential helper to remove this warning. See 05:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:00 05:57:00 Login Succeeded 05:57:00 nexus3.edgexfoundry.org:10003 05:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:01 Configure a credential helper to remove this warning. See 05:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:01 05:57:01 Login Succeeded 05:57:01 nexus3.edgexfoundry.org:10004 05:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:01 Configure a credential helper to remove this warning. See 05:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:01 05:57:01 Login Succeeded 05:57:01 docker.io 05:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:02 Configure a credential helper to remove this warning. See 05:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:02 05:57:02 Login Succeeded 05:57:02 ---> docker-login.sh ends [Pipeline] } 05:57:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:02 ========================================================= 05:57:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:57:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:57:03 Sending build context to Docker daemon 14.31MB 05:57:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:57:03 Step 2/13 : FROM ${BASE} AS builder 05:57:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:57:03 c41833b44d91: Pulling fs layer 05:57:03 ed15518f5707: Pulling fs layer 05:57:03 feae8fd75edb: Pulling fs layer 05:57:03 242c74f7c9fa: Pulling fs layer 05:57:03 3cdef696dda3: Pulling fs layer 05:57:03 2ced38df9373: Pulling fs layer 05:57:03 58f1dce35555: Pulling fs layer 05:57:03 3cdef696dda3: Waiting 05:57:03 2ced38df9373: Waiting 05:57:03 242c74f7c9fa: Waiting 05:57:03 58f1dce35555: Waiting 05:57:03 ed15518f5707: Verifying Checksum 05:57:03 ed15518f5707: Download complete 05:57:03 242c74f7c9fa: Verifying Checksum 05:57:03 242c74f7c9fa: Download complete 05:57:03 3cdef696dda3: Download complete 05:57:03 c41833b44d91: Verifying Checksum 05:57:03 c41833b44d91: Download complete 05:57:04 c41833b44d91: Pull complete 05:57:05 58f1dce35555: Verifying Checksum 05:57:05 58f1dce35555: Download complete 05:57:05 ed15518f5707: Pull complete 05:57:06 feae8fd75edb: Verifying Checksum 05:57:06 feae8fd75edb: Download complete 05:57:06 2ced38df9373: Verifying Checksum 05:57:06 2ced38df9373: Download complete 05:57:18 feae8fd75edb: Pull complete 05:57:18 242c74f7c9fa: Pull complete 05:57:18 3cdef696dda3: Pull complete 05:57:23 2ced38df9373: Pull complete 05:57:26 58f1dce35555: Pull complete 05:57:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:57:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:57:26 ---> fadd8f120f05 05:57:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:57:28 ---> Running in 32612ce09b0f 05:57:28 Removing intermediate container 32612ce09b0f 05:57:28 ---> f2346743cf25 05:57:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:57:28 ---> Running in b662b4bb86e2 05:57:29 Removing intermediate container b662b4bb86e2 05:57:29 ---> e656bbd6db74 05:57:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:57:29 ---> Running in 4492b71dd953 05:57:29 Removing intermediate container 4492b71dd953 05:57:29 ---> abeab61a9c62 05:57:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:57:29 ---> Running in 0d00c225a7f3 05:57:29 Removing intermediate container 0d00c225a7f3 05:57:29 ---> 8d783f022b73 05:57:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:57:30 ---> Running in 7698bb74ae7c 05:57:30 Removing intermediate container 7698bb74ae7c 05:57:30 ---> 89acf0393d55 05:57:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:57:30 ---> Running in 8f0996a2f4c1 05:57:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:57:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:57:32 OK: 263 MiB in 53 packages 05:57:33 Removing intermediate container 8f0996a2f4c1 05:57:33 ---> 87c0261ca0cf 05:57:33 Step 9/13 : WORKDIR /device-onvif-camera 05:57:33 ---> Running in d91fe613f74c 05:57:34 Removing intermediate container d91fe613f74c 05:57:34 ---> 5c8ed9fd14ce 05:57:34 Step 10/13 : COPY go.mod vendor* ./ 05:57:34 ---> 3a0237d8caa2 05:57:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:35 ---> Running in dc6af2b6bd31 05:58:43 Removing intermediate container dc6af2b6bd31 05:58:43 ---> 4e0ca73ab545 05:58:43 Step 12/13 : COPY . . 05:58:43 ---> f8a00adaeeaa 05:58:43 Step 13/13 : RUN ${MAKE} 05:58:43 ---> Running in d7eb9a90559e 05:58:43 noop 05:58:43 Removing intermediate container d7eb9a90559e 05:58:43 ---> 93d5c49d87fa 05:58:43 Successfully built 93d5c49d87fa 05:58:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:43 + docker inspect -f . ci-base-image-arm64 05:58:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-15179 does not seem to be running inside a container 05:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/147 -v /w/workspace/device-onvif-camera/147:/w/workspace/device-onvif-camera/147:rw,z -v /w/workspace/device-onvif-camera/147@tmp:/w/workspace/device-onvif-camera/147@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 05:58:45 $ docker top a4b7ec62d0b0d3dca85d2b5a113aed174d479fd6bd60b23bab8952a40061b3f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:45 + go version 05:58:45 go version go1.20.2 linux/arm64 [Pipeline] } 05:58:45 $ docker stop --time=1 a4b7ec62d0b0d3dca85d2b5a113aed174d479fd6bd60b23bab8952a40061b3f9 05:58:47 $ docker rm -f --volumes a4b7ec62d0b0d3dca85d2b5a113aed174d479fd6bd60b23bab8952a40061b3f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:48 + docker inspect -f . ci-base-image-arm64 05:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:48 prd-ubuntu20.04-docker-arm64-4c-16g-15179 does not seem to be running inside a container 05:58:48 $ 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/147 -v /w/workspace/device-onvif-camera/147:/w/workspace/device-onvif-camera/147:rw,z -v /w/workspace/device-onvif-camera/147@tmp:/w/workspace/device-onvif-camera/147@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 05:58:52 $ docker top a657d3fe6420cf60c27bfb95c88f220693f4959ae647d3a70bdd1e6d4356b8d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/147 [Pipeline] fileExists [Pipeline] sh 05:58:53 + make test 05:58:54 go test ./... -coverprofile=coverage.out ./... 05:59:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:01:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:01:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:01:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.371s coverage: 31.4% of statements 06:02:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.256s coverage: 86.5% of statements 06:02:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:02:16 go vet ./... 06:02:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:42 ./bin/test-attribution-txt.sh [Pipeline] echo 06:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:02:43 $ docker stop --time=1 a657d3fe6420cf60c27bfb95c88f220693f4959ae647d3a70bdd1e6d4356b8d9 06:02:45 $ docker rm -f --volumes a657d3fe6420cf60c27bfb95c88f220693f4959ae647d3a70bdd1e6d4356b8d9 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:46 Warning: overwriting stash ‘coverage-report’ 06:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:47 + ls -al . 06:02:47 total 228 06:02:47 drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:58 . 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:56 .. 06:02:47 drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:56 .git 06:02:47 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:56 .github 06:02:47 -rw-rw-r-- 1 jenkins jenkins 496 May 11 05:56 .gitignore 06:02:47 -rw-rw-r-- 1 jenkins jenkins 42 May 11 05:56 .golangci.yml 06:02:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 05:56 Attribution.txt 06:02:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 05:56 CHANGELOG.md 06:02:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 05:56 Dockerfile 06:02:47 -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:56 GOVERNANCE.md 06:02:47 -rw-rw-r-- 1 jenkins jenkins 734 May 11 05:56 Jenkinsfile 06:02:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 05:56 LICENSE 06:02:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 05:56 Makefile 06:02:47 -rw-rw-r-- 1 jenkins jenkins 625 May 11 05:56 OWNERS.md 06:02:47 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 05:56 README.md 06:02:47 -rw-rw-r-- 1 jenkins jenkins 12 May 11 05:54 VERSION 06:02:47 drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:56 bin 06:02:47 drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:56 cmd 06:02:47 -rw-r--r-- 1 jenkins jenkins 78459 May 11 06:02 coverage.out 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:56 doc 06:02:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 05:56 go.mod 06:02:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 05:56 go.sum 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:56 internal 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:56 snap 06:02:47 -rw-rw-r-- 1 jenkins jenkins 236 May 11 05:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:47 + 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=7c6b29b4f74c1924abd599cd10297b3464f260a3 --label arch=arm64 --label version=3.0.0-dev.50 . 06:02:48 Sending build context to Docker daemon 14.39MB 06:02:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:02:48 Step 2/26 : FROM ${BASE} AS builder 06:02:48 ---> 93d5c49d87fa 06:02:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:02:48 ---> Running in 41e9b8e1ebab 06:02:49 Removing intermediate container 41e9b8e1ebab 06:02:49 ---> 8ede50016f16 06:02:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:49 ---> Running in 8880e099a7f9 06:02:49 Removing intermediate container 8880e099a7f9 06:02:49 ---> e149b6cf874c 06:02:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:02:49 ---> Running in efd4585f59ee 06:02:49 Removing intermediate container efd4585f59ee 06:02:49 ---> 16ebeab85ee4 06:02:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:02:49 ---> Running in c47182b8f2f2 06:02:50 Removing intermediate container c47182b8f2f2 06:02:50 ---> f2a73ca36d4b 06:02:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:02:50 ---> Running in 3d09284709d8 06:02:50 Removing intermediate container 3d09284709d8 06:02:50 ---> 48590ea90312 06:02:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:50 ---> Running in b84cdb6f5796 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:02:54 OK: 263 MiB in 53 packages 06:02:56 Removing intermediate container b84cdb6f5796 06:02:56 ---> 32862ee0a99a 06:02:56 Step 9/26 : WORKDIR /device-onvif-camera 06:02:56 ---> Running in c1e6b5020a1f 06:02:56 Removing intermediate container c1e6b5020a1f 06:02:56 ---> 78041c27c91d 06:02:56 Step 10/26 : COPY go.mod vendor* ./ 06:02:56 ---> 0c7daa939bee 06:02:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:56 ---> Running in b4e61cc50d6d 06:03:00 Removing intermediate container b4e61cc50d6d 06:03:00 ---> 8d69a9a18a2b 06:03:00 Step 12/26 : COPY . . 06:03:01 ---> df30508eda0e 06:03:01 Step 13/26 : RUN ${MAKE} 06:03:01 ---> Running in ffeb4a5e5a3b 06:03:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:05:39 Removing intermediate container ffeb4a5e5a3b 06:05:39 ---> b91f65603ba2 06:05:39 Step 14/26 : FROM alpine:3.17 06:05:39 3.17: Pulling from library/alpine 06:05:39 c41833b44d91: Already exists 06:05:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:05:39 Status: Downloaded newer image for alpine:3.17 06:05:39 ---> 51e60588ff2c 06:05:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:05:39 ---> Running in c74d8cde8b44 06:05:39 Removing intermediate container c74d8cde8b44 06:05:39 ---> 9ccbd730d0d7 06:05:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:05:39 ---> Running in aad49073a6dd 06:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:05:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:05:40 (1/1) Installing dumb-init (1.2.5-r2) 06:05:40 Executing busybox-1.35.0-r29.trigger 06:05:40 OK: 8 MiB in 16 packages 06:05:41 Removing intermediate container aad49073a6dd 06:05:41 ---> 3da3688b0f76 06:05:41 Step 17/26 : WORKDIR / 06:05:41 ---> Running in a07c4eaaeba0 06:05:41 Removing intermediate container a07c4eaaeba0 06:05:41 ---> 8b5a5fb60bc0 06:05:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:05:43 ---> b77ada1a4861 06:05:43 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:05:43 ---> 6692ba690fc4 06:05:43 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:05:44 ---> 711d7812549a 06:05:44 Step 21/26 : EXPOSE 59984 06:05:44 ---> Running in a72afe1605fa 06:05:45 Removing intermediate container a72afe1605fa 06:05:45 ---> 5467cac07aaa 06:05:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:05:45 ---> Running in 5aff06fd2b30 06:05:45 Removing intermediate container 5aff06fd2b30 06:05:45 ---> 6f135a3a6702 06:05:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:05:45 ---> Running in 0ea4cbf6c467 06:05:45 Removing intermediate container 0ea4cbf6c467 06:05:45 ---> a181a5ae6705 06:05:45 Step 24/26 : LABEL arch=arm64 06:05:45 ---> Running in 3d238a9c3549 06:05:46 Removing intermediate container 3d238a9c3549 06:05:46 ---> 1006e0410a77 06:05:46 Step 25/26 : LABEL git_sha=7c6b29b4f74c1924abd599cd10297b3464f260a3 06:05:46 ---> Running in ae4c80fbcc1d 06:05:46 Removing intermediate container ae4c80fbcc1d 06:05:46 ---> 0422d23f086e 06:05:46 Step 26/26 : LABEL version=3.0.0-dev.50 06:05:46 ---> Running in 379832f56158 06:05:46 Removing intermediate container 379832f56158 06:05:46 ---> 122f96f316cc 06:05:46 [Warning] One or more build-args [ARCH] were not consumed 06:05:46 Successfully built 122f96f316cc 06:05:46 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:47 provisioning config files... 06:05:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/147@tmp/config8955313975871917188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:47 ---> docker-login.sh 06:05:47 nexus3.edgexfoundry.org:10001 06:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:47 Configure a credential helper to remove this warning. See 06:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:47 06:05:47 Login Succeeded 06:05:47 nexus3.edgexfoundry.org:10002 06:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:47 Configure a credential helper to remove this warning. See 06:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:47 06:05:47 Login Succeeded 06:05:47 nexus3.edgexfoundry.org:10003 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 nexus3.edgexfoundry.org:10004 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 docker.io 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:49 Configure a credential helper to remove this warning. See 06:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:49 06:05:49 Login Succeeded 06:05:49 ---> docker-login.sh ends [Pipeline] } 06:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:49 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 06:05:49 7c6b29b4f74c1924abd599cd10297b3464f260a3 06:05:49 latest 06:05:49 3.0.0-dev.50 06:05:49 7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 06:05:49 main 06:05:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3 06:05:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:05:49 7ecee7304875: Preparing 06:05:49 23ff9f4d1f6d: Preparing 06:05:49 d9314a7bc2be: Preparing 06:05:49 b56c3f1b44b3: Preparing 06:05:49 26cbea5cba74: Preparing 06:05:49 26cbea5cba74: Layer already exists 06:05:50 7ecee7304875: Pushed 06:05:50 b56c3f1b44b3: Pushed 06:05:50 23ff9f4d1f6d: Pushed 06:05:55 d9314a7bc2be: Pushed 06:05:55 7c6b29b4f74c1924abd599cd10297b3464f260a3: digest: sha256:a95e1c9a1e29bd71a3b844278f726c2782cf5db6f1c7e216c3299af8fe51a0e5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:55 + 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 06:05:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:05:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:05:56 7ecee7304875: Preparing 06:05:56 23ff9f4d1f6d: Preparing 06:05:56 d9314a7bc2be: Preparing 06:05:56 b56c3f1b44b3: Preparing 06:05:56 26cbea5cba74: Preparing 06:05:56 d9314a7bc2be: Layer already exists 06:05:56 b56c3f1b44b3: Layer already exists 06:05:56 23ff9f4d1f6d: Layer already exists 06:05:56 7ecee7304875: Layer already exists 06:05:56 26cbea5cba74: Layer already exists 06:05:56 latest: digest: sha256:a95e1c9a1e29bd71a3b844278f726c2782cf5db6f1c7e216c3299af8fe51a0e5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.50 06:05:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:05:57 7ecee7304875: Preparing 06:05:57 23ff9f4d1f6d: Preparing 06:05:57 d9314a7bc2be: Preparing 06:05:57 b56c3f1b44b3: Preparing 06:05:57 26cbea5cba74: Preparing 06:05:57 26cbea5cba74: Layer already exists 06:05:57 23ff9f4d1f6d: Layer already exists 06:05:57 b56c3f1b44b3: Layer already exists 06:05:57 d9314a7bc2be: Layer already exists 06:05:57 7ecee7304875: Layer already exists 06:05:57 3.0.0-dev.50: digest: sha256:a95e1c9a1e29bd71a3b844278f726c2782cf5db6f1c7e216c3299af8fe51a0e5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 06:05:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:05:57 7ecee7304875: Preparing 06:05:57 23ff9f4d1f6d: Preparing 06:05:57 d9314a7bc2be: Preparing 06:05:57 b56c3f1b44b3: Preparing 06:05:57 26cbea5cba74: Preparing 06:05:57 d9314a7bc2be: Layer already exists 06:05:57 23ff9f4d1f6d: Layer already exists 06:05:57 26cbea5cba74: Layer already exists 06:05:57 7ecee7304875: Layer already exists 06:05:57 b56c3f1b44b3: Layer already exists 06:05:57 7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50: digest: sha256:a95e1c9a1e29bd71a3b844278f726c2782cf5db6f1c7e216c3299af8fe51a0e5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:58 + 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 06:05:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 06:05:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:05:58 7ecee7304875: Preparing 06:05:58 23ff9f4d1f6d: Preparing 06:05:58 d9314a7bc2be: Preparing 06:05:58 b56c3f1b44b3: Preparing 06:05:58 26cbea5cba74: Preparing 06:05:58 b56c3f1b44b3: Layer already exists 06:05:58 23ff9f4d1f6d: Layer already exists 06:05:58 7ecee7304875: Layer already exists 06:05:58 d9314a7bc2be: Layer already exists 06:05:58 26cbea5cba74: Layer already exists 06:05:58 main: digest: sha256:a95e1c9a1e29bd71a3b844278f726c2782cf5db6f1c7e216c3299af8fe51a0e5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:58 ===================================================== [Pipeline] echo 06:05:58 taggedImages: 06:05:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3 06:05:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:05:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.50 06:05:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c6b29b4f74c1924abd599cd10297b3464f260a3-3.0.0-dev.50 06:05:58 - 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 06:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:05:59 06:05:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:00 arm64: Pulling from edgex-lftools-log-publisher 06:06:00 8998bd30e6a1: Pulling fs layer 06:06:00 04944245beec: Pulling fs layer 06:06:00 699f458cf7ca: Pulling fs layer 06:06:00 765212b225bb: Pulling fs layer 06:06:00 f23df028b6ca: Pulling fs layer 06:06:00 d65c8cfc05b1: Pulling fs layer 06:06:00 2437ff75d9bd: Pulling fs layer 06:06:00 f23df028b6ca: Waiting 06:06:00 d65c8cfc05b1: Waiting 06:06:00 2437ff75d9bd: Waiting 06:06:00 765212b225bb: Waiting 06:06:00 04944245beec: Verifying Checksum 06:06:00 04944245beec: Download complete 06:06:00 765212b225bb: Verifying Checksum 06:06:00 765212b225bb: Download complete 06:06:00 f23df028b6ca: Verifying Checksum 06:06:00 f23df028b6ca: Download complete 06:06:00 d65c8cfc05b1: Verifying Checksum 06:06:00 d65c8cfc05b1: Download complete 06:06:00 699f458cf7ca: Verifying Checksum 06:06:00 699f458cf7ca: Download complete 06:06:00 8998bd30e6a1: Verifying Checksum 06:06:00 8998bd30e6a1: Download complete 06:06:03 2437ff75d9bd: Verifying Checksum 06:06:03 2437ff75d9bd: Download complete 06:06:05 8998bd30e6a1: Pull complete 06:06:05 04944245beec: Pull complete 06:06:06 699f458cf7ca: Pull complete 06:06:07 765212b225bb: Pull complete 06:06:07 f23df028b6ca: Pull complete 06:06:08 d65c8cfc05b1: Pull complete 06:06:23 2437ff75d9bd: Pull complete 06:06:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:23 prd-ubuntu20.04-docker-arm64-4c-16g-15179 does not seem to be running inside a container 06:06:23 $ 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/147 -v /w/workspace/device-onvif-camera/147:/w/workspace/device-onvif-camera/147:rw,z -v /w/workspace/device-onvif-camera/147@tmp:/w/workspace/device-onvif-camera/147@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 06:06:26 $ docker top c83ce159d42e388875f333f8916367102a3e8cfee93f108e83a837adc62d6d5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:27 ---> job-cost.sh 06:06:27 lf-activate-venv: SKIPPING 06:06:27 INFO: No Stack... 06:06:27 INFO: Retrieving Pricing Info for: v3-standard-4 06:06:28 INFO: Archiving Costs [Pipeline] sh 06:06:28 + cut -d, -f6 06:06:28 + cat /w/workspace/device-onvif-camera/147/archives/cost.csv [Pipeline] lock 06:06:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] 06:06:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] did not exist. Created. 06:06:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:29 /w/workspace/device-onvif-camera/147@tmp/durable-1a0402ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:06:30 + echo total: 0.10999999940395355 [Pipeline] stash 06:06:30 Warning: overwriting stash ‘stack-cost’ 06:06:30 Stashed 1 file(s) [Pipeline] } 06:06:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:30 $ docker stop --time=1 c83ce159d42e388875f333f8916367102a3e8cfee93f108e83a837adc62d6d5d 06:06:34 $ docker rm -f --volumes c83ce159d42e388875f333f8916367102a3e8cfee93f108e83a837adc62d6d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:06:34 provisioning config files... 06:06:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12313657866003002877tmp [Pipeline] { [Pipeline] sh 06:06:35 + set +x 06:06:35 + curl -s https://codecov.io/bash 06:06:35 + bash -s -- 06:06:35 06:06:35 _____ _ 06:06:35 / ____| | | 06:06:35 | | ___ __| | ___ ___ _____ __ 06:06:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:35 Bash-1.0.6 06:06:35 06:06:35 06:06:35 ==> git version 2.25.1 found 06:06:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:06:35 Release-Date: 2020-01-08 06:06:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:06:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:06:35 ==> Jenkins CI detected. 06:06:35 current dir:  /w/workspace/foundry_device-onvif-camera_main 06:06:35 project root: . 06:06:35 --> token set from env 06:06:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:35 ==> Running gcov in . (disable via -X gcov) 06:06:35 ==> Python coveragepy not found 06:06:35 ==> Searching for coverage reports in: 06:06:35 + . 06:06:35 -> Found 1 reports 06:06:35 ==> Detecting git/mercurial file structure 06:06:35 ==> Reading reports 06:06:35 + ./coverage.out bytes=78459 06:06:35 ==> Appending adjustments 06:06:35 https://docs.codecov.io/docs/fixing-reports 06:06:35 + Found adjustments 06:06:35 ==> Gzipping contents 06:06:35 12K /tmp/codecov.A2r5Oz.gz 06:06:35 ==> Uploading reports 06:06:35 url: https://codecov.io 06:06:35 query: branch=main&commit=7c6b29b4f74c1924abd599cd10297b3464f260a3&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:06:35 -> Pinging Codecov 06:06:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=7c6b29b4f74c1924abd599cd10297b3464f260a3&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:06:35 -> Uploading to 06:06:35 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/7c6b29b4f74c1924abd599cd10297b3464f260a3/b5d53361-c659-4efb-ab1e-563f10f6ce76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T060635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b3718d556d535085bcf2d91d114071bb4f14cb3a11d4fbab4114f43420955de 06:06:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:35 Dload Upload Total Spent Left Speed 06:06:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 48875 --:--:-- --:--:-- --:--:-- 48875 06:06:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] } 06:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:06:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:06:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:06:36 06:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:06:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:06:36 df9b9388f04a: Pulling fs layer 06:06:36 52dc419b0ee2: Pulling fs layer 06:06:36 25bc292e5bac: Pulling fs layer 06:06:36 114826534d7a: Pulling fs layer 06:06:36 4657fd5d0bcf: Pulling fs layer 06:06:36 6ad1cebc031e: Pulling fs layer 06:06:36 8a3aa393b2d8: Pulling fs layer 06:06:36 4657fd5d0bcf: Waiting 06:06:36 6ad1cebc031e: Waiting 06:06:36 8a3aa393b2d8: Waiting 06:06:36 25bc292e5bac: Verifying Checksum 06:06:36 25bc292e5bac: Download complete 06:06:36 52dc419b0ee2: Download complete 06:06:36 4657fd5d0bcf: Verifying Checksum 06:06:36 4657fd5d0bcf: Download complete 06:06:36 df9b9388f04a: Download complete 06:06:37 6ad1cebc031e: Verifying Checksum 06:06:37 6ad1cebc031e: Download complete 06:06:37 df9b9388f04a: Pull complete 06:06:37 52dc419b0ee2: Pull complete 06:06:37 25bc292e5bac: Pull complete 06:06:37 114826534d7a: Verifying Checksum 06:06:37 114826534d7a: Download complete 06:06:37 8a3aa393b2d8: Verifying Checksum 06:06:37 8a3aa393b2d8: Download complete 06:06:41 114826534d7a: Pull complete 06:06:41 4657fd5d0bcf: Pull complete 06:06:41 6ad1cebc031e: Pull complete 06:06:44 8a3aa393b2d8: Pull complete 06:06:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:06:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:06:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:44 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:06:47 $ docker top 72a80ba264b9c5d6e767b49ddb3b211cfe9688af5b089d0198fee1651e704d93 -eo pid,comm [Pipeline] { [Pipeline] echo 06:06:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 06:06:48 + set -o pipefail 06:06:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 06:06:52 06:06:52 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 06:06:52 06:06:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/cbcd475c-ebc0-43df-ae7d-ccb5a25571d1 06:06:52 06:06:52 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:06:52 06:06:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:06:52 06:06:52 06:06:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:06:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:06:52 More details here: https://snyk.co/ue1NS 06:06:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 06:06:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:06:52 $ docker stop --time=1 72a80ba264b9c5d6e767b49ddb3b211cfe9688af5b089d0198fee1651e704d93 06:06:55 $ docker rm -f --volumes 72a80ba264b9c5d6e767b49ddb3b211cfe9688af5b089d0198fee1651e704d93 [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 06:06:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:55 provisioning config files... 06:06:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17643988247664105791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:55 --> edgex-publish-swagger.sh 06:06:55 === Publish doc/openapi/v2 API === 06:06:55 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 06:06:55 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 06:06:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:55 Dload Upload Total Spent Left Speed 06:06:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 473k 0 0 100 473k 0 641k --:--:-- --:--:-- --:--:-- 641k 06:06:56 06:06:56 [Pipeline] } 06:06:56 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 06:06:56 + git log --format=format:%s -1 7c6b29b4f74c1924abd599cd10297b3464f260a3 [Pipeline] sh 06:06:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:06:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:57 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:06:58 $ docker top f9f3b08fd735fa07b118df0952ec902d0a12640f5b7c1e6f55d4a1692b8296f8 -eo pid,comm 06:06:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:06:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:58 [ssh-agent] Looking for ssh-agent implementation... 06:06:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:58 $ docker exec f9f3b08fd735fa07b118df0952ec902d0a12640f5b7c1e6f55d4a1692b8296f8 ssh-agent 06:06:58 SSH_AUTH_SOCK=/tmp/ssh-jf85uXI8o0wx/agent.31 06:06:58 SSH_AGENT_PID=37 06:06:58 Running ssh-add (command line suppressed) 06:06:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16221854099020412769.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16221854099020412769.key) 06:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:58 + git semver tag 06:06:58 2023-05-11 06:06:58,919 [run_tag] DEBUG tag force:False 06:06:58 2023-05-11 06:06:58,919 [check_head_tag] DEBUG check head tag 06:06:58 2023-05-11 06:06:58,921 [execute] INFO git cat-file --batch-check 06:06:58 2023-05-11 06:06:58,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:06:58 2023-05-11 06:06:58,925 [execute] INFO git cat-file --batch 06:06:58 2023-05-11 06:06:58,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:06:58 2023-05-11 06:06:58,958 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:06:58 2023-05-11 06:06:58,959 [execute] INFO git tag -a v3.0.0-dev.50 -m v3.0.0-dev.50 06:06:58 2023-05-11 06:06:58,959 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.50', '-m', 'v3.0.0-dev.50'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:06:58 2023-05-11 06:06:58,963 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:06:58 3.0.0-dev.50 [Pipeline] } 06:06:59 $ docker exec --env ******** --env ******** f9f3b08fd735fa07b118df0952ec902d0a12640f5b7c1e6f55d4a1692b8296f8 ssh-agent -k 06:06:59 unset SSH_AUTH_SOCK; 06:06:59 unset SSH_AGENT_PID; 06:06:59 echo Agent pid 37 killed; 06:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:59 + git semver [Pipeline] } 06:06:59 $ docker stop --time=1 f9f3b08fd735fa07b118df0952ec902d0a12640f5b7c1e6f55d4a1692b8296f8 06:07:01 $ docker rm -f --volumes f9f3b08fd735fa07b118df0952ec902d0a12640f5b7c1e6f55d4a1692b8296f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:07:01 06:07:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:07:01 0.23.1-centos7: Pulling from edgex-lftools 06:07:01 ab5ef0e58194: Pulling fs layer 06:07:01 9712f1f96733: Pulling fs layer 06:07:01 63f879dbbcfc: Pulling fs layer 06:07:01 0d9ebad4ef96: Pulling fs layer 06:07:01 e9a5061849ea: Pulling fs layer 06:07:01 d747dcd14b5f: Pulling fs layer 06:07:01 2de7ff778b66: Pulling fs layer 06:07:01 e9a5061849ea: Waiting 06:07:01 2de7ff778b66: Waiting 06:07:01 d747dcd14b5f: Waiting 06:07:01 0d9ebad4ef96: Waiting 06:07:01 9712f1f96733: Verifying Checksum 06:07:01 9712f1f96733: Download complete 06:07:01 63f879dbbcfc: Verifying Checksum 06:07:01 63f879dbbcfc: Download complete 06:07:02 0d9ebad4ef96: Verifying Checksum 06:07:02 0d9ebad4ef96: Download complete 06:07:02 d747dcd14b5f: Verifying Checksum 06:07:02 d747dcd14b5f: Download complete 06:07:02 ab5ef0e58194: Verifying Checksum 06:07:02 ab5ef0e58194: Download complete 06:07:02 e9a5061849ea: Verifying Checksum 06:07:02 e9a5061849ea: Download complete 06:07:02 2de7ff778b66: Download complete 06:07:04 ab5ef0e58194: Pull complete 06:07:04 9712f1f96733: Pull complete 06:07:05 63f879dbbcfc: Pull complete 06:07:09 0d9ebad4ef96: Pull complete 06:07:09 e9a5061849ea: Pull complete 06:07:09 d747dcd14b5f: Pull complete 06:07:10 2de7ff778b66: Pull complete 06:07:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:07:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:10 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:07:15 $ docker top c4ac289b6479ed0a2a44e379add94a6fccfc8e4473053e7956726db3b4ed022a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:07:15 provisioning config files... 06:07:15 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6724169862907845001tmp 06:07:15 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15831450399730536566tmp 06:07:15 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17124744618115234624tmp [Pipeline] { [Pipeline] echo 06:07:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:07:16 ---> sigul-configuration.sh 06:07:16 gpg: directory `/root/.gnupg' created 06:07:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:07:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:07:16 gpg: keyring `/root/.gnupg/secring.gpg' created 06:07:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:07:16 gpg: CAST5 encrypted data 06:07:16 gpg: encrypted with 1 passphrase 06:07:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:07:16 + mkdir /home/jenkins 06:07:16 + mkdir /home/jenkins/sigul [Pipeline] sh 06:07:16 + 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 06:07:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:07:16 ---> sigul-install.sh 06:07:16 Sigul already installed; skipping installation. [Pipeline] sh 06:07:17 + git tag --list 06:07:17 v0.0.0 06:07:17 v0.0.1-dev.1 06:07:17 v0.0.1-dev.10 06:07:17 v0.0.1-dev.11 06:07:17 v0.0.1-dev.12 06:07:17 v0.0.1-dev.13 06:07:17 v0.0.1-dev.14 06:07:17 v0.0.1-dev.15 06:07:17 v0.0.1-dev.16 06:07:17 v0.0.1-dev.17 06:07:17 v0.0.1-dev.18 06:07:17 v0.0.1-dev.19 06:07:17 v0.0.1-dev.2 06:07:17 v0.0.1-dev.20 06:07:17 v0.0.1-dev.21 06:07:17 v0.0.1-dev.22 06:07:17 v0.0.1-dev.23 06:07:17 v0.0.1-dev.24 06:07:17 v0.0.1-dev.25 06:07:17 v0.0.1-dev.26 06:07:17 v0.0.1-dev.27 06:07:17 v0.0.1-dev.28 06:07:17 v0.0.1-dev.3 06:07:17 v0.0.1-dev.4 06:07:17 v0.0.1-dev.5 06:07:17 v0.0.1-dev.6 06:07:17 v0.0.1-dev.7 06:07:17 v0.0.1-dev.8 06:07:17 v0.0.1-dev.9 06:07:17 v2.2.0 06:07:17 v2.2.0-dev.29 06:07:17 v2.2.0-dev.30 06:07:17 v2.2.0-dev.31 06:07:17 v2.2.0-dev.32 06:07:17 v2.2.0-dev.33 06:07:17 v2.2.0-dev.34 06:07:17 v2.2.0-dev.35 06:07:17 v2.3.0 06:07:17 v2.3.0-dev.1 06:07:17 v2.3.0-dev.10 06:07:17 v2.3.0-dev.11 06:07:17 v2.3.0-dev.12 06:07:17 v2.3.0-dev.13 06:07:17 v2.3.0-dev.14 06:07:17 v2.3.0-dev.15 06:07:17 v2.3.0-dev.16 06:07:17 v2.3.0-dev.17 06:07:17 v2.3.0-dev.18 06:07:17 v2.3.0-dev.19 06:07:17 v2.3.0-dev.2 06:07:17 v2.3.0-dev.20 06:07:17 v2.3.0-dev.21 06:07:17 v2.3.0-dev.22 06:07:17 v2.3.0-dev.23 06:07:17 v2.3.0-dev.24 06:07:17 v2.3.0-dev.25 06:07:17 v2.3.0-dev.26 06:07:17 v2.3.0-dev.27 06:07:17 v2.3.0-dev.28 06:07:17 v2.3.0-dev.29 06:07:17 v2.3.0-dev.3 06:07:17 v2.3.0-dev.30 06:07:17 v2.3.0-dev.31 06:07:17 v2.3.0-dev.32 06:07:17 v2.3.0-dev.33 06:07:17 v2.3.0-dev.34 06:07:17 v2.3.0-dev.35 06:07:17 v2.3.0-dev.36 06:07:17 v2.3.0-dev.37 06:07:17 v2.3.0-dev.38 06:07:17 v2.3.0-dev.39 06:07:17 v2.3.0-dev.4 06:07:17 v2.3.0-dev.40 06:07:17 v2.3.0-dev.41 06:07:17 v2.3.0-dev.42 06:07:17 v2.3.0-dev.43 06:07:17 v2.3.0-dev.44 06:07:17 v2.3.0-dev.45 06:07:17 v2.3.0-dev.5 06:07:17 v2.3.0-dev.6 06:07:17 v2.3.0-dev.7 06:07:17 v2.3.0-dev.8 06:07:17 v2.3.0-dev.9 06:07:17 v2.3.1 06:07:17 v2.3.1-dev.1 06:07:17 v2.3.1-dev.4 06:07:17 v2.3.1-dev.5 06:07:17 v2.3.2-dev.1 06:07:17 v2.3.2-dev.2 06:07:17 v3.0.0-dev.1 06:07:17 v3.0.0-dev.10 06:07:17 v3.0.0-dev.11 06:07:17 v3.0.0-dev.12 06:07:17 v3.0.0-dev.13 06:07:17 v3.0.0-dev.14 06:07:17 v3.0.0-dev.15 06:07:17 v3.0.0-dev.16 06:07:17 v3.0.0-dev.17 06:07:17 v3.0.0-dev.18 06:07:17 v3.0.0-dev.19 06:07:17 v3.0.0-dev.2 06:07:17 v3.0.0-dev.20 06:07:17 v3.0.0-dev.21 06:07:17 v3.0.0-dev.22 06:07:17 v3.0.0-dev.23 06:07:17 v3.0.0-dev.24 06:07:17 v3.0.0-dev.25 06:07:17 v3.0.0-dev.26 06:07:17 v3.0.0-dev.27 06:07:17 v3.0.0-dev.28 06:07:17 v3.0.0-dev.29 06:07:17 v3.0.0-dev.3 06:07:17 v3.0.0-dev.30 06:07:17 v3.0.0-dev.31 06:07:17 v3.0.0-dev.32 06:07:17 v3.0.0-dev.33 06:07:17 v3.0.0-dev.34 06:07:17 v3.0.0-dev.35 06:07:17 v3.0.0-dev.36 06:07:17 v3.0.0-dev.37 06:07:17 v3.0.0-dev.38 06:07:17 v3.0.0-dev.39 06:07:17 v3.0.0-dev.4 06:07:17 v3.0.0-dev.40 06:07:17 v3.0.0-dev.41 06:07:17 v3.0.0-dev.42 06:07:17 v3.0.0-dev.43 06:07:17 v3.0.0-dev.44 06:07:17 v3.0.0-dev.45 06:07:17 v3.0.0-dev.46 06:07:17 v3.0.0-dev.47 06:07:17 v3.0.0-dev.48 06:07:17 v3.0.0-dev.49 06:07:17 v3.0.0-dev.5 06:07:17 v3.0.0-dev.50 06:07:17 v3.0.0-dev.6 06:07:17 v3.0.0-dev.7 06:07:17 v3.0.0-dev.8 06:07:17 v3.0.0-dev.9 [Pipeline] sh 06:07:17 + lftools sign git-tag v3.0.0-dev.50 06:07:18 Signing Git tag with Sigul... 06:07:18 Signing v3.0.0-dev.50 [Pipeline] echo 06:07:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:07:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:07:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:07:18 $ docker stop --time=1 c4ac289b6479ed0a2a44e379add94a6fccfc8e4473053e7956726db3b4ed022a 06:07:20 $ docker rm -f --volumes c4ac289b6479ed0a2a44e379add94a6fccfc8e4473053e7956726db3b4ed022a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:07:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:07:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:21 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:07:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:07:21 $ docker top 15664dd5716cacae5a5b74237d2ac23a28bdd8fdfb5cdf5d82e7cee0e7d7c5db -eo pid,comm 06:07:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:21 [ssh-agent] Looking for ssh-agent implementation... 06:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:21 $ docker exec 15664dd5716cacae5a5b74237d2ac23a28bdd8fdfb5cdf5d82e7cee0e7d7c5db ssh-agent 06:07:21 SSH_AUTH_SOCK=/tmp/ssh-sieMbkjUOxZg/agent.32 06:07:21 SSH_AGENT_PID=38 06:07:21 Running ssh-add (command line suppressed) 06:07:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16679418731631740607.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16679418731631740607.key) 06:07:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:22 + git semver bump pre 06:07:22 2023-05-11 06:07:22,399 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:07:22 2023-05-11 06:07:22,399 [bump_version] DEBUG bumping version:3.0.0-dev.50 on axis:pre with prefix:dev 06:07:22 2023-05-11 06:07:22,399 [bump_version] DEBUG bumped version:3.0.0-dev.51 06:07:22 2023-05-11 06:07:22,399 [write_version] DEBUG write version:3.0.0-dev.51 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 06:07:22 2023-05-11 06:07:22,399 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:07:22 2023-05-11 06:07:22,399 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 06:07:22 2023-05-11 06:07:22,401 [execute] INFO git cat-file --batch-check 06:07:22 2023-05-11 06:07:22,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:22 2023-05-11 06:07:22,406 [execute] INFO git cat-file --batch 06:07:22 2023-05-11 06:07:22,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:22 2023-05-11 06:07:22,412 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:07:22 3.0.0-dev.51 [Pipeline] } 06:07:22 $ docker exec --env ******** --env ******** 15664dd5716cacae5a5b74237d2ac23a28bdd8fdfb5cdf5d82e7cee0e7d7c5db ssh-agent -k 06:07:22 unset SSH_AUTH_SOCK; 06:07:22 unset SSH_AGENT_PID; 06:07:22 echo Agent pid 38 killed; 06:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:07:22 + git semver [Pipeline] } 06:07:23 $ docker stop --time=1 15664dd5716cacae5a5b74237d2ac23a28bdd8fdfb5cdf5d82e7cee0e7d7c5db 06:07:24 $ docker rm -f --volumes 15664dd5716cacae5a5b74237d2ac23a28bdd8fdfb5cdf5d82e7cee0e7d7c5db [Pipeline] // withDockerContainer [Pipeline] sh 06:07:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:07:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:25 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:07:25 $ docker top 48bd906a8c8e667b0b41fc27e671e883ad57b33bd9466431bebe6aa70ed643c4 -eo pid,comm 06:07:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:07:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:25 [ssh-agent] Looking for ssh-agent implementation... 06:07:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:25 $ docker exec 48bd906a8c8e667b0b41fc27e671e883ad57b33bd9466431bebe6aa70ed643c4 ssh-agent 06:07:25 SSH_AUTH_SOCK=/tmp/ssh-MEawRSaGjHWJ/agent.32 06:07:25 SSH_AGENT_PID=38 06:07:25 Running ssh-add (command line suppressed) 06:07:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10696579760180651834.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10696579760180651834.key) 06:07:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:26 + git semver push 06:07:26 2023-05-11 06:07:26,421 [run_push] DEBUG push 06:07:26 2023-05-11 06:07:26,422 [execute] INFO git cat-file --batch-check 06:07:26 2023-05-11 06:07:26,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:07:26 2023-05-11 06:07:26,426 [execute] INFO git rev-list cddd8b454c15bb672d87d7447a7274a801117a50 -- 06:07:26 2023-05-11 06:07:26,427 [execute] DEBUG Popen(['git', 'rev-list', 'cddd8b454c15bb672d87d7447a7274a801117a50', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:07:26 2023-05-11 06:07:26,435 [execute] INFO git fetch -v origin 06:07:26 2023-05-11 06:07:26,435 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 06:07:27 2023-05-11 06:07:26,870 [run_push] DEBUG no remote changes detected 06:07:27 2023-05-11 06:07:26,870 [execute] INFO git push origin semver 06:07:27 2023-05-11 06:07:26,870 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:07:27 2023-05-11 06:07:27,591 [run_push] DEBUG push all version tags 06:07:27 2023-05-11 06:07:27,591 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:07:27 2023-05-11 06:07:27,592 [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) 06:07:28 2023-05-11 06:07:28,296 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:07:28 3.0.0-dev.51 [Pipeline] } 06:07:28 $ docker exec --env ******** --env ******** 48bd906a8c8e667b0b41fc27e671e883ad57b33bd9466431bebe6aa70ed643c4 ssh-agent -k 06:07:28 unset SSH_AUTH_SOCK; 06:07:28 unset SSH_AGENT_PID; 06:07:28 echo Agent pid 38 killed; 06:07:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:07:29 + git semver [Pipeline] } 06:07:29 $ docker stop --time=1 48bd906a8c8e667b0b41fc27e671e883ad57b33bd9466431bebe6aa70ed643c4 06:07:32 $ docker rm -f --volumes 48bd906a8c8e667b0b41fc27e671e883ad57b33bd9466431bebe6aa70ed643c4 [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 06:07:33 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:07:33 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:07:33 total 16 06:07:33 drwxr-xr-x 3 root root 4096 May 11 05:56 . 06:07:33 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:07 .. 06:07:33 drwxr-xr-x 2 root root 4096 May 11 05:56 cost 06:07:33 -rw-r--r-- 1 root root 91 May 11 05:56 cost.csv 06:07:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:07:33 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:07:33 total 16 06:07:33 drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:56 . 06:07:33 drwxrwxr-x 11 jenkins jenkins 4096 May 11 06:07 .. 06:07:33 drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:56 cost 06:07:33 -rw-r--r-- 1 jenkins jenkins 91 May 11 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:07:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:34 ---> package-listing.sh 06:07:34 ++ facter osfamily 06:07:34 ++ tr '[:upper:]' '[:lower:]' 06:07:34 + OS_FAMILY=debian 06:07:34 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:07:34 + START_PACKAGES=/tmp/packages_start.txt 06:07:34 + END_PACKAGES=/tmp/packages_end.txt 06:07:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:34 + PACKAGES=/tmp/packages_start.txt 06:07:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:07:34 + PACKAGES=/tmp/packages_end.txt 06:07:34 + case "${OS_FAMILY}" in 06:07:34 + dpkg -l 06:07:34 + grep '^ii' 06:07:34 + '[' -f /tmp/packages_start.txt ']' 06:07:34 + '[' -f /tmp/packages_end.txt ']' 06:07:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:07:34 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:07:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:07:34 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 06:07:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:35 prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container 06:07:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:07:36 $ docker top aa02dbd70ec060aca22da2aaaabe69f88cd2d11c19cbd070c182c87664b155dd -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:36 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:36 + mkdir -p /var/log/sysstat [Pipeline] sh 06:07:37 + ls /var/log/sa-host 06:07:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:37 provisioning config files... 06:07:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5714617194778714176tmp [Pipeline] { [Pipeline] echo 06:07:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:37 ---> create-netrc.sh [Pipeline] } 06:07:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:07:37 ---> python-tools-install.sh [Pipeline] echo 06:07:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:38 ---> sudo-logs.sh 06:07:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:07:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:38 ---> job-cost.sh 06:07:38 lf-activate-venv: SKIPPING 06:07:38 DEBUG: total: 0.2199999988079071 06:07:38 INFO: Retrieving Stack Cost... 06:07:39 INFO: Retrieving Pricing Info for: v3-standard-8 06:07:39 INFO: Archiving Costs [Pipeline] echo 06:07:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:39 ---> logs-deploy.sh 06:07:39 lf-activate-venv: SKIPPING 06:07:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/147 06:07:39 INFO: archiving workspace using pattern(s): 06:07:40 Archives upload complete. 06:07:40 INFO: archiving logs to Nexus