Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac647965ab1b942a087d699135cd6fee27db47f4 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-ssh7104313405240414989.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5448060350931496463.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13096620701815477071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4093857292679833307.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-ssh8263111430858135509.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1741’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1744 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 ac647965ab1b942a087d699135cd6fee27db47f4 (main) Commit message: "build: fixed small issue in makefile (#209)" > 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 ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 > git rev-list --no-walk 848d5d618f3ca3205f9827ec1c0cd48d03305e40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:59:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:59:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:59:07 ========================================================= 22:59:07 EdgeX Global Pipelines Version Info 22:59:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:59:08 ------------------- 22:59:08 stable info: 22:59:08 ------------------- 22:59:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:59:08 Message: update stable to v1.0.244 22:59:09 ------------------- 22:59:09 experimental info: 22:59:09 ------------------- 22:59:09 Commited By: **** collab-it+edgex@linuxfoundation.org 22:59:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:59:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac64796 [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:09 provisioning config files... 22:59:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4139184856215868120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:10 ---> docker-login.sh 22:59:10 nexus3.edgexfoundry.org:10001 22:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:10 Configure a credential helper to remove this warning. See 22:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:10 22:59:10 Login Succeeded 22:59:10 nexus3.edgexfoundry.org:10002 22:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:10 Configure a credential helper to remove this warning. See 22:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:10 22:59:10 Login Succeeded 22:59:10 nexus3.edgexfoundry.org:10003 22:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:10 Configure a credential helper to remove this warning. See 22:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:10 22:59:10 Login Succeeded 22:59:10 nexus3.edgexfoundry.org:10004 22:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:10 Configure a credential helper to remove this warning. See 22:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:10 22:59:10 Login Succeeded 22:59:10 docker.io 22:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:10 Configure a credential helper to remove this warning. See 22:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:10 22:59:10 Login Succeeded 22:59:10 ---> docker-login.sh ends [Pipeline] } 22:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:59:11 + git rev-list -1 --merges ac647965ab1b942a087d699135cd6fee27db47f4~1..ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] echo 22:59:11 -----------> git rev-list -1 --merges ac647965ab1b942a087d699135cd6fee27db47f4~1..ac647965ab1b942a087d699135cd6fee27db47f4 ac647965ab1b942a087d699135cd6fee27db47f4 [false] [Pipeline] sh 22:59:11 + git log --format=format:%s -1 ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] echo 22:59:11 ========================================================= 22:59:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:59:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:11 + git log --format=format:%s -1 ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] echo 22:59:11 [semverPrep] GIT_COMMIT: ac647965ab1b942a087d699135cd6fee27db47f4, Commit Message: build: fixed small issue in makefile (#209) [Pipeline] echo 22:59:11 [semverPrep] This is not a build commit. [Pipeline] sh 22:59:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:59:12 + grep -v github /etc/ssh/ssh_known_hosts 22:59:12 + [ -e /tmp/ssh_known_hosts ] 22:59:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:59:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:59:12 + sudo tee -a /etc/ssh/ssh_known_hosts 22:59:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:12 22:59:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:12 0.1.4: Pulling from edgex-devops/py-git-semver 22:59:12 b85a868b505f: Pulling fs layer 22:59:12 e2be974225ed: Pulling fs layer 22:59:12 339a4e72a1f5: Pulling fs layer 22:59:12 988bab9f4d93: Pulling fs layer 22:59:12 1469e6f7b9e6: Pulling fs layer 22:59:12 eaf3925da568: Pulling fs layer 22:59:12 bab4dde63d76: Pulling fs layer 22:59:12 bde34c3a00c8: Pulling fs layer 22:59:12 b352a97aabf1: Pulling fs layer 22:59:12 4872d77fe225: Pulling fs layer 22:59:12 5851b861e8e6: Pulling fs layer 22:59:12 988bab9f4d93: Waiting 22:59:12 1469e6f7b9e6: Waiting 22:59:12 b352a97aabf1: Waiting 22:59:12 eaf3925da568: Waiting 22:59:12 4872d77fe225: Waiting 22:59:12 bab4dde63d76: Waiting 22:59:12 5851b861e8e6: Waiting 22:59:12 bde34c3a00c8: Waiting 22:59:12 e2be974225ed: Download complete 22:59:12 988bab9f4d93: Verifying Checksum 22:59:12 988bab9f4d93: Download complete 22:59:13 1469e6f7b9e6: Verifying Checksum 22:59:13 1469e6f7b9e6: Download complete 22:59:13 339a4e72a1f5: Verifying Checksum 22:59:13 339a4e72a1f5: Download complete 22:59:13 eaf3925da568: Verifying Checksum 22:59:13 eaf3925da568: Download complete 22:59:13 bde34c3a00c8: Verifying Checksum 22:59:13 bde34c3a00c8: Download complete 22:59:13 b352a97aabf1: Download complete 22:59:13 4872d77fe225: Verifying Checksum 22:59:13 4872d77fe225: Download complete 22:59:13 5851b861e8e6: Verifying Checksum 22:59:13 5851b861e8e6: Download complete 22:59:13 b85a868b505f: Verifying Checksum 22:59:13 b85a868b505f: Download complete 22:59:13 bab4dde63d76: Verifying Checksum 22:59:13 bab4dde63d76: Download complete 22:59:14 b85a868b505f: Pull complete 22:59:14 e2be974225ed: Pull complete 22:59:15 339a4e72a1f5: Pull complete 22:59:15 988bab9f4d93: Pull complete 22:59:15 1469e6f7b9e6: Pull complete 22:59:15 eaf3925da568: Pull complete 22:59:17 bab4dde63d76: Pull complete 22:59:17 bde34c3a00c8: Pull complete 22:59:17 b352a97aabf1: Pull complete 22:59:17 4872d77fe225: Pull complete 22:59:17 5851b861e8e6: Pull complete 22:59:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:59:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:17 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 22:59:17 $ 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 22:59:20 $ docker top ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 -eo pid,comm 22:59:20 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). 22:59:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:20 [ssh-agent] Looking for ssh-agent implementation... 22:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:20 $ docker exec ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 ssh-agent 22:59:20 SSH_AUTH_SOCK=/tmp/ssh-QZIDnJYUxLYV/agent.32 22:59:20 SSH_AGENT_PID=38 22:59:20 Running ssh-add (command line suppressed) 22:59:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13392362800822852512.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13392362800822852512.key) 22:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:21 + git tag --points-at HEAD [Pipeline] } 22:59:21 $ docker exec --env ******** --env ******** ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 ssh-agent -k 22:59:21 unset SSH_AUTH_SOCK; 22:59:21 unset SSH_AGENT_PID; 22:59:21 echo Agent pid 38 killed; 22:59:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:21 [ssh-agent] Looking for ssh-agent implementation... 22:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:21 $ docker exec ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 ssh-agent 22:59:21 SSH_AUTH_SOCK=/tmp/ssh-7w4lTBZq1z2D/agent.71 22:59:21 SSH_AGENT_PID=78 22:59:21 Running ssh-add (command line suppressed) 22:59:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8421638093419751898.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8421638093419751898.key) 22:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:21 + git semver init 22:59:22 2023-01-10 22:59:22,127 [run_init] DEBUG init version:0.0.0 force:False 22:59:22 2023-01-10 22:59:22,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 22:59:22 2023-01-10 22:59:22,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 22:59:22 2023-01-10 22:59:22,129 [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) 22:59:23 2023-01-10 22:59:23,037 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 22:59:23 2023-01-10 22:59:23,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 22:59:23 2023-01-10 22:59:23,037 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:59:23 2023-01-10 22:59:23,038 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:59:23 3.0.0-dev.6 [Pipeline] } 22:59:23 $ docker exec --env ******** --env ******** ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 ssh-agent -k 22:59:23 unset SSH_AUTH_SOCK; 22:59:23 unset SSH_AGENT_PID; 22:59:23 echo Agent pid 78 killed; 22:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:23 + git semver [Pipeline] } 22:59:23 $ docker stop --time=1 ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 22:59:25 $ docker rm -f --volumes ddbbaf95f5d1b1f60adb54ca849c135f802407a2bbf82d4a8108409517cbd4c2 [Pipeline] // withDockerContainer [Pipeline] sh 22:59:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:59:25 Stashed 1 file(s) [Pipeline] echo 22:59:25 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 22:59:25 provisioning config files... 22:59:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17267781835059133311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:26 ---> docker-login.sh 22:59:26 nexus3.edgexfoundry.org:10001 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 nexus3.edgexfoundry.org:10002 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 nexus3.edgexfoundry.org:10003 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 nexus3.edgexfoundry.org:10004 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 docker.io 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 ---> docker-login.sh ends [Pipeline] } 22:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:59:26 ========================================================= 22:59:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:59:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:59:27 Sending build context to Docker daemon 27.63MB 22:59:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:59:27 Step 2/13 : FROM ${BASE} AS builder 22:59:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:59:27 213ec9aee27d: Pulling fs layer 22:59:27 4583459ba037: Pulling fs layer 22:59:27 93c1e223e6f2: Pulling fs layer 22:59:27 53926ce57604: Pulling fs layer 22:59:27 21b2b0c7a3f4: Pulling fs layer 22:59:27 22ff95d597cd: Pulling fs layer 22:59:27 12d6caf4c0d1: Pulling fs layer 22:59:27 96b7cbca73a9: Pulling fs layer 22:59:27 a7acece74701: Pulling fs layer 22:59:27 12d6caf4c0d1: Waiting 22:59:27 96b7cbca73a9: Waiting 22:59:27 a7acece74701: Waiting 22:59:27 21b2b0c7a3f4: Waiting 22:59:27 53926ce57604: Waiting 22:59:27 93c1e223e6f2: Download complete 22:59:27 4583459ba037: Verifying Checksum 22:59:27 4583459ba037: Download complete 22:59:27 21b2b0c7a3f4: Verifying Checksum 22:59:27 21b2b0c7a3f4: Download complete 22:59:27 22ff95d597cd: Verifying Checksum 22:59:27 22ff95d597cd: Download complete 22:59:27 213ec9aee27d: Download complete 22:59:27 12d6caf4c0d1: Verifying Checksum 22:59:27 12d6caf4c0d1: Download complete 22:59:27 213ec9aee27d: Pull complete 22:59:27 4583459ba037: Pull complete 22:59:27 93c1e223e6f2: Pull complete 22:59:28 a7acece74701: Verifying Checksum 22:59:28 a7acece74701: Download complete 22:59:28 96b7cbca73a9: Verifying Checksum 22:59:28 96b7cbca73a9: Download complete 22:59:28 53926ce57604: Verifying Checksum 22:59:28 53926ce57604: Download complete 22:59:32 53926ce57604: Pull complete 22:59:32 21b2b0c7a3f4: Pull complete 22:59:32 22ff95d597cd: Pull complete 22:59:32 12d6caf4c0d1: Pull complete 22:59:34 96b7cbca73a9: Pull complete 22:59:34 a7acece74701: Pull complete 22:59:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:59:35 ---> db6d94c90886 22:59:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:59:39 ---> Running in b5daeab147b9 22:59:39 Removing intermediate container b5daeab147b9 22:59:39 ---> 221f6ccbace7 22:59:39 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:39 ---> Running in 26f9c8adcdd6 22:59:39 Removing intermediate container 26f9c8adcdd6 22:59:39 ---> f1fb1387ee52 22:59:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:59:39 ---> Running in 8b13455c5489 22:59:39 Removing intermediate container 8b13455c5489 22:59:39 ---> b008a34c7bca 22:59:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:59:39 ---> Running in 8dd385cf0792 22:59:39 Removing intermediate container 8dd385cf0792 22:59:39 ---> dee5708d9fbf 22:59:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:59:39 ---> Running in 047fb10c8c00 22:59:39 Removing intermediate container 047fb10c8c00 22:59:39 ---> 394be555f937 22:59:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:39 ---> Running in 81401ce71a29 22:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:59:40 OK: 211 MiB in 51 packages 22:59:40 Removing intermediate container 81401ce71a29 22:59:40 ---> 4230a1e7651f 22:59:40 Step 9/13 : WORKDIR /device-onvif-camera 22:59:40 ---> Running in c966c6344745 22:59:40 Removing intermediate container c966c6344745 22:59:40 ---> 0023b4aa7de3 22:59:40 Step 10/13 : COPY go.mod vendor* ./ 22:59:40 ---> f8d5d16c7bf3 22:59:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:40 ---> Running in a4dfa75066ec 22:59:40 Still waiting to schedule task 22:59:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1743’ is offline 23:00:07 Removing intermediate container a4dfa75066ec 23:00:07 ---> 643a579e4dca 23:00:07 Step 12/13 : COPY . . 23:00:07 ---> 6a257d905d35 23:00:07 Step 13/13 : RUN ${MAKE} 23:00:07 ---> Running in 814728f0c924 23:00:07 noop 23:00:07 Removing intermediate container 814728f0c924 23:00:07 ---> b79e5e2c2c5e 23:00:07 Successfully built b79e5e2c2c5e 23:00:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:07 + docker inspect -f . ci-base-image-x86_64 23:00:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:07 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:08 $ docker top 9fa47c4ad9b4e4ec404aa6a3f469c8d518206dbe6da51d74ce9b25cf4512fe29 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:08 + go version 23:00:08 go version go1.18.7 linux/amd64 [Pipeline] } 23:00:08 $ docker stop --time=1 9fa47c4ad9b4e4ec404aa6a3f469c8d518206dbe6da51d74ce9b25cf4512fe29 23:00:09 $ docker rm -f --volumes 9fa47c4ad9b4e4ec404aa6a3f469c8d518206dbe6da51d74ce9b25cf4512fe29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:10 + docker inspect -f . ci-base-image-x86_64 23:00:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:10 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:10 $ docker top 0632755a3e3241e76f83a9d5684358f17aba737a91c0bab03a4ab089ef697051 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:10 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:00:11 + make test 23:00:11 go test ./... -coverprofile=coverage.out ./... 23:00:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:00:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:00:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements 23:00:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:00:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.361s coverage: 86.5% of statements 23:00:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:00:30 go vet ./... 23:00:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:00:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:00:33 ./bin/test-attribution-txt.sh [Pipeline] echo 23:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:00:33 $ docker stop --time=1 0632755a3e3241e76f83a9d5684358f17aba737a91c0bab03a4ab089ef697051 23:00:36 $ docker rm -f --volumes 0632755a3e3241e76f83a9d5684358f17aba737a91c0bab03a4ab089ef697051 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:00:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:00:37 + ls -al . 23:00:37 total 248 23:00:37 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:00 . 23:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:59 .. 23:00:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:00 .git 23:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:59 .github 23:00:37 -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 22:59 .gitignore 23:00:37 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 22:59 .golangci.yml 23:00:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 22:59 .semver 23:00:37 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 22:59 Attribution.txt 23:00:37 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 22:59 CHANGELOG.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 22:59 Dockerfile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 22:59 GOVERNANCE.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 22:59 Jenkinsfile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 22:59 LICENSE 23:00:37 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 10 22:59 Makefile 23:00:37 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 22:59 OWNERS.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 22:59 README.md 23:00:37 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 22:59 VERSION 23:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 22:59 bin 23:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:59 cmd 23:00:37 -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 23:00 coverage.out 23:00:37 drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 22:59 doc 23:00:37 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 22:59 go.mod 23:00:37 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 22:59 go.sum 23:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:59 internal 23:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:59 snap 23:00:37 -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:37 + 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=ac647965ab1b942a087d699135cd6fee27db47f4 --label arch=amd64 --label version=3.0.0-dev.6 . 23:00:37 Sending build context to Docker daemon 27.71MB 23:00:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:00:37 Step 2/26 : FROM ${BASE} AS builder 23:00:37 ---> b79e5e2c2c5e 23:00:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:00:38 ---> Running in 18b44adb8b0f 23:00:38 Removing intermediate container 18b44adb8b0f 23:00:38 ---> 386d5f519bd9 23:00:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:00:38 ---> Running in 9efa909ca98b 23:00:38 Removing intermediate container 9efa909ca98b 23:00:38 ---> dcdfb1dd7709 23:00:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:00:38 ---> Running in a1946b7090b5 23:00:38 Removing intermediate container a1946b7090b5 23:00:38 ---> c10f7a900722 23:00:38 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:00:38 ---> Running in d5289777df8a 23:00:38 Removing intermediate container d5289777df8a 23:00:38 ---> 6ed90937f71d 23:00:38 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:00:38 ---> Running in 564c67a92844 23:00:38 Removing intermediate container 564c67a92844 23:00:38 ---> dc1ded2a1310 23:00:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:00:38 ---> Running in 5d67068d509f 23:00:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:00:39 OK: 211 MiB in 51 packages 23:00:39 Removing intermediate container 5d67068d509f 23:00:39 ---> 162e9e821057 23:00:39 Step 9/26 : WORKDIR /device-onvif-camera 23:00:39 ---> Running in af8ec0604d3d 23:00:40 Removing intermediate container af8ec0604d3d 23:00:40 ---> 481c30ad598b 23:00:40 Step 10/26 : COPY go.mod vendor* ./ 23:00:40 ---> f9a9d411ed8e 23:00:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:40 ---> Running in 648585d8bb9d 23:00:40 Removing intermediate container 648585d8bb9d 23:00:40 ---> ceb0dc91722a 23:00:40 Step 12/26 : COPY . . 23:00:41 ---> 87b3e21c7667 23:00:41 Step 13/26 : RUN ${MAKE} 23:00:41 ---> Running in e16c0d6fc19f 23:00:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:01:03 Removing intermediate container e16c0d6fc19f 23:01:03 ---> e9a0dd3e1461 23:01:03 Step 14/26 : FROM alpine:3.16 23:01:03 3.16: Pulling from library/alpine 23:01:03 ca7dd9ec2225: Pulling fs layer 23:01:03 ca7dd9ec2225: Verifying Checksum 23:01:03 ca7dd9ec2225: Download complete 23:01:03 ca7dd9ec2225: Pull complete 23:01:03 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:01:03 Status: Downloaded newer image for alpine:3.16 23:01:03 ---> bfe296a52501 23:01:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:01:03 ---> Running in 4702416b26a5 23:01:03 Removing intermediate container 4702416b26a5 23:01:03 ---> 7807948e2adf 23:01:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:01:03 ---> Running in 2db844121f37 23:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:01:04 (1/1) Installing dumb-init (1.2.5-r1) 23:01:04 Executing busybox-1.35.0-r17.trigger 23:01:04 OK: 6 MiB in 15 packages 23:01:04 Removing intermediate container 2db844121f37 23:01:04 ---> 9047c5eb6193 23:01:04 Step 17/26 : WORKDIR / 23:01:04 ---> Running in b21e7a74e831 23:01:04 Removing intermediate container b21e7a74e831 23:01:04 ---> 63178baf1843 23:01:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:01:05 ---> 6f4e66b73e92 23:01:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:01:05 ---> 23d4d33c6c28 23:01:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:01:06 ---> 89600e139774 23:01:06 Step 21/26 : EXPOSE 59984 23:01:06 ---> Running in 14a09a8c7102 23:01:06 Removing intermediate container 14a09a8c7102 23:01:06 ---> e691337fd7d8 23:01:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:01:06 ---> Running in 1a4ffcce1803 23:01:06 Removing intermediate container 1a4ffcce1803 23:01:06 ---> 12cfad77f11d 23:01:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:01:06 ---> Running in 76404e5c953a 23:01:06 Removing intermediate container 76404e5c953a 23:01:06 ---> a3a989061fd2 23:01:06 Step 24/26 : LABEL arch=amd64 23:01:06 ---> Running in 025cdca4b4c1 23:01:06 Removing intermediate container 025cdca4b4c1 23:01:06 ---> 076ec1302a2f 23:01:06 Step 25/26 : LABEL git_sha=ac647965ab1b942a087d699135cd6fee27db47f4 23:01:06 ---> Running in 087eb32b35c8 23:01:06 Removing intermediate container 087eb32b35c8 23:01:06 ---> b6007b4706d1 23:01:06 Step 26/26 : LABEL version=3.0.0-dev.6 23:01:06 ---> Running in b0ff8b0e4dca 23:01:06 Removing intermediate container b0ff8b0e4dca 23:01:06 ---> f68c470152c4 23:01:06 [Warning] One or more build-args [ARCH] were not consumed 23:01:06 Successfully built f68c470152c4 23:01:06 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:06 provisioning config files... 23:01:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1165028903131934045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:06 ---> docker-login.sh 23:01:06 nexus3.edgexfoundry.org:10001 23:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:06 Configure a credential helper to remove this warning. See 23:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:06 23:01:06 Login Succeeded 23:01:06 nexus3.edgexfoundry.org:10002 23:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:06 Configure a credential helper to remove this warning. See 23:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:06 23:01:06 Login Succeeded 23:01:06 nexus3.edgexfoundry.org:10003 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 nexus3.edgexfoundry.org:10004 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 docker.io 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 ---> docker-login.sh ends [Pipeline] } 23:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:01:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:01:07 ac647965ab1b942a087d699135cd6fee27db47f4 23:01:07 latest 23:01:07 3.0.0-dev.6 23:01:07 ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:01:07 main 23:01:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4 23:01:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:01:08 7ec77e9cab65: Preparing 23:01:08 659191297d49: Preparing 23:01:08 fd6f4db4e7ef: Preparing 23:01:08 d463c4b8fc05: Preparing 23:01:08 e5e13b0c77cb: Preparing 23:01:08 e5e13b0c77cb: Layer already exists 23:01:08 d463c4b8fc05: Pushed 23:01:08 659191297d49: Pushed 23:01:08 7ec77e9cab65: Pushed 23:01:10 fd6f4db4e7ef: Pushed 23:01:10 ac647965ab1b942a087d699135cd6fee27db47f4: digest: sha256:87828e3abf1fa354d7f8e22b40df14d483a560970d578c83fde47a098a6f7494 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:10 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:01:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:01:11 7ec77e9cab65: Preparing 23:01:11 659191297d49: Preparing 23:01:11 fd6f4db4e7ef: Preparing 23:01:11 d463c4b8fc05: Preparing 23:01:11 e5e13b0c77cb: Preparing 23:01:11 fd6f4db4e7ef: Layer already exists 23:01:11 e5e13b0c77cb: Layer already exists 23:01:11 659191297d49: Layer already exists 23:01:11 7ec77e9cab65: Layer already exists 23:01:11 d463c4b8fc05: Layer already exists 23:01:11 latest: digest: sha256:87828e3abf1fa354d7f8e22b40df14d483a560970d578c83fde47a098a6f7494 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.6 23:01:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:01:11 7ec77e9cab65: Preparing 23:01:11 659191297d49: Preparing 23:01:11 fd6f4db4e7ef: Preparing 23:01:11 d463c4b8fc05: Preparing 23:01:11 e5e13b0c77cb: Preparing 23:01:11 e5e13b0c77cb: Layer already exists 23:01:11 fd6f4db4e7ef: Layer already exists 23:01:11 659191297d49: Layer already exists 23:01:11 d463c4b8fc05: Layer already exists 23:01:11 7ec77e9cab65: Layer already exists 23:01:11 3.0.0-dev.6: digest: sha256:87828e3abf1fa354d7f8e22b40df14d483a560970d578c83fde47a098a6f7494 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:01:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:01:12 7ec77e9cab65: Preparing 23:01:12 659191297d49: Preparing 23:01:12 fd6f4db4e7ef: Preparing 23:01:12 d463c4b8fc05: Preparing 23:01:12 e5e13b0c77cb: Preparing 23:01:12 d463c4b8fc05: Layer already exists 23:01:12 e5e13b0c77cb: Layer already exists 23:01:12 fd6f4db4e7ef: Layer already exists 23:01:12 659191297d49: Layer already exists 23:01:12 7ec77e9cab65: Layer already exists 23:01:12 ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6: digest: sha256:87828e3abf1fa354d7f8e22b40df14d483a560970d578c83fde47a098a6f7494 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:01:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:01:13 7ec77e9cab65: Preparing 23:01:13 659191297d49: Preparing 23:01:13 fd6f4db4e7ef: Preparing 23:01:13 d463c4b8fc05: Preparing 23:01:13 e5e13b0c77cb: Preparing 23:01:13 d463c4b8fc05: Layer already exists 23:01:13 fd6f4db4e7ef: Layer already exists 23:01:13 e5e13b0c77cb: Layer already exists 23:01:13 7ec77e9cab65: Layer already exists 23:01:13 659191297d49: Layer already exists 23:01:13 main: digest: sha256:87828e3abf1fa354d7f8e22b40df14d483a560970d578c83fde47a098a6f7494 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:01:13 ===================================================== [Pipeline] echo 23:01:13 taggedImages: 23:01:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4 23:01:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:01:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.6 23:01:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:01:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:13 23:01:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1745 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:01:13 Running in /w/workspace/device-onvif-camera/95 [Pipeline] { [Pipeline] checkout 23:01:13 The recommended git tool is: git 23:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:13 latest: Pulling from edgex-lftools-log-publisher 23:01:13 5eb5b503b376: Pulling fs layer 23:01:13 5c69ac0246d0: Pulling fs layer 23:01:13 ec43610c2a17: Pulling fs layer 23:01:13 3a2ae6a8a46f: Pulling fs layer 23:01:13 33b1e0a273af: Pulling fs layer 23:01:13 5d3b04190fa2: Pulling fs layer 23:01:13 2f39f015ded8: Pulling fs layer 23:01:13 3a2ae6a8a46f: Waiting 23:01:13 2f39f015ded8: Waiting 23:01:13 5d3b04190fa2: Waiting 23:01:13 5c69ac0246d0: Verifying Checksum 23:01:13 5c69ac0246d0: Download complete 23:01:13 3a2ae6a8a46f: Verifying Checksum 23:01:13 3a2ae6a8a46f: Download complete 23:01:14 33b1e0a273af: Verifying Checksum 23:01:14 33b1e0a273af: Download complete 23:01:14 ec43610c2a17: Verifying Checksum 23:01:14 ec43610c2a17: Download complete 23:01:14 5d3b04190fa2: Verifying Checksum 23:01:14 5d3b04190fa2: Download complete 23:01:14 5eb5b503b376: Download complete 23:01:14 2f39f015ded8: Download complete 23:01:15 5eb5b503b376: Pull complete 23:01:15 5c69ac0246d0: Pull complete 23:01:15 ec43610c2a17: Pull complete 23:01:15 3a2ae6a8a46f: Pull complete 23:01:15 33b1e0a273af: Pull complete 23:01:15 5d3b04190fa2: Pull complete 23:01:18 using credential edgex-jenkins-ssh 23:01:18 Cloning the remote Git repository 23:01:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:01:18 > git init /w/workspace/device-onvif-camera/95 # timeout=10 23:01:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:01:19 > git --version # timeout=10 23:01:19 > git --version # 'git version 2.25.1' 23:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:20 2f39f015ded8: Pull complete 23:01:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:20 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:01:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:01:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:21 Avoid second fetch 23:01:21 Checking out Revision ac647965ab1b942a087d699135cd6fee27db47f4 (main) 23:01:22 Commit message: "build: fixed small issue in makefile (#209)" 23:01:21 > git config core.sparsecheckout # timeout=10 23:01:21 > git checkout -f ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 23:01:22 23:01:22 GitHub has been notified of this commit’s build result 23:01:22 23:01:23 $ docker top 4c3d66fdf9f801ea3d0fc788a5051be95e740c2aeb531fc5c2edbe15485c7f0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:23 ---> job-cost.sh 23:01:23 lf-activate-venv: SKIPPING 23:01:23 INFO: No Stack... 23:01:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:01:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:01:23 % Total % Received % Xferd Average Speed Time Time Time Current 23:01:23 Dload Upload Total Spent Left Speed 23:01:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 23:01:23 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 23:01:24 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:01:24 + cut -d, -f6 [Pipeline] lock 23:01:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] 23:01:24 Resource [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] did not exist. Created. 23:01:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:01:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:01:24 + echo total: 0.2199999988079071 [Pipeline] stash 23:01:24 Stashed 1 file(s) [Pipeline] } 23:01:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 23:01:24 $ docker stop --time=1 4c3d66fdf9f801ea3d0fc788a5051be95e740c2aeb531fc5c2edbe15485c7f0d 23:01:24 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:01:24 sudo tee /etc/docker/daemon.new 23:01:24 { 23:01:24 "registry-mirrors": [ 23:01:24 "https://nexus3.edgexfoundry.org:10001" 23:01:24 ], 23:01:24 "bip": "10.250.0.254/24", 23:01:24 "hosts": [ 23:01:24 "tcp://0.0.0.0:5555", 23:01:24 "unix:///var/run/docker.sock" 23:01:24 ], 23:01:24 "mtu": 1458, 23:01:24 "selinux-enabled": true, 23:01:24 "seccomp-profile": "/etc/docker/seccomp.json" 23:01:24 } 23:01:25 $ docker rm -f --volumes 4c3d66fdf9f801ea3d0fc788a5051be95e740c2aeb531fc5c2edbe15485c7f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:01:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:01:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:44 provisioning config files... 23:01:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/95@tmp/config1883592877733190810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:45 ---> docker-login.sh 23:01:45 nexus3.edgexfoundry.org:10001 23:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:45 Configure a credential helper to remove this warning. See 23:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:45 23:01:45 Login Succeeded 23:01:45 nexus3.edgexfoundry.org:10002 23:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:46 Configure a credential helper to remove this warning. See 23:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:46 23:01:46 Login Succeeded 23:01:46 nexus3.edgexfoundry.org:10003 23:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:46 Configure a credential helper to remove this warning. See 23:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:46 23:01:46 Login Succeeded 23:01:46 nexus3.edgexfoundry.org:10004 23:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:46 Configure a credential helper to remove this warning. See 23:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:46 23:01:46 Login Succeeded 23:01:46 docker.io 23:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:47 Configure a credential helper to remove this warning. See 23:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:47 23:01:47 Login Succeeded 23:01:47 ---> docker-login.sh ends [Pipeline] } 23:01:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:01:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:47 ========================================================= 23:01:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:01:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:01:48 Sending build context to Docker daemon 20.51MB 23:01:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:01:48 Step 2/13 : FROM ${BASE} AS builder 23:01:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:01:48 9b18e9b68314: Pulling fs layer 23:01:48 35d82f9e3411: Pulling fs layer 23:01:48 e16973657156: Pulling fs layer 23:01:48 fc693d55d65f: Pulling fs layer 23:01:48 7e9fc2657dce: Pulling fs layer 23:01:48 dda99020689f: Pulling fs layer 23:01:48 db1c61fa0a46: Pulling fs layer 23:01:48 891c053d2c06: Pulling fs layer 23:01:48 dda99020689f: Waiting 23:01:48 fc693d55d65f: Waiting 23:01:48 7e9fc2657dce: Waiting 23:01:48 db1c61fa0a46: Waiting 23:01:48 891c053d2c06: Waiting 23:01:48 e16973657156: Verifying Checksum 23:01:48 e16973657156: Download complete 23:01:48 35d82f9e3411: Download complete 23:01:48 7e9fc2657dce: Verifying Checksum 23:01:48 7e9fc2657dce: Download complete 23:01:48 9b18e9b68314: Verifying Checksum 23:01:48 9b18e9b68314: Download complete 23:01:48 dda99020689f: Verifying Checksum 23:01:48 dda99020689f: Download complete 23:01:49 9b18e9b68314: Pull complete 23:01:49 891c053d2c06: Verifying Checksum 23:01:49 891c053d2c06: Download complete 23:01:50 35d82f9e3411: Pull complete 23:01:50 e16973657156: Pull complete 23:01:51 db1c61fa0a46: Verifying Checksum 23:01:51 db1c61fa0a46: Download complete 23:01:52 fc693d55d65f: Verifying Checksum 23:01:52 fc693d55d65f: Download complete 23:02:04 fc693d55d65f: Pull complete 23:02:04 7e9fc2657dce: Pull complete 23:02:04 dda99020689f: Pull complete 23:02:11 db1c61fa0a46: Pull complete 23:02:13 891c053d2c06: Pull complete 23:02:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:02:13 ---> f96f9c87975a 23:02:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:02:15 ---> Running in e6c4d7dd8a36 23:02:15 Removing intermediate container e6c4d7dd8a36 23:02:15 ---> 0dc6b1cf2333 23:02:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:02:15 ---> Running in 2fb191c372cb 23:02:15 Removing intermediate container 2fb191c372cb 23:02:15 ---> bf20ab06b8ac 23:02:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:02:16 ---> Running in d10d8470075a 23:02:16 Removing intermediate container d10d8470075a 23:02:16 ---> 103a8d399cf2 23:02:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:02:16 ---> Running in b7cafbb75792 23:02:16 Removing intermediate container b7cafbb75792 23:02:16 ---> 3b34e5bb6c05 23:02:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:02:16 ---> Running in dd7a425244b1 23:02:17 Removing intermediate container dd7a425244b1 23:02:17 ---> f760b5af228c 23:02:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:02:17 ---> Running in 0937c743ef14 23:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:02:19 OK: 221 MiB in 51 packages 23:02:20 Removing intermediate container 0937c743ef14 23:02:20 ---> fca0f1fcd80a 23:02:20 Step 9/13 : WORKDIR /device-onvif-camera 23:02:20 ---> Running in 40419a97949e 23:02:20 Removing intermediate container 40419a97949e 23:02:20 ---> 2b0b22ba24be 23:02:20 Step 10/13 : COPY go.mod vendor* ./ 23:02:21 ---> 01407fc235dc 23:02:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:21 ---> Running in bc7e552c6152 23:03:18 Removing intermediate container bc7e552c6152 23:03:18 ---> 9d12343dedd2 23:03:18 Step 12/13 : COPY . . 23:03:18 ---> 06377a611c39 23:03:18 Step 13/13 : RUN ${MAKE} 23:03:18 ---> Running in a93d533de593 23:03:19 noop 23:03:20 Removing intermediate container a93d533de593 23:03:20 ---> 941b16bf8d08 23:03:20 Successfully built 941b16bf8d08 23:03:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:20 + docker inspect -f . ci-base-image-arm64 23:03:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:21 prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container 23:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/95 -v /w/workspace/device-onvif-camera/95:/w/workspace/device-onvif-camera/95:rw,z -v /w/workspace/device-onvif-camera/95@tmp:/w/workspace/device-onvif-camera/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:03:22 $ docker top 75f1e66c3b4ed60443d9366057605313b770a0f559e0185df2f5f3a6c4b7eacf -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:23 + go version 23:03:23 go version go1.18.7 linux/arm64 [Pipeline] } 23:03:23 $ docker stop --time=1 75f1e66c3b4ed60443d9366057605313b770a0f559e0185df2f5f3a6c4b7eacf 23:03:24 $ docker rm -f --volumes 75f1e66c3b4ed60443d9366057605313b770a0f559e0185df2f5f3a6c4b7eacf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:25 + docker inspect -f . ci-base-image-arm64 23:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:25 prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container 23:03:25 $ 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/95 -v /w/workspace/device-onvif-camera/95:/w/workspace/device-onvif-camera/95:rw,z -v /w/workspace/device-onvif-camera/95@tmp:/w/workspace/device-onvif-camera/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:03:26 $ docker top f634a9a64ce43adeab5a61694c10391c09cc1739be26f89229a1f447b9df204c -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/95 [Pipeline] fileExists [Pipeline] sh 23:03:28 + make test 23:03:28 go test ./... -coverprofile=coverage.out ./... 23:03:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:05:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:05:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 29.3% of statements 23:05:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:05:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.497s coverage: 86.5% of statements 23:05:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:05:24 go vet ./... 23:05:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:51 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:51 $ docker stop --time=1 f634a9a64ce43adeab5a61694c10391c09cc1739be26f89229a1f447b9df204c 23:05:53 $ docker rm -f --volumes f634a9a64ce43adeab5a61694c10391c09cc1739be26f89229a1f447b9df204c [Pipeline] // withDockerContainer [Pipeline] sh 23:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:54 Warning: overwriting stash ‘coverage-report’ 23:05:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:56 + ls -al . 23:05:56 total 244 23:05:56 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:03 . 23:05:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:01 .. 23:05:56 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:01 .git 23:05:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:01 .github 23:05:56 -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 23:01 .gitignore 23:05:56 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 23:01 .golangci.yml 23:05:56 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 23:01 Attribution.txt 23:05:56 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 23:01 CHANGELOG.md 23:05:56 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 23:01 Dockerfile 23:05:56 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:01 GOVERNANCE.md 23:05:56 -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 23:01 Jenkinsfile 23:05:56 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 23:01 LICENSE 23:05:56 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 10 23:01 Makefile 23:05:56 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 23:01 OWNERS.md 23:05:56 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 23:01 README.md 23:05:56 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 22:59 VERSION 23:05:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:01 bin 23:05:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:01 cmd 23:05:56 -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 23:05 coverage.out 23:05:56 drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 23:01 doc 23:05:56 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 23:01 go.mod 23:05:56 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 23:01 go.sum 23:05:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:01 internal 23:05:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:01 snap 23:05:56 -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 23:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:57 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ac647965ab1b942a087d699135cd6fee27db47f4 --label arch=arm64 --label version=3.0.0-dev.6 . 23:05:58 Sending build context to Docker daemon 20.59MB 23:05:58 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:05:58 Step 2/26 : FROM ${BASE} AS builder 23:05:58 ---> 941b16bf8d08 23:05:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:05:58 ---> Running in 82e112aa3400 23:05:59 Removing intermediate container 82e112aa3400 23:05:59 ---> dce8af993eef 23:05:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:05:59 ---> Running in fd46e0cfbc59 23:06:00 Removing intermediate container fd46e0cfbc59 23:06:00 ---> 89e63fe2a711 23:06:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:06:00 ---> Running in 82ccd8fbdbc0 23:06:00 Removing intermediate container 82ccd8fbdbc0 23:06:00 ---> ecd29dac1708 23:06:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:06:00 ---> Running in c6f948aaed37 23:06:00 Removing intermediate container c6f948aaed37 23:06:00 ---> 4c4cc094ab94 23:06:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:06:00 ---> Running in 9feb830e87c3 23:06:01 Removing intermediate container 9feb830e87c3 23:06:01 ---> e51b2025e125 23:06:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:06:01 ---> Running in 10691ba42da5 23:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:06:04 OK: 221 MiB in 51 packages 23:06:05 Removing intermediate container 10691ba42da5 23:06:05 ---> cb27ef047655 23:06:05 Step 9/26 : WORKDIR /device-onvif-camera 23:06:05 ---> Running in 986fad95f7a6 23:06:05 Removing intermediate container 986fad95f7a6 23:06:05 ---> 36c5d102d319 23:06:05 Step 10/26 : COPY go.mod vendor* ./ 23:06:05 ---> 8253aa6f96e0 23:06:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:05 ---> Running in 3d78e050d156 23:06:08 Removing intermediate container 3d78e050d156 23:06:08 ---> f5f9a428047c 23:06:08 Step 12/26 : COPY . . 23:06:10 ---> df780c7a7438 23:06:10 Step 13/26 : RUN ${MAKE} 23:06:10 ---> Running in c94339b4d1dd 23:06:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:08:48 Removing intermediate container c94339b4d1dd 23:08:48 ---> 34cca0daaf11 23:08:48 Step 14/26 : FROM alpine:3.16 23:08:48 3.16: Pulling from library/alpine 23:08:48 6875df1f5354: Pulling fs layer 23:08:48 6875df1f5354: Verifying Checksum 23:08:48 6875df1f5354: Download complete 23:08:48 6875df1f5354: Pull complete 23:08:48 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:08:48 Status: Downloaded newer image for alpine:3.16 23:08:48 ---> 2b4661558fb8 23:08:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:08:48 ---> Running in 08736104c9f3 23:08:48 Removing intermediate container 08736104c9f3 23:08:48 ---> 7571b2ae98fd 23:08:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:08:48 ---> Running in 25ce60ce0617 23:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:08:48 (1/1) Installing dumb-init (1.2.5-r1) 23:08:48 Executing busybox-1.35.0-r17.trigger 23:08:48 OK: 5 MiB in 15 packages 23:08:48 Removing intermediate container 25ce60ce0617 23:08:48 ---> 774897f24a8e 23:08:48 Step 17/26 : WORKDIR / 23:08:48 ---> Running in 92ddea00f3e0 23:08:48 Removing intermediate container 92ddea00f3e0 23:08:48 ---> 5c3a12e9ed10 23:08:48 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:08:48 ---> ee76407856c4 23:08:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:08:48 ---> 74630d00990a 23:08:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:08:48 ---> b9108273fc5f 23:08:48 Step 21/26 : EXPOSE 59984 23:08:48 ---> Running in ce94e377a325 23:08:48 Removing intermediate container ce94e377a325 23:08:48 ---> 70625119ff2e 23:08:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:08:48 ---> Running in 2e6570d2feee 23:08:48 Removing intermediate container 2e6570d2feee 23:08:48 ---> 3f6b409a885e 23:08:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:08:48 ---> Running in 50dbab0d3c1c 23:08:48 Removing intermediate container 50dbab0d3c1c 23:08:48 ---> 3defb7bc343e 23:08:48 Step 24/26 : LABEL arch=arm64 23:08:48 ---> Running in dad0f76a1e2a 23:08:48 Removing intermediate container dad0f76a1e2a 23:08:48 ---> 708b9d0dbee3 23:08:48 Step 25/26 : LABEL git_sha=ac647965ab1b942a087d699135cd6fee27db47f4 23:08:48 ---> Running in 0b1a19bc9cdf 23:08:49 Removing intermediate container 0b1a19bc9cdf 23:08:49 ---> a775873d6719 23:08:49 Step 26/26 : LABEL version=3.0.0-dev.6 23:08:49 ---> Running in 8b4aee1230d1 23:08:49 Removing intermediate container 8b4aee1230d1 23:08:49 ---> a7b4134e4a82 23:08:49 [Warning] One or more build-args [ARCH] were not consumed 23:08:49 Successfully built a7b4134e4a82 23:08:49 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:49 provisioning config files... 23:08:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/95@tmp/config3730526313491075860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:49 ---> docker-login.sh 23:08:49 nexus3.edgexfoundry.org:10001 23:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:50 Configure a credential helper to remove this warning. See 23:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:50 23:08:50 Login Succeeded 23:08:50 nexus3.edgexfoundry.org:10002 23:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:50 Configure a credential helper to remove this warning. See 23:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:50 23:08:50 Login Succeeded 23:08:50 nexus3.edgexfoundry.org:10003 23:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:50 Configure a credential helper to remove this warning. See 23:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:50 23:08:50 Login Succeeded 23:08:50 nexus3.edgexfoundry.org:10004 23:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:51 Configure a credential helper to remove this warning. See 23:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:51 23:08:51 Login Succeeded 23:08:51 docker.io 23:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:51 Configure a credential helper to remove this warning. See 23:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:51 23:08:51 Login Succeeded 23:08:51 ---> docker-login.sh ends [Pipeline] } 23:08:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:51 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:08:51 ac647965ab1b942a087d699135cd6fee27db47f4 23:08:51 latest 23:08:51 3.0.0-dev.6 23:08:51 ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:08:51 main 23:08:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4 23:08:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:08:52 c4984787100f: Preparing 23:08:52 e8ae85a5a2f0: Preparing 23:08:52 6acfe5722016: Preparing 23:08:52 14df17e9d4e0: Preparing 23:08:52 17bec77d7fdc: Preparing 23:08:52 17bec77d7fdc: Layer already exists 23:08:52 c4984787100f: Pushed 23:08:52 e8ae85a5a2f0: Pushed 23:08:52 14df17e9d4e0: Pushed 23:08:59 6acfe5722016: Pushed 23:08:59 ac647965ab1b942a087d699135cd6fee27db47f4: digest: sha256:377be674d143ad77ebdea670ba0fd484e60e4cc0f5ba358fcaaf2b72a3e623d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:09:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:09:00 c4984787100f: Preparing 23:09:00 e8ae85a5a2f0: Preparing 23:09:00 6acfe5722016: Preparing 23:09:00 14df17e9d4e0: Preparing 23:09:00 17bec77d7fdc: Preparing 23:09:00 c4984787100f: Layer already exists 23:09:00 14df17e9d4e0: Layer already exists 23:09:00 17bec77d7fdc: Layer already exists 23:09:00 6acfe5722016: Layer already exists 23:09:00 e8ae85a5a2f0: Layer already exists 23:09:00 latest: digest: sha256:377be674d143ad77ebdea670ba0fd484e60e4cc0f5ba358fcaaf2b72a3e623d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.6 23:09:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:09:01 c4984787100f: Preparing 23:09:01 e8ae85a5a2f0: Preparing 23:09:01 6acfe5722016: Preparing 23:09:01 14df17e9d4e0: Preparing 23:09:01 17bec77d7fdc: Preparing 23:09:01 14df17e9d4e0: Layer already exists 23:09:01 c4984787100f: Layer already exists 23:09:01 17bec77d7fdc: Layer already exists 23:09:01 6acfe5722016: Layer already exists 23:09:01 e8ae85a5a2f0: Layer already exists 23:09:01 3.0.0-dev.6: digest: sha256:377be674d143ad77ebdea670ba0fd484e60e4cc0f5ba358fcaaf2b72a3e623d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:09:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:09:01 c4984787100f: Preparing 23:09:01 e8ae85a5a2f0: Preparing 23:09:01 6acfe5722016: Preparing 23:09:01 14df17e9d4e0: Preparing 23:09:01 17bec77d7fdc: Preparing 23:09:01 c4984787100f: Layer already exists 23:09:01 6acfe5722016: Layer already exists 23:09:01 e8ae85a5a2f0: Layer already exists 23:09:01 14df17e9d4e0: Layer already exists 23:09:01 17bec77d7fdc: Layer already exists 23:09:01 ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6: digest: sha256:377be674d143ad77ebdea670ba0fd484e60e4cc0f5ba358fcaaf2b72a3e623d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:09:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:09:02 c4984787100f: Preparing 23:09:02 e8ae85a5a2f0: Preparing 23:09:02 6acfe5722016: Preparing 23:09:02 14df17e9d4e0: Preparing 23:09:02 17bec77d7fdc: Preparing 23:09:02 14df17e9d4e0: Layer already exists 23:09:02 17bec77d7fdc: Layer already exists 23:09:02 e8ae85a5a2f0: Layer already exists 23:09:02 6acfe5722016: Layer already exists 23:09:02 c4984787100f: Layer already exists 23:09:02 main: digest: sha256:377be674d143ad77ebdea670ba0fd484e60e4cc0f5ba358fcaaf2b72a3e623d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:09:02 ===================================================== [Pipeline] echo 23:09:02 taggedImages: 23:09:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4 23:09:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:09:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.6 23:09:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ac647965ab1b942a087d699135cd6fee27db47f4-3.0.0-dev.6 23:09:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:03 23:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:03 arm64: Pulling from edgex-lftools-log-publisher 23:09:03 8998bd30e6a1: Pulling fs layer 23:09:03 04944245beec: Pulling fs layer 23:09:03 699f458cf7ca: Pulling fs layer 23:09:03 765212b225bb: Pulling fs layer 23:09:03 f23df028b6ca: Pulling fs layer 23:09:03 d65c8cfc05b1: Pulling fs layer 23:09:03 2437ff75d9bd: Pulling fs layer 23:09:03 f23df028b6ca: Waiting 23:09:03 d65c8cfc05b1: Waiting 23:09:03 2437ff75d9bd: Waiting 23:09:03 765212b225bb: Waiting 23:09:03 04944245beec: Verifying Checksum 23:09:03 04944245beec: Download complete 23:09:03 765212b225bb: Verifying Checksum 23:09:03 765212b225bb: Download complete 23:09:03 f23df028b6ca: Verifying Checksum 23:09:03 f23df028b6ca: Download complete 23:09:03 d65c8cfc05b1: Verifying Checksum 23:09:03 d65c8cfc05b1: Download complete 23:09:04 699f458cf7ca: Verifying Checksum 23:09:04 699f458cf7ca: Download complete 23:09:04 8998bd30e6a1: Verifying Checksum 23:09:04 8998bd30e6a1: Download complete 23:09:06 2437ff75d9bd: Verifying Checksum 23:09:06 2437ff75d9bd: Download complete 23:09:08 8998bd30e6a1: Pull complete 23:09:08 04944245beec: Pull complete 23:09:10 699f458cf7ca: Pull complete 23:09:10 765212b225bb: Pull complete 23:09:11 f23df028b6ca: Pull complete 23:09:11 d65c8cfc05b1: Pull complete 23:09:26 2437ff75d9bd: Pull complete 23:09:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:26 prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container 23:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/95 -v /w/workspace/device-onvif-camera/95:/w/workspace/device-onvif-camera/95:rw,z -v /w/workspace/device-onvif-camera/95@tmp:/w/workspace/device-onvif-camera/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:09:29 $ docker top d010f3c934daed95f9cb1e6e67a359c6d85a7efc22acb725916681e04a53c785 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:30 ---> job-cost.sh 23:09:30 lf-activate-venv: SKIPPING 23:09:30 INFO: No Stack... 23:09:30 INFO: Retrieving Pricing Info for: v3-standard-4 23:09:31 INFO: Archiving Costs [Pipeline] sh 23:09:32 + cat /w/workspace/device-onvif-camera/95/archives/cost.csv 23:09:32 + cut -d, -f6 [Pipeline] lock 23:09:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] 23:09:32 Resource [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] did not exist. Created. 23:09:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:32 /w/workspace/device-onvif-camera/95@tmp/durable-8c718705/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:09:33 + echo total: 0.10999999940395355 [Pipeline] stash 23:09:33 Warning: overwriting stash ‘stack-cost’ 23:09:33 Stashed 1 file(s) [Pipeline] } 23:09:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:33 $ docker stop --time=1 d010f3c934daed95f9cb1e6e67a359c6d85a7efc22acb725916681e04a53c785 23:09:35 $ docker rm -f --volumes d010f3c934daed95f9cb1e6e67a359c6d85a7efc22acb725916681e04a53c785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:09:35 provisioning config files... 23:09:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8035284045139639992tmp [Pipeline] { [Pipeline] sh 23:09:35 + set +x 23:09:35 + + curl -s https://codecov.io/bash 23:09:35 bash -s -- 23:09:35 23:09:35 _____ _ 23:09:35 / ____| | | 23:09:35 | | ___ __| | ___ ___ _____ __ 23:09:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:09:35 | |___| (_) | (_| | __/ (_| (_) \ V / 23:09:35 \_____\___/ \__,_|\___|\___\___/ \_/ 23:09:35 Bash-1.0.6 23:09:35 23:09:35 23:09:35 ==> git version 2.25.1 found 23:09:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:09:35 Release-Date: 2020-01-08 23:09:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:09:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:09:35 ==> Jenkins CI detected. 23:09:35 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:09:35 project root: . 23:09:35 --> token set from env 23:09:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:09:35 ==> Running gcov in . (disable via -X gcov) 23:09:35 ==> Python coveragepy not found 23:09:35 ==> Searching for coverage reports in: 23:09:35 + . 23:09:35 -> Found 1 reports 23:09:35 ==> Detecting git/mercurial file structure 23:09:35 ==> Reading reports 23:09:36 + ./coverage.out bytes=79184 23:09:36 ==> Appending adjustments 23:09:36 https://docs.codecov.io/docs/fixing-reports 23:09:36 + Found adjustments 23:09:36 ==> Gzipping contents 23:09:36 12K /tmp/codecov.l3xAdd.gz 23:09:36 ==> Uploading reports 23:09:36 url: https://codecov.io 23:09:36 query: branch=main&commit=ac647965ab1b942a087d699135cd6fee27db47f4&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:09:36 -> Pinging Codecov 23:09:36 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=ac647965ab1b942a087d699135cd6fee27db47f4&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:09:36 -> Uploading to 23:09:36 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/F29A59C45E3A92E06B3E522C9905F8EF/ac647965ab1b942a087d699135cd6fee27db47f4/8ca1b40a-30ae-486c-b15c-2995a2217ffb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T230936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=748a4e3d655f1af0c522a986e22dbcdb06f2135b22dd328d498aa16ee6c623b2 23:09:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:36 Dload Upload Total Spent Left Speed 23:09:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10889 0 0 100 10889 0 41720 --:--:-- --:--:-- --:--:-- 41720 23:09:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] } 23:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:09:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:09:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:09:37 23:09:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:09:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:09:37 df9b9388f04a: Pulling fs layer 23:09:37 52dc419b0ee2: Pulling fs layer 23:09:37 25bc292e5bac: Pulling fs layer 23:09:37 114826534d7a: Pulling fs layer 23:09:37 4657fd5d0bcf: Pulling fs layer 23:09:37 6ad1cebc031e: Pulling fs layer 23:09:37 8a3aa393b2d8: Pulling fs layer 23:09:37 114826534d7a: Waiting 23:09:37 8a3aa393b2d8: Waiting 23:09:37 4657fd5d0bcf: Waiting 23:09:37 6ad1cebc031e: Waiting 23:09:37 25bc292e5bac: Verifying Checksum 23:09:37 25bc292e5bac: Download complete 23:09:37 52dc419b0ee2: Download complete 23:09:37 4657fd5d0bcf: Verifying Checksum 23:09:37 4657fd5d0bcf: Download complete 23:09:37 df9b9388f04a: Download complete 23:09:37 df9b9388f04a: Pull complete 23:09:37 6ad1cebc031e: Verifying Checksum 23:09:37 6ad1cebc031e: Download complete 23:09:37 52dc419b0ee2: Pull complete 23:09:37 25bc292e5bac: Pull complete 23:09:38 114826534d7a: Verifying Checksum 23:09:38 114826534d7a: Download complete 23:09:38 8a3aa393b2d8: Verifying Checksum 23:09:38 8a3aa393b2d8: Download complete 23:09:41 114826534d7a: Pull complete 23:09:41 4657fd5d0bcf: Pull complete 23:09:41 6ad1cebc031e: Pull complete 23:09:44 8a3aa393b2d8: Pull complete 23:09:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:09:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:44 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:09:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:09:47 $ docker top 3cdf2da5a422cb3bf5bfe73c40ea2da02362f170746613d6c7bee5ffa1e28cb1 -eo pid,comm [Pipeline] { [Pipeline] echo 23:09:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:09:48 + set -o pipefail 23:09:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:09:54 23:09:54 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:09:54 23:09:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/ad43ae10-9a18-435f-a51c-fff07bf50ce4 23:09:54 23:09:54 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:09:54 23:09:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:09:54 23:09:54 23:09:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:09:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:09:54 More details here: https://snyk.co/ue1NS [Pipeline] } 23:09:54 $ docker stop --time=1 3cdf2da5a422cb3bf5bfe73c40ea2da02362f170746613d6c7bee5ffa1e28cb1 23:09:58 $ docker rm -f --volumes 3cdf2da5a422cb3bf5bfe73c40ea2da02362f170746613d6c7bee5ffa1e28cb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 23:09:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:58 provisioning config files... 23:09:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10111613205433132029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:58 --> edgex-publish-swagger.sh 23:09:58 === Publish doc/openapi/v2 API === 23:09:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:09:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:09:58 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:58 Dload Upload Total Spent Left Speed 23:09:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 65 808k --:--:-- --:--:-- --:--:-- 806k 100 469k 100 38 100 469k 65 808k --:--:-- --:--:-- --:--:-- 806k 23:09:59 {"code":403,"message":"Access Denied"} 23:09:59 [Pipeline] } 23:09:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:59 + git log --format=format:%s -1 ac647965ab1b942a087d699135cd6fee27db47f4 [Pipeline] sh 23:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:00 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:10:01 $ docker top b2b035fda6b45733e5d2637e899399879b6b6be636589023385793adeb98d4e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:10:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:10:01 [ssh-agent] Looking for ssh-agent implementation... 23:10:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:10:01 $ docker exec b2b035fda6b45733e5d2637e899399879b6b6be636589023385793adeb98d4e9 ssh-agent 23:10:01 SSH_AUTH_SOCK=/tmp/ssh-fWgsYSZSwlAF/agent.32 23:10:01 SSH_AGENT_PID=38 23:10:01 Running ssh-add (command line suppressed) 23:10:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14239737922639107376.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14239737922639107376.key) 23:10:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:01 + git semver tag 23:10:02 2023-01-10 23:10:01,992 [run_tag] DEBUG tag force:False 23:10:02 2023-01-10 23:10:01,993 [check_head_tag] DEBUG check head tag 23:10:02 2023-01-10 23:10:01,994 [execute] INFO git cat-file --batch-check 23:10:02 2023-01-10 23:10:01,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:10:02 2023-01-10 23:10:01,997 [execute] INFO git cat-file --batch 23:10:02 2023-01-10 23:10:01,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:10:02 2023-01-10 23:10:02,019 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:02 2023-01-10 23:10:02,019 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 23:10:02 2023-01-10 23:10:02,020 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:10:02 2023-01-10 23:10:02,024 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:02 3.0.0-dev.6 [Pipeline] } 23:10:02 $ docker exec --env ******** --env ******** b2b035fda6b45733e5d2637e899399879b6b6be636589023385793adeb98d4e9 ssh-agent -k 23:10:02 unset SSH_AUTH_SOCK; 23:10:02 unset SSH_AGENT_PID; 23:10:02 echo Agent pid 38 killed; 23:10:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:10:02 + git semver [Pipeline] } 23:10:02 $ docker stop --time=1 b2b035fda6b45733e5d2637e899399879b6b6be636589023385793adeb98d4e9 23:10:04 $ docker rm -f --volumes b2b035fda6b45733e5d2637e899399879b6b6be636589023385793adeb98d4e9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:10:04 23:10:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:10:04 0.23.1-centos7: Pulling from edgex-lftools 23:10:04 ab5ef0e58194: Pulling fs layer 23:10:04 9712f1f96733: Pulling fs layer 23:10:04 63f879dbbcfc: Pulling fs layer 23:10:04 0d9ebad4ef96: Pulling fs layer 23:10:04 e9a5061849ea: Pulling fs layer 23:10:04 d747dcd14b5f: Pulling fs layer 23:10:04 2de7ff778b66: Pulling fs layer 23:10:04 0d9ebad4ef96: Waiting 23:10:04 e9a5061849ea: Waiting 23:10:04 d747dcd14b5f: Waiting 23:10:04 2de7ff778b66: Waiting 23:10:04 9712f1f96733: Download complete 23:10:05 0d9ebad4ef96: Verifying Checksum 23:10:05 0d9ebad4ef96: Download complete 23:10:05 ab5ef0e58194: Verifying Checksum 23:10:05 ab5ef0e58194: Download complete 23:10:05 d747dcd14b5f: Verifying Checksum 23:10:05 d747dcd14b5f: Download complete 23:10:05 63f879dbbcfc: Verifying Checksum 23:10:05 63f879dbbcfc: Download complete 23:10:05 e9a5061849ea: Verifying Checksum 23:10:05 e9a5061849ea: Download complete 23:10:05 2de7ff778b66: Verifying Checksum 23:10:05 2de7ff778b66: Download complete 23:10:08 ab5ef0e58194: Pull complete 23:10:08 9712f1f96733: Pull complete 23:10:09 63f879dbbcfc: Pull complete 23:10:13 0d9ebad4ef96: Pull complete 23:10:13 e9a5061849ea: Pull complete 23:10:13 d747dcd14b5f: Pull complete 23:10:14 2de7ff778b66: Pull complete 23:10:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:10:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:15 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:10:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:10:19 $ docker top cbdff01973ebad61dcf16ecfa239895d3a96c7afb545a60a2d5855fa321bd3a6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:10:19 provisioning config files... 23:10:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1739608939612937042tmp 23:10:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4597721589006738066tmp 23:10:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13984782445445016855tmp [Pipeline] { [Pipeline] echo 23:10:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:10:19 ---> sigul-configuration.sh 23:10:19 gpg: directory `/root/.gnupg' created 23:10:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:10:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:10:19 gpg: keyring `/root/.gnupg/secring.gpg' created 23:10:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:10:19 gpg: CAST5 encrypted data 23:10:19 gpg: encrypted with 1 passphrase 23:10:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:10:19 + mkdir /home/jenkins 23:10:19 + mkdir /home/jenkins/sigul [Pipeline] sh 23:10:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:10:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:10:20 ---> sigul-install.sh 23:10:20 Sigul already installed; skipping installation. [Pipeline] sh 23:10:20 + git tag --list 23:10:20 v0.0.0 23:10:20 v0.0.1-dev.1 23:10:20 v0.0.1-dev.10 23:10:20 v0.0.1-dev.11 23:10:20 v0.0.1-dev.12 23:10:20 v0.0.1-dev.13 23:10:20 v0.0.1-dev.14 23:10:20 v0.0.1-dev.15 23:10:20 v0.0.1-dev.16 23:10:20 v0.0.1-dev.17 23:10:20 v0.0.1-dev.18 23:10:20 v0.0.1-dev.19 23:10:20 v0.0.1-dev.2 23:10:20 v0.0.1-dev.20 23:10:20 v0.0.1-dev.21 23:10:20 v0.0.1-dev.22 23:10:20 v0.0.1-dev.23 23:10:20 v0.0.1-dev.24 23:10:20 v0.0.1-dev.25 23:10:20 v0.0.1-dev.26 23:10:20 v0.0.1-dev.27 23:10:20 v0.0.1-dev.28 23:10:20 v0.0.1-dev.3 23:10:20 v0.0.1-dev.4 23:10:20 v0.0.1-dev.5 23:10:20 v0.0.1-dev.6 23:10:20 v0.0.1-dev.7 23:10:20 v0.0.1-dev.8 23:10:20 v0.0.1-dev.9 23:10:20 v2.2.0 23:10:20 v2.2.0-dev.29 23:10:20 v2.2.0-dev.30 23:10:20 v2.2.0-dev.31 23:10:20 v2.2.0-dev.32 23:10:20 v2.2.0-dev.33 23:10:20 v2.2.0-dev.34 23:10:20 v2.2.0-dev.35 23:10:20 v2.3.0 23:10:20 v2.3.0-dev.1 23:10:20 v2.3.0-dev.10 23:10:20 v2.3.0-dev.11 23:10:20 v2.3.0-dev.12 23:10:20 v2.3.0-dev.13 23:10:20 v2.3.0-dev.14 23:10:20 v2.3.0-dev.15 23:10:20 v2.3.0-dev.16 23:10:20 v2.3.0-dev.17 23:10:20 v2.3.0-dev.18 23:10:20 v2.3.0-dev.19 23:10:20 v2.3.0-dev.2 23:10:20 v2.3.0-dev.20 23:10:20 v2.3.0-dev.21 23:10:20 v2.3.0-dev.22 23:10:20 v2.3.0-dev.23 23:10:20 v2.3.0-dev.24 23:10:20 v2.3.0-dev.25 23:10:20 v2.3.0-dev.26 23:10:20 v2.3.0-dev.27 23:10:20 v2.3.0-dev.28 23:10:20 v2.3.0-dev.29 23:10:20 v2.3.0-dev.3 23:10:20 v2.3.0-dev.30 23:10:20 v2.3.0-dev.31 23:10:20 v2.3.0-dev.32 23:10:20 v2.3.0-dev.33 23:10:20 v2.3.0-dev.34 23:10:20 v2.3.0-dev.35 23:10:20 v2.3.0-dev.36 23:10:20 v2.3.0-dev.37 23:10:20 v2.3.0-dev.38 23:10:20 v2.3.0-dev.39 23:10:20 v2.3.0-dev.4 23:10:20 v2.3.0-dev.40 23:10:20 v2.3.0-dev.41 23:10:20 v2.3.0-dev.42 23:10:20 v2.3.0-dev.43 23:10:20 v2.3.0-dev.44 23:10:20 v2.3.0-dev.45 23:10:20 v2.3.0-dev.5 23:10:20 v2.3.0-dev.6 23:10:20 v2.3.0-dev.7 23:10:20 v2.3.0-dev.8 23:10:20 v2.3.0-dev.9 23:10:20 v2.3.1-dev.1 23:10:20 v3.0.0-dev.1 23:10:20 v3.0.0-dev.2 23:10:20 v3.0.0-dev.3 23:10:20 v3.0.0-dev.4 23:10:20 v3.0.0-dev.5 23:10:20 v3.0.0-dev.6 [Pipeline] sh 23:10:20 + lftools sign git-tag v3.0.0-dev.6 23:10:21 Signing Git tag with Sigul... 23:10:21 Signing v3.0.0-dev.6 [Pipeline] echo 23:10:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:10:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:10:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:10:22 $ docker stop --time=1 cbdff01973ebad61dcf16ecfa239895d3a96c7afb545a60a2d5855fa321bd3a6 23:10:23 $ docker rm -f --volumes cbdff01973ebad61dcf16ecfa239895d3a96c7afb545a60a2d5855fa321bd3a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:10:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:10:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:10:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:24 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:10:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:10:24 $ docker top e955352cc90df7064bfe571456798998a37dd491df31af47cc5829d80d1b7e04 -eo pid,comm 23:10:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:10:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:10:24 [ssh-agent] Looking for ssh-agent implementation... 23:10:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:10:24 $ docker exec e955352cc90df7064bfe571456798998a37dd491df31af47cc5829d80d1b7e04 ssh-agent 23:10:24 SSH_AUTH_SOCK=/tmp/ssh-mn7w7DV94uWm/agent.32 23:10:24 SSH_AGENT_PID=38 23:10:24 Running ssh-add (command line suppressed) 23:10:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_40775622948327523.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_40775622948327523.key) 23:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:25 + git semver bump pre 23:10:25 2023-01-10 23:10:25,355 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:25 2023-01-10 23:10:25,355 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 23:10:25 2023-01-10 23:10:25,355 [bump_version] DEBUG bumped version:3.0.0-dev.7 23:10:25 2023-01-10 23:10:25,355 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:10:25 2023-01-10 23:10:25,355 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:25 2023-01-10 23:10:25,355 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:25 2023-01-10 23:10:25,357 [execute] INFO git cat-file --batch-check 23:10:25 2023-01-10 23:10:25,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:10:25 2023-01-10 23:10:25,363 [execute] INFO git cat-file --batch 23:10:25 2023-01-10 23:10:25,364 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:10:25 2023-01-10 23:10:25,369 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:25 3.0.0-dev.7 [Pipeline] } 23:10:25 $ docker exec --env ******** --env ******** e955352cc90df7064bfe571456798998a37dd491df31af47cc5829d80d1b7e04 ssh-agent -k 23:10:25 unset SSH_AUTH_SOCK; 23:10:25 unset SSH_AGENT_PID; 23:10:25 echo Agent pid 38 killed; 23:10:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:10:25 + git semver [Pipeline] } 23:10:26 $ docker stop --time=1 e955352cc90df7064bfe571456798998a37dd491df31af47cc5829d80d1b7e04 23:10:27 $ docker rm -f --volumes e955352cc90df7064bfe571456798998a37dd491df31af47cc5829d80d1b7e04 [Pipeline] // withDockerContainer [Pipeline] sh 23:10:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:10:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:10:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:28 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:10:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:10:28 $ docker top 66c2658e105b45f8af5a05548f393c9b9c9d64cdca8c1dc5429df1221c3b4613 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:10:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:10:28 [ssh-agent] Looking for ssh-agent implementation... 23:10:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:10:28 $ docker exec 66c2658e105b45f8af5a05548f393c9b9c9d64cdca8c1dc5429df1221c3b4613 ssh-agent 23:10:28 SSH_AUTH_SOCK=/tmp/ssh-0Hu43LihGrPS/agent.32 23:10:28 SSH_AGENT_PID=38 23:10:28 Running ssh-add (command line suppressed) 23:10:28 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_433206541431244714.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_433206541431244714.key) 23:10:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:29 + git semver push 23:10:29 2023-01-10 23:10:29,355 [run_push] DEBUG push 23:10:29 2023-01-10 23:10:29,356 [execute] INFO git cat-file --batch-check 23:10:29 2023-01-10 23:10:29,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:10:29 2023-01-10 23:10:29,360 [execute] INFO git rev-list 884090a81ee045d4a828b4e0cde4c5e05e39541a -- 23:10:29 2023-01-10 23:10:29,361 [execute] DEBUG Popen(['git', 'rev-list', '884090a81ee045d4a828b4e0cde4c5e05e39541a', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:10:29 2023-01-10 23:10:29,368 [execute] INFO git fetch -v origin 23:10:29 2023-01-10 23:10:29,368 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:10:30 2023-01-10 23:10:29,890 [run_push] DEBUG no remote changes detected 23:10:30 2023-01-10 23:10:29,890 [execute] INFO git push origin semver 23:10:30 2023-01-10 23:10:29,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:10:30 2023-01-10 23:10:30,665 [run_push] DEBUG push all version tags 23:10:30 2023-01-10 23:10:30,666 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:10:30 2023-01-10 23:10:30,666 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:10:31 2023-01-10 23:10:31,435 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:10:31 3.0.0-dev.7 [Pipeline] } 23:10:31 $ docker exec --env ******** --env ******** 66c2658e105b45f8af5a05548f393c9b9c9d64cdca8c1dc5429df1221c3b4613 ssh-agent -k 23:10:31 unset SSH_AUTH_SOCK; 23:10:31 unset SSH_AGENT_PID; 23:10:31 echo Agent pid 38 killed; 23:10:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:10:32 + git semver [Pipeline] } 23:10:32 $ docker stop --time=1 66c2658e105b45f8af5a05548f393c9b9c9d64cdca8c1dc5429df1221c3b4613 23:10:33 $ docker rm -f --volumes 66c2658e105b45f8af5a05548f393c9b9c9d64cdca8c1dc5429df1221c3b4613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:10:34 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:10:34 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:10:34 total 16 23:10:34 drwxr-xr-x 3 root root 4096 Jan 10 23:01 . 23:10:34 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:10 .. 23:10:34 drwxr-xr-x 2 root root 4096 Jan 10 23:01 cost 23:10:34 -rw-r--r-- 1 root root 90 Jan 10 23:01 cost.csv 23:10:34 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:10:34 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:10:34 total 16 23:10:34 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:01 . 23:10:34 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:10 .. 23:10:34 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:01 cost 23:10:34 -rw-r--r-- 1 jenkins jenkins 90 Jan 10 23:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:10:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:10:35 ---> package-listing.sh 23:10:35 ++ facter osfamily 23:10:35 ++ tr '[:upper:]' '[:lower:]' 23:10:35 + OS_FAMILY=debian 23:10:35 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:10:35 + START_PACKAGES=/tmp/packages_start.txt 23:10:35 + END_PACKAGES=/tmp/packages_end.txt 23:10:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:10:35 + PACKAGES=/tmp/packages_start.txt 23:10:35 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:10:35 + PACKAGES=/tmp/packages_end.txt 23:10:35 + case "${OS_FAMILY}" in 23:10:35 + dpkg -l 23:10:35 + grep '^ii' 23:10:35 + '[' -f /tmp/packages_start.txt ']' 23:10:35 + '[' -f /tmp/packages_end.txt ']' 23:10:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:10:35 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:10:35 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:10:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:10:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:10:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:36 prd-ubuntu20.04-docker-8c-8g-1744 does not seem to be running inside a container 23:10:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:10:36 $ docker top d5d96f858afc6a36b157fcc1bcd572299e8cd0eebce423adff85d771eb14da3e -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:37 + touch /tmp/pre-build-complete [Pipeline] sh 23:10:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:10:37 + ls /var/log/sa-host 23:10:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:37 provisioning config files... 23:10:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17501841751039273447tmp [Pipeline] { [Pipeline] echo 23:10:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:10:37 ---> create-netrc.sh [Pipeline] } 23:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:10:38 ---> python-tools-install.sh [Pipeline] echo 23:10:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:10:38 ---> sudo-logs.sh 23:10:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:10:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:10:38 ---> job-cost.sh 23:10:38 lf-activate-venv: SKIPPING 23:10:38 DEBUG: total: 0.2199999988079071 23:10:38 INFO: Retrieving Stack Cost... 23:10:39 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:39 INFO: Archiving Costs [Pipeline] echo 23:10:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:10:40 ---> logs-deploy.sh 23:10:40 lf-activate-venv: SKIPPING 23:10:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/95 23:10:40 INFO: archiving workspace using pattern(s): 23:10:40 Archives upload complete. 23:10:40 INFO: archiving logs to Nexus