Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5100156d942d3e2ec7c51a96dce7156478cbb52 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-ssh14844447693807911745.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-ssh10690757786211991100.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-ssh16279380577790758022.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-ssh10697295547327892540.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-ssh16443290572125853345.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-12645 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 a5100156d942d3e2ec7c51a96dce7156478cbb52 (main) > 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 Commit message: "feat: implement secret change support, refactor cred mgmt (#333)" > git config core.sparsecheckout # timeout=10 > git checkout -f a5100156d942d3e2ec7c51a96dce7156478cbb52 # timeout=10 > git rev-list --no-walk ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:40:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:40:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:40:19 ========================================================= 23:40:19 EdgeX Global Pipelines Version Info 23:40:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:40:20 ------------------- 23:40:20 stable info: 23:40:20 ------------------- 23:40:20 Commited By: Bill Mahoney bill.mahoney@intel.com 23:40:20 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:40:20 Message: update stable to v1.0.248 23:40:20 ------------------- 23:40:20 experimental info: 23:40:20 ------------------- 23:40:20 Commited By: **** collab-it+edgex@linuxfoundation.org 23:40:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:40:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a510015 [Pipeline] echo 23:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:21 provisioning config files... 23:40:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15283976532306573794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:21 ---> docker-login.sh 23:40:21 nexus3.edgexfoundry.org:10001 23:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:21 Configure a credential helper to remove this warning. See 23:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:21 23:40:21 Login Succeeded 23:40:21 nexus3.edgexfoundry.org:10002 23:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:22 Configure a credential helper to remove this warning. See 23:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:22 23:40:22 Login Succeeded 23:40:22 nexus3.edgexfoundry.org:10003 23:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:22 Configure a credential helper to remove this warning. See 23:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:22 23:40:22 Login Succeeded 23:40:22 nexus3.edgexfoundry.org:10004 23:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:22 Configure a credential helper to remove this warning. See 23:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:22 23:40:22 Login Succeeded 23:40:22 docker.io 23:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:22 Configure a credential helper to remove this warning. See 23:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:22 23:40:22 Login Succeeded 23:40:22 ---> docker-login.sh ends [Pipeline] } 23:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:40:23 + git rev-list -1 --merges a5100156d942d3e2ec7c51a96dce7156478cbb52~1..a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] echo 23:40:23 -----------> git rev-list -1 --merges a5100156d942d3e2ec7c51a96dce7156478cbb52~1..a5100156d942d3e2ec7c51a96dce7156478cbb52 a5100156d942d3e2ec7c51a96dce7156478cbb52 [false] [Pipeline] sh 23:40:23 + git log --format=format:%s -1 a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] echo 23:40:23 ========================================================= 23:40:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:40:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:23 + git log --format=format:%s -1 a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] echo 23:40:23 [semverPrep] GIT_COMMIT: a5100156d942d3e2ec7c51a96dce7156478cbb52, Commit Message: feat: implement secret change support, refactor cred mgmt (#333) [Pipeline] echo 23:40:23 [semverPrep] This is not a build commit. [Pipeline] sh 23:40:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:40:24 + grep -v github /etc/ssh/ssh_known_hosts 23:40:24 + [ -e /tmp/ssh_known_hosts ] 23:40:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:40:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:40:24 + sudo tee -a /etc/ssh/ssh_known_hosts 23:40:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:24 23:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:24 0.1.4: Pulling from edgex-devops/py-git-semver 23:40:24 b85a868b505f: Pulling fs layer 23:40:24 e2be974225ed: Pulling fs layer 23:40:24 339a4e72a1f5: Pulling fs layer 23:40:24 988bab9f4d93: Pulling fs layer 23:40:24 1469e6f7b9e6: Pulling fs layer 23:40:24 eaf3925da568: Pulling fs layer 23:40:24 bab4dde63d76: Pulling fs layer 23:40:24 bde34c3a00c8: Pulling fs layer 23:40:24 b352a97aabf1: Pulling fs layer 23:40:24 4872d77fe225: Pulling fs layer 23:40:24 5851b861e8e6: Pulling fs layer 23:40:24 988bab9f4d93: Waiting 23:40:24 bde34c3a00c8: Waiting 23:40:24 b352a97aabf1: Waiting 23:40:24 1469e6f7b9e6: Waiting 23:40:24 4872d77fe225: Waiting 23:40:24 eaf3925da568: Waiting 23:40:24 5851b861e8e6: Waiting 23:40:24 bab4dde63d76: Waiting 23:40:24 e2be974225ed: Download complete 23:40:24 988bab9f4d93: Verifying Checksum 23:40:24 988bab9f4d93: Download complete 23:40:24 339a4e72a1f5: Verifying Checksum 23:40:24 339a4e72a1f5: Download complete 23:40:24 1469e6f7b9e6: Verifying Checksum 23:40:24 1469e6f7b9e6: Download complete 23:40:24 eaf3925da568: Download complete 23:40:25 bde34c3a00c8: Verifying Checksum 23:40:25 bde34c3a00c8: Download complete 23:40:25 b352a97aabf1: Download complete 23:40:25 4872d77fe225: Verifying Checksum 23:40:25 4872d77fe225: Download complete 23:40:25 5851b861e8e6: Download complete 23:40:25 b85a868b505f: Download complete 23:40:25 bab4dde63d76: Verifying Checksum 23:40:25 bab4dde63d76: Download complete 23:40:26 b85a868b505f: Pull complete 23:40:26 e2be974225ed: Pull complete 23:40:27 339a4e72a1f5: Pull complete 23:40:27 988bab9f4d93: Pull complete 23:40:27 1469e6f7b9e6: Pull complete 23:40:27 eaf3925da568: Pull complete 23:40:29 bab4dde63d76: Pull complete 23:40:29 bde34c3a00c8: Pull complete 23:40:29 b352a97aabf1: Pull complete 23:40:29 4872d77fe225: Pull complete 23:40:29 5851b861e8e6: Pull complete 23:40:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:29 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:40:29 $ 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 23:40:31 $ docker top 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 -eo pid,comm 23:40:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:40:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:31 [ssh-agent] Looking for ssh-agent implementation... 23:40:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:31 $ docker exec 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 ssh-agent 23:40:31 SSH_AUTH_SOCK=/tmp/ssh-xw3xg0OCiQSC/agent.31 23:40:31 SSH_AGENT_PID=37 23:40:31 Running ssh-add (command line suppressed) 23:40:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13380351565704103608.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13380351565704103608.key) 23:40:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:31 + git tag --points-at HEAD [Pipeline] } 23:40:31 $ docker exec --env ******** --env ******** 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 ssh-agent -k 23:40:31 unset SSH_AUTH_SOCK; 23:40:31 unset SSH_AGENT_PID; 23:40:31 echo Agent pid 37 killed; 23:40:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:32 [ssh-agent] Looking for ssh-agent implementation... 23:40:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:32 $ docker exec 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 ssh-agent 23:40:32 SSH_AUTH_SOCK=/tmp/ssh-sS1LU0A8NNFE/agent.69 23:40:32 SSH_AGENT_PID=75 23:40:32 Running ssh-add (command line suppressed) 23:40:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10282652035197569881.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10282652035197569881.key) 23:40:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:32 + git semver init 23:40:32 2023-05-03 23:40:32,854 [run_init] DEBUG init version:0.0.0 force:False 23:40:32 2023-05-03 23:40:32,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:40:32 2023-05-03 23:40:32,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:40:32 2023-05-03 23:40:32,856 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:40:33 2023-05-03 23:40:33,662 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:40:33 2023-05-03 23:40:33,663 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:40:33 2023-05-03 23:40:33,663 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:40:33 2023-05-03 23:40:33,663 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:40:33 3.0.0-dev.36 [Pipeline] } 23:40:33 $ docker exec --env ******** --env ******** 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 ssh-agent -k 23:40:33 unset SSH_AUTH_SOCK; 23:40:33 unset SSH_AGENT_PID; 23:40:33 echo Agent pid 75 killed; 23:40:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:34 + git semver [Pipeline] } 23:40:34 $ docker stop --time=1 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 23:40:35 $ docker rm -f --volumes 2c683122ab2b56a4dd894ed1be3cf410b317023cfc9dfc2d0966886cb4eb99d6 [Pipeline] // withDockerContainer [Pipeline] sh 23:40:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:40:36 Stashed 1 file(s) [Pipeline] echo 23:40:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:36 provisioning config files... 23:40:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10942400124213107190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:36 ---> docker-login.sh 23:40:36 nexus3.edgexfoundry.org:10001 23:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:36 Configure a credential helper to remove this warning. See 23:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:36 23:40:36 Login Succeeded 23:40:36 nexus3.edgexfoundry.org:10002 23:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:36 Configure a credential helper to remove this warning. See 23:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:36 23:40:36 Login Succeeded 23:40:36 nexus3.edgexfoundry.org:10003 23:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:37 Configure a credential helper to remove this warning. See 23:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:37 23:40:37 Login Succeeded 23:40:37 nexus3.edgexfoundry.org:10004 23:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:37 Configure a credential helper to remove this warning. See 23:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:37 23:40:37 Login Succeeded 23:40:37 docker.io 23:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:37 Configure a credential helper to remove this warning. See 23:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:37 23:40:37 Login Succeeded 23:40:37 ---> docker-login.sh ends [Pipeline] } 23:40:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:37 ========================================================= 23:40:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:40:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:37 + 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 . 23:40:37 Sending build context to Docker daemon 21.5MB 23:40:37 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:40:37 Step 2/13 : FROM ${BASE} AS builder 23:40:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:40:37 f56be85fc22e: Pulling fs layer 23:40:37 85791d961cd3: Pulling fs layer 23:40:37 d694b5ae8c79: Pulling fs layer 23:40:37 9f32a84ed3da: Pulling fs layer 23:40:37 4d19c01a9841: Pulling fs layer 23:40:37 9325e15d5711: Pulling fs layer 23:40:37 556b6ee489ea: Pulling fs layer 23:40:37 c5a4b2cf53e6: Pulling fs layer 23:40:37 9f32a84ed3da: Waiting 23:40:37 556b6ee489ea: Waiting 23:40:37 4d19c01a9841: Waiting 23:40:37 c5a4b2cf53e6: Waiting 23:40:37 9325e15d5711: Waiting 23:40:38 85791d961cd3: Download complete 23:40:38 9f32a84ed3da: Verifying Checksum 23:40:38 9f32a84ed3da: Download complete 23:40:38 4d19c01a9841: Verifying Checksum 23:40:38 4d19c01a9841: Download complete 23:40:38 f56be85fc22e: Verifying Checksum 23:40:38 f56be85fc22e: Download complete 23:40:38 9325e15d5711: Verifying Checksum 23:40:38 9325e15d5711: Download complete 23:40:38 f56be85fc22e: Pull complete 23:40:38 85791d961cd3: Pull complete 23:40:38 c5a4b2cf53e6: Verifying Checksum 23:40:38 c5a4b2cf53e6: Download complete 23:40:38 d694b5ae8c79: Verifying Checksum 23:40:38 d694b5ae8c79: Download complete 23:40:38 556b6ee489ea: Verifying Checksum 23:40:38 556b6ee489ea: Download complete 23:40:42 d694b5ae8c79: Pull complete 23:40:42 9f32a84ed3da: Pull complete 23:40:42 4d19c01a9841: Pull complete 23:40:42 9325e15d5711: Pull complete 23:40:44 556b6ee489ea: Pull complete 23:40:45 c5a4b2cf53e6: Pull complete 23:40:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:40:45 ---> c4be618373d6 23:40:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:40:46 ---> Running in 0e4595595297 23:40:47 Removing intermediate container 0e4595595297 23:40:47 ---> 9d796989314e 23:40:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:40:47 ---> Running in 68a7d832dede 23:40:47 Removing intermediate container 68a7d832dede 23:40:47 ---> 9d30d1af2af9 23:40:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:40:47 ---> Running in cee75576ceb3 23:40:47 Removing intermediate container cee75576ceb3 23:40:47 ---> 244e03a57c7d 23:40:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:40:47 ---> Running in d2e662520ef4 23:40:47 Removing intermediate container d2e662520ef4 23:40:47 ---> cfea8ba5b6e6 23:40:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:40:47 ---> Running in 291fc56e4d2c 23:40:47 Removing intermediate container 291fc56e4d2c 23:40:47 ---> 308d197c9094 23:40:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:47 ---> Running in d454c4a19cdc 23:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:40:48 OK: 265 MiB in 53 packages 23:40:48 Removing intermediate container d454c4a19cdc 23:40:48 ---> 233a80eb72d3 23:40:48 Step 9/13 : WORKDIR /device-onvif-camera 23:40:48 ---> Running in 60dd4b80bae0 23:40:48 Removing intermediate container 60dd4b80bae0 23:40:48 ---> ffc087971aa8 23:40:48 Step 10/13 : COPY go.mod vendor* ./ 23:40:48 ---> ec54604e2777 23:40:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:48 ---> Running in a99586562cb9 23:40:51 Still waiting to schedule task 23:40:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:41:20 Removing intermediate container a99586562cb9 23:41:20 ---> 52a3a8d77871 23:41:20 Step 12/13 : COPY . . 23:41:21 ---> 560ae86cbabc 23:41:21 Step 13/13 : RUN ${MAKE} 23:41:21 ---> Running in f36ba158cdba 23:41:21 noop 23:41:21 Removing intermediate container f36ba158cdba 23:41:21 ---> 28f7955cd3a9 23:41:21 Successfully built 28f7955cd3a9 23:41:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:22 + docker inspect -f . ci-base-image-x86_64 23:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:22 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:41:22 $ 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 23:41:22 $ docker top 24022d2067752cc3cd5a66312ad3ec8224891a58a5674fa83ec8d9767dc62812 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:22 + go version 23:41:22 go version go1.20.2 linux/amd64 [Pipeline] } 23:41:22 $ docker stop --time=1 24022d2067752cc3cd5a66312ad3ec8224891a58a5674fa83ec8d9767dc62812 23:41:24 $ docker rm -f --volumes 24022d2067752cc3cd5a66312ad3ec8224891a58a5674fa83ec8d9767dc62812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:24 + docker inspect -f . ci-base-image-x86_64 23:41:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:24 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:41:24 $ 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 23:41:24 $ docker top 14a1d7d7a310e98e345fcbe7c0095e5a45460f4d1c43898664b8fc575671028a -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:25 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:41:25 + make test 23:41:25 go test ./... -coverprofile=coverage.out ./... 23:41:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:41:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:41:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:41:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.1% of statements 23:41:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.182s coverage: 86.5% of statements 23:41:52 go vet ./... 23:41:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:41:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:41:54 $ docker stop --time=1 14a1d7d7a310e98e345fcbe7c0095e5a45460f4d1c43898664b8fc575671028a 23:41:56 $ docker rm -f --volumes 14a1d7d7a310e98e345fcbe7c0095e5a45460f4d1c43898664b8fc575671028a [Pipeline] // withDockerContainer [Pipeline] sh 23:41:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:41:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:58 + ls -al . 23:41:58 total 232 23:41:58 drwxrwxr-x 10 jenkins jenkins 4096 May 3 23:41 . 23:41:58 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:40 .. 23:41:58 drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:40 .git 23:41:58 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:40 .github 23:41:58 -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:40 .gitignore 23:41:58 -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:40 .golangci.yml 23:41:58 drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:40 .semver 23:41:58 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 23:40 Attribution.txt 23:41:58 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 23:40 CHANGELOG.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 23:40 Dockerfile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:40 GOVERNANCE.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 734 May 3 23:40 Jenkinsfile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:40 LICENSE 23:41:58 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 23:40 Makefile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:40 OWNERS.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 23:40 README.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 12 May 3 23:40 VERSION 23:41:58 drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:40 bin 23:41:58 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:40 cmd 23:41:58 -rw-r--r-- 1 jenkins jenkins 79191 May 3 23:41 coverage.out 23:41:58 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:40 doc 23:41:58 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 23:40 go.mod 23:41:58 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 23:40 go.sum 23:41:58 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:40 internal 23:41:58 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:40 snap 23:41:58 -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:58 + 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=a5100156d942d3e2ec7c51a96dce7156478cbb52 --label arch=amd64 --label version=3.0.0-dev.36 . 23:41:58 Sending build context to Docker daemon 21.58MB 23:41:58 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:41:58 Step 2/26 : FROM ${BASE} AS builder 23:41:58 ---> 28f7955cd3a9 23:41:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:41:58 ---> Running in 6c1918a7e259 23:41:58 Removing intermediate container 6c1918a7e259 23:41:58 ---> 4b28c85614eb 23:41:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:41:58 ---> Running in ec42e3ba9f37 23:41:58 Removing intermediate container ec42e3ba9f37 23:41:58 ---> 9c973dfe8d38 23:41:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:41:58 ---> Running in 31307ab373b4 23:41:58 Removing intermediate container 31307ab373b4 23:41:58 ---> a909f2672d4e 23:41:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:41:58 ---> Running in 36daf79985ed 23:41:58 Removing intermediate container 36daf79985ed 23:41:58 ---> 609663f4b76c 23:41:58 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:41:58 ---> Running in 14443637c383 23:41:58 Removing intermediate container 14443637c383 23:41:58 ---> 6c6104b6b29b 23:41:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:59 ---> Running in daac8293e780 23:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:41:59 OK: 265 MiB in 53 packages 23:41:59 Removing intermediate container daac8293e780 23:41:59 ---> ff02b0ea725e 23:41:59 Step 9/26 : WORKDIR /device-onvif-camera 23:41:59 ---> Running in 74aaa9654017 23:42:00 Removing intermediate container 74aaa9654017 23:42:00 ---> 38ef1f9d1673 23:42:00 Step 10/26 : COPY go.mod vendor* ./ 23:42:00 ---> 6bc388cfcb92 23:42:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:00 ---> Running in a459785760b0 23:42:01 Removing intermediate container a459785760b0 23:42:01 ---> c45bc89c94ff 23:42:01 Step 12/26 : COPY . . 23:42:01 ---> 70b6fe11f1c4 23:42:01 Step 13/26 : RUN ${MAKE} 23:42:01 ---> Running in 8be8bd3235bc 23:42:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:42:19 Removing intermediate container 8be8bd3235bc 23:42:19 ---> 1d6c05ab9f71 23:42:19 Step 14/26 : FROM alpine:3.17 23:42:19 3.17: Pulling from library/alpine 23:42:19 f56be85fc22e: Already exists 23:42:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:42:20 Status: Downloaded newer image for alpine:3.17 23:42:20 ---> 9ed4aefc74f6 23:42:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:42:20 ---> Running in 2ab0e67d8e54 23:42:20 Removing intermediate container 2ab0e67d8e54 23:42:20 ---> d3456d18b636 23:42:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:42:20 ---> Running in 5f8f56461703 23:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:42:20 (1/1) Installing dumb-init (1.2.5-r2) 23:42:20 Executing busybox-1.35.0-r29.trigger 23:42:20 OK: 7 MiB in 16 packages 23:42:21 Removing intermediate container 5f8f56461703 23:42:21 ---> 5a03385174eb 23:42:21 Step 17/26 : WORKDIR / 23:42:21 ---> Running in 82a241e586ff 23:42:21 Removing intermediate container 82a241e586ff 23:42:21 ---> 261e512b743e 23:42:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:42:21 ---> e7d8e4563e59 23:42:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:42:21 ---> f11a9b958e57 23:42:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:42:21 ---> 2baaeed4183c 23:42:21 Step 21/26 : EXPOSE 59984 23:42:21 ---> Running in c021e2af7f79 23:42:21 Removing intermediate container c021e2af7f79 23:42:21 ---> 462a806556e5 23:42:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:42:21 ---> Running in 79fe5e71b3d4 23:42:21 Removing intermediate container 79fe5e71b3d4 23:42:21 ---> 57114fe8b40c 23:42:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:42:21 ---> Running in b90ae2a50af9 23:42:21 Removing intermediate container b90ae2a50af9 23:42:21 ---> 08948e841341 23:42:21 Step 24/26 : LABEL arch=amd64 23:42:21 ---> Running in b1db4fb33eef 23:42:22 Removing intermediate container b1db4fb33eef 23:42:22 ---> 0b802b4dcb01 23:42:22 Step 25/26 : LABEL git_sha=a5100156d942d3e2ec7c51a96dce7156478cbb52 23:42:22 ---> Running in d367145488f7 23:42:22 Removing intermediate container d367145488f7 23:42:22 ---> d32519f5b12e 23:42:22 Step 26/26 : LABEL version=3.0.0-dev.36 23:42:22 ---> Running in 9ce4329dff40 23:42:22 Removing intermediate container 9ce4329dff40 23:42:22 ---> c8eb2dd3bc43 23:42:22 [Warning] One or more build-args [ARCH] were not consumed 23:42:22 Successfully built c8eb2dd3bc43 23:42:22 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:22 provisioning config files... 23:42:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13816956408612341178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:22 ---> docker-login.sh 23:42:22 nexus3.edgexfoundry.org:10001 23:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:22 Configure a credential helper to remove this warning. See 23:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:22 23:42:22 Login Succeeded 23:42:22 nexus3.edgexfoundry.org:10002 23:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:23 Configure a credential helper to remove this warning. See 23:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:23 23:42:23 Login Succeeded 23:42:23 nexus3.edgexfoundry.org:10003 23:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:23 Configure a credential helper to remove this warning. See 23:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:23 23:42:23 Login Succeeded 23:42:23 nexus3.edgexfoundry.org:10004 23:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:24 Configure a credential helper to remove this warning. See 23:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:24 23:42:24 Login Succeeded 23:42:24 docker.io 23:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:24 Configure a credential helper to remove this warning. See 23:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:24 23:42:24 Login Succeeded 23:42:24 ---> docker-login.sh ends [Pipeline] } 23:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:42:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:24 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:42:24 a5100156d942d3e2ec7c51a96dce7156478cbb52 23:42:24 latest 23:42:24 3.0.0-dev.36 23:42:24 a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:42:24 main 23:42:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52 23:42:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:42:25 292b08d1481a: Preparing 23:42:25 0963109b51c7: Preparing 23:42:25 094e8d9bc61c: Preparing 23:42:25 213aca4e50b3: Preparing 23:42:25 f1417ff83b31: Preparing 23:42:25 f1417ff83b31: Layer already exists 23:42:25 292b08d1481a: Pushed 23:42:25 0963109b51c7: Pushed 23:42:25 213aca4e50b3: Pushed 23:42:28 094e8d9bc61c: Pushed 23:42:28 a5100156d942d3e2ec7c51a96dce7156478cbb52: digest: sha256:2c372226270990278941401b8a6859c73582026395b56e1634b9aabcdb17bb86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:28 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:42:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:42:29 292b08d1481a: Preparing 23:42:29 0963109b51c7: Preparing 23:42:29 094e8d9bc61c: Preparing 23:42:29 213aca4e50b3: Preparing 23:42:29 f1417ff83b31: Preparing 23:42:29 f1417ff83b31: Layer already exists 23:42:29 213aca4e50b3: Layer already exists 23:42:29 292b08d1481a: Layer already exists 23:42:29 0963109b51c7: Layer already exists 23:42:29 094e8d9bc61c: Layer already exists 23:42:29 latest: digest: sha256:2c372226270990278941401b8a6859c73582026395b56e1634b9aabcdb17bb86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12647 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:42:29 Running in /w/workspace/device-onvif-camera/131 [Pipeline] { [Pipeline] checkout 23:42:29 The recommended git tool is: git 23:42:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.36 23:42:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:42:30 292b08d1481a: Preparing 23:42:30 0963109b51c7: Preparing 23:42:30 094e8d9bc61c: Preparing 23:42:30 213aca4e50b3: Preparing 23:42:30 f1417ff83b31: Preparing 23:42:30 094e8d9bc61c: Layer already exists 23:42:30 0963109b51c7: Layer already exists 23:42:30 213aca4e50b3: Layer already exists 23:42:30 f1417ff83b31: Layer already exists 23:42:30 292b08d1481a: Layer already exists 23:42:30 3.0.0-dev.36: digest: sha256:2c372226270990278941401b8a6859c73582026395b56e1634b9aabcdb17bb86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:30 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:42:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:42:30 292b08d1481a: Preparing 23:42:30 0963109b51c7: Preparing 23:42:30 094e8d9bc61c: Preparing 23:42:30 213aca4e50b3: Preparing 23:42:30 f1417ff83b31: Preparing 23:42:30 292b08d1481a: Layer already exists 23:42:30 0963109b51c7: Layer already exists 23:42:30 213aca4e50b3: Layer already exists 23:42:30 094e8d9bc61c: Layer already exists 23:42:30 f1417ff83b31: Layer already exists 23:42:30 a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36: digest: sha256:2c372226270990278941401b8a6859c73582026395b56e1634b9aabcdb17bb86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:31 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:42:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:42:31 292b08d1481a: Preparing 23:42:31 0963109b51c7: Preparing 23:42:31 094e8d9bc61c: Preparing 23:42:31 213aca4e50b3: Preparing 23:42:31 f1417ff83b31: Preparing 23:42:31 292b08d1481a: Layer already exists 23:42:31 f1417ff83b31: Layer already exists 23:42:31 094e8d9bc61c: Layer already exists 23:42:31 213aca4e50b3: Layer already exists 23:42:31 0963109b51c7: Layer already exists 23:42:31 main: digest: sha256:2c372226270990278941401b8a6859c73582026395b56e1634b9aabcdb17bb86 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:42:31 ===================================================== [Pipeline] echo 23:42:31 taggedImages: 23:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52 23:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.36 23:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:31 23:42:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:32 latest: Pulling from edgex-lftools-log-publisher 23:42:32 5eb5b503b376: Pulling fs layer 23:42:32 5c69ac0246d0: Pulling fs layer 23:42:32 ec43610c2a17: Pulling fs layer 23:42:32 3a2ae6a8a46f: Pulling fs layer 23:42:32 33b1e0a273af: Pulling fs layer 23:42:32 5d3b04190fa2: Pulling fs layer 23:42:32 2f39f015ded8: Pulling fs layer 23:42:32 5d3b04190fa2: Waiting 23:42:32 3a2ae6a8a46f: Waiting 23:42:32 33b1e0a273af: Waiting 23:42:32 2f39f015ded8: Waiting 23:42:32 5c69ac0246d0: Download complete 23:42:32 3a2ae6a8a46f: Verifying Checksum 23:42:32 3a2ae6a8a46f: Download complete 23:42:32 33b1e0a273af: Verifying Checksum 23:42:32 33b1e0a273af: Download complete 23:42:32 5d3b04190fa2: Verifying Checksum 23:42:32 5d3b04190fa2: Download complete 23:42:32 ec43610c2a17: Verifying Checksum 23:42:32 ec43610c2a17: Download complete 23:42:32 5eb5b503b376: Download complete 23:42:32 2f39f015ded8: Download complete 23:42:33 5eb5b503b376: Pull complete 23:42:33 5c69ac0246d0: Pull complete 23:42:34 ec43610c2a17: Pull complete 23:42:34 3a2ae6a8a46f: Pull complete 23:42:34 33b1e0a273af: Pull complete 23:42:34 5d3b04190fa2: Pull complete 23:42:35 using credential edgex-jenkins-ssh 23:42:35 Cloning the remote Git repository 23:42:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:42:35 > git init /w/workspace/device-onvif-camera/131 # timeout=10 23:42:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:42:35 > git --version # timeout=10 23:42:35 > git --version # 'git version 2.25.1' 23:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:42:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:37 Avoid second fetch 23:42:37 Checking out Revision a5100156d942d3e2ec7c51a96dce7156478cbb52 (main) 23:42:38 Commit message: "feat: implement secret change support, refactor cred mgmt (#333)" 23:42:37 > git config core.sparsecheckout # timeout=10 23:42:37 > git checkout -f a5100156d942d3e2ec7c51a96dce7156478cbb52 # timeout=10 23:42:38 2f39f015ded8: Pull complete 23:42:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:38 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:42:38 23:42:38 GitHub has been notified of this commit’s build result 23:42:38 23:42:38 $ 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 23:42:39 $ docker top bf791ff184eafb6d463b0b23151d5f38ad804b53f3048edc9c1a8ad6d45c3428 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:40 ---> job-cost.sh 23:42:40 lf-activate-venv: SKIPPING 23:42:40 INFO: No Stack... 23:42:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:42:40 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:40 Dload Upload Total Spent Left Speed 23:42:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 23:42:40 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 23:42:41 INFO: Archiving Costs [Pipeline] sh 23:42:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:42:41 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:42:41 + cut -d, -f6 [Pipeline] lock 23:42:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] 23:42:41 Resource [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] did not exist. Created. 23:42:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:41 + sudo tee /etc/docker/daemon.new 23:42:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:42:41 { 23:42:41 "registry-mirrors": [ 23:42:41 "https://nexus3.edgexfoundry.org:10001" 23:42:41 ], 23:42:41 "bip": "10.250.0.254/24", 23:42:41 "hosts": [ 23:42:41 "tcp://0.0.0.0:5555", 23:42:41 "unix:///var/run/docker.sock" 23:42:41 ], 23:42:41 "mtu": 1458, 23:42:41 "selinux-enabled": true, 23:42:41 "seccomp-profile": "/etc/docker/seccomp.json" 23:42:41 } [Pipeline] sh 23:42:41 + echo total: 0.2199999988079071 [Pipeline] stash 23:42:41 Stashed 1 file(s) [Pipeline] } 23:42:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:41 $ docker stop --time=1 bf791ff184eafb6d463b0b23151d5f38ad804b53f3048edc9c1a8ad6d45c3428 23:42:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 23:42:42 $ docker rm -f --volumes bf791ff184eafb6d463b0b23151d5f38ad804b53f3048edc9c1a8ad6d45c3428 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:42:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:01 provisioning config files... 23:43:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/131@tmp/config5772581507069639785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:01 ---> docker-login.sh 23:43:01 nexus3.edgexfoundry.org:10001 23:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:02 Configure a credential helper to remove this warning. See 23:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:02 23:43:02 Login Succeeded 23:43:02 nexus3.edgexfoundry.org:10002 23:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:02 Configure a credential helper to remove this warning. See 23:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:02 23:43:02 Login Succeeded 23:43:02 nexus3.edgexfoundry.org:10003 23:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 nexus3.edgexfoundry.org:10004 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 docker.io 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:04 Configure a credential helper to remove this warning. See 23:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:04 23:43:04 Login Succeeded 23:43:04 ---> docker-login.sh ends [Pipeline] } 23:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:04 ========================================================= 23:43:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:43:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:04 + 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 . 23:43:04 Sending build context to Docker daemon 14.17MB 23:43:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:43:05 Step 2/13 : FROM ${BASE} AS builder 23:43:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:43:05 c41833b44d91: Pulling fs layer 23:43:05 ed15518f5707: Pulling fs layer 23:43:05 feae8fd75edb: Pulling fs layer 23:43:05 242c74f7c9fa: Pulling fs layer 23:43:05 3cdef696dda3: Pulling fs layer 23:43:05 2ced38df9373: Pulling fs layer 23:43:05 58f1dce35555: Pulling fs layer 23:43:05 242c74f7c9fa: Waiting 23:43:05 3cdef696dda3: Waiting 23:43:05 2ced38df9373: Waiting 23:43:05 58f1dce35555: Waiting 23:43:05 ed15518f5707: Verifying Checksum 23:43:05 ed15518f5707: Download complete 23:43:05 242c74f7c9fa: Verifying Checksum 23:43:05 242c74f7c9fa: Download complete 23:43:05 3cdef696dda3: Verifying Checksum 23:43:05 3cdef696dda3: Download complete 23:43:05 c41833b44d91: Verifying Checksum 23:43:05 c41833b44d91: Download complete 23:43:06 c41833b44d91: Pull complete 23:43:06 58f1dce35555: Verifying Checksum 23:43:06 58f1dce35555: Download complete 23:43:07 ed15518f5707: Pull complete 23:43:08 feae8fd75edb: Verifying Checksum 23:43:08 feae8fd75edb: Download complete 23:43:08 2ced38df9373: Verifying Checksum 23:43:08 2ced38df9373: Download complete 23:43:18 feae8fd75edb: Pull complete 23:43:18 242c74f7c9fa: Pull complete 23:43:18 3cdef696dda3: Pull complete 23:43:24 2ced38df9373: Pull complete 23:43:26 58f1dce35555: Pull complete 23:43:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:43:26 ---> fadd8f120f05 23:43:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:43:28 ---> Running in 60ba749234df 23:43:28 Removing intermediate container 60ba749234df 23:43:28 ---> dc9985ce09b8 23:43:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:28 ---> Running in 602cd9612dcb 23:43:28 Removing intermediate container 602cd9612dcb 23:43:28 ---> 43d9b1cac869 23:43:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:43:28 ---> Running in 76ba64606661 23:43:28 Removing intermediate container 76ba64606661 23:43:28 ---> 2a1f8371c818 23:43:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:43:29 ---> Running in 10d11ca784fe 23:43:29 Removing intermediate container 10d11ca784fe 23:43:29 ---> a16963cda56a 23:43:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:43:29 ---> Running in bb659e9cc9aa 23:43:29 Removing intermediate container bb659e9cc9aa 23:43:29 ---> ed496c875404 23:43:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:29 ---> Running in fee4cdc77db7 23:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:43:32 OK: 263 MiB in 53 packages 23:43:33 Removing intermediate container fee4cdc77db7 23:43:33 ---> 66e1f50a23e0 23:43:33 Step 9/13 : WORKDIR /device-onvif-camera 23:43:33 ---> Running in 4b4aeec809b5 23:43:33 Removing intermediate container 4b4aeec809b5 23:43:33 ---> a5c0bc2e000e 23:43:33 Step 10/13 : COPY go.mod vendor* ./ 23:43:37 ---> 61219d2e11ee 23:43:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:37 ---> Running in 12315718c5d8 23:44:45 Removing intermediate container 12315718c5d8 23:44:45 ---> bdfe16e2c7c4 23:44:45 Step 12/13 : COPY . . 23:44:45 ---> 5815d52af29d 23:44:45 Step 13/13 : RUN ${MAKE} 23:44:45 ---> Running in 29471a02f370 23:44:45 noop 23:44:45 Removing intermediate container 29471a02f370 23:44:45 ---> 3c2fea3a0909 23:44:45 Successfully built 3c2fea3a0909 23:44:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:45 + docker inspect -f . ci-base-image-arm64 23:44:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:45 prd-ubuntu20.04-docker-arm64-4c-16g-12647 does not seem to be running inside a container 23:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/131 -v /w/workspace/device-onvif-camera/131:/w/workspace/device-onvif-camera/131:rw,z -v /w/workspace/device-onvif-camera/131@tmp:/w/workspace/device-onvif-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:46 $ docker top dc9dc96ee21ab1ad30f3046e7ba0d73b2b206964bad3de987e110137884df01a -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:47 + go version 23:44:47 go version go1.20.2 linux/arm64 [Pipeline] } 23:44:47 $ docker stop --time=1 dc9dc96ee21ab1ad30f3046e7ba0d73b2b206964bad3de987e110137884df01a 23:44:49 $ docker rm -f --volumes dc9dc96ee21ab1ad30f3046e7ba0d73b2b206964bad3de987e110137884df01a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:50 + docker inspect -f . ci-base-image-arm64 23:44:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:50 prd-ubuntu20.04-docker-arm64-4c-16g-12647 does not seem to be running inside a container 23:44:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/131 -v /w/workspace/device-onvif-camera/131:/w/workspace/device-onvif-camera/131:rw,z -v /w/workspace/device-onvif-camera/131@tmp:/w/workspace/device-onvif-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:51 $ docker top 0bdd7d508571624e62a47f661c6c455d346609f4c50b77bf026f8cc9d49e4509 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:51 + git config --global --add safe.directory /w/workspace/device-onvif-camera/131 [Pipeline] fileExists [Pipeline] sh 23:44:52 + make test 23:44:52 go test ./... -coverprofile=coverage.out ./... 23:45:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:47:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:47:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:47:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.1% of statements 23:48:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.478s coverage: 86.5% of statements 23:48:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:48:20 go vet ./... 23:48:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:48:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:48:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:48:52 $ docker stop --time=1 0bdd7d508571624e62a47f661c6c455d346609f4c50b77bf026f8cc9d49e4509 23:48:54 $ docker rm -f --volumes 0bdd7d508571624e62a47f661c6c455d346609f4c50b77bf026f8cc9d49e4509 [Pipeline] // withDockerContainer [Pipeline] sh 23:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:48:55 Warning: overwriting stash ‘coverage-report’ 23:48:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:48:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:48:57 + ls -al . 23:48:57 total 228 23:48:57 drwxrwxr-x 9 jenkins jenkins 4096 May 3 23:44 . 23:48:57 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 .. 23:48:57 drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:42 .git 23:48:57 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:42 .github 23:48:57 -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:42 .gitignore 23:48:57 -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:42 .golangci.yml 23:48:57 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 23:42 Attribution.txt 23:48:57 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 23:42 CHANGELOG.md 23:48:57 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 23:42 Dockerfile 23:48:57 -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:42 GOVERNANCE.md 23:48:57 -rw-rw-r-- 1 jenkins jenkins 734 May 3 23:42 Jenkinsfile 23:48:57 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:42 LICENSE 23:48:57 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 23:42 Makefile 23:48:57 -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:42 OWNERS.md 23:48:57 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 23:42 README.md 23:48:57 -rw-rw-r-- 1 jenkins jenkins 12 May 3 23:40 VERSION 23:48:57 drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:42 bin 23:48:57 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:42 cmd 23:48:57 -rw-r--r-- 1 jenkins jenkins 79191 May 3 23:48 coverage.out 23:48:57 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 doc 23:48:57 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 23:42 go.mod 23:48:57 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 23:42 go.sum 23:48:57 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 internal 23:48:57 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:42 snap 23:48:57 -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:57 + 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=a5100156d942d3e2ec7c51a96dce7156478cbb52 --label arch=arm64 --label version=3.0.0-dev.36 . 23:48:58 Sending build context to Docker daemon 14.25MB 23:48:58 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:48:58 Step 2/26 : FROM ${BASE} AS builder 23:48:58 ---> 3c2fea3a0909 23:48:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:48:58 ---> Running in 9148f7a519e7 23:48:58 Removing intermediate container 9148f7a519e7 23:48:58 ---> e2766ca1627b 23:48:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:58 ---> Running in 5ff3953723ed 23:48:58 Removing intermediate container 5ff3953723ed 23:48:58 ---> 08f520ce6a67 23:48:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:48:59 ---> Running in 4d89ce26c167 23:48:59 Removing intermediate container 4d89ce26c167 23:48:59 ---> c5d614ad2128 23:48:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:48:59 ---> Running in 550afd2424f1 23:48:59 Removing intermediate container 550afd2424f1 23:48:59 ---> 10b443461dad 23:48:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:48:59 ---> Running in 61926d4223c8 23:49:00 Removing intermediate container 61926d4223c8 23:49:00 ---> 97f83bcee8a8 23:49:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:49:00 ---> Running in 4b9e19df3df3 23:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:49:03 OK: 263 MiB in 53 packages 23:49:04 Removing intermediate container 4b9e19df3df3 23:49:04 ---> ff4536013a96 23:49:04 Step 9/26 : WORKDIR /device-onvif-camera 23:49:04 ---> Running in 8c6157d813ce 23:49:04 Removing intermediate container 8c6157d813ce 23:49:04 ---> 422bdb5e7127 23:49:04 Step 10/26 : COPY go.mod vendor* ./ 23:49:05 ---> ad71bbefb12a 23:49:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:05 ---> Running in 49e7914f5569 23:49:07 Removing intermediate container 49e7914f5569 23:49:07 ---> f3af1e45b7d4 23:49:07 Step 12/26 : COPY . . 23:49:09 ---> c3cbb7326cf5 23:49:09 Step 13/26 : RUN ${MAKE} 23:49:13 ---> Running in dbde2b0f91bd 23:49:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:52:05 Removing intermediate container dbde2b0f91bd 23:52:05 ---> 2d6b8efac82a 23:52:05 Step 14/26 : FROM alpine:3.17 23:52:05 3.17: Pulling from library/alpine 23:52:05 c41833b44d91: Already exists 23:52:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:52:05 Status: Downloaded newer image for alpine:3.17 23:52:05 ---> 51e60588ff2c 23:52:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:52:05 ---> Running in b0f640a6c83d 23:52:05 Removing intermediate container b0f640a6c83d 23:52:05 ---> 8170ec2c9713 23:52:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:52:05 ---> Running in 40663042eab3 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:52:05 (1/1) Installing dumb-init (1.2.5-r2) 23:52:05 Executing busybox-1.35.0-r29.trigger 23:52:05 OK: 8 MiB in 16 packages 23:52:05 Removing intermediate container 40663042eab3 23:52:05 ---> 9a8c2e0605b2 23:52:05 Step 17/26 : WORKDIR / 23:52:05 ---> Running in c7c89793a978 23:52:05 Removing intermediate container c7c89793a978 23:52:05 ---> cf2bec4ccd8a 23:52:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:52:07 ---> eed5fba2c3d2 23:52:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:52:07 ---> 92bfb360d950 23:52:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:52:08 ---> ad1d321c21f5 23:52:08 Step 21/26 : EXPOSE 59984 23:52:08 ---> Running in a6b67d87a34d 23:52:08 Removing intermediate container a6b67d87a34d 23:52:08 ---> 9568e6fc9e39 23:52:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:52:09 ---> Running in d442b88a6bd7 23:52:09 Removing intermediate container d442b88a6bd7 23:52:09 ---> f34f1baa481e 23:52:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:52:09 ---> Running in df6fd6c34c0f 23:52:09 Removing intermediate container df6fd6c34c0f 23:52:09 ---> 47d6defdd445 23:52:09 Step 24/26 : LABEL arch=arm64 23:52:09 ---> Running in ef255895a4f1 23:52:09 Removing intermediate container ef255895a4f1 23:52:09 ---> f87d6ddd7834 23:52:09 Step 25/26 : LABEL git_sha=a5100156d942d3e2ec7c51a96dce7156478cbb52 23:52:10 ---> Running in d76760a292e0 23:52:10 Removing intermediate container d76760a292e0 23:52:10 ---> a5a49a251156 23:52:10 Step 26/26 : LABEL version=3.0.0-dev.36 23:52:10 ---> Running in c9c39dc641c3 23:52:10 Removing intermediate container c9c39dc641c3 23:52:10 ---> 46a3b7dd9fa8 23:52:10 [Warning] One or more build-args [ARCH] were not consumed 23:52:10 Successfully built 46a3b7dd9fa8 23:52:10 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:11 provisioning config files... 23:52:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/131@tmp/config13259370185776753891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:11 ---> docker-login.sh 23:52:11 nexus3.edgexfoundry.org:10001 23:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:11 Configure a credential helper to remove this warning. See 23:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:11 23:52:11 Login Succeeded 23:52:11 nexus3.edgexfoundry.org:10002 23:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:12 Configure a credential helper to remove this warning. See 23:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:12 23:52:12 Login Succeeded 23:52:12 nexus3.edgexfoundry.org:10003 23:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:12 Configure a credential helper to remove this warning. See 23:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:12 23:52:12 Login Succeeded 23:52:12 nexus3.edgexfoundry.org:10004 23:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:13 Configure a credential helper to remove this warning. See 23:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:13 23:52:13 Login Succeeded 23:52:13 docker.io 23:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:13 Configure a credential helper to remove this warning. See 23:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:13 23:52:13 Login Succeeded 23:52:13 ---> docker-login.sh ends [Pipeline] } 23:52:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:13 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:52:13 a5100156d942d3e2ec7c51a96dce7156478cbb52 23:52:13 latest 23:52:13 3.0.0-dev.36 23:52:13 a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:52:13 main 23:52:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52 23:52:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:52:14 e4a78991cdfa: Preparing 23:52:14 44b03713f395: Preparing 23:52:14 13aa4c93c763: Preparing 23:52:14 3ddb041a81d0: Preparing 23:52:14 26cbea5cba74: Preparing 23:52:14 26cbea5cba74: Layer already exists 23:52:14 44b03713f395: Pushed 23:52:14 e4a78991cdfa: Pushed 23:52:14 3ddb041a81d0: Pushed 23:52:20 13aa4c93c763: Pushed 23:52:20 a5100156d942d3e2ec7c51a96dce7156478cbb52: digest: sha256:d1876885cf153759c759f763ddc7566a071d4f23eeca6441a90c8c8d0e64cc50 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:52:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:52:21 e4a78991cdfa: Preparing 23:52:21 44b03713f395: Preparing 23:52:21 13aa4c93c763: Preparing 23:52:21 3ddb041a81d0: Preparing 23:52:21 26cbea5cba74: Preparing 23:52:21 44b03713f395: Layer already exists 23:52:21 26cbea5cba74: Layer already exists 23:52:21 e4a78991cdfa: Layer already exists 23:52:21 13aa4c93c763: Layer already exists 23:52:21 3ddb041a81d0: Layer already exists 23:52:21 latest: digest: sha256:d1876885cf153759c759f763ddc7566a071d4f23eeca6441a90c8c8d0e64cc50 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:21 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.36 23:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:52:22 e4a78991cdfa: Preparing 23:52:22 44b03713f395: Preparing 23:52:22 13aa4c93c763: Preparing 23:52:22 3ddb041a81d0: Preparing 23:52:22 26cbea5cba74: Preparing 23:52:22 13aa4c93c763: Layer already exists 23:52:22 44b03713f395: Layer already exists 23:52:22 e4a78991cdfa: Layer already exists 23:52:22 26cbea5cba74: Layer already exists 23:52:22 3ddb041a81d0: Layer already exists 23:52:22 3.0.0-dev.36: digest: sha256:d1876885cf153759c759f763ddc7566a071d4f23eeca6441a90c8c8d0e64cc50 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:52:23 e4a78991cdfa: Preparing 23:52:23 44b03713f395: Preparing 23:52:23 13aa4c93c763: Preparing 23:52:23 3ddb041a81d0: Preparing 23:52:23 26cbea5cba74: Preparing 23:52:23 26cbea5cba74: Layer already exists 23:52:23 3ddb041a81d0: Layer already exists 23:52:23 44b03713f395: Layer already exists 23:52:23 13aa4c93c763: Layer already exists 23:52:23 e4a78991cdfa: Layer already exists 23:52:23 a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36: digest: sha256:d1876885cf153759c759f763ddc7566a071d4f23eeca6441a90c8c8d0e64cc50 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:52:24 e4a78991cdfa: Preparing 23:52:24 44b03713f395: Preparing 23:52:24 13aa4c93c763: Preparing 23:52:24 3ddb041a81d0: Preparing 23:52:24 26cbea5cba74: Preparing 23:52:24 44b03713f395: Layer already exists 23:52:24 26cbea5cba74: Layer already exists 23:52:24 13aa4c93c763: Layer already exists 23:52:24 e4a78991cdfa: Layer already exists 23:52:24 3ddb041a81d0: Layer already exists 23:52:24 main: digest: sha256:d1876885cf153759c759f763ddc7566a071d4f23eeca6441a90c8c8d0e64cc50 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:52:24 ===================================================== [Pipeline] echo 23:52:24 taggedImages: 23:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52 23:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.36 23:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a5100156d942d3e2ec7c51a96dce7156478cbb52-3.0.0-dev.36 23:52:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:24 23:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:25 arm64: Pulling from edgex-lftools-log-publisher 23:52:25 8998bd30e6a1: Pulling fs layer 23:52:25 04944245beec: Pulling fs layer 23:52:25 699f458cf7ca: Pulling fs layer 23:52:25 765212b225bb: Pulling fs layer 23:52:25 f23df028b6ca: Pulling fs layer 23:52:25 d65c8cfc05b1: Pulling fs layer 23:52:25 2437ff75d9bd: Pulling fs layer 23:52:25 765212b225bb: Waiting 23:52:25 f23df028b6ca: Waiting 23:52:25 d65c8cfc05b1: Waiting 23:52:25 2437ff75d9bd: Waiting 23:52:25 04944245beec: Verifying Checksum 23:52:25 04944245beec: Download complete 23:52:25 765212b225bb: Verifying Checksum 23:52:25 765212b225bb: Download complete 23:52:25 f23df028b6ca: Download complete 23:52:25 d65c8cfc05b1: Verifying Checksum 23:52:25 d65c8cfc05b1: Download complete 23:52:25 699f458cf7ca: Verifying Checksum 23:52:25 699f458cf7ca: Download complete 23:52:25 8998bd30e6a1: Verifying Checksum 23:52:25 8998bd30e6a1: Download complete 23:52:28 2437ff75d9bd: Verifying Checksum 23:52:28 2437ff75d9bd: Download complete 23:52:32 8998bd30e6a1: Pull complete 23:52:33 04944245beec: Pull complete 23:52:34 699f458cf7ca: Pull complete 23:52:34 765212b225bb: Pull complete 23:52:35 f23df028b6ca: Pull complete 23:52:35 d65c8cfc05b1: Pull complete 23:52:50 2437ff75d9bd: Pull complete 23:52:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-12647 does not seem to be running inside a container 23:52: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/131 -v /w/workspace/device-onvif-camera/131:/w/workspace/device-onvif-camera/131:rw,z -v /w/workspace/device-onvif-camera/131@tmp:/w/workspace/device-onvif-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:52:54 $ docker top 411a8ac2a047a72d8a0c8176a7e52596010f4f3f70dae5246319faf3bc55604b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:54 ---> job-cost.sh 23:52:54 lf-activate-venv: SKIPPING 23:52:54 INFO: No Stack... 23:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 23:52:56 INFO: Archiving Costs [Pipeline] sh 23:52:56 + cat /w/workspace/device-onvif-camera/131/archives/cost.csv 23:52:56 + cut -d, -f6 [Pipeline] lock 23:52:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] 23:52:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] did not exist. Created. 23:52:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:57 /w/workspace/device-onvif-camera/131@tmp/durable-27612629/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:52:58 + echo total: 0.10999999940395355 [Pipeline] stash 23:52:58 Warning: overwriting stash ‘stack-cost’ 23:52:58 Stashed 1 file(s) [Pipeline] } 23:52:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-131-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:58 $ docker stop --time=1 411a8ac2a047a72d8a0c8176a7e52596010f4f3f70dae5246319faf3bc55604b 23:52:59 $ docker rm -f --volumes 411a8ac2a047a72d8a0c8176a7e52596010f4f3f70dae5246319faf3bc55604b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:53:00 provisioning config files... 23:53:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5240735399549225800tmp [Pipeline] { [Pipeline] sh 23:53:00 + set +x 23:53:00 + curl -s https://codecov.io/bash 23:53:00 + bash -s -- 23:53:00 23:53:00 _____ _ 23:53:00 / ____| | | 23:53:00 | | ___ __| | ___ ___ _____ __ 23:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 23:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 23:53:00 Bash-1.0.6 23:53:00 23:53:00 23:53:00 ==> git version 2.25.1 found 23:53: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 23:53:00 Release-Date: 2020-01-08 23:53: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 23:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:53:00 ==> Jenkins CI detected. 23:53:00 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:53:00 project root: . 23:53:00 --> token set from env 23:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:53:00 ==> Running gcov in . (disable via -X gcov) 23:53:00 ==> Python coveragepy not found 23:53:00 ==> Searching for coverage reports in: 23:53:00 + . 23:53:00 -> Found 1 reports 23:53:00 ==> Detecting git/mercurial file structure 23:53:00 ==> Reading reports 23:53:00 + ./coverage.out bytes=79191 23:53:00 ==> Appending adjustments 23:53:00 https://docs.codecov.io/docs/fixing-reports 23:53:01 + Found adjustments 23:53:01 ==> Gzipping contents 23:53:01 12K /tmp/codecov.MZ3jUP.gz 23:53:01 ==> Uploading reports 23:53:01 url: https://codecov.io 23:53:01 query: branch=main&commit=a5100156d942d3e2ec7c51a96dce7156478cbb52&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:53:01 -> Pinging Codecov 23:53:01 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=a5100156d942d3e2ec7c51a96dce7156478cbb52&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:53:01 -> Uploading to 23:53:01 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/F29A59C45E3A92E06B3E522C9905F8EF/a5100156d942d3e2ec7c51a96dce7156478cbb52/68b342e3-9fae-436d-a3db-f5e2d7e0d7fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T235300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bdadab47f45f00098bfd14ff94cef587d57f78ac9cf8bce42bf06c1c7372516 23:53:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:53:01 Dload Upload Total Spent Left Speed 23:53:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 41738 --:--:-- --:--:-- --:--:-- 41738 23:53:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] } 23:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:53:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:53:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:53:01 23:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:53:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:53:02 df9b9388f04a: Pulling fs layer 23:53:02 52dc419b0ee2: Pulling fs layer 23:53:02 25bc292e5bac: Pulling fs layer 23:53:02 114826534d7a: Pulling fs layer 23:53:02 4657fd5d0bcf: Pulling fs layer 23:53:02 6ad1cebc031e: Pulling fs layer 23:53:02 8a3aa393b2d8: Pulling fs layer 23:53:02 4657fd5d0bcf: Waiting 23:53:02 6ad1cebc031e: Waiting 23:53:02 114826534d7a: Waiting 23:53:02 25bc292e5bac: Verifying Checksum 23:53:02 25bc292e5bac: Download complete 23:53:02 52dc419b0ee2: Download complete 23:53:02 4657fd5d0bcf: Verifying Checksum 23:53:02 4657fd5d0bcf: Download complete 23:53:02 df9b9388f04a: Download complete 23:53:02 6ad1cebc031e: Verifying Checksum 23:53:02 6ad1cebc031e: Download complete 23:53:02 df9b9388f04a: Pull complete 23:53:02 52dc419b0ee2: Pull complete 23:53:02 25bc292e5bac: Pull complete 23:53:02 114826534d7a: Verifying Checksum 23:53:02 114826534d7a: Download complete 23:53:02 8a3aa393b2d8: Verifying Checksum 23:53:02 8a3aa393b2d8: Download complete 23:53:06 114826534d7a: Pull complete 23:53:06 4657fd5d0bcf: Pull complete 23:53:06 6ad1cebc031e: Pull complete 23:53:08 8a3aa393b2d8: Pull complete 23:53:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:53:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:08 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:08 $ 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 23:53:10 $ docker top 943670b0ec0396138ea10bb96176b98d9b4eb4e1242ef74b160334b1d909f068 -eo pid,comm [Pipeline] { [Pipeline] echo 23:53:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:53:10 + set -o pipefail 23:53:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:53:16 23:53:16 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:53:16 23:53:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/e4ca4396-c259-475c-a028-f9e190465d7d 23:53:16 23:53:16 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:53:16 23:53:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:53:16 23:53:16 23:53:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:53:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:53:16 More details here: https://snyk.co/ue1NS 23:53:16 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 23:53:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 23:53:16 $ docker stop --time=1 943670b0ec0396138ea10bb96176b98d9b4eb4e1242ef74b160334b1d909f068 23:53:18 $ docker rm -f --volumes 943670b0ec0396138ea10bb96176b98d9b4eb4e1242ef74b160334b1d909f068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 23:53:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:18 provisioning config files... 23:53:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6910680695486169872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:18 --> edgex-publish-swagger.sh 23:53:18 === Publish doc/openapi/v2 API === 23:53:18 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:53:18 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:53:18 % Total % Received % Xferd Average Speed Time Time Time Current 23:53:18 Dload Upload Total Spent Left Speed 23:53:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 647k --:--:-- --:--:-- --:--:-- 646k 23:53:19 23:53:19 [Pipeline] } 23:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:19 + git log --format=format:%s -1 a5100156d942d3e2ec7c51a96dce7156478cbb52 [Pipeline] sh 23:53:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:20 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:20 $ 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 23:53:20 $ docker top 71332648e4d0345d5198d353005d8c7a28ae4173aeb8e7bf07d4b752d0f576df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:20 [ssh-agent] Looking for ssh-agent implementation... 23:53:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:21 $ docker exec 71332648e4d0345d5198d353005d8c7a28ae4173aeb8e7bf07d4b752d0f576df ssh-agent 23:53:21 SSH_AUTH_SOCK=/tmp/ssh-fGD8S1y47Dkt/agent.33 23:53:21 SSH_AGENT_PID=39 23:53:21 Running ssh-add (command line suppressed) 23:53:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1965498271077420400.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1965498271077420400.key) 23:53:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:21 + git semver tag 23:53:21 2023-05-03 23:53:21,726 [run_tag] DEBUG tag force:False 23:53:21 2023-05-03 23:53:21,727 [check_head_tag] DEBUG check head tag 23:53:21 2023-05-03 23:53:21,728 [execute] INFO git cat-file --batch-check 23:53:21 2023-05-03 23:53:21,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:53:21 2023-05-03 23:53:21,732 [execute] INFO git cat-file --batch 23:53:21 2023-05-03 23:53:21,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:53:21 2023-05-03 23:53:21,763 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:21 2023-05-03 23:53:21,763 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 23:53:21 2023-05-03 23:53:21,763 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:53:21 2023-05-03 23:53:21,768 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:21 3.0.0-dev.36 [Pipeline] } 23:53:21 $ docker exec --env ******** --env ******** 71332648e4d0345d5198d353005d8c7a28ae4173aeb8e7bf07d4b752d0f576df ssh-agent -k 23:53:21 unset SSH_AUTH_SOCK; 23:53:21 unset SSH_AGENT_PID; 23:53:21 echo Agent pid 39 killed; 23:53:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:22 + git semver [Pipeline] } 23:53:22 $ docker stop --time=1 71332648e4d0345d5198d353005d8c7a28ae4173aeb8e7bf07d4b752d0f576df 23:53:23 $ docker rm -f --volumes 71332648e4d0345d5198d353005d8c7a28ae4173aeb8e7bf07d4b752d0f576df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:53:24 23:53:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:53:24 0.23.1-centos7: Pulling from edgex-lftools 23:53:24 ab5ef0e58194: Pulling fs layer 23:53:24 9712f1f96733: Pulling fs layer 23:53:24 63f879dbbcfc: Pulling fs layer 23:53:24 0d9ebad4ef96: Pulling fs layer 23:53:24 e9a5061849ea: Pulling fs layer 23:53:24 d747dcd14b5f: Pulling fs layer 23:53:24 2de7ff778b66: Pulling fs layer 23:53:24 0d9ebad4ef96: Waiting 23:53:24 d747dcd14b5f: Waiting 23:53:24 2de7ff778b66: Waiting 23:53:24 e9a5061849ea: Waiting 23:53:24 9712f1f96733: Download complete 23:53:24 63f879dbbcfc: Verifying Checksum 23:53:24 63f879dbbcfc: Download complete 23:53:24 e9a5061849ea: Verifying Checksum 23:53:24 e9a5061849ea: Download complete 23:53:24 d747dcd14b5f: Verifying Checksum 23:53:24 d747dcd14b5f: Download complete 23:53:24 0d9ebad4ef96: Verifying Checksum 23:53:24 0d9ebad4ef96: Download complete 23:53:24 ab5ef0e58194: Verifying Checksum 23:53:24 ab5ef0e58194: Download complete 23:53:24 2de7ff778b66: Verifying Checksum 23:53:24 2de7ff778b66: Download complete 23:53:27 ab5ef0e58194: Pull complete 23:53:27 9712f1f96733: Pull complete 23:53:28 63f879dbbcfc: Pull complete 23:53:31 0d9ebad4ef96: Pull complete 23:53:31 e9a5061849ea: Pull complete 23:53:31 d747dcd14b5f: Pull complete 23:53:32 2de7ff778b66: Pull complete 23:53:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:32 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:32 $ 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 23:53:34 $ docker top 7e6352e52b2260290a2cbe0b5188d405ddeb0763548f0aa240daffee54485d7f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:53:34 provisioning config files... 23:53:34 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16545101374736666411tmp 23:53:34 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5087371051983268252tmp 23:53:34 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16417773435486073759tmp [Pipeline] { [Pipeline] echo 23:53:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:53:34 ---> sigul-configuration.sh 23:53:34 gpg: directory `/root/.gnupg' created 23:53:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:53:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:53:34 gpg: keyring `/root/.gnupg/secring.gpg' created 23:53:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:53:34 gpg: CAST5 encrypted data 23:53:34 gpg: encrypted with 1 passphrase 23:53:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:53:35 + mkdir /home/jenkins 23:53:35 + mkdir /home/jenkins/sigul [Pipeline] sh 23:53:35 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:53:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:53:35 ---> sigul-install.sh 23:53:35 Sigul already installed; skipping installation. [Pipeline] sh 23:53:36 + git tag --list 23:53:36 v0.0.0 23:53:36 v0.0.1-dev.1 23:53:36 v0.0.1-dev.10 23:53:36 v0.0.1-dev.11 23:53:36 v0.0.1-dev.12 23:53:36 v0.0.1-dev.13 23:53:36 v0.0.1-dev.14 23:53:36 v0.0.1-dev.15 23:53:36 v0.0.1-dev.16 23:53:36 v0.0.1-dev.17 23:53:36 v0.0.1-dev.18 23:53:36 v0.0.1-dev.19 23:53:36 v0.0.1-dev.2 23:53:36 v0.0.1-dev.20 23:53:36 v0.0.1-dev.21 23:53:36 v0.0.1-dev.22 23:53:36 v0.0.1-dev.23 23:53:36 v0.0.1-dev.24 23:53:36 v0.0.1-dev.25 23:53:36 v0.0.1-dev.26 23:53:36 v0.0.1-dev.27 23:53:36 v0.0.1-dev.28 23:53:36 v0.0.1-dev.3 23:53:36 v0.0.1-dev.4 23:53:36 v0.0.1-dev.5 23:53:36 v0.0.1-dev.6 23:53:36 v0.0.1-dev.7 23:53:36 v0.0.1-dev.8 23:53:36 v0.0.1-dev.9 23:53:36 v2.2.0 23:53:36 v2.2.0-dev.29 23:53:36 v2.2.0-dev.30 23:53:36 v2.2.0-dev.31 23:53:36 v2.2.0-dev.32 23:53:36 v2.2.0-dev.33 23:53:36 v2.2.0-dev.34 23:53:36 v2.2.0-dev.35 23:53:36 v2.3.0 23:53:36 v2.3.0-dev.1 23:53:36 v2.3.0-dev.10 23:53:36 v2.3.0-dev.11 23:53:36 v2.3.0-dev.12 23:53:36 v2.3.0-dev.13 23:53:36 v2.3.0-dev.14 23:53:36 v2.3.0-dev.15 23:53:36 v2.3.0-dev.16 23:53:36 v2.3.0-dev.17 23:53:36 v2.3.0-dev.18 23:53:36 v2.3.0-dev.19 23:53:36 v2.3.0-dev.2 23:53:36 v2.3.0-dev.20 23:53:36 v2.3.0-dev.21 23:53:36 v2.3.0-dev.22 23:53:36 v2.3.0-dev.23 23:53:36 v2.3.0-dev.24 23:53:36 v2.3.0-dev.25 23:53:36 v2.3.0-dev.26 23:53:36 v2.3.0-dev.27 23:53:36 v2.3.0-dev.28 23:53:36 v2.3.0-dev.29 23:53:36 v2.3.0-dev.3 23:53:36 v2.3.0-dev.30 23:53:36 v2.3.0-dev.31 23:53:36 v2.3.0-dev.32 23:53:36 v2.3.0-dev.33 23:53:36 v2.3.0-dev.34 23:53:36 v2.3.0-dev.35 23:53:36 v2.3.0-dev.36 23:53:36 v2.3.0-dev.37 23:53:36 v2.3.0-dev.38 23:53:36 v2.3.0-dev.39 23:53:36 v2.3.0-dev.4 23:53:36 v2.3.0-dev.40 23:53:36 v2.3.0-dev.41 23:53:36 v2.3.0-dev.42 23:53:36 v2.3.0-dev.43 23:53:36 v2.3.0-dev.44 23:53:36 v2.3.0-dev.45 23:53:36 v2.3.0-dev.5 23:53:36 v2.3.0-dev.6 23:53:36 v2.3.0-dev.7 23:53:36 v2.3.0-dev.8 23:53:36 v2.3.0-dev.9 23:53:36 v2.3.1 23:53:36 v2.3.1-dev.1 23:53:36 v2.3.1-dev.4 23:53:36 v2.3.1-dev.5 23:53:36 v3.0.0-dev.1 23:53:36 v3.0.0-dev.10 23:53:36 v3.0.0-dev.11 23:53:36 v3.0.0-dev.12 23:53:36 v3.0.0-dev.13 23:53:36 v3.0.0-dev.14 23:53:36 v3.0.0-dev.15 23:53:36 v3.0.0-dev.16 23:53:36 v3.0.0-dev.17 23:53:36 v3.0.0-dev.18 23:53:36 v3.0.0-dev.19 23:53:36 v3.0.0-dev.2 23:53:36 v3.0.0-dev.20 23:53:36 v3.0.0-dev.21 23:53:36 v3.0.0-dev.22 23:53:36 v3.0.0-dev.23 23:53:36 v3.0.0-dev.24 23:53:36 v3.0.0-dev.25 23:53:36 v3.0.0-dev.26 23:53:36 v3.0.0-dev.27 23:53:36 v3.0.0-dev.28 23:53:36 v3.0.0-dev.29 23:53:36 v3.0.0-dev.3 23:53:36 v3.0.0-dev.30 23:53:36 v3.0.0-dev.31 23:53:36 v3.0.0-dev.32 23:53:36 v3.0.0-dev.33 23:53:36 v3.0.0-dev.34 23:53:36 v3.0.0-dev.35 23:53:36 v3.0.0-dev.36 23:53:36 v3.0.0-dev.4 23:53:36 v3.0.0-dev.5 23:53:36 v3.0.0-dev.6 23:53:36 v3.0.0-dev.7 23:53:36 v3.0.0-dev.8 23:53:36 v3.0.0-dev.9 [Pipeline] sh 23:53:36 + lftools sign git-tag v3.0.0-dev.36 23:53:36 Signing Git tag with Sigul... 23:53:36 Signing v3.0.0-dev.36 [Pipeline] echo 23:53:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:53:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:53:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:53:37 $ docker stop --time=1 7e6352e52b2260290a2cbe0b5188d405ddeb0763548f0aa240daffee54485d7f 23:53:38 $ docker rm -f --volumes 7e6352e52b2260290a2cbe0b5188d405ddeb0763548f0aa240daffee54485d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:53:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:39 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:39 $ 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 23:53:39 $ docker top ea015ae3c763df26b8febc50ff64330c8882f4cd9b5b526dd7fd13422b8970f6 -eo pid,comm 23:53:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:53:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:39 [ssh-agent] Looking for ssh-agent implementation... 23:53:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:40 $ docker exec ea015ae3c763df26b8febc50ff64330c8882f4cd9b5b526dd7fd13422b8970f6 ssh-agent 23:53:40 SSH_AUTH_SOCK=/tmp/ssh-vlBS6EaAn2H6/agent.32 23:53:40 SSH_AGENT_PID=38 23:53:40 Running ssh-add (command line suppressed) 23:53:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7138636435611782920.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7138636435611782920.key) 23:53:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:40 + git semver bump pre 23:53:40 2023-05-03 23:53:40,716 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:40 2023-05-03 23:53:40,717 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev 23:53:40 2023-05-03 23:53:40,717 [bump_version] DEBUG bumped version:3.0.0-dev.37 23:53:40 2023-05-03 23:53:40,717 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:53:40 2023-05-03 23:53:40,717 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:40 2023-05-03 23:53:40,717 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:40 2023-05-03 23:53:40,719 [execute] INFO git cat-file --batch-check 23:53:40 2023-05-03 23:53:40,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:53:40 2023-05-03 23:53:40,724 [execute] INFO git cat-file --batch 23:53:40 2023-05-03 23:53:40,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:53:40 2023-05-03 23:53:40,729 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:40 3.0.0-dev.37 [Pipeline] } 23:53:40 $ docker exec --env ******** --env ******** ea015ae3c763df26b8febc50ff64330c8882f4cd9b5b526dd7fd13422b8970f6 ssh-agent -k 23:53:40 unset SSH_AUTH_SOCK; 23:53:40 unset SSH_AGENT_PID; 23:53:40 echo Agent pid 38 killed; 23:53:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:41 + git semver [Pipeline] } 23:53:41 $ docker stop --time=1 ea015ae3c763df26b8febc50ff64330c8882f4cd9b5b526dd7fd13422b8970f6 23:53:42 $ docker rm -f --volumes ea015ae3c763df26b8febc50ff64330c8882f4cd9b5b526dd7fd13422b8970f6 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:43 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:43 $ 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 23:53:43 $ docker top f9b1c7c8e7bdf01fa6a4860817e3c3f364f9eb6c453d006c5ce080e0ba20bd2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:43 [ssh-agent] Looking for ssh-agent implementation... 23:53:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:44 $ docker exec f9b1c7c8e7bdf01fa6a4860817e3c3f364f9eb6c453d006c5ce080e0ba20bd2e ssh-agent 23:53:44 SSH_AUTH_SOCK=/tmp/ssh-k5re9bsRo7Iz/agent.32 23:53:44 SSH_AGENT_PID=38 23:53:44 Running ssh-add (command line suppressed) 23:53:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4403913771253772506.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4403913771253772506.key) 23:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:44 + git semver push 23:53:44 2023-05-03 23:53:44,859 [run_push] DEBUG push 23:53:44 2023-05-03 23:53:44,859 [execute] INFO git cat-file --batch-check 23:53:44 2023-05-03 23:53:44,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:53:44 2023-05-03 23:53:44,863 [execute] INFO git rev-list 92dbe8be18a6fb1b770a261f114478249c25109b -- 23:53:44 2023-05-03 23:53:44,864 [execute] DEBUG Popen(['git', 'rev-list', '92dbe8be18a6fb1b770a261f114478249c25109b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:53:44 2023-05-03 23:53:44,871 [execute] INFO git fetch -v origin 23:53:44 2023-05-03 23:53:44,871 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:53:45 2023-05-03 23:53:45,452 [run_push] DEBUG no remote changes detected 23:53:45 2023-05-03 23:53:45,453 [execute] INFO git push origin semver 23:53:45 2023-05-03 23:53:45,453 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:53:46 2023-05-03 23:53:46,153 [run_push] DEBUG push all version tags 23:53:46 2023-05-03 23:53:46,153 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:53:46 2023-05-03 23:53:46,154 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:53:47 2023-05-03 23:53:46,819 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:53:47 3.0.0-dev.37 [Pipeline] } 23:53:47 $ docker exec --env ******** --env ******** f9b1c7c8e7bdf01fa6a4860817e3c3f364f9eb6c453d006c5ce080e0ba20bd2e ssh-agent -k 23:53:47 unset SSH_AUTH_SOCK; 23:53:47 unset SSH_AGENT_PID; 23:53:47 echo Agent pid 38 killed; 23:53:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:47 + git semver [Pipeline] } 23:53:47 $ docker stop --time=1 f9b1c7c8e7bdf01fa6a4860817e3c3f364f9eb6c453d006c5ce080e0ba20bd2e 23:53:49 $ docker rm -f --volumes f9b1c7c8e7bdf01fa6a4860817e3c3f364f9eb6c453d006c5ce080e0ba20bd2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:53:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:53:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:53:49 total 16 23:53:49 drwxr-xr-x 3 root root 4096 May 3 23:42 . 23:53:49 drwxrwxr-x 11 jenkins jenkins 4096 May 3 23:53 .. 23:53:49 drwxr-xr-x 2 root root 4096 May 3 23:42 cost 23:53:49 -rw-r--r-- 1 root root 91 May 3 23:42 cost.csv 23:53:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:53:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:53:49 total 16 23:53:49 drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:42 . 23:53:49 drwxrwxr-x 11 jenkins jenkins 4096 May 3 23:53 .. 23:53:49 drwxr-xr-x 2 jenkins jenkins 4096 May 3 23:42 cost 23:53:49 -rw-r--r-- 1 jenkins jenkins 91 May 3 23:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:53:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:53:50 ---> package-listing.sh 23:53:50 ++ tr '[:upper:]' '[:lower:]' 23:53:50 ++ facter osfamily 23:53:51 + OS_FAMILY=debian 23:53:51 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:53:51 + START_PACKAGES=/tmp/packages_start.txt 23:53:51 + END_PACKAGES=/tmp/packages_end.txt 23:53:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:53:51 + PACKAGES=/tmp/packages_start.txt 23:53:51 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:53:51 + PACKAGES=/tmp/packages_end.txt 23:53:51 + case "${OS_FAMILY}" in 23:53:51 + dpkg -l 23:53:51 + grep '^ii' 23:53:51 + '[' -f /tmp/packages_start.txt ']' 23:53:51 + '[' -f /tmp/packages_end.txt ']' 23:53:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:53:51 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:53:51 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:53:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:53:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:53:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:51 prd-ubuntu20.04-docker-8c-8g-12645 does not seem to be running inside a container 23:53:51 $ 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 23:53:52 $ docker top 7464a627c726b859f16a66e7a729b142909f0504aa1d72e2a304cfa9b09f4223 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:52 + touch /tmp/pre-build-complete [Pipeline] sh 23:53:52 + mkdir -p /var/log/sysstat [Pipeline] sh 23:53:53 + ls /var/log/sa-host 23:53:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:53 provisioning config files... 23:53:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config444891586147198042tmp [Pipeline] { [Pipeline] echo 23:53:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:53:53 ---> create-netrc.sh [Pipeline] } 23:53:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:53:53 ---> python-tools-install.sh [Pipeline] echo 23:53:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:53:54 ---> sudo-logs.sh 23:53:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:53:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:53:54 ---> job-cost.sh 23:53:54 lf-activate-venv: SKIPPING 23:53:54 DEBUG: total: 0.2199999988079071 23:53:54 INFO: Retrieving Stack Cost... 23:53:54 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:55 INFO: Archiving Costs [Pipeline] echo 23:53:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:53:55 ---> logs-deploy.sh 23:53:55 lf-activate-venv: SKIPPING 23:53:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/131 23:53:55 INFO: archiving workspace using pattern(s): 23:53:56 Archives upload complete. 23:53:56 INFO: archiving logs to Nexus