Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4faddb2a87debb4847eb62e77eafc712bf7e65e 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-ssh6333288459073498739.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-ssh17835378881051086588.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-ssh2243955994451968512.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-ssh980050876761878324.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-ssh17682311722185444829.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-15222’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15224 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c4faddb2a87debb4847eb62e77eafc712bf7e65e (main) Commit message: "docs: move openapi files to v3 folder (#359)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-list --no-walk 7c6b29b4f74c1924abd599cd10297b3464f260a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:32 ========================================================= 17:52:32 EdgeX Global Pipelines Version Info 17:52:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:32 ------------------- 17:52:32 stable info: 17:52:32 ------------------- 17:52:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:52:32 Message: update stable to v1.0.249 17:52:33 ------------------- 17:52:33 experimental info: 17:52:33 ------------------- 17:52:33 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:52:33 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4faddb [Pipeline] echo 17:52:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:33 provisioning config files... 17:52:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5736889357115320472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:34 ---> docker-login.sh 17:52:34 nexus3.edgexfoundry.org:10001 17:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:34 Configure a credential helper to remove this warning. See 17:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:34 17:52:34 Login Succeeded 17:52:34 nexus3.edgexfoundry.org:10002 17:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:34 Configure a credential helper to remove this warning. See 17:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:34 17:52:34 Login Succeeded 17:52:34 nexus3.edgexfoundry.org:10003 17:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:34 Configure a credential helper to remove this warning. See 17:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:34 17:52:34 Login Succeeded 17:52:34 nexus3.edgexfoundry.org:10004 17:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 docker.io 17:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:35 Configure a credential helper to remove this warning. See 17:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:35 17:52:35 Login Succeeded 17:52:35 ---> docker-login.sh ends [Pipeline] } 17:52:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:35 + git rev-list -1 --merges c4faddb2a87debb4847eb62e77eafc712bf7e65e~1..c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] echo 17:52:35 -----------> git rev-list -1 --merges c4faddb2a87debb4847eb62e77eafc712bf7e65e~1..c4faddb2a87debb4847eb62e77eafc712bf7e65e c4faddb2a87debb4847eb62e77eafc712bf7e65e [false] [Pipeline] sh 17:52:36 + git log --format=format:%s -1 c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] echo 17:52:36 ========================================================= 17:52:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:36 + git log --format=format:%s -1 c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] echo 17:52:36 [semverPrep] GIT_COMMIT: c4faddb2a87debb4847eb62e77eafc712bf7e65e, Commit Message: docs: move openapi files to v3 folder (#359) [Pipeline] echo 17:52:36 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:36 + grep -v github /etc/ssh/ssh_known_hosts 17:52:36 + [ -e /tmp/ssh_known_hosts ] 17:52:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:36 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:37 17:52:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:37 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:37 b85a868b505f: Pulling fs layer 17:52:37 e2be974225ed: Pulling fs layer 17:52:37 339a4e72a1f5: Pulling fs layer 17:52:37 988bab9f4d93: Pulling fs layer 17:52:37 1469e6f7b9e6: Pulling fs layer 17:52:37 eaf3925da568: Pulling fs layer 17:52:37 bab4dde63d76: Pulling fs layer 17:52:37 bde34c3a00c8: Pulling fs layer 17:52:37 b352a97aabf1: Pulling fs layer 17:52:37 4872d77fe225: Pulling fs layer 17:52:37 5851b861e8e6: Pulling fs layer 17:52:37 988bab9f4d93: Waiting 17:52:37 1469e6f7b9e6: Waiting 17:52:37 eaf3925da568: Waiting 17:52:37 bab4dde63d76: Waiting 17:52:37 bde34c3a00c8: Waiting 17:52:37 5851b861e8e6: Waiting 17:52:37 e2be974225ed: Verifying Checksum 17:52:37 e2be974225ed: Download complete 17:52:37 988bab9f4d93: Verifying Checksum 17:52:37 988bab9f4d93: Download complete 17:52:37 339a4e72a1f5: Verifying Checksum 17:52:37 339a4e72a1f5: Download complete 17:52:37 1469e6f7b9e6: Verifying Checksum 17:52:37 1469e6f7b9e6: Download complete 17:52:37 eaf3925da568: Verifying Checksum 17:52:37 eaf3925da568: Download complete 17:52:37 bde34c3a00c8: Verifying Checksum 17:52:37 bde34c3a00c8: Download complete 17:52:37 b352a97aabf1: Verifying Checksum 17:52:37 b352a97aabf1: Download complete 17:52:37 4872d77fe225: Download complete 17:52:37 b85a868b505f: Verifying Checksum 17:52:37 b85a868b505f: Download complete 17:52:37 5851b861e8e6: Verifying Checksum 17:52:38 bab4dde63d76: Verifying Checksum 17:52:38 bab4dde63d76: Download complete 17:52:38 b85a868b505f: Pull complete 17:52:39 e2be974225ed: Pull complete 17:52:39 339a4e72a1f5: Pull complete 17:52:39 988bab9f4d93: Pull complete 17:52:39 1469e6f7b9e6: Pull complete 17:52:39 eaf3925da568: Pull complete 17:52:41 bab4dde63d76: Pull complete 17:52:41 bde34c3a00c8: Pull complete 17:52:41 b352a97aabf1: Pull complete 17:52:41 4872d77fe225: Pull complete 17:52:42 5851b861e8e6: Pull complete 17:52:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:42 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 17:52:42 $ 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 17:52:45 $ docker top 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 -eo pid,comm 17:52:45 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). 17:52:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:45 [ssh-agent] Looking for ssh-agent implementation... 17:52:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:45 $ docker exec 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 ssh-agent 17:52:45 SSH_AUTH_SOCK=/tmp/ssh-ZSdOlGAXxmjZ/agent.32 17:52:45 SSH_AGENT_PID=39 17:52:45 Running ssh-add (command line suppressed) 17:52:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7196843501973172266.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7196843501973172266.key) 17:52:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:46 + git tag --points-at HEAD [Pipeline] } 17:52:46 $ docker exec --env ******** --env ******** 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 ssh-agent -k 17:52:46 unset SSH_AUTH_SOCK; 17:52:46 unset SSH_AGENT_PID; 17:52:46 echo Agent pid 39 killed; 17:52:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:46 [ssh-agent] Looking for ssh-agent implementation... 17:52:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:46 $ docker exec 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 ssh-agent 17:52:46 SSH_AUTH_SOCK=/tmp/ssh-7SCOjJFDOcWA/agent.72 17:52:46 SSH_AGENT_PID=78 17:52:46 Running ssh-add (command line suppressed) 17:52:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6814068688487814671.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6814068688487814671.key) 17:52:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:46 + git semver init 17:52:47 2023-05-11 17:52:47,022 [run_init] DEBUG init version:0.0.0 force:False 17:52:47 2023-05-11 17:52:47,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:52:47 2023-05-11 17:52:47,023 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:52:47 2023-05-11 17:52:47,023 [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) 17:52:48 2023-05-11 17:52:48,023 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:52:48 2023-05-11 17:52:48,024 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:52:48 2023-05-11 17:52:48,024 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:52:48 2023-05-11 17:52:48,024 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:52:48 3.0.0-dev.51 [Pipeline] } 17:52:48 $ docker exec --env ******** --env ******** 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 ssh-agent -k 17:52:48 unset SSH_AUTH_SOCK; 17:52:48 unset SSH_AGENT_PID; 17:52:48 echo Agent pid 78 killed; 17:52:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:48 + git semver [Pipeline] } 17:52:48 $ docker stop --time=1 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 17:52:50 $ docker rm -f --volumes 8fcf01fbde1d55ebe4e83a13b4378b9c4c1c15dce9286171c8000c50212c0621 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:50 Stashed 1 file(s) [Pipeline] echo 17:52:50 [edgeXSemver]: initialized semver on version 3.0.0-dev.51 [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 17:52:50 provisioning config files... 17:52:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16978808920959081129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:51 ---> docker-login.sh 17:52:51 nexus3.edgexfoundry.org:10001 17:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:51 Configure a credential helper to remove this warning. See 17:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:51 17:52:51 Login Succeeded 17:52:51 nexus3.edgexfoundry.org:10002 17:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:51 Configure a credential helper to remove this warning. See 17:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:51 17:52:51 Login Succeeded 17:52:51 nexus3.edgexfoundry.org:10003 17:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:51 Configure a credential helper to remove this warning. See 17:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:51 17:52:51 Login Succeeded 17:52:51 nexus3.edgexfoundry.org:10004 17:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:51 Configure a credential helper to remove this warning. See 17:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:51 17:52:51 Login Succeeded 17:52:51 docker.io 17:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:51 Configure a credential helper to remove this warning. See 17:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:51 17:52:51 Login Succeeded 17:52:51 ---> docker-login.sh ends [Pipeline] } 17:52:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:51 ========================================================= 17:52:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:52:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:52 + 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 . 17:52:52 Sending build context to Docker daemon 21.81MB 17:52:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:52:52 Step 2/13 : FROM ${BASE} AS builder 17:52:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:52 f56be85fc22e: Pulling fs layer 17:52:52 85791d961cd3: Pulling fs layer 17:52:52 d694b5ae8c79: Pulling fs layer 17:52:52 9f32a84ed3da: Pulling fs layer 17:52:52 4d19c01a9841: Pulling fs layer 17:52:52 9325e15d5711: Pulling fs layer 17:52:52 556b6ee489ea: Pulling fs layer 17:52:52 c5a4b2cf53e6: Pulling fs layer 17:52:52 4d19c01a9841: Waiting 17:52:52 9325e15d5711: Waiting 17:52:52 556b6ee489ea: Waiting 17:52:52 c5a4b2cf53e6: Waiting 17:52:52 9f32a84ed3da: Waiting 17:52:52 85791d961cd3: Verifying Checksum 17:52:52 85791d961cd3: Download complete 17:52:52 9f32a84ed3da: Download complete 17:52:52 4d19c01a9841: Verifying Checksum 17:52:52 4d19c01a9841: Download complete 17:52:52 f56be85fc22e: Download complete 17:52:52 9325e15d5711: Verifying Checksum 17:52:52 9325e15d5711: Download complete 17:52:52 f56be85fc22e: Pull complete 17:52:52 85791d961cd3: Pull complete 17:52:53 d694b5ae8c79: Verifying Checksum 17:52:53 d694b5ae8c79: Download complete 17:52:53 c5a4b2cf53e6: Verifying Checksum 17:52:53 c5a4b2cf53e6: Download complete 17:52:53 556b6ee489ea: Verifying Checksum 17:52:53 556b6ee489ea: Download complete 17:52:56 d694b5ae8c79: Pull complete 17:52:56 9f32a84ed3da: Pull complete 17:52:56 4d19c01a9841: Pull complete 17:52:56 9325e15d5711: Pull complete 17:52:58 556b6ee489ea: Pull complete 17:52:59 c5a4b2cf53e6: Pull complete 17:52:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:52:59 ---> c4be618373d6 17:52:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:53:03 ---> Running in 7cf2b0e1f29b 17:53:03 Removing intermediate container 7cf2b0e1f29b 17:53:03 ---> 115609eeb258 17:53:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:03 ---> Running in 358c5dbf95e7 17:53:03 Removing intermediate container 358c5dbf95e7 17:53:03 ---> 4f1b9a3d5614 17:53:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:53:03 ---> Running in 3a255cfc98fd 17:53:03 Removing intermediate container 3a255cfc98fd 17:53:03 ---> d0005d26b442 17:53:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:53:03 ---> Running in cca485cfeeb0 17:53:03 Removing intermediate container cca485cfeeb0 17:53:03 ---> 8e08b77a8f75 17:53:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:53:03 ---> Running in 0aedd8b291c7 17:53:03 Removing intermediate container 0aedd8b291c7 17:53:03 ---> 3d3a674e7c2c 17:53:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:03 ---> Running in 8b6a1e978342 17:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:53:04 OK: 265 MiB in 53 packages 17:53:04 Removing intermediate container 8b6a1e978342 17:53:04 ---> 724a8103d660 17:53:04 Step 9/13 : WORKDIR /device-onvif-camera 17:53:04 ---> Running in f070cf75f0f2 17:53:04 Removing intermediate container f070cf75f0f2 17:53:04 ---> a5964a55895f 17:53:04 Step 10/13 : COPY go.mod vendor* ./ 17:53:04 ---> b6e67234a089 17:53:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:04 ---> Running in 1443faaa766e 17:53:05 Still waiting to schedule task 17:53:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15223’ is offline 17:53:51 Removing intermediate container 1443faaa766e 17:53:51 ---> 18e6dda3fdae 17:53:51 Step 12/13 : COPY . . 17:53:51 ---> 52fff6540aeb 17:53:51 Step 13/13 : RUN ${MAKE} 17:53:51 ---> Running in 71a2e23f0528 17:53:51 noop 17:53:51 Removing intermediate container 71a2e23f0528 17:53:51 ---> 37ca8729b56d 17:53:51 Successfully built 37ca8729b56d 17:53:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:51 + docker inspect -f . ci-base-image-x86_64 17:53:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:51 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 17:53:52 $ 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 17:53:52 $ docker top d85548975b4891aef8d601da472b9de173645c3b1b0a69a5e9d065663773a5b4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:52 + go version 17:53:52 go version go1.20.2 linux/amd64 [Pipeline] } 17:53:52 $ docker stop --time=1 d85548975b4891aef8d601da472b9de173645c3b1b0a69a5e9d065663773a5b4 17:53:53 $ docker rm -f --volumes d85548975b4891aef8d601da472b9de173645c3b1b0a69a5e9d065663773a5b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:54 + docker inspect -f . ci-base-image-x86_64 17:53:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:54 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 17:53:54 $ 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 17:53:54 $ docker top 0efbca2bdf28726c727b82abcd8ae3890e9af8edafde0b2b9035658165f614bf -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:55 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:53:55 + make test 17:53:55 go test ./... -coverprofile=coverage.out ./... 17:54:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:54:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:54:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:54:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.4% of statements 17:54:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.707s coverage: 86.5% of statements 17:54:24 go vet ./... 17:54:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:27 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:27 $ docker stop --time=1 0efbca2bdf28726c727b82abcd8ae3890e9af8edafde0b2b9035658165f614bf 17:54:30 $ docker rm -f --volumes 0efbca2bdf28726c727b82abcd8ae3890e9af8edafde0b2b9035658165f614bf [Pipeline] // withDockerContainer [Pipeline] sh 17:54:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:31 + ls -al . 17:54:31 total 232 17:54:31 drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:53 . 17:54:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:52 .. 17:54:31 drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:52 .git 17:54:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:52 .github 17:54:31 -rw-rw-r-- 1 jenkins jenkins 496 May 11 17:52 .gitignore 17:54:31 -rw-rw-r-- 1 jenkins jenkins 42 May 11 17:52 .golangci.yml 17:54:31 drwxr-xr-x 3 jenkins jenkins 4096 May 11 17:52 .semver 17:54:31 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 17:52 Attribution.txt 17:54:31 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 17:52 CHANGELOG.md 17:54:31 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 17:52 Dockerfile 17:54:31 -rw-rw-r-- 1 jenkins jenkins 677 May 11 17:52 GOVERNANCE.md 17:54:31 -rw-rw-r-- 1 jenkins jenkins 739 May 11 17:52 Jenkinsfile 17:54:31 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 17:52 LICENSE 17:54:31 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 17:52 Makefile 17:54:31 -rw-rw-r-- 1 jenkins jenkins 625 May 11 17:52 OWNERS.md 17:54:31 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 17:52 README.md 17:54:31 -rw-rw-r-- 1 jenkins jenkins 12 May 11 17:52 VERSION 17:54:31 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:52 bin 17:54:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:52 cmd 17:54:31 -rw-r--r-- 1 jenkins jenkins 78459 May 11 17:54 coverage.out 17:54:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:52 doc 17:54:31 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 17:52 go.mod 17:54:31 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 17:52 go.sum 17:54:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:52 internal 17:54:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:52 snap 17:54:31 -rw-rw-r-- 1 jenkins jenkins 236 May 11 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:31 + 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=c4faddb2a87debb4847eb62e77eafc712bf7e65e --label arch=amd64 --label version=3.0.0-dev.51 . 17:54:31 Sending build context to Docker daemon 21.88MB 17:54:31 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:54:31 Step 2/26 : FROM ${BASE} AS builder 17:54:31 ---> 37ca8729b56d 17:54:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:54:32 ---> Running in f8c1af5b4917 17:54:32 Removing intermediate container f8c1af5b4917 17:54:32 ---> 79155bd3f435 17:54:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:32 ---> Running in c61f52ea78cd 17:54:32 Removing intermediate container c61f52ea78cd 17:54:32 ---> 2b6e8fe6423c 17:54:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:54:32 ---> Running in c04b70537388 17:54:32 Removing intermediate container c04b70537388 17:54:32 ---> 9711cbdad532 17:54:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:54:32 ---> Running in 01bd3c1fed85 17:54:32 Removing intermediate container 01bd3c1fed85 17:54:32 ---> 89e5f6689dff 17:54:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:54:32 ---> Running in 28fbeb7779e7 17:54:33 Removing intermediate container 28fbeb7779e7 17:54:33 ---> 78b3d7451f90 17:54:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:33 ---> Running in e4418ee01aa3 17:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:33 OK: 265 MiB in 53 packages 17:54:34 Removing intermediate container e4418ee01aa3 17:54:34 ---> 8fd54afba08d 17:54:34 Step 9/26 : WORKDIR /device-onvif-camera 17:54:34 ---> Running in 60510e43b2d6 17:54:34 Removing intermediate container 60510e43b2d6 17:54:34 ---> 179562f3db62 17:54:34 Step 10/26 : COPY go.mod vendor* ./ 17:54:34 ---> 86c6f409df04 17:54:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:34 ---> Running in 23d02f7084ff 17:54:34 Removing intermediate container 23d02f7084ff 17:54:34 ---> 820c7ae510a1 17:54:34 Step 12/26 : COPY . . 17:54:36 ---> 6af72b2eac07 17:54:36 Step 13/26 : RUN ${MAKE} 17:54:36 ---> Running in 8c94fa7864d9 17:54:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:54:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15225 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:54:43 Running in /w/workspace/device-onvif-camera/148 [Pipeline] { [Pipeline] checkout 17:54:43 The recommended git tool is: git 17:54:49 using credential edgex-jenkins-ssh 17:54:49 Cloning the remote Git repository 17:54:49 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:54:49 > git init /w/workspace/device-onvif-camera/148 # timeout=10 17:54:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:54:49 > git --version # timeout=10 17:54:49 > git --version # 'git version 2.25.1' 17:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:51 Avoid second fetch 17:54:51 Checking out Revision c4faddb2a87debb4847eb62e77eafc712bf7e65e (main) 17:54:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:54:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:52 > git config core.sparsecheckout # timeout=10 17:54:52 > git checkout -f c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 17:54:52 Commit message: "docs: move openapi files to v3 folder (#359)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:54:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:54:53 Dload Upload Total Spent Left Speed 17:54:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 17:54:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:54:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:54:54 + sudo tee /etc/docker/daemon.new 17:54:54 { 17:54:54 "registry-mirrors": [ 17:54:54 "https://nexus3.edgexfoundry.org:10001" 17:54:54 ], 17:54:54 "bip": "10.250.0.254/24", 17:54:54 "hosts": [ 17:54:54 "tcp://0.0.0.0:5555", 17:54:54 "unix:///var/run/docker.sock" 17:54:54 ], 17:54:54 "mtu": 1458, 17:54:54 "selinux-enabled": true, 17:54:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:54:54 } [Pipeline] sh 17:54:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:54:55 + sudo service docker restart 17:54:58 Removing intermediate container 8c94fa7864d9 17:54:58 ---> 0f07e193193e 17:54:58 Step 14/26 : FROM alpine:3.17 17:54:58 3.17: Pulling from library/alpine 17:54:58 f56be85fc22e: Already exists 17:54:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:54:58 Status: Downloaded newer image for alpine:3.17 17:54:58 ---> 9ed4aefc74f6 17:54:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:54:58 ---> Running in 82bc34fbb28f 17:54:58 Removing intermediate container 82bc34fbb28f 17:54:58 ---> 0e579bb4b450 17:54:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:54:58 ---> Running in c2ed206a2cc0 17:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:58 (1/1) Installing dumb-init (1.2.5-r2) 17:54:58 Executing busybox-1.35.0-r29.trigger 17:54:58 OK: 7 MiB in 16 packages 17:54:58 Removing intermediate container c2ed206a2cc0 17:54:58 ---> ea1ba8f767a0 17:54:58 Step 17/26 : WORKDIR / 17:54:58 ---> Running in fb4e9701c2cf 17:54:58 Removing intermediate container fb4e9701c2cf 17:54:58 ---> 48d6cdf7abf2 17:54:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:54:58 ---> 1925378e29f8 17:54:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:54:58 ---> b92ecd93c78a 17:54:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:54:58 ---> df531f86bf9d 17:54:58 Step 21/26 : EXPOSE 59984 17:54:58 ---> Running in f1b6a25066f6 17:54:58 Removing intermediate container f1b6a25066f6 17:54:58 ---> 71fa6d7adf3e 17:54:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:54:58 ---> Running in 2b924fce5795 17:54:58 Removing intermediate container 2b924fce5795 17:54:58 ---> 4bf844e8a5af 17:54:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:54:58 ---> Running in c1f676ab7862 17:54:59 Removing intermediate container c1f676ab7862 17:54:59 ---> e4dfbc74bccc 17:54:59 Step 24/26 : LABEL arch=amd64 17:54:59 ---> Running in 416bdfd3c4d1 17:54:59 Removing intermediate container 416bdfd3c4d1 17:54:59 ---> c4f64d4add0d 17:54:59 Step 25/26 : LABEL git_sha=c4faddb2a87debb4847eb62e77eafc712bf7e65e 17:54:59 ---> Running in 70ccaff75c7e 17:54:59 Removing intermediate container 70ccaff75c7e 17:54:59 ---> aa850583d785 17:54:59 Step 26/26 : LABEL version=3.0.0-dev.51 17:54:59 ---> Running in bb274ae928c6 17:54:59 Removing intermediate container bb274ae928c6 17:54:59 ---> 182d8ebb44a8 17:54:59 [Warning] One or more build-args [ARCH] were not consumed 17:54:59 Successfully built 182d8ebb44a8 17:54:59 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 17:54:59 provisioning config files... 17:54:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1710147069346607292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:59 ---> docker-login.sh 17:54:59 nexus3.edgexfoundry.org:10001 17:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:59 Configure a credential helper to remove this warning. See 17:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:59 17:54:59 Login Succeeded 17:54:59 nexus3.edgexfoundry.org:10002 17:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:59 Configure a credential helper to remove this warning. See 17:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:59 17:54:59 Login Succeeded 17:54:59 nexus3.edgexfoundry.org:10003 17:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:00 Configure a credential helper to remove this warning. See 17:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:00 17:55:00 Login Succeeded 17:55:00 nexus3.edgexfoundry.org:10004 17:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:00 Configure a credential helper to remove this warning. See 17:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:00 17:55:00 Login Succeeded 17:55:00 docker.io 17:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:00 Configure a credential helper to remove this warning. See 17:55:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:00 17:55:00 Login Succeeded 17:55:00 ---> docker-login.sh ends [Pipeline] } 17:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:00 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:55:00 c4faddb2a87debb4847eb62e77eafc712bf7e65e 17:55:00 latest 17:55:00 3.0.0-dev.51 17:55:00 c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 17:55:00 main 17:55:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e 17:55:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:55:00 83d5b254d979: Preparing 17:55:00 eeb1d48d9e9b: Preparing 17:55:00 0be7cf936ce9: Preparing 17:55:00 e468900acf11: Preparing 17:55:00 f1417ff83b31: Preparing 17:55:00 f1417ff83b31: Layer already exists 17:55:00 83d5b254d979: Pushed 17:55:00 eeb1d48d9e9b: Pushed 17:55:00 e468900acf11: Pushed 17:55:03 0be7cf936ce9: Pushed 17:55:03 c4faddb2a87debb4847eb62e77eafc712bf7e65e: digest: sha256:93aeee42cf063ea17d28f561f20e738839ac9fbcc6691db7eb7187eeda5aa71e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:55:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:55:04 83d5b254d979: Preparing 17:55:04 eeb1d48d9e9b: Preparing 17:55:04 0be7cf936ce9: Preparing 17:55:04 e468900acf11: Preparing 17:55:04 f1417ff83b31: Preparing 17:55:04 eeb1d48d9e9b: Layer already exists 17:55:04 e468900acf11: Layer already exists 17:55:04 83d5b254d979: Layer already exists 17:55:04 0be7cf936ce9: Layer already exists 17:55:04 f1417ff83b31: Layer already exists 17:55:04 latest: digest: sha256:93aeee42cf063ea17d28f561f20e738839ac9fbcc6691db7eb7187eeda5aa71e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.51 17:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:55:05 83d5b254d979: Preparing 17:55:05 eeb1d48d9e9b: Preparing 17:55:05 0be7cf936ce9: Preparing 17:55:05 e468900acf11: Preparing 17:55:05 f1417ff83b31: Preparing 17:55:05 f1417ff83b31: Layer already exists 17:55:05 eeb1d48d9e9b: Layer already exists 17:55:05 0be7cf936ce9: Layer already exists 17:55:05 e468900acf11: Layer already exists 17:55:05 83d5b254d979: Layer already exists 17:55:05 3.0.0-dev.51: digest: sha256:93aeee42cf063ea17d28f561f20e738839ac9fbcc6691db7eb7187eeda5aa71e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 17:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:55:05 83d5b254d979: Preparing 17:55:05 eeb1d48d9e9b: Preparing 17:55:05 0be7cf936ce9: Preparing 17:55:05 e468900acf11: Preparing 17:55:05 f1417ff83b31: Preparing 17:55:05 e468900acf11: Layer already exists 17:55:05 eeb1d48d9e9b: Layer already exists 17:55:05 83d5b254d979: Layer already exists 17:55:05 f1417ff83b31: Layer already exists 17:55:05 0be7cf936ce9: Layer already exists 17:55:05 c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51: digest: sha256:93aeee42cf063ea17d28f561f20e738839ac9fbcc6691db7eb7187eeda5aa71e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:55:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:55:06 83d5b254d979: Preparing 17:55:06 eeb1d48d9e9b: Preparing 17:55:06 0be7cf936ce9: Preparing 17:55:06 e468900acf11: Preparing 17:55:06 f1417ff83b31: Preparing 17:55:06 e468900acf11: Layer already exists 17:55:06 f1417ff83b31: Layer already exists 17:55:06 eeb1d48d9e9b: Layer already exists 17:55:06 0be7cf936ce9: Layer already exists 17:55:06 83d5b254d979: Layer already exists 17:55:06 main: digest: sha256:93aeee42cf063ea17d28f561f20e738839ac9fbcc6691db7eb7187eeda5aa71e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:06 ===================================================== [Pipeline] echo 17:55:06 taggedImages: 17:55:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e 17:55:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:55:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.51 17:55:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 17:55:06 - 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 17:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:06 17:55:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:07 latest: Pulling from edgex-lftools-log-publisher 17:55:07 5eb5b503b376: Pulling fs layer 17:55:07 5c69ac0246d0: Pulling fs layer 17:55:07 ec43610c2a17: Pulling fs layer 17:55:07 3a2ae6a8a46f: Pulling fs layer 17:55:07 33b1e0a273af: Pulling fs layer 17:55:07 5d3b04190fa2: Pulling fs layer 17:55:07 2f39f015ded8: Pulling fs layer 17:55:07 3a2ae6a8a46f: Waiting 17:55:07 5d3b04190fa2: Waiting 17:55:07 33b1e0a273af: Waiting 17:55:07 5c69ac0246d0: Verifying Checksum 17:55:07 5c69ac0246d0: Download complete 17:55:07 3a2ae6a8a46f: Verifying Checksum 17:55:07 3a2ae6a8a46f: Download complete 17:55:07 ec43610c2a17: Verifying Checksum 17:55:07 ec43610c2a17: Download complete 17:55:07 33b1e0a273af: Verifying Checksum 17:55:07 33b1e0a273af: Download complete 17:55:07 5d3b04190fa2: Verifying Checksum 17:55:07 5d3b04190fa2: Download complete 17:55:07 5eb5b503b376: Verifying Checksum 17:55:07 5eb5b503b376: Download complete 17:55:07 2f39f015ded8: Download complete 17:55:08 5eb5b503b376: Pull complete 17:55:08 5c69ac0246d0: Pull complete 17:55:09 ec43610c2a17: Pull complete 17:55:09 3a2ae6a8a46f: Pull complete 17:55:09 33b1e0a273af: Pull complete 17:55:09 5d3b04190fa2: Pull complete 17:55:13 2f39f015ded8: Pull complete 17:55:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:55:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:13 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 17:55:13 $ 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 17:55:16 $ docker top 2b25468cd73e870505d1c36c5aab6337a26690572f69601043f2317bc82619e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 17:55:16 provisioning config files... 17:55:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/148@tmp/config8290048199365423837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:16 ---> job-cost.sh 17:55:16 lf-activate-venv: SKIPPING 17:55:16 INFO: No Stack... 17:55:16 ---> docker-login.sh 17:55:16 nexus3.edgexfoundry.org:10001 17:55:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:17 INFO: Archiving Costs [Pipeline] sh 17:55:17 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:55:17 + cut -d, -f6 [Pipeline] lock 17:55:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] 17:55:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] did not exist. Created. 17:55:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:17 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:17 Stashed 1 file(s) [Pipeline] } 17:55:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:18 $ docker stop --time=1 2b25468cd73e870505d1c36c5aab6337a26690572f69601043f2317bc82619e0 17:55:19 $ docker rm -f --volumes 2b25468cd73e870505d1c36c5aab6337a26690572f69601043f2317bc82619e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:21 Configure a credential helper to remove this warning. See 17:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:21 17:55:21 Login Succeeded 17:55:21 nexus3.edgexfoundry.org:10002 17:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:21 Configure a credential helper to remove this warning. See 17:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:21 17:55:21 Login Succeeded 17:55:21 nexus3.edgexfoundry.org:10003 17:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:21 Configure a credential helper to remove this warning. See 17:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:21 17:55:21 Login Succeeded 17:55:21 nexus3.edgexfoundry.org:10004 17:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:22 Configure a credential helper to remove this warning. See 17:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:22 17:55:22 Login Succeeded 17:55:22 docker.io 17:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:22 Configure a credential helper to remove this warning. See 17:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:22 17:55:22 Login Succeeded 17:55:22 ---> docker-login.sh ends [Pipeline] } 17:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:22 ========================================================= 17:55:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:55:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:23 + 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 . 17:55:23 Sending build context to Docker daemon 14.32MB 17:55:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:55:23 Step 2/13 : FROM ${BASE} AS builder 17:55:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:55:23 c41833b44d91: Pulling fs layer 17:55:23 ed15518f5707: Pulling fs layer 17:55:23 feae8fd75edb: Pulling fs layer 17:55:23 242c74f7c9fa: Pulling fs layer 17:55:23 3cdef696dda3: Pulling fs layer 17:55:23 2ced38df9373: Pulling fs layer 17:55:23 58f1dce35555: Pulling fs layer 17:55:23 2ced38df9373: Waiting 17:55:23 242c74f7c9fa: Waiting 17:55:23 3cdef696dda3: Waiting 17:55:23 58f1dce35555: Waiting 17:55:23 ed15518f5707: Download complete 17:55:23 242c74f7c9fa: Verifying Checksum 17:55:23 242c74f7c9fa: Download complete 17:55:24 3cdef696dda3: Verifying Checksum 17:55:24 3cdef696dda3: Download complete 17:55:24 c41833b44d91: Verifying Checksum 17:55:24 c41833b44d91: Download complete 17:55:25 c41833b44d91: Pull complete 17:55:25 58f1dce35555: Verifying Checksum 17:55:25 58f1dce35555: Download complete 17:55:25 ed15518f5707: Pull complete 17:55:26 2ced38df9373: Verifying Checksum 17:55:26 2ced38df9373: Download complete 17:55:26 feae8fd75edb: Verifying Checksum 17:55:26 feae8fd75edb: Download complete 17:55:36 feae8fd75edb: Pull complete 17:55:36 242c74f7c9fa: Pull complete 17:55:37 3cdef696dda3: Pull complete 17:55:43 2ced38df9373: Pull complete 17:55:45 58f1dce35555: Pull complete 17:55:45 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:55:45 ---> fadd8f120f05 17:55:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:55:47 ---> Running in a4131bc324f2 17:55:47 Removing intermediate container a4131bc324f2 17:55:47 ---> ef039a38d121 17:55:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:47 ---> Running in 9c224f2b3da2 17:55:47 Removing intermediate container 9c224f2b3da2 17:55:47 ---> 160400b5f3bc 17:55:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:55:47 ---> Running in de47b97ad0b7 17:55:48 Removing intermediate container de47b97ad0b7 17:55:48 ---> 370fcd751eb0 17:55:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:55:48 ---> Running in f0d5f246b5fa 17:55:48 Removing intermediate container f0d5f246b5fa 17:55:48 ---> b9d5f730a30b 17:55:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:55:48 ---> Running in eb40095cf667 17:55:49 Removing intermediate container eb40095cf667 17:55:49 ---> d4df70643dcc 17:55:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:49 ---> Running in ba12f5b7fade 17:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:55:51 OK: 263 MiB in 53 packages 17:55:52 Removing intermediate container ba12f5b7fade 17:55:52 ---> d33df260688a 17:55:52 Step 9/13 : WORKDIR /device-onvif-camera 17:55:52 ---> Running in 22063ddc92ab 17:55:52 Removing intermediate container 22063ddc92ab 17:55:52 ---> a3386c01f3a4 17:55:52 Step 10/13 : COPY go.mod vendor* ./ 17:55:53 ---> c4e4062c1252 17:55:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:53 ---> Running in bc4216f908bd 17:57:01 Removing intermediate container bc4216f908bd 17:57:01 ---> f3097183572d 17:57:01 Step 12/13 : COPY . . 17:57:01 ---> 875ff58b48ea 17:57:01 Step 13/13 : RUN ${MAKE} 17:57:01 ---> Running in 76a86a61e95d 17:57:01 noop 17:57:01 Removing intermediate container 76a86a61e95d 17:57:01 ---> f48ed7850e91 17:57:01 Successfully built f48ed7850e91 17:57:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:01 + docker inspect -f . ci-base-image-arm64 17:57:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:01 prd-ubuntu20.04-docker-arm64-4c-16g-15225 does not seem to be running inside a container 17:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/148 -v /w/workspace/device-onvif-camera/148:/w/workspace/device-onvif-camera/148:rw,z -v /w/workspace/device-onvif-camera/148@tmp:/w/workspace/device-onvif-camera/148@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 17:57:03 $ docker top 0ae84aad3a1df3fbc442b82adf86e741f2bf25c927e30bc1c70a6daaa9626bb2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:03 + go version 17:57:03 go version go1.20.2 linux/arm64 [Pipeline] } 17:57:04 $ docker stop --time=1 0ae84aad3a1df3fbc442b82adf86e741f2bf25c927e30bc1c70a6daaa9626bb2 17:57:05 $ docker rm -f --volumes 0ae84aad3a1df3fbc442b82adf86e741f2bf25c927e30bc1c70a6daaa9626bb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:06 + docker inspect -f . ci-base-image-arm64 17:57:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:06 prd-ubuntu20.04-docker-arm64-4c-16g-15225 does not seem to be running inside a container 17:57:06 $ 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/148 -v /w/workspace/device-onvif-camera/148:/w/workspace/device-onvif-camera/148:rw,z -v /w/workspace/device-onvif-camera/148@tmp:/w/workspace/device-onvif-camera/148@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 17:57:07 $ docker top f6202b33b42841332677c329a83d6e66fbb62caad9d9799b19a9927697928f61 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:08 + git config --global --add safe.directory /w/workspace/device-onvif-camera/148 [Pipeline] fileExists [Pipeline] sh 17:57:09 + make test 17:57:09 go test ./... -coverprofile=coverage.out ./... 17:57:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:00:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:00:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:00:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.228s coverage: 31.4% of statements 18:00:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.744s coverage: 86.5% of statements 18:00:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:00:21 go vet ./... 18:00:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:00:53 ./bin/test-attribution-txt.sh [Pipeline] echo 18:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:00:53 $ docker stop --time=1 f6202b33b42841332677c329a83d6e66fbb62caad9d9799b19a9927697928f61 18:00:55 $ docker rm -f --volumes f6202b33b42841332677c329a83d6e66fbb62caad9d9799b19a9927697928f61 [Pipeline] // withDockerContainer [Pipeline] sh 18:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:57 Warning: overwriting stash ‘coverage-report’ 18:00:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:58 + ls -al . 18:00:58 total 228 18:00:58 drwxrwxr-x 9 jenkins jenkins 4096 May 11 17:57 . 18:00:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:54 .. 18:00:58 drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:54 .git 18:00:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:54 .github 18:00:58 -rw-rw-r-- 1 jenkins jenkins 496 May 11 17:54 .gitignore 18:00:58 -rw-rw-r-- 1 jenkins jenkins 42 May 11 17:54 .golangci.yml 18:00:58 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 17:54 Attribution.txt 18:00:58 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 17:54 CHANGELOG.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 17:54 Dockerfile 18:00:58 -rw-rw-r-- 1 jenkins jenkins 677 May 11 17:54 GOVERNANCE.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 739 May 11 17:54 Jenkinsfile 18:00:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 17:54 LICENSE 18:00:58 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 17:54 Makefile 18:00:58 -rw-rw-r-- 1 jenkins jenkins 625 May 11 17:54 OWNERS.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 17:54 README.md 18:00:58 -rw-rw-r-- 1 jenkins jenkins 12 May 11 17:52 VERSION 18:00:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:54 bin 18:00:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 17:54 cmd 18:00:58 -rw-r--r-- 1 jenkins jenkins 78459 May 11 18:00 coverage.out 18:00:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:54 doc 18:00:58 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 17:54 go.mod 18:00:58 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 17:54 go.sum 18:00:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:54 internal 18:00:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:54 snap 18:00:58 -rw-rw-r-- 1 jenkins jenkins 236 May 11 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:58 + 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=c4faddb2a87debb4847eb62e77eafc712bf7e65e --label arch=arm64 --label version=3.0.0-dev.51 . 18:00:59 Sending build context to Docker daemon 14.4MB 18:00:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:00:59 Step 2/26 : FROM ${BASE} AS builder 18:00:59 ---> f48ed7850e91 18:00:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:00:59 ---> Running in 5f1952f95072 18:00:59 Removing intermediate container 5f1952f95072 18:00:59 ---> bc02e97da414 18:00:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:59 ---> Running in 9f25e0be02c2 18:01:00 Removing intermediate container 9f25e0be02c2 18:01:00 ---> 2408d89e04bb 18:01:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:01:00 ---> Running in 754e241a8344 18:01:00 Removing intermediate container 754e241a8344 18:01:00 ---> 2d9bb7d46b46 18:01:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:01:00 ---> Running in 6d45a56ea2c3 18:01:00 Removing intermediate container 6d45a56ea2c3 18:01:00 ---> 9b2fb29c6fe6 18:01:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:01:00 ---> Running in 3f1881df1408 18:01:01 Removing intermediate container 3f1881df1408 18:01:01 ---> e12cd786d67b 18:01:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:01 ---> Running in 117bebada5bd 18:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:01:04 OK: 263 MiB in 53 packages 18:01:04 Removing intermediate container 117bebada5bd 18:01:04 ---> 1117eee330a2 18:01:04 Step 9/26 : WORKDIR /device-onvif-camera 18:01:05 ---> Running in 7f52c2cbd61a 18:01:05 Removing intermediate container 7f52c2cbd61a 18:01:05 ---> 345ab9b5c52a 18:01:05 Step 10/26 : COPY go.mod vendor* ./ 18:01:06 ---> e09ec7389ef8 18:01:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:06 ---> Running in 5d2b8ad0cc00 18:01:08 Removing intermediate container 5d2b8ad0cc00 18:01:08 ---> d861140f6e22 18:01:08 Step 12/26 : COPY . . 18:01:10 ---> 8ab77a4e2cff 18:01:10 Step 13/26 : RUN ${MAKE} 18:01:10 ---> Running in d99fb6209ee8 18:01:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:03:32 Removing intermediate container d99fb6209ee8 18:03:32 ---> c14ee9f9b7b9 18:03:32 Step 14/26 : FROM alpine:3.17 18:03:32 3.17: Pulling from library/alpine 18:03:32 c41833b44d91: Already exists 18:03:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:03:32 Status: Downloaded newer image for alpine:3.17 18:03:32 ---> 51e60588ff2c 18:03:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:03:32 ---> Running in cfe5317e2a5e 18:03:32 Removing intermediate container cfe5317e2a5e 18:03:32 ---> 6a8855e0f81d 18:03:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:03:32 ---> Running in 312fa7800d34 18:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:03:32 (1/1) Installing dumb-init (1.2.5-r2) 18:03:32 Executing busybox-1.35.0-r29.trigger 18:03:32 OK: 8 MiB in 16 packages 18:03:32 Removing intermediate container 312fa7800d34 18:03:32 ---> f0ed19fac854 18:03:32 Step 17/26 : WORKDIR / 18:03:32 ---> Running in 364f23d180d2 18:03:32 Removing intermediate container 364f23d180d2 18:03:32 ---> ee68c237a398 18:03:32 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:03:34 ---> 5e0dda59ad75 18:03:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:03:37 ---> 7513a3e3aba6 18:03:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:03:37 ---> a93b868e0cd2 18:03:37 Step 21/26 : EXPOSE 59984 18:03:37 ---> Running in 3b7bc293db98 18:03:38 Removing intermediate container 3b7bc293db98 18:03:38 ---> d6e5f21f2248 18:03:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:03:38 ---> Running in c14c040a0643 18:03:38 Removing intermediate container c14c040a0643 18:03:38 ---> ab0076bce650 18:03:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:03:38 ---> Running in e7371ed7dc55 18:03:38 Removing intermediate container e7371ed7dc55 18:03:38 ---> d1370202cdb4 18:03:38 Step 24/26 : LABEL arch=arm64 18:03:38 ---> Running in 1dc3a68a0d67 18:03:39 Removing intermediate container 1dc3a68a0d67 18:03:39 ---> 471d126a1f8b 18:03:39 Step 25/26 : LABEL git_sha=c4faddb2a87debb4847eb62e77eafc712bf7e65e 18:03:39 ---> Running in ef83aef07ecf 18:03:39 Removing intermediate container ef83aef07ecf 18:03:39 ---> 094409e2ca8f 18:03:39 Step 26/26 : LABEL version=3.0.0-dev.51 18:03:39 ---> Running in edf79f4f92ef 18:03:39 Removing intermediate container edf79f4f92ef 18:03:39 ---> 617143eafb27 18:03:39 [Warning] One or more build-args [ARCH] were not consumed 18:03:39 Successfully built 617143eafb27 18:03:39 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:40 provisioning config files... 18:03:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/148@tmp/config6667119897453517144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:40 ---> docker-login.sh 18:03:40 nexus3.edgexfoundry.org:10001 18:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:40 Configure a credential helper to remove this warning. See 18:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:40 18:03:40 Login Succeeded 18:03:40 nexus3.edgexfoundry.org:10002 18:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:40 Configure a credential helper to remove this warning. See 18:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:40 18:03:40 Login Succeeded 18:03:40 nexus3.edgexfoundry.org:10003 18:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:41 Configure a credential helper to remove this warning. See 18:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:41 18:03:41 Login Succeeded 18:03:41 nexus3.edgexfoundry.org:10004 18:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:41 Configure a credential helper to remove this warning. See 18:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:41 18:03:41 Login Succeeded 18:03:41 docker.io 18:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:42 Configure a credential helper to remove this warning. See 18:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:42 18:03:42 Login Succeeded 18:03:42 ---> docker-login.sh ends [Pipeline] } 18:03:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:42 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:03:42 c4faddb2a87debb4847eb62e77eafc712bf7e65e 18:03:42 latest 18:03:42 3.0.0-dev.51 18:03:42 c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 18:03:42 main 18:03:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e 18:03:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:43 a56a6fdbe867: Preparing 18:03:43 361f83b38a94: Preparing 18:03:43 6dba0bf9120a: Preparing 18:03:43 76f1f715162b: Preparing 18:03:43 26cbea5cba74: Preparing 18:03:43 26cbea5cba74: Layer already exists 18:03:43 361f83b38a94: Pushed 18:03:43 a56a6fdbe867: Pushed 18:03:43 76f1f715162b: Pushed 18:03:50 6dba0bf9120a: Pushed 18:03:50 c4faddb2a87debb4847eb62e77eafc712bf7e65e: digest: sha256:4c18ef4b212674d9f2b1e875f1eb4eb2cdadbfdde3e4d0f20716d5ba7b4f5a00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:50 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:03:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:50 a56a6fdbe867: Preparing 18:03:50 361f83b38a94: Preparing 18:03:50 6dba0bf9120a: Preparing 18:03:50 76f1f715162b: Preparing 18:03:50 26cbea5cba74: Preparing 18:03:50 26cbea5cba74: Layer already exists 18:03:50 361f83b38a94: Layer already exists 18:03:50 6dba0bf9120a: Layer already exists 18:03:50 a56a6fdbe867: Layer already exists 18:03:50 76f1f715162b: Layer already exists 18:03:50 latest: digest: sha256:4c18ef4b212674d9f2b1e875f1eb4eb2cdadbfdde3e4d0f20716d5ba7b4f5a00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.51 18:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:51 a56a6fdbe867: Preparing 18:03:51 361f83b38a94: Preparing 18:03:51 6dba0bf9120a: Preparing 18:03:51 76f1f715162b: Preparing 18:03:51 26cbea5cba74: Preparing 18:03:51 6dba0bf9120a: Layer already exists 18:03:51 361f83b38a94: Layer already exists 18:03:51 26cbea5cba74: Layer already exists 18:03:51 76f1f715162b: Layer already exists 18:03:51 a56a6fdbe867: Layer already exists 18:03:51 3.0.0-dev.51: digest: sha256:4c18ef4b212674d9f2b1e875f1eb4eb2cdadbfdde3e4d0f20716d5ba7b4f5a00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 18:03:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:52 a56a6fdbe867: Preparing 18:03:52 361f83b38a94: Preparing 18:03:52 6dba0bf9120a: Preparing 18:03:52 76f1f715162b: Preparing 18:03:52 26cbea5cba74: Preparing 18:03:52 6dba0bf9120a: Layer already exists 18:03:52 26cbea5cba74: Layer already exists 18:03:52 361f83b38a94: Layer already exists 18:03:52 76f1f715162b: Layer already exists 18:03:52 a56a6fdbe867: Layer already exists 18:03:52 c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51: digest: sha256:4c18ef4b212674d9f2b1e875f1eb4eb2cdadbfdde3e4d0f20716d5ba7b4f5a00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:03:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:52 a56a6fdbe867: Preparing 18:03:52 361f83b38a94: Preparing 18:03:52 6dba0bf9120a: Preparing 18:03:52 76f1f715162b: Preparing 18:03:52 26cbea5cba74: Preparing 18:03:52 26cbea5cba74: Layer already exists 18:03:52 361f83b38a94: Layer already exists 18:03:52 6dba0bf9120a: Layer already exists 18:03:52 a56a6fdbe867: Layer already exists 18:03:52 76f1f715162b: Layer already exists 18:03:52 main: digest: sha256:4c18ef4b212674d9f2b1e875f1eb4eb2cdadbfdde3e4d0f20716d5ba7b4f5a00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:03:52 ===================================================== [Pipeline] echo 18:03:52 taggedImages: 18:03:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e 18:03:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:03:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.51 18:03:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c4faddb2a87debb4847eb62e77eafc712bf7e65e-3.0.0-dev.51 18:03:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:53 18:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:53 arm64: Pulling from edgex-lftools-log-publisher 18:03:53 8998bd30e6a1: Pulling fs layer 18:03:53 04944245beec: Pulling fs layer 18:03:53 699f458cf7ca: Pulling fs layer 18:03:53 765212b225bb: Pulling fs layer 18:03:53 f23df028b6ca: Pulling fs layer 18:03:53 d65c8cfc05b1: Pulling fs layer 18:03:53 2437ff75d9bd: Pulling fs layer 18:03:53 765212b225bb: Waiting 18:03:53 f23df028b6ca: Waiting 18:03:53 d65c8cfc05b1: Waiting 18:03:53 2437ff75d9bd: Waiting 18:03:53 04944245beec: Verifying Checksum 18:03:53 04944245beec: Download complete 18:03:53 765212b225bb: Verifying Checksum 18:03:53 765212b225bb: Download complete 18:03:53 f23df028b6ca: Verifying Checksum 18:03:53 f23df028b6ca: Download complete 18:03:53 d65c8cfc05b1: Verifying Checksum 18:03:53 d65c8cfc05b1: Download complete 18:03:53 699f458cf7ca: Verifying Checksum 18:03:53 699f458cf7ca: Download complete 18:03:54 8998bd30e6a1: Verifying Checksum 18:03:54 8998bd30e6a1: Download complete 18:03:56 2437ff75d9bd: Verifying Checksum 18:03:56 2437ff75d9bd: Download complete 18:03:58 8998bd30e6a1: Pull complete 18:03:58 04944245beec: Pull complete 18:03:59 699f458cf7ca: Pull complete 18:04:00 765212b225bb: Pull complete 18:04:00 f23df028b6ca: Pull complete 18:04:01 d65c8cfc05b1: Pull complete 18:04:16 2437ff75d9bd: Pull complete 18:04:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-15225 does not seem to be running inside a container 18:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/148 -v /w/workspace/device-onvif-camera/148:/w/workspace/device-onvif-camera/148:rw,z -v /w/workspace/device-onvif-camera/148@tmp:/w/workspace/device-onvif-camera/148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:18 $ docker top 8b7c6f86cbf6fdc6d5612c920c4fdfc725b086106ebc68c6ea3551658df419c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:19 ---> job-cost.sh 18:04:19 lf-activate-venv: SKIPPING 18:04:19 INFO: No Stack... 18:04:20 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:21 INFO: Archiving Costs [Pipeline] sh 18:04:21 + + cutcat -d, /w/workspace/device-onvif-camera/148/archives/cost.csv -f6 18:04:21 [Pipeline] lock 18:04:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] 18:04:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] did not exist. Created. 18:04:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:21 /w/workspace/device-onvif-camera/148@tmp/durable-ca110db8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:22 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:22 Warning: overwriting stash ‘stack-cost’ 18:04:22 Stashed 1 file(s) [Pipeline] } 18:04:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:22 $ docker stop --time=1 8b7c6f86cbf6fdc6d5612c920c4fdfc725b086106ebc68c6ea3551658df419c6 18:04:24 $ docker rm -f --volumes 8b7c6f86cbf6fdc6d5612c920c4fdfc725b086106ebc68c6ea3551658df419c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:04:24 provisioning config files... 18:04:24 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9719116664087459093tmp [Pipeline] { [Pipeline] sh 18:04:24 + set +x 18:04:24 + curl -s https://codecov.io/bash 18:04:24 + bash -s -- 18:04:24 18:04:24 _____ _ 18:04:24 / ____| | | 18:04:24 | | ___ __| | ___ ___ _____ __ 18:04:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:24 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:24 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:24 Bash-1.0.6 18:04:24 18:04:24 18:04:24 ==> git version 2.25.1 found 18:04:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:04:24 Release-Date: 2020-01-08 18:04:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:24 ==> Jenkins CI detected. 18:04:24 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:04:24 project root: . 18:04:24 --> token set from env 18:04:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:24 ==> Running gcov in . (disable via -X gcov) 18:04:24 ==> Python coveragepy not found 18:04:24 ==> Searching for coverage reports in: 18:04:24 + . 18:04:24 -> Found 1 reports 18:04:24 ==> Detecting git/mercurial file structure 18:04:24 ==> Reading reports 18:04:24 + ./coverage.out bytes=78459 18:04:24 ==> Appending adjustments 18:04:24 https://docs.codecov.io/docs/fixing-reports 18:04:25 + Found adjustments 18:04:25 ==> Gzipping contents 18:04:25 12K /tmp/codecov.X6U2vN.gz 18:04:25 ==> Uploading reports 18:04:25 url: https://codecov.io 18:04:25 query: branch=main&commit=c4faddb2a87debb4847eb62e77eafc712bf7e65e&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:25 -> Pinging Codecov 18:04:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=c4faddb2a87debb4847eb62e77eafc712bf7e65e&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:25 -> Uploading to 18:04:25 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/c4faddb2a87debb4847eb62e77eafc712bf7e65e/3d1a3751-4997-4ebc-b23b-c31f9c8ce102.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T180425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87868f3160a402999b965c1be0fe7fcf88684c9f798e78f8a59a88d613f60582 18:04:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:25 Dload Upload Total Spent Left Speed 18:04:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 45115 --:--:-- --:--:-- --:--:-- 45115 18:04:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] } 18:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:04:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:04:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:26 18:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:04:26 df9b9388f04a: Pulling fs layer 18:04:26 52dc419b0ee2: Pulling fs layer 18:04:26 25bc292e5bac: Pulling fs layer 18:04:26 114826534d7a: Pulling fs layer 18:04:26 4657fd5d0bcf: Pulling fs layer 18:04:26 6ad1cebc031e: Pulling fs layer 18:04:26 8a3aa393b2d8: Pulling fs layer 18:04:26 114826534d7a: Waiting 18:04:26 4657fd5d0bcf: Waiting 18:04:26 6ad1cebc031e: Waiting 18:04:26 8a3aa393b2d8: Waiting 18:04:26 25bc292e5bac: Verifying Checksum 18:04:26 25bc292e5bac: Download complete 18:04:26 52dc419b0ee2: Verifying Checksum 18:04:26 52dc419b0ee2: Download complete 18:04:26 4657fd5d0bcf: Verifying Checksum 18:04:26 4657fd5d0bcf: Download complete 18:04:26 df9b9388f04a: Verifying Checksum 18:04:26 df9b9388f04a: Download complete 18:04:26 6ad1cebc031e: Verifying Checksum 18:04:26 6ad1cebc031e: Download complete 18:04:26 df9b9388f04a: Pull complete 18:04:26 52dc419b0ee2: Pull complete 18:04:26 25bc292e5bac: Pull complete 18:04:27 114826534d7a: Download complete 18:04:27 8a3aa393b2d8: Verifying Checksum 18:04:27 8a3aa393b2d8: Download complete 18:04:30 114826534d7a: Pull complete 18:04:30 4657fd5d0bcf: Pull complete 18:04:30 6ad1cebc031e: Pull complete 18:04:33 8a3aa393b2d8: Pull complete 18:04:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:33 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:04:37 $ docker top 26b89d74309c5fee94a8f06d4b37ea0f83927bdd3b3cf7b86ff67799530d6043 -eo pid,comm [Pipeline] { [Pipeline] echo 18:04:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:04:38 + set -o pipefail 18:04:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:04:43 18:04:43 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:04:43 18:04:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/05deaa76-7aea-4f51-9861-701777c3a078 18:04:43 18:04:43 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:04:43 18:04:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:04:43 18:04:43 18:04:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:04:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:04:43 More details here: https://snyk.co/ue1NS 18:04:43 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:04:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:04:43 $ docker stop --time=1 26b89d74309c5fee94a8f06d4b37ea0f83927bdd3b3cf7b86ff67799530d6043 18:04:45 $ docker rm -f --volumes 26b89d74309c5fee94a8f06d4b37ea0f83927bdd3b3cf7b86ff67799530d6043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:04:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:45 provisioning config files... 18:04:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1736811928934162702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:46 --> edgex-publish-swagger.sh 18:04:46 === Publish doc/openapi/v3 API === 18:04:46 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 18:04:46 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 18:04:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:46 Dload Upload Total Spent Left Speed 18:04:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 473k 0 0 100 473k 0 689k --:--:-- --:--:-- --:--:-- 688k 100 473k 0 0 100 473k 0 689k --:--:-- --:--:-- --:--:-- 688k 18:04:46 18:04:46 [Pipeline] } 18:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:47 + git log --format=format:%s -1 c4faddb2a87debb4847eb62e77eafc712bf7e65e [Pipeline] sh 18:04:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:47 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:48 $ docker top 9b1aa0ec2471c0bb5cc1bdd4f1942a4cc22d929fbbe5e2ed5fc3b50be642b028 -eo pid,comm 18:04:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:04:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:48 [ssh-agent] Looking for ssh-agent implementation... 18:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:48 $ docker exec 9b1aa0ec2471c0bb5cc1bdd4f1942a4cc22d929fbbe5e2ed5fc3b50be642b028 ssh-agent 18:04:48 SSH_AUTH_SOCK=/tmp/ssh-dDdQb1x3dvWV/agent.32 18:04:48 SSH_AGENT_PID=39 18:04:48 Running ssh-add (command line suppressed) 18:04:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_791227809388708538.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_791227809388708538.key) 18:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:49 + git semver tag 18:04:49 2023-05-11 18:04:49,264 [run_tag] DEBUG tag force:False 18:04:49 2023-05-11 18:04:49,264 [check_head_tag] DEBUG check head tag 18:04:49 2023-05-11 18:04:49,266 [execute] INFO git cat-file --batch-check 18:04:49 2023-05-11 18:04:49,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:04:49 2023-05-11 18:04:49,269 [execute] INFO git cat-file --batch 18:04:49 2023-05-11 18:04:49,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:04:49 2023-05-11 18:04:49,304 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:49 2023-05-11 18:04:49,304 [execute] INFO git tag -a v3.0.0-dev.51 -m v3.0.0-dev.51 18:04:49 2023-05-11 18:04:49,304 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.51', '-m', 'v3.0.0-dev.51'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:04:49 2023-05-11 18:04:49,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:49 3.0.0-dev.51 [Pipeline] } 18:04:49 $ docker exec --env ******** --env ******** 9b1aa0ec2471c0bb5cc1bdd4f1942a4cc22d929fbbe5e2ed5fc3b50be642b028 ssh-agent -k 18:04:49 unset SSH_AUTH_SOCK; 18:04:49 unset SSH_AGENT_PID; 18:04:49 echo Agent pid 39 killed; 18:04:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:49 + git semver [Pipeline] } 18:04:50 $ docker stop --time=1 9b1aa0ec2471c0bb5cc1bdd4f1942a4cc22d929fbbe5e2ed5fc3b50be642b028 18:04:51 $ docker rm -f --volumes 9b1aa0ec2471c0bb5cc1bdd4f1942a4cc22d929fbbe5e2ed5fc3b50be642b028 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:51 18:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:51 0.23.1-centos7: Pulling from edgex-lftools 18:04:51 ab5ef0e58194: Pulling fs layer 18:04:51 9712f1f96733: Pulling fs layer 18:04:51 63f879dbbcfc: Pulling fs layer 18:04:51 0d9ebad4ef96: Pulling fs layer 18:04:51 e9a5061849ea: Pulling fs layer 18:04:51 d747dcd14b5f: Pulling fs layer 18:04:51 2de7ff778b66: Pulling fs layer 18:04:51 d747dcd14b5f: Waiting 18:04:51 0d9ebad4ef96: Waiting 18:04:51 e9a5061849ea: Waiting 18:04:51 2de7ff778b66: Waiting 18:04:51 9712f1f96733: Verifying Checksum 18:04:51 9712f1f96733: Download complete 18:04:52 63f879dbbcfc: Verifying Checksum 18:04:52 63f879dbbcfc: Download complete 18:04:52 e9a5061849ea: Verifying Checksum 18:04:52 e9a5061849ea: Download complete 18:04:52 d747dcd14b5f: Download complete 18:04:52 0d9ebad4ef96: Verifying Checksum 18:04:52 0d9ebad4ef96: Download complete 18:04:52 ab5ef0e58194: Verifying Checksum 18:04:52 ab5ef0e58194: Download complete 18:04:52 2de7ff778b66: Verifying Checksum 18:04:52 2de7ff778b66: Download complete 18:04:55 ab5ef0e58194: Pull complete 18:04:55 9712f1f96733: Pull complete 18:04:55 63f879dbbcfc: Pull complete 18:05:00 0d9ebad4ef96: Pull complete 18:05:00 e9a5061849ea: Pull complete 18:05:00 d747dcd14b5f: Pull complete 18:05:00 2de7ff778b66: Pull complete 18:05:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:00 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:05:02 $ docker top f3c252ce88a6ea9cdff238e51d353d55b85c06a3be36a243d7a20e91bdcadf72 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:05:02 provisioning config files... 18:05:02 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12372576636775712860tmp 18:05:02 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15904992123728673480tmp 18:05:02 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4527500145980977130tmp [Pipeline] { [Pipeline] echo 18:05:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:05:03 ---> sigul-configuration.sh 18:05:03 gpg: directory `/root/.gnupg' created 18:05:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:05:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:05:03 gpg: keyring `/root/.gnupg/secring.gpg' created 18:05:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:05:03 gpg: CAST5 encrypted data 18:05:03 gpg: encrypted with 1 passphrase 18:05:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:05:03 + mkdir /home/jenkins 18:05:03 + mkdir /home/jenkins/sigul [Pipeline] sh 18:05:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:05:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:05:04 ---> sigul-install.sh 18:05:04 Sigul already installed; skipping installation. [Pipeline] sh 18:05:04 + git tag --list 18:05:04 v0.0.0 18:05:04 v0.0.1-dev.1 18:05:04 v0.0.1-dev.10 18:05:04 v0.0.1-dev.11 18:05:04 v0.0.1-dev.12 18:05:04 v0.0.1-dev.13 18:05:04 v0.0.1-dev.14 18:05:04 v0.0.1-dev.15 18:05:04 v0.0.1-dev.16 18:05:04 v0.0.1-dev.17 18:05:04 v0.0.1-dev.18 18:05:04 v0.0.1-dev.19 18:05:04 v0.0.1-dev.2 18:05:04 v0.0.1-dev.20 18:05:04 v0.0.1-dev.21 18:05:04 v0.0.1-dev.22 18:05:04 v0.0.1-dev.23 18:05:04 v0.0.1-dev.24 18:05:04 v0.0.1-dev.25 18:05:04 v0.0.1-dev.26 18:05:04 v0.0.1-dev.27 18:05:04 v0.0.1-dev.28 18:05:04 v0.0.1-dev.3 18:05:04 v0.0.1-dev.4 18:05:04 v0.0.1-dev.5 18:05:04 v0.0.1-dev.6 18:05:04 v0.0.1-dev.7 18:05:04 v0.0.1-dev.8 18:05:04 v0.0.1-dev.9 18:05:04 v2.2.0 18:05:04 v2.2.0-dev.29 18:05:04 v2.2.0-dev.30 18:05:04 v2.2.0-dev.31 18:05:04 v2.2.0-dev.32 18:05:04 v2.2.0-dev.33 18:05:04 v2.2.0-dev.34 18:05:04 v2.2.0-dev.35 18:05:04 v2.3.0 18:05:04 v2.3.0-dev.1 18:05:04 v2.3.0-dev.10 18:05:04 v2.3.0-dev.11 18:05:04 v2.3.0-dev.12 18:05:04 v2.3.0-dev.13 18:05:04 v2.3.0-dev.14 18:05:04 v2.3.0-dev.15 18:05:04 v2.3.0-dev.16 18:05:04 v2.3.0-dev.17 18:05:04 v2.3.0-dev.18 18:05:04 v2.3.0-dev.19 18:05:04 v2.3.0-dev.2 18:05:04 v2.3.0-dev.20 18:05:04 v2.3.0-dev.21 18:05:04 v2.3.0-dev.22 18:05:04 v2.3.0-dev.23 18:05:04 v2.3.0-dev.24 18:05:04 v2.3.0-dev.25 18:05:04 v2.3.0-dev.26 18:05:04 v2.3.0-dev.27 18:05:04 v2.3.0-dev.28 18:05:04 v2.3.0-dev.29 18:05:04 v2.3.0-dev.3 18:05:04 v2.3.0-dev.30 18:05:04 v2.3.0-dev.31 18:05:04 v2.3.0-dev.32 18:05:04 v2.3.0-dev.33 18:05:04 v2.3.0-dev.34 18:05:04 v2.3.0-dev.35 18:05:04 v2.3.0-dev.36 18:05:04 v2.3.0-dev.37 18:05:04 v2.3.0-dev.38 18:05:04 v2.3.0-dev.39 18:05:04 v2.3.0-dev.4 18:05:04 v2.3.0-dev.40 18:05:04 v2.3.0-dev.41 18:05:04 v2.3.0-dev.42 18:05:04 v2.3.0-dev.43 18:05:04 v2.3.0-dev.44 18:05:04 v2.3.0-dev.45 18:05:04 v2.3.0-dev.5 18:05:04 v2.3.0-dev.6 18:05:04 v2.3.0-dev.7 18:05:04 v2.3.0-dev.8 18:05:04 v2.3.0-dev.9 18:05:04 v2.3.1 18:05:04 v2.3.1-dev.1 18:05:04 v2.3.1-dev.4 18:05:04 v2.3.1-dev.5 18:05:04 v2.3.2-dev.1 18:05:04 v2.3.2-dev.2 18:05:04 v3.0.0-dev.1 18:05:04 v3.0.0-dev.10 18:05:04 v3.0.0-dev.11 18:05:04 v3.0.0-dev.12 18:05:04 v3.0.0-dev.13 18:05:04 v3.0.0-dev.14 18:05:04 v3.0.0-dev.15 18:05:04 v3.0.0-dev.16 18:05:04 v3.0.0-dev.17 18:05:04 v3.0.0-dev.18 18:05:04 v3.0.0-dev.19 18:05:04 v3.0.0-dev.2 18:05:04 v3.0.0-dev.20 18:05:04 v3.0.0-dev.21 18:05:04 v3.0.0-dev.22 18:05:04 v3.0.0-dev.23 18:05:04 v3.0.0-dev.24 18:05:04 v3.0.0-dev.25 18:05:04 v3.0.0-dev.26 18:05:04 v3.0.0-dev.27 18:05:04 v3.0.0-dev.28 18:05:04 v3.0.0-dev.29 18:05:04 v3.0.0-dev.3 18:05:04 v3.0.0-dev.30 18:05:04 v3.0.0-dev.31 18:05:04 v3.0.0-dev.32 18:05:04 v3.0.0-dev.33 18:05:04 v3.0.0-dev.34 18:05:04 v3.0.0-dev.35 18:05:04 v3.0.0-dev.36 18:05:04 v3.0.0-dev.37 18:05:04 v3.0.0-dev.38 18:05:04 v3.0.0-dev.39 18:05:04 v3.0.0-dev.4 18:05:04 v3.0.0-dev.40 18:05:04 v3.0.0-dev.41 18:05:04 v3.0.0-dev.42 18:05:04 v3.0.0-dev.43 18:05:04 v3.0.0-dev.44 18:05:04 v3.0.0-dev.45 18:05:04 v3.0.0-dev.46 18:05:04 v3.0.0-dev.47 18:05:04 v3.0.0-dev.48 18:05:04 v3.0.0-dev.49 18:05:04 v3.0.0-dev.5 18:05:04 v3.0.0-dev.50 18:05:04 v3.0.0-dev.51 18:05:04 v3.0.0-dev.6 18:05:04 v3.0.0-dev.7 18:05:04 v3.0.0-dev.8 18:05:04 v3.0.0-dev.9 [Pipeline] sh 18:05:04 + lftools sign git-tag v3.0.0-dev.51 18:05:05 Signing Git tag with Sigul... 18:05:05 Signing v3.0.0-dev.51 [Pipeline] echo 18:05:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:05:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:05:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:05:06 $ docker stop --time=1 f3c252ce88a6ea9cdff238e51d353d55b85c06a3be36a243d7a20e91bdcadf72 18:05:07 $ docker rm -f --volumes f3c252ce88a6ea9cdff238e51d353d55b85c06a3be36a243d7a20e91bdcadf72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:05:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:08 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:08 $ docker top b1314f91019e66769639c145baef6250c37eaeb57a7423eec5a96d273c1ecef1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:08 [ssh-agent] Looking for ssh-agent implementation... 18:05:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:08 $ docker exec b1314f91019e66769639c145baef6250c37eaeb57a7423eec5a96d273c1ecef1 ssh-agent 18:05:09 SSH_AUTH_SOCK=/tmp/ssh-slSZYU4desM5/agent.32 18:05:09 SSH_AGENT_PID=39 18:05:09 Running ssh-add (command line suppressed) 18:05:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12563491679190941988.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12563491679190941988.key) 18:05:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:09 + git semver bump pre 18:05:09 2023-05-11 18:05:09,711 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:09 2023-05-11 18:05:09,711 [bump_version] DEBUG bumping version:3.0.0-dev.51 on axis:pre with prefix:dev 18:05:09 2023-05-11 18:05:09,711 [bump_version] DEBUG bumped version:3.0.0-dev.52 18:05:09 2023-05-11 18:05:09,711 [write_version] DEBUG write version:3.0.0-dev.52 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:05:09 2023-05-11 18:05:09,712 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:09 2023-05-11 18:05:09,712 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:09 2023-05-11 18:05:09,714 [execute] INFO git cat-file --batch-check 18:05:09 2023-05-11 18:05:09,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:09 2023-05-11 18:05:09,721 [execute] INFO git cat-file --batch 18:05:09 2023-05-11 18:05:09,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:09 2023-05-11 18:05:09,727 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:09 3.0.0-dev.52 [Pipeline] } 18:05:09 $ docker exec --env ******** --env ******** b1314f91019e66769639c145baef6250c37eaeb57a7423eec5a96d273c1ecef1 ssh-agent -k 18:05:09 unset SSH_AUTH_SOCK; 18:05:09 unset SSH_AGENT_PID; 18:05:09 echo Agent pid 39 killed; 18:05:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:10 + git semver [Pipeline] } 18:05:10 $ docker stop --time=1 b1314f91019e66769639c145baef6250c37eaeb57a7423eec5a96d273c1ecef1 18:05:11 $ docker rm -f --volumes b1314f91019e66769639c145baef6250c37eaeb57a7423eec5a96d273c1ecef1 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:12 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:05: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:12 $ docker top 112057a2fc7db4766ccd9defd58a77953496ae3039124a5f96dcddc9a7b5ede4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:12 [ssh-agent] Looking for ssh-agent implementation... 18:05:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:13 $ docker exec 112057a2fc7db4766ccd9defd58a77953496ae3039124a5f96dcddc9a7b5ede4 ssh-agent 18:05:13 SSH_AUTH_SOCK=/tmp/ssh-hRm7nWHGukrF/agent.32 18:05:13 SSH_AGENT_PID=38 18:05:13 Running ssh-add (command line suppressed) 18:05:13 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11041865090219590104.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11041865090219590104.key) 18:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:13 + git semver push 18:05:13 2023-05-11 18:05:13,736 [run_push] DEBUG push 18:05:13 2023-05-11 18:05:13,736 [execute] INFO git cat-file --batch-check 18:05:13 2023-05-11 18:05:13,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:13 2023-05-11 18:05:13,741 [execute] INFO git rev-list 4c44f1117c44ac57f088610e6b9a2b3a3db86338 -- 18:05:13 2023-05-11 18:05:13,742 [execute] DEBUG Popen(['git', 'rev-list', '4c44f1117c44ac57f088610e6b9a2b3a3db86338', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:13 2023-05-11 18:05:13,748 [execute] INFO git fetch -v origin 18:05:13 2023-05-11 18:05:13,748 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:05:14 2023-05-11 18:05:14,210 [run_push] DEBUG no remote changes detected 18:05:14 2023-05-11 18:05:14,211 [execute] INFO git push origin semver 18:05:14 2023-05-11 18:05:14,212 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:15 2023-05-11 18:05:14,976 [run_push] DEBUG push all version tags 18:05:15 2023-05-11 18:05:14,976 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:05:15 2023-05-11 18:05:14,977 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:05:15 2023-05-11 18:05:15,705 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:15 3.0.0-dev.52 [Pipeline] } 18:05:15 $ docker exec --env ******** --env ******** 112057a2fc7db4766ccd9defd58a77953496ae3039124a5f96dcddc9a7b5ede4 ssh-agent -k 18:05:16 unset SSH_AUTH_SOCK; 18:05:16 unset SSH_AGENT_PID; 18:05:16 echo Agent pid 38 killed; 18:05:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:16 + git semver [Pipeline] } 18:05:16 $ docker stop --time=1 112057a2fc7db4766ccd9defd58a77953496ae3039124a5f96dcddc9a7b5ede4 18:05:17 $ docker rm -f --volumes 112057a2fc7db4766ccd9defd58a77953496ae3039124a5f96dcddc9a7b5ede4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:05:18 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:05:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:05:18 total 16 18:05:18 drwxr-xr-x 3 root root 4096 May 11 17:55 . 18:05:18 drwxrwxr-x 11 jenkins jenkins 4096 May 11 18:05 .. 18:05:18 drwxr-xr-x 2 root root 4096 May 11 17:55 cost 18:05:18 -rw-r--r-- 1 root root 91 May 11 17:55 cost.csv 18:05:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:05:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:05:18 total 16 18:05:18 drwxr-xr-x 3 jenkins jenkins 4096 May 11 17:55 . 18:05:18 drwxrwxr-x 11 jenkins jenkins 4096 May 11 18:05 .. 18:05:18 drwxr-xr-x 2 jenkins jenkins 4096 May 11 17:55 cost 18:05:18 -rw-r--r-- 1 jenkins jenkins 91 May 11 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:19 ---> package-listing.sh 18:05:19 ++ facter osfamily 18:05:19 ++ tr '[:upper:]' '[:lower:]' 18:05:19 + OS_FAMILY=debian 18:05:19 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:05:19 + START_PACKAGES=/tmp/packages_start.txt 18:05:19 + END_PACKAGES=/tmp/packages_end.txt 18:05:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:19 + PACKAGES=/tmp/packages_start.txt 18:05:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:05:19 + PACKAGES=/tmp/packages_end.txt 18:05:19 + case "${OS_FAMILY}" in 18:05:19 + dpkg -l 18:05:19 + grep '^ii' 18:05:19 + '[' -f /tmp/packages_start.txt ']' 18:05:19 + '[' -f /tmp/packages_end.txt ']' 18:05:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:19 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:05:19 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:05:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:05:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:05:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:20 prd-ubuntu20.04-docker-8c-8g-15224 does not seem to be running inside a container 18:05:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:05:21 $ docker top 8dcc301e3fdc9d43f17e2b364d29f8284f6aaf6b8392955757e04657cac1a606 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:21 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:22 + ls /var/log/sa-host 18:05:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:22 provisioning config files... 18:05:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7150537677637733935tmp [Pipeline] { [Pipeline] echo 18:05:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:22 ---> create-netrc.sh [Pipeline] } 18:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:22 ---> python-tools-install.sh [Pipeline] echo 18:05:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:23 ---> sudo-logs.sh 18:05:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:23 ---> job-cost.sh 18:05:23 lf-activate-venv: SKIPPING 18:05:23 DEBUG: total: 0.2199999988079071 18:05:23 INFO: Retrieving Stack Cost... 18:05:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:24 INFO: Archiving Costs [Pipeline] echo 18:05:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:24 ---> logs-deploy.sh 18:05:24 lf-activate-venv: SKIPPING 18:05:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/148 18:05:24 INFO: archiving workspace using pattern(s): 18:05:25 Archives upload complete. 18:05:25 INFO: archiving logs to Nexus