Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c742c110d1cc62fb19cc4b7662ac95047aaf245d 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-ssh5107089320785064435.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-ssh2598548256071797979.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-ssh14594554142659229849.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-ssh3204376739183786820.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-ssh8263570088722450052.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/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16977’ Running on prd-ubuntu20.04-docker-8c-8g-16979 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c742c110d1cc62fb19cc4b7662ac95047aaf245d (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#370)" > git config core.sparsecheckout # timeout=10 > git checkout -f c742c110d1cc62fb19cc4b7662ac95047aaf245d # timeout=10 > git rev-list --no-walk 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:51:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:51:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:59 ========================================================= 20:51:59 EdgeX Global Pipelines Version Info 20:51:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:51:59 ------------------- 20:51:59 stable info: 20:51:59 ------------------- 20:51:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:51:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:51:59 Message: update stable to v1.0.249 20:52:00 ------------------- 20:52:00 experimental info: 20:52:00 ------------------- 20:52:00 Commited By: **** collab-it+edgex@linuxfoundation.org 20:52:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:52:00 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c742c11 [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:01 provisioning config files... 20:52:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5033915972894825292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:01 ---> docker-login.sh 20:52:01 nexus3.edgexfoundry.org:10001 20:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:01 Configure a credential helper to remove this warning. See 20:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:01 20:52:01 Login Succeeded 20:52:01 nexus3.edgexfoundry.org:10002 20:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:01 Configure a credential helper to remove this warning. See 20:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:01 20:52:01 Login Succeeded 20:52:01 nexus3.edgexfoundry.org:10003 20:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:01 Configure a credential helper to remove this warning. See 20:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:01 20:52:01 Login Succeeded 20:52:01 nexus3.edgexfoundry.org:10004 20:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:02 Configure a credential helper to remove this warning. See 20:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:02 20:52:02 Login Succeeded 20:52:02 docker.io 20:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:02 Configure a credential helper to remove this warning. See 20:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:02 20:52:02 Login Succeeded 20:52:02 ---> docker-login.sh ends [Pipeline] } 20:52:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:02 + git rev-list -1 --merges c742c110d1cc62fb19cc4b7662ac95047aaf245d~1..c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] echo 20:52:02 -----------> git rev-list -1 --merges c742c110d1cc62fb19cc4b7662ac95047aaf245d~1..c742c110d1cc62fb19cc4b7662ac95047aaf245d c742c110d1cc62fb19cc4b7662ac95047aaf245d [false] [Pipeline] sh 20:52:03 + git log --format=format:%s -1 c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] echo 20:52:03 ========================================================= 20:52:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:52:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:03 + git log --format=format:%s -1 c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] echo 20:52:03 [semverPrep] GIT_COMMIT: c742c110d1cc62fb19cc4b7662ac95047aaf245d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#370) [Pipeline] echo 20:52:03 [semverPrep] This is not a build commit. [Pipeline] sh 20:52:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:03 + grep -v github /etc/ssh/ssh_known_hosts 20:52:03 + [ -e /tmp/ssh_known_hosts ] 20:52:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:52:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:52:03 + sudo tee -a /etc/ssh/ssh_known_hosts 20:52:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:04 20:52:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:04 0.1.4: Pulling from edgex-devops/py-git-semver 20:52:04 b85a868b505f: Pulling fs layer 20:52:04 e2be974225ed: Pulling fs layer 20:52:04 339a4e72a1f5: Pulling fs layer 20:52:04 988bab9f4d93: Pulling fs layer 20:52:04 1469e6f7b9e6: Pulling fs layer 20:52:04 988bab9f4d93: Waiting 20:52:04 eaf3925da568: Pulling fs layer 20:52:04 1469e6f7b9e6: Waiting 20:52:04 bab4dde63d76: Pulling fs layer 20:52:04 eaf3925da568: Waiting 20:52:04 bde34c3a00c8: Pulling fs layer 20:52:04 b352a97aabf1: Pulling fs layer 20:52:04 4872d77fe225: Pulling fs layer 20:52:04 bde34c3a00c8: Waiting 20:52:04 bab4dde63d76: Waiting 20:52:04 b352a97aabf1: Waiting 20:52:04 5851b861e8e6: Pulling fs layer 20:52:04 4872d77fe225: Waiting 20:52:04 e2be974225ed: Download complete 20:52:04 988bab9f4d93: Download complete 20:52:04 339a4e72a1f5: Verifying Checksum 20:52:04 339a4e72a1f5: Download complete 20:52:04 1469e6f7b9e6: Verifying Checksum 20:52:04 1469e6f7b9e6: Download complete 20:52:04 eaf3925da568: Verifying Checksum 20:52:04 bde34c3a00c8: Download complete 20:52:04 b352a97aabf1: Verifying Checksum 20:52:04 b352a97aabf1: Download complete 20:52:04 4872d77fe225: Download complete 20:52:04 5851b861e8e6: Download complete 20:52:04 b85a868b505f: Download complete 20:52:05 bab4dde63d76: Verifying Checksum 20:52:05 bab4dde63d76: Download complete 20:52:06 b85a868b505f: Pull complete 20:52:06 e2be974225ed: Pull complete 20:52:06 339a4e72a1f5: Pull complete 20:52:06 988bab9f4d93: Pull complete 20:52:06 1469e6f7b9e6: Pull complete 20:52:06 eaf3925da568: Pull complete 20:52:08 bab4dde63d76: Pull complete 20:52:08 bde34c3a00c8: Pull complete 20:52:08 b352a97aabf1: Pull complete 20:52:09 4872d77fe225: Pull complete 20:52:09 5851b861e8e6: Pull complete 20:52:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:09 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 20:52:09 $ 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 20:52:11 $ docker top bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e -eo pid,comm 20:52: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). 20:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:11 [ssh-agent] Looking for ssh-agent implementation... 20:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:11 $ docker exec bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e ssh-agent 20:52:11 SSH_AUTH_SOCK=/tmp/ssh-FAt0UhX1krcv/agent.31 20:52:11 SSH_AGENT_PID=37 20:52:11 Running ssh-add (command line suppressed) 20:52:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_307681073279848774.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_307681073279848774.key) 20:52:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:12 + git tag --points-at HEAD [Pipeline] } 20:52:12 $ docker exec --env ******** --env ******** bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e ssh-agent -k 20:52:12 unset SSH_AUTH_SOCK; 20:52:12 unset SSH_AGENT_PID; 20:52:12 echo Agent pid 37 killed; 20:52:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:12 [ssh-agent] Looking for ssh-agent implementation... 20:52:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:12 $ docker exec bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e ssh-agent 20:52:12 SSH_AUTH_SOCK=/tmp/ssh-qAzIVmII2Q0s/agent.69 20:52:12 SSH_AGENT_PID=76 20:52:12 Running ssh-add (command line suppressed) 20:52:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7658654071835813079.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7658654071835813079.key) 20:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:12 + git semver init 20:52:13 2023-05-25 20:52:13,045 [run_init] DEBUG init version:0.0.0 force:False 20:52:13 2023-05-25 20:52:13,046 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 20:52:13 2023-05-25 20:52:13,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 20:52:13 2023-05-25 20:52:13,047 [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) 20:52:14 2023-05-25 20:52:14,047 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 20:52:14 2023-05-25 20:52:14,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 20:52:14 2023-05-25 20:52:14,049 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:52:14 2023-05-25 20:52:14,050 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:52:14 3.0.0-dev.57 [Pipeline] } 20:52:14 $ docker exec --env ******** --env ******** bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e ssh-agent -k 20:52:14 unset SSH_AUTH_SOCK; 20:52:14 unset SSH_AGENT_PID; 20:52:14 echo Agent pid 76 killed; 20:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:14 + git semver [Pipeline] } 20:52:14 $ docker stop --time=1 bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e 20:52:16 $ docker rm -f --volumes bc9a492da100fc86810efa7d987f8faa2179c6e31a19a9a02ba40c1ccb401e1e [Pipeline] // withDockerContainer [Pipeline] sh 20:52:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:52:16 Stashed 1 file(s) [Pipeline] echo 20:52:16 [edgeXSemver]: initialized semver on version 3.0.0-dev.57 [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 20:52:16 provisioning config files... 20:52:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10631702666403175157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:17 ---> docker-login.sh 20:52:17 nexus3.edgexfoundry.org:10001 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 nexus3.edgexfoundry.org:10002 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 nexus3.edgexfoundry.org:10003 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 nexus3.edgexfoundry.org:10004 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 docker.io 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 ---> docker-login.sh ends [Pipeline] } 20:52:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:17 ========================================================= 20:52:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:52:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:18 + 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 . 20:52:18 Sending build context to Docker daemon 21.94MB 20:52:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:52:18 Step 2/13 : FROM ${BASE} AS builder 20:52:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:52:18 f56be85fc22e: Pulling fs layer 20:52:18 85791d961cd3: Pulling fs layer 20:52:18 d694b5ae8c79: Pulling fs layer 20:52:18 9f32a84ed3da: Pulling fs layer 20:52:18 4d19c01a9841: Pulling fs layer 20:52:18 9325e15d5711: Pulling fs layer 20:52:18 556b6ee489ea: Pulling fs layer 20:52:18 4d19c01a9841: Waiting 20:52:18 9f32a84ed3da: Waiting 20:52:18 9325e15d5711: Waiting 20:52:18 c5a4b2cf53e6: Pulling fs layer 20:52:18 c5a4b2cf53e6: Waiting 20:52:18 556b6ee489ea: Waiting 20:52:18 85791d961cd3: Verifying Checksum 20:52:18 85791d961cd3: Download complete 20:52:18 9f32a84ed3da: Verifying Checksum 20:52:18 9f32a84ed3da: Download complete 20:52:18 4d19c01a9841: Verifying Checksum 20:52:18 4d19c01a9841: Download complete 20:52:18 f56be85fc22e: Verifying Checksum 20:52:18 f56be85fc22e: Download complete 20:52:18 9325e15d5711: Verifying Checksum 20:52:18 9325e15d5711: Download complete 20:52:18 f56be85fc22e: Pull complete 20:52:18 85791d961cd3: Pull complete 20:52:18 c5a4b2cf53e6: Verifying Checksum 20:52:18 c5a4b2cf53e6: Download complete 20:52:18 d694b5ae8c79: Verifying Checksum 20:52:18 d694b5ae8c79: Download complete 20:52:19 556b6ee489ea: Verifying Checksum 20:52:19 556b6ee489ea: Download complete 20:52:22 d694b5ae8c79: Pull complete 20:52:22 9f32a84ed3da: Pull complete 20:52:22 4d19c01a9841: Pull complete 20:52:22 9325e15d5711: Pull complete 20:52:24 556b6ee489ea: Pull complete 20:52:25 c5a4b2cf53e6: Pull complete 20:52:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:52:25 ---> c4be618373d6 20:52:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:52:29 ---> Running in c84dfd1e9876 20:52:29 Removing intermediate container c84dfd1e9876 20:52:29 ---> 45cac8f87233 20:52:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:29 ---> Running in b983a3be4f51 20:52:29 Removing intermediate container b983a3be4f51 20:52:29 ---> 7bc709f11240 20:52:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:52:29 ---> Running in 0ea49f89db77 20:52:29 Removing intermediate container 0ea49f89db77 20:52:29 ---> fee3900ce4d9 20:52:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:52:29 ---> Running in 77707e8da361 20:52:29 Removing intermediate container 77707e8da361 20:52:29 ---> d9f7bb4860f8 20:52:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:52:29 ---> Running in 872f6750789e 20:52:29 Removing intermediate container 872f6750789e 20:52:29 ---> 476d2da3afab 20:52:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:29 ---> Running in d1c0ed455054 20:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:52:30 OK: 265 MiB in 53 packages 20:52:30 Removing intermediate container d1c0ed455054 20:52:30 ---> 36b2f3abecd4 20:52:30 Step 9/13 : WORKDIR /device-onvif-camera 20:52:30 ---> Running in 9ce1485062b8 20:52:30 Removing intermediate container 9ce1485062b8 20:52:30 ---> a0de7fe9618b 20:52:30 Step 10/13 : COPY go.mod vendor* ./ 20:52:30 ---> e607f477654c 20:52:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:30 ---> Running in db82ac7f287d 20:52:31 Still waiting to schedule task 20:52:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16980’ is offline 20:52:57 Removing intermediate container db82ac7f287d 20:52:57 ---> 4a196970c7d4 20:52:57 Step 12/13 : COPY . . 20:52:57 ---> f88ed59ef1de 20:52:57 Step 13/13 : RUN ${MAKE} 20:52:57 ---> Running in 1908b6019955 20:52:57 noop 20:52:57 Removing intermediate container 1908b6019955 20:52:57 ---> ee01153071e2 20:52:57 Successfully built ee01153071e2 20:52:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:57 + docker inspect -f . ci-base-image-x86_64 20:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:57 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 20:52:57 $ 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 20:52:57 $ docker top 147cb57326a16392a7c6ab156cff6405a77de7c309e091d68f73876adfd26964 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:58 + go version 20:52:58 go version go1.20.2 linux/amd64 [Pipeline] } 20:52:58 $ docker stop --time=1 147cb57326a16392a7c6ab156cff6405a77de7c309e091d68f73876adfd26964 20:52:59 $ docker rm -f --volumes 147cb57326a16392a7c6ab156cff6405a77de7c309e091d68f73876adfd26964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:59 + docker inspect -f . ci-base-image-x86_64 20:52:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:59 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 20:52:59 $ 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 20:53:00 $ docker top fa1b92fb71c0230d5da62cdd477ea929f8a5868334253513b8a4ab9526d3428a -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:00 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 20:53:00 + make test 20:53:00 go test ./... -coverprofile=coverage.out ./... 20:53:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:53:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:53:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:53:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.4% of statements 20:53:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.500s coverage: 86.5% of statements 20:53:26 go vet ./... 20:53:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:53:30 $ docker stop --time=1 fa1b92fb71c0230d5da62cdd477ea929f8a5868334253513b8a4ab9526d3428a 20:53:33 $ docker rm -f --volumes fa1b92fb71c0230d5da62cdd477ea929f8a5868334253513b8a4ab9526d3428a [Pipeline] // withDockerContainer [Pipeline] sh 20:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:34 + ls -al . 20:53:34 total 232 20:53:34 drwxrwxr-x 10 jenkins jenkins 4096 May 25 20:53 . 20:53:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:51 .. 20:53:34 drwxrwxr-x 8 jenkins jenkins 4096 May 25 20:52 .git 20:53:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:51 .github 20:53:34 -rw-rw-r-- 1 jenkins jenkins 496 May 25 20:51 .gitignore 20:53:34 -rw-rw-r-- 1 jenkins jenkins 42 May 25 20:51 .golangci.yml 20:53:34 drwxr-xr-x 3 jenkins jenkins 4096 May 25 20:52 .semver 20:53:34 -rw-rw-r-- 1 jenkins jenkins 10087 May 25 20:51 Attribution.txt 20:53:34 -rw-rw-r-- 1 jenkins jenkins 6312 May 25 20:51 CHANGELOG.md 20:53:34 -rw-rw-r-- 1 jenkins jenkins 1574 May 25 20:51 Dockerfile 20:53:34 -rw-rw-r-- 1 jenkins jenkins 677 May 25 20:51 GOVERNANCE.md 20:53:34 -rw-rw-r-- 1 jenkins jenkins 739 May 25 20:51 Jenkinsfile 20:53:34 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 20:51 LICENSE 20:53:34 -rw-rw-r-- 1 jenkins jenkins 2751 May 25 20:51 Makefile 20:53:34 -rw-rw-r-- 1 jenkins jenkins 625 May 25 20:51 OWNERS.md 20:53:34 -rw-rw-r-- 1 jenkins jenkins 2690 May 25 20:51 README.md 20:53:34 -rw-rw-r-- 1 jenkins jenkins 12 May 25 20:52 VERSION 20:53:34 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:51 bin 20:53:34 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:51 cmd 20:53:34 -rw-r--r-- 1 jenkins jenkins 78459 May 25 20:53 coverage.out 20:53:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:51 doc 20:53:34 -rw-rw-r-- 1 jenkins jenkins 3594 May 25 20:51 go.mod 20:53:34 -rw-rw-r-- 1 jenkins jenkins 33395 May 25 20:51 go.sum 20:53:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:51 internal 20:53:34 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:51 snap 20:53:34 -rw-rw-r-- 1 jenkins jenkins 236 May 25 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:35 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c742c110d1cc62fb19cc4b7662ac95047aaf245d --label arch=amd64 --label version=3.0.0-dev.57 . 20:53:35 Sending build context to Docker daemon 22.02MB 20:53:35 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:53:35 Step 2/26 : FROM ${BASE} AS builder 20:53:35 ---> ee01153071e2 20:53:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:53:35 ---> Running in c0bf59ac99f7 20:53:35 Removing intermediate container c0bf59ac99f7 20:53:35 ---> 2634cc01cd27 20:53:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:35 ---> Running in ebb0580e30b3 20:53:35 Removing intermediate container ebb0580e30b3 20:53:35 ---> f8b22b7c92e9 20:53:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:53:35 ---> Running in 340ae3524249 20:53:36 Removing intermediate container 340ae3524249 20:53:36 ---> a61053bf82d3 20:53:36 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:53:36 ---> Running in d8a9e1548a8e 20:53:36 Removing intermediate container d8a9e1548a8e 20:53:36 ---> dab2b5233546 20:53:36 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:53:36 ---> Running in 4db95b559f8a 20:53:36 Removing intermediate container 4db95b559f8a 20:53:36 ---> 7155bd795cd2 20:53:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:36 ---> Running in dd8d775f859a 20:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:53:36 OK: 265 MiB in 53 packages 20:53:37 Removing intermediate container dd8d775f859a 20:53:37 ---> 9da635dcdb24 20:53:37 Step 9/26 : WORKDIR /device-onvif-camera 20:53:37 ---> Running in 5875411f8786 20:53:37 Removing intermediate container 5875411f8786 20:53:37 ---> eb8ca17202b5 20:53:37 Step 10/26 : COPY go.mod vendor* ./ 20:53:37 ---> 048ac6015f82 20:53:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:37 ---> Running in c3d33a23f437 20:53:38 Removing intermediate container c3d33a23f437 20:53:38 ---> 61e257989177 20:53:38 Step 12/26 : COPY . . 20:53:39 ---> 77468e921a82 20:53:39 Step 13/26 : RUN ${MAKE} 20:53:39 ---> Running in 1ecee3139dd6 20:53:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.57" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 20:54:01 Removing intermediate container 1ecee3139dd6 20:54:01 ---> 9f995b40dfa5 20:54:01 Step 14/26 : FROM alpine:3.17 20:54:01 3.17: Pulling from library/alpine 20:54:01 f56be85fc22e: Already exists 20:54:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:54:01 Status: Downloaded newer image for alpine:3.17 20:54:01 ---> 9ed4aefc74f6 20:54:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:54:01 ---> Running in e0140a7ef768 20:54:01 Removing intermediate container e0140a7ef768 20:54:01 ---> fcbbc58f3e4f 20:54:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:54:01 ---> Running in 5ef51d827d0f 20:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:54:01 (1/1) Installing dumb-init (1.2.5-r2) 20:54:01 Executing busybox-1.35.0-r29.trigger 20:54:01 OK: 7 MiB in 16 packages 20:54:01 Removing intermediate container 5ef51d827d0f 20:54:01 ---> cde59d87fe10 20:54:01 Step 17/26 : WORKDIR / 20:54:01 ---> Running in f2525c79071b 20:54:01 Removing intermediate container f2525c79071b 20:54:01 ---> 88d55937038c 20:54:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:54:01 ---> abe2b9ee16db 20:54:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:54:01 ---> 363189361a39 20:54:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:54:01 ---> 203a9244cd4e 20:54:01 Step 21/26 : EXPOSE 59984 20:54:01 ---> Running in 0e9e6766e5e5 20:54:01 Removing intermediate container 0e9e6766e5e5 20:54:01 ---> c57e6ecef09d 20:54:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:54:01 ---> Running in 409c1a7ad92a 20:54:01 Removing intermediate container 409c1a7ad92a 20:54:01 ---> 27ab394d235a 20:54:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:54:01 ---> Running in 5d12bec86f64 20:54:01 Removing intermediate container 5d12bec86f64 20:54:01 ---> 424a2907b8cf 20:54:01 Step 24/26 : LABEL arch=amd64 20:54:01 ---> Running in 9e310b6a4cce 20:54:01 Removing intermediate container 9e310b6a4cce 20:54:01 ---> 34fdffd5f93b 20:54:01 Step 25/26 : LABEL git_sha=c742c110d1cc62fb19cc4b7662ac95047aaf245d 20:54:01 ---> Running in 4145a6a85b8e 20:54:01 Removing intermediate container 4145a6a85b8e 20:54:01 ---> bab7a5efe67a 20:54:01 Step 26/26 : LABEL version=3.0.0-dev.57 20:54:01 ---> Running in 75488d1dd29b 20:54:01 Removing intermediate container 75488d1dd29b 20:54:01 ---> cf1ffa090dac 20:54:01 [Warning] One or more build-args [ARCH] were not consumed 20:54:01 Successfully built cf1ffa090dac 20:54:01 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 20:54:02 provisioning config files... 20:54:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1256452094818481831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:02 ---> docker-login.sh 20:54:02 nexus3.edgexfoundry.org:10001 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 nexus3.edgexfoundry.org:10002 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 nexus3.edgexfoundry.org:10003 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 nexus3.edgexfoundry.org:10004 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 docker.io 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 ---> docker-login.sh ends [Pipeline] } 20:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:02 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 20:54:02 c742c110d1cc62fb19cc4b7662ac95047aaf245d 20:54:02 latest 20:54:02 3.0.0-dev.57 20:54:02 c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 20:54:02 main 20:54:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d 20:54:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:54:03 377543cabf59: Preparing 20:54:03 f8d8ec162cdb: Preparing 20:54:03 e2dd4d082a6b: Preparing 20:54:03 10a253f4b133: Preparing 20:54:03 f1417ff83b31: Preparing 20:54:03 f1417ff83b31: Layer already exists 20:54:03 f8d8ec162cdb: Pushed 20:54:03 10a253f4b133: Pushed 20:54:03 377543cabf59: Pushed 20:54:06 e2dd4d082a6b: Pushed 20:54:06 c742c110d1cc62fb19cc4b7662ac95047aaf245d: digest: sha256:426ee8e96ab7ec9b3718da22cd27a2df750c01a24298e70c15f04b818777a279 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:54:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:54:06 377543cabf59: Preparing 20:54:06 f8d8ec162cdb: Preparing 20:54:06 e2dd4d082a6b: Preparing 20:54:06 10a253f4b133: Preparing 20:54:06 f1417ff83b31: Preparing 20:54:06 10a253f4b133: Layer already exists 20:54:06 e2dd4d082a6b: Layer already exists 20:54:06 f8d8ec162cdb: Layer already exists 20:54:06 f1417ff83b31: Layer already exists 20:54:06 377543cabf59: Layer already exists 20:54:06 latest: digest: sha256:426ee8e96ab7ec9b3718da22cd27a2df750c01a24298e70c15f04b818777a279 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.57 20:54:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:54:07 377543cabf59: Preparing 20:54:07 f8d8ec162cdb: Preparing 20:54:07 e2dd4d082a6b: Preparing 20:54:07 10a253f4b133: Preparing 20:54:07 f1417ff83b31: Preparing 20:54:07 f1417ff83b31: Layer already exists 20:54:07 e2dd4d082a6b: Layer already exists 20:54:07 377543cabf59: Layer already exists 20:54:07 10a253f4b133: Layer already exists 20:54:07 f8d8ec162cdb: Layer already exists 20:54:07 3.0.0-dev.57: digest: sha256:426ee8e96ab7ec9b3718da22cd27a2df750c01a24298e70c15f04b818777a279 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 20:54:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:54:07 377543cabf59: Preparing 20:54:07 f8d8ec162cdb: Preparing 20:54:07 e2dd4d082a6b: Preparing 20:54:07 10a253f4b133: Preparing 20:54:07 f1417ff83b31: Preparing 20:54:07 10a253f4b133: Layer already exists 20:54:07 e2dd4d082a6b: Layer already exists 20:54:07 f8d8ec162cdb: Layer already exists 20:54:07 f1417ff83b31: Layer already exists 20:54:07 377543cabf59: Layer already exists 20:54:07 c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57: digest: sha256:426ee8e96ab7ec9b3718da22cd27a2df750c01a24298e70c15f04b818777a279 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 20:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:54:08 377543cabf59: Preparing 20:54:08 f8d8ec162cdb: Preparing 20:54:08 e2dd4d082a6b: Preparing 20:54:08 10a253f4b133: Preparing 20:54:08 f1417ff83b31: Preparing 20:54:08 f8d8ec162cdb: Layer already exists 20:54:08 f1417ff83b31: Layer already exists 20:54:08 10a253f4b133: Layer already exists 20:54:08 377543cabf59: Layer already exists 20:54:08 e2dd4d082a6b: Layer already exists 20:54:08 main: digest: sha256:426ee8e96ab7ec9b3718da22cd27a2df750c01a24298e70c15f04b818777a279 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:08 ===================================================== [Pipeline] echo 20:54:08 taggedImages: 20:54:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d 20:54:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:54:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.57 20:54:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 20:54:08 - 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 20:54:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:08 20:54:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:09 latest: Pulling from edgex-lftools-log-publisher 20:54:09 5eb5b503b376: Pulling fs layer 20:54:09 5c69ac0246d0: Pulling fs layer 20:54:09 ec43610c2a17: Pulling fs layer 20:54:09 3a2ae6a8a46f: Pulling fs layer 20:54:09 33b1e0a273af: Pulling fs layer 20:54:09 3a2ae6a8a46f: Waiting 20:54:09 5d3b04190fa2: Pulling fs layer 20:54:09 2f39f015ded8: Pulling fs layer 20:54:09 33b1e0a273af: Waiting 20:54:09 5d3b04190fa2: Waiting 20:54:09 2f39f015ded8: Waiting 20:54:09 5c69ac0246d0: Download complete 20:54:09 3a2ae6a8a46f: Verifying Checksum 20:54:09 3a2ae6a8a46f: Download complete 20:54:09 ec43610c2a17: Verifying Checksum 20:54:09 ec43610c2a17: Download complete 20:54:09 33b1e0a273af: Verifying Checksum 20:54:09 33b1e0a273af: Download complete 20:54:09 5d3b04190fa2: Verifying Checksum 20:54:09 5d3b04190fa2: Download complete 20:54:09 5eb5b503b376: Verifying Checksum 20:54:09 5eb5b503b376: Download complete 20:54:10 2f39f015ded8: Download complete 20:54:10 5eb5b503b376: Pull complete 20:54:10 5c69ac0246d0: Pull complete 20:54:11 ec43610c2a17: Pull complete 20:54:11 3a2ae6a8a46f: Pull complete 20:54:11 33b1e0a273af: Pull complete 20:54:11 5d3b04190fa2: Pull complete 20:54:15 2f39f015ded8: Pull complete 20:54:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:54:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:15 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 20:54:15 $ 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 20:54:19 $ docker top 44fe9b410ebfe044eb394b4cfd8f5b11ec818a71bb7cfea29eb0069f415f6944 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:19 ---> job-cost.sh 20:54:19 lf-activate-venv: SKIPPING 20:54:19 INFO: No Stack... 20:54:20 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:20 INFO: Archiving Costs [Pipeline] sh 20:54:20 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 20:54:20 + cut -d, -f6 [Pipeline] lock 20:54:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] 20:54:20 Resource [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] did not exist. Created. 20:54:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:21 + echo total: 0.2199999988079071 [Pipeline] stash 20:54:21 Stashed 1 file(s) [Pipeline] } 20:54:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:21 $ docker stop --time=1 44fe9b410ebfe044eb394b4cfd8f5b11ec818a71bb7cfea29eb0069f415f6944 20:54:22 $ docker rm -f --volumes 44fe9b410ebfe044eb394b4cfd8f5b11ec818a71bb7cfea29eb0069f415f6944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:55:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16983 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 20:55:00 Running in /w/workspace/device-onvif-camera/154 [Pipeline] { [Pipeline] checkout 20:55:00 The recommended git tool is: git 20:55:07 using credential edgex-jenkins-ssh 20:55:07 Cloning the remote Git repository 20:55:07 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:55:07 > git init /w/workspace/device-onvif-camera/154 # timeout=10 20:55:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:55:07 > git --version # timeout=10 20:55:07 > git --version # 'git version 2.25.1' 20:55:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:10 Avoid second fetch 20:55:10 Checking out Revision c742c110d1cc62fb19cc4b7662ac95047aaf245d (main) 20:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:10 > git config core.sparsecheckout # timeout=10 20:55:10 > git checkout -f c742c110d1cc62fb19cc4b7662ac95047aaf245d # timeout=10 20:55:11 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#370)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:12 Dload Upload Total Spent Left Speed 20:55:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 20:55:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:55:13 + sudo tee /etc/docker/daemon.new 20:55:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:55:13 { 20:55:13 "registry-mirrors": [ 20:55:13 "https://nexus3.edgexfoundry.org:10001" 20:55:13 ], 20:55:13 "bip": "10.250.0.254/24", 20:55:13 "hosts": [ 20:55:13 "tcp://0.0.0.0:5555", 20:55:13 "unix:///var/run/docker.sock" 20:55:13 ], 20:55:13 "mtu": 1458, 20:55:13 "selinux-enabled": true, 20:55:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:55:13 } [Pipeline] sh 20:55:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:55:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:32 provisioning config files... 20:55:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/154@tmp/config13181031785125419252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:32 ---> docker-login.sh 20:55:32 nexus3.edgexfoundry.org:10001 20:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:33 Configure a credential helper to remove this warning. See 20:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:33 20:55:33 Login Succeeded 20:55:33 nexus3.edgexfoundry.org:10002 20:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:34 Configure a credential helper to remove this warning. See 20:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:34 20:55:34 Login Succeeded 20:55:34 nexus3.edgexfoundry.org:10003 20:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:34 Configure a credential helper to remove this warning. See 20:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:34 20:55:34 Login Succeeded 20:55:34 nexus3.edgexfoundry.org:10004 20:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:34 Configure a credential helper to remove this warning. See 20:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:34 20:55:34 Login Succeeded 20:55:34 docker.io 20:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 ---> docker-login.sh ends [Pipeline] } 20:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:35 ========================================================= 20:55:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:55:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:35 + 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 . 20:55:36 Sending build context to Docker daemon 14.38MB 20:55:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:55:36 Step 2/13 : FROM ${BASE} AS builder 20:55:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:36 c41833b44d91: Pulling fs layer 20:55:36 ed15518f5707: Pulling fs layer 20:55:36 feae8fd75edb: Pulling fs layer 20:55:36 242c74f7c9fa: Pulling fs layer 20:55:36 3cdef696dda3: Pulling fs layer 20:55:36 2ced38df9373: Pulling fs layer 20:55:36 58f1dce35555: Pulling fs layer 20:55:36 242c74f7c9fa: Waiting 20:55:36 3cdef696dda3: Waiting 20:55:36 2ced38df9373: Waiting 20:55:36 58f1dce35555: Waiting 20:55:36 ed15518f5707: Verifying Checksum 20:55:36 ed15518f5707: Download complete 20:55:36 242c74f7c9fa: Verifying Checksum 20:55:36 242c74f7c9fa: Download complete 20:55:36 3cdef696dda3: Verifying Checksum 20:55:36 3cdef696dda3: Download complete 20:55:36 c41833b44d91: Verifying Checksum 20:55:37 c41833b44d91: Pull complete 20:55:38 58f1dce35555: Verifying Checksum 20:55:38 58f1dce35555: Download complete 20:55:38 ed15518f5707: Pull complete 20:55:39 feae8fd75edb: Verifying Checksum 20:55:39 feae8fd75edb: Download complete 20:55:39 2ced38df9373: Verifying Checksum 20:55:39 2ced38df9373: Download complete 20:55:52 feae8fd75edb: Pull complete 20:55:52 242c74f7c9fa: Pull complete 20:55:52 3cdef696dda3: Pull complete 20:55:58 2ced38df9373: Pull complete 20:56:01 58f1dce35555: Pull complete 20:56:01 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:56:01 ---> fadd8f120f05 20:56:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:56:03 ---> Running in 0525789a4c4b 20:56:04 Removing intermediate container 0525789a4c4b 20:56:04 ---> b567f288e817 20:56:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:04 ---> Running in 3a6a04a06b3c 20:56:04 Removing intermediate container 3a6a04a06b3c 20:56:04 ---> 05249f84ae27 20:56:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:56:04 ---> Running in 1cba57ee3b2b 20:56:04 Removing intermediate container 1cba57ee3b2b 20:56:04 ---> 6203d6fc9285 20:56:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:56:04 ---> Running in c485ffe58ef9 20:56:05 Removing intermediate container c485ffe58ef9 20:56:05 ---> 31aab695e4b6 20:56:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:56:05 ---> Running in c55f9db50eef 20:56:05 Removing intermediate container c55f9db50eef 20:56:05 ---> 09b34401f413 20:56:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:05 ---> Running in 585ebe1cd967 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:56:08 OK: 263 MiB in 53 packages 20:56:09 Removing intermediate container 585ebe1cd967 20:56:09 ---> db392425ddfe 20:56:09 Step 9/13 : WORKDIR /device-onvif-camera 20:56:09 ---> Running in 1d156f959088 20:56:09 Removing intermediate container 1d156f959088 20:56:09 ---> cfa603dc2a66 20:56:09 Step 10/13 : COPY go.mod vendor* ./ 20:56:10 ---> 26e486e35450 20:56:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:10 ---> Running in 5133ef079a2b 20:57:18 Removing intermediate container 5133ef079a2b 20:57:18 ---> 9bd81f71758a 20:57:18 Step 12/13 : COPY . . 20:57:18 ---> f8d924bc10fb 20:57:18 Step 13/13 : RUN ${MAKE} 20:57:18 ---> Running in 5e9fa68613a0 20:57:18 noop 20:57:18 Removing intermediate container 5e9fa68613a0 20:57:18 ---> 2ebce8655994 20:57:18 Successfully built 2ebce8655994 20:57:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:18 + docker inspect -f . ci-base-image-arm64 20:57:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:19 prd-ubuntu20.04-docker-arm64-4c-16g-16983 does not seem to be running inside a container 20:57:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/154 -v /w/workspace/device-onvif-camera/154:/w/workspace/device-onvif-camera/154:rw,z -v /w/workspace/device-onvif-camera/154@tmp:/w/workspace/device-onvif-camera/154@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 20:57:20 $ docker top c4b1b67fdd97dc4c31b0a5ed1dd4784e2c4464c778ed40788fb07bb68f3b91b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:21 + go version 20:57:21 go version go1.20.2 linux/arm64 [Pipeline] } 20:57:21 $ docker stop --time=1 c4b1b67fdd97dc4c31b0a5ed1dd4784e2c4464c778ed40788fb07bb68f3b91b7 20:57:23 $ docker rm -f --volumes c4b1b67fdd97dc4c31b0a5ed1dd4784e2c4464c778ed40788fb07bb68f3b91b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:23 + docker inspect -f . ci-base-image-arm64 20:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:23 prd-ubuntu20.04-docker-arm64-4c-16g-16983 does not seem to be running inside a container 20:57:23 $ 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/154 -v /w/workspace/device-onvif-camera/154:/w/workspace/device-onvif-camera/154:rw,z -v /w/workspace/device-onvif-camera/154@tmp:/w/workspace/device-onvif-camera/154@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 20:57:25 $ docker top 1b03fdd8e28539f3523cbc5564d2ce2a312d8332e853548c193aae09b49908ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/154 [Pipeline] fileExists [Pipeline] sh 20:57:26 + make test 20:57:26 go test ./... -coverprofile=coverage.out ./... 20:58:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:00:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:00:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:00:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 31.4% of statements 21:01:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.498s coverage: 86.5% of statements 21:01:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:01:09 go vet ./... 21:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:41 $ docker stop --time=1 1b03fdd8e28539f3523cbc5564d2ce2a312d8332e853548c193aae09b49908ed 21:01:43 $ docker rm -f --volumes 1b03fdd8e28539f3523cbc5564d2ce2a312d8332e853548c193aae09b49908ed [Pipeline] // withDockerContainer [Pipeline] sh 21:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:44 Warning: overwriting stash ‘coverage-report’ 21:01:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:45 + ls -al . 21:01:45 total 228 21:01:45 drwxrwxr-x 9 jenkins jenkins 4096 May 25 20:57 . 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:55 .. 21:01:45 drwxrwxr-x 8 jenkins jenkins 4096 May 25 20:55 .git 21:01:45 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:55 .github 21:01:45 -rw-rw-r-- 1 jenkins jenkins 496 May 25 20:55 .gitignore 21:01:45 -rw-rw-r-- 1 jenkins jenkins 42 May 25 20:55 .golangci.yml 21:01:45 -rw-rw-r-- 1 jenkins jenkins 10087 May 25 20:55 Attribution.txt 21:01:45 -rw-rw-r-- 1 jenkins jenkins 6312 May 25 20:55 CHANGELOG.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 1574 May 25 20:55 Dockerfile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 677 May 25 20:55 GOVERNANCE.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 739 May 25 20:55 Jenkinsfile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 20:55 LICENSE 21:01:45 -rw-rw-r-- 1 jenkins jenkins 2751 May 25 20:55 Makefile 21:01:45 -rw-rw-r-- 1 jenkins jenkins 625 May 25 20:55 OWNERS.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 2690 May 25 20:55 README.md 21:01:45 -rw-rw-r-- 1 jenkins jenkins 12 May 25 20:52 VERSION 21:01:45 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:55 bin 21:01:45 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:55 cmd 21:01:45 -rw-r--r-- 1 jenkins jenkins 78459 May 25 21:01 coverage.out 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:55 doc 21:01:45 -rw-rw-r-- 1 jenkins jenkins 3594 May 25 20:55 go.mod 21:01:45 -rw-rw-r-- 1 jenkins jenkins 33395 May 25 20:55 go.sum 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:55 internal 21:01:45 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:55 snap 21:01:45 -rw-rw-r-- 1 jenkins jenkins 236 May 25 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:46 + 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=c742c110d1cc62fb19cc4b7662ac95047aaf245d --label arch=arm64 --label version=3.0.0-dev.57 . 21:01:47 Sending build context to Docker daemon 14.46MB 21:01:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:01:47 Step 2/26 : FROM ${BASE} AS builder 21:01:47 ---> 2ebce8655994 21:01:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:01:47 ---> Running in 746d047d07e1 21:01:48 Removing intermediate container 746d047d07e1 21:01:48 ---> 776bec8efa59 21:01:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:48 ---> Running in 7c4c04935d15 21:01:48 Removing intermediate container 7c4c04935d15 21:01:48 ---> 4b57f7258916 21:01:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:01:48 ---> Running in 38f3155ded8b 21:01:48 Removing intermediate container 38f3155ded8b 21:01:48 ---> 6ae07261b199 21:01:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:01:48 ---> Running in c8051075f31a 21:01:49 Removing intermediate container c8051075f31a 21:01:49 ---> bb20d94a89e0 21:01:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:01:49 ---> Running in ecc9e3faf7f1 21:01:49 Removing intermediate container ecc9e3faf7f1 21:01:49 ---> 914666cfaf37 21:01:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:50 ---> Running in d5af58ba76ca 21:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:53 OK: 263 MiB in 53 packages 21:01:55 Removing intermediate container d5af58ba76ca 21:01:55 ---> fb5666d52ea8 21:01:55 Step 9/26 : WORKDIR /device-onvif-camera 21:01:56 ---> Running in e52291c41d86 21:01:56 Removing intermediate container e52291c41d86 21:01:56 ---> 8db9a04b946b 21:01:56 Step 10/26 : COPY go.mod vendor* ./ 21:01:56 ---> 70f3fc2965b3 21:01:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:56 ---> Running in 6232e2b06fda 21:01:59 Removing intermediate container 6232e2b06fda 21:01:59 ---> 3eaa6930431e 21:01:59 Step 12/26 : COPY . . 21:02:01 ---> 3ed6c334ea34 21:02:01 Step 13/26 : RUN ${MAKE} 21:02:01 ---> Running in 8a5e89ac646b 21:02:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.57" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:04:39 Removing intermediate container 8a5e89ac646b 21:04:39 ---> eb274cf3b327 21:04:39 Step 14/26 : FROM alpine:3.17 21:04:39 3.17: Pulling from library/alpine 21:04:39 c41833b44d91: Already exists 21:04:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:04:39 Status: Downloaded newer image for alpine:3.17 21:04:39 ---> 51e60588ff2c 21:04:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:04:39 ---> Running in 67a978e5e455 21:04:39 Removing intermediate container 67a978e5e455 21:04:39 ---> b9e2e0598571 21:04:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:04:39 ---> Running in 6d638b0b8264 21:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:04:39 (1/1) Installing dumb-init (1.2.5-r2) 21:04:39 Executing busybox-1.35.0-r29.trigger 21:04:39 OK: 8 MiB in 16 packages 21:04:43 Removing intermediate container 6d638b0b8264 21:04:43 ---> e63e08460034 21:04:43 Step 17/26 : WORKDIR / 21:04:43 ---> Running in ac4714de917c 21:04:43 Removing intermediate container ac4714de917c 21:04:43 ---> da9182479575 21:04:43 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:04:44 ---> 5eb4b156c1b7 21:04:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:04:45 ---> 2d237c8430fe 21:04:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:04:45 ---> 0cc46d779f0f 21:04:45 Step 21/26 : EXPOSE 59984 21:04:46 ---> Running in 66a3170c0d73 21:04:46 Removing intermediate container 66a3170c0d73 21:04:46 ---> a45ed38bbd0b 21:04:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:04:46 ---> Running in b4b4977c896a 21:04:46 Removing intermediate container b4b4977c896a 21:04:46 ---> e25efc69b82a 21:04:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:04:46 ---> Running in 92e64168b4af 21:04:47 Removing intermediate container 92e64168b4af 21:04:47 ---> b3e91f1e5fd8 21:04:47 Step 24/26 : LABEL arch=arm64 21:04:47 ---> Running in 557b1d46f20f 21:04:47 Removing intermediate container 557b1d46f20f 21:04:47 ---> a86cb6e6f23d 21:04:47 Step 25/26 : LABEL git_sha=c742c110d1cc62fb19cc4b7662ac95047aaf245d 21:04:47 ---> Running in 852ca0076536 21:04:48 Removing intermediate container 852ca0076536 21:04:48 ---> 7583d2e40a61 21:04:48 Step 26/26 : LABEL version=3.0.0-dev.57 21:04:48 ---> Running in 64596a6c3fb7 21:04:48 Removing intermediate container 64596a6c3fb7 21:04:48 ---> 202d0bb539fb 21:04:48 [Warning] One or more build-args [ARCH] were not consumed 21:04:48 Successfully built 202d0bb539fb 21:04:48 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 21:04:48 provisioning config files... 21:04:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/154@tmp/config3260221373720291234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:48 ---> docker-login.sh 21:04:48 nexus3.edgexfoundry.org:10001 21:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:49 Configure a credential helper to remove this warning. See 21:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:49 21:04:49 Login Succeeded 21:04:49 nexus3.edgexfoundry.org:10002 21:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:49 Configure a credential helper to remove this warning. See 21:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:49 21:04:49 Login Succeeded 21:04:49 nexus3.edgexfoundry.org:10003 21:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:49 Configure a credential helper to remove this warning. See 21:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:49 21:04:49 Login Succeeded 21:04:49 nexus3.edgexfoundry.org:10004 21:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 docker.io 21:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 ---> docker-login.sh ends [Pipeline] } 21:04:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:50 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 21:04:50 c742c110d1cc62fb19cc4b7662ac95047aaf245d 21:04:50 latest 21:04:50 3.0.0-dev.57 21:04:50 c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 21:04:50 main 21:04:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d 21:04:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:04:51 3d60c45f9664: Preparing 21:04:51 120fbd2be951: Preparing 21:04:51 6b9a181d7547: Preparing 21:04:51 6e073e4614e7: Preparing 21:04:51 26cbea5cba74: Preparing 21:04:51 26cbea5cba74: Layer already exists 21:04:51 3d60c45f9664: Pushed 21:04:51 120fbd2be951: Pushed 21:04:51 6e073e4614e7: Pushed 21:04:58 6b9a181d7547: Pushed 21:04:58 c742c110d1cc62fb19cc4b7662ac95047aaf245d: digest: sha256:02382025b22d4b69cdec1c50185cc3e15015028ae9fc5c7f3312d77f84cc6ada size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:58 + 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 21:04:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:04:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:04:59 3d60c45f9664: Preparing 21:04:59 120fbd2be951: Preparing 21:04:59 6b9a181d7547: Preparing 21:04:59 6e073e4614e7: Preparing 21:04:59 26cbea5cba74: Preparing 21:04:59 3d60c45f9664: Layer already exists 21:04:59 120fbd2be951: Layer already exists 21:04:59 26cbea5cba74: Layer already exists 21:04:59 6b9a181d7547: Layer already exists 21:04:59 6e073e4614e7: Layer already exists 21:04:59 latest: digest: sha256:02382025b22d4b69cdec1c50185cc3e15015028ae9fc5c7f3312d77f84cc6ada size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.57 21:05:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:05:00 3d60c45f9664: Preparing 21:05:00 120fbd2be951: Preparing 21:05:00 6b9a181d7547: Preparing 21:05:00 6e073e4614e7: Preparing 21:05:00 26cbea5cba74: Preparing 21:05:00 26cbea5cba74: Layer already exists 21:05:00 6b9a181d7547: Layer already exists 21:05:00 120fbd2be951: Layer already exists 21:05:00 3d60c45f9664: Layer already exists 21:05:00 6e073e4614e7: Layer already exists 21:05:00 3.0.0-dev.57: digest: sha256:02382025b22d4b69cdec1c50185cc3e15015028ae9fc5c7f3312d77f84cc6ada size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 21:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:05:01 3d60c45f9664: Preparing 21:05:01 120fbd2be951: Preparing 21:05:01 6b9a181d7547: Preparing 21:05:01 6e073e4614e7: Preparing 21:05:01 26cbea5cba74: Preparing 21:05:01 3d60c45f9664: Layer already exists 21:05:01 120fbd2be951: Layer already exists 21:05:01 6b9a181d7547: Layer already exists 21:05:01 26cbea5cba74: Layer already exists 21:05:01 6e073e4614e7: Layer already exists 21:05:01 c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57: digest: sha256:02382025b22d4b69cdec1c50185cc3e15015028ae9fc5c7f3312d77f84cc6ada size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:01 + 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 21:05:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 21:05:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:05:02 3d60c45f9664: Preparing 21:05:02 120fbd2be951: Preparing 21:05:02 6b9a181d7547: Preparing 21:05:02 6e073e4614e7: Preparing 21:05:02 26cbea5cba74: Preparing 21:05:02 6b9a181d7547: Layer already exists 21:05:02 6e073e4614e7: Layer already exists 21:05:02 26cbea5cba74: Layer already exists 21:05:02 120fbd2be951: Layer already exists 21:05:02 3d60c45f9664: Layer already exists 21:05:02 main: digest: sha256:02382025b22d4b69cdec1c50185cc3e15015028ae9fc5c7f3312d77f84cc6ada size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:02 ===================================================== [Pipeline] echo 21:05:02 taggedImages: 21:05:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d 21:05:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:05:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.57 21:05:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c742c110d1cc62fb19cc4b7662ac95047aaf245d-3.0.0-dev.57 21:05:02 - 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 21:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:02 21:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:03 arm64: Pulling from edgex-lftools-log-publisher 21:05:03 8998bd30e6a1: Pulling fs layer 21:05:03 04944245beec: Pulling fs layer 21:05:03 699f458cf7ca: Pulling fs layer 21:05:03 765212b225bb: Pulling fs layer 21:05:03 f23df028b6ca: Pulling fs layer 21:05:03 d65c8cfc05b1: Pulling fs layer 21:05:03 2437ff75d9bd: Pulling fs layer 21:05:03 765212b225bb: Waiting 21:05:03 d65c8cfc05b1: Waiting 21:05:03 2437ff75d9bd: Waiting 21:05:03 f23df028b6ca: Waiting 21:05:03 04944245beec: Verifying Checksum 21:05:03 04944245beec: Download complete 21:05:03 765212b225bb: Verifying Checksum 21:05:03 765212b225bb: Download complete 21:05:03 f23df028b6ca: Verifying Checksum 21:05:03 f23df028b6ca: Download complete 21:05:03 d65c8cfc05b1: Verifying Checksum 21:05:03 d65c8cfc05b1: Download complete 21:05:03 699f458cf7ca: Verifying Checksum 21:05:03 699f458cf7ca: Download complete 21:05:04 8998bd30e6a1: Verifying Checksum 21:05:04 8998bd30e6a1: Download complete 21:05:06 2437ff75d9bd: Verifying Checksum 21:05:06 2437ff75d9bd: Download complete 21:05:09 8998bd30e6a1: Pull complete 21:05:10 04944245beec: Pull complete 21:05:11 699f458cf7ca: Pull complete 21:05:11 765212b225bb: Pull complete 21:05:12 f23df028b6ca: Pull complete 21:05:12 d65c8cfc05b1: Pull complete 21:05:27 2437ff75d9bd: Pull complete 21:05:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:28 prd-ubuntu20.04-docker-arm64-4c-16g-16983 does not seem to be running inside a container 21:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/154 -v /w/workspace/device-onvif-camera/154:/w/workspace/device-onvif-camera/154:rw,z -v /w/workspace/device-onvif-camera/154@tmp:/w/workspace/device-onvif-camera/154@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 21:05:30 $ docker top f6f5f81a8e2afa306b5f9dd42ad9a3c17551d11d19064daee1a869b020cc5025 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:31 ---> job-cost.sh 21:05:31 lf-activate-venv: SKIPPING 21:05:31 INFO: No Stack... 21:05:32 INFO: Retrieving Pricing Info for: v3-standard-4 21:05:33 INFO: Archiving Costs [Pipeline] sh 21:05:33 + cat /w/workspace/device-onvif-camera/154/archives/cost.csv 21:05:33 + cut -d, -f6 [Pipeline] lock 21:05:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] 21:05:33 Resource [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] did not exist. Created. 21:05:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:34 /w/workspace/device-onvif-camera/154@tmp/durable-fbc74f17/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:05:34 + echo total: 0.10999999940395355 [Pipeline] stash 21:05:34 Warning: overwriting stash ‘stack-cost’ 21:05:34 Stashed 1 file(s) [Pipeline] } 21:05:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:34 $ docker stop --time=1 f6f5f81a8e2afa306b5f9dd42ad9a3c17551d11d19064daee1a869b020cc5025 21:05:37 $ docker rm -f --volumes f6f5f81a8e2afa306b5f9dd42ad9a3c17551d11d19064daee1a869b020cc5025 [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 21:05:37 provisioning config files... 21:05:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7518876249961968939tmp [Pipeline] { [Pipeline] sh 21:05:38 + set +x 21:05:38 + bash -s -- 21:05:38 + curl -s https://codecov.io/bash 21:05:38 21:05:38 _____ _ 21:05:38 / ____| | | 21:05:38 | | ___ __| | ___ ___ _____ __ 21:05:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:05:38 | |___| (_) | (_| | __/ (_| (_) \ V / 21:05:38 \_____\___/ \__,_|\___|\___\___/ \_/ 21:05:38 Bash-1.0.6 21:05:38 21:05:38 21:05:38 ==> git version 2.25.1 found 21:05:38 ==> 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 21:05:38 Release-Date: 2020-01-08 21:05:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:05:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:05:38 ==> Jenkins CI detected. 21:05:38 current dir:  /w/workspace/foundry_device-onvif-camera_main 21:05:38 project root: . 21:05:38 --> token set from env 21:05:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:05:38 ==> Running gcov in . (disable via -X gcov) 21:05:38 ==> Python coveragepy not found 21:05:38 ==> Searching for coverage reports in: 21:05:38 + . 21:05:38 -> Found 1 reports 21:05:38 ==> Detecting git/mercurial file structure 21:05:38 ==> Reading reports 21:05:38 + ./coverage.out bytes=78459 21:05:38 ==> Appending adjustments 21:05:38 https://docs.codecov.io/docs/fixing-reports 21:05:38 + Found adjustments 21:05:38 ==> Gzipping contents 21:05:38 12K /tmp/codecov.kb38kO.gz 21:05:38 ==> Uploading reports 21:05:38 url: https://codecov.io 21:05:38 query: branch=main&commit=c742c110d1cc62fb19cc4b7662ac95047aaf245d&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:05:38 -> Pinging Codecov 21:05:38 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=c742c110d1cc62fb19cc4b7662ac95047aaf245d&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:05:38 -> Uploading to 21:05:38 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/F29A59C45E3A92E06B3E522C9905F8EF/c742c110d1cc62fb19cc4b7662ac95047aaf245d/ad933d20-a067-44c1-81b2-652e51c505c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T210538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2eae36fe570248a44ad4d45af2a379d08d9ee1d3b73f2da1f3632dd46859a5d 21:05:38 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:38 Dload Upload Total Spent Left Speed 21:05:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 52004 --:--:-- --:--:-- --:--:-- 51750 100 10557 0 0 100 10557 0 49331 --:--:-- --:--:-- --:--:-- 49102 21:05:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] } 21:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:05:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:05:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:39 21:05:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:05:39 df9b9388f04a: Pulling fs layer 21:05:39 52dc419b0ee2: Pulling fs layer 21:05:39 25bc292e5bac: Pulling fs layer 21:05:39 114826534d7a: Pulling fs layer 21:05:39 4657fd5d0bcf: Pulling fs layer 21:05:39 6ad1cebc031e: Pulling fs layer 21:05:39 8a3aa393b2d8: Pulling fs layer 21:05:39 114826534d7a: Waiting 21:05:39 4657fd5d0bcf: Waiting 21:05:39 6ad1cebc031e: Waiting 21:05:39 25bc292e5bac: Download complete 21:05:39 52dc419b0ee2: Verifying Checksum 21:05:39 52dc419b0ee2: Download complete 21:05:39 4657fd5d0bcf: Download complete 21:05:39 df9b9388f04a: Download complete 21:05:39 df9b9388f04a: Pull complete 21:05:39 6ad1cebc031e: Verifying Checksum 21:05:39 6ad1cebc031e: Download complete 21:05:39 52dc419b0ee2: Pull complete 21:05:39 25bc292e5bac: Pull complete 21:05:40 114826534d7a: Verifying Checksum 21:05:40 114826534d7a: Download complete 21:05:40 8a3aa393b2d8: Verifying Checksum 21:05:40 8a3aa393b2d8: Download complete 21:05:43 114826534d7a: Pull complete 21:05:43 4657fd5d0bcf: Pull complete 21:05:43 6ad1cebc031e: Pull complete 21:05:46 8a3aa393b2d8: Pull complete 21:05:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:46 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:05:50 $ docker top 3edefcc61008b74aa17d2cc9fcce276dc93c6b264c727d3238025ec2b84c60dc -eo pid,comm [Pipeline] { [Pipeline] echo 21:05:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 21:05:50 + set -o pipefail 21:05:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 21:05:54 21:05:54 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 21:05:54 21:05:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/ad23e954-207e-45dc-a5d5-4a698fac8406 21:05:54 21:05:54 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:05:54 21:05:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:05:54 21:05:54 21:05:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:05:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:05:54 More details here: https://snyk.co/ue1NS [Pipeline] } 21:05:54 $ docker stop --time=1 3edefcc61008b74aa17d2cc9fcce276dc93c6b264c727d3238025ec2b84c60dc 21:05:58 $ docker rm -f --volumes 3edefcc61008b74aa17d2cc9fcce276dc93c6b264c727d3238025ec2b84c60dc [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 21:05:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:58 provisioning config files... 21:05:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13581530436829441626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:58 --> edgex-publish-swagger.sh 21:05:58 === Publish doc/openapi/v3 API === 21:05:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 21:05:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 21:05:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:58 Dload Upload Total Spent Left Speed 21:05:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 3947k --:--:-- --:--:-- --:--:-- 3915k 100 485k 0 0 100 485k 0 619k --:--:-- --:--:-- --:--:-- 618k 21:05:59 21:05:59 [Pipeline] } 21:05:59 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 21:05:59 + git log --format=format:%s -1 c742c110d1cc62fb19cc4b7662ac95047aaf245d [Pipeline] sh 21:05:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:00 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:06:00 $ docker top d9d899253b09b45e84dd77155f2157c8b680f972938efc6e29be43418901494c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:00 [ssh-agent] Looking for ssh-agent implementation... 21:06:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:01 $ docker exec d9d899253b09b45e84dd77155f2157c8b680f972938efc6e29be43418901494c ssh-agent 21:06:01 SSH_AUTH_SOCK=/tmp/ssh-35x9wv8pEhov/agent.32 21:06:01 SSH_AGENT_PID=38 21:06:01 Running ssh-add (command line suppressed) 21:06:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18221980122430372245.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18221980122430372245.key) 21:06:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:01 + git semver tag 21:06:01 2023-05-25 21:06:01,719 [run_tag] DEBUG tag force:False 21:06:01 2023-05-25 21:06:01,719 [check_head_tag] DEBUG check head tag 21:06:01 2023-05-25 21:06:01,721 [execute] INFO git cat-file --batch-check 21:06:01 2023-05-25 21:06:01,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:06:01 2023-05-25 21:06:01,724 [execute] INFO git cat-file --batch 21:06:01 2023-05-25 21:06:01,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:06:01 2023-05-25 21:06:01,758 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:01 2023-05-25 21:06:01,758 [execute] INFO git tag -a v3.0.0-dev.57 -m v3.0.0-dev.57 21:06:01 2023-05-25 21:06:01,758 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.57', '-m', 'v3.0.0-dev.57'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:06:01 2023-05-25 21:06:01,762 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:01 3.0.0-dev.57 [Pipeline] } 21:06:01 $ docker exec --env ******** --env ******** d9d899253b09b45e84dd77155f2157c8b680f972938efc6e29be43418901494c ssh-agent -k 21:06:01 unset SSH_AUTH_SOCK; 21:06:01 unset SSH_AGENT_PID; 21:06:01 echo Agent pid 38 killed; 21:06:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:02 + git semver [Pipeline] } 21:06:02 $ docker stop --time=1 d9d899253b09b45e84dd77155f2157c8b680f972938efc6e29be43418901494c 21:06:03 $ docker rm -f --volumes d9d899253b09b45e84dd77155f2157c8b680f972938efc6e29be43418901494c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:06:04 21:06:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:06:04 0.23.1-centos7: Pulling from edgex-lftools 21:06:04 ab5ef0e58194: Pulling fs layer 21:06:04 9712f1f96733: Pulling fs layer 21:06:04 63f879dbbcfc: Pulling fs layer 21:06:04 0d9ebad4ef96: Pulling fs layer 21:06:04 e9a5061849ea: Pulling fs layer 21:06:04 d747dcd14b5f: Pulling fs layer 21:06:04 2de7ff778b66: Pulling fs layer 21:06:04 0d9ebad4ef96: Waiting 21:06:04 e9a5061849ea: Waiting 21:06:04 d747dcd14b5f: Waiting 21:06:04 2de7ff778b66: Waiting 21:06:04 9712f1f96733: Verifying Checksum 21:06:04 9712f1f96733: Download complete 21:06:04 63f879dbbcfc: Verifying Checksum 21:06:04 63f879dbbcfc: Download complete 21:06:04 0d9ebad4ef96: Verifying Checksum 21:06:04 0d9ebad4ef96: Download complete 21:06:04 d747dcd14b5f: Download complete 21:06:04 e9a5061849ea: Verifying Checksum 21:06:04 ab5ef0e58194: Download complete 21:06:04 2de7ff778b66: Verifying Checksum 21:06:04 2de7ff778b66: Download complete 21:06:07 ab5ef0e58194: Pull complete 21:06:07 9712f1f96733: Pull complete 21:06:08 63f879dbbcfc: Pull complete 21:06:11 0d9ebad4ef96: Pull complete 21:06:11 e9a5061849ea: Pull complete 21:06:11 d747dcd14b5f: Pull complete 21:06:12 2de7ff778b66: Pull complete 21:06:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:12 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:06:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:06:16 $ docker top 40f6db3508e2f56d953fe75812301655f06f25efd752e45ba509cec199d7eae2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:06:16 provisioning config files... 21:06:16 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config563805203319625606tmp 21:06:16 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10960481767345017969tmp 21:06:16 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1855769902211793492tmp [Pipeline] { [Pipeline] echo 21:06:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:06:17 ---> sigul-configuration.sh 21:06:17 gpg: directory `/root/.gnupg' created 21:06:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:06:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:06:17 gpg: keyring `/root/.gnupg/secring.gpg' created 21:06:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:06:17 gpg: CAST5 encrypted data 21:06:17 gpg: encrypted with 1 passphrase 21:06:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:06:17 + mkdir /home/jenkins 21:06:17 + mkdir /home/jenkins/sigul [Pipeline] sh 21:06:17 + 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 21:06:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:06:17 ---> sigul-install.sh 21:06:17 Sigul already installed; skipping installation. [Pipeline] sh 21:06:18 + git tag --list 21:06:18 v0.0.0 21:06:18 v0.0.1-dev.1 21:06:18 v0.0.1-dev.10 21:06:18 v0.0.1-dev.11 21:06:18 v0.0.1-dev.12 21:06:18 v0.0.1-dev.13 21:06:18 v0.0.1-dev.14 21:06:18 v0.0.1-dev.15 21:06:18 v0.0.1-dev.16 21:06:18 v0.0.1-dev.17 21:06:18 v0.0.1-dev.18 21:06:18 v0.0.1-dev.19 21:06:18 v0.0.1-dev.2 21:06:18 v0.0.1-dev.20 21:06:18 v0.0.1-dev.21 21:06:18 v0.0.1-dev.22 21:06:18 v0.0.1-dev.23 21:06:18 v0.0.1-dev.24 21:06:18 v0.0.1-dev.25 21:06:18 v0.0.1-dev.26 21:06:18 v0.0.1-dev.27 21:06:18 v0.0.1-dev.28 21:06:18 v0.0.1-dev.3 21:06:18 v0.0.1-dev.4 21:06:18 v0.0.1-dev.5 21:06:18 v0.0.1-dev.6 21:06:18 v0.0.1-dev.7 21:06:18 v0.0.1-dev.8 21:06:18 v0.0.1-dev.9 21:06:18 v2.2.0 21:06:18 v2.2.0-dev.29 21:06:18 v2.2.0-dev.30 21:06:18 v2.2.0-dev.31 21:06:18 v2.2.0-dev.32 21:06:18 v2.2.0-dev.33 21:06:18 v2.2.0-dev.34 21:06:18 v2.2.0-dev.35 21:06:18 v2.3.0 21:06:18 v2.3.0-dev.1 21:06:18 v2.3.0-dev.10 21:06:18 v2.3.0-dev.11 21:06:18 v2.3.0-dev.12 21:06:18 v2.3.0-dev.13 21:06:18 v2.3.0-dev.14 21:06:18 v2.3.0-dev.15 21:06:18 v2.3.0-dev.16 21:06:18 v2.3.0-dev.17 21:06:18 v2.3.0-dev.18 21:06:18 v2.3.0-dev.19 21:06:18 v2.3.0-dev.2 21:06:18 v2.3.0-dev.20 21:06:18 v2.3.0-dev.21 21:06:18 v2.3.0-dev.22 21:06:18 v2.3.0-dev.23 21:06:18 v2.3.0-dev.24 21:06:18 v2.3.0-dev.25 21:06:18 v2.3.0-dev.26 21:06:18 v2.3.0-dev.27 21:06:18 v2.3.0-dev.28 21:06:18 v2.3.0-dev.29 21:06:18 v2.3.0-dev.3 21:06:18 v2.3.0-dev.30 21:06:18 v2.3.0-dev.31 21:06:18 v2.3.0-dev.32 21:06:18 v2.3.0-dev.33 21:06:18 v2.3.0-dev.34 21:06:18 v2.3.0-dev.35 21:06:18 v2.3.0-dev.36 21:06:18 v2.3.0-dev.37 21:06:18 v2.3.0-dev.38 21:06:18 v2.3.0-dev.39 21:06:18 v2.3.0-dev.4 21:06:18 v2.3.0-dev.40 21:06:18 v2.3.0-dev.41 21:06:18 v2.3.0-dev.42 21:06:18 v2.3.0-dev.43 21:06:18 v2.3.0-dev.44 21:06:18 v2.3.0-dev.45 21:06:18 v2.3.0-dev.5 21:06:18 v2.3.0-dev.6 21:06:18 v2.3.0-dev.7 21:06:18 v2.3.0-dev.8 21:06:18 v2.3.0-dev.9 21:06:18 v2.3.1 21:06:18 v2.3.1-dev.1 21:06:18 v2.3.1-dev.4 21:06:18 v2.3.1-dev.5 21:06:18 v2.3.2-dev.1 21:06:18 v2.3.2-dev.2 21:06:18 v3.0.0-dev.1 21:06:18 v3.0.0-dev.10 21:06:18 v3.0.0-dev.11 21:06:18 v3.0.0-dev.12 21:06:18 v3.0.0-dev.13 21:06:18 v3.0.0-dev.14 21:06:18 v3.0.0-dev.15 21:06:18 v3.0.0-dev.16 21:06:18 v3.0.0-dev.17 21:06:18 v3.0.0-dev.18 21:06:18 v3.0.0-dev.19 21:06:18 v3.0.0-dev.2 21:06:18 v3.0.0-dev.20 21:06:18 v3.0.0-dev.21 21:06:18 v3.0.0-dev.22 21:06:18 v3.0.0-dev.23 21:06:18 v3.0.0-dev.24 21:06:18 v3.0.0-dev.25 21:06:18 v3.0.0-dev.26 21:06:18 v3.0.0-dev.27 21:06:18 v3.0.0-dev.28 21:06:18 v3.0.0-dev.29 21:06:18 v3.0.0-dev.3 21:06:18 v3.0.0-dev.30 21:06:18 v3.0.0-dev.31 21:06:18 v3.0.0-dev.32 21:06:18 v3.0.0-dev.33 21:06:18 v3.0.0-dev.34 21:06:18 v3.0.0-dev.35 21:06:18 v3.0.0-dev.36 21:06:18 v3.0.0-dev.37 21:06:18 v3.0.0-dev.38 21:06:18 v3.0.0-dev.39 21:06:18 v3.0.0-dev.4 21:06:18 v3.0.0-dev.40 21:06:18 v3.0.0-dev.41 21:06:18 v3.0.0-dev.42 21:06:18 v3.0.0-dev.43 21:06:18 v3.0.0-dev.44 21:06:18 v3.0.0-dev.45 21:06:18 v3.0.0-dev.46 21:06:18 v3.0.0-dev.47 21:06:18 v3.0.0-dev.48 21:06:18 v3.0.0-dev.49 21:06:18 v3.0.0-dev.5 21:06:18 v3.0.0-dev.50 21:06:18 v3.0.0-dev.51 21:06:18 v3.0.0-dev.52 21:06:18 v3.0.0-dev.53 21:06:18 v3.0.0-dev.54 21:06:18 v3.0.0-dev.55 21:06:18 v3.0.0-dev.56 21:06:18 v3.0.0-dev.57 21:06:18 v3.0.0-dev.6 21:06:18 v3.0.0-dev.7 21:06:18 v3.0.0-dev.8 21:06:18 v3.0.0-dev.9 [Pipeline] sh 21:06:18 + lftools sign git-tag v3.0.0-dev.57 21:06:19 Signing Git tag with Sigul... 21:06:19 Signing v3.0.0-dev.57 [Pipeline] echo 21:06:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:06:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:06:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:06:20 $ docker stop --time=1 40f6db3508e2f56d953fe75812301655f06f25efd752e45ba509cec199d7eae2 21:06:21 $ docker rm -f --volumes 40f6db3508e2f56d953fe75812301655f06f25efd752e45ba509cec199d7eae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:06:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:22 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:06:22 $ 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 21:06:22 $ docker top f7a356c6d2b3c99982114b811e442a7d0586476a660e49bf404860741e14b1af -eo pid,comm 21:06:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:06:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:22 [ssh-agent] Looking for ssh-agent implementation... 21:06:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:22 $ docker exec f7a356c6d2b3c99982114b811e442a7d0586476a660e49bf404860741e14b1af ssh-agent 21:06:22 SSH_AUTH_SOCK=/tmp/ssh-vlbso9eZQOsf/agent.32 21:06:22 SSH_AGENT_PID=38 21:06:22 Running ssh-add (command line suppressed) 21:06:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_474633241737591746.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_474633241737591746.key) 21:06:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:23 + git semver bump pre 21:06:23 2023-05-25 21:06:23,522 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:23 2023-05-25 21:06:23,522 [bump_version] DEBUG bumping version:3.0.0-dev.57 on axis:pre with prefix:dev 21:06:23 2023-05-25 21:06:23,522 [bump_version] DEBUG bumped version:3.0.0-dev.58 21:06:23 2023-05-25 21:06:23,522 [write_version] DEBUG write version:3.0.0-dev.58 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 21:06:23 2023-05-25 21:06:23,522 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:23 2023-05-25 21:06:23,522 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:23 2023-05-25 21:06:23,524 [execute] INFO git cat-file --batch-check 21:06:23 2023-05-25 21:06:23,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:06:23 2023-05-25 21:06:23,527 [execute] INFO git cat-file --batch 21:06:23 2023-05-25 21:06:23,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:06:23 2023-05-25 21:06:23,531 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:23 3.0.0-dev.58 [Pipeline] } 21:06:23 $ docker exec --env ******** --env ******** f7a356c6d2b3c99982114b811e442a7d0586476a660e49bf404860741e14b1af ssh-agent -k 21:06:23 unset SSH_AUTH_SOCK; 21:06:23 unset SSH_AGENT_PID; 21:06:23 echo Agent pid 38 killed; 21:06:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:24 + git semver [Pipeline] } 21:06:24 $ docker stop --time=1 f7a356c6d2b3c99982114b811e442a7d0586476a660e49bf404860741e14b1af 21:06:25 $ docker rm -f --volumes f7a356c6d2b3c99982114b811e442a7d0586476a660e49bf404860741e14b1af [Pipeline] // withDockerContainer [Pipeline] sh 21:06:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:26 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:06:26 $ 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 21:06:26 $ docker top 7629b0ec5510eef56b08b9dc49023ad355668f49b53188cf337bc6bcabf895cf -eo pid,comm 21:06:26 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). 21:06:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:26 [ssh-agent] Looking for ssh-agent implementation... 21:06:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:26 $ docker exec 7629b0ec5510eef56b08b9dc49023ad355668f49b53188cf337bc6bcabf895cf ssh-agent 21:06:26 SSH_AUTH_SOCK=/tmp/ssh-AYl2oopdJDrh/agent.32 21:06:26 SSH_AGENT_PID=38 21:06:26 Running ssh-add (command line suppressed) 21:06:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9736711032074173203.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9736711032074173203.key) 21:06:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:27 + git semver push 21:06:27 2023-05-25 21:06:27,543 [run_push] DEBUG push 21:06:27 2023-05-25 21:06:27,544 [execute] INFO git cat-file --batch-check 21:06:27 2023-05-25 21:06:27,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:06:27 2023-05-25 21:06:27,547 [execute] INFO git rev-list 506f89a515d43b6cd0fca5dbfa8d9c6c18e2a196 -- 21:06:27 2023-05-25 21:06:27,548 [execute] DEBUG Popen(['git', 'rev-list', '506f89a515d43b6cd0fca5dbfa8d9c6c18e2a196', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:06:27 2023-05-25 21:06:27,555 [execute] INFO git fetch -v origin 21:06:27 2023-05-25 21:06:27,555 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:06:28 2023-05-25 21:06:28,008 [run_push] DEBUG no remote changes detected 21:06:28 2023-05-25 21:06:28,008 [execute] INFO git push origin semver 21:06:28 2023-05-25 21:06:28,009 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:06:28 2023-05-25 21:06:28,731 [run_push] DEBUG push all version tags 21:06:28 2023-05-25 21:06:28,732 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:06:28 2023-05-25 21:06:28,732 [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) 21:06:29 2023-05-25 21:06:29,518 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:29 3.0.0-dev.58 [Pipeline] } 21:06:29 $ docker exec --env ******** --env ******** 7629b0ec5510eef56b08b9dc49023ad355668f49b53188cf337bc6bcabf895cf ssh-agent -k 21:06:29 unset SSH_AUTH_SOCK; 21:06:29 unset SSH_AGENT_PID; 21:06:29 echo Agent pid 38 killed; 21:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:30 + git semver [Pipeline] } 21:06:30 $ docker stop --time=1 7629b0ec5510eef56b08b9dc49023ad355668f49b53188cf337bc6bcabf895cf 21:06:31 $ docker rm -f --volumes 7629b0ec5510eef56b08b9dc49023ad355668f49b53188cf337bc6bcabf895cf [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 21:06:32 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 21:06:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:06:32 total 16 21:06:32 drwxr-xr-x 3 root root 4096 May 25 20:54 . 21:06:32 drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:06 .. 21:06:32 drwxr-xr-x 2 root root 4096 May 25 20:54 cost 21:06:32 -rw-r--r-- 1 root root 91 May 25 20:54 cost.csv 21:06:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 21:06:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:06:32 total 16 21:06:32 drwxr-xr-x 3 jenkins jenkins 4096 May 25 20:54 . 21:06:32 drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:06 .. 21:06:32 drwxr-xr-x 2 jenkins jenkins 4096 May 25 20:54 cost 21:06:32 -rw-r--r-- 1 jenkins jenkins 91 May 25 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:06:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:06:33 ---> package-listing.sh 21:06:33 ++ facter osfamily 21:06:33 ++ tr '[:upper:]' '[:lower:]' 21:06:33 + OS_FAMILY=debian 21:06:33 + workspace=/w/workspace/foundry_device-onvif-camera_main 21:06:33 + START_PACKAGES=/tmp/packages_start.txt 21:06:33 + END_PACKAGES=/tmp/packages_end.txt 21:06:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:06:33 + PACKAGES=/tmp/packages_start.txt 21:06:33 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:06:33 + PACKAGES=/tmp/packages_end.txt 21:06:33 + case "${OS_FAMILY}" in 21:06:33 + dpkg -l 21:06:33 + grep '^ii' 21:06:33 + '[' -f /tmp/packages_start.txt ']' 21:06:33 + '[' -f /tmp/packages_end.txt ']' 21:06:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:06:33 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:06:33 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 21:06:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 21:06:33 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 21:06:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:34 prd-ubuntu20.04-docker-8c-8g-16979 does not seem to be running inside a container 21:06:34 $ 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 21:06:34 $ docker top 7e5c4cfb25cd13764e653eb02bd0a0caf9803b76b7c52188844837547f425d95 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:06:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:06:35 + ls /var/log/sa-host 21:06:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:35 provisioning config files... 21:06:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14707063976889865903tmp [Pipeline] { [Pipeline] echo 21:06:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:06:36 ---> create-netrc.sh [Pipeline] } 21:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:06:36 ---> python-tools-install.sh [Pipeline] echo 21:06:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:06:36 ---> sudo-logs.sh 21:06:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:06:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:06:37 ---> job-cost.sh 21:06:37 lf-activate-venv: SKIPPING 21:06:37 DEBUG: total: 0.2199999988079071 21:06:37 INFO: Retrieving Stack Cost... 21:06:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:37 INFO: Archiving Costs [Pipeline] echo 21:06:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:06:38 ---> logs-deploy.sh 21:06:38 lf-activate-venv: SKIPPING 21:06:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/154 21:06:38 INFO: archiving workspace using pattern(s): 21:06:39 Archives upload complete. 21:06:39 INFO: archiving logs to Nexus