Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 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-ssh9232966382931929984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3700202777607269644.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7888655433351666282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh967482836195926218.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-ssh17804463234910989893.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13279 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 (main) Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.81" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 > git rev-list --no-walk a5100156d942d3e2ec7c51a96dce7156478cbb52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:25:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:25:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:25:10 ========================================================= 10:25:10 EdgeX Global Pipelines Version Info 10:25:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:25:10 ------------------- 10:25:10 stable info: 10:25:10 ------------------- 10:25:10 Commited By: Bill Mahoney bill.mahoney@intel.com 10:25:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:25:10 Message: update stable to v1.0.248 10:25:11 ------------------- 10:25:11 experimental info: 10:25:11 ------------------- 10:25:11 Commited By: **** collab-it+edgex@linuxfoundation.org 10:25:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:25:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c118ca1 [Pipeline] echo 10:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:11 provisioning config files... 10:25:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4106529478469268549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:12 ---> docker-login.sh 10:25:12 nexus3.edgexfoundry.org:10001 10:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:12 Configure a credential helper to remove this warning. See 10:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:12 10:25:12 Login Succeeded 10:25:12 nexus3.edgexfoundry.org:10002 10:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:12 Configure a credential helper to remove this warning. See 10:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:12 10:25:12 Login Succeeded 10:25:12 nexus3.edgexfoundry.org:10003 10:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:12 Configure a credential helper to remove this warning. See 10:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:12 10:25:12 Login Succeeded 10:25:12 nexus3.edgexfoundry.org:10004 10:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:12 Configure a credential helper to remove this warning. See 10:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:12 10:25:12 Login Succeeded 10:25:12 docker.io 10:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:13 Configure a credential helper to remove this warning. See 10:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:13 10:25:13 Login Succeeded 10:25:13 ---> docker-login.sh ends [Pipeline] } 10:25:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:25:13 + git rev-list -1 --merges c118ca14ee34e661c1ddcb992cee39f5ce12a3b4~1..c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] echo 10:25:13 -----------> git rev-list -1 --merges c118ca14ee34e661c1ddcb992cee39f5ce12a3b4~1..c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:25:13 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [false] [Pipeline] sh 10:25:13 + git log --format=format:%s -1 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] echo 10:25:13 ========================================================= 10:25:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:25:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:14 + git log --format=format:%s -1 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] echo 10:25:14 [semverPrep] GIT_COMMIT: c118ca14ee34e661c1ddcb992cee39f5ce12a3b4, Commit Message: Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.81 [Pipeline] echo 10:25:14 [semverPrep] This is not a build commit. [Pipeline] sh 10:25:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:25:14 + grep -v github /etc/ssh/ssh_known_hosts 10:25:14 + [ -e /tmp/ssh_known_hosts ] 10:25:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:25:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:25:14 + sudo tee -a /etc/ssh/ssh_known_hosts 10:25:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:25:15 10:25:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:25:15 0.1.4: Pulling from edgex-devops/py-git-semver 10:25:15 b85a868b505f: Pulling fs layer 10:25:15 e2be974225ed: Pulling fs layer 10:25:15 339a4e72a1f5: Pulling fs layer 10:25:15 988bab9f4d93: Pulling fs layer 10:25:15 1469e6f7b9e6: Pulling fs layer 10:25:15 eaf3925da568: Pulling fs layer 10:25:15 bab4dde63d76: Pulling fs layer 10:25:15 bde34c3a00c8: Pulling fs layer 10:25:15 b352a97aabf1: Pulling fs layer 10:25:15 4872d77fe225: Pulling fs layer 10:25:15 5851b861e8e6: Pulling fs layer 10:25:15 bab4dde63d76: Waiting 10:25:15 bde34c3a00c8: Waiting 10:25:15 b352a97aabf1: Waiting 10:25:15 4872d77fe225: Waiting 10:25:15 5851b861e8e6: Waiting 10:25:15 988bab9f4d93: Waiting 10:25:15 eaf3925da568: Waiting 10:25:15 1469e6f7b9e6: Waiting 10:25:15 e2be974225ed: Verifying Checksum 10:25:15 e2be974225ed: Download complete 10:25:15 988bab9f4d93: Verifying Checksum 10:25:15 988bab9f4d93: Download complete 10:25:15 1469e6f7b9e6: Verifying Checksum 10:25:15 1469e6f7b9e6: Download complete 10:25:15 339a4e72a1f5: Verifying Checksum 10:25:15 339a4e72a1f5: Download complete 10:25:15 eaf3925da568: Download complete 10:25:15 bde34c3a00c8: Verifying Checksum 10:25:15 bde34c3a00c8: Download complete 10:25:15 b352a97aabf1: Verifying Checksum 10:25:15 b352a97aabf1: Download complete 10:25:15 4872d77fe225: Verifying Checksum 10:25:15 4872d77fe225: Download complete 10:25:15 5851b861e8e6: Download complete 10:25:15 b85a868b505f: Download complete 10:25:15 bab4dde63d76: Verifying Checksum 10:25:15 bab4dde63d76: Download complete 10:25:16 b85a868b505f: Pull complete 10:25:17 e2be974225ed: Pull complete 10:25:17 339a4e72a1f5: Pull complete 10:25:17 988bab9f4d93: Pull complete 10:25:17 1469e6f7b9e6: Pull complete 10:25:17 eaf3925da568: Pull complete 10:25:19 bab4dde63d76: Pull complete 10:25:19 bde34c3a00c8: Pull complete 10:25:19 b352a97aabf1: Pull complete 10:25:19 4872d77fe225: Pull complete 10:25:19 5851b861e8e6: Pull complete 10:25:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:25:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:19 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:25: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:25:22 $ docker top bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 -eo pid,comm 10:25:22 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). 10:25:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:25:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:25:22 [ssh-agent] Looking for ssh-agent implementation... 10:25:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:25:23 $ docker exec bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 ssh-agent 10:25:23 SSH_AUTH_SOCK=/tmp/ssh-X8bIZhKhg7Ez/agent.31 10:25:23 SSH_AGENT_PID=38 10:25:23 Running ssh-add (command line suppressed) 10:25:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6402807297745964329.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6402807297745964329.key) 10:25:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:25:23 + git tag --points-at HEAD [Pipeline] } 10:25:23 $ docker exec --env ******** --env ******** bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 ssh-agent -k 10:25:23 unset SSH_AUTH_SOCK; 10:25:23 unset SSH_AGENT_PID; 10:25:23 echo Agent pid 38 killed; 10:25:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:25:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:25:23 [ssh-agent] Looking for ssh-agent implementation... 10:25:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:25:23 $ docker exec bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 ssh-agent 10:25:24 SSH_AUTH_SOCK=/tmp/ssh-uTisYj9wyiON/agent.70 10:25:24 SSH_AGENT_PID=76 10:25:24 Running ssh-add (command line suppressed) 10:25:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14513906492095172427.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14513906492095172427.key) 10:25:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:25:24 + git semver init 10:25:24 2023-05-04 10:25:24,680 [run_init] DEBUG init version:0.0.0 force:False 10:25:24 2023-05-04 10:25:24,681 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 10:25:24 2023-05-04 10:25:24,681 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 10:25:24 2023-05-04 10:25:24,682 [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) 10:25:25 2023-05-04 10:25:25,573 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 10:25:25 2023-05-04 10:25:25,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 10:25:25 2023-05-04 10:25:25,574 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:25:25 2023-05-04 10:25:25,574 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:25:25 3.0.0-dev.37 [Pipeline] } 10:25:25 $ docker exec --env ******** --env ******** bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 ssh-agent -k 10:25:25 unset SSH_AUTH_SOCK; 10:25:25 unset SSH_AGENT_PID; 10:25:25 echo Agent pid 76 killed; 10:25:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:25:26 + git semver [Pipeline] } 10:25:26 $ docker stop --time=1 bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 10:25:27 $ docker rm -f --volumes bc9681ba8bd6109105c728ba4b512b4775f3e1926d01402ae47883065ea1d589 [Pipeline] // withDockerContainer [Pipeline] sh 10:25:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:25:28 Stashed 1 file(s) [Pipeline] echo 10:25:28 [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [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 10:25:28 provisioning config files... 10:25:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11330610348628281011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:28 ---> docker-login.sh 10:25:28 nexus3.edgexfoundry.org:10001 10:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:28 Configure a credential helper to remove this warning. See 10:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:28 10:25:28 Login Succeeded 10:25:28 nexus3.edgexfoundry.org:10002 10:25:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:28 Configure a credential helper to remove this warning. See 10:25:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:28 10:25:28 Login Succeeded 10:25:28 nexus3.edgexfoundry.org:10003 10:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:29 Configure a credential helper to remove this warning. See 10:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:29 10:25:29 Login Succeeded 10:25:29 nexus3.edgexfoundry.org:10004 10:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:29 Configure a credential helper to remove this warning. See 10:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:29 10:25:29 Login Succeeded 10:25:29 docker.io 10:25:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:29 Configure a credential helper to remove this warning. See 10:25:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:29 10:25:29 Login Succeeded 10:25:29 ---> docker-login.sh ends [Pipeline] } 10:25:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:25:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:29 ========================================================= 10:25:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:25:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:25:29 Sending build context to Docker daemon 21.52MB 10:25:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:25:29 Step 2/13 : FROM ${BASE} AS builder 10:25:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:25:30 f56be85fc22e: Pulling fs layer 10:25:30 85791d961cd3: Pulling fs layer 10:25:30 d694b5ae8c79: Pulling fs layer 10:25:30 9f32a84ed3da: Pulling fs layer 10:25:30 4d19c01a9841: Pulling fs layer 10:25:30 9325e15d5711: Pulling fs layer 10:25:30 556b6ee489ea: Pulling fs layer 10:25:30 c5a4b2cf53e6: Pulling fs layer 10:25:30 4d19c01a9841: Waiting 10:25:30 556b6ee489ea: Waiting 10:25:30 c5a4b2cf53e6: Waiting 10:25:30 9325e15d5711: Waiting 10:25:30 85791d961cd3: Verifying Checksum 10:25:30 85791d961cd3: Download complete 10:25:30 9f32a84ed3da: Verifying Checksum 10:25:30 4d19c01a9841: Verifying Checksum 10:25:30 4d19c01a9841: Download complete 10:25:30 f56be85fc22e: Verifying Checksum 10:25:30 f56be85fc22e: Download complete 10:25:30 9325e15d5711: Verifying Checksum 10:25:30 9325e15d5711: Download complete 10:25:30 f56be85fc22e: Pull complete 10:25:30 85791d961cd3: Pull complete 10:25:30 c5a4b2cf53e6: Verifying Checksum 10:25:30 c5a4b2cf53e6: Download complete 10:25:30 d694b5ae8c79: Verifying Checksum 10:25:30 d694b5ae8c79: Download complete 10:25:30 556b6ee489ea: Verifying Checksum 10:25:30 556b6ee489ea: Download complete 10:25:34 d694b5ae8c79: Pull complete 10:25:34 9f32a84ed3da: Pull complete 10:25:34 4d19c01a9841: Pull complete 10:25:34 9325e15d5711: Pull complete 10:25:36 556b6ee489ea: Pull complete 10:25:37 c5a4b2cf53e6: Pull complete 10:25:37 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:25:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:25:37 ---> c4be618373d6 10:25:37 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:25:43 Still waiting to schedule task 10:25:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:25:44 ---> Running in b788574479f8 10:25:44 Removing intermediate container b788574479f8 10:25:44 ---> 928fb90b2765 10:25:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:25:44 ---> Running in f753a89c07c0 10:25:44 Removing intermediate container f753a89c07c0 10:25:44 ---> fefedf5f384a 10:25:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:25:44 ---> Running in 10b43c153162 10:25:44 Removing intermediate container 10b43c153162 10:25:44 ---> 31247c138057 10:25:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:25:44 ---> Running in 07f8abea99dc 10:25:44 Removing intermediate container 07f8abea99dc 10:25:44 ---> ec324e61a9cc 10:25:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:25:44 ---> Running in f9bb0727ad3a 10:25:44 Removing intermediate container f9bb0727ad3a 10:25:44 ---> 31a5240cd70e 10:25:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:44 ---> Running in 338c9bdc62b8 10:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:25:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:25:44 OK: 265 MiB in 53 packages 10:25:45 Removing intermediate container 338c9bdc62b8 10:25:45 ---> fd3a9f81f936 10:25:45 Step 9/13 : WORKDIR /device-onvif-camera 10:25:45 ---> Running in d615ef8adca1 10:25:45 Removing intermediate container d615ef8adca1 10:25:45 ---> 9202fce369a7 10:25:45 Step 10/13 : COPY go.mod vendor* ./ 10:25:45 ---> 5107823865b7 10:25:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:25:45 ---> Running in 93dd6fbcc4b7 10:26:53 Removing intermediate container 93dd6fbcc4b7 10:26:53 ---> 09633e4a1e14 10:26:53 Step 12/13 : COPY . . 10:26:53 ---> e9101ae4532e 10:26:53 Step 13/13 : RUN ${MAKE} 10:26:53 ---> Running in 8d96fe88cd41 10:26:53 noop 10:26:53 Removing intermediate container 8d96fe88cd41 10:26:53 ---> 0571cd88f516 10:26:53 Successfully built 0571cd88f516 10:26:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:53 + docker inspect -f . ci-base-image-x86_64 10:26:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:53 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:26:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:26:54 $ docker top 32ba9ffac8076dfb5acab9e0fd1cbbfb04c2dd51dbab8ab107294edcb6d5f5fc -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:54 + go version 10:26:54 go version go1.20.2 linux/amd64 [Pipeline] } 10:26:54 $ docker stop --time=1 32ba9ffac8076dfb5acab9e0fd1cbbfb04c2dd51dbab8ab107294edcb6d5f5fc 10:26:55 $ docker rm -f --volumes 32ba9ffac8076dfb5acab9e0fd1cbbfb04c2dd51dbab8ab107294edcb6d5f5fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:56 + docker inspect -f . ci-base-image-x86_64 10:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:56 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:26:56 $ docker top a8b12b9c4f0c1960418e05a0ca119f58a8f03770bf81feedfdb0dcd893fef364 -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:56 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 10:26:57 + make test 10:26:57 go test ./... -coverprofile=coverage.out ./... 10:27:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:27:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:27:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:27:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.1% of statements 10:27:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.477s coverage: 86.5% of statements 10:27:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13281 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 10:27:22 Running in /w/workspace/device-onvif-camera/132 [Pipeline] { [Pipeline] checkout 10:27:22 The recommended git tool is: git 10:27:25 go vet ./... 10:27:27 using credential edgex-jenkins-ssh 10:27:27 Cloning the remote Git repository 10:27:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:27:27 > git init /w/workspace/device-onvif-camera/132 # timeout=10 10:27:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:27:27 > git --version # timeout=10 10:27:27 > git --version # 'git version 2.25.1' 10:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:29 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:29 $ docker stop --time=1 a8b12b9c4f0c1960418e05a0ca119f58a8f03770bf81feedfdb0dcd893fef364 10:27:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:27:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:30 Avoid second fetch 10:27:30 Checking out Revision c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 (main) 10:27:30 Commit message: "Merge pull request #338 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.81" 10:27:30 > git config core.sparsecheckout # timeout=10 10:27:30 > git checkout -f c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 10:27:32 $ docker rm -f --volumes a8b12b9c4f0c1960418e05a0ca119f58a8f03770bf81feedfdb0dcd893fef364 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:27:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:27:33 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:33 Dload Upload Total Spent Left Speed 10:27:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 10:27:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 10:27:34 + ls -al . 10:27:34 total 232 10:27:34 drwxrwxr-x 10 jenkins jenkins 4096 May 4 10:26 . 10:27:34 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:25 .. 10:27:34 drwxrwxr-x 8 jenkins jenkins 4096 May 4 10:25 .git 10:27:34 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:25 .github 10:27:34 -rw-rw-r-- 1 jenkins jenkins 496 May 4 10:25 .gitignore 10:27:34 -rw-rw-r-- 1 jenkins jenkins 42 May 4 10:25 .golangci.yml 10:27:34 drwxr-xr-x 3 jenkins jenkins 4096 May 4 10:25 .semver 10:27:34 -rw-rw-r-- 1 jenkins jenkins 10087 May 4 10:25 Attribution.txt 10:27:34 -rw-rw-r-- 1 jenkins jenkins 6312 May 4 10:25 CHANGELOG.md 10:27:34 -rw-rw-r-- 1 jenkins jenkins 1574 May 4 10:25 Dockerfile 10:27:34 -rw-rw-r-- 1 jenkins jenkins 677 May 4 10:25 GOVERNANCE.md 10:27:34 -rw-rw-r-- 1 jenkins jenkins 734 May 4 10:25 Jenkinsfile 10:27:34 -rw-rw-r-- 1 jenkins jenkins 11348 May 4 10:25 LICENSE 10:27:34 -rw-rw-r-- 1 jenkins jenkins 2751 May 4 10:25 Makefile 10:27:34 -rw-rw-r-- 1 jenkins jenkins 625 May 4 10:25 OWNERS.md 10:27:34 -rw-rw-r-- 1 jenkins jenkins 2591 May 4 10:25 README.md 10:27:34 -rw-rw-r-- 1 jenkins jenkins 12 May 4 10:25 VERSION 10:27:34 drwxrwxr-x 2 jenkins jenkins 4096 May 4 10:25 bin 10:27:34 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:25 cmd 10:27:34 -rw-r--r-- 1 jenkins jenkins 79191 May 4 10:27 coverage.out 10:27:34 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:25 doc 10:27:34 -rw-rw-r-- 1 jenkins jenkins 3642 May 4 10:25 go.mod 10:27:34 -rw-rw-r-- 1 jenkins jenkins 33491 May 4 10:25 go.sum 10:27:34 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:25 internal 10:27:34 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:25 snap 10:27:34 -rw-rw-r-- 1 jenkins jenkins 236 May 4 10:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:27:34 + 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=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 --label arch=amd64 --label version=3.0.0-dev.37 . 10:27:34 Sending build context to Docker daemon 21.6MB 10:27:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:27:34 Step 2/26 : FROM ${BASE} AS builder 10:27:34 ---> 0571cd88f516 10:27:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:27:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 10:27:34 sudo tee /etc/docker/daemon.new 10:27:34 ---> Running in 5e64f8293e7c 10:27:34 Removing intermediate container 5e64f8293e7c 10:27:34 ---> df559b66edce 10:27:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:34 ---> Running in 47cf71477367 10:27:35 Removing intermediate container 47cf71477367 10:27:35 ---> 2fc7fe949ebd 10:27:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:27:35 ---> Running in 332fe85cd34b 10:27:35 Removing intermediate container 332fe85cd34b 10:27:35 ---> 76c66c41ac2d 10:27:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:27:35 ---> Running in 950fa79d8daa 10:27:35 { 10:27:35 "registry-mirrors": [ 10:27:35 "https://nexus3.edgexfoundry.org:10001" 10:27:35 ], 10:27:35 "bip": "10.250.0.254/24", 10:27:35 "hosts": [ 10:27:35 "tcp://0.0.0.0:5555", 10:27:35 "unix:///var/run/docker.sock" 10:27:35 ], 10:27:35 "mtu": 1458, 10:27:35 "selinux-enabled": true, 10:27:35 "seccomp-profile": "/etc/docker/seccomp.json" 10:27:35 } [Pipeline] sh 10:27:35 Removing intermediate container 950fa79d8daa 10:27:35 ---> 65cb518e3daf 10:27:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:27:35 ---> Running in 1d040851fc11 10:27:35 Removing intermediate container 1d040851fc11 10:27:35 ---> 33d51510c018 10:27:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:35 ---> Running in 9dd727bd2c09 10:27:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:27:35 OK: 265 MiB in 53 packages 10:27:35 + sudo service docker restart 10:27:36 Removing intermediate container 9dd727bd2c09 10:27:36 ---> 653606a361c4 10:27:36 Step 9/26 : WORKDIR /device-onvif-camera 10:27:36 ---> Running in 1f163884583c 10:27:36 Removing intermediate container 1f163884583c 10:27:36 ---> d8a3f586e060 10:27:36 Step 10/26 : COPY go.mod vendor* ./ 10:27:36 ---> 4b79cdd29c2a 10:27:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:36 ---> Running in bfb9e48f0517 10:27:37 Removing intermediate container bfb9e48f0517 10:27:37 ---> 60db3449ee8a 10:27:37 Step 12/26 : COPY . . 10:27:38 ---> 8f824ed07095 10:27:38 Step 13/26 : RUN ${MAKE} 10:27:38 ---> Running in 2308f0757511 10:27:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:54 provisioning config files... 10:27:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/132@tmp/config17855094772997291405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> docker-login.sh 10:27:54 nexus3.edgexfoundry.org:10001 10:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:55 Configure a credential helper to remove this warning. See 10:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:55 10:27:55 Login Succeeded 10:27:55 nexus3.edgexfoundry.org:10002 10:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:55 Configure a credential helper to remove this warning. See 10:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:55 10:27:55 Login Succeeded 10:27:55 nexus3.edgexfoundry.org:10003 10:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:56 Configure a credential helper to remove this warning. See 10:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:56 10:27:56 Login Succeeded 10:27:56 nexus3.edgexfoundry.org:10004 10:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:56 Configure a credential helper to remove this warning. See 10:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:56 10:27:56 Login Succeeded 10:27:56 docker.io 10:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:57 Configure a credential helper to remove this warning. See 10:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:57 10:27:57 Login Succeeded 10:27:57 ---> docker-login.sh ends [Pipeline] } 10:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:27:57 ========================================================= 10:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:27:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:27:58 Sending build context to Docker daemon 14.18MB 10:27:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:27:58 Step 2/13 : FROM ${BASE} AS builder 10:27:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:27:58 c41833b44d91: Pulling fs layer 10:27:58 ed15518f5707: Pulling fs layer 10:27:58 feae8fd75edb: Pulling fs layer 10:27:58 242c74f7c9fa: Pulling fs layer 10:27:58 3cdef696dda3: Pulling fs layer 10:27:58 2ced38df9373: Pulling fs layer 10:27:58 58f1dce35555: Pulling fs layer 10:27:58 3cdef696dda3: Waiting 10:27:58 2ced38df9373: Waiting 10:27:58 58f1dce35555: Waiting 10:27:58 242c74f7c9fa: Waiting 10:27:58 ed15518f5707: Verifying Checksum 10:27:58 ed15518f5707: Download complete 10:27:58 242c74f7c9fa: Download complete 10:27:58 3cdef696dda3: Verifying Checksum 10:27:58 3cdef696dda3: Download complete 10:27:58 c41833b44d91: Verifying Checksum 10:27:59 c41833b44d91: Pull complete 10:28:00 Removing intermediate container 2308f0757511 10:28:00 ---> 62c6176efbcb 10:28:00 Step 14/26 : FROM alpine:3.17 10:28:00 3.17: Pulling from library/alpine 10:28:00 f56be85fc22e: Already exists 10:28:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:28:00 Status: Downloaded newer image for alpine:3.17 10:28:00 ---> 9ed4aefc74f6 10:28:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:28:00 ---> Running in a39b0fba6726 10:28:00 Removing intermediate container a39b0fba6726 10:28:00 ---> 6dff30362431 10:28:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:28:00 58f1dce35555: Verifying Checksum 10:28:00 58f1dce35555: Download complete 10:28:00 ---> Running in c8873bb6ee30 10:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:28:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:28:00 ed15518f5707: Pull complete 10:28:01 (1/1) Installing dumb-init (1.2.5-r2) 10:28:01 Executing busybox-1.35.0-r29.trigger 10:28:01 OK: 7 MiB in 16 packages 10:28:01 Removing intermediate container c8873bb6ee30 10:28:01 ---> 961e8826aae0 10:28:01 Step 17/26 : WORKDIR / 10:28:01 ---> Running in f4cf322e37a8 10:28:01 Removing intermediate container f4cf322e37a8 10:28:01 ---> f89b9c136311 10:28:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:28:01 feae8fd75edb: Verifying Checksum 10:28:01 feae8fd75edb: Download complete 10:28:01 2ced38df9373: Verifying Checksum 10:28:01 2ced38df9373: Download complete 10:28:02 ---> 50c3f35d7f54 10:28:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:28:02 ---> bc07290caf0c 10:28:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:28:02 ---> 4e68c5147bed 10:28:02 Step 21/26 : EXPOSE 59984 10:28:02 ---> Running in 89317bcb46e6 10:28:02 Removing intermediate container 89317bcb46e6 10:28:02 ---> 0842aee20e1a 10:28:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:28:02 ---> Running in 892eaa3ca317 10:28:02 Removing intermediate container 892eaa3ca317 10:28:02 ---> d30214bea60e 10:28:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:28:02 ---> Running in 1f77a66913ef 10:28:02 Removing intermediate container 1f77a66913ef 10:28:02 ---> eea840f3a528 10:28:02 Step 24/26 : LABEL arch=amd64 10:28:02 ---> Running in d900c25b4462 10:28:02 Removing intermediate container d900c25b4462 10:28:02 ---> add9801d5939 10:28:02 Step 25/26 : LABEL git_sha=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:28:02 ---> Running in 71f719a11cb6 10:28:03 Removing intermediate container 71f719a11cb6 10:28:03 ---> c4a1d6a338fd 10:28:03 Step 26/26 : LABEL version=3.0.0-dev.37 10:28:03 ---> Running in ed1621bd9685 10:28:03 Removing intermediate container ed1621bd9685 10:28:03 ---> ea1c0bb427f4 10:28:03 [Warning] One or more build-args [ARCH] were not consumed 10:28:03 Successfully built ea1c0bb427f4 10:28: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 10:28:03 provisioning config files... 10:28:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13691701703097171956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:03 ---> docker-login.sh 10:28:03 nexus3.edgexfoundry.org:10001 10:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:03 Configure a credential helper to remove this warning. See 10:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:03 10:28:03 Login Succeeded 10:28:03 nexus3.edgexfoundry.org:10002 10:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:03 Configure a credential helper to remove this warning. See 10:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:03 10:28:03 Login Succeeded 10:28:03 nexus3.edgexfoundry.org:10003 10:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:03 Configure a credential helper to remove this warning. See 10:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:03 10:28:03 Login Succeeded 10:28:03 nexus3.edgexfoundry.org:10004 10:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:03 Configure a credential helper to remove this warning. See 10:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:03 10:28:03 Login Succeeded 10:28:03 docker.io 10:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:03 Configure a credential helper to remove this warning. See 10:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:03 10:28:03 Login Succeeded 10:28:03 ---> docker-login.sh ends [Pipeline] } 10:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:28:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:04 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 10:28:04 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:28:04 latest 10:28:04 3.0.0-dev.37 10:28:04 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:28:04 main 10:28:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:28:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:28:04 eabe035e561f: Preparing 10:28:04 a47d80270d1b: Preparing 10:28:04 592292caf232: Preparing 10:28:04 dcfb1bc2eb04: Preparing 10:28:04 f1417ff83b31: Preparing 10:28:04 f1417ff83b31: Layer already exists 10:28:04 a47d80270d1b: Pushed 10:28:04 dcfb1bc2eb04: Pushed 10:28:04 eabe035e561f: Pushed 10:28:07 592292caf232: Pushed 10:28:07 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4: digest: sha256:ad5c8c6b310c02ee13915ba2d448a777de431ba66a0a265fd140545b7eacbf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:28:08 eabe035e561f: Preparing 10:28:08 a47d80270d1b: Preparing 10:28:08 592292caf232: Preparing 10:28:08 dcfb1bc2eb04: Preparing 10:28:08 f1417ff83b31: Preparing 10:28:08 eabe035e561f: Layer already exists 10:28:08 f1417ff83b31: Layer already exists 10:28:08 dcfb1bc2eb04: Layer already exists 10:28:08 a47d80270d1b: Layer already exists 10:28:08 592292caf232: Layer already exists 10:28:08 latest: digest: sha256:ad5c8c6b310c02ee13915ba2d448a777de431ba66a0a265fd140545b7eacbf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.37 10:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:28:08 eabe035e561f: Preparing 10:28:08 a47d80270d1b: Preparing 10:28:08 592292caf232: Preparing 10:28:08 dcfb1bc2eb04: Preparing 10:28:08 f1417ff83b31: Preparing 10:28:08 f1417ff83b31: Layer already exists 10:28:08 dcfb1bc2eb04: Layer already exists 10:28:08 a47d80270d1b: Layer already exists 10:28:08 eabe035e561f: Layer already exists 10:28:08 592292caf232: Layer already exists 10:28:08 3.0.0-dev.37: digest: sha256:ad5c8c6b310c02ee13915ba2d448a777de431ba66a0a265fd140545b7eacbf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:28:09 eabe035e561f: Preparing 10:28:09 a47d80270d1b: Preparing 10:28:09 592292caf232: Preparing 10:28:09 dcfb1bc2eb04: Preparing 10:28:09 f1417ff83b31: Preparing 10:28:09 a47d80270d1b: Layer already exists 10:28:09 592292caf232: Layer already exists 10:28:09 f1417ff83b31: Layer already exists 10:28:09 dcfb1bc2eb04: Layer already exists 10:28:09 eabe035e561f: Layer already exists 10:28:09 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37: digest: sha256:ad5c8c6b310c02ee13915ba2d448a777de431ba66a0a265fd140545b7eacbf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 10:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:28:10 eabe035e561f: Preparing 10:28:10 a47d80270d1b: Preparing 10:28:10 592292caf232: Preparing 10:28:10 dcfb1bc2eb04: Preparing 10:28:10 f1417ff83b31: Preparing 10:28:10 eabe035e561f: Layer already exists 10:28:10 592292caf232: Layer already exists 10:28:10 a47d80270d1b: Layer already exists 10:28:10 f1417ff83b31: Layer already exists 10:28:10 dcfb1bc2eb04: Layer already exists 10:28:10 main: digest: sha256:ad5c8c6b310c02ee13915ba2d448a777de431ba66a0a265fd140545b7eacbf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:28:10 ===================================================== [Pipeline] echo 10:28:10 taggedImages: 10:28:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:28:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:28:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.37 10:28:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:28:10 - 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 10:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:10 10:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:10 latest: Pulling from edgex-lftools-log-publisher 10:28:10 5eb5b503b376: Pulling fs layer 10:28:10 5c69ac0246d0: Pulling fs layer 10:28:10 ec43610c2a17: Pulling fs layer 10:28:10 3a2ae6a8a46f: Pulling fs layer 10:28:10 33b1e0a273af: Pulling fs layer 10:28:10 5d3b04190fa2: Pulling fs layer 10:28:10 2f39f015ded8: Pulling fs layer 10:28:10 5d3b04190fa2: Waiting 10:28:10 2f39f015ded8: Waiting 10:28:10 33b1e0a273af: Waiting 10:28:10 3a2ae6a8a46f: Waiting 10:28:10 5c69ac0246d0: Verifying Checksum 10:28:10 5c69ac0246d0: Download complete 10:28:10 3a2ae6a8a46f: Verifying Checksum 10:28:10 3a2ae6a8a46f: Download complete 10:28:10 33b1e0a273af: Verifying Checksum 10:28:10 33b1e0a273af: Download complete 10:28:10 5d3b04190fa2: Verifying Checksum 10:28:10 5d3b04190fa2: Download complete 10:28:10 ec43610c2a17: Download complete 10:28:10 5eb5b503b376: Verifying Checksum 10:28:10 5eb5b503b376: Download complete 10:28:11 2f39f015ded8: Download complete 10:28:12 5eb5b503b376: Pull complete 10:28:12 5c69ac0246d0: Pull complete 10:28:12 ec43610c2a17: Pull complete 10:28:12 3a2ae6a8a46f: Pull complete 10:28:13 33b1e0a273af: Pull complete 10:28:13 5d3b04190fa2: Pull complete 10:28:16 feae8fd75edb: Pull complete 10:28:16 242c74f7c9fa: Pull complete 10:28:16 3cdef696dda3: Pull complete 10:28:18 2f39f015ded8: Pull complete 10:28:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:18 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:28: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:28:21 2ced38df9373: Pull complete 10:28:22 $ docker top 0b8d675749018fda688753b5fbef5dd3afda138792d6d6f9e88d7196eed34961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:22 ---> job-cost.sh 10:28:22 lf-activate-venv: SKIPPING 10:28:22 INFO: No Stack... 10:28:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:23 INFO: Archiving Costs [Pipeline] sh 10:28:23 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 10:28:23 + cut -d, -f6 [Pipeline] lock 10:28:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] 10:28:23 Resource [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] did not exist. Created. 10:28:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:23 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:23 Stashed 1 file(s) [Pipeline] } 10:28:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:23 $ docker stop --time=1 0b8d675749018fda688753b5fbef5dd3afda138792d6d6f9e88d7196eed34961 10:28:24 58f1dce35555: Pull complete 10:28:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:28:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:28:24 ---> fadd8f120f05 10:28:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:28:25 $ docker rm -f --volumes 0b8d675749018fda688753b5fbef5dd3afda138792d6d6f9e88d7196eed34961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:28:26 ---> Running in 6b14f43ddd13 10:28:26 Removing intermediate container 6b14f43ddd13 10:28:26 ---> 38cb5bf233f5 10:28:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:28:26 ---> Running in 36d0ed9324ca 10:28:26 Removing intermediate container 36d0ed9324ca 10:28:26 ---> 91409f709bfa 10:28:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:28:27 ---> Running in 69bb75459c5a 10:28:27 Removing intermediate container 69bb75459c5a 10:28:27 ---> 8c79a7ccb10f 10:28:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:28:27 ---> Running in e035bfdefafe 10:28:27 Removing intermediate container e035bfdefafe 10:28:27 ---> 65496a849739 10:28:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:28:27 ---> Running in 755c94c4531e 10:28:28 Removing intermediate container 755c94c4531e 10:28:28 ---> 22d15d40fa59 10:28:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:28:28 ---> Running in adbe090ea618 10:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:28:31 OK: 263 MiB in 53 packages 10:28:32 Removing intermediate container adbe090ea618 10:28:32 ---> a7a19fbafae8 10:28:32 Step 9/13 : WORKDIR /device-onvif-camera 10:28:32 ---> Running in 18b9a35886fa 10:28:32 Removing intermediate container 18b9a35886fa 10:28:32 ---> 0b54d74a75c4 10:28:32 Step 10/13 : COPY go.mod vendor* ./ 10:28:33 ---> db9d4fb70122 10:28:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:33 ---> Running in ae7c15149583 10:29:41 Removing intermediate container ae7c15149583 10:29:41 ---> cc52db5139d7 10:29:41 Step 12/13 : COPY . . 10:29:41 ---> 23b8e9caf175 10:29:41 Step 13/13 : RUN ${MAKE} 10:29:41 ---> Running in 4771a99b63b8 10:29:41 noop 10:29:41 Removing intermediate container 4771a99b63b8 10:29:41 ---> 5da78992a0ae 10:29:41 Successfully built 5da78992a0ae 10:29:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:41 + docker inspect -f . ci-base-image-arm64 10:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-13281 does not seem to be running inside a container 10:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/132 -v /w/workspace/device-onvif-camera/132:/w/workspace/device-onvif-camera/132:rw,z -v /w/workspace/device-onvif-camera/132@tmp:/w/workspace/device-onvif-camera/132@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 10:29:43 $ docker top c038a4add653f9d5220f8ccaadeb01013f97d291176976e257b9783c49345eea -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:44 + go version 10:29:44 go version go1.20.2 linux/arm64 [Pipeline] } 10:29:44 $ docker stop --time=1 c038a4add653f9d5220f8ccaadeb01013f97d291176976e257b9783c49345eea 10:29:45 $ docker rm -f --volumes c038a4add653f9d5220f8ccaadeb01013f97d291176976e257b9783c49345eea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:46 + docker inspect -f . ci-base-image-arm64 10:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:46 prd-ubuntu20.04-docker-arm64-4c-16g-13281 does not seem to be running inside a container 10:29:46 $ 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/132 -v /w/workspace/device-onvif-camera/132:/w/workspace/device-onvif-camera/132:rw,z -v /w/workspace/device-onvif-camera/132@tmp:/w/workspace/device-onvif-camera/132@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 10:29:49 $ docker top 4a56dac548af294784cfe0fbb2ab3bb12eb17e8ad83cc04aa39a21422b04e87a -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:49 + git config --global --add safe.directory /w/workspace/device-onvif-camera/132 [Pipeline] fileExists [Pipeline] sh 10:29:49 + make test 10:29:49 go test ./... -coverprofile=coverage.out ./... 10:30:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:32:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:32:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:32:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.184s coverage: 31.1% of statements 10:32:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.679s coverage: 86.5% of statements 10:32:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:32:53 go vet ./... 10:33:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:33:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:33:19 ./bin/test-attribution-txt.sh [Pipeline] echo 10:33:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:33:19 $ docker stop --time=1 4a56dac548af294784cfe0fbb2ab3bb12eb17e8ad83cc04aa39a21422b04e87a 10:33:21 $ docker rm -f --volumes 4a56dac548af294784cfe0fbb2ab3bb12eb17e8ad83cc04aa39a21422b04e87a [Pipeline] // withDockerContainer [Pipeline] sh 10:33:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:33:22 Warning: overwriting stash ‘coverage-report’ 10:33:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:33:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:33:24 + ls -al . 10:33:24 total 228 10:33:24 drwxrwxr-x 9 jenkins jenkins 4096 May 4 10:29 . 10:33:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:27 .. 10:33:24 drwxrwxr-x 8 jenkins jenkins 4096 May 4 10:27 .git 10:33:24 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:27 .github 10:33:24 -rw-rw-r-- 1 jenkins jenkins 496 May 4 10:27 .gitignore 10:33:24 -rw-rw-r-- 1 jenkins jenkins 42 May 4 10:27 .golangci.yml 10:33:24 -rw-rw-r-- 1 jenkins jenkins 10087 May 4 10:27 Attribution.txt 10:33:24 -rw-rw-r-- 1 jenkins jenkins 6312 May 4 10:27 CHANGELOG.md 10:33:24 -rw-rw-r-- 1 jenkins jenkins 1574 May 4 10:27 Dockerfile 10:33:24 -rw-rw-r-- 1 jenkins jenkins 677 May 4 10:27 GOVERNANCE.md 10:33:24 -rw-rw-r-- 1 jenkins jenkins 734 May 4 10:27 Jenkinsfile 10:33:24 -rw-rw-r-- 1 jenkins jenkins 11348 May 4 10:27 LICENSE 10:33:24 -rw-rw-r-- 1 jenkins jenkins 2751 May 4 10:27 Makefile 10:33:24 -rw-rw-r-- 1 jenkins jenkins 625 May 4 10:27 OWNERS.md 10:33:24 -rw-rw-r-- 1 jenkins jenkins 2591 May 4 10:27 README.md 10:33:24 -rw-rw-r-- 1 jenkins jenkins 12 May 4 10:25 VERSION 10:33:24 drwxrwxr-x 2 jenkins jenkins 4096 May 4 10:27 bin 10:33:24 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:27 cmd 10:33:24 -rw-r--r-- 1 jenkins jenkins 79191 May 4 10:32 coverage.out 10:33:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:27 doc 10:33:24 -rw-rw-r-- 1 jenkins jenkins 3642 May 4 10:27 go.mod 10:33:24 -rw-rw-r-- 1 jenkins jenkins 33491 May 4 10:27 go.sum 10:33:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:27 internal 10:33:24 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:27 snap 10:33:24 -rw-rw-r-- 1 jenkins jenkins 236 May 4 10:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:24 + 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=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 --label arch=arm64 --label version=3.0.0-dev.37 . 10:33:25 Sending build context to Docker daemon 14.26MB 10:33:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:33:25 Step 2/26 : FROM ${BASE} AS builder 10:33:25 ---> 5da78992a0ae 10:33:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:33:25 ---> Running in 6f41a48a372b 10:33:25 Removing intermediate container 6f41a48a372b 10:33:25 ---> 413ab5aa8c16 10:33:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:33:25 ---> Running in e24f784e1660 10:33:25 Removing intermediate container e24f784e1660 10:33:25 ---> 48973674ce3c 10:33:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:33:25 ---> Running in 0a9839c7fffe 10:33:26 Removing intermediate container 0a9839c7fffe 10:33:26 ---> 37bb1a84d2ee 10:33:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:33:26 ---> Running in d5b87ff2ecca 10:33:26 Removing intermediate container d5b87ff2ecca 10:33:26 ---> fc900b212079 10:33:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:33:26 ---> Running in 2e52d2b41f89 10:33:26 Removing intermediate container 2e52d2b41f89 10:33:26 ---> b1fead5fff34 10:33:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:33:26 ---> Running in b33df4e38acf 10:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:33:29 OK: 263 MiB in 53 packages 10:33:30 Removing intermediate container b33df4e38acf 10:33:30 ---> ba228ac54aab 10:33:30 Step 9/26 : WORKDIR /device-onvif-camera 10:33:30 ---> Running in cd13e235ce29 10:33:30 Removing intermediate container cd13e235ce29 10:33:30 ---> d05c15b979b7 10:33:30 Step 10/26 : COPY go.mod vendor* ./ 10:33:31 ---> 18d5e6c6b52b 10:33:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:33:31 ---> Running in 6dedb95a0d4e 10:33:36 Removing intermediate container 6dedb95a0d4e 10:33:36 ---> 3543c9fe09f0 10:33:36 Step 12/26 : COPY . . 10:33:37 ---> 38d21f71cb09 10:33:37 Step 13/26 : RUN ${MAKE} 10:33:37 ---> Running in 7a2adf549bc0 10:33:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 10:36:15 Removing intermediate container 7a2adf549bc0 10:36:15 ---> 87a05eeefbfd 10:36:15 Step 14/26 : FROM alpine:3.17 10:36:15 3.17: Pulling from library/alpine 10:36:15 c41833b44d91: Already exists 10:36:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:36:15 Status: Downloaded newer image for alpine:3.17 10:36:15 ---> 51e60588ff2c 10:36:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:36:15 ---> Running in 5239ddfcf205 10:36:15 Removing intermediate container 5239ddfcf205 10:36:15 ---> 89d9322529b5 10:36:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:36:15 ---> Running in ac27d3545fc1 10:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:36:15 (1/1) Installing dumb-init (1.2.5-r2) 10:36:15 Executing busybox-1.35.0-r29.trigger 10:36:15 OK: 8 MiB in 16 packages 10:36:15 Removing intermediate container ac27d3545fc1 10:36:15 ---> 6e6a3dbc4add 10:36:15 Step 17/26 : WORKDIR / 10:36:15 ---> Running in 0c1f12746105 10:36:15 Removing intermediate container 0c1f12746105 10:36:15 ---> 32949dd0d5ad 10:36:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:36:15 ---> 07d95efbe284 10:36:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:36:15 ---> 45d230529d5b 10:36:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:36:15 ---> 17f6cd4e49ba 10:36:15 Step 21/26 : EXPOSE 59984 10:36:15 ---> Running in b3a9fbc904da 10:36:15 Removing intermediate container b3a9fbc904da 10:36:15 ---> e9623f4edb09 10:36:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:36:15 ---> Running in e333bccc3a57 10:36:15 Removing intermediate container e333bccc3a57 10:36:15 ---> ff5cf3af6c3f 10:36:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:36:15 ---> Running in e9aa6e3e44fc 10:36:15 Removing intermediate container e9aa6e3e44fc 10:36:15 ---> 516cb93a0abc 10:36:15 Step 24/26 : LABEL arch=arm64 10:36:15 ---> Running in 889ac6017622 10:36:15 Removing intermediate container 889ac6017622 10:36:15 ---> 0fbbad7ab838 10:36:15 Step 25/26 : LABEL git_sha=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:36:15 ---> Running in 64cc3902b493 10:36:15 Removing intermediate container 64cc3902b493 10:36:15 ---> 6e2879b3d740 10:36:15 Step 26/26 : LABEL version=3.0.0-dev.37 10:36:15 ---> Running in 1fede6f379d4 10:36:15 Removing intermediate container 1fede6f379d4 10:36:15 ---> b283dadcc47e 10:36:15 [Warning] One or more build-args [ARCH] were not consumed 10:36:15 Successfully built b283dadcc47e 10:36:15 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 10:36:15 provisioning config files... 10:36:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/132@tmp/config5243503549138932602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:15 ---> docker-login.sh 10:36:15 nexus3.edgexfoundry.org:10001 10:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:16 Configure a credential helper to remove this warning. See 10:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:16 10:36:16 Login Succeeded 10:36:16 nexus3.edgexfoundry.org:10002 10:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:16 Configure a credential helper to remove this warning. See 10:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:16 10:36:16 Login Succeeded 10:36:16 nexus3.edgexfoundry.org:10003 10:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:16 Configure a credential helper to remove this warning. See 10:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:16 10:36:16 Login Succeeded 10:36:16 nexus3.edgexfoundry.org:10004 10:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:17 Configure a credential helper to remove this warning. See 10:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:17 10:36:17 Login Succeeded 10:36:17 docker.io 10:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:17 Configure a credential helper to remove this warning. See 10:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:17 10:36:17 Login Succeeded 10:36:17 ---> docker-login.sh ends [Pipeline] } 10:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:36:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:36:17 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 10:36:17 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:36:17 latest 10:36:17 3.0.0-dev.37 10:36:17 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:36:17 main 10:36:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:36:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:36:18 8cda50e4b5a5: Preparing 10:36:18 f41b65084524: Preparing 10:36:18 244b2cb759e2: Preparing 10:36:18 2a6e9dd6ac63: Preparing 10:36:18 26cbea5cba74: Preparing 10:36:18 26cbea5cba74: Layer already exists 10:36:18 8cda50e4b5a5: Pushed 10:36:18 f41b65084524: Pushed 10:36:18 2a6e9dd6ac63: Pushed 10:36:24 244b2cb759e2: Pushed 10:36:24 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4: digest: sha256:fca72c7567eec7ad02ab09f962fdc602096d64db93455a41bf6dd169fd0fabca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:24 + 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 10:36:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:36:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:36:24 8cda50e4b5a5: Preparing 10:36:24 f41b65084524: Preparing 10:36:24 244b2cb759e2: Preparing 10:36:24 2a6e9dd6ac63: Preparing 10:36:24 26cbea5cba74: Preparing 10:36:24 244b2cb759e2: Layer already exists 10:36:24 2a6e9dd6ac63: Layer already exists 10:36:24 26cbea5cba74: Layer already exists 10:36:24 8cda50e4b5a5: Layer already exists 10:36:24 f41b65084524: Layer already exists 10:36:24 latest: digest: sha256:fca72c7567eec7ad02ab09f962fdc602096d64db93455a41bf6dd169fd0fabca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:25 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.37 10:36:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:36:25 8cda50e4b5a5: Preparing 10:36:25 f41b65084524: Preparing 10:36:25 244b2cb759e2: Preparing 10:36:25 2a6e9dd6ac63: Preparing 10:36:25 26cbea5cba74: Preparing 10:36:25 f41b65084524: Layer already exists 10:36:25 26cbea5cba74: Layer already exists 10:36:25 2a6e9dd6ac63: Layer already exists 10:36:25 8cda50e4b5a5: Layer already exists 10:36:25 244b2cb759e2: Layer already exists 10:36:25 3.0.0-dev.37: digest: sha256:fca72c7567eec7ad02ab09f962fdc602096d64db93455a41bf6dd169fd0fabca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:26 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:36:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:36:27 8cda50e4b5a5: Preparing 10:36:27 f41b65084524: Preparing 10:36:27 244b2cb759e2: Preparing 10:36:27 2a6e9dd6ac63: Preparing 10:36:27 26cbea5cba74: Preparing 10:36:27 8cda50e4b5a5: Layer already exists 10:36:27 f41b65084524: Layer already exists 10:36:27 244b2cb759e2: Layer already exists 10:36:27 2a6e9dd6ac63: Layer already exists 10:36:27 26cbea5cba74: Layer already exists 10:36:27 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37: digest: sha256:fca72c7567eec7ad02ab09f962fdc602096d64db93455a41bf6dd169fd0fabca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:27 + 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 10:36:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 10:36:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:36:27 8cda50e4b5a5: Preparing 10:36:27 f41b65084524: Preparing 10:36:27 244b2cb759e2: Preparing 10:36:27 2a6e9dd6ac63: Preparing 10:36:27 26cbea5cba74: Preparing 10:36:27 244b2cb759e2: Layer already exists 10:36:27 26cbea5cba74: Layer already exists 10:36:27 f41b65084524: Layer already exists 10:36:27 8cda50e4b5a5: Layer already exists 10:36:27 2a6e9dd6ac63: Layer already exists 10:36:27 main: digest: sha256:fca72c7567eec7ad02ab09f962fdc602096d64db93455a41bf6dd169fd0fabca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:36:27 ===================================================== [Pipeline] echo 10:36:27 taggedImages: 10:36:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 10:36:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:36:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.37 10:36:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c118ca14ee34e661c1ddcb992cee39f5ce12a3b4-3.0.0-dev.37 10:36:27 - 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 10:36:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:36:28 10:36:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:36:28 arm64: Pulling from edgex-lftools-log-publisher 10:36:28 8998bd30e6a1: Pulling fs layer 10:36:28 04944245beec: Pulling fs layer 10:36:28 699f458cf7ca: Pulling fs layer 10:36:28 765212b225bb: Pulling fs layer 10:36:28 765212b225bb: Waiting 10:36:28 f23df028b6ca: Pulling fs layer 10:36:28 f23df028b6ca: Waiting 10:36:28 d65c8cfc05b1: Pulling fs layer 10:36:28 2437ff75d9bd: Pulling fs layer 10:36:28 d65c8cfc05b1: Waiting 10:36:28 04944245beec: Verifying Checksum 10:36:28 04944245beec: Download complete 10:36:28 765212b225bb: Verifying Checksum 10:36:28 765212b225bb: Download complete 10:36:28 f23df028b6ca: Verifying Checksum 10:36:28 f23df028b6ca: Download complete 10:36:28 d65c8cfc05b1: Verifying Checksum 10:36:28 d65c8cfc05b1: Download complete 10:36:28 699f458cf7ca: Verifying Checksum 10:36:28 699f458cf7ca: Download complete 10:36:29 8998bd30e6a1: Download complete 10:36:32 2437ff75d9bd: Verifying Checksum 10:36:32 2437ff75d9bd: Download complete 10:36:33 8998bd30e6a1: Pull complete 10:36:33 04944245beec: Pull complete 10:36:35 699f458cf7ca: Pull complete 10:36:35 765212b225bb: Pull complete 10:36:36 f23df028b6ca: Pull complete 10:36:36 d65c8cfc05b1: Pull complete 10:36:51 2437ff75d9bd: Pull complete 10:36:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:36:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:51 prd-ubuntu20.04-docker-arm64-4c-16g-13281 does not seem to be running inside a container 10:36:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/132 -v /w/workspace/device-onvif-camera/132:/w/workspace/device-onvif-camera/132:rw,z -v /w/workspace/device-onvif-camera/132@tmp:/w/workspace/device-onvif-camera/132@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 10:36:54 $ docker top f27aaddcca278ce1b2c5c1ae66d6231177289c1a01d0a3d62954d2d0aa0d4705 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:55 ---> job-cost.sh 10:36:55 lf-activate-venv: SKIPPING 10:36:55 INFO: No Stack... 10:36:55 INFO: Retrieving Pricing Info for: v3-standard-4 10:36:56 INFO: Archiving Costs [Pipeline] sh 10:36:57 + cat /w/workspace/device-onvif-camera/132/archives/cost.csv 10:36:57 + cut -d, -f6 [Pipeline] lock 10:36:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] 10:36:57 Resource [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] did not exist. Created. 10:36:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:36:57 /w/workspace/device-onvif-camera/132@tmp/durable-2ab287a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:36:58 + echo total: 0.10999999940395355 [Pipeline] stash 10:36:58 Warning: overwriting stash ‘stack-cost’ 10:36:58 Stashed 1 file(s) [Pipeline] } 10:36:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 10:36:58 $ docker stop --time=1 f27aaddcca278ce1b2c5c1ae66d6231177289c1a01d0a3d62954d2d0aa0d4705 10:36:59 $ docker rm -f --volumes f27aaddcca278ce1b2c5c1ae66d6231177289c1a01d0a3d62954d2d0aa0d4705 [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 10:37:00 provisioning config files... 10:37:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11103224327850388419tmp [Pipeline] { [Pipeline] sh 10:37:00 + set +x 10:37:00 + curl -s https://codecov.io/bash 10:37:00 + bash -s -- 10:37:00 10:37:00 _____ _ 10:37:00 / ____| | | 10:37:00 | | ___ __| | ___ ___ _____ __ 10:37:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:37:00 | |___| (_) | (_| | __/ (_| (_) \ V / 10:37:00 \_____\___/ \__,_|\___|\___\___/ \_/ 10:37:00 Bash-1.0.6 10:37:00 10:37:00 10:37:00 ==> git version 2.25.1 found 10:37:00 ==> 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 10:37:00 Release-Date: 2020-01-08 10:37:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:37:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:37:00 ==> Jenkins CI detected. 10:37:00 current dir:  /w/workspace/foundry_device-onvif-camera_main 10:37:00 project root: . 10:37:00 --> token set from env 10:37:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:37:00 ==> Running gcov in . (disable via -X gcov) 10:37:00 ==> Python coveragepy not found 10:37:00 ==> Searching for coverage reports in: 10:37:00 + . 10:37:00 -> Found 1 reports 10:37:00 ==> Detecting git/mercurial file structure 10:37:00 ==> Reading reports 10:37:00 + ./coverage.out bytes=79191 10:37:00 ==> Appending adjustments 10:37:00 https://docs.codecov.io/docs/fixing-reports 10:37:00 + Found adjustments 10:37:00 ==> Gzipping contents 10:37:00 12K /tmp/codecov.RP7uTl.gz 10:37:00 ==> Uploading reports 10:37:00 url: https://codecov.io 10:37:00 query: branch=main&commit=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:37:00 -> Pinging Codecov 10:37:00 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=c118ca14ee34e661c1ddcb992cee39f5ce12a3b4&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:37:00 -> Uploading to 10:37:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/F29A59C45E3A92E06B3E522C9905F8EF/c118ca14ee34e661c1ddcb992cee39f5ce12a3b4/46dc0560-2346-47ae-a7b1-7758b9f2281f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T103700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7570d0c609b0924147882e09f90b438315a8d64085c87cef049dd0888646e2b 10:37:00 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:00 Dload Upload Total Spent Left Speed 10:37:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 49380 --:--:-- --:--:-- --:--:-- 49613 10:37:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] } 10:37:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:37:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:37:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:37:01 10:37:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:37:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:37:02 df9b9388f04a: Pulling fs layer 10:37:02 52dc419b0ee2: Pulling fs layer 10:37:02 25bc292e5bac: Pulling fs layer 10:37:02 114826534d7a: Pulling fs layer 10:37:02 4657fd5d0bcf: Pulling fs layer 10:37:02 6ad1cebc031e: Pulling fs layer 10:37:02 8a3aa393b2d8: Pulling fs layer 10:37:02 114826534d7a: Waiting 10:37:02 4657fd5d0bcf: Waiting 10:37:02 6ad1cebc031e: Waiting 10:37:02 8a3aa393b2d8: Waiting 10:37:02 25bc292e5bac: Verifying Checksum 10:37:02 25bc292e5bac: Download complete 10:37:02 52dc419b0ee2: Verifying Checksum 10:37:02 52dc419b0ee2: Download complete 10:37:02 4657fd5d0bcf: Verifying Checksum 10:37:02 4657fd5d0bcf: Download complete 10:37:02 df9b9388f04a: Download complete 10:37:02 df9b9388f04a: Pull complete 10:37:02 6ad1cebc031e: Verifying Checksum 10:37:02 6ad1cebc031e: Download complete 10:37:02 52dc419b0ee2: Pull complete 10:37:02 25bc292e5bac: Pull complete 10:37:02 114826534d7a: Verifying Checksum 10:37:02 114826534d7a: Download complete 10:37:02 8a3aa393b2d8: Verifying Checksum 10:37:02 8a3aa393b2d8: Download complete 10:37:06 114826534d7a: Pull complete 10:37:06 4657fd5d0bcf: Pull complete 10:37:06 6ad1cebc031e: Pull complete 10:37:09 8a3aa393b2d8: Pull complete 10:37:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:37:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:09 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:37:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:37:16 $ docker top 7510bf508e760198ba1dd0be8e57cd9ebf53564259ea575eb6e6f8d3b579ea7a -eo pid,comm [Pipeline] { [Pipeline] echo 10:37:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 10:37:17 + set -o pipefail 10:37:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 10:37:22 10:37:22 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 10:37:22 10:37:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/bcc847d8-09ba-471d-b102-62b29636f8d6 10:37:22 10:37:22 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 10:37:22 10:37:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:37:22 10:37:22 10:37:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:37:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:37:22 More details here: https://snyk.co/ue1NS 10:37:22 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 10:37:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:37:22 $ docker stop --time=1 7510bf508e760198ba1dd0be8e57cd9ebf53564259ea575eb6e6f8d3b579ea7a 10:37:26 $ docker rm -f --volumes 7510bf508e760198ba1dd0be8e57cd9ebf53564259ea575eb6e6f8d3b579ea7a [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 10:37:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:37:26 provisioning config files... 10:37:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12500129912439555127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:26 --> edgex-publish-swagger.sh 10:37:26 === Publish doc/openapi/v2 API === 10:37:26 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 10:37:26 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 10:37:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:26 Dload Upload Total Spent Left Speed 10:37:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 593k --:--:-- --:--:-- --:--:-- 592k 100 469k 0 0 100 469k 0 592k --:--:-- --:--:-- --:--:-- 592k 10:37:27 10:37:27 [Pipeline] } 10:37:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:37:27 + git log --format=format:%s -1 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 [Pipeline] sh 10:37:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:37:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:28 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:37:29 $ docker top f40ccb8a6bdb3e6d829b9e3cf024365a841bd1fd51be5fd4b4845e581f70b3b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:37:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:37:29 [ssh-agent] Looking for ssh-agent implementation... 10:37:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:37:29 $ docker exec f40ccb8a6bdb3e6d829b9e3cf024365a841bd1fd51be5fd4b4845e581f70b3b3 ssh-agent 10:37:29 SSH_AUTH_SOCK=/tmp/ssh-UT47ogwdjKpo/agent.31 10:37:29 SSH_AGENT_PID=37 10:37:29 Running ssh-add (command line suppressed) 10:37:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1366410653915637446.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1366410653915637446.key) 10:37:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:37:29 + git semver tag 10:37:30 2023-05-04 10:37:30,009 [run_tag] DEBUG tag force:False 10:37:30 2023-05-04 10:37:30,009 [check_head_tag] DEBUG check head tag 10:37:30 2023-05-04 10:37:30,011 [execute] INFO git cat-file --batch-check 10:37:30 2023-05-04 10:37:30,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:37:30 2023-05-04 10:37:30,015 [execute] INFO git cat-file --batch 10:37:30 2023-05-04 10:37:30,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:37:30 2023-05-04 10:37:30,061 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:30 2023-05-04 10:37:30,061 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 10:37:30 2023-05-04 10:37:30,061 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 10:37:30 2023-05-04 10:37:30,065 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:30 3.0.0-dev.37 [Pipeline] } 10:37:30 $ docker exec --env ******** --env ******** f40ccb8a6bdb3e6d829b9e3cf024365a841bd1fd51be5fd4b4845e581f70b3b3 ssh-agent -k 10:37:30 unset SSH_AUTH_SOCK; 10:37:30 unset SSH_AGENT_PID; 10:37:30 echo Agent pid 37 killed; 10:37:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:37:30 + git semver [Pipeline] } 10:37:30 $ docker stop --time=1 f40ccb8a6bdb3e6d829b9e3cf024365a841bd1fd51be5fd4b4845e581f70b3b3 10:37:32 $ docker rm -f --volumes f40ccb8a6bdb3e6d829b9e3cf024365a841bd1fd51be5fd4b4845e581f70b3b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:37:32 10:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:37:32 0.23.1-centos7: Pulling from edgex-lftools 10:37:32 ab5ef0e58194: Pulling fs layer 10:37:32 9712f1f96733: Pulling fs layer 10:37:32 63f879dbbcfc: Pulling fs layer 10:37:32 0d9ebad4ef96: Pulling fs layer 10:37:32 e9a5061849ea: Pulling fs layer 10:37:32 d747dcd14b5f: Pulling fs layer 10:37:32 2de7ff778b66: Pulling fs layer 10:37:32 0d9ebad4ef96: Waiting 10:37:32 e9a5061849ea: Waiting 10:37:32 d747dcd14b5f: Waiting 10:37:32 2de7ff778b66: Waiting 10:37:32 9712f1f96733: Download complete 10:37:33 63f879dbbcfc: Verifying Checksum 10:37:33 63f879dbbcfc: Download complete 10:37:33 e9a5061849ea: Verifying Checksum 10:37:33 e9a5061849ea: Download complete 10:37:33 d747dcd14b5f: Verifying Checksum 10:37:33 d747dcd14b5f: Download complete 10:37:33 0d9ebad4ef96: Verifying Checksum 10:37:33 0d9ebad4ef96: Download complete 10:37:33 ab5ef0e58194: Verifying Checksum 10:37:33 ab5ef0e58194: Download complete 10:37:33 2de7ff778b66: Verifying Checksum 10:37:33 2de7ff778b66: Download complete 10:37:36 ab5ef0e58194: Pull complete 10:37:36 9712f1f96733: Pull complete 10:37:36 63f879dbbcfc: Pull complete 10:37:39 0d9ebad4ef96: Pull complete 10:37:40 e9a5061849ea: Pull complete 10:37:40 d747dcd14b5f: Pull complete 10:37:41 2de7ff778b66: Pull complete 10:37:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:37:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:41 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:37:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:37:46 $ docker top d7668a2d951ef243a9560e77b6c7ba9a38ac063e6f17fcf63d01d44cbe546cdb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:37:46 provisioning config files... 10:37:46 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12148604121668962911tmp 10:37:46 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6923838426278468732tmp 10:37:46 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10094138003956922514tmp [Pipeline] { [Pipeline] echo 10:37:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:37:46 ---> sigul-configuration.sh 10:37:46 gpg: directory `/root/.gnupg' created 10:37:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:37:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:37:46 gpg: keyring `/root/.gnupg/secring.gpg' created 10:37:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:37:46 gpg: CAST5 encrypted data 10:37:46 gpg: encrypted with 1 passphrase 10:37:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:37:46 + mkdir /home/jenkins 10:37:46 + mkdir /home/jenkins/sigul [Pipeline] sh 10:37:47 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:37:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:37:47 ---> sigul-install.sh 10:37:47 Sigul already installed; skipping installation. [Pipeline] sh 10:37:47 + git tag --list 10:37:47 v0.0.0 10:37:47 v0.0.1-dev.1 10:37:47 v0.0.1-dev.10 10:37:47 v0.0.1-dev.11 10:37:47 v0.0.1-dev.12 10:37:47 v0.0.1-dev.13 10:37:47 v0.0.1-dev.14 10:37:47 v0.0.1-dev.15 10:37:47 v0.0.1-dev.16 10:37:47 v0.0.1-dev.17 10:37:47 v0.0.1-dev.18 10:37:47 v0.0.1-dev.19 10:37:47 v0.0.1-dev.2 10:37:47 v0.0.1-dev.20 10:37:47 v0.0.1-dev.21 10:37:47 v0.0.1-dev.22 10:37:47 v0.0.1-dev.23 10:37:47 v0.0.1-dev.24 10:37:47 v0.0.1-dev.25 10:37:47 v0.0.1-dev.26 10:37:47 v0.0.1-dev.27 10:37:47 v0.0.1-dev.28 10:37:47 v0.0.1-dev.3 10:37:47 v0.0.1-dev.4 10:37:47 v0.0.1-dev.5 10:37:47 v0.0.1-dev.6 10:37:47 v0.0.1-dev.7 10:37:47 v0.0.1-dev.8 10:37:47 v0.0.1-dev.9 10:37:47 v2.2.0 10:37:47 v2.2.0-dev.29 10:37:47 v2.2.0-dev.30 10:37:47 v2.2.0-dev.31 10:37:47 v2.2.0-dev.32 10:37:47 v2.2.0-dev.33 10:37:47 v2.2.0-dev.34 10:37:47 v2.2.0-dev.35 10:37:47 v2.3.0 10:37:47 v2.3.0-dev.1 10:37:47 v2.3.0-dev.10 10:37:47 v2.3.0-dev.11 10:37:47 v2.3.0-dev.12 10:37:47 v2.3.0-dev.13 10:37:47 v2.3.0-dev.14 10:37:47 v2.3.0-dev.15 10:37:47 v2.3.0-dev.16 10:37:47 v2.3.0-dev.17 10:37:47 v2.3.0-dev.18 10:37:47 v2.3.0-dev.19 10:37:47 v2.3.0-dev.2 10:37:47 v2.3.0-dev.20 10:37:47 v2.3.0-dev.21 10:37:47 v2.3.0-dev.22 10:37:47 v2.3.0-dev.23 10:37:47 v2.3.0-dev.24 10:37:47 v2.3.0-dev.25 10:37:47 v2.3.0-dev.26 10:37:47 v2.3.0-dev.27 10:37:47 v2.3.0-dev.28 10:37:47 v2.3.0-dev.29 10:37:47 v2.3.0-dev.3 10:37:47 v2.3.0-dev.30 10:37:47 v2.3.0-dev.31 10:37:47 v2.3.0-dev.32 10:37:47 v2.3.0-dev.33 10:37:47 v2.3.0-dev.34 10:37:47 v2.3.0-dev.35 10:37:47 v2.3.0-dev.36 10:37:47 v2.3.0-dev.37 10:37:47 v2.3.0-dev.38 10:37:47 v2.3.0-dev.39 10:37:47 v2.3.0-dev.4 10:37:47 v2.3.0-dev.40 10:37:47 v2.3.0-dev.41 10:37:47 v2.3.0-dev.42 10:37:47 v2.3.0-dev.43 10:37:47 v2.3.0-dev.44 10:37:47 v2.3.0-dev.45 10:37:47 v2.3.0-dev.5 10:37:47 v2.3.0-dev.6 10:37:47 v2.3.0-dev.7 10:37:47 v2.3.0-dev.8 10:37:47 v2.3.0-dev.9 10:37:47 v2.3.1 10:37:47 v2.3.1-dev.1 10:37:47 v2.3.1-dev.4 10:37:47 v2.3.1-dev.5 10:37:47 v2.3.2-dev.1 10:37:47 v3.0.0-dev.1 10:37:47 v3.0.0-dev.10 10:37:47 v3.0.0-dev.11 10:37:47 v3.0.0-dev.12 10:37:47 v3.0.0-dev.13 10:37:47 v3.0.0-dev.14 10:37:47 v3.0.0-dev.15 10:37:47 v3.0.0-dev.16 10:37:47 v3.0.0-dev.17 10:37:47 v3.0.0-dev.18 10:37:47 v3.0.0-dev.19 10:37:47 v3.0.0-dev.2 10:37:47 v3.0.0-dev.20 10:37:47 v3.0.0-dev.21 10:37:47 v3.0.0-dev.22 10:37:47 v3.0.0-dev.23 10:37:47 v3.0.0-dev.24 10:37:47 v3.0.0-dev.25 10:37:47 v3.0.0-dev.26 10:37:47 v3.0.0-dev.27 10:37:47 v3.0.0-dev.28 10:37:47 v3.0.0-dev.29 10:37:47 v3.0.0-dev.3 10:37:47 v3.0.0-dev.30 10:37:47 v3.0.0-dev.31 10:37:47 v3.0.0-dev.32 10:37:47 v3.0.0-dev.33 10:37:47 v3.0.0-dev.34 10:37:47 v3.0.0-dev.35 10:37:47 v3.0.0-dev.36 10:37:47 v3.0.0-dev.37 10:37:47 v3.0.0-dev.4 10:37:47 v3.0.0-dev.5 10:37:47 v3.0.0-dev.6 10:37:47 v3.0.0-dev.7 10:37:47 v3.0.0-dev.8 10:37:47 v3.0.0-dev.9 [Pipeline] sh 10:37:47 + lftools sign git-tag v3.0.0-dev.37 10:37:48 Signing Git tag with Sigul... 10:37:48 Signing v3.0.0-dev.37 [Pipeline] echo 10:37:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:37:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:37:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:37:49 $ docker stop --time=1 d7668a2d951ef243a9560e77b6c7ba9a38ac063e6f17fcf63d01d44cbe546cdb 10:37:50 $ docker rm -f --volumes d7668a2d951ef243a9560e77b6c7ba9a38ac063e6f17fcf63d01d44cbe546cdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:37:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:37:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:51 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:37:51 $ docker top c0140d7a653e6667f88b97d3fef263fdba70a982442badcd0cfed5941e5a1b33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:37:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:37:51 [ssh-agent] Looking for ssh-agent implementation... 10:37:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:37:51 $ docker exec c0140d7a653e6667f88b97d3fef263fdba70a982442badcd0cfed5941e5a1b33 ssh-agent 10:37:51 SSH_AUTH_SOCK=/tmp/ssh-UpAkm6BeIbhP/agent.33 10:37:51 SSH_AGENT_PID=39 10:37:51 Running ssh-add (command line suppressed) 10:37:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17659408517688208179.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17659408517688208179.key) 10:37:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:37:52 + git semver bump pre 10:37:52 2023-05-04 10:37:52,397 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:52 2023-05-04 10:37:52,397 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev 10:37:52 2023-05-04 10:37:52,397 [bump_version] DEBUG bumped version:3.0.0-dev.38 10:37:52 2023-05-04 10:37:52,397 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 10:37:52 2023-05-04 10:37:52,397 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:52 2023-05-04 10:37:52,397 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:52 2023-05-04 10:37:52,399 [execute] INFO git cat-file --batch-check 10:37:52 2023-05-04 10:37:52,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:37:52 2023-05-04 10:37:52,404 [execute] INFO git cat-file --batch 10:37:52 2023-05-04 10:37:52,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:37:52 2023-05-04 10:37:52,409 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:52 3.0.0-dev.38 [Pipeline] } 10:37:52 $ docker exec --env ******** --env ******** c0140d7a653e6667f88b97d3fef263fdba70a982442badcd0cfed5941e5a1b33 ssh-agent -k 10:37:52 unset SSH_AUTH_SOCK; 10:37:52 unset SSH_AGENT_PID; 10:37:52 echo Agent pid 39 killed; 10:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:37:52 + git semver [Pipeline] } 10:37:53 $ docker stop --time=1 c0140d7a653e6667f88b97d3fef263fdba70a982442badcd0cfed5941e5a1b33 10:37:54 $ docker rm -f --volumes c0140d7a653e6667f88b97d3fef263fdba70a982442badcd0cfed5941e5a1b33 [Pipeline] // withDockerContainer [Pipeline] sh 10:37:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:37:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:55 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:37:55 $ docker top 09c72a96a198f305253f2b34636b328ddf6c6ad142c3f9ec8519e5154613808f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:37:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:37:55 [ssh-agent] Looking for ssh-agent implementation... 10:37:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:37:55 $ docker exec 09c72a96a198f305253f2b34636b328ddf6c6ad142c3f9ec8519e5154613808f ssh-agent 10:37:55 SSH_AUTH_SOCK=/tmp/ssh-eSuQQuOOcZnF/agent.32 10:37:55 SSH_AGENT_PID=38 10:37:55 Running ssh-add (command line suppressed) 10:37:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5750811228004241179.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5750811228004241179.key) 10:37:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:37:56 + git semver push 10:37:56 2023-05-04 10:37:56,393 [run_push] DEBUG push 10:37:56 2023-05-04 10:37:56,394 [execute] INFO git cat-file --batch-check 10:37:56 2023-05-04 10:37:56,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:37:56 2023-05-04 10:37:56,398 [execute] INFO git rev-list b3dc87207bfbcbb4418183a9ea6b0f80aeeb278a -- 10:37:56 2023-05-04 10:37:56,398 [execute] DEBUG Popen(['git', 'rev-list', 'b3dc87207bfbcbb4418183a9ea6b0f80aeeb278a', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:37:56 2023-05-04 10:37:56,405 [execute] INFO git fetch -v origin 10:37:56 2023-05-04 10:37:56,406 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 10:37:57 2023-05-04 10:37:56,860 [run_push] DEBUG no remote changes detected 10:37:57 2023-05-04 10:37:56,860 [execute] INFO git push origin semver 10:37:57 2023-05-04 10:37:56,861 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:37:57 2023-05-04 10:37:57,605 [run_push] DEBUG push all version tags 10:37:57 2023-05-04 10:37:57,606 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:37:57 2023-05-04 10:37:57,606 [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) 10:37:58 2023-05-04 10:37:58,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:37:58 3.0.0-dev.38 [Pipeline] } 10:37:58 $ docker exec --env ******** --env ******** 09c72a96a198f305253f2b34636b328ddf6c6ad142c3f9ec8519e5154613808f ssh-agent -k 10:37:58 unset SSH_AUTH_SOCK; 10:37:58 unset SSH_AGENT_PID; 10:37:58 echo Agent pid 38 killed; 10:37:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:37:58 + git semver [Pipeline] } 10:37:59 $ docker stop --time=1 09c72a96a198f305253f2b34636b328ddf6c6ad142c3f9ec8519e5154613808f 10:38:00 $ docker rm -f --volumes 09c72a96a198f305253f2b34636b328ddf6c6ad142c3f9ec8519e5154613808f [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 10:38:01 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 10:38:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:38:01 total 16 10:38:01 drwxr-xr-x 3 root root 4096 May 4 10:28 . 10:38:01 drwxrwxr-x 11 jenkins jenkins 4096 May 4 10:37 .. 10:38:01 drwxr-xr-x 2 root root 4096 May 4 10:28 cost 10:38:01 -rw-r--r-- 1 root root 91 May 4 10:28 cost.csv 10:38:01 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 10:38:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:38:01 total 16 10:38:01 drwxr-xr-x 3 jenkins jenkins 4096 May 4 10:28 . 10:38:01 drwxrwxr-x 11 jenkins jenkins 4096 May 4 10:37 .. 10:38:01 drwxr-xr-x 2 jenkins jenkins 4096 May 4 10:28 cost 10:38:01 -rw-r--r-- 1 jenkins jenkins 91 May 4 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:38:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:38:02 ---> package-listing.sh 10:38:02 ++ tr '[:upper:]' '[:lower:]' 10:38:02 ++ facter osfamily 10:38:02 + OS_FAMILY=debian 10:38:02 + workspace=/w/workspace/foundry_device-onvif-camera_main 10:38:02 + START_PACKAGES=/tmp/packages_start.txt 10:38:02 + END_PACKAGES=/tmp/packages_end.txt 10:38:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:38:02 + PACKAGES=/tmp/packages_start.txt 10:38:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:38:02 + PACKAGES=/tmp/packages_end.txt 10:38:02 + case "${OS_FAMILY}" in 10:38:02 + dpkg -l 10:38:02 + grep '^ii' 10:38:02 + '[' -f /tmp/packages_start.txt ']' 10:38:02 + '[' -f /tmp/packages_end.txt ']' 10:38:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:38:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:38:02 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 10:38:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 10:38:02 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 10:38:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:38:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:03 prd-ubuntu20.04-docker-8c-8g-13279 does not seem to be running inside a container 10:38:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:38:03 $ docker top 38b5245102c57e672829425b6ef01ed598ab48161199ab723be990514c344ab2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:38:03 + touch /tmp/pre-build-complete [Pipeline] sh 10:38:04 + mkdir -p /var/log/sysstat [Pipeline] sh 10:38:04 + ls /var/log/sa-host 10:38:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:38:04 provisioning config files... 10:38:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7644766143673282352tmp [Pipeline] { [Pipeline] echo 10:38:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:38:04 ---> create-netrc.sh [Pipeline] } 10:38:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:38:05 ---> python-tools-install.sh [Pipeline] echo 10:38:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:38:05 ---> sudo-logs.sh 10:38:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:38:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:38:05 ---> job-cost.sh 10:38:05 lf-activate-venv: SKIPPING 10:38:05 DEBUG: total: 0.2199999988079071 10:38:05 INFO: Retrieving Stack Cost... 10:38:06 INFO: Retrieving Pricing Info for: v3-standard-8 10:38:06 INFO: Archiving Costs [Pipeline] echo 10:38:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:38:07 ---> logs-deploy.sh 10:38:07 lf-activate-venv: SKIPPING 10:38:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/132 10:38:07 INFO: archiving workspace using pattern(s): 10:38:07 Archives upload complete. 10:38:07 INFO: archiving logs to Nexus