Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 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-ssh9959106938003563067.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-ssh4740475222135487651.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-ssh6496719520946736010.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-ssh12880394151756972580.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-ssh2963612571662163831.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2750 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (main) Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217)" > git config core.sparsecheckout # timeout=10 > git checkout -f 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 > git rev-list --no-walk 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:34:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:34:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:34:07 ========================================================= 17:34:07 EdgeX Global Pipelines Version Info 17:34:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:34:08 ------------------- 17:34:08 stable info: 17:34:08 ------------------- 17:34:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:34:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:34:08 Message: update stable to v1.0.244 17:34:09 ------------------- 17:34:09 experimental info: 17:34:09 ------------------- 17:34:09 Commited By: **** collab-it+edgex@linuxfoundation.org 17:34:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:34:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6741b26 [Pipeline] echo 17:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:09 provisioning config files... 17:34:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4862966026494798581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:09 ---> docker-login.sh 17:34:09 nexus3.edgexfoundry.org:10001 17:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:10 Configure a credential helper to remove this warning. See 17:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:10 17:34:10 Login Succeeded 17:34:10 nexus3.edgexfoundry.org:10002 17:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:10 Configure a credential helper to remove this warning. See 17:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:10 17:34:10 Login Succeeded 17:34:10 nexus3.edgexfoundry.org:10003 17:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:10 Configure a credential helper to remove this warning. See 17:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:10 17:34:10 Login Succeeded 17:34:10 nexus3.edgexfoundry.org:10004 17:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:10 Configure a credential helper to remove this warning. See 17:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:10 17:34:10 Login Succeeded 17:34:10 docker.io 17:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:11 Configure a credential helper to remove this warning. See 17:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:11 17:34:11 Login Succeeded 17:34:11 ---> docker-login.sh ends [Pipeline] } 17:34:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:34:11 + git rev-list -1 --merges 6741b2693d9de414b67a8d31d89bc7ad3a9d0867~1..6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo 17:34:11 -----------> git rev-list -1 --merges 6741b2693d9de414b67a8d31d89bc7ad3a9d0867~1..6741b2693d9de414b67a8d31d89bc7ad3a9d0867 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [false] [Pipeline] sh 17:34:11 + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo 17:34:11 ========================================================= 17:34:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:34:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:12 + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] echo 17:34:12 [semverPrep] GIT_COMMIT: 6741b2693d9de414b67a8d31d89bc7ad3a9d0867, Commit Message: refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217) [Pipeline] echo 17:34:12 [semverPrep] This is not a build commit. [Pipeline] sh 17:34:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:12 + grep -v github /etc/ssh/ssh_known_hosts 17:34:12 + [ -e /tmp/ssh_known_hosts ] 17:34:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:34:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:34:12 + sudo tee -a /etc/ssh/ssh_known_hosts 17:34:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:12 17:34:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:13 0.1.4: Pulling from edgex-devops/py-git-semver 17:34:13 b85a868b505f: Pulling fs layer 17:34:13 e2be974225ed: Pulling fs layer 17:34:13 339a4e72a1f5: Pulling fs layer 17:34:13 988bab9f4d93: Pulling fs layer 17:34:13 1469e6f7b9e6: Pulling fs layer 17:34:13 eaf3925da568: Pulling fs layer 17:34:13 bab4dde63d76: Pulling fs layer 17:34:13 bde34c3a00c8: Pulling fs layer 17:34:13 b352a97aabf1: Pulling fs layer 17:34:13 4872d77fe225: Pulling fs layer 17:34:13 5851b861e8e6: Pulling fs layer 17:34:13 bde34c3a00c8: Waiting 17:34:13 b352a97aabf1: Waiting 17:34:13 4872d77fe225: Waiting 17:34:13 eaf3925da568: Waiting 17:34:13 5851b861e8e6: Waiting 17:34:13 bab4dde63d76: Waiting 17:34:13 988bab9f4d93: Waiting 17:34:13 1469e6f7b9e6: Waiting 17:34:13 e2be974225ed: Verifying Checksum 17:34:13 e2be974225ed: Download complete 17:34:13 988bab9f4d93: Verifying Checksum 17:34:13 988bab9f4d93: Download complete 17:34:13 339a4e72a1f5: Verifying Checksum 17:34:13 339a4e72a1f5: Download complete 17:34:13 1469e6f7b9e6: Verifying Checksum 17:34:13 1469e6f7b9e6: Download complete 17:34:13 eaf3925da568: Verifying Checksum 17:34:13 eaf3925da568: Download complete 17:34:13 bde34c3a00c8: Download complete 17:34:13 b352a97aabf1: Download complete 17:34:13 4872d77fe225: Download complete 17:34:13 5851b861e8e6: Verifying Checksum 17:34:13 5851b861e8e6: Download complete 17:34:13 b85a868b505f: Verifying Checksum 17:34:13 b85a868b505f: Download complete 17:34:13 bab4dde63d76: Verifying Checksum 17:34:13 bab4dde63d76: Download complete 17:34:14 b85a868b505f: Pull complete 17:34:15 e2be974225ed: Pull complete 17:34:15 339a4e72a1f5: Pull complete 17:34:15 988bab9f4d93: Pull complete 17:34:15 1469e6f7b9e6: Pull complete 17:34:15 eaf3925da568: Pull complete 17:34:17 bab4dde63d76: Pull complete 17:34:17 bde34c3a00c8: Pull complete 17:34:18 b352a97aabf1: Pull complete 17:34:18 4872d77fe225: Pull complete 17:34:18 5851b861e8e6: Pull complete 17:34:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:34:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:18 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:34:18 $ 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 17:34:19 $ docker top a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b -eo pid,comm 17:34:19 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). 17:34:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:19 [ssh-agent] Looking for ssh-agent implementation... 17:34:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:19 $ docker exec a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent 17:34:19 SSH_AUTH_SOCK=/tmp/ssh-RHRC9O7FnZQq/agent.32 17:34:19 SSH_AGENT_PID=38 17:34:19 Running ssh-add (command line suppressed) 17:34:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_186551321094716834.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_186551321094716834.key) 17:34:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:20 + git tag --points-at HEAD [Pipeline] } 17:34:20 $ docker exec --env ******** --env ******** a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent -k 17:34:20 unset SSH_AUTH_SOCK; 17:34:20 unset SSH_AGENT_PID; 17:34:20 echo Agent pid 38 killed; 17:34:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:34:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:20 [ssh-agent] Looking for ssh-agent implementation... 17:34:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:20 $ docker exec a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent 17:34:20 SSH_AUTH_SOCK=/tmp/ssh-EzbJWPRLwjzd/agent.70 17:34:20 SSH_AGENT_PID=76 17:34:20 Running ssh-add (command line suppressed) 17:34:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6692681085891496781.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6692681085891496781.key) 17:34:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:21 + git semver init 17:34:21 2023-01-17 17:34:21,290 [run_init] DEBUG init version:0.0.0 force:False 17:34:21 2023-01-17 17:34:21,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:34:21 2023-01-17 17:34:21,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:34:21 2023-01-17 17:34:21,291 [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) 17:34:22 2023-01-17 17:34:22,173 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:34:22 2023-01-17 17:34:22,174 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:34:22 2023-01-17 17:34:22,174 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:34:22 2023-01-17 17:34:22,174 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:34:22 3.0.0-dev.8 [Pipeline] } 17:34:22 $ docker exec --env ******** --env ******** a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b ssh-agent -k 17:34:22 unset SSH_AUTH_SOCK; 17:34:22 unset SSH_AGENT_PID; 17:34:22 echo Agent pid 76 killed; 17:34:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:22 + git semver [Pipeline] } 17:34:23 $ docker stop --time=1 a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b 17:34:24 $ docker rm -f --volumes a77ae5184e8d47696d9d2c5e0db0bcdff86e6024dae24650b2842e5231ffdd2b [Pipeline] // withDockerContainer [Pipeline] sh 17:34:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:34:24 Stashed 1 file(s) [Pipeline] echo 17:34:24 [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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 17:34:25 provisioning config files... 17:34:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7383892241942772217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:25 ---> docker-login.sh 17:34:25 nexus3.edgexfoundry.org:10001 17:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:25 Configure a credential helper to remove this warning. See 17:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:25 17:34:25 Login Succeeded 17:34:25 nexus3.edgexfoundry.org:10002 17:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:25 Configure a credential helper to remove this warning. See 17:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:25 17:34:25 Login Succeeded 17:34:25 nexus3.edgexfoundry.org:10003 17:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:25 Configure a credential helper to remove this warning. See 17:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:25 17:34:25 Login Succeeded 17:34:25 nexus3.edgexfoundry.org:10004 17:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:25 Configure a credential helper to remove this warning. See 17:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:25 17:34:25 Login Succeeded 17:34:25 docker.io 17:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:26 Configure a credential helper to remove this warning. See 17:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:26 17:34:26 Login Succeeded 17:34:26 ---> docker-login.sh ends [Pipeline] } 17:34:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:26 ========================================================= 17:34:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:34:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:26 + 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 . 17:34:26 Sending build context to Docker daemon 27.65MB 17:34:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:34:26 Step 2/13 : FROM ${BASE} AS builder 17:34:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:34:26 213ec9aee27d: Pulling fs layer 17:34:26 4583459ba037: Pulling fs layer 17:34:26 93c1e223e6f2: Pulling fs layer 17:34:26 53926ce57604: Pulling fs layer 17:34:26 21b2b0c7a3f4: Pulling fs layer 17:34:26 22ff95d597cd: Pulling fs layer 17:34:26 12d6caf4c0d1: Pulling fs layer 17:34:26 96b7cbca73a9: Pulling fs layer 17:34:26 a7acece74701: Pulling fs layer 17:34:26 53926ce57604: Waiting 17:34:26 21b2b0c7a3f4: Waiting 17:34:26 22ff95d597cd: Waiting 17:34:26 12d6caf4c0d1: Waiting 17:34:26 96b7cbca73a9: Waiting 17:34:26 a7acece74701: Waiting 17:34:26 93c1e223e6f2: Verifying Checksum 17:34:26 93c1e223e6f2: Download complete 17:34:26 4583459ba037: Download complete 17:34:26 21b2b0c7a3f4: Verifying Checksum 17:34:26 21b2b0c7a3f4: Download complete 17:34:26 22ff95d597cd: Verifying Checksum 17:34:26 22ff95d597cd: Download complete 17:34:26 213ec9aee27d: Download complete 17:34:26 12d6caf4c0d1: Verifying Checksum 17:34:26 12d6caf4c0d1: Download complete 17:34:27 213ec9aee27d: Pull complete 17:34:27 4583459ba037: Pull complete 17:34:27 93c1e223e6f2: Pull complete 17:34:27 a7acece74701: Download complete 17:34:28 53926ce57604: Verifying Checksum 17:34:28 53926ce57604: Download complete 17:34:28 96b7cbca73a9: Verifying Checksum 17:34:28 96b7cbca73a9: Download complete 17:34:32 53926ce57604: Pull complete 17:34:32 21b2b0c7a3f4: Pull complete 17:34:32 22ff95d597cd: Pull complete 17:34:32 12d6caf4c0d1: Pull complete 17:34:34 96b7cbca73a9: Pull complete 17:34:35 a7acece74701: Pull complete 17:34:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:34:35 ---> db6d94c90886 17:34:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:34:36 ---> Running in a8f17c0cbfcf 17:34:37 Removing intermediate container a8f17c0cbfcf 17:34:37 ---> a836a8d22c6c 17:34:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:37 ---> Running in 72ed94628a5f 17:34:37 Removing intermediate container 72ed94628a5f 17:34:37 ---> f7910cae1a39 17:34:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:34:37 ---> Running in b0f6596a8035 17:34:37 Removing intermediate container b0f6596a8035 17:34:37 ---> 57053b011609 17:34:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:34:37 ---> Running in c71b4a18d432 17:34:37 Removing intermediate container c71b4a18d432 17:34:37 ---> 37b69ea19ec5 17:34:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:34:37 ---> Running in 3c593fa4fe4e 17:34:37 Removing intermediate container 3c593fa4fe4e 17:34:37 ---> bb1bdb139c8d 17:34:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:37 ---> Running in 9b39a3a72271 17:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:34:38 OK: 211 MiB in 51 packages 17:34:38 Removing intermediate container 9b39a3a72271 17:34:38 ---> e9b94e6834ca 17:34:38 Step 9/13 : WORKDIR /device-onvif-camera 17:34:38 ---> Running in c5d58e7e2679 17:34:38 Removing intermediate container c5d58e7e2679 17:34:38 ---> fbcbfca7c156 17:34:38 Step 10/13 : COPY go.mod vendor* ./ 17:34:38 ---> c69b1b2a2bff 17:34:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:38 ---> Running in 3e90fc45fe5f 17:34:40 Still waiting to schedule task 17:34:40 ‘prd-centos7-blackbox-4c-2g-2429’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:34:40 ‘prd-centos7-blackbox-4c-2g-2430’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:34:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2753’ is offline 17:34:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2754’ is offline 17:35:00 Removing intermediate container 3e90fc45fe5f 17:35:00 ---> 77d5fd1f4ad2 17:35:00 Step 12/13 : COPY . . 17:35:00 ---> 68f5f8546eaf 17:35:00 Step 13/13 : RUN ${MAKE} 17:35:00 ---> Running in d5f2371c5534 17:35:00 noop 17:35:00 Removing intermediate container d5f2371c5534 17:35:00 ---> 3644728beb07 17:35:00 Successfully built 3644728beb07 17:35:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:01 + docker inspect -f . ci-base-image-x86_64 17:35:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:01 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:35:01 $ 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 17:35:01 $ docker top c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:02 + go version 17:35:02 go version go1.18.7 linux/amd64 [Pipeline] } 17:35:02 $ docker stop --time=1 c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e 17:35:03 $ docker rm -f --volumes c86c4cdf5e163a80a726c48800fc8ff234b77d23e5508bfbf3d70d50f1f3279e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:03 + docker inspect -f . ci-base-image-x86_64 17:35:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:03 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:35:03 $ 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 17:35:04 $ docker top 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:04 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:35:04 + make test 17:35:04 go test ./... -coverprofile=coverage.out ./... 17:35:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:35:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:35:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements 17:35:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:35:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.611s coverage: 86.5% of statements 17:35:29 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." 17:35:29 go vet ./... 17:35:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:32 $ docker stop --time=1 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e 17:35:33 $ docker rm -f --volumes 17825c33f4cbe2d7a3b0cd55dcfe6182a7afa2180b3ec950c2b43734a7d5335e [Pipeline] // withDockerContainer [Pipeline] sh 17:35:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:35 + ls -al . 17:35:35 total 248 17:35:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:35 . 17:35:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 .. 17:35:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:35 .git 17:35:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 .github 17:35:35 -rw-rw-r-- 1 jenkins jenkins 496 Jan 17 17:34 .gitignore 17:35:35 -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 17:34 .golangci.yml 17:35:35 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 .semver 17:35:35 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 17 17:34 Attribution.txt 17:35:35 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 17 17:34 CHANGELOG.md 17:35:35 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 17 17:34 Dockerfile 17:35:35 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:34 GOVERNANCE.md 17:35:35 -rw-rw-r-- 1 jenkins jenkins 734 Jan 17 17:34 Jenkinsfile 17:35:35 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 17 17:34 LICENSE 17:35:35 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 17 17:34 Makefile 17:35:35 -rw-rw-r-- 1 jenkins jenkins 625 Jan 17 17:34 OWNERS.md 17:35:35 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 17 17:34 README.md 17:35:35 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:34 VERSION 17:35:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 bin 17:35:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 cmd 17:35:35 -rw-r--r-- 1 jenkins jenkins 79184 Jan 17 17:35 coverage.out 17:35:35 drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 17:34 doc 17:35:35 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 17 17:34 go.mod 17:35:35 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 17 17:34 go.sum 17:35:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 internal 17:35:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 snap 17:35:35 -rw-rw-r-- 1 jenkins jenkins 236 Jan 17 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:35 + 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 --label arch=amd64 --label version=3.0.0-dev.8 . 17:35:35 Sending build context to Docker daemon 27.73MB 17:35:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:35:35 Step 2/26 : FROM ${BASE} AS builder 17:35:35 ---> 3644728beb07 17:35:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:35:35 ---> Running in 1dcb152c2f3e 17:35:35 Removing intermediate container 1dcb152c2f3e 17:35:35 ---> f6413ed69dec 17:35:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:35 ---> Running in 83cd59045cf2 17:35:35 Removing intermediate container 83cd59045cf2 17:35:35 ---> 23092f84da80 17:35:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:35:35 ---> Running in c71a81df8ac2 17:35:35 Removing intermediate container c71a81df8ac2 17:35:35 ---> a1c838510164 17:35:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:35:35 ---> Running in dcf7e739bdfc 17:35:35 Removing intermediate container dcf7e739bdfc 17:35:35 ---> 6bc308a58ad5 17:35:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:35:36 ---> Running in e82ab107585e 17:35:36 Removing intermediate container e82ab107585e 17:35:36 ---> fc903919321f 17:35:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:36 ---> Running in 74cffa59af7b 17:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:35:36 OK: 211 MiB in 51 packages 17:35:37 Removing intermediate container 74cffa59af7b 17:35:37 ---> 1197bd4af936 17:35:37 Step 9/26 : WORKDIR /device-onvif-camera 17:35:37 ---> Running in 02bba9981d27 17:35:37 Removing intermediate container 02bba9981d27 17:35:37 ---> 785a0d7b49f7 17:35:37 Step 10/26 : COPY go.mod vendor* ./ 17:35:37 ---> f0be3cd87353 17:35:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:37 ---> Running in 665c21142410 17:35:38 Removing intermediate container 665c21142410 17:35:38 ---> 243b525a915d 17:35:38 Step 12/26 : COPY . . 17:35:38 ---> 3282fa84d82e 17:35:38 Step 13/26 : RUN ${MAKE} 17:35:38 ---> Running in 6754db60f7bd 17:35:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:36:01 Removing intermediate container 6754db60f7bd 17:36:01 ---> 7786dfbd8fe2 17:36:01 Step 14/26 : FROM alpine:3.16 17:36:01 3.16: Pulling from library/alpine 17:36:01 ca7dd9ec2225: Pulling fs layer 17:36:01 ca7dd9ec2225: Verifying Checksum 17:36:01 ca7dd9ec2225: Download complete 17:36:01 ca7dd9ec2225: Pull complete 17:36:01 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:36:01 Status: Downloaded newer image for alpine:3.16 17:36:01 ---> bfe296a52501 17:36:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:36:01 ---> Running in 2f576e5cffbe 17:36:01 Removing intermediate container 2f576e5cffbe 17:36:01 ---> 6cc41becfae8 17:36:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:36:01 ---> Running in 06f166630be9 17:36:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:36:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:36:01 (1/1) Installing dumb-init (1.2.5-r1) 17:36:01 Executing busybox-1.35.0-r17.trigger 17:36:01 OK: 6 MiB in 15 packages 17:36:01 Removing intermediate container 06f166630be9 17:36:01 ---> b40064b95b15 17:36:01 Step 17/26 : WORKDIR / 17:36:01 ---> Running in 7672382fd842 17:36:02 Removing intermediate container 7672382fd842 17:36:02 ---> 073922326dc1 17:36:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:36:02 ---> ef97a46b79b2 17:36:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:36:02 ---> 9239f331e48a 17:36:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:36:03 ---> 63e1ce6760f1 17:36:03 Step 21/26 : EXPOSE 59984 17:36:03 ---> Running in 2866598df49d 17:36:03 Removing intermediate container 2866598df49d 17:36:03 ---> bb3923d2f10c 17:36:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:36:03 ---> Running in 4a48595e278c 17:36:03 Removing intermediate container 4a48595e278c 17:36:03 ---> 3998d329c49d 17:36:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:36:03 ---> Running in be85f4b1ab55 17:36:03 Removing intermediate container be85f4b1ab55 17:36:03 ---> 3a081c6b221b 17:36:03 Step 24/26 : LABEL arch=amd64 17:36:03 ---> Running in 54b6f83969cb 17:36:03 Removing intermediate container 54b6f83969cb 17:36:03 ---> 501658a6d664 17:36:03 Step 25/26 : LABEL git_sha=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:36:03 ---> Running in d86dda625105 17:36:03 Removing intermediate container d86dda625105 17:36:03 ---> b31e96b3b4d4 17:36:03 Step 26/26 : LABEL version=3.0.0-dev.8 17:36:03 ---> Running in ad69e543b5bf 17:36:03 Removing intermediate container ad69e543b5bf 17:36:03 ---> 0ca8a00369a9 17:36:03 [Warning] One or more build-args [ARCH] were not consumed 17:36:03 Successfully built 0ca8a00369a9 17:36:03 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 17:36:03 provisioning config files... 17:36:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17863807319131494625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:04 ---> docker-login.sh 17:36:04 nexus3.edgexfoundry.org:10001 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 nexus3.edgexfoundry.org:10002 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 nexus3.edgexfoundry.org:10003 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 nexus3.edgexfoundry.org:10004 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 docker.io 17:36:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:04 Configure a credential helper to remove this warning. See 17:36:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:04 17:36:04 Login Succeeded 17:36:04 ---> docker-login.sh ends [Pipeline] } 17:36:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:04 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:36:04 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:36:04 latest 17:36:04 3.0.0-dev.8 17:36:04 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:36:04 main 17:36:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:36:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:36:05 d49ec0bcac06: Preparing 17:36:05 8f9c4b4eefa2: Preparing 17:36:05 b64658c3035b: Preparing 17:36:05 709efaff1aa6: Preparing 17:36:05 e5e13b0c77cb: Preparing 17:36:05 e5e13b0c77cb: Layer already exists 17:36:05 709efaff1aa6: Pushed 17:36:05 d49ec0bcac06: Pushed 17:36:05 8f9c4b4eefa2: Pushed 17:36:08 b64658c3035b: Pushed 17:36:08 6741b2693d9de414b67a8d31d89bc7ad3a9d0867: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:36:09 d49ec0bcac06: Preparing 17:36:09 8f9c4b4eefa2: Preparing 17:36:09 b64658c3035b: Preparing 17:36:09 709efaff1aa6: Preparing 17:36:09 e5e13b0c77cb: Preparing 17:36:09 709efaff1aa6: Layer already exists 17:36:09 e5e13b0c77cb: Layer already exists 17:36:09 b64658c3035b: Layer already exists 17:36:09 8f9c4b4eefa2: Layer already exists 17:36:09 d49ec0bcac06: Layer already exists 17:36:09 latest: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 17:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:36:09 d49ec0bcac06: Preparing 17:36:09 8f9c4b4eefa2: Preparing 17:36:09 b64658c3035b: Preparing 17:36:09 709efaff1aa6: Preparing 17:36:09 e5e13b0c77cb: Preparing 17:36:09 d49ec0bcac06: Layer already exists 17:36:09 e5e13b0c77cb: Layer already exists 17:36:09 b64658c3035b: Layer already exists 17:36:09 709efaff1aa6: Layer already exists 17:36:09 8f9c4b4eefa2: Layer already exists 17:36:09 3.0.0-dev.8: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:10 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:36:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:36:10 d49ec0bcac06: Preparing 17:36:10 8f9c4b4eefa2: Preparing 17:36:10 b64658c3035b: Preparing 17:36:10 709efaff1aa6: Preparing 17:36:10 e5e13b0c77cb: Preparing 17:36:10 e5e13b0c77cb: Layer already exists 17:36:10 d49ec0bcac06: Layer already exists 17:36:10 b64658c3035b: Layer already exists 17:36:10 709efaff1aa6: Layer already exists 17:36:10 8f9c4b4eefa2: Layer already exists 17:36:10 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:10 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:36:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:36:11 d49ec0bcac06: Preparing 17:36:11 8f9c4b4eefa2: Preparing 17:36:11 b64658c3035b: Preparing 17:36:11 709efaff1aa6: Preparing 17:36:11 e5e13b0c77cb: Preparing 17:36:11 d49ec0bcac06: Layer already exists 17:36:11 e5e13b0c77cb: Layer already exists 17:36:11 8f9c4b4eefa2: Layer already exists 17:36:11 709efaff1aa6: Layer already exists 17:36:11 b64658c3035b: Layer already exists 17:36:11 main: digest: sha256:d3a1878422befad71ba11523114a3473f135633514f492175e812dd6c375b831 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:36:11 ===================================================== [Pipeline] echo 17:36:11 taggedImages: 17:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.8 17:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:36:11 - 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 17:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:11 17:36:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:11 latest: Pulling from edgex-lftools-log-publisher 17:36:11 5eb5b503b376: Pulling fs layer 17:36:11 5c69ac0246d0: Pulling fs layer 17:36:11 ec43610c2a17: Pulling fs layer 17:36:11 3a2ae6a8a46f: Pulling fs layer 17:36:11 33b1e0a273af: Pulling fs layer 17:36:11 5d3b04190fa2: Pulling fs layer 17:36:11 2f39f015ded8: Pulling fs layer 17:36:11 5d3b04190fa2: Waiting 17:36:11 2f39f015ded8: Waiting 17:36:11 3a2ae6a8a46f: Waiting 17:36:11 33b1e0a273af: Waiting 17:36:11 5c69ac0246d0: Download complete 17:36:11 3a2ae6a8a46f: Verifying Checksum 17:36:11 3a2ae6a8a46f: Download complete 17:36:12 33b1e0a273af: Verifying Checksum 17:36:12 33b1e0a273af: Download complete 17:36:12 5d3b04190fa2: Download complete 17:36:12 ec43610c2a17: Verifying Checksum 17:36:12 ec43610c2a17: Download complete 17:36:12 5eb5b503b376: Verifying Checksum 17:36:12 5eb5b503b376: Download complete 17:36:13 2f39f015ded8: Download complete 17:36:13 5eb5b503b376: Pull complete 17:36:13 5c69ac0246d0: Pull complete 17:36:14 ec43610c2a17: Pull complete 17:36:14 3a2ae6a8a46f: Pull complete 17:36:14 33b1e0a273af: Pull complete 17:36:14 5d3b04190fa2: Pull complete 17:36:18 2f39f015ded8: Pull complete 17:36:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:18 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:36:18 $ 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 17:36:20 $ docker top e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:20 ---> job-cost.sh 17:36:20 lf-activate-venv: SKIPPING 17:36:20 INFO: No Stack... 17:36:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:21 INFO: Archiving Costs [Pipeline] sh 17:36:21 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:36:21 + cut -d, -f6 [Pipeline] lock 17:36:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] 17:36:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] did not exist. Created. 17:36:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:22 + echo total: 0.2199999988079071 [Pipeline] stash 17:36:22 Stashed 1 file(s) [Pipeline] } 17:36:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:22 $ docker stop --time=1 e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a 17:36:23 $ docker rm -f --volumes e9bc0c280cbbb2c1cbb8f643c9ff29663c62aac843f771f80bcd66e5f4b0689a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:37:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2757 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:37:29 Running in /w/workspace/device-onvif-camera/97 [Pipeline] { [Pipeline] checkout 17:37:29 The recommended git tool is: git 17:37:35 using credential edgex-jenkins-ssh 17:37:35 Cloning the remote Git repository 17:37:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:37:35 > git init /w/workspace/device-onvif-camera/97 # timeout=10 17:37:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:37:35 > git --version # timeout=10 17:37:35 > git --version # 'git version 2.25.1' 17:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:37:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:38 Avoid second fetch 17:37:38 Checking out Revision 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (main) 17:37:38 > git config core.sparsecheckout # timeout=10 17:37:38 > git checkout -f 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 17:37:39 Commit message: "refactor(snap): Refactor and upgrade to edgex-snap-hooks v3 (#217)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:37:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:37:40 Dload Upload Total Spent Left Speed 17:37:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 17:37:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:37:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:37:41 + sudo tee /etc/docker/daemon.new 17:37:41 { 17:37:41 "registry-mirrors": [ 17:37:41 "https://nexus3.edgexfoundry.org:10001" 17:37:41 ], 17:37:41 "bip": "10.250.0.254/24", 17:37:41 "hosts": [ 17:37:41 "tcp://0.0.0.0:5555", 17:37:41 "unix:///var/run/docker.sock" 17:37:41 ], 17:37:41 "mtu": 1458, 17:37:41 "selinux-enabled": true, 17:37:41 "seccomp-profile": "/etc/docker/seccomp.json" 17:37:41 } [Pipeline] sh 17:37:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:37:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:00 provisioning config files... 17:38:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/97@tmp/config12537430382138254316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:00 ---> docker-login.sh 17:38:00 nexus3.edgexfoundry.org:10001 17:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:01 Configure a credential helper to remove this warning. See 17:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:01 17:38:01 Login Succeeded 17:38:01 nexus3.edgexfoundry.org:10002 17:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:02 Configure a credential helper to remove this warning. See 17:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:02 17:38:02 Login Succeeded 17:38:02 nexus3.edgexfoundry.org:10003 17:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:02 Configure a credential helper to remove this warning. See 17:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:02 17:38:02 Login Succeeded 17:38:02 nexus3.edgexfoundry.org:10004 17:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:02 Configure a credential helper to remove this warning. See 17:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:02 17:38:02 Login Succeeded 17:38:02 docker.io 17:38:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:03 Configure a credential helper to remove this warning. See 17:38:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:03 17:38:03 Login Succeeded 17:38:03 ---> docker-login.sh ends [Pipeline] } 17:38:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:03 ========================================================= 17:38:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:38:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:04 + 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 . 17:38:04 Sending build context to Docker daemon 20.51MB 17:38:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:38:04 Step 2/13 : FROM ${BASE} AS builder 17:38:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:38:05 9b18e9b68314: Pulling fs layer 17:38:05 35d82f9e3411: Pulling fs layer 17:38:05 e16973657156: Pulling fs layer 17:38:05 fc693d55d65f: Pulling fs layer 17:38:05 7e9fc2657dce: Pulling fs layer 17:38:05 dda99020689f: Pulling fs layer 17:38:05 db1c61fa0a46: Pulling fs layer 17:38:05 891c053d2c06: Pulling fs layer 17:38:05 dda99020689f: Waiting 17:38:05 db1c61fa0a46: Waiting 17:38:05 891c053d2c06: Waiting 17:38:05 fc693d55d65f: Waiting 17:38:05 7e9fc2657dce: Waiting 17:38:05 e16973657156: Verifying Checksum 17:38:05 e16973657156: Download complete 17:38:05 35d82f9e3411: Verifying Checksum 17:38:05 35d82f9e3411: Download complete 17:38:05 7e9fc2657dce: Verifying Checksum 17:38:05 7e9fc2657dce: Download complete 17:38:05 dda99020689f: Verifying Checksum 17:38:05 dda99020689f: Download complete 17:38:05 9b18e9b68314: Verifying Checksum 17:38:05 9b18e9b68314: Download complete 17:38:06 9b18e9b68314: Pull complete 17:38:06 891c053d2c06: Verifying Checksum 17:38:06 891c053d2c06: Download complete 17:38:06 35d82f9e3411: Pull complete 17:38:06 e16973657156: Pull complete 17:38:07 db1c61fa0a46: Verifying Checksum 17:38:07 db1c61fa0a46: Download complete 17:38:08 fc693d55d65f: Verifying Checksum 17:38:08 fc693d55d65f: Download complete 17:38:20 fc693d55d65f: Pull complete 17:38:20 7e9fc2657dce: Pull complete 17:38:20 dda99020689f: Pull complete 17:38:25 db1c61fa0a46: Pull complete 17:38:27 891c053d2c06: Pull complete 17:38:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:38:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:38:27 ---> f96f9c87975a 17:38:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:38:29 ---> Running in f1bdc79bf218 17:38:30 Removing intermediate container f1bdc79bf218 17:38:30 ---> 550fb524baff 17:38:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:30 ---> Running in 719da817da6f 17:38:30 Removing intermediate container 719da817da6f 17:38:30 ---> 39461050749f 17:38:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:38:30 ---> Running in 1ed8c65455a1 17:38:31 Removing intermediate container 1ed8c65455a1 17:38:31 ---> ba274b40a093 17:38:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:38:31 ---> Running in 1e54c829e174 17:38:31 Removing intermediate container 1e54c829e174 17:38:31 ---> 94d3b415d5e0 17:38:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:38:31 ---> Running in 8f06922ee376 17:38:32 Removing intermediate container 8f06922ee376 17:38:32 ---> 9365e120296a 17:38:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:32 ---> Running in 1271ecedf600 17:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:38:35 OK: 221 MiB in 51 packages 17:38:35 Removing intermediate container 1271ecedf600 17:38:35 ---> fd4d0019a812 17:38:35 Step 9/13 : WORKDIR /device-onvif-camera 17:38:35 ---> Running in 099502a94c02 17:38:36 Removing intermediate container 099502a94c02 17:38:36 ---> f95eed700b66 17:38:36 Step 10/13 : COPY go.mod vendor* ./ 17:38:36 ---> 0529d06c8dfe 17:38:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:36 ---> Running in 6773a67d5123 17:39:44 Removing intermediate container 6773a67d5123 17:39:44 ---> 5bbde0d068cd 17:39:44 Step 12/13 : COPY . . 17:39:44 ---> 84c8954e6679 17:39:44 Step 13/13 : RUN ${MAKE} 17:39:44 ---> Running in 1c17f2a8141d 17:39:44 noop 17:39:44 Removing intermediate container 1c17f2a8141d 17:39:44 ---> 37c2b53cb0b1 17:39:44 Successfully built 37c2b53cb0b1 17:39:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:45 + docker inspect -f . ci-base-image-arm64 17:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:45 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 17:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 17:39:46 $ docker top c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:47 + go version 17:39:47 go version go1.18.7 linux/arm64 [Pipeline] } 17:39:47 $ docker stop --time=1 c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b 17:39:49 $ docker rm -f --volumes c4e07ad55810e343ffeb6689d26431db80859b0ca71cc30af026f8f77a5be93b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:50 + docker inspect -f . ci-base-image-arm64 17:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:50 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 17:39:50 $ 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/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 17:39:51 $ docker top 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:52 + git config --global --add safe.directory /w/workspace/device-onvif-camera/97 [Pipeline] fileExists [Pipeline] sh 17:39:53 + make test 17:39:53 go test ./... -coverprofile=coverage.out ./... 17:39:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:41:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:41:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.252s coverage: 29.3% of statements 17:41:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:42:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.073s coverage: 86.5% of statements 17:42:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:42:17 go vet ./... 17:42:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:42:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:42:56 ./bin/test-attribution-txt.sh [Pipeline] echo 17:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:42:56 $ docker stop --time=1 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd 17:42:58 $ docker rm -f --volumes 523d020c630342345078b254a4c07ae543d4c8ef4411d8a47aadd9025edb87fd [Pipeline] // withDockerContainer [Pipeline] sh 17:42:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:42:59 Warning: overwriting stash ‘coverage-report’ 17:43:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:43:01 + ls -al . 17:43:01 total 244 17:43:01 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:39 . 17:43:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 .. 17:43:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:37 .git 17:43:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:37 .github 17:43:01 -rw-rw-r-- 1 jenkins jenkins 496 Jan 17 17:37 .gitignore 17:43:01 -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 17:37 .golangci.yml 17:43:01 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 17 17:37 Attribution.txt 17:43:01 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 17 17:37 CHANGELOG.md 17:43:01 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 17 17:37 Dockerfile 17:43:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:37 GOVERNANCE.md 17:43:01 -rw-rw-r-- 1 jenkins jenkins 734 Jan 17 17:37 Jenkinsfile 17:43:01 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 17 17:37 LICENSE 17:43:01 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 17 17:37 Makefile 17:43:01 -rw-rw-r-- 1 jenkins jenkins 625 Jan 17 17:37 OWNERS.md 17:43:01 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 17 17:37 README.md 17:43:01 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:34 VERSION 17:43:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:37 bin 17:43:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:37 cmd 17:43:01 -rw-r--r-- 1 jenkins jenkins 79184 Jan 17 17:42 coverage.out 17:43:01 drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 17:37 doc 17:43:01 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 17 17:37 go.mod 17:43:01 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 17 17:37 go.sum 17:43:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 internal 17:43:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:37 snap 17:43:01 -rw-rw-r-- 1 jenkins jenkins 236 Jan 17 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:01 + 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 --label arch=arm64 --label version=3.0.0-dev.8 . 17:43:01 Sending build context to Docker daemon 20.59MB 17:43:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:43:01 Step 2/26 : FROM ${BASE} AS builder 17:43:01 ---> 37c2b53cb0b1 17:43:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:43:02 ---> Running in 946fc0d1e315 17:43:02 Removing intermediate container 946fc0d1e315 17:43:02 ---> e310cdae38a1 17:43:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:43:02 ---> Running in 8212c0de9cd1 17:43:03 Removing intermediate container 8212c0de9cd1 17:43:03 ---> 722eec424990 17:43:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:43:03 ---> Running in 0e453e4df850 17:43:03 Removing intermediate container 0e453e4df850 17:43:03 ---> 3108141cdf06 17:43:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:43:03 ---> Running in 8a4ba603e39d 17:43:03 Removing intermediate container 8a4ba603e39d 17:43:03 ---> fd82d2cb108d 17:43:03 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:43:03 ---> Running in 4356ff2e0be7 17:43:04 Removing intermediate container 4356ff2e0be7 17:43:04 ---> 46c6ec401ad2 17:43:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:43:04 ---> Running in dab01d5364d2 17:43:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:43:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:43:07 OK: 221 MiB in 51 packages 17:43:09 Removing intermediate container dab01d5364d2 17:43:09 ---> fd1b86047f67 17:43:09 Step 9/26 : WORKDIR /device-onvif-camera 17:43:09 ---> Running in cd17444f365b 17:43:09 Removing intermediate container cd17444f365b 17:43:09 ---> 0c80f2d06593 17:43:09 Step 10/26 : COPY go.mod vendor* ./ 17:43:09 ---> 6d70d2ca5b44 17:43:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:43:09 ---> Running in bf8e76a43057 17:43:12 Removing intermediate container bf8e76a43057 17:43:12 ---> cda166269810 17:43:12 Step 12/26 : COPY . . 17:43:13 ---> f1137fa50110 17:43:13 Step 13/26 : RUN ${MAKE} 17:43:13 ---> Running in c5209490a79f 17:43:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:45:51 Removing intermediate container c5209490a79f 17:45:51 ---> 748be2e54620 17:45:51 Step 14/26 : FROM alpine:3.16 17:45:51 3.16: Pulling from library/alpine 17:45:51 6875df1f5354: Pulling fs layer 17:45:51 6875df1f5354: Verifying Checksum 17:45:51 6875df1f5354: Download complete 17:45:51 6875df1f5354: Pull complete 17:45:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:45:51 Status: Downloaded newer image for alpine:3.16 17:45:51 ---> 2b4661558fb8 17:45:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:45:51 ---> Running in 27278aa72f25 17:45:51 Removing intermediate container 27278aa72f25 17:45:51 ---> 32c7fb7170f6 17:45:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:45:51 ---> Running in 5f0ce49d9f2a 17:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:45:51 (1/1) Installing dumb-init (1.2.5-r1) 17:45:51 Executing busybox-1.35.0-r17.trigger 17:45:51 OK: 5 MiB in 15 packages 17:45:51 Removing intermediate container 5f0ce49d9f2a 17:45:51 ---> cb8202d55d3c 17:45:51 Step 17/26 : WORKDIR / 17:45:51 ---> Running in b5cb73b9a8de 17:45:51 Removing intermediate container b5cb73b9a8de 17:45:51 ---> 82fd3ae99421 17:45:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:45:51 ---> e6e3148ca2ac 17:45:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:45:51 ---> 8e309c48afc0 17:45:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:45:51 ---> fc9d0a572650 17:45:51 Step 21/26 : EXPOSE 59984 17:45:51 ---> Running in b3ac8307e831 17:45:51 Removing intermediate container b3ac8307e831 17:45:51 ---> 7ef3fdf0a741 17:45:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:45:51 ---> Running in 82b023a8f6af 17:45:51 Removing intermediate container 82b023a8f6af 17:45:51 ---> 9af12b050860 17:45:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:45:51 ---> Running in b2aac1c9f3bc 17:45:51 Removing intermediate container b2aac1c9f3bc 17:45:51 ---> 040502df5867 17:45:51 Step 24/26 : LABEL arch=arm64 17:45:51 ---> Running in 4f2a979f8f72 17:45:51 Removing intermediate container 4f2a979f8f72 17:45:51 ---> 661b406e976b 17:45:51 Step 25/26 : LABEL git_sha=6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:45:51 ---> Running in 8c5a1ec80629 17:45:51 Removing intermediate container 8c5a1ec80629 17:45:51 ---> e6f61d622d87 17:45:51 Step 26/26 : LABEL version=3.0.0-dev.8 17:45:51 ---> Running in e77b70ba0830 17:45:51 Removing intermediate container e77b70ba0830 17:45:51 ---> c5b005e8e7ee 17:45:51 [Warning] One or more build-args [ARCH] were not consumed 17:45:51 Successfully built c5b005e8e7ee 17:45:51 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 17:45:51 provisioning config files... 17:45:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/97@tmp/config16746500585402667676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:51 ---> docker-login.sh 17:45:51 nexus3.edgexfoundry.org:10001 17:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:52 Configure a credential helper to remove this warning. See 17:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:52 17:45:52 Login Succeeded 17:45:52 nexus3.edgexfoundry.org:10002 17:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:52 Configure a credential helper to remove this warning. See 17:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:52 17:45:52 Login Succeeded 17:45:52 nexus3.edgexfoundry.org:10003 17:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:53 Configure a credential helper to remove this warning. See 17:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:53 17:45:53 Login Succeeded 17:45:53 nexus3.edgexfoundry.org:10004 17:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:53 Configure a credential helper to remove this warning. See 17:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:53 17:45:53 Login Succeeded 17:45:53 docker.io 17:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:53 Configure a credential helper to remove this warning. See 17:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:53 17:45:53 Login Succeeded 17:45:53 ---> docker-login.sh ends [Pipeline] } 17:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:53 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:45:53 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:45:53 latest 17:45:53 3.0.0-dev.8 17:45:53 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:45:53 main 17:45:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:45:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:45:54 1ec62121506c: Preparing 17:45:54 f56b1a2b9ee3: Preparing 17:45:54 434f9a959e3c: Preparing 17:45:54 c56318d99d41: Preparing 17:45:54 17bec77d7fdc: Preparing 17:45:54 17bec77d7fdc: Layer already exists 17:45:54 f56b1a2b9ee3: Pushed 17:45:54 1ec62121506c: Pushed 17:45:54 c56318d99d41: Pushed 17:46:00 434f9a959e3c: Pushed 17:46:00 6741b2693d9de414b67a8d31d89bc7ad3a9d0867: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:00 + 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 17:46:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:46:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:46:00 1ec62121506c: Preparing 17:46:00 f56b1a2b9ee3: Preparing 17:46:00 434f9a959e3c: Preparing 17:46:00 c56318d99d41: Preparing 17:46:00 17bec77d7fdc: Preparing 17:46:00 17bec77d7fdc: Layer already exists 17:46:00 434f9a959e3c: Layer already exists 17:46:00 c56318d99d41: Layer already exists 17:46:00 f56b1a2b9ee3: Layer already exists 17:46:00 1ec62121506c: Layer already exists 17:46:01 latest: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 17:46:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:46:01 1ec62121506c: Preparing 17:46:01 f56b1a2b9ee3: Preparing 17:46:01 434f9a959e3c: Preparing 17:46:01 c56318d99d41: Preparing 17:46:01 17bec77d7fdc: Preparing 17:46:01 17bec77d7fdc: Layer already exists 17:46:01 f56b1a2b9ee3: Layer already exists 17:46:01 434f9a959e3c: Layer already exists 17:46:01 1ec62121506c: Layer already exists 17:46:01 c56318d99d41: Layer already exists 17:46:01 3.0.0-dev.8: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:46:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:46:02 1ec62121506c: Preparing 17:46:02 f56b1a2b9ee3: Preparing 17:46:02 434f9a959e3c: Preparing 17:46:02 c56318d99d41: Preparing 17:46:02 17bec77d7fdc: Preparing 17:46:02 f56b1a2b9ee3: Layer already exists 17:46:02 1ec62121506c: Layer already exists 17:46:02 17bec77d7fdc: Layer already exists 17:46:02 434f9a959e3c: Layer already exists 17:46:02 c56318d99d41: Layer already exists 17:46:02 6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:03 + 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 17:46:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:46:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:46:03 1ec62121506c: Preparing 17:46:03 f56b1a2b9ee3: Preparing 17:46:03 434f9a959e3c: Preparing 17:46:03 c56318d99d41: Preparing 17:46:03 17bec77d7fdc: Preparing 17:46:03 17bec77d7fdc: Layer already exists 17:46:03 1ec62121506c: Layer already exists 17:46:03 c56318d99d41: Layer already exists 17:46:03 434f9a959e3c: Layer already exists 17:46:03 f56b1a2b9ee3: Layer already exists 17:46:03 main: digest: sha256:9e659ccd251ecf7314264a359f251d043c55acca3cd53fb87bcdbe729e00f871 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:46:03 ===================================================== [Pipeline] echo 17:46:03 taggedImages: 17:46:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867 17:46:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:46:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.8 17:46:03 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6741b2693d9de414b67a8d31d89bc7ad3a9d0867-3.0.0-dev.8 17:46:03 - 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 17:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:04 17:46:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:04 arm64: Pulling from edgex-lftools-log-publisher 17:46:04 8998bd30e6a1: Pulling fs layer 17:46:04 04944245beec: Pulling fs layer 17:46:04 699f458cf7ca: Pulling fs layer 17:46:04 765212b225bb: Pulling fs layer 17:46:04 f23df028b6ca: Pulling fs layer 17:46:04 d65c8cfc05b1: Pulling fs layer 17:46:04 2437ff75d9bd: Pulling fs layer 17:46:04 765212b225bb: Waiting 17:46:04 f23df028b6ca: Waiting 17:46:04 d65c8cfc05b1: Waiting 17:46:04 2437ff75d9bd: Waiting 17:46:05 04944245beec: Verifying Checksum 17:46:05 04944245beec: Download complete 17:46:05 765212b225bb: Verifying Checksum 17:46:05 765212b225bb: Download complete 17:46:05 f23df028b6ca: Verifying Checksum 17:46:05 f23df028b6ca: Download complete 17:46:05 d65c8cfc05b1: Verifying Checksum 17:46:05 d65c8cfc05b1: Download complete 17:46:05 699f458cf7ca: Verifying Checksum 17:46:05 699f458cf7ca: Download complete 17:46:05 8998bd30e6a1: Verifying Checksum 17:46:05 8998bd30e6a1: Download complete 17:46:08 2437ff75d9bd: Verifying Checksum 17:46:08 2437ff75d9bd: Download complete 17:46:09 8998bd30e6a1: Pull complete 17:46:10 04944245beec: Pull complete 17:46:11 699f458cf7ca: Pull complete 17:46:11 765212b225bb: Pull complete 17:46:12 f23df028b6ca: Pull complete 17:46:12 d65c8cfc05b1: Pull complete 17:46:27 2437ff75d9bd: Pull complete 17:46:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:27 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 17:46:28 $ 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/97 -v /w/workspace/device-onvif-camera/97:/w/workspace/device-onvif-camera/97:rw,z -v /w/workspace/device-onvif-camera/97@tmp:/w/workspace/device-onvif-camera/97@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 17:46:31 $ docker top d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:32 ---> job-cost.sh 17:46:32 lf-activate-venv: SKIPPING 17:46:32 INFO: No Stack... 17:46:32 INFO: Retrieving Pricing Info for: v3-standard-4 17:46:33 INFO: Archiving Costs [Pipeline] sh 17:46:34 + cat /w/workspace/device-onvif-camera/97/archives/cost.csv 17:46:34 + cut -d, -f6 [Pipeline] lock 17:46:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] 17:46:34 Resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] did not exist. Created. 17:46:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:34 /w/workspace/device-onvif-camera/97@tmp/durable-3f3eeb81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:46:35 + echo total: 0.10999999940395355 [Pipeline] stash 17:46:35 Warning: overwriting stash ‘stack-cost’ 17:46:35 Stashed 1 file(s) [Pipeline] } 17:46:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:35 $ docker stop --time=1 d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 17:46:36 $ docker rm -f --volumes d689ab6da9edab8cb1d4b2cadf5f33f6f588dec1f705399e149f197d218baab4 [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 17:46:37 provisioning config files... 17:46:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10225533087594039756tmp [Pipeline] { [Pipeline] sh 17:46:37 + set +x 17:46:37 + + curlbash -s -s https://codecov.io/bash -- 17:46:37 17:46:37 17:46:37 _____ _ 17:46:37 / ____| | | 17:46:37 | | ___ __| | ___ ___ _____ __ 17:46:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:46:37 | |___| (_) | (_| | __/ (_| (_) \ V / 17:46:37 \_____\___/ \__,_|\___|\___\___/ \_/ 17:46:37 Bash-1.0.6 17:46:37 17:46:37 17:46:37 ==> git version 2.25.1 found 17:46:37 ==> 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 17:46:37 Release-Date: 2020-01-08 17:46:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:46:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:46:37 ==> Jenkins CI detected. 17:46:37 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:46:37 project root: . 17:46:37 --> token set from env 17:46:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:46:37 ==> Running gcov in . (disable via -X gcov) 17:46:37 ==> Python coveragepy not found 17:46:37 ==> Searching for coverage reports in: 17:46:37 + . 17:46:37 -> Found 1 reports 17:46:37 ==> Detecting git/mercurial file structure 17:46:37 ==> Reading reports 17:46:37 + ./coverage.out bytes=79184 17:46:37 ==> Appending adjustments 17:46:37 https://docs.codecov.io/docs/fixing-reports 17:46:37 + Found adjustments 17:46:37 ==> Gzipping contents 17:46:37 12K /tmp/codecov.NOPrUR.gz 17:46:37 ==> Uploading reports 17:46:37 url: https://codecov.io 17:46:37 query: branch=main&commit=6741b2693d9de414b67a8d31d89bc7ad3a9d0867&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:46:37 -> Pinging Codecov 17:46:37 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=6741b2693d9de414b67a8d31d89bc7ad3a9d0867&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:46:38 -> Uploading to 17:46:38 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/F29A59C45E3A92E06B3E522C9905F8EF/6741b2693d9de414b67a8d31d89bc7ad3a9d0867/19b77ade-ed09-4fb0-8e97-42e67e8d89d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d192ad8e0296218ad87dea68dbf251df3d7b0345b53abd52b87e9110741b909 17:46:38 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:38 Dload Upload Total Spent Left Speed 17:46:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10816 0 0 100 10816 0 36789 --:--:-- --:--:-- --:--:-- 36789 17:46:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] } 17:46:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:46:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:46:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:38 17:46:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:46:39 df9b9388f04a: Pulling fs layer 17:46:39 52dc419b0ee2: Pulling fs layer 17:46:39 25bc292e5bac: Pulling fs layer 17:46:39 114826534d7a: Pulling fs layer 17:46:39 114826534d7a: Waiting 17:46:39 4657fd5d0bcf: Pulling fs layer 17:46:39 6ad1cebc031e: Pulling fs layer 17:46:39 8a3aa393b2d8: Pulling fs layer 17:46:39 8a3aa393b2d8: Waiting 17:46:39 4657fd5d0bcf: Waiting 17:46:39 6ad1cebc031e: Waiting 17:46:39 25bc292e5bac: Download complete 17:46:39 52dc419b0ee2: Download complete 17:46:39 4657fd5d0bcf: Verifying Checksum 17:46:39 4657fd5d0bcf: Download complete 17:46:39 df9b9388f04a: Verifying Checksum 17:46:39 df9b9388f04a: Download complete 17:46:39 df9b9388f04a: Pull complete 17:46:39 52dc419b0ee2: Pull complete 17:46:39 25bc292e5bac: Pull complete 17:46:39 6ad1cebc031e: Verifying Checksum 17:46:39 6ad1cebc031e: Download complete 17:46:40 114826534d7a: Verifying Checksum 17:46:40 114826534d7a: Download complete 17:46:41 8a3aa393b2d8: Verifying Checksum 17:46:41 8a3aa393b2d8: Download complete 17:46:44 114826534d7a: Pull complete 17:46:44 4657fd5d0bcf: Pull complete 17:46:44 6ad1cebc031e: Pull complete 17:46:46 8a3aa393b2d8: Pull complete 17:46:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:46 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:46:46 $ 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 17:46:48 $ docker top 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 -eo pid,comm [Pipeline] { [Pipeline] echo 17:46:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:46:49 + set -o pipefail 17:46:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:46:55 17:46:55 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:46:55 17:46:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9078811f-a503-4bbc-849c-caedccdd22be 17:46:55 17:46:55 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:46:55 17:46:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:46:55 17:46:55 17:46:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:46:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:46:55 More details here: https://snyk.co/ue1NS [Pipeline] } 17:46:55 $ docker stop --time=1 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 17:46:57 $ docker rm -f --volumes 9052cc31b51b52a824e0295a2e06355215add6fd484b41dc8f03ae8668a5c552 [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 17:46:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:58 provisioning config files... 17:46:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12522235122421349260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:58 --> edgex-publish-swagger.sh 17:46:58 === Publish doc/openapi/v2 API === 17:46:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:46:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:46:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:58 Dload Upload Total Spent Left Speed 17:46:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 69 861k --:--:-- --:--:-- --:--:-- 860k 100 469k 100 38 100 469k 69 861k --:--:-- --:--:-- --:--:-- 860k 17:46:58 {"code":403,"message":"Access Denied"} 17:46:58 [Pipeline] } 17:46:58 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 17:46:59 + git log --format=format:%s -1 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 [Pipeline] sh 17:46:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:46:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:59 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:47:00 $ 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 17:47:00 $ docker top a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 -eo pid,comm 17:47:00 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). 17:47:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:00 [ssh-agent] Looking for ssh-agent implementation... 17:47:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:00 $ docker exec a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 ssh-agent 17:47:00 SSH_AUTH_SOCK=/tmp/ssh-yN680DVjcsss/agent.31 17:47:00 SSH_AGENT_PID=37 17:47:00 Running ssh-add (command line suppressed) 17:47:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2371403039848118549.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2371403039848118549.key) 17:47:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:01 + git semver tag 17:47:01 2023-01-17 17:47:01,332 [run_tag] DEBUG tag force:False 17:47:01 2023-01-17 17:47:01,332 [check_head_tag] DEBUG check head tag 17:47:01 2023-01-17 17:47:01,334 [execute] INFO git cat-file --batch-check 17:47:01 2023-01-17 17:47:01,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:47:01 2023-01-17 17:47:01,338 [execute] INFO git cat-file --batch 17:47:01 2023-01-17 17:47:01,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:47:01 2023-01-17 17:47:01,365 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:01 2023-01-17 17:47:01,365 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 17:47:01 2023-01-17 17:47:01,366 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:47:01 2023-01-17 17:47:01,371 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:01 3.0.0-dev.8 [Pipeline] } 17:47:01 $ docker exec --env ******** --env ******** a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 ssh-agent -k 17:47:01 unset SSH_AUTH_SOCK; 17:47:01 unset SSH_AGENT_PID; 17:47:01 echo Agent pid 37 killed; 17:47:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:01 + git semver [Pipeline] } 17:47:02 $ docker stop --time=1 a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 17:47:03 $ docker rm -f --volumes a42a6881c3e7055d73679d28836e9a838e7d93e14cdb4975a0dff5dbbecb6189 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:03 17:47:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:04 0.23.1-centos7: Pulling from edgex-lftools 17:47:04 ab5ef0e58194: Pulling fs layer 17:47:04 9712f1f96733: Pulling fs layer 17:47:04 63f879dbbcfc: Pulling fs layer 17:47:04 0d9ebad4ef96: Pulling fs layer 17:47:04 e9a5061849ea: Pulling fs layer 17:47:04 d747dcd14b5f: Pulling fs layer 17:47:04 2de7ff778b66: Pulling fs layer 17:47:04 0d9ebad4ef96: Waiting 17:47:04 e9a5061849ea: Waiting 17:47:04 d747dcd14b5f: Waiting 17:47:04 2de7ff778b66: Waiting 17:47:04 9712f1f96733: Verifying Checksum 17:47:04 63f879dbbcfc: Verifying Checksum 17:47:04 63f879dbbcfc: Download complete 17:47:04 e9a5061849ea: Verifying Checksum 17:47:04 e9a5061849ea: Download complete 17:47:04 d747dcd14b5f: Download complete 17:47:05 0d9ebad4ef96: Verifying Checksum 17:47:05 0d9ebad4ef96: Download complete 17:47:05 ab5ef0e58194: Download complete 17:47:05 2de7ff778b66: Verifying Checksum 17:47:05 2de7ff778b66: Download complete 17:47:07 ab5ef0e58194: Pull complete 17:47:07 9712f1f96733: Pull complete 17:47:08 63f879dbbcfc: Pull complete 17:47:11 0d9ebad4ef96: Pull complete 17:47:11 e9a5061849ea: Pull complete 17:47:11 d747dcd14b5f: Pull complete 17:47:12 2de7ff778b66: Pull complete 17:47:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:47:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:12 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:47:12 $ 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 17:47:14 $ docker top d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:47:14 provisioning config files... 17:47:14 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7952334270944952572tmp 17:47:14 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17256036762965085994tmp 17:47:14 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5966425962925480307tmp [Pipeline] { [Pipeline] echo 17:47:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:47:15 ---> sigul-configuration.sh 17:47:15 gpg: directory `/root/.gnupg' created 17:47:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:47:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:47:15 gpg: keyring `/root/.gnupg/secring.gpg' created 17:47:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:47:15 gpg: CAST5 encrypted data 17:47:15 gpg: encrypted with 1 passphrase 17:47:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:47:15 + mkdir /home/jenkins 17:47:15 + mkdir /home/jenkins/sigul [Pipeline] sh 17:47:15 + 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 17:47:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:47:16 ---> sigul-install.sh 17:47:16 Sigul already installed; skipping installation. [Pipeline] sh 17:47:16 + git tag --list 17:47:16 v0.0.0 17:47:16 v0.0.1-dev.1 17:47:16 v0.0.1-dev.10 17:47:16 v0.0.1-dev.11 17:47:16 v0.0.1-dev.12 17:47:16 v0.0.1-dev.13 17:47:16 v0.0.1-dev.14 17:47:16 v0.0.1-dev.15 17:47:16 v0.0.1-dev.16 17:47:16 v0.0.1-dev.17 17:47:16 v0.0.1-dev.18 17:47:16 v0.0.1-dev.19 17:47:16 v0.0.1-dev.2 17:47:16 v0.0.1-dev.20 17:47:16 v0.0.1-dev.21 17:47:16 v0.0.1-dev.22 17:47:16 v0.0.1-dev.23 17:47:16 v0.0.1-dev.24 17:47:16 v0.0.1-dev.25 17:47:16 v0.0.1-dev.26 17:47:16 v0.0.1-dev.27 17:47:16 v0.0.1-dev.28 17:47:16 v0.0.1-dev.3 17:47:16 v0.0.1-dev.4 17:47:16 v0.0.1-dev.5 17:47:16 v0.0.1-dev.6 17:47:16 v0.0.1-dev.7 17:47:16 v0.0.1-dev.8 17:47:16 v0.0.1-dev.9 17:47:16 v2.2.0 17:47:16 v2.2.0-dev.29 17:47:16 v2.2.0-dev.30 17:47:16 v2.2.0-dev.31 17:47:16 v2.2.0-dev.32 17:47:16 v2.2.0-dev.33 17:47:16 v2.2.0-dev.34 17:47:16 v2.2.0-dev.35 17:47:16 v2.3.0 17:47:16 v2.3.0-dev.1 17:47:16 v2.3.0-dev.10 17:47:16 v2.3.0-dev.11 17:47:16 v2.3.0-dev.12 17:47:16 v2.3.0-dev.13 17:47:16 v2.3.0-dev.14 17:47:16 v2.3.0-dev.15 17:47:16 v2.3.0-dev.16 17:47:16 v2.3.0-dev.17 17:47:16 v2.3.0-dev.18 17:47:16 v2.3.0-dev.19 17:47:16 v2.3.0-dev.2 17:47:16 v2.3.0-dev.20 17:47:16 v2.3.0-dev.21 17:47:16 v2.3.0-dev.22 17:47:16 v2.3.0-dev.23 17:47:16 v2.3.0-dev.24 17:47:16 v2.3.0-dev.25 17:47:16 v2.3.0-dev.26 17:47:16 v2.3.0-dev.27 17:47:16 v2.3.0-dev.28 17:47:16 v2.3.0-dev.29 17:47:16 v2.3.0-dev.3 17:47:16 v2.3.0-dev.30 17:47:16 v2.3.0-dev.31 17:47:16 v2.3.0-dev.32 17:47:16 v2.3.0-dev.33 17:47:16 v2.3.0-dev.34 17:47:16 v2.3.0-dev.35 17:47:16 v2.3.0-dev.36 17:47:16 v2.3.0-dev.37 17:47:16 v2.3.0-dev.38 17:47:16 v2.3.0-dev.39 17:47:16 v2.3.0-dev.4 17:47:16 v2.3.0-dev.40 17:47:16 v2.3.0-dev.41 17:47:16 v2.3.0-dev.42 17:47:16 v2.3.0-dev.43 17:47:16 v2.3.0-dev.44 17:47:16 v2.3.0-dev.45 17:47:16 v2.3.0-dev.5 17:47:16 v2.3.0-dev.6 17:47:16 v2.3.0-dev.7 17:47:16 v2.3.0-dev.8 17:47:16 v2.3.0-dev.9 17:47:16 v2.3.1-dev.1 17:47:16 v3.0.0-dev.1 17:47:16 v3.0.0-dev.2 17:47:16 v3.0.0-dev.3 17:47:16 v3.0.0-dev.4 17:47:16 v3.0.0-dev.5 17:47:16 v3.0.0-dev.6 17:47:16 v3.0.0-dev.7 17:47:16 v3.0.0-dev.8 [Pipeline] sh 17:47:16 + lftools sign git-tag v3.0.0-dev.8 17:47:17 Signing Git tag with Sigul... 17:47:17 Signing v3.0.0-dev.8 [Pipeline] echo 17:47:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:47:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:47:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:47:17 $ docker stop --time=1 d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c 17:47:19 $ docker rm -f --volumes d2e52abc8e8d1db7285624e62817145794a30fdd48a2e305b55cadda7bfbd62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:47:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:19 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:47:19 $ 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 17:47:20 $ docker top 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 -eo pid,comm 17:47:20 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). 17:47:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:20 [ssh-agent] Looking for ssh-agent implementation... 17:47:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:20 $ docker exec 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 ssh-agent 17:47:20 SSH_AUTH_SOCK=/tmp/ssh-O83Afc2ayQGw/agent.32 17:47:20 SSH_AGENT_PID=38 17:47:20 Running ssh-add (command line suppressed) 17:47:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18315286431566414903.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18315286431566414903.key) 17:47:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:21 + git semver bump pre 17:47:21 2023-01-17 17:47:21,219 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:21 2023-01-17 17:47:21,219 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev 17:47:21 2023-01-17 17:47:21,219 [bump_version] DEBUG bumped version:3.0.0-dev.9 17:47:21 2023-01-17 17:47:21,219 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:47:21 2023-01-17 17:47:21,219 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:21 2023-01-17 17:47:21,219 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:21 2023-01-17 17:47:21,221 [execute] INFO git cat-file --batch-check 17:47:21 2023-01-17 17:47:21,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:21 2023-01-17 17:47:21,228 [execute] INFO git cat-file --batch 17:47:21 2023-01-17 17:47:21,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:21 2023-01-17 17:47:21,234 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:21 3.0.0-dev.9 [Pipeline] } 17:47:21 $ docker exec --env ******** --env ******** 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 ssh-agent -k 17:47:21 unset SSH_AUTH_SOCK; 17:47:21 unset SSH_AGENT_PID; 17:47:21 echo Agent pid 38 killed; 17:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:21 + git semver [Pipeline] } 17:47:21 $ docker stop --time=1 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 17:47:23 $ docker rm -f --volumes 67d366dfa9b527adcf080e3292cd9ac6ebf9891bceb9b4728bafe91130725775 [Pipeline] // withDockerContainer [Pipeline] sh 17:47:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:23 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:47:24 $ 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 17:47:24 $ docker top 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:24 [ssh-agent] Looking for ssh-agent implementation... 17:47:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:24 $ docker exec 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 ssh-agent 17:47:24 SSH_AUTH_SOCK=/tmp/ssh-a0ON7g7malfS/agent.31 17:47:24 SSH_AGENT_PID=37 17:47:24 Running ssh-add (command line suppressed) 17:47:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11725738385252555244.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11725738385252555244.key) 17:47:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:25 + git semver push 17:47:25 2023-01-17 17:47:25,328 [run_push] DEBUG push 17:47:25 2023-01-17 17:47:25,329 [execute] INFO git cat-file --batch-check 17:47:25 2023-01-17 17:47:25,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:25 2023-01-17 17:47:25,334 [execute] INFO git rev-list 30df2e4eb9dcef3d3f8cc36c4db5287cc458f264 -- 17:47:25 2023-01-17 17:47:25,334 [execute] DEBUG Popen(['git', 'rev-list', '30df2e4eb9dcef3d3f8cc36c4db5287cc458f264', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:47:25 2023-01-17 17:47:25,341 [execute] INFO git fetch -v origin 17:47:25 2023-01-17 17:47:25,342 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:47:25 2023-01-17 17:47:25,873 [run_push] DEBUG no remote changes detected 17:47:25 2023-01-17 17:47:25,874 [execute] INFO git push origin semver 17:47:25 2023-01-17 17:47:25,874 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:47:26 2023-01-17 17:47:26,663 [run_push] DEBUG push all version tags 17:47:26 2023-01-17 17:47:26,664 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:47:26 2023-01-17 17:47:26,664 [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) 17:47:27 2023-01-17 17:47:27,448 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:47:27 3.0.0-dev.9 [Pipeline] } 17:47:27 $ docker exec --env ******** --env ******** 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 ssh-agent -k 17:47:27 unset SSH_AUTH_SOCK; 17:47:27 unset SSH_AGENT_PID; 17:47:27 echo Agent pid 37 killed; 17:47:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:27 + git semver [Pipeline] } 17:47:28 $ docker stop --time=1 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 17:47:29 $ docker rm -f --volumes 1adbf49600812ce27ffb93148df5163f2202f91b2acf357f645dd14018c8d9d6 [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 17:47:30 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:47:30 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:47:30 total 16 17:47:30 drwxr-xr-x 3 root root 4096 Jan 17 17:36 . 17:47:30 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:47 .. 17:47:30 drwxr-xr-x 2 root root 4096 Jan 17 17:36 cost 17:47:30 -rw-r--r-- 1 root root 90 Jan 17 17:36 cost.csv 17:47:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:47:30 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:47:30 total 16 17:47:30 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:36 . 17:47:30 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:47 .. 17:47:30 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:36 cost 17:47:30 -rw-r--r-- 1 jenkins jenkins 90 Jan 17 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:47:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:47:31 ---> package-listing.sh 17:47:31 ++ facter osfamily 17:47:31 ++ tr '[:upper:]' '[:lower:]' 17:47:31 + OS_FAMILY=debian 17:47:31 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:47:31 + START_PACKAGES=/tmp/packages_start.txt 17:47:31 + END_PACKAGES=/tmp/packages_end.txt 17:47:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:47:31 + PACKAGES=/tmp/packages_start.txt 17:47:31 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:47:31 + PACKAGES=/tmp/packages_end.txt 17:47:31 + case "${OS_FAMILY}" in 17:47:31 + dpkg -l 17:47:31 + grep '^ii' 17:47:31 + '[' -f /tmp/packages_start.txt ']' 17:47:31 + '[' -f /tmp/packages_end.txt ']' 17:47:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:47:31 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:47:31 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:47:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:47:31 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 17:47:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:32 prd-ubuntu20.04-docker-8c-8g-2750 does not seem to be running inside a container 17:47:32 $ 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 17:47:32 $ docker top 1741f8856504a04d8e98517a12dda47dcfb5c7da711313e5e37bce50666c8c48 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:33 + touch /tmp/pre-build-complete [Pipeline] sh 17:47:33 + mkdir -p /var/log/sysstat [Pipeline] sh 17:47:33 + ls /var/log/sa-host 17:47:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:33 provisioning config files... 17:47:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2708589953683188810tmp [Pipeline] { [Pipeline] echo 17:47:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:47:34 ---> create-netrc.sh [Pipeline] } 17:47:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:47:34 ---> python-tools-install.sh [Pipeline] echo 17:47:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:47:34 ---> sudo-logs.sh 17:47:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:47:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:47:34 ---> job-cost.sh 17:47:34 lf-activate-venv: SKIPPING 17:47:34 DEBUG: total: 0.2199999988079071 17:47:34 INFO: Retrieving Stack Cost... 17:47:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:35 INFO: Archiving Costs [Pipeline] echo 17:47:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:47:36 ---> logs-deploy.sh 17:47:36 lf-activate-venv: SKIPPING 17:47:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/97 17:47:36 INFO: archiving workspace using pattern(s): 17:47:37 Archives upload complete. 17:47:37 INFO: archiving logs to Nexus