Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19aea0788ff6687e1018adc680fb40cfac0f4964 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-ssh6936734405340914817.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10696935859980996455.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12690400411316734631.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5052559105409399575.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-ssh7079952327009565209.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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14925’ is offline ‘prd-ubuntu20.04-docker-8c-8g-14926’ is offline ‘prd-ubuntu20.04-docker-8c-8g-14933’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-14927’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-14928’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14934 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 19aea0788ff6687e1018adc680fb40cfac0f4964 (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 > git config core.sparsecheckout # timeout=10 > git checkout -f 19aea0788ff6687e1018adc680fb40cfac0f4964 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" > git rev-list --no-walk 98306d1e364c54cb2e1840e2b7a1c918409cfb69 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:02 ========================================================= 18:42:02 EdgeX Global Pipelines Version Info 18:42:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:03 ------------------- 18:42:03 stable info: 18:42:03 ------------------- 18:42:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:42:03 Message: update stable to v1.0.249 18:42:04 ------------------- 18:42:04 experimental info: 18:42:04 ------------------- 18:42:04 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:42:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19aea07 [Pipeline] echo 18:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:04 provisioning config files... 18:42:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6556565936521960991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:04 ---> docker-login.sh 18:42:04 nexus3.edgexfoundry.org:10001 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 nexus3.edgexfoundry.org:10002 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 nexus3.edgexfoundry.org:10003 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 nexus3.edgexfoundry.org:10004 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 docker.io 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 ---> docker-login.sh ends [Pipeline] } 18:42:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:06 + git rev-list -1 --merges 19aea0788ff6687e1018adc680fb40cfac0f4964~1..19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] echo 18:42:06 -----------> git rev-list -1 --merges 19aea0788ff6687e1018adc680fb40cfac0f4964~1..19aea0788ff6687e1018adc680fb40cfac0f4964 19aea0788ff6687e1018adc680fb40cfac0f4964 [false] [Pipeline] sh 18:42:06 + git log --format=format:%s -1 19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] echo 18:42:06 ========================================================= 18:42:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:07 + git log --format=format:%s -1 19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] echo 18:42:07 [semverPrep] GIT_COMMIT: 19aea0788ff6687e1018adc680fb40cfac0f4964, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352) [Pipeline] echo 18:42:07 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:07 + grep -v github /etc/ssh/ssh_known_hosts 18:42:07 + [ -e /tmp/ssh_known_hosts ] 18:42:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:07 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:07 18:42:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:08 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:08 b85a868b505f: Pulling fs layer 18:42:08 e2be974225ed: Pulling fs layer 18:42:08 339a4e72a1f5: Pulling fs layer 18:42:08 988bab9f4d93: Pulling fs layer 18:42:08 1469e6f7b9e6: Pulling fs layer 18:42:08 eaf3925da568: Pulling fs layer 18:42:08 bab4dde63d76: Pulling fs layer 18:42:08 bde34c3a00c8: Pulling fs layer 18:42:08 b352a97aabf1: Pulling fs layer 18:42:08 4872d77fe225: Pulling fs layer 18:42:08 5851b861e8e6: Pulling fs layer 18:42:08 1469e6f7b9e6: Waiting 18:42:08 bde34c3a00c8: Waiting 18:42:08 988bab9f4d93: Waiting 18:42:08 4872d77fe225: Waiting 18:42:08 eaf3925da568: Waiting 18:42:08 b352a97aabf1: Waiting 18:42:08 5851b861e8e6: Waiting 18:42:08 e2be974225ed: Download complete 18:42:08 988bab9f4d93: Verifying Checksum 18:42:08 988bab9f4d93: Download complete 18:42:08 1469e6f7b9e6: Verifying Checksum 18:42:08 1469e6f7b9e6: Download complete 18:42:08 eaf3925da568: Verifying Checksum 18:42:08 eaf3925da568: Download complete 18:42:08 339a4e72a1f5: Verifying Checksum 18:42:08 339a4e72a1f5: Download complete 18:42:08 bde34c3a00c8: Verifying Checksum 18:42:08 bde34c3a00c8: Download complete 18:42:08 b352a97aabf1: Download complete 18:42:08 4872d77fe225: Verifying Checksum 18:42:08 4872d77fe225: Download complete 18:42:08 5851b861e8e6: Verifying Checksum 18:42:08 5851b861e8e6: Download complete 18:42:08 b85a868b505f: Verifying Checksum 18:42:08 b85a868b505f: Download complete 18:42:08 bab4dde63d76: Verifying Checksum 18:42:08 bab4dde63d76: Download complete 18:42:09 b85a868b505f: Pull complete 18:42:09 e2be974225ed: Pull complete 18:42:10 339a4e72a1f5: Pull complete 18:42:10 988bab9f4d93: Pull complete 18:42:10 1469e6f7b9e6: Pull complete 18:42:10 eaf3925da568: Pull complete 18:42:11 bab4dde63d76: Pull complete 18:42:12 bde34c3a00c8: Pull complete 18:42:12 b352a97aabf1: Pull complete 18:42:12 4872d77fe225: Pull complete 18:42:12 5851b861e8e6: Pull complete 18:42:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:12 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:42:12 $ 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 18:42:15 $ docker top e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 -eo pid,comm 18:42:15 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). 18:42:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:15 [ssh-agent] Looking for ssh-agent implementation... 18:42:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:15 $ docker exec e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 ssh-agent 18:42:15 SSH_AUTH_SOCK=/tmp/ssh-AiP6Qm7CDTLV/agent.32 18:42:15 SSH_AGENT_PID=38 18:42:15 Running ssh-add (command line suppressed) 18:42:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_830753399876357711.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_830753399876357711.key) 18:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:16 + git tag --points-at HEAD [Pipeline] } 18:42:16 $ docker exec --env ******** --env ******** e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 ssh-agent -k 18:42:16 unset SSH_AUTH_SOCK; 18:42:16 unset SSH_AGENT_PID; 18:42:16 echo Agent pid 38 killed; 18:42:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:16 [ssh-agent] Looking for ssh-agent implementation... 18:42:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:16 $ docker exec e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 ssh-agent 18:42:16 SSH_AUTH_SOCK=/tmp/ssh-HSnkpZZ1vd9I/agent.70 18:42:16 SSH_AGENT_PID=76 18:42:16 Running ssh-add (command line suppressed) 18:42:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8021656733470550831.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8021656733470550831.key) 18:42:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:16 + git semver init 18:42:17 2023-05-10 18:42:17,170 [run_init] DEBUG init version:0.0.0 force:False 18:42:17 2023-05-10 18:42:17,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:42:17 2023-05-10 18:42:17,171 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:42:17 2023-05-10 18:42:17,171 [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) 18:42:18 2023-05-10 18:42:18,086 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:42:18 2023-05-10 18:42:18,086 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:42:18 2023-05-10 18:42:18,086 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:42:18 2023-05-10 18:42:18,087 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:42:18 3.0.0-dev.45 [Pipeline] } 18:42:18 $ docker exec --env ******** --env ******** e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 ssh-agent -k 18:42:18 unset SSH_AUTH_SOCK; 18:42:18 unset SSH_AGENT_PID; 18:42:18 echo Agent pid 76 killed; 18:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:18 + git semver [Pipeline] } 18:42:18 $ docker stop --time=1 e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 18:42:20 $ docker rm -f --volumes e10683e2fa59c74362cab5777c3eb569ffbe5021f0167b2571e86d2aee52e285 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:20 Stashed 1 file(s) [Pipeline] echo 18:42:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.45 [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 18:42:20 provisioning config files... 18:42:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6163915833209338021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:21 ---> docker-login.sh 18:42:21 nexus3.edgexfoundry.org:10001 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 nexus3.edgexfoundry.org:10002 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 nexus3.edgexfoundry.org:10003 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 nexus3.edgexfoundry.org:10004 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 docker.io 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 ---> docker-login.sh ends [Pipeline] } 18:42:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:21 ========================================================= 18:42:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:42:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:22 + 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 . 18:42:22 Sending build context to Docker daemon 21.79MB 18:42:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:42:22 Step 2/13 : FROM ${BASE} AS builder 18:42:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:22 f56be85fc22e: Pulling fs layer 18:42:22 85791d961cd3: Pulling fs layer 18:42:22 d694b5ae8c79: Pulling fs layer 18:42:22 9f32a84ed3da: Pulling fs layer 18:42:22 4d19c01a9841: Pulling fs layer 18:42:22 9325e15d5711: Pulling fs layer 18:42:22 556b6ee489ea: Pulling fs layer 18:42:22 9f32a84ed3da: Waiting 18:42:22 9325e15d5711: Waiting 18:42:22 4d19c01a9841: Waiting 18:42:22 c5a4b2cf53e6: Pulling fs layer 18:42:22 c5a4b2cf53e6: Waiting 18:42:22 556b6ee489ea: Waiting 18:42:22 85791d961cd3: Verifying Checksum 18:42:22 85791d961cd3: Download complete 18:42:22 9f32a84ed3da: Verifying Checksum 18:42:22 9f32a84ed3da: Download complete 18:42:22 4d19c01a9841: Verifying Checksum 18:42:22 4d19c01a9841: Download complete 18:42:22 f56be85fc22e: Verifying Checksum 18:42:22 9325e15d5711: Verifying Checksum 18:42:22 9325e15d5711: Download complete 18:42:22 f56be85fc22e: Pull complete 18:42:22 85791d961cd3: Pull complete 18:42:22 c5a4b2cf53e6: Verifying Checksum 18:42:22 c5a4b2cf53e6: Download complete 18:42:22 d694b5ae8c79: Verifying Checksum 18:42:22 d694b5ae8c79: Download complete 18:42:23 556b6ee489ea: Verifying Checksum 18:42:23 556b6ee489ea: Download complete 18:42:26 d694b5ae8c79: Pull complete 18:42:26 9f32a84ed3da: Pull complete 18:42:26 4d19c01a9841: Pull complete 18:42:26 9325e15d5711: Pull complete 18:42:29 556b6ee489ea: Pull complete 18:42:29 c5a4b2cf53e6: Pull complete 18:42:29 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:42:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:42:29 ---> c4be618373d6 18:42:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:42:35 ---> Running in 4d93adaff00d 18:42:35 Removing intermediate container 4d93adaff00d 18:42:35 ---> 323b43210fac 18:42:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:35 ---> Running in 33672325ac8c 18:42:35 Removing intermediate container 33672325ac8c 18:42:35 ---> 742a725ead9f 18:42:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:42:35 ---> Running in a3f38952f903 18:42:35 Removing intermediate container a3f38952f903 18:42:35 ---> b4e4c3d6c71a 18:42:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:42:35 ---> Running in 26412f1e24ff 18:42:35 Removing intermediate container 26412f1e24ff 18:42:35 ---> 7bb299b19968 18:42:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:42:35 ---> Running in 2170c9e73d7d 18:42:35 Removing intermediate container 2170c9e73d7d 18:42:35 ---> bd77ee9497c0 18:42:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:35 ---> Running in 521ebb0beb3e 18:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:42:35 OK: 265 MiB in 53 packages 18:42:35 Still waiting to schedule task 18:42:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:42:36 Removing intermediate container 521ebb0beb3e 18:42:36 ---> ab8a28dbe3ee 18:42:36 Step 9/13 : WORKDIR /device-onvif-camera 18:42:36 ---> Running in b8325a9a52ba 18:42:36 Removing intermediate container b8325a9a52ba 18:42:36 ---> 78d6229749a1 18:42:36 Step 10/13 : COPY go.mod vendor* ./ 18:42:36 ---> 333c71ea124e 18:42:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:36 ---> Running in dd25cc5f5186 18:43:08 Removing intermediate container dd25cc5f5186 18:43:08 ---> 670cf1ce1f44 18:43:08 Step 12/13 : COPY . . 18:43:08 ---> 47ca3153cda4 18:43:08 Step 13/13 : RUN ${MAKE} 18:43:08 ---> Running in 30c435f2ea97 18:43:08 noop 18:43:08 Removing intermediate container 30c435f2ea97 18:43:08 ---> d8ec96511dbe 18:43:08 Successfully built d8ec96511dbe 18:43:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:08 + docker inspect -f . ci-base-image-x86_64 18:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:08 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:43:08 $ 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 18:43:09 $ docker top d8e0002a46038f3c61fd5325fbf063f754de30bc092349c951f04202b3665bf8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:09 + go version 18:43:09 go version go1.20.2 linux/amd64 [Pipeline] } 18:43:09 $ docker stop --time=1 d8e0002a46038f3c61fd5325fbf063f754de30bc092349c951f04202b3665bf8 18:43:10 $ docker rm -f --volumes d8e0002a46038f3c61fd5325fbf063f754de30bc092349c951f04202b3665bf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:11 + docker inspect -f . ci-base-image-x86_64 18:43:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:11 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:43:11 $ 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 18:43:11 $ docker top 0de627e1acb4d5e0eef58023a6977a315171f1a1e2fb84a3409013d32f636bbc -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:11 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:43:12 + make test 18:43:12 go test ./... -coverprofile=coverage.out ./... 18:43:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:43:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:43:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:43:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 30.9% of statements 18:43:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.257s coverage: 86.5% of statements 18:43:35 go vet ./... 18:43:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:39 $ docker stop --time=1 0de627e1acb4d5e0eef58023a6977a315171f1a1e2fb84a3409013d32f636bbc 18:43:43 $ docker rm -f --volumes 0de627e1acb4d5e0eef58023a6977a315171f1a1e2fb84a3409013d32f636bbc [Pipeline] // withDockerContainer [Pipeline] sh 18:43:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:44 + ls -al . 18:43:44 total 232 18:43:44 drwxrwxr-x 10 jenkins jenkins 4096 May 10 18:43 . 18:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:42 .. 18:43:44 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:42 .git 18:43:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:42 .github 18:43:44 -rw-rw-r-- 1 jenkins jenkins 496 May 10 18:42 .gitignore 18:43:44 -rw-rw-r-- 1 jenkins jenkins 42 May 10 18:42 .golangci.yml 18:43:44 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:42 .semver 18:43:44 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 18:42 Attribution.txt 18:43:44 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 18:42 CHANGELOG.md 18:43:44 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 18:42 Dockerfile 18:43:44 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:42 GOVERNANCE.md 18:43:44 -rw-rw-r-- 1 jenkins jenkins 734 May 10 18:42 Jenkinsfile 18:43:44 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 18:42 LICENSE 18:43:44 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 18:42 Makefile 18:43:44 -rw-rw-r-- 1 jenkins jenkins 625 May 10 18:42 OWNERS.md 18:43:44 -rw-rw-r-- 1 jenkins jenkins 2591 May 10 18:42 README.md 18:43:44 -rw-rw-r-- 1 jenkins jenkins 12 May 10 18:42 VERSION 18:43:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:42 bin 18:43:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:42 cmd 18:43:44 -rw-r--r-- 1 jenkins jenkins 79213 May 10 18:43 coverage.out 18:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:42 doc 18:43:44 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 18:42 go.mod 18:43:44 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 18:42 go.sum 18:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:42 internal 18:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:42 snap 18:43:44 -rw-rw-r-- 1 jenkins jenkins 236 May 10 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:44 + 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=19aea0788ff6687e1018adc680fb40cfac0f4964 --label arch=amd64 --label version=3.0.0-dev.45 . 18:43:44 Sending build context to Docker daemon 21.87MB 18:43:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:43:44 Step 2/26 : FROM ${BASE} AS builder 18:43:44 ---> d8ec96511dbe 18:43:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:43:45 ---> Running in b797d2bf9311 18:43:45 Removing intermediate container b797d2bf9311 18:43:45 ---> da91e0442b38 18:43:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:45 ---> Running in fb503cf6b4dd 18:43:45 Removing intermediate container fb503cf6b4dd 18:43:45 ---> 639d9ea7cb4b 18:43:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:43:45 ---> Running in de604cec4bfe 18:43:45 Removing intermediate container de604cec4bfe 18:43:45 ---> b8e2baa0bccf 18:43:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:43:45 ---> Running in b1dd71ea82da 18:43:45 Removing intermediate container b1dd71ea82da 18:43:45 ---> 8004142e8520 18:43:45 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:43:45 ---> Running in 6c6a63e75840 18:43:45 Removing intermediate container 6c6a63e75840 18:43:45 ---> 27b65ab5dd01 18:43:45 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:45 ---> Running in 3a7f2e374a65 18:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:43:46 OK: 265 MiB in 53 packages 18:43:46 Removing intermediate container 3a7f2e374a65 18:43:46 ---> 30642543426a 18:43:46 Step 9/26 : WORKDIR /device-onvif-camera 18:43:46 ---> Running in c9f5ab641f75 18:43:46 Removing intermediate container c9f5ab641f75 18:43:46 ---> 2e130db6c9e6 18:43:46 Step 10/26 : COPY go.mod vendor* ./ 18:43:46 ---> 98a2f710441a 18:43:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:46 ---> Running in 1fe8cba1ac27 18:43:47 Removing intermediate container 1fe8cba1ac27 18:43:47 ---> aa8e76d1cb7c 18:43:47 Step 12/26 : COPY . . 18:43:48 ---> 0c37912675ab 18:43:48 Step 13/26 : RUN ${MAKE} 18:43:48 ---> Running in e2965604173f 18:43:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:44:10 Removing intermediate container e2965604173f 18:44:10 ---> 28ace33a5946 18:44:10 Step 14/26 : FROM alpine:3.17 18:44:10 3.17: Pulling from library/alpine 18:44:10 f56be85fc22e: Already exists 18:44:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:44:10 Status: Downloaded newer image for alpine:3.17 18:44:10 ---> 9ed4aefc74f6 18:44:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:44:10 ---> Running in 7297cf34aec1 18:44:10 Removing intermediate container 7297cf34aec1 18:44:10 ---> f1fa9c47ab96 18:44:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:44:10 ---> Running in aec7f4451ded 18:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:10 (1/1) Installing dumb-init (1.2.5-r2) 18:44:10 Executing busybox-1.35.0-r29.trigger 18:44:10 OK: 7 MiB in 16 packages 18:44:10 Removing intermediate container aec7f4451ded 18:44:10 ---> fe2d24078fee 18:44:10 Step 17/26 : WORKDIR / 18:44:10 ---> Running in 69c1b0c03ebe 18:44:10 Removing intermediate container 69c1b0c03ebe 18:44:10 ---> a2c595624e44 18:44:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:44:11 ---> 608316236958 18:44:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:44:11 ---> cc6146f2f7db 18:44:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:44:11 ---> 147628e9a966 18:44:11 Step 21/26 : EXPOSE 59984 18:44:11 ---> Running in c22eaafffb06 18:44:11 Removing intermediate container c22eaafffb06 18:44:11 ---> cf05d19cff28 18:44:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:44:11 ---> Running in 522360bead05 18:44:11 Removing intermediate container 522360bead05 18:44:11 ---> 1d4095777753 18:44:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:11 ---> Running in 4c720d05e939 18:44:12 Removing intermediate container 4c720d05e939 18:44:12 ---> c9935704854f 18:44:12 Step 24/26 : LABEL arch=amd64 18:44:12 ---> Running in 71db48d2f079 18:44:12 Removing intermediate container 71db48d2f079 18:44:12 ---> 28721947e8b2 18:44:12 Step 25/26 : LABEL git_sha=19aea0788ff6687e1018adc680fb40cfac0f4964 18:44:12 ---> Running in 89fc4200196d 18:44:12 Removing intermediate container 89fc4200196d 18:44:12 ---> 6623246110b8 18:44:12 Step 26/26 : LABEL version=3.0.0-dev.45 18:44:12 ---> Running in 9928a2e3f0f6 18:44:12 Removing intermediate container 9928a2e3f0f6 18:44:12 ---> fc18b94cb0a5 18:44:12 [Warning] One or more build-args [ARCH] were not consumed 18:44:12 Successfully built fc18b94cb0a5 18:44:12 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 18:44:12 provisioning config files... 18:44:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10796953318329266358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:12 ---> docker-login.sh 18:44:12 nexus3.edgexfoundry.org:10001 18:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:12 Configure a credential helper to remove this warning. See 18:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:12 18:44:12 Login Succeeded 18:44:12 nexus3.edgexfoundry.org:10002 18:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:12 Configure a credential helper to remove this warning. See 18:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:12 18:44:12 Login Succeeded 18:44:12 nexus3.edgexfoundry.org:10003 18:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:13 Configure a credential helper to remove this warning. See 18:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:13 18:44:13 Login Succeeded 18:44:13 nexus3.edgexfoundry.org:10004 18:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:13 Configure a credential helper to remove this warning. See 18:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:13 18:44:13 Login Succeeded 18:44:13 docker.io 18:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:13 Configure a credential helper to remove this warning. See 18:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:13 18:44:13 Login Succeeded 18:44:13 ---> docker-login.sh ends [Pipeline] } 18:44:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:44:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:13 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:44:13 19aea0788ff6687e1018adc680fb40cfac0f4964 18:44:13 latest 18:44:13 3.0.0-dev.45 18:44:13 19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:44:13 main 18:44:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964 18:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:44:14 d74b249ed9d0: Preparing 18:44:14 b417c82bcac4: Preparing 18:44:14 43f599efb402: Preparing 18:44:14 3383dc65e089: Preparing 18:44:14 f1417ff83b31: Preparing 18:44:14 f1417ff83b31: Layer already exists 18:44:14 b417c82bcac4: Pushed 18:44:14 d74b249ed9d0: Pushed 18:44:14 3383dc65e089: Pushed 18:44:16 43f599efb402: Pushed 18:44:16 19aea0788ff6687e1018adc680fb40cfac0f4964: digest: sha256:516f2e170a7ac418acf667a9818bde952ce581433e36baf63ec7b2bb8427eb26 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:44:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:44:17 d74b249ed9d0: Preparing 18:44:17 b417c82bcac4: Preparing 18:44:17 43f599efb402: Preparing 18:44:17 3383dc65e089: Preparing 18:44:17 f1417ff83b31: Preparing 18:44:17 f1417ff83b31: Layer already exists 18:44:17 43f599efb402: Layer already exists 18:44:17 d74b249ed9d0: Layer already exists 18:44:17 b417c82bcac4: Layer already exists 18:44:17 3383dc65e089: Layer already exists 18:44:17 latest: digest: sha256:516f2e170a7ac418acf667a9818bde952ce581433e36baf63ec7b2bb8427eb26 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.45 18:44:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:44:17 d74b249ed9d0: Preparing 18:44:17 b417c82bcac4: Preparing 18:44:17 43f599efb402: Preparing 18:44:17 3383dc65e089: Preparing 18:44:17 f1417ff83b31: Preparing 18:44:17 43f599efb402: Layer already exists 18:44:17 b417c82bcac4: Layer already exists 18:44:17 3383dc65e089: Layer already exists 18:44:17 d74b249ed9d0: Layer already exists 18:44:17 f1417ff83b31: Layer already exists 18:44:17 3.0.0-dev.45: digest: sha256:516f2e170a7ac418acf667a9818bde952ce581433e36baf63ec7b2bb8427eb26 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:44:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:44:18 d74b249ed9d0: Preparing 18:44:18 b417c82bcac4: Preparing 18:44:18 43f599efb402: Preparing 18:44:18 3383dc65e089: Preparing 18:44:18 f1417ff83b31: Preparing 18:44:18 f1417ff83b31: Layer already exists 18:44:18 b417c82bcac4: Layer already exists 18:44:18 43f599efb402: Layer already exists 18:44:18 3383dc65e089: Layer already exists 18:44:18 d74b249ed9d0: Layer already exists 18:44:18 19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45: digest: sha256:516f2e170a7ac418acf667a9818bde952ce581433e36baf63ec7b2bb8427eb26 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:44:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:44:19 d74b249ed9d0: Preparing 18:44:19 b417c82bcac4: Preparing 18:44:19 43f599efb402: Preparing 18:44:19 3383dc65e089: Preparing 18:44:19 f1417ff83b31: Preparing 18:44:19 f1417ff83b31: Layer already exists 18:44:19 d74b249ed9d0: Layer already exists 18:44:19 3383dc65e089: Layer already exists 18:44:19 b417c82bcac4: Layer already exists 18:44:19 43f599efb402: Layer already exists 18:44:19 main: digest: sha256:516f2e170a7ac418acf667a9818bde952ce581433e36baf63ec7b2bb8427eb26 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:44:19 ===================================================== [Pipeline] echo 18:44:19 taggedImages: 18:44:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964 18:44:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:44:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.45 18:44:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:44:19 - 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 18:44:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:19 18:44:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:19 latest: Pulling from edgex-lftools-log-publisher 18:44:19 5eb5b503b376: Pulling fs layer 18:44:19 5c69ac0246d0: Pulling fs layer 18:44:19 ec43610c2a17: Pulling fs layer 18:44:19 3a2ae6a8a46f: Pulling fs layer 18:44:19 33b1e0a273af: Pulling fs layer 18:44:19 5d3b04190fa2: Pulling fs layer 18:44:19 33b1e0a273af: Waiting 18:44:19 2f39f015ded8: Pulling fs layer 18:44:19 5d3b04190fa2: Waiting 18:44:19 2f39f015ded8: Waiting 18:44:19 5c69ac0246d0: Verifying Checksum 18:44:19 5c69ac0246d0: Download complete 18:44:19 3a2ae6a8a46f: Verifying Checksum 18:44:19 3a2ae6a8a46f: Download complete 18:44:19 33b1e0a273af: Verifying Checksum 18:44:19 33b1e0a273af: Download complete 18:44:19 5d3b04190fa2: Verifying Checksum 18:44:19 5d3b04190fa2: Download complete 18:44:19 ec43610c2a17: Verifying Checksum 18:44:19 ec43610c2a17: Download complete 18:44:20 5eb5b503b376: Download complete 18:44:20 2f39f015ded8: Verifying Checksum 18:44:20 2f39f015ded8: Download complete 18:44:21 5eb5b503b376: Pull complete 18:44:21 5c69ac0246d0: Pull complete 18:44:21 ec43610c2a17: Pull complete 18:44:21 3a2ae6a8a46f: Pull complete 18:44:21 33b1e0a273af: Pull complete 18:44:21 5d3b04190fa2: Pull complete 18:44:26 2f39f015ded8: Pull complete 18:44:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:26 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:44:26 $ 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 18:44:29 $ docker top 33b22ebbe00a2518f7541bba074a5ed56ec3ee413c3b9cb81edc7666f7cb0107 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:29 ---> job-cost.sh 18:44:29 lf-activate-venv: SKIPPING 18:44:29 INFO: No Stack... 18:44:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:30 INFO: Archiving Costs [Pipeline] sh 18:44:30 + cat+ /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:44:30 cut -d, -f6 [Pipeline] lock 18:44:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] 18:44:30 Resource [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] did not exist. Created. 18:44:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:31 Stashed 1 file(s) [Pipeline] } 18:44:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:31 $ docker stop --time=1 33b22ebbe00a2518f7541bba074a5ed56ec3ee413c3b9cb81edc7666f7cb0107 18:44:32 $ docker rm -f --volumes 33b22ebbe00a2518f7541bba074a5ed56ec3ee413c3b9cb81edc7666f7cb0107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14938 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:45:35 Running in /w/workspace/device-onvif-camera/142 [Pipeline] { [Pipeline] checkout 18:45:35 The recommended git tool is: git 18:45:42 using credential edgex-jenkins-ssh 18:45:42 Cloning the remote Git repository 18:45:42 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:45:42 > git init /w/workspace/device-onvif-camera/142 # timeout=10 18:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:45:42 > git --version # timeout=10 18:45:42 > git --version # 'git version 2.25.1' 18:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:45 Avoid second fetch 18:45:45 Checking out Revision 19aea0788ff6687e1018adc680fb40cfac0f4964 (main) 18:45:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:45:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:45 > git config core.sparsecheckout # timeout=10 18:45:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#352)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:45 > git checkout -f 19aea0788ff6687e1018adc680fb40cfac0f4964 # timeout=10 18:45:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:45:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:47 Dload Upload Total Spent Left Speed 18:45:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 18:45:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:45:48 + sudo tee /etc/docker/daemon.new 18:45:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:45:48 { 18:45:48 "registry-mirrors": [ 18:45:48 "https://nexus3.edgexfoundry.org:10001" 18:45:48 ], 18:45:48 "bip": "10.250.0.254/24", 18:45:48 "hosts": [ 18:45:48 "tcp://0.0.0.0:5555", 18:45:48 "unix:///var/run/docker.sock" 18:45:48 ], 18:45:48 "mtu": 1458, 18:45:48 "selinux-enabled": true, 18:45:48 "seccomp-profile": "/etc/docker/seccomp.json" 18:45:48 } [Pipeline] sh 18:45:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:45:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:07 provisioning config files... 18:46:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/142@tmp/config4672290321284121027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:07 ---> docker-login.sh 18:46:07 nexus3.edgexfoundry.org:10001 18:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:08 Configure a credential helper to remove this warning. See 18:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:08 18:46:08 Login Succeeded 18:46:08 nexus3.edgexfoundry.org:10002 18:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:08 Configure a credential helper to remove this warning. See 18:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:08 18:46:08 Login Succeeded 18:46:08 nexus3.edgexfoundry.org:10003 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 nexus3.edgexfoundry.org:10004 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 docker.io 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 ---> docker-login.sh ends [Pipeline] } 18:46:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:10 ========================================================= 18:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:46:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:10 + 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 . 18:46:11 Sending build context to Docker daemon 14.31MB 18:46:11 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:46:11 Step 2/13 : FROM ${BASE} AS builder 18:46:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:13 c41833b44d91: Pulling fs layer 18:46:13 ed15518f5707: Pulling fs layer 18:46:13 feae8fd75edb: Pulling fs layer 18:46:13 242c74f7c9fa: Pulling fs layer 18:46:13 3cdef696dda3: Pulling fs layer 18:46:13 2ced38df9373: Pulling fs layer 18:46:13 58f1dce35555: Pulling fs layer 18:46:13 3cdef696dda3: Waiting 18:46:13 2ced38df9373: Waiting 18:46:13 58f1dce35555: Waiting 18:46:13 242c74f7c9fa: Waiting 18:46:13 ed15518f5707: Download complete 18:46:13 242c74f7c9fa: Verifying Checksum 18:46:13 242c74f7c9fa: Download complete 18:46:13 3cdef696dda3: Verifying Checksum 18:46:13 3cdef696dda3: Download complete 18:46:13 c41833b44d91: Download complete 18:46:14 c41833b44d91: Pull complete 18:46:14 58f1dce35555: Verifying Checksum 18:46:14 58f1dce35555: Download complete 18:46:14 ed15518f5707: Pull complete 18:46:15 feae8fd75edb: Verifying Checksum 18:46:15 feae8fd75edb: Download complete 18:46:15 2ced38df9373: Verifying Checksum 18:46:15 2ced38df9373: Download complete 18:46:28 feae8fd75edb: Pull complete 18:46:28 242c74f7c9fa: Pull complete 18:46:28 3cdef696dda3: Pull complete 18:46:35 2ced38df9373: Pull complete 18:46:36 58f1dce35555: Pull complete 18:46:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:46:36 ---> fadd8f120f05 18:46:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:46:38 ---> Running in 32b0ab62539e 18:46:38 Removing intermediate container 32b0ab62539e 18:46:38 ---> 55e52a1af854 18:46:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:39 ---> Running in c592bdc83956 18:46:39 Removing intermediate container c592bdc83956 18:46:39 ---> 17c4fb6b61ec 18:46:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:46:39 ---> Running in 729a753e3e81 18:46:39 Removing intermediate container 729a753e3e81 18:46:39 ---> 0bf81c680a93 18:46:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:46:39 ---> Running in 4e02ed92b663 18:46:40 Removing intermediate container 4e02ed92b663 18:46:40 ---> 00d02d11135f 18:46:40 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:46:40 ---> Running in df78fe91cf04 18:46:40 Removing intermediate container df78fe91cf04 18:46:40 ---> d5311d9d2f84 18:46:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:40 ---> Running in 22e384e17370 18:46:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:46:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:46:43 OK: 263 MiB in 53 packages 18:46:44 Removing intermediate container 22e384e17370 18:46:44 ---> b6520bfc28ed 18:46:44 Step 9/13 : WORKDIR /device-onvif-camera 18:46:44 ---> Running in 123e06a85c92 18:46:45 Removing intermediate container 123e06a85c92 18:46:45 ---> cd6fdeca70ca 18:46:45 Step 10/13 : COPY go.mod vendor* ./ 18:46:45 ---> 8b8f5bffd48a 18:46:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:45 ---> Running in b90464a4a938 18:47:53 Removing intermediate container b90464a4a938 18:47:53 ---> 221ae233ed69 18:47:53 Step 12/13 : COPY . . 18:47:53 ---> a89ccc31ba61 18:47:53 Step 13/13 : RUN ${MAKE} 18:47:53 ---> Running in 8b2c6b0c8ec7 18:47:53 noop 18:47:53 Removing intermediate container 8b2c6b0c8ec7 18:47:53 ---> 409193be881e 18:47:53 Successfully built 409193be881e 18:47:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:53 + docker inspect -f . ci-base-image-arm64 18:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:54 prd-ubuntu20.04-docker-arm64-4c-16g-14938 does not seem to be running inside a container 18:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/142 -v /w/workspace/device-onvif-camera/142:/w/workspace/device-onvif-camera/142:rw,z -v /w/workspace/device-onvif-camera/142@tmp:/w/workspace/device-onvif-camera/142@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 18:47:55 $ docker top 3e3a32a8e2ceee6fdbdddcf8e57648c6f8ff839dcd7ad475f0600d570ef53878 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:56 + go version 18:47:56 go version go1.20.2 linux/arm64 [Pipeline] } 18:47:56 $ docker stop --time=1 3e3a32a8e2ceee6fdbdddcf8e57648c6f8ff839dcd7ad475f0600d570ef53878 18:48:00 $ docker rm -f --volumes 3e3a32a8e2ceee6fdbdddcf8e57648c6f8ff839dcd7ad475f0600d570ef53878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:00 + docker inspect -f . ci-base-image-arm64 18:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:01 prd-ubuntu20.04-docker-arm64-4c-16g-14938 does not seem to be running inside a container 18:48:01 $ 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/142 -v /w/workspace/device-onvif-camera/142:/w/workspace/device-onvif-camera/142:rw,z -v /w/workspace/device-onvif-camera/142@tmp:/w/workspace/device-onvif-camera/142@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 18:48:02 $ docker top daf36ebaac3bf851caffa37efd6c5f2359d07c9053705bbdfa9dfc4003d34354 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/142 [Pipeline] fileExists [Pipeline] sh 18:48:04 + make test 18:48:04 go test ./... -coverprofile=coverage.out ./... 18:48:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:50:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:50:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:50:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.223s coverage: 30.9% of statements 18:51:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.421s coverage: 86.5% of statements 18:51:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:51:11 go vet ./... 18:51:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:44 ./bin/test-attribution-txt.sh [Pipeline] echo 18:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:51:44 $ docker stop --time=1 daf36ebaac3bf851caffa37efd6c5f2359d07c9053705bbdfa9dfc4003d34354 18:51:46 $ docker rm -f --volumes daf36ebaac3bf851caffa37efd6c5f2359d07c9053705bbdfa9dfc4003d34354 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:51:47 Warning: overwriting stash ‘coverage-report’ 18:51:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:49 + ls -al . 18:51:49 total 228 18:51:49 drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:48 . 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:45 .. 18:51:49 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:45 .git 18:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:45 .github 18:51:49 -rw-rw-r-- 1 jenkins jenkins 496 May 10 18:45 .gitignore 18:51:49 -rw-rw-r-- 1 jenkins jenkins 42 May 10 18:45 .golangci.yml 18:51:49 -rw-rw-r-- 1 jenkins jenkins 10087 May 10 18:45 Attribution.txt 18:51:49 -rw-rw-r-- 1 jenkins jenkins 6312 May 10 18:45 CHANGELOG.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 1574 May 10 18:45 Dockerfile 18:51:49 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:45 GOVERNANCE.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 734 May 10 18:45 Jenkinsfile 18:51:49 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 18:45 LICENSE 18:51:49 -rw-rw-r-- 1 jenkins jenkins 2751 May 10 18:45 Makefile 18:51:49 -rw-rw-r-- 1 jenkins jenkins 625 May 10 18:45 OWNERS.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 2591 May 10 18:45 README.md 18:51:49 -rw-rw-r-- 1 jenkins jenkins 12 May 10 18:42 VERSION 18:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:45 bin 18:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:45 cmd 18:51:49 -rw-r--r-- 1 jenkins jenkins 79213 May 10 18:51 coverage.out 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:45 doc 18:51:49 -rw-rw-r-- 1 jenkins jenkins 3642 May 10 18:45 go.mod 18:51:49 -rw-rw-r-- 1 jenkins jenkins 33491 May 10 18:45 go.sum 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:45 internal 18:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:45 snap 18:51:49 -rw-rw-r-- 1 jenkins jenkins 236 May 10 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:49 + 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=19aea0788ff6687e1018adc680fb40cfac0f4964 --label arch=arm64 --label version=3.0.0-dev.45 . 18:51:50 Sending build context to Docker daemon 14.39MB 18:51:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:51:50 Step 2/26 : FROM ${BASE} AS builder 18:51:50 ---> 409193be881e 18:51:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:51:50 ---> Running in 04c96faa5fba 18:51:50 Removing intermediate container 04c96faa5fba 18:51:50 ---> 1863a3fd3fdf 18:51:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:50 ---> Running in cbed89c90267 18:51:51 Removing intermediate container cbed89c90267 18:51:51 ---> 3f3bdbac6e08 18:51:51 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:51:51 ---> Running in ce2bbe59e841 18:51:51 Removing intermediate container ce2bbe59e841 18:51:51 ---> db0e01b62638 18:51:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:51:51 ---> Running in e1cd7cd114ed 18:51:51 Removing intermediate container e1cd7cd114ed 18:51:51 ---> b8e05f52197a 18:51:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:51:51 ---> Running in 22995a0aeee0 18:51:52 Removing intermediate container 22995a0aeee0 18:51:52 ---> 1169a88df819 18:51:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:52 ---> Running in 9778eaac41f8 18:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:51:55 OK: 263 MiB in 53 packages 18:51:56 Removing intermediate container 9778eaac41f8 18:51:56 ---> 6d0f09c82d78 18:51:56 Step 9/26 : WORKDIR /device-onvif-camera 18:51:56 ---> Running in 5b5597000721 18:51:56 Removing intermediate container 5b5597000721 18:51:56 ---> 026db4972926 18:51:56 Step 10/26 : COPY go.mod vendor* ./ 18:51:56 ---> ff86b5d00368 18:51:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:57 ---> Running in 128ce04dc83a 18:51:59 Removing intermediate container 128ce04dc83a 18:51:59 ---> b57de3ca2c09 18:51:59 Step 12/26 : COPY . . 18:52:01 ---> 4fd4c097bbb2 18:52:01 Step 13/26 : RUN ${MAKE} 18:52:01 ---> Running in b253dcbd99fe 18:52:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:54:38 Removing intermediate container b253dcbd99fe 18:54:38 ---> e5e66aaffa9a 18:54:38 Step 14/26 : FROM alpine:3.17 18:54:38 3.17: Pulling from library/alpine 18:54:38 c41833b44d91: Already exists 18:54:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:54:38 Status: Downloaded newer image for alpine:3.17 18:54:38 ---> 51e60588ff2c 18:54:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:54:38 ---> Running in 0f3a651cd844 18:54:38 Removing intermediate container 0f3a651cd844 18:54:38 ---> 6e389bddb560 18:54:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:54:38 ---> Running in f60e6c1b888d 18:54:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:54:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:54:38 (1/1) Installing dumb-init (1.2.5-r2) 18:54:38 Executing busybox-1.35.0-r29.trigger 18:54:38 OK: 8 MiB in 16 packages 18:54:38 Removing intermediate container f60e6c1b888d 18:54:38 ---> 425edad74a85 18:54:38 Step 17/26 : WORKDIR / 18:54:38 ---> Running in d59dd7ea8307 18:54:38 Removing intermediate container d59dd7ea8307 18:54:38 ---> e997f953d890 18:54:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:54:38 ---> 15fd520871f1 18:54:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:54:39 ---> 8c19d57542c9 18:54:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:54:40 ---> ee73f9ee6c35 18:54:40 Step 21/26 : EXPOSE 59984 18:54:40 ---> Running in 7b8c99da5c21 18:54:40 Removing intermediate container 7b8c99da5c21 18:54:40 ---> cb46067b0db2 18:54:40 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:54:40 ---> Running in fa01e898ad47 18:54:40 Removing intermediate container fa01e898ad47 18:54:40 ---> d5c90a0821e8 18:54:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:54:40 ---> Running in 4279bf3c7166 18:54:41 Removing intermediate container 4279bf3c7166 18:54:41 ---> bf27e680f2c1 18:54:41 Step 24/26 : LABEL arch=arm64 18:54:41 ---> Running in 2295a9a36184 18:54:41 Removing intermediate container 2295a9a36184 18:54:41 ---> 52811220248f 18:54:41 Step 25/26 : LABEL git_sha=19aea0788ff6687e1018adc680fb40cfac0f4964 18:54:41 ---> Running in a060cb42b4ab 18:54:41 Removing intermediate container a060cb42b4ab 18:54:41 ---> 1c174ee31fa0 18:54:41 Step 26/26 : LABEL version=3.0.0-dev.45 18:54:42 ---> Running in b98021133323 18:54:42 Removing intermediate container b98021133323 18:54:42 ---> 92d4359123f6 18:54:42 [Warning] One or more build-args [ARCH] were not consumed 18:54:42 Successfully built 92d4359123f6 18:54:42 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 18:54:42 provisioning config files... 18:54:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/142@tmp/config17642782062141307969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:42 ---> docker-login.sh 18:54:42 nexus3.edgexfoundry.org:10001 18:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:43 Configure a credential helper to remove this warning. See 18:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:43 18:54:43 Login Succeeded 18:54:43 nexus3.edgexfoundry.org:10002 18:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:43 Configure a credential helper to remove this warning. See 18:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:43 18:54:43 Login Succeeded 18:54:43 nexus3.edgexfoundry.org:10003 18:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:43 Configure a credential helper to remove this warning. See 18:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:43 18:54:43 Login Succeeded 18:54:43 nexus3.edgexfoundry.org:10004 18:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:44 Configure a credential helper to remove this warning. See 18:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:44 18:54:44 Login Succeeded 18:54:44 docker.io 18:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:44 Configure a credential helper to remove this warning. See 18:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:44 18:54:44 Login Succeeded 18:54:44 ---> docker-login.sh ends [Pipeline] } 18:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:54:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:44 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:54:44 19aea0788ff6687e1018adc680fb40cfac0f4964 18:54:44 latest 18:54:44 3.0.0-dev.45 18:54:44 19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:54:44 main 18:54:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:45 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964 18:54:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:45 e101f4bd5821: Preparing 18:54:45 dc282040e4e8: Preparing 18:54:45 da7c8ce577b4: Preparing 18:54:45 522cc8c2c90d: Preparing 18:54:45 26cbea5cba74: Preparing 18:54:45 26cbea5cba74: Layer already exists 18:54:45 522cc8c2c90d: Pushed 18:54:45 e101f4bd5821: Pushed 18:54:45 dc282040e4e8: Pushed 18:54:51 da7c8ce577b4: Pushed 18:54:51 19aea0788ff6687e1018adc680fb40cfac0f4964: digest: sha256:9de0e72ea565cff7f690b20ea462dc6c890e88b510edf12507ef1cf9cbb90897 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:51 + 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 18:54:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:54:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:52 e101f4bd5821: Preparing 18:54:52 dc282040e4e8: Preparing 18:54:52 da7c8ce577b4: Preparing 18:54:52 522cc8c2c90d: Preparing 18:54:52 26cbea5cba74: Preparing 18:54:52 da7c8ce577b4: Layer already exists 18:54:52 dc282040e4e8: Layer already exists 18:54:52 522cc8c2c90d: Layer already exists 18:54:52 26cbea5cba74: Layer already exists 18:54:52 e101f4bd5821: Layer already exists 18:54:52 latest: digest: sha256:9de0e72ea565cff7f690b20ea462dc6c890e88b510edf12507ef1cf9cbb90897 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.45 18:54:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:52 e101f4bd5821: Preparing 18:54:52 dc282040e4e8: Preparing 18:54:52 da7c8ce577b4: Preparing 18:54:52 522cc8c2c90d: Preparing 18:54:52 26cbea5cba74: Preparing 18:54:52 e101f4bd5821: Layer already exists 18:54:52 da7c8ce577b4: Layer already exists 18:54:52 26cbea5cba74: Layer already exists 18:54:52 522cc8c2c90d: Layer already exists 18:54:52 dc282040e4e8: Layer already exists 18:54:52 3.0.0-dev.45: digest: sha256:9de0e72ea565cff7f690b20ea462dc6c890e88b510edf12507ef1cf9cbb90897 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:54:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:53 e101f4bd5821: Preparing 18:54:53 dc282040e4e8: Preparing 18:54:53 da7c8ce577b4: Preparing 18:54:53 522cc8c2c90d: Preparing 18:54:53 26cbea5cba74: Preparing 18:54:53 522cc8c2c90d: Layer already exists 18:54:53 e101f4bd5821: Layer already exists 18:54:53 da7c8ce577b4: Layer already exists 18:54:53 26cbea5cba74: Layer already exists 18:54:53 dc282040e4e8: Layer already exists 18:54:53 19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45: digest: sha256:9de0e72ea565cff7f690b20ea462dc6c890e88b510edf12507ef1cf9cbb90897 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:54 + 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 18:54:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:54:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:54 e101f4bd5821: Preparing 18:54:54 dc282040e4e8: Preparing 18:54:54 da7c8ce577b4: Preparing 18:54:54 522cc8c2c90d: Preparing 18:54:54 26cbea5cba74: Preparing 18:54:54 e101f4bd5821: Layer already exists 18:54:54 26cbea5cba74: Layer already exists 18:54:54 dc282040e4e8: Layer already exists 18:54:54 da7c8ce577b4: Layer already exists 18:54:54 522cc8c2c90d: Layer already exists 18:54:54 main: digest: sha256:9de0e72ea565cff7f690b20ea462dc6c890e88b510edf12507ef1cf9cbb90897 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:54:54 ===================================================== [Pipeline] echo 18:54:54 taggedImages: 18:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964 18:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.45 18:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:19aea0788ff6687e1018adc680fb40cfac0f4964-3.0.0-dev.45 18:54:54 - 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 18:54:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:55 18:54:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:55 arm64: Pulling from edgex-lftools-log-publisher 18:54:55 8998bd30e6a1: Pulling fs layer 18:54:55 04944245beec: Pulling fs layer 18:54:55 699f458cf7ca: Pulling fs layer 18:54:55 765212b225bb: Pulling fs layer 18:54:55 f23df028b6ca: Pulling fs layer 18:54:55 d65c8cfc05b1: Pulling fs layer 18:54:55 2437ff75d9bd: Pulling fs layer 18:54:55 765212b225bb: Waiting 18:54:55 f23df028b6ca: Waiting 18:54:55 d65c8cfc05b1: Waiting 18:54:55 2437ff75d9bd: Waiting 18:54:56 04944245beec: Verifying Checksum 18:54:56 04944245beec: Download complete 18:54:56 765212b225bb: Verifying Checksum 18:54:56 765212b225bb: Download complete 18:54:56 f23df028b6ca: Verifying Checksum 18:54:56 f23df028b6ca: Download complete 18:54:56 d65c8cfc05b1: Verifying Checksum 18:54:56 d65c8cfc05b1: Download complete 18:54:56 699f458cf7ca: Verifying Checksum 18:54:56 699f458cf7ca: Download complete 18:54:56 8998bd30e6a1: Verifying Checksum 18:54:56 8998bd30e6a1: Download complete 18:54:59 2437ff75d9bd: Verifying Checksum 18:54:59 2437ff75d9bd: Download complete 18:55:00 8998bd30e6a1: Pull complete 18:55:00 04944245beec: Pull complete 18:55:02 699f458cf7ca: Pull complete 18:55:02 765212b225bb: Pull complete 18:55:03 f23df028b6ca: Pull complete 18:55:03 d65c8cfc05b1: Pull complete 18:55:15 2437ff75d9bd: Pull complete 18:55:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:15 prd-ubuntu20.04-docker-arm64-4c-16g-14938 does not seem to be running inside a container 18:55:16 $ 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/142 -v /w/workspace/device-onvif-camera/142:/w/workspace/device-onvif-camera/142:rw,z -v /w/workspace/device-onvif-camera/142@tmp:/w/workspace/device-onvif-camera/142@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 18:55:18 $ docker top c30086cdf66970769446d29b997b5e0f8dacdf03cf696008db85b0793908b302 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:19 ---> job-cost.sh 18:55:19 lf-activate-venv: SKIPPING 18:55:19 INFO: No Stack... 18:55:20 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:21 INFO: Archiving Costs [Pipeline] sh 18:55:21 + cat /w/workspace/device-onvif-camera/142/archives/cost.csv 18:55:21 + cut -d, -f6 [Pipeline] lock 18:55:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] 18:55:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] did not exist. Created. 18:55:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:22 /w/workspace/device-onvif-camera/142@tmp/durable-e4239cc0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:23 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:23 Warning: overwriting stash ‘stack-cost’ 18:55:23 Stashed 1 file(s) [Pipeline] } 18:55:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:23 $ docker stop --time=1 c30086cdf66970769446d29b997b5e0f8dacdf03cf696008db85b0793908b302 18:55:24 $ docker rm -f --volumes c30086cdf66970769446d29b997b5e0f8dacdf03cf696008db85b0793908b302 [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 18:55:25 provisioning config files... 18:55:25 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4835777138465823750tmp [Pipeline] { [Pipeline] sh 18:55:25 + set +x 18:55:25 + curl -s https://codecov.io/bash 18:55:25 + bash -s -- 18:55:25 18:55:25 _____ _ 18:55:25 / ____| | | 18:55:25 | | ___ __| | ___ ___ _____ __ 18:55:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:25 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:25 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:25 Bash-1.0.6 18:55:25 18:55:25 18:55:25 ==> git version 2.25.1 found 18:55:25 ==> 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 18:55:25 Release-Date: 2020-01-08 18:55:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:55:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:55:25 ==> Jenkins CI detected. 18:55:25 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:55:25 project root: . 18:55:25 --> token set from env 18:55:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:25 ==> Running gcov in . (disable via -X gcov) 18:55:25 ==> Python coveragepy not found 18:55:25 ==> Searching for coverage reports in: 18:55:25 + . 18:55:25 -> Found 1 reports 18:55:25 ==> Detecting git/mercurial file structure 18:55:25 ==> Reading reports 18:55:25 + ./coverage.out bytes=79213 18:55:25 ==> Appending adjustments 18:55:25 https://docs.codecov.io/docs/fixing-reports 18:55:25 + Found adjustments 18:55:25 ==> Gzipping contents 18:55:25 12K /tmp/codecov.9OOcfy.gz 18:55:25 ==> Uploading reports 18:55:25 url: https://codecov.io 18:55:25 query: branch=main&commit=19aea0788ff6687e1018adc680fb40cfac0f4964&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:25 -> Pinging Codecov 18:55:25 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=19aea0788ff6687e1018adc680fb40cfac0f4964&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:55:26 -> Uploading to 18:55:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/F29A59C45E3A92E06B3E522C9905F8EF/19aea0788ff6687e1018adc680fb40cfac0f4964/c5b56e3f-ee42-46b7-b737-e237429c24eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T185525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d34cb6f59513b00bac516e14f914cc483061fe0045cd6ceb10d3d2297cdb2ab0 18:55:26 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:26 Dload Upload Total Spent Left Speed 18:55:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 52123 --:--:-- --:--:-- --:--:-- 52123 18:55:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] } 18:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:55:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:55:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:26 18:55:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:55:27 df9b9388f04a: Pulling fs layer 18:55:27 52dc419b0ee2: Pulling fs layer 18:55:27 25bc292e5bac: Pulling fs layer 18:55:27 114826534d7a: Pulling fs layer 18:55:27 4657fd5d0bcf: Pulling fs layer 18:55:27 6ad1cebc031e: Pulling fs layer 18:55:27 8a3aa393b2d8: Pulling fs layer 18:55:27 4657fd5d0bcf: Waiting 18:55:27 6ad1cebc031e: Waiting 18:55:27 8a3aa393b2d8: Waiting 18:55:27 114826534d7a: Waiting 18:55:27 25bc292e5bac: Verifying Checksum 18:55:27 25bc292e5bac: Download complete 18:55:27 52dc419b0ee2: Verifying Checksum 18:55:27 52dc419b0ee2: Download complete 18:55:27 4657fd5d0bcf: Verifying Checksum 18:55:27 4657fd5d0bcf: Download complete 18:55:27 df9b9388f04a: Verifying Checksum 18:55:27 df9b9388f04a: Download complete 18:55:27 df9b9388f04a: Pull complete 18:55:27 6ad1cebc031e: Verifying Checksum 18:55:27 6ad1cebc031e: Download complete 18:55:27 52dc419b0ee2: Pull complete 18:55:27 25bc292e5bac: Pull complete 18:55:27 114826534d7a: Download complete 18:55:27 8a3aa393b2d8: Verifying Checksum 18:55:27 8a3aa393b2d8: Download complete 18:55:31 114826534d7a: Pull complete 18:55:31 4657fd5d0bcf: Pull complete 18:55:31 6ad1cebc031e: Pull complete 18:55:33 8a3aa393b2d8: Pull complete 18:55:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:55:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:55:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:33 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:55:33 $ 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 18:55:37 $ docker top c10c61c3d115501967ba85110718a9b5dc5e20b5f40f2ca8d3f424a90b6c04ad -eo pid,comm [Pipeline] { [Pipeline] echo 18:55:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:55:37 + set -o pipefail 18:55:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:55:44 18:55:44 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:55:44 18:55:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0a8657d2-580a-4acb-b580-7eeb638745ea 18:55:44 18:55:44 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:55:44 18:55:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:55:44 18:55:44 18:55:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:55:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:55:44 More details here: https://snyk.co/ue1NS 18:55:44 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:55:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:55:44 $ docker stop --time=1 c10c61c3d115501967ba85110718a9b5dc5e20b5f40f2ca8d3f424a90b6c04ad 18:55:47 $ docker rm -f --volumes c10c61c3d115501967ba85110718a9b5dc5e20b5f40f2ca8d3f424a90b6c04ad [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 18:55:47 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:47 provisioning config files... 18:55:47 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10069657878179852635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:47 --> edgex-publish-swagger.sh 18:55:47 === Publish doc/openapi/v2 API === 18:55:47 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:55:47 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:55:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:47 Dload Upload Total Spent Left Speed 18:55:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 473k 0 0 100 473k 0 658k --:--:-- --:--:-- --:--:-- 658k 18:55:48 18:55:48 [Pipeline] } 18:55:48 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 18:55:48 + git log --format=format:%s -1 19aea0788ff6687e1018adc680fb40cfac0f4964 [Pipeline] sh 18:55:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:49 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:55:49 $ 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 18:55:49 $ docker top b34923d788f8e26bf6b0c31c1eb6188fc4033b9d1fc567af2e1c3a3a2c4c8cc1 -eo pid,comm 18:55:50 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). 18:55:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:50 [ssh-agent] Looking for ssh-agent implementation... 18:55:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:50 $ docker exec b34923d788f8e26bf6b0c31c1eb6188fc4033b9d1fc567af2e1c3a3a2c4c8cc1 ssh-agent 18:55:50 SSH_AUTH_SOCK=/tmp/ssh-gtZidR5r41uL/agent.33 18:55:50 SSH_AGENT_PID=39 18:55:50 Running ssh-add (command line suppressed) 18:55:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7946114413343032007.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7946114413343032007.key) 18:55:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:50 + git semver tag 18:55:50 2023-05-10 18:55:50,870 [run_tag] DEBUG tag force:False 18:55:50 2023-05-10 18:55:50,870 [check_head_tag] DEBUG check head tag 18:55:50 2023-05-10 18:55:50,873 [execute] INFO git cat-file --batch-check 18:55:50 2023-05-10 18:55:50,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:55:50 2023-05-10 18:55:50,877 [execute] INFO git cat-file --batch 18:55:50 2023-05-10 18:55:50,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:55:50 2023-05-10 18:55:50,910 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:50 2023-05-10 18:55:50,910 [execute] INFO git tag -a v3.0.0-dev.45 -m v3.0.0-dev.45 18:55:50 2023-05-10 18:55:50,910 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.45', '-m', 'v3.0.0-dev.45'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:55:50 2023-05-10 18:55:50,913 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:50 3.0.0-dev.45 [Pipeline] } 18:55:50 $ docker exec --env ******** --env ******** b34923d788f8e26bf6b0c31c1eb6188fc4033b9d1fc567af2e1c3a3a2c4c8cc1 ssh-agent -k 18:55:51 unset SSH_AUTH_SOCK; 18:55:51 unset SSH_AGENT_PID; 18:55:51 echo Agent pid 39 killed; 18:55:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:51 + git semver [Pipeline] } 18:55:51 $ docker stop --time=1 b34923d788f8e26bf6b0c31c1eb6188fc4033b9d1fc567af2e1c3a3a2c4c8cc1 18:55:52 $ docker rm -f --volumes b34923d788f8e26bf6b0c31c1eb6188fc4033b9d1fc567af2e1c3a3a2c4c8cc1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:53 18:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:53 0.23.1-centos7: Pulling from edgex-lftools 18:55:53 ab5ef0e58194: Pulling fs layer 18:55:53 9712f1f96733: Pulling fs layer 18:55:53 63f879dbbcfc: Pulling fs layer 18:55:53 0d9ebad4ef96: Pulling fs layer 18:55:53 e9a5061849ea: Pulling fs layer 18:55:53 d747dcd14b5f: Pulling fs layer 18:55:53 2de7ff778b66: Pulling fs layer 18:55:53 e9a5061849ea: Waiting 18:55:53 0d9ebad4ef96: Waiting 18:55:53 d747dcd14b5f: Waiting 18:55:53 2de7ff778b66: Waiting 18:55:53 9712f1f96733: Verifying Checksum 18:55:53 9712f1f96733: Download complete 18:55:53 63f879dbbcfc: Verifying Checksum 18:55:53 63f879dbbcfc: Download complete 18:55:54 e9a5061849ea: Verifying Checksum 18:55:54 e9a5061849ea: Download complete 18:55:54 d747dcd14b5f: Verifying Checksum 18:55:54 d747dcd14b5f: Download complete 18:55:54 0d9ebad4ef96: Verifying Checksum 18:55:54 0d9ebad4ef96: Download complete 18:55:54 ab5ef0e58194: Verifying Checksum 18:55:54 ab5ef0e58194: Download complete 18:55:54 2de7ff778b66: Verifying Checksum 18:55:54 2de7ff778b66: Download complete 18:55:57 ab5ef0e58194: Pull complete 18:55:57 9712f1f96733: Pull complete 18:55:57 63f879dbbcfc: Pull complete 18:56:01 0d9ebad4ef96: Pull complete 18:56:01 e9a5061849ea: Pull complete 18:56:01 d747dcd14b5f: Pull complete 18:56:02 2de7ff778b66: Pull complete 18:56:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:02 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:56:02 $ 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 18:56:05 $ docker top e0e51303ca8bc72879017450cefb6ed409024a18a0c0c0f719b9d9057db2b71e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:56:05 provisioning config files... 18:56:05 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8694016853487117693tmp 18:56:05 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1743148490514774141tmp 18:56:05 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1328741938909032451tmp [Pipeline] { [Pipeline] echo 18:56:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:56:06 ---> sigul-configuration.sh 18:56:06 gpg: directory `/root/.gnupg' created 18:56:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:56:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:56:06 gpg: keyring `/root/.gnupg/secring.gpg' created 18:56:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:56:06 gpg: CAST5 encrypted data 18:56:06 gpg: encrypted with 1 passphrase 18:56:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:56:06 + mkdir /home/jenkins 18:56:06 + mkdir /home/jenkins/sigul [Pipeline] sh 18:56:06 + 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 18:56:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:56:07 ---> sigul-install.sh 18:56:07 Sigul already installed; skipping installation. [Pipeline] sh 18:56:07 + git tag --list 18:56:07 v0.0.0 18:56:07 v0.0.1-dev.1 18:56:07 v0.0.1-dev.10 18:56:07 v0.0.1-dev.11 18:56:07 v0.0.1-dev.12 18:56:07 v0.0.1-dev.13 18:56:07 v0.0.1-dev.14 18:56:07 v0.0.1-dev.15 18:56:07 v0.0.1-dev.16 18:56:07 v0.0.1-dev.17 18:56:07 v0.0.1-dev.18 18:56:07 v0.0.1-dev.19 18:56:07 v0.0.1-dev.2 18:56:07 v0.0.1-dev.20 18:56:07 v0.0.1-dev.21 18:56:07 v0.0.1-dev.22 18:56:07 v0.0.1-dev.23 18:56:07 v0.0.1-dev.24 18:56:07 v0.0.1-dev.25 18:56:07 v0.0.1-dev.26 18:56:07 v0.0.1-dev.27 18:56:07 v0.0.1-dev.28 18:56:07 v0.0.1-dev.3 18:56:07 v0.0.1-dev.4 18:56:07 v0.0.1-dev.5 18:56:07 v0.0.1-dev.6 18:56:07 v0.0.1-dev.7 18:56:07 v0.0.1-dev.8 18:56:07 v0.0.1-dev.9 18:56:07 v2.2.0 18:56:07 v2.2.0-dev.29 18:56:07 v2.2.0-dev.30 18:56:07 v2.2.0-dev.31 18:56:07 v2.2.0-dev.32 18:56:07 v2.2.0-dev.33 18:56:07 v2.2.0-dev.34 18:56:07 v2.2.0-dev.35 18:56:07 v2.3.0 18:56:07 v2.3.0-dev.1 18:56:07 v2.3.0-dev.10 18:56:07 v2.3.0-dev.11 18:56:07 v2.3.0-dev.12 18:56:07 v2.3.0-dev.13 18:56:07 v2.3.0-dev.14 18:56:07 v2.3.0-dev.15 18:56:07 v2.3.0-dev.16 18:56:07 v2.3.0-dev.17 18:56:07 v2.3.0-dev.18 18:56:07 v2.3.0-dev.19 18:56:07 v2.3.0-dev.2 18:56:07 v2.3.0-dev.20 18:56:07 v2.3.0-dev.21 18:56:07 v2.3.0-dev.22 18:56:07 v2.3.0-dev.23 18:56:07 v2.3.0-dev.24 18:56:07 v2.3.0-dev.25 18:56:07 v2.3.0-dev.26 18:56:07 v2.3.0-dev.27 18:56:07 v2.3.0-dev.28 18:56:07 v2.3.0-dev.29 18:56:07 v2.3.0-dev.3 18:56:07 v2.3.0-dev.30 18:56:07 v2.3.0-dev.31 18:56:07 v2.3.0-dev.32 18:56:07 v2.3.0-dev.33 18:56:07 v2.3.0-dev.34 18:56:07 v2.3.0-dev.35 18:56:07 v2.3.0-dev.36 18:56:07 v2.3.0-dev.37 18:56:07 v2.3.0-dev.38 18:56:07 v2.3.0-dev.39 18:56:07 v2.3.0-dev.4 18:56:07 v2.3.0-dev.40 18:56:07 v2.3.0-dev.41 18:56:07 v2.3.0-dev.42 18:56:07 v2.3.0-dev.43 18:56:07 v2.3.0-dev.44 18:56:07 v2.3.0-dev.45 18:56:07 v2.3.0-dev.5 18:56:07 v2.3.0-dev.6 18:56:07 v2.3.0-dev.7 18:56:07 v2.3.0-dev.8 18:56:07 v2.3.0-dev.9 18:56:07 v2.3.1 18:56:07 v2.3.1-dev.1 18:56:07 v2.3.1-dev.4 18:56:07 v2.3.1-dev.5 18:56:07 v2.3.2-dev.1 18:56:07 v2.3.2-dev.2 18:56:07 v3.0.0-dev.1 18:56:07 v3.0.0-dev.10 18:56:07 v3.0.0-dev.11 18:56:07 v3.0.0-dev.12 18:56:07 v3.0.0-dev.13 18:56:07 v3.0.0-dev.14 18:56:07 v3.0.0-dev.15 18:56:07 v3.0.0-dev.16 18:56:07 v3.0.0-dev.17 18:56:07 v3.0.0-dev.18 18:56:07 v3.0.0-dev.19 18:56:07 v3.0.0-dev.2 18:56:07 v3.0.0-dev.20 18:56:07 v3.0.0-dev.21 18:56:07 v3.0.0-dev.22 18:56:07 v3.0.0-dev.23 18:56:07 v3.0.0-dev.24 18:56:07 v3.0.0-dev.25 18:56:07 v3.0.0-dev.26 18:56:07 v3.0.0-dev.27 18:56:07 v3.0.0-dev.28 18:56:07 v3.0.0-dev.29 18:56:07 v3.0.0-dev.3 18:56:07 v3.0.0-dev.30 18:56:07 v3.0.0-dev.31 18:56:07 v3.0.0-dev.32 18:56:07 v3.0.0-dev.33 18:56:07 v3.0.0-dev.34 18:56:07 v3.0.0-dev.35 18:56:07 v3.0.0-dev.36 18:56:07 v3.0.0-dev.37 18:56:07 v3.0.0-dev.38 18:56:07 v3.0.0-dev.39 18:56:07 v3.0.0-dev.4 18:56:07 v3.0.0-dev.40 18:56:07 v3.0.0-dev.41 18:56:07 v3.0.0-dev.42 18:56:07 v3.0.0-dev.43 18:56:07 v3.0.0-dev.44 18:56:07 v3.0.0-dev.45 18:56:07 v3.0.0-dev.5 18:56:07 v3.0.0-dev.6 18:56:07 v3.0.0-dev.7 18:56:07 v3.0.0-dev.8 18:56:07 v3.0.0-dev.9 [Pipeline] sh 18:56:07 + lftools sign git-tag v3.0.0-dev.45 18:56:08 Signing Git tag with Sigul... 18:56:08 Signing v3.0.0-dev.45 [Pipeline] echo 18:56:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:56:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:56:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:56:08 $ docker stop --time=1 e0e51303ca8bc72879017450cefb6ed409024a18a0c0c0f719b9d9057db2b71e 18:56:10 $ docker rm -f --volumes e0e51303ca8bc72879017450cefb6ed409024a18a0c0c0f719b9d9057db2b71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:56:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:11 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:56:11 $ 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 18:56:11 $ docker top 794edf8dd9fe296527d849f1683af853186a1ad6c045433eed3267f8eb572f92 -eo pid,comm 18:56:11 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). 18:56:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:11 [ssh-agent] Looking for ssh-agent implementation... 18:56:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:11 $ docker exec 794edf8dd9fe296527d849f1683af853186a1ad6c045433eed3267f8eb572f92 ssh-agent 18:56:11 SSH_AUTH_SOCK=/tmp/ssh-M7tzp5VvaWVt/agent.33 18:56:11 SSH_AGENT_PID=39 18:56:11 Running ssh-add (command line suppressed) 18:56:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2558334261002360927.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2558334261002360927.key) 18:56:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:12 + git semver bump pre 18:56:12 2023-05-10 18:56:12,417 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:56:12 2023-05-10 18:56:12,418 [bump_version] DEBUG bumping version:3.0.0-dev.45 on axis:pre with prefix:dev 18:56:12 2023-05-10 18:56:12,418 [bump_version] DEBUG bumped version:3.0.0-dev.46 18:56:12 2023-05-10 18:56:12,418 [write_version] DEBUG write version:3.0.0-dev.46 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:56:12 2023-05-10 18:56:12,418 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:56:12 2023-05-10 18:56:12,418 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:56:12 2023-05-10 18:56:12,420 [execute] INFO git cat-file --batch-check 18:56:12 2023-05-10 18:56:12,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:12 2023-05-10 18:56:12,426 [execute] INFO git cat-file --batch 18:56:12 2023-05-10 18:56:12,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:12 2023-05-10 18:56:12,432 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:56:12 3.0.0-dev.46 [Pipeline] } 18:56:12 $ docker exec --env ******** --env ******** 794edf8dd9fe296527d849f1683af853186a1ad6c045433eed3267f8eb572f92 ssh-agent -k 18:56:12 unset SSH_AUTH_SOCK; 18:56:12 unset SSH_AGENT_PID; 18:56:12 echo Agent pid 39 killed; 18:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:12 + git semver [Pipeline] } 18:56:13 $ docker stop --time=1 794edf8dd9fe296527d849f1683af853186a1ad6c045433eed3267f8eb572f92 18:56:14 $ docker rm -f --volumes 794edf8dd9fe296527d849f1683af853186a1ad6c045433eed3267f8eb572f92 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:15 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:56:15 $ 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 18:56:15 $ docker top 02c4c127a9e8eee2c07b669b97b3075af9388b10e857af05e810b9bb26b2780c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:15 [ssh-agent] Looking for ssh-agent implementation... 18:56:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:15 $ docker exec 02c4c127a9e8eee2c07b669b97b3075af9388b10e857af05e810b9bb26b2780c ssh-agent 18:56:15 SSH_AUTH_SOCK=/tmp/ssh-SH3GNoQAsseh/agent.31 18:56:15 SSH_AGENT_PID=37 18:56:15 Running ssh-add (command line suppressed) 18:56:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_949725122328424327.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_949725122328424327.key) 18:56:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:16 + git semver push 18:56:16 2023-05-10 18:56:16,356 [run_push] DEBUG push 18:56:16 2023-05-10 18:56:16,356 [execute] INFO git cat-file --batch-check 18:56:16 2023-05-10 18:56:16,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:16 2023-05-10 18:56:16,360 [execute] INFO git rev-list 2241775e7a01f4943c0d95188787ffb464d96c48 -- 18:56:16 2023-05-10 18:56:16,360 [execute] DEBUG Popen(['git', 'rev-list', '2241775e7a01f4943c0d95188787ffb464d96c48', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:56:16 2023-05-10 18:56:16,366 [execute] INFO git fetch -v origin 18:56:16 2023-05-10 18:56:16,366 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:56:17 2023-05-10 18:56:16,813 [run_push] DEBUG no remote changes detected 18:56:17 2023-05-10 18:56:16,814 [execute] INFO git push origin semver 18:56:17 2023-05-10 18:56:16,815 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:56:17 2023-05-10 18:56:17,587 [run_push] DEBUG push all version tags 18:56:17 2023-05-10 18:56:17,587 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:56:17 2023-05-10 18:56:17,588 [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) 18:56:18 2023-05-10 18:56:18,292 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:56:18 3.0.0-dev.46 [Pipeline] } 18:56:18 $ docker exec --env ******** --env ******** 02c4c127a9e8eee2c07b669b97b3075af9388b10e857af05e810b9bb26b2780c ssh-agent -k 18:56:18 unset SSH_AUTH_SOCK; 18:56:18 unset SSH_AGENT_PID; 18:56:18 echo Agent pid 37 killed; 18:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:18 + git semver [Pipeline] } 18:56:19 $ docker stop --time=1 02c4c127a9e8eee2c07b669b97b3075af9388b10e857af05e810b9bb26b2780c 18:56:20 $ docker rm -f --volumes 02c4c127a9e8eee2c07b669b97b3075af9388b10e857af05e810b9bb26b2780c [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 18:56:21 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:56:21 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:56:21 total 16 18:56:21 drwxr-xr-x 3 root root 4096 May 10 18:44 . 18:56:21 drwxrwxr-x 11 jenkins jenkins 4096 May 10 18:56 .. 18:56:21 drwxr-xr-x 2 root root 4096 May 10 18:44 cost 18:56:21 -rw-r--r-- 1 root root 91 May 10 18:44 cost.csv 18:56:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:56:21 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:56:21 total 16 18:56:21 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:44 . 18:56:21 drwxrwxr-x 11 jenkins jenkins 4096 May 10 18:56 .. 18:56:21 drwxr-xr-x 2 jenkins jenkins 4096 May 10 18:44 cost 18:56:21 -rw-r--r-- 1 jenkins jenkins 91 May 10 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:56:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:22 ---> package-listing.sh 18:56:22 ++ facter osfamily 18:56:22 ++ tr '[:upper:]' '[:lower:]' 18:56:22 + OS_FAMILY=debian 18:56:22 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:56:22 + START_PACKAGES=/tmp/packages_start.txt 18:56:22 + END_PACKAGES=/tmp/packages_end.txt 18:56:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:22 + PACKAGES=/tmp/packages_start.txt 18:56:22 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:56:22 + PACKAGES=/tmp/packages_end.txt 18:56:22 + case "${OS_FAMILY}" in 18:56:22 + dpkg -l 18:56:22 + grep '^ii' 18:56:22 + '[' -f /tmp/packages_start.txt ']' 18:56:22 + '[' -f /tmp/packages_end.txt ']' 18:56:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:22 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:56:22 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:56:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:56:22 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 18:56:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:23 prd-ubuntu20.04-docker-8c-8g-14934 does not seem to be running inside a container 18:56:23 $ 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 18:56:23 $ docker top a79da167e88bd641afd0eb4b1303e209fcca2440eacb567e0d593224b09b3171 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:24 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:24 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:24 + ls /var/log/sa-host 18:56:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:24 provisioning config files... 18:56:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3010666608206971909tmp [Pipeline] { [Pipeline] echo 18:56:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:25 ---> create-netrc.sh [Pipeline] } 18:56:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:25 ---> python-tools-install.sh [Pipeline] echo 18:56:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:25 ---> sudo-logs.sh 18:56:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:56:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:26 ---> job-cost.sh 18:56:26 lf-activate-venv: SKIPPING 18:56:26 DEBUG: total: 0.2199999988079071 18:56:26 INFO: Retrieving Stack Cost... 18:56:26 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:26 INFO: Archiving Costs [Pipeline] echo 18:56:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:27 ---> logs-deploy.sh 18:56:27 lf-activate-venv: SKIPPING 18:56:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/142 18:56:27 INFO: archiving workspace using pattern(s): 18:56:28 Archives upload complete. 18:56:28 INFO: archiving logs to Nexus