Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed435512d23c0fe6735192e03ad24dc623114abf 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-ssh16782760733015065791.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12750666284027016758.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10037161852117735923.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11750750866817636291.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-ssh3929471959742549233.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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1498 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ed435512d23c0fe6735192e03ad24dc623114abf (main) Commit message: "fix: update scripts to use latest consul path (#206)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed435512d23c0fe6735192e03ad24dc623114abf # timeout=10 > git rev-list --no-walk e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:54 ========================================================= 23:17:54 EdgeX Global Pipelines Version Info 23:17:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:55 ------------------- 23:17:55 stable info: 23:17:55 ------------------- 23:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:17:55 Message: update stable to v1.0.244 23:17:55 ------------------- 23:17:55 experimental info: 23:17:55 ------------------- 23:17:55 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:17:55 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed43551 [Pipeline] echo 23:17:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:56 provisioning config files... 23:17:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14359637995455249448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:56 ---> docker-login.sh 23:17:56 nexus3.edgexfoundry.org:10001 23:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:57 Configure a credential helper to remove this warning. See 23:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:57 23:17:57 Login Succeeded 23:17:57 nexus3.edgexfoundry.org:10002 23:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:57 Configure a credential helper to remove this warning. See 23:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:57 23:17:57 Login Succeeded 23:17:57 nexus3.edgexfoundry.org:10003 23:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:57 Configure a credential helper to remove this warning. See 23:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:57 23:17:57 Login Succeeded 23:17:57 nexus3.edgexfoundry.org:10004 23:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:57 Configure a credential helper to remove this warning. See 23:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:57 23:17:57 Login Succeeded 23:17:57 docker.io 23:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:57 Configure a credential helper to remove this warning. See 23:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:57 23:17:57 Login Succeeded 23:17:57 ---> docker-login.sh ends [Pipeline] } 23:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:58 + git rev-list -1 --merges ed435512d23c0fe6735192e03ad24dc623114abf~1..ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] echo 23:17:58 -----------> git rev-list -1 --merges ed435512d23c0fe6735192e03ad24dc623114abf~1..ed435512d23c0fe6735192e03ad24dc623114abf ed435512d23c0fe6735192e03ad24dc623114abf [false] [Pipeline] sh 23:17:58 + git log --format=format:%s -1 ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] echo 23:17:58 ========================================================= 23:17:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:58 + git log --format=format:%s -1 ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] echo 23:17:58 [semverPrep] GIT_COMMIT: ed435512d23c0fe6735192e03ad24dc623114abf, Commit Message: fix: update scripts to use latest consul path (#206) [Pipeline] echo 23:17:58 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:59 + grep -v github /etc/ssh/ssh_known_hosts 23:17:59 + [ -e /tmp/ssh_known_hosts ] 23:17:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:59 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:59 23:17:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:00 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:00 b85a868b505f: Pulling fs layer 23:18:00 e2be974225ed: Pulling fs layer 23:18:00 339a4e72a1f5: Pulling fs layer 23:18:00 988bab9f4d93: Pulling fs layer 23:18:00 1469e6f7b9e6: Pulling fs layer 23:18:00 eaf3925da568: Pulling fs layer 23:18:00 bab4dde63d76: Pulling fs layer 23:18:00 bde34c3a00c8: Pulling fs layer 23:18:00 b352a97aabf1: Pulling fs layer 23:18:00 4872d77fe225: Pulling fs layer 23:18:00 5851b861e8e6: Pulling fs layer 23:18:00 bab4dde63d76: Waiting 23:18:00 bde34c3a00c8: Waiting 23:18:00 b352a97aabf1: Waiting 23:18:00 4872d77fe225: Waiting 23:18:00 5851b861e8e6: Waiting 23:18:00 988bab9f4d93: Waiting 23:18:00 1469e6f7b9e6: Waiting 23:18:00 eaf3925da568: Waiting 23:18:00 e2be974225ed: Verifying Checksum 23:18:00 e2be974225ed: Download complete 23:18:00 988bab9f4d93: Verifying Checksum 23:18:00 988bab9f4d93: Download complete 23:18:00 1469e6f7b9e6: Verifying Checksum 23:18:00 1469e6f7b9e6: Download complete 23:18:00 eaf3925da568: Download complete 23:18:00 339a4e72a1f5: Verifying Checksum 23:18:00 339a4e72a1f5: Download complete 23:18:00 bde34c3a00c8: Verifying Checksum 23:18:00 bde34c3a00c8: Download complete 23:18:00 b352a97aabf1: Download complete 23:18:00 4872d77fe225: Verifying Checksum 23:18:00 4872d77fe225: Download complete 23:18:00 5851b861e8e6: Verifying Checksum 23:18:00 5851b861e8e6: Download complete 23:18:00 b85a868b505f: Verifying Checksum 23:18:00 b85a868b505f: Download complete 23:18:00 bab4dde63d76: Verifying Checksum 23:18:00 bab4dde63d76: Download complete 23:18:01 b85a868b505f: Pull complete 23:18:01 e2be974225ed: Pull complete 23:18:02 339a4e72a1f5: Pull complete 23:18:02 988bab9f4d93: Pull complete 23:18:02 1469e6f7b9e6: Pull complete 23:18:02 eaf3925da568: Pull complete 23:18:04 bab4dde63d76: Pull complete 23:18:04 bde34c3a00c8: Pull complete 23:18:04 b352a97aabf1: Pull complete 23:18:04 4872d77fe225: Pull complete 23:18:04 5851b861e8e6: Pull complete 23:18:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:18:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:04 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:18:04 $ 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 23:18:05 $ docker top 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c -eo pid,comm 23:18:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:18:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:06 [ssh-agent] Looking for ssh-agent implementation... 23:18:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:06 $ docker exec 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c ssh-agent 23:18:06 SSH_AUTH_SOCK=/tmp/ssh-EB27XVt7QphM/agent.33 23:18:06 SSH_AGENT_PID=39 23:18:06 Running ssh-add (command line suppressed) 23:18:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5881568408619083578.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5881568408619083578.key) 23:18:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:06 + git tag --points-at HEAD [Pipeline] } 23:18:06 $ docker exec --env ******** --env ******** 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c ssh-agent -k 23:18:06 unset SSH_AUTH_SOCK; 23:18:06 unset SSH_AGENT_PID; 23:18:06 echo Agent pid 39 killed; 23:18:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:06 [ssh-agent] Looking for ssh-agent implementation... 23:18:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:06 $ docker exec 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c ssh-agent 23:18:07 SSH_AUTH_SOCK=/tmp/ssh-f9rPOte5jts0/agent.71 23:18:07 SSH_AGENT_PID=77 23:18:07 Running ssh-add (command line suppressed) 23:18:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7189047340188226509.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7189047340188226509.key) 23:18:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:07 + git semver init 23:18:07 2023-01-09 23:18:07,568 [run_init] DEBUG init version:0.0.0 force:False 23:18:07 2023-01-09 23:18:07,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:18:07 2023-01-09 23:18:07,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:18:07 2023-01-09 23:18:07,570 [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) 23:18:08 2023-01-09 23:18:08,427 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:18:08 2023-01-09 23:18:08,428 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:18:08 2023-01-09 23:18:08,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:18:08 2023-01-09 23:18:08,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:18:08 3.0.0-dev.4 [Pipeline] } 23:18:08 $ docker exec --env ******** --env ******** 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c ssh-agent -k 23:18:08 unset SSH_AUTH_SOCK; 23:18:08 unset SSH_AGENT_PID; 23:18:08 echo Agent pid 77 killed; 23:18:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:09 + git semver [Pipeline] } 23:18:09 $ docker stop --time=1 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c 23:18:10 $ docker rm -f --volumes 7f6bf2baff8ba48614371137b05035ef5498c5d2af65dd04827c14f73aafca1c [Pipeline] // withDockerContainer [Pipeline] sh 23:18:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:11 Stashed 1 file(s) [Pipeline] echo 23:18:11 [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:11 provisioning config files... 23:18:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17082843872407543876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:11 ---> docker-login.sh 23:18:11 nexus3.edgexfoundry.org:10001 23:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:11 Configure a credential helper to remove this warning. See 23:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:11 23:18:11 Login Succeeded 23:18:11 nexus3.edgexfoundry.org:10002 23:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:11 Configure a credential helper to remove this warning. See 23:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:11 23:18:11 Login Succeeded 23:18:11 nexus3.edgexfoundry.org:10003 23:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:11 Configure a credential helper to remove this warning. See 23:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:11 23:18:11 Login Succeeded 23:18:11 nexus3.edgexfoundry.org:10004 23:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:11 Configure a credential helper to remove this warning. See 23:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:11 23:18:11 Login Succeeded 23:18:11 docker.io 23:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:12 Configure a credential helper to remove this warning. See 23:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:12 23:18:12 Login Succeeded 23:18:12 ---> docker-login.sh ends [Pipeline] } 23:18:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:12 ========================================================= 23:18:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:18:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:18:12 Sending build context to Docker daemon 27.62MB 23:18:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:18:12 Step 2/13 : FROM ${BASE} AS builder 23:18:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:18:12 213ec9aee27d: Pulling fs layer 23:18:12 4583459ba037: Pulling fs layer 23:18:12 93c1e223e6f2: Pulling fs layer 23:18:12 53926ce57604: Pulling fs layer 23:18:12 21b2b0c7a3f4: Pulling fs layer 23:18:12 22ff95d597cd: Pulling fs layer 23:18:12 12d6caf4c0d1: Pulling fs layer 23:18:12 96b7cbca73a9: Pulling fs layer 23:18:12 a7acece74701: Pulling fs layer 23:18:12 21b2b0c7a3f4: Waiting 23:18:12 22ff95d597cd: Waiting 23:18:12 12d6caf4c0d1: Waiting 23:18:12 96b7cbca73a9: Waiting 23:18:12 53926ce57604: Waiting 23:18:12 93c1e223e6f2: Verifying Checksum 23:18:12 93c1e223e6f2: Download complete 23:18:12 4583459ba037: Download complete 23:18:12 21b2b0c7a3f4: Verifying Checksum 23:18:12 21b2b0c7a3f4: Download complete 23:18:12 22ff95d597cd: Verifying Checksum 23:18:12 22ff95d597cd: Download complete 23:18:12 213ec9aee27d: Verifying Checksum 23:18:12 213ec9aee27d: Download complete 23:18:12 12d6caf4c0d1: Verifying Checksum 23:18:12 12d6caf4c0d1: Download complete 23:18:12 213ec9aee27d: Pull complete 23:18:13 4583459ba037: Pull complete 23:18:13 93c1e223e6f2: Pull complete 23:18:13 a7acece74701: Verifying Checksum 23:18:13 a7acece74701: Download complete 23:18:13 96b7cbca73a9: Verifying Checksum 23:18:13 96b7cbca73a9: Download complete 23:18:13 53926ce57604: Verifying Checksum 23:18:13 53926ce57604: Download complete 23:18:17 53926ce57604: Pull complete 23:18:17 21b2b0c7a3f4: Pull complete 23:18:17 22ff95d597cd: Pull complete 23:18:17 12d6caf4c0d1: Pull complete 23:18:19 96b7cbca73a9: Pull complete 23:18:20 a7acece74701: Pull complete 23:18:20 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:18:20 ---> db6d94c90886 23:18:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:18:21 ---> Running in 7f017fbbc464 23:18:21 Removing intermediate container 7f017fbbc464 23:18:21 ---> 14f99c2d71b2 23:18:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:21 ---> Running in 75c2bd87e72a 23:18:21 Removing intermediate container 75c2bd87e72a 23:18:21 ---> 0aaada13807a 23:18:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:18:21 ---> Running in cffd2a3e5659 23:18:21 Removing intermediate container cffd2a3e5659 23:18:21 ---> 2ed5d47d32e6 23:18:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:18:21 ---> Running in 9a2796cb3e18 23:18:22 Removing intermediate container 9a2796cb3e18 23:18:22 ---> 82cacd378238 23:18:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:18:22 ---> Running in 881a27aee009 23:18:22 Removing intermediate container 881a27aee009 23:18:22 ---> 7e03054d26f1 23:18:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:22 ---> Running in fc6cb23b3801 23:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:22 OK: 211 MiB in 51 packages 23:18:23 Removing intermediate container fc6cb23b3801 23:18:23 ---> 85ddf1488d71 23:18:23 Step 9/13 : WORKDIR /device-onvif-camera 23:18:23 ---> Running in cf0d0189cae1 23:18:23 Removing intermediate container cf0d0189cae1 23:18:23 ---> f1ffc95f1bfc 23:18:23 Step 10/13 : COPY go.mod vendor* ./ 23:18:23 ---> 0f566b970914 23:18:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:23 ---> Running in d847332c6856 23:18:26 Still waiting to schedule task 23:18:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:18:55 Removing intermediate container d847332c6856 23:18:55 ---> df2caeb5941d 23:18:55 Step 12/13 : COPY . . 23:18:55 ---> a0528fdc7f9c 23:18:55 Step 13/13 : RUN ${MAKE} 23:18:55 ---> Running in 18c45f89bce4 23:18:55 noop 23:18:55 Removing intermediate container 18c45f89bce4 23:18:55 ---> dfacfa4b805f 23:18:55 Successfully built dfacfa4b805f 23:18:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:55 + docker inspect -f . ci-base-image-x86_64 23:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:55 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:18:55 $ 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 23:18:56 $ docker top fe70707c8b2fd91c97f26355e54f2756b8651a61b51dcb67279c6ffec6c4d06b -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:56 + go version 23:18:56 go version go1.18.7 linux/amd64 [Pipeline] } 23:18:56 $ docker stop --time=1 fe70707c8b2fd91c97f26355e54f2756b8651a61b51dcb67279c6ffec6c4d06b 23:18:57 $ docker rm -f --volumes fe70707c8b2fd91c97f26355e54f2756b8651a61b51dcb67279c6ffec6c4d06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:58 + docker inspect -f . ci-base-image-x86_64 23:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:58 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:18:58 $ 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 23:18:58 $ docker top 31d8db8c5df66b04debafbbd9a6556751b1469ca414595c69fb4a677bedb0f81 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:59 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:18:59 + make test 23:18:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:18:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:19:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:19:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 23:19:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:19:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.526s coverage: 86.5% of statements 23:19:21 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:19:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:24 $ docker stop --time=1 31d8db8c5df66b04debafbbd9a6556751b1469ca414595c69fb4a677bedb0f81 23:19:26 $ docker rm -f --volumes 31d8db8c5df66b04debafbbd9a6556751b1469ca414595c69fb4a677bedb0f81 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:28 + ls -al . 23:19:28 total 248 23:19:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 23:18 . 23:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:17 .. 23:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 23:19 .git 23:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 23:17 .github 23:19:28 -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 23:17 .gitignore 23:19:28 -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 23:17 .golangci.yml 23:19:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 23:18 .semver 23:19:28 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 23:17 Attribution.txt 23:19:28 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 23:17 CHANGELOG.md 23:19:28 -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 23:17 Dockerfile 23:19:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 23:17 GOVERNANCE.md 23:19:28 -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 23:17 Jenkinsfile 23:19:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 23:17 LICENSE 23:19:28 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 23:17 Makefile 23:19:28 -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 23:17 OWNERS.md 23:19:28 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 23:17 README.md 23:19:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 9 23:18 VERSION 23:19:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 23:17 bin 23:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 23:17 cmd 23:19:28 -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 23:19 coverage.out 23:19:28 drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 23:17 doc 23:19:28 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 23:17 go.mod 23:19:28 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 23:17 go.sum 23:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:17 internal 23:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:17 snap 23:19:28 -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:28 + 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=ed435512d23c0fe6735192e03ad24dc623114abf --label arch=amd64 --label version=3.0.0-dev.4 . 23:19:28 Sending build context to Docker daemon 27.7MB 23:19:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:19:28 Step 2/26 : FROM ${BASE} AS builder 23:19:28 ---> dfacfa4b805f 23:19:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:19:28 ---> Running in b34e3f18dbc5 23:19:28 Removing intermediate container b34e3f18dbc5 23:19:28 ---> 38702cca16b5 23:19:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:28 ---> Running in c42eb254b0fe 23:19:28 Removing intermediate container c42eb254b0fe 23:19:28 ---> 782037fc6ca4 23:19:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:19:28 ---> Running in 0379ae2b799c 23:19:28 Removing intermediate container 0379ae2b799c 23:19:28 ---> 5d998e162774 23:19:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:19:28 ---> Running in d8ae7e11d5f4 23:19:29 Removing intermediate container d8ae7e11d5f4 23:19:29 ---> f5a0ad0df5d9 23:19:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:19:29 ---> Running in 5cacfd8ccad7 23:19:29 Removing intermediate container 5cacfd8ccad7 23:19:29 ---> 679396ed93dc 23:19:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:29 ---> Running in b2df0351ba1c 23:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:30 OK: 211 MiB in 51 packages 23:19:30 Removing intermediate container b2df0351ba1c 23:19:30 ---> 917db3dad5b0 23:19:30 Step 9/26 : WORKDIR /device-onvif-camera 23:19:30 ---> Running in 62dad6ac72e2 23:19:30 Removing intermediate container 62dad6ac72e2 23:19:30 ---> 8360c52743a1 23:19:30 Step 10/26 : COPY go.mod vendor* ./ 23:19:30 ---> 86be48d3667b 23:19:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:30 ---> Running in 1ad5aaf5984f 23:19:31 Removing intermediate container 1ad5aaf5984f 23:19:31 ---> 98ffef9136bc 23:19:31 Step 12/26 : COPY . . 23:19:31 ---> bd4383b1b11d 23:19:31 Step 13/26 : RUN ${MAKE} 23:19:31 ---> Running in d428c67c971f 23:19:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:19:53 Removing intermediate container d428c67c971f 23:19:53 ---> 9d0dd7600883 23:19:53 Step 14/26 : FROM alpine:3.16 23:19:53 3.16: Pulling from library/alpine 23:19:53 ca7dd9ec2225: Pulling fs layer 23:19:53 ca7dd9ec2225: Verifying Checksum 23:19:53 ca7dd9ec2225: Download complete 23:19:53 ca7dd9ec2225: Pull complete 23:19:53 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:19:53 Status: Downloaded newer image for alpine:3.16 23:19:53 ---> bfe296a52501 23:19:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:19:53 ---> Running in 6e7a92f22191 23:19:53 Removing intermediate container 6e7a92f22191 23:19:53 ---> cf3018a6009f 23:19:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:19:53 ---> Running in 4296c19cf712 23:19:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:54 (1/6) Installing dumb-init (1.2.5-r1) 23:19:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:19:54 (3/6) Installing libsodium (1.0.18-r0) 23:19:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:19:54 (5/6) Installing libzmq (4.3.4-r0) 23:19:54 (6/6) Installing zeromq (4.3.4-r0) 23:19:54 Executing busybox-1.35.0-r17.trigger 23:19:54 OK: 8 MiB in 20 packages 23:19:54 Removing intermediate container 4296c19cf712 23:19:54 ---> f3a5fb46e6dd 23:19:54 Step 17/26 : WORKDIR / 23:19:54 ---> Running in 276730e0361d 23:19:54 Removing intermediate container 276730e0361d 23:19:54 ---> 129d1e490e9e 23:19:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:19:55 ---> cac160cbd2ee 23:19:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:19:55 ---> 623c026d87eb 23:19:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:19:55 ---> 5e737f8bb866 23:19:55 Step 21/26 : EXPOSE 59984 23:19:55 ---> Running in de7ec3618916 23:19:55 Removing intermediate container de7ec3618916 23:19:55 ---> acac872e307b 23:19:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:19:55 ---> Running in ee350996e1dc 23:19:55 Removing intermediate container ee350996e1dc 23:19:55 ---> 292280fbe418 23:19:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:19:55 ---> Running in 4e2c151e714a 23:19:55 Removing intermediate container 4e2c151e714a 23:19:55 ---> cebeb2ab7e88 23:19:55 Step 24/26 : LABEL arch=amd64 23:19:55 ---> Running in 13cc9fe55810 23:19:55 Removing intermediate container 13cc9fe55810 23:19:55 ---> cc979dabc161 23:19:55 Step 25/26 : LABEL git_sha=ed435512d23c0fe6735192e03ad24dc623114abf 23:19:55 ---> Running in b1706fccf1cd 23:19:56 Removing intermediate container b1706fccf1cd 23:19:56 ---> a7bc6fd44fe9 23:19:56 Step 26/26 : LABEL version=3.0.0-dev.4 23:19:56 ---> Running in f7830805ee10 23:19:56 Removing intermediate container f7830805ee10 23:19:56 ---> eb0b7f87c021 23:19:56 [Warning] One or more build-args [ARCH] were not consumed 23:19:56 Successfully built eb0b7f87c021 23:19:56 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 23:19:56 provisioning config files... 23:19:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17651294935631627788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:56 ---> docker-login.sh 23:19:56 nexus3.edgexfoundry.org:10001 23:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:56 Configure a credential helper to remove this warning. See 23:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:56 23:19:56 Login Succeeded 23:19:56 nexus3.edgexfoundry.org:10002 23:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:56 Configure a credential helper to remove this warning. See 23:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:56 23:19:56 Login Succeeded 23:19:56 nexus3.edgexfoundry.org:10003 23:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:56 Configure a credential helper to remove this warning. See 23:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:56 23:19:56 Login Succeeded 23:19:56 nexus3.edgexfoundry.org:10004 23:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:56 Configure a credential helper to remove this warning. See 23:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:56 23:19:56 Login Succeeded 23:19:56 docker.io 23:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:56 Configure a credential helper to remove this warning. See 23:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:56 23:19:56 Login Succeeded 23:19:56 ---> docker-login.sh ends [Pipeline] } 23:19:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:19:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:56 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:19:56 ed435512d23c0fe6735192e03ad24dc623114abf 23:19:56 latest 23:19:56 3.0.0-dev.4 23:19:56 ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:19:56 main 23:19:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1499 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:19:57 Running in /w/workspace/device-onvif-camera/93 [Pipeline] { [Pipeline] checkout 23:19:57 The recommended git tool is: git 23:19:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf 23:19:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:19:57 e33cce2e5427: Preparing 23:19:57 6bb50b54131f: Preparing 23:19:57 1b10eed4054f: Preparing 23:19:57 64dc03e0f5c6: Preparing 23:19:57 e5e13b0c77cb: Preparing 23:19:57 e5e13b0c77cb: Layer already exists 23:19:57 e33cce2e5427: Pushed 23:19:57 6bb50b54131f: Pushed 23:19:57 64dc03e0f5c6: Pushed 23:20:00 1b10eed4054f: Pushed 23:20:00 ed435512d23c0fe6735192e03ad24dc623114abf: digest: sha256:a6da1151524a4c3947b8047988893a4af13520571689e755b8c6a1447219ccf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:20:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:20:01 e33cce2e5427: Preparing 23:20:01 6bb50b54131f: Preparing 23:20:01 1b10eed4054f: Preparing 23:20:01 64dc03e0f5c6: Preparing 23:20:01 e5e13b0c77cb: Preparing 23:20:01 1b10eed4054f: Layer already exists 23:20:01 6bb50b54131f: Layer already exists 23:20:01 e5e13b0c77cb: Layer already exists 23:20:01 e33cce2e5427: Layer already exists 23:20:01 64dc03e0f5c6: Layer already exists 23:20:01 latest: digest: sha256:a6da1151524a4c3947b8047988893a4af13520571689e755b8c6a1447219ccf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.4 23:20:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:20:01 e33cce2e5427: Preparing 23:20:01 6bb50b54131f: Preparing 23:20:01 1b10eed4054f: Preparing 23:20:01 64dc03e0f5c6: Preparing 23:20:01 e5e13b0c77cb: Preparing 23:20:01 e5e13b0c77cb: Layer already exists 23:20:01 1b10eed4054f: Layer already exists 23:20:01 6bb50b54131f: Layer already exists 23:20:01 64dc03e0f5c6: Layer already exists 23:20:01 e33cce2e5427: Layer already exists 23:20:01 3.0.0-dev.4: digest: sha256:a6da1151524a4c3947b8047988893a4af13520571689e755b8c6a1447219ccf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 [Pipeline] } 23:20:02 using credential edgex-jenkins-ssh [Pipeline] // withEnv 23:20:02 Cloning the remote Git repository [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:20:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:20:02 e33cce2e5427: Preparing 23:20:02 6bb50b54131f: Preparing 23:20:02 1b10eed4054f: Preparing 23:20:02 64dc03e0f5c6: Preparing 23:20:02 e5e13b0c77cb: Preparing 23:20:02 6bb50b54131f: Layer already exists 23:20:02 64dc03e0f5c6: Layer already exists 23:20:02 e5e13b0c77cb: Layer already exists 23:20:02 1b10eed4054f: Layer already exists 23:20:02 e33cce2e5427: Layer already exists 23:20:02 ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4: digest: sha256:a6da1151524a4c3947b8047988893a4af13520571689e755b8c6a1447219ccf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:20:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:20:02 e33cce2e5427: Preparing 23:20:02 6bb50b54131f: Preparing 23:20:02 1b10eed4054f: Preparing 23:20:02 64dc03e0f5c6: Preparing 23:20:02 e5e13b0c77cb: Preparing 23:20:02 e5e13b0c77cb: Layer already exists 23:20:02 1b10eed4054f: Layer already exists 23:20:02 6bb50b54131f: Layer already exists 23:20:02 64dc03e0f5c6: Layer already exists 23:20:02 e33cce2e5427: Layer already exists 23:20:02 main: digest: sha256:a6da1151524a4c3947b8047988893a4af13520571689e755b8c6a1447219ccf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:20:03 ===================================================== [Pipeline] echo 23:20:03 taggedImages: 23:20:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf 23:20:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:20:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.4 23:20:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:20:03 - 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 23:20:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:20:02 > git init /w/workspace/device-onvif-camera/93 # timeout=10 23:20:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:20:02 > git --version # timeout=10 23:20:02 > git --version # 'git version 2.25.1' 23:20:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:03 23:20:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:03 latest: Pulling from edgex-lftools-log-publisher 23:20:03 5eb5b503b376: Pulling fs layer 23:20:03 5c69ac0246d0: Pulling fs layer 23:20:03 ec43610c2a17: Pulling fs layer 23:20:03 3a2ae6a8a46f: Pulling fs layer 23:20:03 33b1e0a273af: Pulling fs layer 23:20:03 5d3b04190fa2: Pulling fs layer 23:20:03 2f39f015ded8: Pulling fs layer 23:20:03 3a2ae6a8a46f: Waiting 23:20:03 33b1e0a273af: Waiting 23:20:03 5d3b04190fa2: Waiting 23:20:03 2f39f015ded8: Waiting 23:20:03 5c69ac0246d0: Verifying Checksum 23:20:03 5c69ac0246d0: Download complete 23:20:03 3a2ae6a8a46f: Verifying Checksum 23:20:03 3a2ae6a8a46f: Download complete 23:20:03 33b1e0a273af: Verifying Checksum 23:20:03 33b1e0a273af: Download complete 23:20:03 ec43610c2a17: Verifying Checksum 23:20:03 ec43610c2a17: Download complete 23:20:03 5d3b04190fa2: Verifying Checksum 23:20:03 5eb5b503b376: Verifying Checksum 23:20:03 5eb5b503b376: Download complete 23:20:04 2f39f015ded8: Download complete 23:20:04 Avoid second fetch 23:20:04 Checking out Revision ed435512d23c0fe6735192e03ad24dc623114abf (main) 23:20:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:20:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:04 > git config core.sparsecheckout # timeout=10 23:20:04 > git checkout -f ed435512d23c0fe6735192e03ad24dc623114abf # timeout=10 23:20:05 5eb5b503b376: Pull complete 23:20:05 Commit message: "fix: update scripts to use latest consul path (#206)" 23:20:05 5c69ac0246d0: Pull complete 23:20:05 ec43610c2a17: Pull complete 23:20:05 23:20:05 GitHub has been notified of this commit’s build result 23:20:05 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:05 3a2ae6a8a46f: Pull complete 23:20:05 33b1e0a273af: Pull complete 23:20:06 5d3b04190fa2: Pull complete 23:20:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:20:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:06 Dload Upload Total Spent Left Speed 23:20:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73705 0 --:--:-- --:--:-- --:--:-- 73281 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh 23:20:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:20:07 + sudo tee /etc/docker/daemon.new 23:20:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:20:07 { 23:20:07 "registry-mirrors": [ 23:20:07 "https://nexus3.edgexfoundry.org:10001" 23:20:07 ], 23:20:07 "bip": "10.250.0.254/24", 23:20:07 "hosts": [ 23:20:07 "tcp://0.0.0.0:5555", 23:20:07 "unix:///var/run/docker.sock" 23:20:07 ], 23:20:07 "mtu": 1458, 23:20:07 "selinux-enabled": true, 23:20:07 "seccomp-profile": "/etc/docker/seccomp.json" 23:20:07 } [Pipeline] sh 23:20:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:20:07 + sudo service docker restart 23:20:10 2f39f015ded8: Pull complete 23:20:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:10 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:20:10 $ 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 23:20:12 $ docker top b48da4d72569fc89b094afd1ccc886b7e0d1e28be5b5bcb63b747b1eca7f4f8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:12 ---> job-cost.sh 23:20:12 lf-activate-venv: SKIPPING 23:20:12 INFO: No Stack... 23:20:12 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:12 INFO: Archiving Costs [Pipeline] sh 23:20:13 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:20:13 + cut -d, -f6 [Pipeline] lock 23:20:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] 23:20:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] did not exist. Created. 23:20:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:13 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:13 Stashed 1 file(s) [Pipeline] } 23:20:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:13 $ docker stop --time=1 b48da4d72569fc89b094afd1ccc886b7e0d1e28be5b5bcb63b747b1eca7f4f8d 23:20:14 $ docker rm -f --volumes b48da4d72569fc89b094afd1ccc886b7e0d1e28be5b5bcb63b747b1eca7f4f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:25 provisioning config files... 23:20:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/93@tmp/config10248746293717224134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:26 ---> docker-login.sh 23:20:26 nexus3.edgexfoundry.org:10001 23:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:26 Configure a credential helper to remove this warning. See 23:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:26 23:20:26 Login Succeeded 23:20:26 nexus3.edgexfoundry.org:10002 23:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 nexus3.edgexfoundry.org:10003 23:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 nexus3.edgexfoundry.org:10004 23:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 docker.io 23:20:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:28 Configure a credential helper to remove this warning. See 23:20:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:28 23:20:28 Login Succeeded 23:20:28 ---> docker-login.sh ends [Pipeline] } 23:20:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:28 ========================================================= 23:20:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:20:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:20:29 Sending build context to Docker daemon 20.5MB 23:20:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:20:29 Step 2/13 : FROM ${BASE} AS builder 23:20:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:31 9b18e9b68314: Pulling fs layer 23:20:31 35d82f9e3411: Pulling fs layer 23:20:31 e16973657156: Pulling fs layer 23:20:31 fc693d55d65f: Pulling fs layer 23:20:31 7e9fc2657dce: Pulling fs layer 23:20:31 dda99020689f: Pulling fs layer 23:20:31 db1c61fa0a46: Pulling fs layer 23:20:31 891c053d2c06: Pulling fs layer 23:20:31 7e9fc2657dce: Waiting 23:20:31 dda99020689f: Waiting 23:20:31 db1c61fa0a46: Waiting 23:20:31 891c053d2c06: Waiting 23:20:31 fc693d55d65f: Waiting 23:20:31 e16973657156: Verifying Checksum 23:20:31 e16973657156: Download complete 23:20:31 35d82f9e3411: Verifying Checksum 23:20:31 35d82f9e3411: Download complete 23:20:31 7e9fc2657dce: Verifying Checksum 23:20:31 7e9fc2657dce: Download complete 23:20:31 dda99020689f: Verifying Checksum 23:20:31 dda99020689f: Download complete 23:20:31 9b18e9b68314: Verifying Checksum 23:20:31 9b18e9b68314: Download complete 23:20:32 9b18e9b68314: Pull complete 23:20:32 891c053d2c06: Verifying Checksum 23:20:32 891c053d2c06: Download complete 23:20:32 35d82f9e3411: Pull complete 23:20:32 e16973657156: Pull complete 23:20:33 db1c61fa0a46: Verifying Checksum 23:20:33 db1c61fa0a46: Download complete 23:20:33 fc693d55d65f: Verifying Checksum 23:20:33 fc693d55d65f: Download complete 23:20:46 fc693d55d65f: Pull complete 23:20:46 7e9fc2657dce: Pull complete 23:20:46 dda99020689f: Pull complete 23:20:52 db1c61fa0a46: Pull complete 23:20:54 891c053d2c06: Pull complete 23:20:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:20:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:20:54 ---> f96f9c87975a 23:20:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:20:56 ---> Running in e96ef82b8a73 23:20:56 Removing intermediate container e96ef82b8a73 23:20:56 ---> 48c98a981ec5 23:20:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:56 ---> Running in 9ae109cc7d4a 23:20:56 Removing intermediate container 9ae109cc7d4a 23:20:56 ---> b351f7388e02 23:20:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:20:57 ---> Running in 9837994214d1 23:20:57 Removing intermediate container 9837994214d1 23:20:57 ---> 8d4f94215763 23:20:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:20:57 ---> Running in 9162ed607335 23:20:57 Removing intermediate container 9162ed607335 23:20:57 ---> 83b67b03a0d4 23:20:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:20:57 ---> Running in b622f7d24d99 23:20:57 Removing intermediate container b622f7d24d99 23:20:57 ---> 958f75dce820 23:20:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:58 ---> Running in 57d34dfb802e 23:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:21:00 OK: 221 MiB in 51 packages 23:21:01 Removing intermediate container 57d34dfb802e 23:21:01 ---> 4d62a42d488f 23:21:01 Step 9/13 : WORKDIR /device-onvif-camera 23:21:01 ---> Running in 86e58f335b69 23:21:01 Removing intermediate container 86e58f335b69 23:21:01 ---> fe7ea695a684 23:21:01 Step 10/13 : COPY go.mod vendor* ./ 23:21:02 ---> b1d400e77a69 23:21:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:02 ---> Running in 55e4291e4ad7 23:21:58 Removing intermediate container 55e4291e4ad7 23:21:58 ---> 08b07ccec9b1 23:21:58 Step 12/13 : COPY . . 23:21:58 ---> 33191e461a7c 23:21:58 Step 13/13 : RUN ${MAKE} 23:21:58 ---> Running in fa4581adf7b1 23:21:58 noop 23:21:58 Removing intermediate container fa4581adf7b1 23:21:58 ---> 97fb1da46543 23:21:58 Successfully built 97fb1da46543 23:21:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:59 + docker inspect -f . ci-base-image-arm64 23:21:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:59 prd-ubuntu20.04-docker-arm64-4c-16g-1499 does not seem to be running inside a container 23:21:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/93 -v /w/workspace/device-onvif-camera/93:/w/workspace/device-onvif-camera/93:rw,z -v /w/workspace/device-onvif-camera/93@tmp:/w/workspace/device-onvif-camera/93@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 23:22:00 $ docker top df509bff10335d0561a10d2a07ac196569188b3f76a892afdd2ae59957b7d36a -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:01 + go version 23:22:01 go version go1.18.7 linux/arm64 [Pipeline] } 23:22:01 $ docker stop --time=1 df509bff10335d0561a10d2a07ac196569188b3f76a892afdd2ae59957b7d36a 23:22:02 $ docker rm -f --volumes df509bff10335d0561a10d2a07ac196569188b3f76a892afdd2ae59957b7d36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:03 + docker inspect -f . ci-base-image-arm64 23:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:03 prd-ubuntu20.04-docker-arm64-4c-16g-1499 does not seem to be running inside a container 23:22:03 $ 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/93 -v /w/workspace/device-onvif-camera/93:/w/workspace/device-onvif-camera/93:rw,z -v /w/workspace/device-onvif-camera/93@tmp:/w/workspace/device-onvif-camera/93@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 23:22:04 $ docker top 66f356efb75ccd4bfd07d596ce515f7eb78fc36d0da7b09ec26023af47a5336e -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/93 [Pipeline] fileExists [Pipeline] sh 23:22:05 + make test 23:22:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:22:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:23:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:23:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 29.3% of statements 23:23:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:23:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.459s coverage: 86.5% of statements 23:23:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:23:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:24:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:24 $ docker stop --time=1 66f356efb75ccd4bfd07d596ce515f7eb78fc36d0da7b09ec26023af47a5336e 23:24:26 $ docker rm -f --volumes 66f356efb75ccd4bfd07d596ce515f7eb78fc36d0da7b09ec26023af47a5336e [Pipeline] // withDockerContainer [Pipeline] sh 23:24:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:27 Warning: overwriting stash ‘coverage-report’ 23:24:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:24:28 + ls -al . 23:24:28 total 244 23:24:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 23:22 . 23:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:20 .. 23:24:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 23:20 .git 23:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 23:20 .github 23:24:28 -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 23:20 .gitignore 23:24:28 -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 23:20 .golangci.yml 23:24:28 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 23:20 Attribution.txt 23:24:28 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 23:20 CHANGELOG.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 23:20 Dockerfile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 23:20 GOVERNANCE.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 23:20 Jenkinsfile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 23:20 LICENSE 23:24:28 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 23:20 Makefile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 23:20 OWNERS.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 23:20 README.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 9 23:18 VERSION 23:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 23:20 bin 23:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 23:20 cmd 23:24:28 -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 23:23 coverage.out 23:24:28 drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 23:20 doc 23:24:28 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 23:20 go.mod 23:24:28 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 23:20 go.sum 23:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:20 internal 23:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 23:20 snap 23:24:28 -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:28 + 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=ed435512d23c0fe6735192e03ad24dc623114abf --label arch=arm64 --label version=3.0.0-dev.4 . 23:24:29 Sending build context to Docker daemon 20.58MB 23:24:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:24:29 Step 2/26 : FROM ${BASE} AS builder 23:24:29 ---> 97fb1da46543 23:24:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:24:29 ---> Running in 41590afebf91 23:24:30 Removing intermediate container 41590afebf91 23:24:30 ---> dd65ad34e4cf 23:24:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:24:30 ---> Running in 08fc23b2ac47 23:24:30 Removing intermediate container 08fc23b2ac47 23:24:30 ---> ce8adc1a0aac 23:24:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:24:30 ---> Running in 01f9c66e01ef 23:24:31 Removing intermediate container 01f9c66e01ef 23:24:31 ---> 235f03d02b9b 23:24:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:24:31 ---> Running in 55b2050daaf7 23:24:31 Removing intermediate container 55b2050daaf7 23:24:31 ---> 4383f015c099 23:24:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:24:31 ---> Running in c25b2163d1f8 23:24:32 Removing intermediate container c25b2163d1f8 23:24:32 ---> 944eb1bb3028 23:24:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:32 ---> Running in 6e10e36e33d0 23:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:24:34 OK: 221 MiB in 51 packages 23:24:36 Removing intermediate container 6e10e36e33d0 23:24:36 ---> 5cc303098311 23:24:36 Step 9/26 : WORKDIR /device-onvif-camera 23:24:36 ---> Running in b51c35a62a62 23:24:36 Removing intermediate container b51c35a62a62 23:24:36 ---> 668c4161f73c 23:24:36 Step 10/26 : COPY go.mod vendor* ./ 23:24:37 ---> bffd2ab5d3c1 23:24:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:37 ---> Running in 598e5deb237a 23:24:39 Removing intermediate container 598e5deb237a 23:24:39 ---> b3f4238329e0 23:24:39 Step 12/26 : COPY . . 23:24:41 ---> 12e4fad49e2a 23:24:41 Step 13/26 : RUN ${MAKE} 23:24:41 ---> Running in 6d5c46859bdd 23:24:42 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:27:19 Removing intermediate container 6d5c46859bdd 23:27:19 ---> 5d799224f83c 23:27:19 Step 14/26 : FROM alpine:3.16 23:27:19 3.16: Pulling from library/alpine 23:27:19 6875df1f5354: Pulling fs layer 23:27:19 6875df1f5354: Verifying Checksum 23:27:19 6875df1f5354: Download complete 23:27:19 6875df1f5354: Pull complete 23:27:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:27:19 Status: Downloaded newer image for alpine:3.16 23:27:19 ---> 2b4661558fb8 23:27:19 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:27:19 ---> Running in 7d2c5336fb64 23:27:19 Removing intermediate container 7d2c5336fb64 23:27:19 ---> 3b607a64548d 23:27:19 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:27:19 ---> Running in 479365e5c7df 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:27:19 (1/6) Installing dumb-init (1.2.5-r1) 23:27:19 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:27:19 (3/6) Installing libsodium (1.0.18-r0) 23:27:19 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:27:19 (5/6) Installing libzmq (4.3.4-r0) 23:27:19 (6/6) Installing zeromq (4.3.4-r0) 23:27:19 Executing busybox-1.35.0-r17.trigger 23:27:19 OK: 8 MiB in 20 packages 23:27:19 Removing intermediate container 479365e5c7df 23:27:19 ---> e4df1a3d6e21 23:27:19 Step 17/26 : WORKDIR / 23:27:19 ---> Running in fa3dc633caca 23:27:19 Removing intermediate container fa3dc633caca 23:27:19 ---> af764f38b957 23:27:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:27:19 ---> b75724b88002 23:27:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:27:19 ---> 0f27a81f5baf 23:27:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:27:19 ---> d9be61ab4c36 23:27:19 Step 21/26 : EXPOSE 59984 23:27:19 ---> Running in eaad339288ed 23:27:19 Removing intermediate container eaad339288ed 23:27:19 ---> ec87d52f0dc1 23:27:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:27:19 ---> Running in 1bd01a56d3a6 23:27:19 Removing intermediate container 1bd01a56d3a6 23:27:19 ---> 71cb5ebb5ed7 23:27:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:27:19 ---> Running in 5ee43eb6ca9a 23:27:19 Removing intermediate container 5ee43eb6ca9a 23:27:19 ---> af1bf25e97b5 23:27:19 Step 24/26 : LABEL arch=arm64 23:27:19 ---> Running in 2ab3e56f6d3c 23:27:19 Removing intermediate container 2ab3e56f6d3c 23:27:19 ---> 96bbb5c1e477 23:27:19 Step 25/26 : LABEL git_sha=ed435512d23c0fe6735192e03ad24dc623114abf 23:27:19 ---> Running in 92e05b49c11d 23:27:19 Removing intermediate container 92e05b49c11d 23:27:19 ---> d5c4993e19f1 23:27:19 Step 26/26 : LABEL version=3.0.0-dev.4 23:27:20 ---> Running in cb18fcfb08d3 23:27:20 Removing intermediate container cb18fcfb08d3 23:27:20 ---> e02d7be95e08 23:27:20 [Warning] One or more build-args [ARCH] were not consumed 23:27:20 Successfully built e02d7be95e08 23:27:20 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 23:27:20 provisioning config files... 23:27:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/93@tmp/config6440285952137476137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:20 ---> docker-login.sh 23:27:20 nexus3.edgexfoundry.org:10001 23:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:21 Configure a credential helper to remove this warning. See 23:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:21 23:27:21 Login Succeeded 23:27:21 nexus3.edgexfoundry.org:10002 23:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:21 Configure a credential helper to remove this warning. See 23:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:21 23:27:21 Login Succeeded 23:27:21 nexus3.edgexfoundry.org:10003 23:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:21 Configure a credential helper to remove this warning. See 23:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:21 23:27:21 Login Succeeded 23:27:21 nexus3.edgexfoundry.org:10004 23:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:22 Configure a credential helper to remove this warning. See 23:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:22 23:27:22 Login Succeeded 23:27:22 docker.io 23:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:22 Configure a credential helper to remove this warning. See 23:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:22 23:27:22 Login Succeeded 23:27:22 ---> docker-login.sh ends [Pipeline] } 23:27:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:27:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:27:22 ed435512d23c0fe6735192e03ad24dc623114abf 23:27:22 latest 23:27:22 3.0.0-dev.4 23:27:22 ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:27:22 main 23:27:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf 23:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:27:23 548d50a3670b: Preparing 23:27:23 6b2729f9fe36: Preparing 23:27:23 f9158b5617e9: Preparing 23:27:23 950bd4b86d7a: Preparing 23:27:23 17bec77d7fdc: Preparing 23:27:23 17bec77d7fdc: Layer already exists 23:27:23 6b2729f9fe36: Pushed 23:27:23 548d50a3670b: Pushed 23:27:24 950bd4b86d7a: Pushed 23:27:29 f9158b5617e9: Pushed 23:27:29 ed435512d23c0fe6735192e03ad24dc623114abf: digest: sha256:8d969ba826fa417a1aec2ae568e8d1545b266802922828aa9a69b8af620b65ea size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:29 + 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 23:27:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:27:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:27:30 548d50a3670b: Preparing 23:27:30 6b2729f9fe36: Preparing 23:27:30 f9158b5617e9: Preparing 23:27:30 950bd4b86d7a: Preparing 23:27:30 17bec77d7fdc: Preparing 23:27:30 f9158b5617e9: Layer already exists 23:27:30 6b2729f9fe36: Layer already exists 23:27:30 950bd4b86d7a: Layer already exists 23:27:30 17bec77d7fdc: Layer already exists 23:27:30 548d50a3670b: Layer already exists 23:27:30 latest: digest: sha256:8d969ba826fa417a1aec2ae568e8d1545b266802922828aa9a69b8af620b65ea size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.4 23:27:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:27:30 548d50a3670b: Preparing 23:27:30 6b2729f9fe36: Preparing 23:27:30 f9158b5617e9: Preparing 23:27:30 950bd4b86d7a: Preparing 23:27:30 17bec77d7fdc: Preparing 23:27:30 17bec77d7fdc: Layer already exists 23:27:30 950bd4b86d7a: Layer already exists 23:27:30 f9158b5617e9: Layer already exists 23:27:30 6b2729f9fe36: Layer already exists 23:27:30 548d50a3670b: Layer already exists 23:27:30 3.0.0-dev.4: digest: sha256:8d969ba826fa417a1aec2ae568e8d1545b266802922828aa9a69b8af620b65ea size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:31 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:27:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:27:31 548d50a3670b: Preparing 23:27:31 6b2729f9fe36: Preparing 23:27:31 f9158b5617e9: Preparing 23:27:31 950bd4b86d7a: Preparing 23:27:31 17bec77d7fdc: Preparing 23:27:31 950bd4b86d7a: Layer already exists 23:27:31 6b2729f9fe36: Layer already exists 23:27:31 17bec77d7fdc: Layer already exists 23:27:31 548d50a3670b: Layer already exists 23:27:31 f9158b5617e9: Layer already exists 23:27:31 ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4: digest: sha256:8d969ba826fa417a1aec2ae568e8d1545b266802922828aa9a69b8af620b65ea size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:32 + 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 23:27:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:27:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:27:32 548d50a3670b: Preparing 23:27:32 6b2729f9fe36: Preparing 23:27:32 f9158b5617e9: Preparing 23:27:32 950bd4b86d7a: Preparing 23:27:32 17bec77d7fdc: Preparing 23:27:32 6b2729f9fe36: Layer already exists 23:27:32 f9158b5617e9: Layer already exists 23:27:32 950bd4b86d7a: Layer already exists 23:27:32 548d50a3670b: Layer already exists 23:27:32 17bec77d7fdc: Layer already exists 23:27:32 main: digest: sha256:8d969ba826fa417a1aec2ae568e8d1545b266802922828aa9a69b8af620b65ea size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:27:33 ===================================================== [Pipeline] echo 23:27:33 taggedImages: 23:27:33 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf 23:27:33 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:27:33 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.4 23:27:33 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed435512d23c0fe6735192e03ad24dc623114abf-3.0.0-dev.4 23:27:33 - 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 23:27:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:33 23:27:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:33 arm64: Pulling from edgex-lftools-log-publisher 23:27:33 8998bd30e6a1: Pulling fs layer 23:27:33 04944245beec: Pulling fs layer 23:27:33 699f458cf7ca: Pulling fs layer 23:27:33 765212b225bb: Pulling fs layer 23:27:33 f23df028b6ca: Pulling fs layer 23:27:33 d65c8cfc05b1: Pulling fs layer 23:27:33 2437ff75d9bd: Pulling fs layer 23:27:33 765212b225bb: Waiting 23:27:33 f23df028b6ca: Waiting 23:27:33 d65c8cfc05b1: Waiting 23:27:33 2437ff75d9bd: Waiting 23:27:33 04944245beec: Verifying Checksum 23:27:33 04944245beec: Download complete 23:27:33 765212b225bb: Verifying Checksum 23:27:33 765212b225bb: Download complete 23:27:33 f23df028b6ca: Verifying Checksum 23:27:33 f23df028b6ca: Download complete 23:27:33 d65c8cfc05b1: Verifying Checksum 23:27:33 d65c8cfc05b1: Download complete 23:27:33 699f458cf7ca: Verifying Checksum 23:27:33 699f458cf7ca: Download complete 23:27:34 8998bd30e6a1: Verifying Checksum 23:27:34 8998bd30e6a1: Download complete 23:27:36 2437ff75d9bd: Verifying Checksum 23:27:36 2437ff75d9bd: Download complete 23:27:38 8998bd30e6a1: Pull complete 23:27:38 04944245beec: Pull complete 23:27:40 699f458cf7ca: Pull complete 23:27:40 765212b225bb: Pull complete 23:27:42 f23df028b6ca: Pull complete 23:27:42 d65c8cfc05b1: Pull complete 23:27:57 2437ff75d9bd: Pull complete 23:27:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:57 prd-ubuntu20.04-docker-arm64-4c-16g-1499 does not seem to be running inside a container 23:27:57 $ 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/93 -v /w/workspace/device-onvif-camera/93:/w/workspace/device-onvif-camera/93:rw,z -v /w/workspace/device-onvif-camera/93@tmp:/w/workspace/device-onvif-camera/93@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 23:28:00 $ docker top 99dbadce089169cc1061156615a5de685ff1221a9ff1413119f1f6a3df4a2dd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> job-cost.sh 23:28:01 lf-activate-venv: SKIPPING 23:28:01 INFO: No Stack... 23:28:01 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:02 INFO: Archiving Costs [Pipeline] sh 23:28:02 + + catcut /w/workspace/device-onvif-camera/93/archives/cost.csv -d, 23:28:02 -f6 [Pipeline] lock 23:28:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] 23:28:02 Resource [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] did not exist. Created. 23:28:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:03 /w/workspace/device-onvif-camera/93@tmp/durable-02c7a608/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:03 Warning: overwriting stash ‘stack-cost’ 23:28:03 Stashed 1 file(s) [Pipeline] } 23:28:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:03 $ docker stop --time=1 99dbadce089169cc1061156615a5de685ff1221a9ff1413119f1f6a3df4a2dd0 23:28:05 $ docker rm -f --volumes 99dbadce089169cc1061156615a5de685ff1221a9ff1413119f1f6a3df4a2dd0 [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 23:28:05 provisioning config files... 23:28:05 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7322925444905901355tmp [Pipeline] { [Pipeline] sh 23:28:05 + set +x 23:28:05 + curl -s https://codecov.io/bash 23:28:05 + bash -s -- 23:28:05 23:28:05 _____ _ 23:28:05 / ____| | | 23:28:05 | | ___ __| | ___ ___ _____ __ 23:28:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:05 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:05 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:05 Bash-1.0.6 23:28:05 23:28:05 23:28:05 ==> git version 2.25.1 found 23:28:05 ==> 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 23:28:05 Release-Date: 2020-01-08 23:28:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:05 ==> Jenkins CI detected. 23:28:05 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:28:05 project root: . 23:28:05 --> token set from env 23:28:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:05 ==> Running gcov in . (disable via -X gcov) 23:28:05 ==> Python coveragepy not found 23:28:05 ==> Searching for coverage reports in: 23:28:05 + . 23:28:05 -> Found 1 reports 23:28:05 ==> Detecting git/mercurial file structure 23:28:05 ==> Reading reports 23:28:05 + ./coverage.out bytes=79184 23:28:05 ==> Appending adjustments 23:28:05 https://docs.codecov.io/docs/fixing-reports 23:28:06 + Found adjustments 23:28:06 ==> Gzipping contents 23:28:06 12K /tmp/codecov.m9g2hD.gz 23:28:06 ==> Uploading reports 23:28:06 url: https://codecov.io 23:28:06 query: branch=main&commit=ed435512d23c0fe6735192e03ad24dc623114abf&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:28:06 -> Pinging Codecov 23:28:06 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=ed435512d23c0fe6735192e03ad24dc623114abf&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:28:06 -> Uploading to 23:28:06 https://storage.googleapis.com/codecov/v4/raw/2023-01-09/F29A59C45E3A92E06B3E522C9905F8EF/ed435512d23c0fe6735192e03ad24dc623114abf/17984d9a-57a9-4939-b048-5670514bcb4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T232806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90556030d4e18c4ba88190ec9099cdf14cd89c6d36432e73e3102115a5c3deae 23:28:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:06 Dload Upload Total Spent Left Speed 23:28:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10882 0 0 100 10882 0 44598 --:--:-- --:--:-- --:--:-- 44416 100 10882 0 0 100 10882 0 44598 --:--:-- --:--:-- --:--:-- 44416 23:28:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] } 23:28:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:28:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:28:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:28:07 23:28:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:28:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:28:07 df9b9388f04a: Pulling fs layer 23:28:07 52dc419b0ee2: Pulling fs layer 23:28:07 25bc292e5bac: Pulling fs layer 23:28:07 114826534d7a: Pulling fs layer 23:28:07 4657fd5d0bcf: Pulling fs layer 23:28:07 6ad1cebc031e: Pulling fs layer 23:28:07 8a3aa393b2d8: Pulling fs layer 23:28:07 114826534d7a: Waiting 23:28:07 6ad1cebc031e: Waiting 23:28:07 4657fd5d0bcf: Waiting 23:28:07 8a3aa393b2d8: Waiting 23:28:07 25bc292e5bac: Verifying Checksum 23:28:07 25bc292e5bac: Download complete 23:28:07 52dc419b0ee2: Download complete 23:28:07 4657fd5d0bcf: Verifying Checksum 23:28:07 4657fd5d0bcf: Download complete 23:28:07 df9b9388f04a: Download complete 23:28:07 df9b9388f04a: Pull complete 23:28:07 6ad1cebc031e: Verifying Checksum 23:28:07 6ad1cebc031e: Download complete 23:28:07 52dc419b0ee2: Pull complete 23:28:07 25bc292e5bac: Pull complete 23:28:08 114826534d7a: Verifying Checksum 23:28:08 114826534d7a: Download complete 23:28:08 8a3aa393b2d8: Verifying Checksum 23:28:08 8a3aa393b2d8: Download complete 23:28:12 114826534d7a: Pull complete 23:28:12 4657fd5d0bcf: Pull complete 23:28:12 6ad1cebc031e: Pull complete 23:28:15 8a3aa393b2d8: Pull complete 23:28:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:28:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:15 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:28:15 $ 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 23:28:17 $ docker top 4565cc36006a798877e0eabd4c53afb65640a78703f1a54b9066096c48a366c3 -eo pid,comm [Pipeline] { [Pipeline] echo 23:28:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:28:17 + set -o pipefail 23:28:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:28:23 23:28:23 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:28:23 23:28:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/aa6e7579-216d-4f21-a863-f2311c5dd543 23:28:23 23:28:23 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:28:23 23:28:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:28:23 23:28:23 23:28:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:28:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:28:23 More details here: https://snyk.co/ue1NS [Pipeline] } 23:28:23 $ docker stop --time=1 4565cc36006a798877e0eabd4c53afb65640a78703f1a54b9066096c48a366c3 23:28:25 $ docker rm -f --volumes 4565cc36006a798877e0eabd4c53afb65640a78703f1a54b9066096c48a366c3 [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 23:28:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:26 provisioning config files... 23:28:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8979570254060482856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:26 --> edgex-publish-swagger.sh 23:28:26 === Publish doc/openapi/v2 API === 23:28:26 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:28:26 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:28:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:26 Dload Upload Total Spent Left Speed 23:28:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 57 706k --:--:-- --:--:-- --:--:-- 705k 23:28:27 {"code":403,"message":"Access Denied"} 23:28:27 [Pipeline] } 23:28:27 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 23:28:27 + git log --format=format:%s -1 ed435512d23c0fe6735192e03ad24dc623114abf [Pipeline] sh 23:28:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:28 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:28:28 $ 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 23:28:28 $ docker top 56c74592425640a69733d33b295b3fb33803b36c20a1fd4d1977d697719bad54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:28 [ssh-agent] Looking for ssh-agent implementation... 23:28:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:29 $ docker exec 56c74592425640a69733d33b295b3fb33803b36c20a1fd4d1977d697719bad54 ssh-agent 23:28:29 SSH_AUTH_SOCK=/tmp/ssh-FeKGIR0IjCaU/agent.32 23:28:29 SSH_AGENT_PID=38 23:28:29 Running ssh-add (command line suppressed) 23:28:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2635579499295280835.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2635579499295280835.key) 23:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:29 + git semver tag 23:28:29 2023-01-09 23:28:29,749 [run_tag] DEBUG tag force:False 23:28:29 2023-01-09 23:28:29,749 [check_head_tag] DEBUG check head tag 23:28:29 2023-01-09 23:28:29,751 [execute] INFO git cat-file --batch-check 23:28:29 2023-01-09 23:28:29,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:28:29 2023-01-09 23:28:29,756 [execute] INFO git cat-file --batch 23:28:29 2023-01-09 23:28:29,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:28:29 2023-01-09 23:28:29,783 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:29 2023-01-09 23:28:29,784 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 23:28:29 2023-01-09 23:28:29,784 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:28:29 2023-01-09 23:28:29,790 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:29 3.0.0-dev.4 [Pipeline] } 23:28:29 $ docker exec --env ******** --env ******** 56c74592425640a69733d33b295b3fb33803b36c20a1fd4d1977d697719bad54 ssh-agent -k 23:28:29 unset SSH_AUTH_SOCK; 23:28:29 unset SSH_AGENT_PID; 23:28:29 echo Agent pid 38 killed; 23:28:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:30 + git semver [Pipeline] } 23:28:30 $ docker stop --time=1 56c74592425640a69733d33b295b3fb33803b36c20a1fd4d1977d697719bad54 23:28:31 $ docker rm -f --volumes 56c74592425640a69733d33b295b3fb33803b36c20a1fd4d1977d697719bad54 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:28:32 23:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:28:32 0.23.1-centos7: Pulling from edgex-lftools 23:28:32 ab5ef0e58194: Pulling fs layer 23:28:32 9712f1f96733: Pulling fs layer 23:28:32 63f879dbbcfc: Pulling fs layer 23:28:32 0d9ebad4ef96: Pulling fs layer 23:28:32 e9a5061849ea: Pulling fs layer 23:28:32 d747dcd14b5f: Pulling fs layer 23:28:32 2de7ff778b66: Pulling fs layer 23:28:32 0d9ebad4ef96: Waiting 23:28:32 e9a5061849ea: Waiting 23:28:32 d747dcd14b5f: Waiting 23:28:32 2de7ff778b66: Waiting 23:28:32 9712f1f96733: Verifying Checksum 23:28:32 9712f1f96733: Download complete 23:28:33 63f879dbbcfc: Verifying Checksum 23:28:33 63f879dbbcfc: Download complete 23:28:33 e9a5061849ea: Verifying Checksum 23:28:33 e9a5061849ea: Download complete 23:28:33 d747dcd14b5f: Download complete 23:28:33 0d9ebad4ef96: Verifying Checksum 23:28:33 0d9ebad4ef96: Download complete 23:28:33 2de7ff778b66: Verifying Checksum 23:28:33 2de7ff778b66: Download complete 23:28:33 ab5ef0e58194: Verifying Checksum 23:28:33 ab5ef0e58194: Download complete 23:28:36 ab5ef0e58194: Pull complete 23:28:36 9712f1f96733: Pull complete 23:28:36 63f879dbbcfc: Pull complete 23:28:41 0d9ebad4ef96: Pull complete 23:28:41 e9a5061849ea: Pull complete 23:28:41 d747dcd14b5f: Pull complete 23:28:42 2de7ff778b66: Pull complete 23:28:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:28:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:42 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:28:42 $ 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 23:28:44 $ docker top f4eefa8034e06c5bf991e38763d636fe5d62f2a059abb95aae525d15896adbee -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:28:44 provisioning config files... 23:28:44 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9298045686307132185tmp 23:28:44 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15675095824080756433tmp 23:28:45 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1357788637510038314tmp [Pipeline] { [Pipeline] echo 23:28:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:28:45 ---> sigul-configuration.sh 23:28:45 gpg: directory `/root/.gnupg' created 23:28:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:28:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:28:45 gpg: keyring `/root/.gnupg/secring.gpg' created 23:28:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:28:45 gpg: CAST5 encrypted data 23:28:45 gpg: encrypted with 1 passphrase 23:28:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:28:45 + mkdir /home/jenkins 23:28:45 + mkdir /home/jenkins/sigul [Pipeline] sh 23:28:45 + 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 23:28:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:28:46 ---> sigul-install.sh 23:28:46 Sigul already installed; skipping installation. [Pipeline] sh 23:28:46 + git tag --list 23:28:46 v0.0.0 23:28:46 v0.0.1-dev.1 23:28:46 v0.0.1-dev.10 23:28:46 v0.0.1-dev.11 23:28:46 v0.0.1-dev.12 23:28:46 v0.0.1-dev.13 23:28:46 v0.0.1-dev.14 23:28:46 v0.0.1-dev.15 23:28:46 v0.0.1-dev.16 23:28:46 v0.0.1-dev.17 23:28:46 v0.0.1-dev.18 23:28:46 v0.0.1-dev.19 23:28:46 v0.0.1-dev.2 23:28:46 v0.0.1-dev.20 23:28:46 v0.0.1-dev.21 23:28:46 v0.0.1-dev.22 23:28:46 v0.0.1-dev.23 23:28:46 v0.0.1-dev.24 23:28:46 v0.0.1-dev.25 23:28:46 v0.0.1-dev.26 23:28:46 v0.0.1-dev.27 23:28:46 v0.0.1-dev.28 23:28:46 v0.0.1-dev.3 23:28:46 v0.0.1-dev.4 23:28:46 v0.0.1-dev.5 23:28:46 v0.0.1-dev.6 23:28:46 v0.0.1-dev.7 23:28:46 v0.0.1-dev.8 23:28:46 v0.0.1-dev.9 23:28:46 v2.2.0 23:28:46 v2.2.0-dev.29 23:28:46 v2.2.0-dev.30 23:28:46 v2.2.0-dev.31 23:28:46 v2.2.0-dev.32 23:28:46 v2.2.0-dev.33 23:28:46 v2.2.0-dev.34 23:28:46 v2.2.0-dev.35 23:28:46 v2.3.0 23:28:46 v2.3.0-dev.1 23:28:46 v2.3.0-dev.10 23:28:46 v2.3.0-dev.11 23:28:46 v2.3.0-dev.12 23:28:46 v2.3.0-dev.13 23:28:46 v2.3.0-dev.14 23:28:46 v2.3.0-dev.15 23:28:46 v2.3.0-dev.16 23:28:46 v2.3.0-dev.17 23:28:46 v2.3.0-dev.18 23:28:46 v2.3.0-dev.19 23:28:46 v2.3.0-dev.2 23:28:46 v2.3.0-dev.20 23:28:46 v2.3.0-dev.21 23:28:46 v2.3.0-dev.22 23:28:46 v2.3.0-dev.23 23:28:46 v2.3.0-dev.24 23:28:46 v2.3.0-dev.25 23:28:46 v2.3.0-dev.26 23:28:46 v2.3.0-dev.27 23:28:46 v2.3.0-dev.28 23:28:46 v2.3.0-dev.29 23:28:46 v2.3.0-dev.3 23:28:46 v2.3.0-dev.30 23:28:46 v2.3.0-dev.31 23:28:46 v2.3.0-dev.32 23:28:46 v2.3.0-dev.33 23:28:46 v2.3.0-dev.34 23:28:46 v2.3.0-dev.35 23:28:46 v2.3.0-dev.36 23:28:46 v2.3.0-dev.37 23:28:46 v2.3.0-dev.38 23:28:46 v2.3.0-dev.39 23:28:46 v2.3.0-dev.4 23:28:46 v2.3.0-dev.40 23:28:46 v2.3.0-dev.41 23:28:46 v2.3.0-dev.42 23:28:46 v2.3.0-dev.43 23:28:46 v2.3.0-dev.44 23:28:46 v2.3.0-dev.45 23:28:46 v2.3.0-dev.5 23:28:46 v2.3.0-dev.6 23:28:46 v2.3.0-dev.7 23:28:46 v2.3.0-dev.8 23:28:46 v2.3.0-dev.9 23:28:46 v2.3.1-dev.1 23:28:46 v3.0.0-dev.1 23:28:46 v3.0.0-dev.2 23:28:46 v3.0.0-dev.3 23:28:46 v3.0.0-dev.4 [Pipeline] sh 23:28:46 + lftools sign git-tag v3.0.0-dev.4 23:28:47 Signing Git tag with Sigul... 23:28:47 Signing v3.0.0-dev.4 [Pipeline] echo 23:28:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:28:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:28:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:28:48 $ docker stop --time=1 f4eefa8034e06c5bf991e38763d636fe5d62f2a059abb95aae525d15896adbee 23:28:49 $ docker rm -f --volumes f4eefa8034e06c5bf991e38763d636fe5d62f2a059abb95aae525d15896adbee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:28:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:50 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:28:50 $ 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 23:28:50 $ docker top 4eed23e63e9e9ad86d3653da3900e050ef4cd28f4de74aa5fe2d6a5e4d58ad44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:50 [ssh-agent] Looking for ssh-agent implementation... 23:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:50 $ docker exec 4eed23e63e9e9ad86d3653da3900e050ef4cd28f4de74aa5fe2d6a5e4d58ad44 ssh-agent 23:28:50 SSH_AUTH_SOCK=/tmp/ssh-ac9A5FvEBUuG/agent.31 23:28:50 SSH_AGENT_PID=37 23:28:50 Running ssh-add (command line suppressed) 23:28:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10797506489146640909.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10797506489146640909.key) 23:28:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:51 + git semver bump pre 23:28:51 2023-01-09 23:28:51,582 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:51 2023-01-09 23:28:51,583 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 23:28:51 2023-01-09 23:28:51,583 [bump_version] DEBUG bumped version:3.0.0-dev.5 23:28:51 2023-01-09 23:28:51,583 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:28:51 2023-01-09 23:28:51,583 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:51 2023-01-09 23:28:51,583 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:51 2023-01-09 23:28:51,585 [execute] INFO git cat-file --batch-check 23:28:51 2023-01-09 23:28:51,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:28:51 2023-01-09 23:28:51,591 [execute] INFO git cat-file --batch 23:28:51 2023-01-09 23:28:51,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:28:51 2023-01-09 23:28:51,598 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:51 3.0.0-dev.5 [Pipeline] } 23:28:51 $ docker exec --env ******** --env ******** 4eed23e63e9e9ad86d3653da3900e050ef4cd28f4de74aa5fe2d6a5e4d58ad44 ssh-agent -k 23:28:51 unset SSH_AUTH_SOCK; 23:28:51 unset SSH_AGENT_PID; 23:28:51 echo Agent pid 37 killed; 23:28:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:52 + git semver [Pipeline] } 23:28:52 $ docker stop --time=1 4eed23e63e9e9ad86d3653da3900e050ef4cd28f4de74aa5fe2d6a5e4d58ad44 23:28:53 $ docker rm -f --volumes 4eed23e63e9e9ad86d3653da3900e050ef4cd28f4de74aa5fe2d6a5e4d58ad44 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:54 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:28:54 $ 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 23:28:54 $ docker top 4efc26876ea97747e27a12615948004e2230c9b478d07289b3be989cba0540a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:54 [ssh-agent] Looking for ssh-agent implementation... 23:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:54 $ docker exec 4efc26876ea97747e27a12615948004e2230c9b478d07289b3be989cba0540a8 ssh-agent 23:28:55 SSH_AUTH_SOCK=/tmp/ssh-5vtGw9L65tdK/agent.32 23:28:55 SSH_AGENT_PID=38 23:28:55 Running ssh-add (command line suppressed) 23:28:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2172548373177584857.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2172548373177584857.key) 23:28:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:55 + git semver push 23:28:55 2023-01-09 23:28:55,633 [run_push] DEBUG push 23:28:55 2023-01-09 23:28:55,634 [execute] INFO git cat-file --batch-check 23:28:55 2023-01-09 23:28:55,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:28:55 2023-01-09 23:28:55,639 [execute] INFO git rev-list ed55ff2066952567406884788a5554d11c74b59a -- 23:28:55 2023-01-09 23:28:55,639 [execute] DEBUG Popen(['git', 'rev-list', 'ed55ff2066952567406884788a5554d11c74b59a', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:28:55 2023-01-09 23:28:55,647 [execute] INFO git fetch -v origin 23:28:55 2023-01-09 23:28:55,647 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:28:56 2023-01-09 23:28:56,185 [run_push] DEBUG no remote changes detected 23:28:56 2023-01-09 23:28:56,185 [execute] INFO git push origin semver 23:28:56 2023-01-09 23:28:56,186 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:28:57 2023-01-09 23:28:56,897 [run_push] DEBUG push all version tags 23:28:57 2023-01-09 23:28:56,897 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:28:57 2023-01-09 23:28:56,898 [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) 23:28:57 2023-01-09 23:28:57,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:28:57 3.0.0-dev.5 [Pipeline] } 23:28:57 $ docker exec --env ******** --env ******** 4efc26876ea97747e27a12615948004e2230c9b478d07289b3be989cba0540a8 ssh-agent -k 23:28:57 unset SSH_AUTH_SOCK; 23:28:57 unset SSH_AGENT_PID; 23:28:57 echo Agent pid 38 killed; 23:28:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:58 + git semver [Pipeline] } 23:28:58 $ docker stop --time=1 4efc26876ea97747e27a12615948004e2230c9b478d07289b3be989cba0540a8 23:28:59 $ docker rm -f --volumes 4efc26876ea97747e27a12615948004e2230c9b478d07289b3be989cba0540a8 [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 23:29:00 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:29:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:29:00 total 16 23:29:00 drwxr-xr-x 3 root root 4096 Jan 9 23:20 . 23:29:00 drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 23:28 .. 23:29:00 drwxr-xr-x 2 root root 4096 Jan 9 23:20 cost 23:29:00 -rw-r--r-- 1 root root 90 Jan 9 23:20 cost.csv 23:29:00 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:29:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:29:00 total 16 23:29:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 23:20 . 23:29:00 drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 23:28 .. 23:29:00 drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 23:20 cost 23:29:00 -rw-r--r-- 1 jenkins jenkins 90 Jan 9 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:29:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:01 ---> package-listing.sh 23:29:01 ++ facter osfamily 23:29:01 ++ tr '[:upper:]' '[:lower:]' 23:29:01 + OS_FAMILY=debian 23:29:01 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:29:01 + START_PACKAGES=/tmp/packages_start.txt 23:29:01 + END_PACKAGES=/tmp/packages_end.txt 23:29:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:01 + PACKAGES=/tmp/packages_start.txt 23:29:01 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:29:01 + PACKAGES=/tmp/packages_end.txt 23:29:01 + case "${OS_FAMILY}" in 23:29:01 + dpkg -l 23:29:01 + grep '^ii' 23:29:01 + '[' -f /tmp/packages_start.txt ']' 23:29:01 + '[' -f /tmp/packages_end.txt ']' 23:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:01 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:29:01 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:29:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:29:01 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 23:29:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:02 prd-ubuntu20.04-docker-8c-8g-1498 does not seem to be running inside a container 23:29:02 $ 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 23:29:02 $ docker top b1093d7d12ca3aed2012cbf5df5378eb593f2dba06c0ab037ef92b79f5d04284 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:03 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:03 + mkdir -p /var/log/sysstat [Pipeline] sh 23:29:03 + ls /var/log/sa-host 23:29:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:04 provisioning config files... 23:29:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13883268609091828803tmp [Pipeline] { [Pipeline] echo 23:29:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:04 ---> create-netrc.sh [Pipeline] } 23:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:29:04 ---> python-tools-install.sh [Pipeline] echo 23:29:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:04 ---> sudo-logs.sh 23:29:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:29:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:05 ---> job-cost.sh 23:29:05 lf-activate-venv: SKIPPING 23:29:05 DEBUG: total: 0.2199999988079071 23:29:05 INFO: Retrieving Stack Cost... 23:29:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:06 INFO: Archiving Costs [Pipeline] echo 23:29:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:06 ---> logs-deploy.sh 23:29:06 lf-activate-venv: SKIPPING 23:29:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/93 23:29:06 INFO: archiving workspace using pattern(s): 23:29:07 Archives upload complete. 23:29:07 INFO: archiving logs to Nexus