Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 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-ssh15241178504147591174.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-ssh13806125110007563533.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-ssh7552226118287373780.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-ssh13469534685099711255.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-ssh7449142157439823855.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14576 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 (main) Commit message: "feat: implement driver Start command (#343)" > git config core.sparsecheckout # timeout=10 > git checkout -f b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 > git rev-list --no-walk f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:24:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:24:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:24:02 ========================================================= 23:24:02 EdgeX Global Pipelines Version Info 23:24:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:24:02 ------------------- 23:24:02 stable info: 23:24:02 ------------------- 23:24:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:24:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:24:02 Message: update stable to v1.0.249 23:24:03 ------------------- 23:24:03 experimental info: 23:24:03 ------------------- 23:24:03 Commited By: **** collab-it+edgex@linuxfoundation.org 23:24:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:24:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:24:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5d61d0 [Pipeline] echo 23:24:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:04 provisioning config files... 23:24:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14223778863689181011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:04 ---> docker-login.sh 23:24:04 nexus3.edgexfoundry.org:10001 23:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:04 Configure a credential helper to remove this warning. See 23:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:04 23:24:04 Login Succeeded 23:24:04 nexus3.edgexfoundry.org:10002 23:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:04 Configure a credential helper to remove this warning. See 23:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:04 23:24:04 Login Succeeded 23:24:05 nexus3.edgexfoundry.org:10003 23:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:05 Configure a credential helper to remove this warning. See 23:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:05 23:24:05 Login Succeeded 23:24:05 nexus3.edgexfoundry.org:10004 23:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:05 Configure a credential helper to remove this warning. See 23:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:05 23:24:05 Login Succeeded 23:24:05 docker.io 23:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:05 Configure a credential helper to remove this warning. See 23:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:05 23:24:05 Login Succeeded 23:24:05 ---> docker-login.sh ends [Pipeline] } 23:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:24:06 + git rev-list -1 --merges b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141~1..b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] echo 23:24:06 -----------> git rev-list -1 --merges b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141~1..b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [false] [Pipeline] sh 23:24:06 + git log --format=format:%s -1 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] echo 23:24:06 ========================================================= 23:24:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:24:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:06 + git log --format=format:%s -1 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] echo 23:24:06 [semverPrep] GIT_COMMIT: b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141, Commit Message: feat: implement driver Start command (#343) [Pipeline] echo 23:24:06 [semverPrep] This is not a build commit. [Pipeline] sh 23:24:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:24:07 + grep -v github /etc/ssh/ssh_known_hosts 23:24:07 + [ -e /tmp/ssh_known_hosts ] 23:24:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:24:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:24:07 + sudo tee -a /etc/ssh/ssh_known_hosts 23:24:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:07 23:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:07 0.1.4: Pulling from edgex-devops/py-git-semver 23:24:07 b85a868b505f: Pulling fs layer 23:24:07 e2be974225ed: Pulling fs layer 23:24:07 339a4e72a1f5: Pulling fs layer 23:24:07 988bab9f4d93: Pulling fs layer 23:24:07 1469e6f7b9e6: Pulling fs layer 23:24:07 988bab9f4d93: Waiting 23:24:07 eaf3925da568: Pulling fs layer 23:24:07 bab4dde63d76: Pulling fs layer 23:24:07 bde34c3a00c8: Pulling fs layer 23:24:07 b352a97aabf1: Pulling fs layer 23:24:07 4872d77fe225: Pulling fs layer 23:24:07 5851b861e8e6: Pulling fs layer 23:24:07 1469e6f7b9e6: Waiting 23:24:07 bde34c3a00c8: Waiting 23:24:07 eaf3925da568: Waiting 23:24:07 5851b861e8e6: Waiting 23:24:07 b352a97aabf1: Waiting 23:24:07 4872d77fe225: Waiting 23:24:07 bab4dde63d76: Waiting 23:24:07 e2be974225ed: Download complete 23:24:07 988bab9f4d93: Verifying Checksum 23:24:07 988bab9f4d93: Download complete 23:24:07 1469e6f7b9e6: Verifying Checksum 23:24:07 1469e6f7b9e6: Download complete 23:24:07 339a4e72a1f5: Verifying Checksum 23:24:07 339a4e72a1f5: Download complete 23:24:07 eaf3925da568: Download complete 23:24:08 bde34c3a00c8: Download complete 23:24:08 b352a97aabf1: Download complete 23:24:08 4872d77fe225: Verifying Checksum 23:24:08 4872d77fe225: Download complete 23:24:08 5851b861e8e6: Download complete 23:24:08 b85a868b505f: Verifying Checksum 23:24:08 b85a868b505f: Download complete 23:24:08 bab4dde63d76: Verifying Checksum 23:24:08 bab4dde63d76: Download complete 23:24:09 b85a868b505f: Pull complete 23:24:09 e2be974225ed: Pull complete 23:24:10 339a4e72a1f5: Pull complete 23:24:10 988bab9f4d93: Pull complete 23:24:10 1469e6f7b9e6: Pull complete 23:24:10 eaf3925da568: Pull complete 23:24:12 bab4dde63d76: Pull complete 23:24:12 bde34c3a00c8: Pull complete 23:24:12 b352a97aabf1: Pull complete 23:24:12 4872d77fe225: Pull complete 23:24:12 5851b861e8e6: Pull complete 23:24:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:12 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:24:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:24:15 $ docker top 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 -eo pid,comm 23:24:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:24:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:24:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:15 [ssh-agent] Looking for ssh-agent implementation... 23:24:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:15 $ docker exec 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 ssh-agent 23:24:15 SSH_AUTH_SOCK=/tmp/ssh-GM5ilWGjyJBe/agent.32 23:24:15 SSH_AGENT_PID=38 23:24:15 Running ssh-add (command line suppressed) 23:24:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12127292083401317350.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12127292083401317350.key) 23:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:16 + git tag --points-at HEAD [Pipeline] } 23:24:16 $ docker exec --env ******** --env ******** 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 ssh-agent -k 23:24:16 unset SSH_AUTH_SOCK; 23:24:16 unset SSH_AGENT_PID; 23:24:16 echo Agent pid 38 killed; 23:24:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:24:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:16 [ssh-agent] Looking for ssh-agent implementation... 23:24:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:16 $ docker exec 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 ssh-agent 23:24:16 SSH_AUTH_SOCK=/tmp/ssh-em4qTqpvZl5H/agent.70 23:24:16 SSH_AGENT_PID=76 23:24:16 Running ssh-add (command line suppressed) 23:24:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3323598540634325913.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3323598540634325913.key) 23:24:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:16 + git semver init 23:24:17 2023-05-08 23:24:17,090 [run_init] DEBUG init version:0.0.0 force:False 23:24:17 2023-05-08 23:24:17,090 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:24:17 2023-05-08 23:24:17,091 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:24:17 2023-05-08 23:24:17,091 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:24:18 2023-05-08 23:24:17,957 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:24:18 2023-05-08 23:24:17,957 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:24:18 2023-05-08 23:24:17,958 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:24:18 2023-05-08 23:24:17,958 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:24:18 3.0.0-dev.42 [Pipeline] } 23:24:18 $ docker exec --env ******** --env ******** 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 ssh-agent -k 23:24:18 unset SSH_AUTH_SOCK; 23:24:18 unset SSH_AGENT_PID; 23:24:18 echo Agent pid 76 killed; 23:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:24:18 + git semver [Pipeline] } 23:24:18 $ docker stop --time=1 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 23:24:20 $ docker rm -f --volumes 83fea49b88b3d6628ea6b7c76a11b5d13f0a3af0761d4afcb6f635c02ac24925 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:24:20 Stashed 1 file(s) [Pipeline] echo 23:24:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:20 provisioning config files... 23:24:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12962316922209850727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:21 ---> docker-login.sh 23:24:21 nexus3.edgexfoundry.org:10001 23:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:21 Configure a credential helper to remove this warning. See 23:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:21 23:24:21 Login Succeeded 23:24:21 nexus3.edgexfoundry.org:10002 23:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:21 Configure a credential helper to remove this warning. See 23:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:21 23:24:21 Login Succeeded 23:24:21 nexus3.edgexfoundry.org:10003 23:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:21 Configure a credential helper to remove this warning. See 23:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:21 23:24:21 Login Succeeded 23:24:21 nexus3.edgexfoundry.org:10004 23:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:21 Configure a credential helper to remove this warning. See 23:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:21 23:24:21 Login Succeeded 23:24:21 docker.io 23:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:21 Configure a credential helper to remove this warning. See 23:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:21 23:24:21 Login Succeeded 23:24:21 ---> docker-login.sh ends [Pipeline] } 23:24:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:21 ========================================================= 23:24:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:24:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:24:22 Sending build context to Docker daemon 21.53MB 23:24:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:24:22 Step 2/13 : FROM ${BASE} AS builder 23:24:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:24:22 f56be85fc22e: Pulling fs layer 23:24:22 85791d961cd3: Pulling fs layer 23:24:22 d694b5ae8c79: Pulling fs layer 23:24:22 9f32a84ed3da: Pulling fs layer 23:24:22 4d19c01a9841: Pulling fs layer 23:24:22 9325e15d5711: Pulling fs layer 23:24:22 556b6ee489ea: Pulling fs layer 23:24:22 c5a4b2cf53e6: Pulling fs layer 23:24:22 4d19c01a9841: Waiting 23:24:22 9f32a84ed3da: Waiting 23:24:22 9325e15d5711: Waiting 23:24:22 c5a4b2cf53e6: Waiting 23:24:22 85791d961cd3: Download complete 23:24:22 9f32a84ed3da: Verifying Checksum 23:24:22 9f32a84ed3da: Download complete 23:24:22 4d19c01a9841: Verifying Checksum 23:24:22 4d19c01a9841: Download complete 23:24:22 f56be85fc22e: Verifying Checksum 23:24:22 f56be85fc22e: Download complete 23:24:22 9325e15d5711: Verifying Checksum 23:24:22 9325e15d5711: Download complete 23:24:22 f56be85fc22e: Pull complete 23:24:22 85791d961cd3: Pull complete 23:24:23 c5a4b2cf53e6: Verifying Checksum 23:24:23 c5a4b2cf53e6: Download complete 23:24:23 d694b5ae8c79: Verifying Checksum 23:24:23 d694b5ae8c79: Download complete 23:24:23 556b6ee489ea: Verifying Checksum 23:24:23 556b6ee489ea: Download complete 23:24:26 d694b5ae8c79: Pull complete 23:24:26 9f32a84ed3da: Pull complete 23:24:26 4d19c01a9841: Pull complete 23:24:26 9325e15d5711: Pull complete 23:24:29 556b6ee489ea: Pull complete 23:24:30 c5a4b2cf53e6: Pull complete 23:24:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:24:30 ---> c4be618373d6 23:24:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:24:33 ---> Running in 3616e6736c7f 23:24:33 Removing intermediate container 3616e6736c7f 23:24:33 ---> 617d57317b7b 23:24:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:24:33 ---> Running in 6f3ce26519da 23:24:34 Removing intermediate container 6f3ce26519da 23:24:34 ---> 450d4b5df5be 23:24:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:24:34 ---> Running in 9448cf943f18 23:24:34 Removing intermediate container 9448cf943f18 23:24:34 ---> 46b4408d19b0 23:24:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:24:34 ---> Running in bd3c04263cc0 23:24:34 Removing intermediate container bd3c04263cc0 23:24:34 ---> 5c03074a40a6 23:24:34 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:24:34 ---> Running in 94d2486ce8f7 23:24:34 Removing intermediate container 94d2486ce8f7 23:24:34 ---> 9c6a69f9e338 23:24:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:34 ---> Running in 7f804d06ee0d 23:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:24:34 OK: 265 MiB in 53 packages 23:24:35 Removing intermediate container 7f804d06ee0d 23:24:35 ---> f3f68fc1333d 23:24:35 Step 9/13 : WORKDIR /device-onvif-camera 23:24:35 ---> Running in 7857de568bf7 23:24:35 Removing intermediate container 7857de568bf7 23:24:35 ---> 8c8f5b4e0b64 23:24:35 Step 10/13 : COPY go.mod vendor* ./ 23:24:35 ---> 3f9b7b38147d 23:24:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:35 ---> Running in 48e363b22b6e 23:24:35 Still waiting to schedule task 23:24:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:08 Removing intermediate container 48e363b22b6e 23:25:08 ---> 8826f77f257c 23:25:08 Step 12/13 : COPY . . 23:25:08 ---> e734a33604dd 23:25:08 Step 13/13 : RUN ${MAKE} 23:25:08 ---> Running in 903d12a0a487 23:25:08 noop 23:25:08 Removing intermediate container 903d12a0a487 23:25:08 ---> 8fec526136f8 23:25:08 Successfully built 8fec526136f8 23:25:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:08 + docker inspect -f . ci-base-image-x86_64 23:25:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:08 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:25:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:25:09 $ docker top 519a14df86be744d092bdaea0357d0f6fd1207f11e27aff900ca4b8b5abd03e5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:09 + go version 23:25:09 go version go1.20.2 linux/amd64 [Pipeline] } 23:25:09 $ docker stop --time=1 519a14df86be744d092bdaea0357d0f6fd1207f11e27aff900ca4b8b5abd03e5 23:25:10 $ docker rm -f --volumes 519a14df86be744d092bdaea0357d0f6fd1207f11e27aff900ca4b8b5abd03e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:11 + docker inspect -f . ci-base-image-x86_64 23:25:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:11 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:25:11 $ docker top 3908b9e530780fe96cf5ddeb5b6c80eb29556a52e48c021bb401bbf0af3065fc -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:12 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:25:12 + make test 23:25:12 go test ./... -coverprofile=coverage.out ./... 23:25:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:25:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:25:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:25:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 30.9% of statements 23:25:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.348s coverage: 86.5% of statements 23:25:39 go vet ./... 23:25:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:42 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:42 $ docker stop --time=1 3908b9e530780fe96cf5ddeb5b6c80eb29556a52e48c021bb401bbf0af3065fc 23:25:45 $ docker rm -f --volumes 3908b9e530780fe96cf5ddeb5b6c80eb29556a52e48c021bb401bbf0af3065fc [Pipeline] // withDockerContainer [Pipeline] sh 23:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:47 + ls -al . 23:25:47 total 232 23:25:47 drwxrwxr-x 10 jenkins jenkins 4096 May 8 23:25 . 23:25:47 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:23 .. 23:25:47 drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:24 .git 23:25:47 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:24 .github 23:25:47 -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:24 .gitignore 23:25:47 -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:24 .golangci.yml 23:25:47 drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:24 .semver 23:25:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:24 Attribution.txt 23:25:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:24 CHANGELOG.md 23:25:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:24 Dockerfile 23:25:47 -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:24 GOVERNANCE.md 23:25:47 -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:24 Jenkinsfile 23:25:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:24 LICENSE 23:25:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:24 Makefile 23:25:47 -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:24 OWNERS.md 23:25:47 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:24 README.md 23:25:47 -rw-rw-r-- 1 jenkins jenkins 12 May 8 23:24 VERSION 23:25:47 drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:24 bin 23:25:47 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:24 cmd 23:25:47 -rw-r--r-- 1 jenkins jenkins 79213 May 8 23:25 coverage.out 23:25:47 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:24 doc 23:25:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:24 go.mod 23:25:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:24 go.sum 23:25:47 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:24 internal 23:25:47 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:24 snap 23:25:47 -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:47 + 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=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 --label arch=amd64 --label version=3.0.0-dev.42 . 23:25:47 Sending build context to Docker daemon 21.61MB 23:25:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:25:47 Step 2/26 : FROM ${BASE} AS builder 23:25:47 ---> 8fec526136f8 23:25:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:25:47 ---> Running in 043f8b4805fb 23:25:47 Removing intermediate container 043f8b4805fb 23:25:47 ---> b70b962666e6 23:25:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:47 ---> Running in 727941f79d77 23:25:48 Removing intermediate container 727941f79d77 23:25:48 ---> 44d6c47b6622 23:25:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:25:48 ---> Running in 1b5ec8cf615b 23:25:48 Removing intermediate container 1b5ec8cf615b 23:25:48 ---> c8e20f136005 23:25:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:25:48 ---> Running in dac55745bdfd 23:25:48 Removing intermediate container dac55745bdfd 23:25:48 ---> 9921387859e3 23:25:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:25:48 ---> Running in 9bdbe844aceb 23:25:48 Removing intermediate container 9bdbe844aceb 23:25:48 ---> 8233c04a7626 23:25:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:48 ---> Running in 4042c87d4542 23:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:25:48 OK: 265 MiB in 53 packages 23:25:49 Removing intermediate container 4042c87d4542 23:25:49 ---> 6232a0e28720 23:25:49 Step 9/26 : WORKDIR /device-onvif-camera 23:25:49 ---> Running in 0bf1c3995a64 23:25:49 Removing intermediate container 0bf1c3995a64 23:25:49 ---> bf42128cd1b0 23:25:49 Step 10/26 : COPY go.mod vendor* ./ 23:25:49 ---> 5b2ad0ada795 23:25:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:49 ---> Running in 98ee6d654c94 23:25:50 Removing intermediate container 98ee6d654c94 23:25:50 ---> b8a0299d9e9d 23:25:50 Step 12/26 : COPY . . 23:25:50 ---> c7a18cde3f84 23:25:50 Step 13/26 : RUN ${MAKE} 23:25:50 ---> Running in d4a4f8e78407 23:25:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:26:09 Removing intermediate container d4a4f8e78407 23:26:09 ---> 9735a6254050 23:26:09 Step 14/26 : FROM alpine:3.17 23:26:09 3.17: Pulling from library/alpine 23:26:09 f56be85fc22e: Already exists 23:26:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:26:09 Status: Downloaded newer image for alpine:3.17 23:26:09 ---> 9ed4aefc74f6 23:26:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:26:09 ---> Running in 06ad4155d1f9 23:26:09 Removing intermediate container 06ad4155d1f9 23:26:09 ---> e0232a460eeb 23:26:09 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:26:09 ---> Running in 9213764cbf3f 23:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:26:10 (1/1) Installing dumb-init (1.2.5-r2) 23:26:10 Executing busybox-1.35.0-r29.trigger 23:26:10 OK: 7 MiB in 16 packages 23:26:10 Removing intermediate container 9213764cbf3f 23:26:10 ---> 5ecde5c748d8 23:26:10 Step 17/26 : WORKDIR / 23:26:10 ---> Running in 7e9c680a95d6 23:26:10 Removing intermediate container 7e9c680a95d6 23:26:10 ---> 215ae438df8a 23:26:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:26:11 ---> 631c54cd81d0 23:26:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:26:11 ---> 8b26602fdaab 23:26:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:26:11 ---> 8e50bc1e4f22 23:26:11 Step 21/26 : EXPOSE 59984 23:26:11 ---> Running in 8237f9f6ecde 23:26:11 Removing intermediate container 8237f9f6ecde 23:26:11 ---> f7897a36e1d8 23:26:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:26:11 ---> Running in 89838b75514c 23:26:11 Removing intermediate container 89838b75514c 23:26:11 ---> 06ee79aa6a31 23:26:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:26:11 ---> Running in 6f29eaf27fb5 23:26:11 Removing intermediate container 6f29eaf27fb5 23:26:11 ---> 94285af5aa01 23:26:11 Step 24/26 : LABEL arch=amd64 23:26:11 ---> Running in f832a123e5dc 23:26:11 Removing intermediate container f832a123e5dc 23:26:11 ---> 39eeb4918725 23:26:11 Step 25/26 : LABEL git_sha=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:26:11 ---> Running in 771987f32e5b 23:26:12 Removing intermediate container 771987f32e5b 23:26:12 ---> 5be9bdcdfb7b 23:26:12 Step 26/26 : LABEL version=3.0.0-dev.42 23:26:12 ---> Running in fc0f7dc67da0 23:26:12 Removing intermediate container fc0f7dc67da0 23:26:12 ---> 1b884b6ef3ca 23:26:12 [Warning] One or more build-args [ARCH] were not consumed 23:26:12 Successfully built 1b884b6ef3ca 23:26:12 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:12 provisioning config files... 23:26:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1336902656139096280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:12 ---> docker-login.sh 23:26:12 nexus3.edgexfoundry.org:10001 23:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:12 Configure a credential helper to remove this warning. See 23:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:12 23:26:12 Login Succeeded 23:26:12 nexus3.edgexfoundry.org:10002 23:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:12 Configure a credential helper to remove this warning. See 23:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:12 23:26:12 Login Succeeded 23:26:12 nexus3.edgexfoundry.org:10003 23:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:12 Configure a credential helper to remove this warning. See 23:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:12 23:26:12 Login Succeeded 23:26:12 nexus3.edgexfoundry.org:10004 23:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:12 Configure a credential helper to remove this warning. See 23:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:12 23:26:12 Login Succeeded 23:26:12 docker.io 23:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:13 Configure a credential helper to remove this warning. See 23:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:13 23:26:13 Login Succeeded 23:26:13 ---> docker-login.sh ends [Pipeline] } 23:26:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:26:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:13 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:26:13 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:26:13 latest 23:26:13 3.0.0-dev.42 23:26:13 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:26:13 main 23:26:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:26:13 d10fe1b9f9dd: Preparing 23:26:13 9b5a0f09fe62: Preparing 23:26:13 3f822abddea2: Preparing 23:26:13 26c57ce824e1: Preparing 23:26:13 f1417ff83b31: Preparing 23:26:13 f1417ff83b31: Layer already exists 23:26:13 d10fe1b9f9dd: Pushed 23:26:13 26c57ce824e1: Pushed 23:26:13 9b5a0f09fe62: Pushed 23:26:16 3f822abddea2: Pushed 23:26:16 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141: digest: sha256:1b8718e364a7f7b855da2be435817999decf975d00c807e2c7bfe9e8d0fbba7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:26:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:26:17 d10fe1b9f9dd: Preparing 23:26:17 9b5a0f09fe62: Preparing 23:26:17 3f822abddea2: Preparing 23:26:17 26c57ce824e1: Preparing 23:26:17 f1417ff83b31: Preparing 23:26:17 d10fe1b9f9dd: Layer already exists 23:26:17 3f822abddea2: Layer already exists 23:26:17 26c57ce824e1: Layer already exists 23:26:17 f1417ff83b31: Layer already exists 23:26:17 9b5a0f09fe62: Layer already exists 23:26:17 latest: digest: sha256:1b8718e364a7f7b855da2be435817999decf975d00c807e2c7bfe9e8d0fbba7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.42 23:26:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:26:17 d10fe1b9f9dd: Preparing 23:26:17 9b5a0f09fe62: Preparing 23:26:17 3f822abddea2: Preparing 23:26:17 26c57ce824e1: Preparing 23:26:17 f1417ff83b31: Preparing 23:26:17 9b5a0f09fe62: Layer already exists 23:26:17 3f822abddea2: Layer already exists 23:26:17 26c57ce824e1: Layer already exists 23:26:17 f1417ff83b31: Layer already exists 23:26:17 d10fe1b9f9dd: Layer already exists 23:26:17 3.0.0-dev.42: digest: sha256:1b8718e364a7f7b855da2be435817999decf975d00c807e2c7bfe9e8d0fbba7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:26:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:26:18 d10fe1b9f9dd: Preparing 23:26:18 9b5a0f09fe62: Preparing 23:26:18 3f822abddea2: Preparing 23:26:18 26c57ce824e1: Preparing 23:26:18 f1417ff83b31: Preparing 23:26:18 f1417ff83b31: Layer already exists 23:26:18 9b5a0f09fe62: Layer already exists 23:26:18 d10fe1b9f9dd: Layer already exists 23:26:18 26c57ce824e1: Layer already exists 23:26:18 3f822abddea2: Layer already exists 23:26:18 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42: digest: sha256:1b8718e364a7f7b855da2be435817999decf975d00c807e2c7bfe9e8d0fbba7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:26:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:26:19 d10fe1b9f9dd: Preparing 23:26:19 9b5a0f09fe62: Preparing 23:26:19 3f822abddea2: Preparing 23:26:19 26c57ce824e1: Preparing 23:26:19 f1417ff83b31: Preparing 23:26:19 f1417ff83b31: Layer already exists 23:26:19 9b5a0f09fe62: Layer already exists 23:26:19 d10fe1b9f9dd: Layer already exists 23:26:19 3f822abddea2: Layer already exists 23:26:19 26c57ce824e1: Layer already exists 23:26:19 main: digest: sha256:1b8718e364a7f7b855da2be435817999decf975d00c807e2c7bfe9e8d0fbba7c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:26:19 ===================================================== [Pipeline] echo 23:26:19 taggedImages: 23:26:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:26:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:26:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.42 23:26:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:26:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:19 23:26:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:19 latest: Pulling from edgex-lftools-log-publisher 23:26:19 5eb5b503b376: Pulling fs layer 23:26:19 5c69ac0246d0: Pulling fs layer 23:26:19 ec43610c2a17: Pulling fs layer 23:26:19 3a2ae6a8a46f: Pulling fs layer 23:26:19 33b1e0a273af: Pulling fs layer 23:26:19 5d3b04190fa2: Pulling fs layer 23:26:19 2f39f015ded8: Pulling fs layer 23:26:19 33b1e0a273af: Waiting 23:26:19 5d3b04190fa2: Waiting 23:26:19 2f39f015ded8: Waiting 23:26:19 3a2ae6a8a46f: Waiting 23:26:19 5c69ac0246d0: Verifying Checksum 23:26:19 5c69ac0246d0: Download complete 23:26:19 3a2ae6a8a46f: Verifying Checksum 23:26:19 3a2ae6a8a46f: Download complete 23:26:19 33b1e0a273af: Verifying Checksum 23:26:19 33b1e0a273af: Download complete 23:26:19 5d3b04190fa2: Verifying Checksum 23:26:19 5d3b04190fa2: Download complete 23:26:19 ec43610c2a17: Verifying Checksum 23:26:20 5eb5b503b376: Verifying Checksum 23:26:20 5eb5b503b376: Download complete 23:26:20 2f39f015ded8: Download complete 23:26:21 5eb5b503b376: Pull complete 23:26:21 5c69ac0246d0: Pull complete 23:26:21 ec43610c2a17: Pull complete 23:26:21 3a2ae6a8a46f: Pull complete 23:26:22 33b1e0a273af: Pull complete 23:26:22 5d3b04190fa2: Pull complete 23:26:26 2f39f015ded8: Pull complete 23:26:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:26 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:26:29 $ docker top 8bc39551bf5eb681435ddd80e660c2a8b65719ac3d45de8855a818e3254ce7a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:29 ---> job-cost.sh 23:26:29 lf-activate-venv: SKIPPING 23:26:29 INFO: No Stack... 23:26:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:26:30 INFO: Archiving Costs [Pipeline] sh 23:26:30 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:26:30 + cut -d, -f6 [Pipeline] lock 23:26:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] 23:26:30 Resource [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] did not exist. Created. 23:26:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:26:30 + echo total: 0.2199999988079071 [Pipeline] stash 23:26:30 Stashed 1 file(s) [Pipeline] } 23:26:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 23:26:30 $ docker stop --time=1 8bc39551bf5eb681435ddd80e660c2a8b65719ac3d45de8855a818e3254ce7a7 23:26:32 $ docker rm -f --volumes 8bc39551bf5eb681435ddd80e660c2a8b65719ac3d45de8855a818e3254ce7a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:26:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14577 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:26:55 Running in /w/workspace/device-onvif-camera/138 [Pipeline] { [Pipeline] checkout 23:26:55 The recommended git tool is: git 23:27:00 using credential edgex-jenkins-ssh 23:27:00 Cloning the remote Git repository 23:27:00 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:27:00 > git init /w/workspace/device-onvif-camera/138 # timeout=10 23:27:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:27:01 > git --version # timeout=10 23:27:01 > git --version # 'git version 2.25.1' 23:27:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:27:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:27:03 Avoid second fetch 23:27:03 Checking out Revision b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 (main) 23:27:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:27:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:27:03 > git config core.sparsecheckout # timeout=10 23:27:03 > git checkout -f b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 23:27:04 Commit message: "feat: implement driver Start command (#343)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:27:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:27:05 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:05 Dload Upload Total Spent Left Speed 23:27:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 23:27:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:27:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:27:06 + sudo tee /etc/docker/daemon.new 23:27:06 { 23:27:06 "registry-mirrors": [ 23:27:06 "https://nexus3.edgexfoundry.org:10001" 23:27:06 ], 23:27:06 "bip": "10.250.0.254/24", 23:27:06 "hosts": [ 23:27:06 "tcp://0.0.0.0:5555", 23:27:06 "unix:///var/run/docker.sock" 23:27:06 ], 23:27:06 "mtu": 1458, 23:27:06 "selinux-enabled": true, 23:27:06 "seccomp-profile": "/etc/docker/seccomp.json" 23:27:06 } [Pipeline] sh 23:27:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:27:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:25 provisioning config files... 23:27:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/138@tmp/config8171927104438148114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:25 ---> docker-login.sh 23:27:25 nexus3.edgexfoundry.org:10001 23:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:26 Configure a credential helper to remove this warning. See 23:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:26 23:27:26 Login Succeeded 23:27:26 nexus3.edgexfoundry.org:10002 23:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:27 Configure a credential helper to remove this warning. See 23:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:27 23:27:27 Login Succeeded 23:27:27 nexus3.edgexfoundry.org:10003 23:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:27 Configure a credential helper to remove this warning. See 23:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:27 23:27:27 Login Succeeded 23:27:27 nexus3.edgexfoundry.org:10004 23:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:27 Configure a credential helper to remove this warning. See 23:27:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:27 23:27:27 Login Succeeded 23:27:27 docker.io 23:27:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:28 Configure a credential helper to remove this warning. See 23:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:28 23:27:28 Login Succeeded 23:27:28 ---> docker-login.sh ends [Pipeline] } 23:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:28 ========================================================= 23:27:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:27:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:27:29 Sending build context to Docker daemon 14.18MB 23:27:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:27:29 Step 2/13 : FROM ${BASE} AS builder 23:27:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:27:29 c41833b44d91: Pulling fs layer 23:27:29 ed15518f5707: Pulling fs layer 23:27:29 feae8fd75edb: Pulling fs layer 23:27:29 242c74f7c9fa: Pulling fs layer 23:27:29 3cdef696dda3: Pulling fs layer 23:27:29 2ced38df9373: Pulling fs layer 23:27:29 58f1dce35555: Pulling fs layer 23:27:29 3cdef696dda3: Waiting 23:27:29 2ced38df9373: Waiting 23:27:29 58f1dce35555: Waiting 23:27:29 242c74f7c9fa: Waiting 23:27:29 ed15518f5707: Verifying Checksum 23:27:29 ed15518f5707: Download complete 23:27:29 242c74f7c9fa: Verifying Checksum 23:27:29 242c74f7c9fa: Download complete 23:27:29 3cdef696dda3: Verifying Checksum 23:27:29 3cdef696dda3: Download complete 23:27:29 c41833b44d91: Verifying Checksum 23:27:29 c41833b44d91: Download complete 23:27:30 c41833b44d91: Pull complete 23:27:31 58f1dce35555: Verifying Checksum 23:27:31 58f1dce35555: Download complete 23:27:31 ed15518f5707: Pull complete 23:27:32 feae8fd75edb: Verifying Checksum 23:27:32 feae8fd75edb: Download complete 23:27:32 2ced38df9373: Verifying Checksum 23:27:32 2ced38df9373: Download complete 23:27:42 feae8fd75edb: Pull complete 23:27:42 242c74f7c9fa: Pull complete 23:27:42 3cdef696dda3: Pull complete 23:27:49 2ced38df9373: Pull complete 23:27:51 58f1dce35555: Pull complete 23:27:51 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:27:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:27:51 ---> fadd8f120f05 23:27:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:27:52 ---> Running in b247d0b76b24 23:27:52 Removing intermediate container b247d0b76b24 23:27:52 ---> 169814fa72f8 23:27:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:52 ---> Running in 25154b49bc71 23:27:53 Removing intermediate container 25154b49bc71 23:27:53 ---> f66d280ae005 23:27:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:27:53 ---> Running in bf41ed4fa6d0 23:27:53 Removing intermediate container bf41ed4fa6d0 23:27:53 ---> 0403e28e5489 23:27:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:27:53 ---> Running in b2b556552844 23:27:54 Removing intermediate container b2b556552844 23:27:54 ---> 4317c3a49380 23:27:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:27:54 ---> Running in b8fa3142782b 23:27:54 Removing intermediate container b8fa3142782b 23:27:54 ---> e723a80e22fa 23:27:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:54 ---> Running in 0540a5502f2f 23:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:57 OK: 263 MiB in 53 packages 23:27:58 Removing intermediate container 0540a5502f2f 23:27:58 ---> 3bbde80ea34a 23:27:58 Step 9/13 : WORKDIR /device-onvif-camera 23:27:58 ---> Running in 57e6408701c7 23:27:58 Removing intermediate container 57e6408701c7 23:27:58 ---> 6b29d33cb74e 23:27:58 Step 10/13 : COPY go.mod vendor* ./ 23:28:01 ---> 893efabbe56f 23:28:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:01 ---> Running in 11da0538c8b0 23:29:09 Removing intermediate container 11da0538c8b0 23:29:09 ---> c843f73b49e0 23:29:09 Step 12/13 : COPY . . 23:29:09 ---> bf0723df2aea 23:29:09 Step 13/13 : RUN ${MAKE} 23:29:09 ---> Running in 32335b6cf876 23:29:09 noop 23:29:09 Removing intermediate container 32335b6cf876 23:29:09 ---> 4fafb7ab58a3 23:29:09 Successfully built 4fafb7ab58a3 23:29:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:09 + docker inspect -f . ci-base-image-arm64 23:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:09 prd-ubuntu20.04-docker-arm64-4c-16g-14577 does not seem to be running inside a container 23:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/138 -v /w/workspace/device-onvif-camera/138:/w/workspace/device-onvif-camera/138:rw,z -v /w/workspace/device-onvif-camera/138@tmp:/w/workspace/device-onvif-camera/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:29:11 $ docker top b1517b820c3413a420cd59155b4c0d6a4434ea2f61b4eb9b12fc8a743a7ddd63 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:12 + go version 23:29:12 go version go1.20.2 linux/arm64 [Pipeline] } 23:29:12 $ docker stop --time=1 b1517b820c3413a420cd59155b4c0d6a4434ea2f61b4eb9b12fc8a743a7ddd63 23:29:13 $ docker rm -f --volumes b1517b820c3413a420cd59155b4c0d6a4434ea2f61b4eb9b12fc8a743a7ddd63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:14 + docker inspect -f . ci-base-image-arm64 23:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:14 prd-ubuntu20.04-docker-arm64-4c-16g-14577 does not seem to be running inside a container 23:29:14 $ 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/138 -v /w/workspace/device-onvif-camera/138:/w/workspace/device-onvif-camera/138:rw,z -v /w/workspace/device-onvif-camera/138@tmp:/w/workspace/device-onvif-camera/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:29:15 $ docker top 1ab69b7e466d02852c40ee654b46bda9f171ad9ca047c9fa01aadc17d86d97aa -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:16 + git config --global --add safe.directory /w/workspace/device-onvif-camera/138 [Pipeline] fileExists [Pipeline] sh 23:29:17 + make test 23:29:17 go test ./... -coverprofile=coverage.out ./... 23:29:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:32:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:32:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:32:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 30.9% of statements 23:32:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.677s coverage: 86.5% of statements 23:32:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:32:36 go vet ./... 23:33:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:33:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:33:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:33:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:33:08 $ docker stop --time=1 1ab69b7e466d02852c40ee654b46bda9f171ad9ca047c9fa01aadc17d86d97aa 23:33:10 $ docker rm -f --volumes 1ab69b7e466d02852c40ee654b46bda9f171ad9ca047c9fa01aadc17d86d97aa [Pipeline] // withDockerContainer [Pipeline] sh 23:33:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:33:11 Warning: overwriting stash ‘coverage-report’ 23:33:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:33:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:33:12 + ls -al . 23:33:12 total 228 23:33:12 drwxrwxr-x 9 jenkins jenkins 4096 May 8 23:29 . 23:33:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:27 .. 23:33:12 drwxrwxr-x 8 jenkins jenkins 4096 May 8 23:27 .git 23:33:12 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:27 .github 23:33:12 -rw-rw-r-- 1 jenkins jenkins 496 May 8 23:27 .gitignore 23:33:12 -rw-rw-r-- 1 jenkins jenkins 42 May 8 23:27 .golangci.yml 23:33:12 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 23:27 Attribution.txt 23:33:12 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 23:27 CHANGELOG.md 23:33:12 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 23:27 Dockerfile 23:33:12 -rw-rw-r-- 1 jenkins jenkins 677 May 8 23:27 GOVERNANCE.md 23:33:12 -rw-rw-r-- 1 jenkins jenkins 734 May 8 23:27 Jenkinsfile 23:33:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 23:27 LICENSE 23:33:12 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 23:27 Makefile 23:33:12 -rw-rw-r-- 1 jenkins jenkins 625 May 8 23:27 OWNERS.md 23:33:12 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 23:27 README.md 23:33:12 -rw-rw-r-- 1 jenkins jenkins 12 May 8 23:24 VERSION 23:33:12 drwxrwxr-x 2 jenkins jenkins 4096 May 8 23:27 bin 23:33:12 drwxrwxr-x 3 jenkins jenkins 4096 May 8 23:27 cmd 23:33:12 -rw-r--r-- 1 jenkins jenkins 79213 May 8 23:32 coverage.out 23:33:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:27 doc 23:33:12 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 23:27 go.mod 23:33:12 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 23:27 go.sum 23:33:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:27 internal 23:33:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 23:27 snap 23:33:12 -rw-rw-r-- 1 jenkins jenkins 236 May 8 23:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:13 + 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=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 --label arch=arm64 --label version=3.0.0-dev.42 . 23:33:13 Sending build context to Docker daemon 14.26MB 23:33:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:33:13 Step 2/26 : FROM ${BASE} AS builder 23:33:13 ---> 4fafb7ab58a3 23:33:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:33:13 ---> Running in d7ea397f6c79 23:33:14 Removing intermediate container d7ea397f6c79 23:33:14 ---> e236c8d36c51 23:33:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:33:14 ---> Running in 98d2ab247dac 23:33:14 Removing intermediate container 98d2ab247dac 23:33:14 ---> a47e042ca9fe 23:33:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:33:14 ---> Running in 200a2da33a09 23:33:14 Removing intermediate container 200a2da33a09 23:33:14 ---> 6251d44c0558 23:33:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:33:14 ---> Running in e3675efb2150 23:33:15 Removing intermediate container e3675efb2150 23:33:15 ---> ee57059bcb03 23:33:15 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:33:15 ---> Running in 6771c03b8d28 23:33:15 Removing intermediate container 6771c03b8d28 23:33:15 ---> 080821949f1d 23:33:15 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:15 ---> Running in fe8687e495da 23:33:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:33:18 OK: 263 MiB in 53 packages 23:33:20 Removing intermediate container fe8687e495da 23:33:20 ---> 6d84460b8e54 23:33:20 Step 9/26 : WORKDIR /device-onvif-camera 23:33:20 ---> Running in 83216a4a7779 23:33:20 Removing intermediate container 83216a4a7779 23:33:20 ---> 16f4f4f36e89 23:33:20 Step 10/26 : COPY go.mod vendor* ./ 23:33:21 ---> cfaad15e2283 23:33:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:21 ---> Running in d14d0a874303 23:33:24 Removing intermediate container d14d0a874303 23:33:24 ---> a4584868e6a1 23:33:24 Step 12/26 : COPY . . 23:33:25 ---> 69d67ae1b41c 23:33:25 Step 13/26 : RUN ${MAKE} 23:33:25 ---> Running in bddd32626ca3 23:33:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:35:48 Removing intermediate container bddd32626ca3 23:35:48 ---> 3bc0b8a6c48c 23:35:48 Step 14/26 : FROM alpine:3.17 23:35:48 3.17: Pulling from library/alpine 23:35:48 c41833b44d91: Already exists 23:35:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:35:48 Status: Downloaded newer image for alpine:3.17 23:35:48 ---> 51e60588ff2c 23:35:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:35:48 ---> Running in 1a4885d85ff5 23:35:48 Removing intermediate container 1a4885d85ff5 23:35:48 ---> a0615e91a8f7 23:35:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:35:48 ---> Running in b727ca76b8f4 23:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:35:51 (1/1) Installing dumb-init (1.2.5-r2) 23:35:51 Executing busybox-1.35.0-r29.trigger 23:35:51 OK: 8 MiB in 16 packages 23:35:52 Removing intermediate container b727ca76b8f4 23:35:52 ---> d80917075e05 23:35:52 Step 17/26 : WORKDIR / 23:35:52 ---> Running in 2260fde77d31 23:35:53 Removing intermediate container 2260fde77d31 23:35:53 ---> b6fe0202298f 23:35:53 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:35:54 ---> d1c806782674 23:35:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:35:55 ---> a55ee117b8a9 23:35:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:35:55 ---> a7d8e50a5940 23:35:55 Step 21/26 : EXPOSE 59984 23:35:55 ---> Running in feafbe35c23d 23:35:56 Removing intermediate container feafbe35c23d 23:35:56 ---> 4db3102b6a73 23:35:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:35:56 ---> Running in 153646b93826 23:35:56 Removing intermediate container 153646b93826 23:35:56 ---> 1fc8365bdd0b 23:35:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:35:56 ---> Running in e847aca38069 23:35:56 Removing intermediate container e847aca38069 23:35:56 ---> c0ea1bc60951 23:35:56 Step 24/26 : LABEL arch=arm64 23:35:56 ---> Running in 781924f833b8 23:35:57 Removing intermediate container 781924f833b8 23:35:57 ---> 5dfbe43f8c5c 23:35:57 Step 25/26 : LABEL git_sha=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:35:57 ---> Running in 1f405454cfbe 23:35:57 Removing intermediate container 1f405454cfbe 23:35:57 ---> 51508d466704 23:35:57 Step 26/26 : LABEL version=3.0.0-dev.42 23:35:57 ---> Running in a6877d671f79 23:35:57 Removing intermediate container a6877d671f79 23:35:57 ---> c15b2e588478 23:35:57 [Warning] One or more build-args [ARCH] were not consumed 23:35:57 Successfully built c15b2e588478 23:35:57 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:58 provisioning config files... 23:35:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/138@tmp/config14495504794795979847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:58 ---> docker-login.sh 23:35:58 nexus3.edgexfoundry.org:10001 23:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:58 Configure a credential helper to remove this warning. See 23:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:58 23:35:58 Login Succeeded 23:35:58 nexus3.edgexfoundry.org:10002 23:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:59 Configure a credential helper to remove this warning. See 23:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:59 23:35:59 Login Succeeded 23:35:59 nexus3.edgexfoundry.org:10003 23:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:59 Configure a credential helper to remove this warning. See 23:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:59 23:35:59 Login Succeeded 23:35:59 nexus3.edgexfoundry.org:10004 23:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:59 Configure a credential helper to remove this warning. See 23:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:59 23:35:59 Login Succeeded 23:35:59 docker.io 23:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:00 Configure a credential helper to remove this warning. See 23:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:00 23:36:00 Login Succeeded 23:36:00 ---> docker-login.sh ends [Pipeline] } 23:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:36:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:36:00 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:36:00 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:36:00 latest 23:36:00 3.0.0-dev.42 23:36:00 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:36:00 main 23:36:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:36:01 fd6f65953c5c: Preparing 23:36:01 5af19461de7b: Preparing 23:36:01 d751a72cffd3: Preparing 23:36:01 157f7af94732: Preparing 23:36:01 26cbea5cba74: Preparing 23:36:01 26cbea5cba74: Layer already exists 23:36:01 fd6f65953c5c: Pushed 23:36:01 5af19461de7b: Pushed 23:36:01 157f7af94732: Pushed 23:36:08 d751a72cffd3: Pushed 23:36:08 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141: digest: sha256:eb6ae6e035c525ca9ce56d53969c42299fe72312060e7f324b77f209b7b65c05 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:36:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:36:08 fd6f65953c5c: Preparing 23:36:08 5af19461de7b: Preparing 23:36:08 d751a72cffd3: Preparing 23:36:08 157f7af94732: Preparing 23:36:08 26cbea5cba74: Preparing 23:36:08 d751a72cffd3: Layer already exists 23:36:08 157f7af94732: Layer already exists 23:36:08 26cbea5cba74: Layer already exists 23:36:08 5af19461de7b: Layer already exists 23:36:08 fd6f65953c5c: Layer already exists 23:36:08 latest: digest: sha256:eb6ae6e035c525ca9ce56d53969c42299fe72312060e7f324b77f209b7b65c05 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.42 23:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:36:09 fd6f65953c5c: Preparing 23:36:09 5af19461de7b: Preparing 23:36:09 d751a72cffd3: Preparing 23:36:09 157f7af94732: Preparing 23:36:09 26cbea5cba74: Preparing 23:36:09 fd6f65953c5c: Layer already exists 23:36:09 157f7af94732: Layer already exists 23:36:09 5af19461de7b: Layer already exists 23:36:09 26cbea5cba74: Layer already exists 23:36:09 d751a72cffd3: Layer already exists 23:36:09 3.0.0-dev.42: digest: sha256:eb6ae6e035c525ca9ce56d53969c42299fe72312060e7f324b77f209b7b65c05 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:36:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:36:10 fd6f65953c5c: Preparing 23:36:10 5af19461de7b: Preparing 23:36:10 d751a72cffd3: Preparing 23:36:10 157f7af94732: Preparing 23:36:10 26cbea5cba74: Preparing 23:36:10 157f7af94732: Layer already exists 23:36:10 26cbea5cba74: Layer already exists 23:36:10 5af19461de7b: Layer already exists 23:36:10 d751a72cffd3: Layer already exists 23:36:10 fd6f65953c5c: Layer already exists 23:36:10 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42: digest: sha256:eb6ae6e035c525ca9ce56d53969c42299fe72312060e7f324b77f209b7b65c05 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:36:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:36:11 fd6f65953c5c: Preparing 23:36:11 5af19461de7b: Preparing 23:36:11 d751a72cffd3: Preparing 23:36:11 157f7af94732: Preparing 23:36:11 26cbea5cba74: Preparing 23:36:11 fd6f65953c5c: Layer already exists 23:36:11 26cbea5cba74: Layer already exists 23:36:11 d751a72cffd3: Layer already exists 23:36:11 5af19461de7b: Layer already exists 23:36:11 157f7af94732: Layer already exists 23:36:11 main: digest: sha256:eb6ae6e035c525ca9ce56d53969c42299fe72312060e7f324b77f209b7b65c05 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:36:11 ===================================================== [Pipeline] echo 23:36:11 taggedImages: 23:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 23:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.42 23:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141-3.0.0-dev.42 23:36:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:11 23:36:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:12 arm64: Pulling from edgex-lftools-log-publisher 23:36:12 8998bd30e6a1: Pulling fs layer 23:36:12 04944245beec: Pulling fs layer 23:36:12 699f458cf7ca: Pulling fs layer 23:36:12 765212b225bb: Pulling fs layer 23:36:12 f23df028b6ca: Pulling fs layer 23:36:12 d65c8cfc05b1: Pulling fs layer 23:36:12 2437ff75d9bd: Pulling fs layer 23:36:12 765212b225bb: Waiting 23:36:12 f23df028b6ca: Waiting 23:36:12 d65c8cfc05b1: Waiting 23:36:12 2437ff75d9bd: Waiting 23:36:12 04944245beec: Download complete 23:36:12 765212b225bb: Verifying Checksum 23:36:12 765212b225bb: Download complete 23:36:12 f23df028b6ca: Verifying Checksum 23:36:12 f23df028b6ca: Download complete 23:36:12 d65c8cfc05b1: Verifying Checksum 23:36:12 d65c8cfc05b1: Download complete 23:36:12 699f458cf7ca: Verifying Checksum 23:36:12 699f458cf7ca: Download complete 23:36:13 8998bd30e6a1: Verifying Checksum 23:36:13 8998bd30e6a1: Download complete 23:36:15 2437ff75d9bd: Verifying Checksum 23:36:15 2437ff75d9bd: Download complete 23:36:17 8998bd30e6a1: Pull complete 23:36:17 04944245beec: Pull complete 23:36:19 699f458cf7ca: Pull complete 23:36:19 765212b225bb: Pull complete 23:36:19 f23df028b6ca: Pull complete 23:36:20 d65c8cfc05b1: Pull complete 23:36:35 2437ff75d9bd: Pull complete 23:36:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:35 prd-ubuntu20.04-docker-arm64-4c-16g-14577 does not seem to be running inside a container 23:36:35 $ 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/138 -v /w/workspace/device-onvif-camera/138:/w/workspace/device-onvif-camera/138:rw,z -v /w/workspace/device-onvif-camera/138@tmp:/w/workspace/device-onvif-camera/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:36:37 $ docker top a39d625f80f40b3e16fbc4b809761f0cd4d0f9c91db87195da3ef4dae23bda36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:38 ---> job-cost.sh 23:36:38 lf-activate-venv: SKIPPING 23:36:38 INFO: No Stack... 23:36:39 INFO: Retrieving Pricing Info for: v3-standard-4 23:36:39 INFO: Archiving Costs [Pipeline] sh 23:36:40 + cat /w/workspace/device-onvif-camera/138/archives/cost.csv 23:36:40 + cut -d, -f6 [Pipeline] lock 23:36:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] 23:36:40 Resource [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] did not exist. Created. 23:36:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:41 /w/workspace/device-onvif-camera/138@tmp/durable-96e84738/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:36:41 + echo total: 0.10999999940395355 [Pipeline] stash 23:36:41 Warning: overwriting stash ‘stack-cost’ 23:36:41 Stashed 1 file(s) [Pipeline] } 23:36:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:41 $ docker stop --time=1 a39d625f80f40b3e16fbc4b809761f0cd4d0f9c91db87195da3ef4dae23bda36 23:36:43 $ docker rm -f --volumes a39d625f80f40b3e16fbc4b809761f0cd4d0f9c91db87195da3ef4dae23bda36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:36:43 provisioning config files... 23:36:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3169077018115009064tmp [Pipeline] { [Pipeline] sh 23:36:43 + set +x 23:36:43 + curl -s https://codecov.io/bash 23:36:43 + bash -s -- 23:36:43 23:36:43 _____ _ 23:36:43 / ____| | | 23:36:43 | | ___ __| | ___ ___ _____ __ 23:36:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:36:43 | |___| (_) | (_| | __/ (_| (_) \ V / 23:36:43 \_____\___/ \__,_|\___|\___\___/ \_/ 23:36:43 Bash-1.0.6 23:36:43 23:36:43 23:36:43 ==> git version 2.25.1 found 23:36:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:36:43 Release-Date: 2020-01-08 23:36:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:36:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:36:43 ==> Jenkins CI detected. 23:36:43 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:36:43 project root: . 23:36:43 --> token set from env 23:36:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:36:44 ==> Running gcov in . (disable via -X gcov) 23:36:44 ==> Python coveragepy not found 23:36:44 ==> Searching for coverage reports in: 23:36:44 + . 23:36:44 -> Found 1 reports 23:36:44 ==> Detecting git/mercurial file structure 23:36:44 ==> Reading reports 23:36:44 + ./coverage.out bytes=79213 23:36:44 ==> Appending adjustments 23:36:44 https://docs.codecov.io/docs/fixing-reports 23:36:44 + Found adjustments 23:36:44 ==> Gzipping contents 23:36:44 12K /tmp/codecov.sKR2M0.gz 23:36:44 ==> Uploading reports 23:36:44 url: https://codecov.io 23:36:44 query: branch=main&commit=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:36:44 -> Pinging Codecov 23:36:44 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=b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:36:44 -> Uploading to 23:36:44 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/F29A59C45E3A92E06B3E522C9905F8EF/b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141/f3b7da50-e228-4e09-9884-dcf5fe89a88b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T233644Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f00b56faa58fd6ec7903914290f83932285df381a7a9e5c9e6552a49e75f29a7 23:36:44 % Total % Received % Xferd Average Speed Time Time Time Current 23:36:44 Dload Upload Total Spent Left Speed 23:36:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 48760 --:--:-- --:--:-- --:--:-- 48760 23:36:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] } 23:36:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:36:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:36:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:36:45 23:36:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:36:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:36:45 df9b9388f04a: Pulling fs layer 23:36:45 52dc419b0ee2: Pulling fs layer 23:36:45 25bc292e5bac: Pulling fs layer 23:36:45 114826534d7a: Pulling fs layer 23:36:45 4657fd5d0bcf: Pulling fs layer 23:36:45 6ad1cebc031e: Pulling fs layer 23:36:45 8a3aa393b2d8: Pulling fs layer 23:36:45 6ad1cebc031e: Waiting 23:36:45 114826534d7a: Waiting 23:36:45 4657fd5d0bcf: Waiting 23:36:45 8a3aa393b2d8: Waiting 23:36:45 25bc292e5bac: Verifying Checksum 23:36:45 25bc292e5bac: Download complete 23:36:45 52dc419b0ee2: Verifying Checksum 23:36:45 52dc419b0ee2: Download complete 23:36:45 4657fd5d0bcf: Download complete 23:36:45 df9b9388f04a: Verifying Checksum 23:36:45 df9b9388f04a: Download complete 23:36:45 df9b9388f04a: Pull complete 23:36:45 6ad1cebc031e: Download complete 23:36:45 52dc419b0ee2: Pull complete 23:36:45 25bc292e5bac: Pull complete 23:36:46 114826534d7a: Verifying Checksum 23:36:46 114826534d7a: Download complete 23:36:46 8a3aa393b2d8: Verifying Checksum 23:36:46 8a3aa393b2d8: Download complete 23:36:49 114826534d7a: Pull complete 23:36:49 4657fd5d0bcf: Pull complete 23:36:49 6ad1cebc031e: Pull complete 23:36:52 8a3aa393b2d8: Pull complete 23:36:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:36:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:36:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:52 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:36:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:36:55 $ docker top 230a89d0fe433662a79218fe9c625ef2ba6212a6e29d26b2b11430ab0a050acc -eo pid,comm [Pipeline] { [Pipeline] echo 23:36:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:36:55 + set -o pipefail 23:36:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:37:03 23:37:03 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:37:03 23:37:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c77e9fc4-8344-4386-91c7-44c3db3f83b9 23:37:03 23:37:03 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:37:03 23:37:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:37:03 23:37:03 23:37:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:37:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:37:03 More details here: https://snyk.co/ue1NS 23:37:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 23:37:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 23:37:03 $ docker stop --time=1 230a89d0fe433662a79218fe9c625ef2ba6212a6e29d26b2b11430ab0a050acc 23:37:06 $ docker rm -f --volumes 230a89d0fe433662a79218fe9c625ef2ba6212a6e29d26b2b11430ab0a050acc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 23:37:07 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:07 provisioning config files... 23:37:07 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config842538241251801044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:07 --> edgex-publish-swagger.sh 23:37:07 === Publish doc/openapi/v2 API === 23:37:07 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:37:07 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:37:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:37:07 Dload Upload Total Spent Left Speed 23:37:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 27 469k 0 0 27 128k 0 1254k --:--:-- --:--:-- --:--:-- 1242k 100 469k 0 0 100 469k 0 574k --:--:-- --:--:-- --:--:-- 573k 23:37:08 23:37:08 [Pipeline] } 23:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:37:08 + git log --format=format:%s -1 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 [Pipeline] sh 23:37:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:09 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:37: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:09 $ docker top 36db91ee809a44db89f6ca8850376403beff7f5dd79dd934e3025b0d39121399 -eo pid,comm 23:37:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:37:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:09 [ssh-agent] Looking for ssh-agent implementation... 23:37:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:10 $ docker exec 36db91ee809a44db89f6ca8850376403beff7f5dd79dd934e3025b0d39121399 ssh-agent 23:37:10 SSH_AUTH_SOCK=/tmp/ssh-lliuzlGAzeih/agent.32 23:37:10 SSH_AGENT_PID=38 23:37:10 Running ssh-add (command line suppressed) 23:37:10 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3778617420172266174.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3778617420172266174.key) 23:37:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:10 + git semver tag 23:37:10 2023-05-08 23:37:10,692 [run_tag] DEBUG tag force:False 23:37:10 2023-05-08 23:37:10,692 [check_head_tag] DEBUG check head tag 23:37:10 2023-05-08 23:37:10,694 [execute] INFO git cat-file --batch-check 23:37:10 2023-05-08 23:37:10,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:37:10 2023-05-08 23:37:10,698 [execute] INFO git cat-file --batch 23:37:10 2023-05-08 23:37:10,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:37:10 2023-05-08 23:37:10,733 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:10 2023-05-08 23:37:10,733 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 23:37:10 2023-05-08 23:37:10,733 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:37:10 2023-05-08 23:37:10,738 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:10 3.0.0-dev.42 [Pipeline] } 23:37:10 $ docker exec --env ******** --env ******** 36db91ee809a44db89f6ca8850376403beff7f5dd79dd934e3025b0d39121399 ssh-agent -k 23:37:10 unset SSH_AUTH_SOCK; 23:37:10 unset SSH_AGENT_PID; 23:37:10 echo Agent pid 38 killed; 23:37:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:11 + git semver [Pipeline] } 23:37:11 $ docker stop --time=1 36db91ee809a44db89f6ca8850376403beff7f5dd79dd934e3025b0d39121399 23:37:12 $ docker rm -f --volumes 36db91ee809a44db89f6ca8850376403beff7f5dd79dd934e3025b0d39121399 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:37:13 23:37:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:37:13 0.23.1-centos7: Pulling from edgex-lftools 23:37:13 ab5ef0e58194: Pulling fs layer 23:37:13 9712f1f96733: Pulling fs layer 23:37:13 63f879dbbcfc: Pulling fs layer 23:37:13 0d9ebad4ef96: Pulling fs layer 23:37:13 e9a5061849ea: Pulling fs layer 23:37:13 d747dcd14b5f: Pulling fs layer 23:37:13 2de7ff778b66: Pulling fs layer 23:37:13 e9a5061849ea: Waiting 23:37:13 2de7ff778b66: Waiting 23:37:13 d747dcd14b5f: Waiting 23:37:13 0d9ebad4ef96: Waiting 23:37:13 9712f1f96733: Verifying Checksum 23:37:13 9712f1f96733: Download complete 23:37:13 63f879dbbcfc: Download complete 23:37:13 e9a5061849ea: Verifying Checksum 23:37:13 e9a5061849ea: Download complete 23:37:13 d747dcd14b5f: Verifying Checksum 23:37:13 d747dcd14b5f: Download complete 23:37:13 0d9ebad4ef96: Verifying Checksum 23:37:13 0d9ebad4ef96: Download complete 23:37:13 ab5ef0e58194: Download complete 23:37:13 2de7ff778b66: Download complete 23:37:16 ab5ef0e58194: Pull complete 23:37:16 9712f1f96733: Pull complete 23:37:17 63f879dbbcfc: Pull complete 23:37:20 0d9ebad4ef96: Pull complete 23:37:20 e9a5061849ea: Pull complete 23:37:20 d747dcd14b5f: Pull complete 23:37:21 2de7ff778b66: Pull complete 23:37:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:37:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:21 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:37:25 $ docker top c18a934543aa3c3566353ef0240a130dc173afc36a9f6f2f6f0252d4ac635f5a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:37:25 provisioning config files... 23:37:25 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17680849162897750425tmp 23:37:25 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17694591724897680639tmp 23:37:25 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13230428606326495893tmp [Pipeline] { [Pipeline] echo 23:37:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:37:26 ---> sigul-configuration.sh 23:37:26 gpg: directory `/root/.gnupg' created 23:37:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:37:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:37:26 gpg: keyring `/root/.gnupg/secring.gpg' created 23:37:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:37:26 gpg: CAST5 encrypted data 23:37:26 gpg: encrypted with 1 passphrase 23:37:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:37:26 + mkdir /home/jenkins 23:37:26 + mkdir /home/jenkins/sigul [Pipeline] sh 23:37:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:37:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:37:27 ---> sigul-install.sh 23:37:27 Sigul already installed; skipping installation. [Pipeline] sh 23:37:27 + git tag --list 23:37:27 v0.0.0 23:37:27 v0.0.1-dev.1 23:37:27 v0.0.1-dev.10 23:37:27 v0.0.1-dev.11 23:37:27 v0.0.1-dev.12 23:37:27 v0.0.1-dev.13 23:37:27 v0.0.1-dev.14 23:37:27 v0.0.1-dev.15 23:37:27 v0.0.1-dev.16 23:37:27 v0.0.1-dev.17 23:37:27 v0.0.1-dev.18 23:37:27 v0.0.1-dev.19 23:37:27 v0.0.1-dev.2 23:37:27 v0.0.1-dev.20 23:37:27 v0.0.1-dev.21 23:37:27 v0.0.1-dev.22 23:37:27 v0.0.1-dev.23 23:37:27 v0.0.1-dev.24 23:37:27 v0.0.1-dev.25 23:37:27 v0.0.1-dev.26 23:37:27 v0.0.1-dev.27 23:37:27 v0.0.1-dev.28 23:37:27 v0.0.1-dev.3 23:37:27 v0.0.1-dev.4 23:37:27 v0.0.1-dev.5 23:37:27 v0.0.1-dev.6 23:37:27 v0.0.1-dev.7 23:37:27 v0.0.1-dev.8 23:37:27 v0.0.1-dev.9 23:37:27 v2.2.0 23:37:27 v2.2.0-dev.29 23:37:27 v2.2.0-dev.30 23:37:27 v2.2.0-dev.31 23:37:27 v2.2.0-dev.32 23:37:27 v2.2.0-dev.33 23:37:27 v2.2.0-dev.34 23:37:27 v2.2.0-dev.35 23:37:27 v2.3.0 23:37:27 v2.3.0-dev.1 23:37:27 v2.3.0-dev.10 23:37:27 v2.3.0-dev.11 23:37:27 v2.3.0-dev.12 23:37:27 v2.3.0-dev.13 23:37:27 v2.3.0-dev.14 23:37:27 v2.3.0-dev.15 23:37:27 v2.3.0-dev.16 23:37:27 v2.3.0-dev.17 23:37:27 v2.3.0-dev.18 23:37:27 v2.3.0-dev.19 23:37:27 v2.3.0-dev.2 23:37:27 v2.3.0-dev.20 23:37:27 v2.3.0-dev.21 23:37:27 v2.3.0-dev.22 23:37:27 v2.3.0-dev.23 23:37:27 v2.3.0-dev.24 23:37:27 v2.3.0-dev.25 23:37:27 v2.3.0-dev.26 23:37:27 v2.3.0-dev.27 23:37:27 v2.3.0-dev.28 23:37:27 v2.3.0-dev.29 23:37:27 v2.3.0-dev.3 23:37:27 v2.3.0-dev.30 23:37:27 v2.3.0-dev.31 23:37:27 v2.3.0-dev.32 23:37:27 v2.3.0-dev.33 23:37:27 v2.3.0-dev.34 23:37:27 v2.3.0-dev.35 23:37:27 v2.3.0-dev.36 23:37:27 v2.3.0-dev.37 23:37:27 v2.3.0-dev.38 23:37:27 v2.3.0-dev.39 23:37:27 v2.3.0-dev.4 23:37:27 v2.3.0-dev.40 23:37:27 v2.3.0-dev.41 23:37:27 v2.3.0-dev.42 23:37:27 v2.3.0-dev.43 23:37:27 v2.3.0-dev.44 23:37:27 v2.3.0-dev.45 23:37:27 v2.3.0-dev.5 23:37:27 v2.3.0-dev.6 23:37:27 v2.3.0-dev.7 23:37:27 v2.3.0-dev.8 23:37:27 v2.3.0-dev.9 23:37:27 v2.3.1 23:37:27 v2.3.1-dev.1 23:37:27 v2.3.1-dev.4 23:37:27 v2.3.1-dev.5 23:37:27 v2.3.2-dev.1 23:37:27 v2.3.2-dev.2 23:37:27 v3.0.0-dev.1 23:37:27 v3.0.0-dev.10 23:37:27 v3.0.0-dev.11 23:37:27 v3.0.0-dev.12 23:37:27 v3.0.0-dev.13 23:37:27 v3.0.0-dev.14 23:37:27 v3.0.0-dev.15 23:37:27 v3.0.0-dev.16 23:37:27 v3.0.0-dev.17 23:37:27 v3.0.0-dev.18 23:37:27 v3.0.0-dev.19 23:37:27 v3.0.0-dev.2 23:37:27 v3.0.0-dev.20 23:37:27 v3.0.0-dev.21 23:37:27 v3.0.0-dev.22 23:37:27 v3.0.0-dev.23 23:37:27 v3.0.0-dev.24 23:37:27 v3.0.0-dev.25 23:37:27 v3.0.0-dev.26 23:37:27 v3.0.0-dev.27 23:37:27 v3.0.0-dev.28 23:37:27 v3.0.0-dev.29 23:37:27 v3.0.0-dev.3 23:37:27 v3.0.0-dev.30 23:37:27 v3.0.0-dev.31 23:37:27 v3.0.0-dev.32 23:37:27 v3.0.0-dev.33 23:37:27 v3.0.0-dev.34 23:37:27 v3.0.0-dev.35 23:37:27 v3.0.0-dev.36 23:37:27 v3.0.0-dev.37 23:37:27 v3.0.0-dev.38 23:37:27 v3.0.0-dev.39 23:37:27 v3.0.0-dev.4 23:37:27 v3.0.0-dev.40 23:37:27 v3.0.0-dev.41 23:37:27 v3.0.0-dev.42 23:37:27 v3.0.0-dev.5 23:37:27 v3.0.0-dev.6 23:37:27 v3.0.0-dev.7 23:37:27 v3.0.0-dev.8 23:37:27 v3.0.0-dev.9 [Pipeline] sh 23:37:27 + lftools sign git-tag v3.0.0-dev.42 23:37:28 Signing Git tag with Sigul... 23:37:28 Signing v3.0.0-dev.42 [Pipeline] echo 23:37:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:37:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:37:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:37:28 $ docker stop --time=1 c18a934543aa3c3566353ef0240a130dc173afc36a9f6f2f6f0252d4ac635f5a 23:37:30 $ docker rm -f --volumes c18a934543aa3c3566353ef0240a130dc173afc36a9f6f2f6f0252d4ac635f5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:37:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:30 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:37:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:31 $ docker top 265f3eab3845c93265cc490453aecef89996783417badc1731456936fe2d0d5a -eo pid,comm 23:37:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:37:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:31 [ssh-agent] Looking for ssh-agent implementation... 23:37:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:31 $ docker exec 265f3eab3845c93265cc490453aecef89996783417badc1731456936fe2d0d5a ssh-agent 23:37:31 SSH_AUTH_SOCK=/tmp/ssh-Fwjt2WrcjudV/agent.33 23:37:31 SSH_AGENT_PID=39 23:37:31 Running ssh-add (command line suppressed) 23:37:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2168058394711320664.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2168058394711320664.key) 23:37:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:31 + git semver bump pre 23:37:32 2023-05-08 23:37:32,098 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:32 2023-05-08 23:37:32,098 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev 23:37:32 2023-05-08 23:37:32,098 [bump_version] DEBUG bumped version:3.0.0-dev.43 23:37:32 2023-05-08 23:37:32,098 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:37:32 2023-05-08 23:37:32,098 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:32 2023-05-08 23:37:32,099 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:32 2023-05-08 23:37:32,100 [execute] INFO git cat-file --batch-check 23:37:32 2023-05-08 23:37:32,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:37:32 2023-05-08 23:37:32,105 [execute] INFO git cat-file --batch 23:37:32 2023-05-08 23:37:32,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:37:32 2023-05-08 23:37:32,111 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:32 3.0.0-dev.43 [Pipeline] } 23:37:32 $ docker exec --env ******** --env ******** 265f3eab3845c93265cc490453aecef89996783417badc1731456936fe2d0d5a ssh-agent -k 23:37:32 unset SSH_AUTH_SOCK; 23:37:32 unset SSH_AGENT_PID; 23:37:32 echo Agent pid 39 killed; 23:37:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:32 + git semver [Pipeline] } 23:37:33 $ docker stop --time=1 265f3eab3845c93265cc490453aecef89996783417badc1731456936fe2d0d5a 23:37:34 $ docker rm -f --volumes 265f3eab3845c93265cc490453aecef89996783417badc1731456936fe2d0d5a [Pipeline] // withDockerContainer [Pipeline] sh 23:37:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:35 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:35 $ docker top 328d03707c023475276176633b4615b2b9f94ccabcd9f7ed1a115444bb876e55 -eo pid,comm 23:37:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:37:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:35 [ssh-agent] Looking for ssh-agent implementation... 23:37:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:35 $ docker exec 328d03707c023475276176633b4615b2b9f94ccabcd9f7ed1a115444bb876e55 ssh-agent 23:37:35 SSH_AUTH_SOCK=/tmp/ssh-Vy3nC843vhvB/agent.32 23:37:35 SSH_AGENT_PID=38 23:37:35 Running ssh-add (command line suppressed) 23:37:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6936928889695750992.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6936928889695750992.key) 23:37:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:36 + git semver push 23:37:36 2023-05-08 23:37:36,278 [run_push] DEBUG push 23:37:36 2023-05-08 23:37:36,278 [execute] INFO git cat-file --batch-check 23:37:36 2023-05-08 23:37:36,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:37:36 2023-05-08 23:37:36,282 [execute] INFO git rev-list d67c8dbfbd8296f213781764872eb4f27191db6b -- 23:37:36 2023-05-08 23:37:36,282 [execute] DEBUG Popen(['git', 'rev-list', 'd67c8dbfbd8296f213781764872eb4f27191db6b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:37:36 2023-05-08 23:37:36,290 [execute] INFO git fetch -v origin 23:37:36 2023-05-08 23:37:36,290 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:37:36 2023-05-08 23:37:36,731 [run_push] DEBUG no remote changes detected 23:37:36 2023-05-08 23:37:36,731 [execute] INFO git push origin semver 23:37:36 2023-05-08 23:37:36,731 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:37:37 2023-05-08 23:37:37,454 [run_push] DEBUG push all version tags 23:37:37 2023-05-08 23:37:37,454 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:37:37 2023-05-08 23:37:37,454 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:37:38 2023-05-08 23:37:38,204 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:37:38 3.0.0-dev.43 [Pipeline] } 23:37:38 $ docker exec --env ******** --env ******** 328d03707c023475276176633b4615b2b9f94ccabcd9f7ed1a115444bb876e55 ssh-agent -k 23:37:38 unset SSH_AUTH_SOCK; 23:37:38 unset SSH_AGENT_PID; 23:37:38 echo Agent pid 38 killed; 23:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:38 + git semver [Pipeline] } 23:37:39 $ docker stop --time=1 328d03707c023475276176633b4615b2b9f94ccabcd9f7ed1a115444bb876e55 23:37:40 $ docker rm -f --volumes 328d03707c023475276176633b4615b2b9f94ccabcd9f7ed1a115444bb876e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:37:40 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:37:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:37:40 total 16 23:37:40 drwxr-xr-x 3 root root 4096 May 8 23:26 . 23:37:40 drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:37 .. 23:37:40 drwxr-xr-x 2 root root 4096 May 8 23:26 cost 23:37:40 -rw-r--r-- 1 root root 91 May 8 23:26 cost.csv 23:37:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:37:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:37:40 total 16 23:37:40 drwxr-xr-x 3 jenkins jenkins 4096 May 8 23:26 . 23:37:40 drwxrwxr-x 11 jenkins jenkins 4096 May 8 23:37 .. 23:37:40 drwxr-xr-x 2 jenkins jenkins 4096 May 8 23:26 cost 23:37:40 -rw-r--r-- 1 jenkins jenkins 91 May 8 23:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:37:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:37:42 ---> package-listing.sh 23:37:42 ++ facter osfamily 23:37:42 ++ tr '[:upper:]' '[:lower:]' 23:37:42 + OS_FAMILY=debian 23:37:42 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:37:42 + START_PACKAGES=/tmp/packages_start.txt 23:37:42 + END_PACKAGES=/tmp/packages_end.txt 23:37:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:37:42 + PACKAGES=/tmp/packages_start.txt 23:37:42 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:37:42 + PACKAGES=/tmp/packages_end.txt 23:37:42 + case "${OS_FAMILY}" in 23:37:42 + dpkg -l 23:37:42 + grep '^ii' 23:37:42 + '[' -f /tmp/packages_start.txt ']' 23:37:42 + '[' -f /tmp/packages_end.txt ']' 23:37:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:37:42 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:37:42 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:37:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:37:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:37:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:37:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:43 prd-ubuntu20.04-docker-8c-8g-14576 does not seem to be running inside a container 23:37:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:37:43 $ docker top 1fb02718da14932f8d5bf07195fccf91d0daa064b4c778f7d43594da56fde52c -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:44 + touch /tmp/pre-build-complete [Pipeline] sh 23:37:44 + mkdir -p /var/log/sysstat [Pipeline] sh 23:37:44 + ls /var/log/sa-host 23:37:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:44 provisioning config files... 23:37:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10387719980735789736tmp [Pipeline] { [Pipeline] echo 23:37:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:37:45 ---> create-netrc.sh [Pipeline] } 23:37:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:37:45 ---> python-tools-install.sh [Pipeline] echo 23:37:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:37:45 ---> sudo-logs.sh 23:37:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:37:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:37:46 ---> job-cost.sh 23:37:46 lf-activate-venv: SKIPPING 23:37:46 DEBUG: total: 0.2199999988079071 23:37:46 INFO: Retrieving Stack Cost... 23:37:46 INFO: Retrieving Pricing Info for: v3-standard-8 23:37:46 INFO: Archiving Costs [Pipeline] echo 23:37:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:37:47 ---> logs-deploy.sh 23:37:47 lf-activate-venv: SKIPPING 23:37:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/138 23:37:47 INFO: archiving workspace using pattern(s): 23:37:48 Archives upload complete. 23:37:48 INFO: archiving logs to Nexus