Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 347bedc82416808981921f39711ea6e4405fc751 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-ssh16867133374544882260.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15026298186669303732.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15585394554514729612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10122884834982444635.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10000188184403200627.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18185 in /w/workspace/foundry_device-onvif-camera_napa [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_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 347bedc82416808981921f39711ea6e4405fc751 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @1a885de" > git config core.sparsecheckout # timeout=10 > git checkout -f 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 > git rev-list --no-walk 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:16:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:16:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:16:26 ========================================================= 22:16:26 EdgeX Global Pipelines Version Info 22:16:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:16:27 ------------------- 22:16:27 stable info: 22:16:27 ------------------- 22:16:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:16:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:27 Message: update stable to v1.0.258 22:16:27 ------------------- 22:16:27 experimental info: 22:16:27 ------------------- 22:16:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:16:27 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:27 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 347bedc82416808981921f39711ea6e4405fc751 [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 347bedc [Pipeline] echo 22:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:28 provisioning config files... 22:16:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config4589166557389290656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:28 ---> docker-login.sh 22:16:28 nexus3.edgexfoundry.org:10001 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 nexus3.edgexfoundry.org:10002 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 nexus3.edgexfoundry.org:10003 22:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:29 Configure a credential helper to remove this warning. See 22:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:29 22:16:29 Login Succeeded 22:16:29 nexus3.edgexfoundry.org:10004 22:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:29 Configure a credential helper to remove this warning. See 22:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:29 22:16:29 Login Succeeded 22:16:29 docker.io 22:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:29 Configure a credential helper to remove this warning. See 22:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:29 22:16:29 Login Succeeded 22:16:29 ---> docker-login.sh ends [Pipeline] } 22:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:16:29 + git rev-list -1 --merges 347bedc82416808981921f39711ea6e4405fc751~1..347bedc82416808981921f39711ea6e4405fc751 [Pipeline] echo 22:16:29 -----------> git rev-list -1 --merges 347bedc82416808981921f39711ea6e4405fc751~1..347bedc82416808981921f39711ea6e4405fc751 347bedc82416808981921f39711ea6e4405fc751 [false] [Pipeline] sh 22:16:30 + git log --format=format:%s -1 347bedc82416808981921f39711ea6e4405fc751 [Pipeline] echo 22:16:30 ========================================================= 22:16:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:16:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:30 + git log --format=format:%s -1 347bedc82416808981921f39711ea6e4405fc751 [Pipeline] echo 22:16:30 [semverPrep] GIT_COMMIT: 347bedc82416808981921f39711ea6e4405fc751, Commit Message: ci(lts-release): LTS release v3.1.0 @1a885de [Pipeline] echo 22:16:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:16:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:30 + grep -v github /etc/ssh/ssh_known_hosts 22:16:30 + [ -e /tmp/ssh_known_hosts ] 22:16:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:16:30 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 22:16:30 /etc/ssh/ssh_known_hosts 22:16:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:31 22:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:16:31 b85a868b505f: Pulling fs layer 22:16:31 e2be974225ed: Pulling fs layer 22:16:31 339a4e72a1f5: Pulling fs layer 22:16:31 988bab9f4d93: Pulling fs layer 22:16:31 1469e6f7b9e6: Pulling fs layer 22:16:31 eaf3925da568: Pulling fs layer 22:16:31 bab4dde63d76: Pulling fs layer 22:16:31 bde34c3a00c8: Pulling fs layer 22:16:31 b352a97aabf1: Pulling fs layer 22:16:31 4872d77fe225: Pulling fs layer 22:16:31 5851b861e8e6: Pulling fs layer 22:16:31 988bab9f4d93: Waiting 22:16:31 1469e6f7b9e6: Waiting 22:16:31 eaf3925da568: Waiting 22:16:31 bab4dde63d76: Waiting 22:16:31 bde34c3a00c8: Waiting 22:16:31 b352a97aabf1: Waiting 22:16:31 4872d77fe225: Waiting 22:16:31 5851b861e8e6: Waiting 22:16:31 e2be974225ed: Download complete 22:16:31 988bab9f4d93: Verifying Checksum 22:16:31 988bab9f4d93: Download complete 22:16:31 1469e6f7b9e6: Verifying Checksum 22:16:31 1469e6f7b9e6: Download complete 22:16:31 eaf3925da568: Verifying Checksum 22:16:31 eaf3925da568: Download complete 22:16:31 339a4e72a1f5: Verifying Checksum 22:16:31 339a4e72a1f5: Download complete 22:16:31 bde34c3a00c8: Download complete 22:16:31 b352a97aabf1: Download complete 22:16:31 4872d77fe225: Verifying Checksum 22:16:31 4872d77fe225: Download complete 22:16:31 5851b861e8e6: Verifying Checksum 22:16:31 5851b861e8e6: Download complete 22:16:31 b85a868b505f: Verifying Checksum 22:16:31 b85a868b505f: Download complete 22:16:31 bab4dde63d76: Verifying Checksum 22:16:31 bab4dde63d76: Download complete 22:16:33 b85a868b505f: Pull complete 22:16:33 e2be974225ed: Pull complete 22:16:33 339a4e72a1f5: Pull complete 22:16:33 988bab9f4d93: Pull complete 22:16:34 1469e6f7b9e6: Pull complete 22:16:34 eaf3925da568: Pull complete 22:16:35 bab4dde63d76: Pull complete 22:16:36 bde34c3a00c8: Pull complete 22:16:36 b352a97aabf1: Pull complete 22:16:37 4872d77fe225: Pull complete 22:16:37 5851b861e8e6: Pull complete 22:16:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:37 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:16:51 $ docker top 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 -eo pid,comm 22:16:51 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:16:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:51 [ssh-agent] Looking for ssh-agent implementation... 22:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:51 $ docker exec 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 ssh-agent 22:16:51 SSH_AUTH_SOCK=/tmp/ssh-uQIxhbJe2NlH/agent.31 22:16:51 SSH_AGENT_PID=37 22:16:51 Running ssh-add (command line suppressed) 22:16:52 Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_4147256343880878386.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_4147256343880878386.key) 22:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:52 + git tag --points-at 347bedc82416808981921f39711ea6e4405fc751 [Pipeline] } 22:16:52 $ docker exec --env ******** --env ******** 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 ssh-agent -k 22:16:52 unset SSH_AUTH_SOCK; 22:16:52 unset SSH_AGENT_PID; 22:16:52 echo Agent pid 37 killed; 22:16:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:16:52 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:52 [ssh-agent] Looking for ssh-agent implementation... 22:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:52 $ docker exec 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 ssh-agent 22:16:52 SSH_AUTH_SOCK=/tmp/ssh-cWQ7kiiin9iG/agent.70 22:16:52 SSH_AGENT_PID=76 22:16:52 Running ssh-add (command line suppressed) 22:16:52 Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_14710698588009966516.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_14710698588009966516.key) 22:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:53 + git semver init 22:16:53 2023-11-15 22:16:53,450 [run_init] DEBUG init version:0.0.0 force:False 22:16:53 2023-11-15 22:16:53,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_napa/.semver 22:16:53 2023-11-15 22:16:53,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_napa/.semver 22:16:53 2023-11-15 22:16:53,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_napa/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_napa, universal_newlines=False, shell=None, istream=None) 22:16:54 2023-11-15 22:16:54,825 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_napa/.git/info/exclude 22:16:54 2023-11-15 22:16:54,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_napa/.semver/napa with force:False 22:16:54 2023-11-15 22:16:54,826 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa 22:16:54 2023-11-15 22:16:54,826 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa 22:16:54 3.1.0 [Pipeline] } 22:16:54 $ docker exec --env ******** --env ******** 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 ssh-agent -k 22:16:55 unset SSH_AUTH_SOCK; 22:16:55 unset SSH_AGENT_PID; 22:16:55 echo Agent pid 76 killed; 22:16:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:55 + git semver [Pipeline] } 22:16:55 $ docker stop --time=1 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 22:16:56 $ docker rm -f --volumes 83d08d42b91dd30f292164c74d260a4af418b4499c822deabb3a3a5359a5c200 [Pipeline] // withDockerContainer [Pipeline] sh 22:16:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:57 Stashed 1 file(s) [Pipeline] echo 22:16:57 [edgeXSemver]: initialized semver on version 3.1.0 [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] sh 22:16:57 + git checkout 347bedc82416808981921f39711ea6e4405fc751 22:16:57 HEAD is now at 347bedc ci(lts-release): LTS release v3.1.0 @1a885de [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:58 provisioning config files... 22:16:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config4680354702072458932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:58 ---> docker-login.sh 22:16:58 nexus3.edgexfoundry.org:10001 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10002 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10003 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 nexus3.edgexfoundry.org:10004 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:58 Configure a credential helper to remove this warning. See 22:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:58 22:16:58 Login Succeeded 22:16:58 docker.io 22:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:59 Configure a credential helper to remove this warning. See 22:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:59 22:16:59 Login Succeeded 22:16:59 ---> docker-login.sh ends [Pipeline] } 22:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:16:59 + grep ^go [0-9].[0-9]* go.mod 22:16:59 + cut -d -f 2 [Pipeline] echo 22:16:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:16:59 ========================================================= 22:16:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:16:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:17:00 Sending build context to Docker daemon 62.59MB 22:17:00 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:17:00 Step 2/13 : FROM ${BASE} AS builder 22:17:00 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:17:00 7264a8db6415: Pulling fs layer 22:17:00 c4d48a809fc2: Pulling fs layer 22:17:00 4f1c88b9dad5: Pulling fs layer 22:17:00 ad3a456e5733: Pulling fs layer 22:17:00 f0163c21ed6d: Pulling fs layer 22:17:00 04c35c34e31e: Pulling fs layer 22:17:00 0c7b0fd20c02: Pulling fs layer 22:17:00 d22eed83c68c: Pulling fs layer 22:17:00 0c7b0fd20c02: Waiting 22:17:00 04c35c34e31e: Waiting 22:17:00 f0163c21ed6d: Waiting 22:17:00 d22eed83c68c: Waiting 22:17:00 ad3a456e5733: Waiting 22:17:00 c4d48a809fc2: Verifying Checksum 22:17:00 c4d48a809fc2: Download complete 22:17:00 ad3a456e5733: Verifying Checksum 22:17:00 ad3a456e5733: Download complete 22:17:00 f0163c21ed6d: Download complete 22:17:00 7264a8db6415: Verifying Checksum 22:17:00 7264a8db6415: Download complete 22:17:00 04c35c34e31e: Verifying Checksum 22:17:00 04c35c34e31e: Download complete 22:17:00 7264a8db6415: Pull complete 22:17:00 c4d48a809fc2: Pull complete 22:17:01 d22eed83c68c: Verifying Checksum 22:17:01 d22eed83c68c: Download complete 22:17:01 4f1c88b9dad5: Verifying Checksum 22:17:01 4f1c88b9dad5: Download complete 22:17:01 0c7b0fd20c02: Verifying Checksum 22:17:01 0c7b0fd20c02: Download complete 22:17:05 4f1c88b9dad5: Pull complete 22:17:05 ad3a456e5733: Pull complete 22:17:05 f0163c21ed6d: Pull complete 22:17:06 04c35c34e31e: Pull complete 22:17:09 0c7b0fd20c02: Pull complete 22:17:10 d22eed83c68c: Pull complete 22:17:10 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:17:10 ---> 8a661f5c53af 22:17:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:17:12 Still waiting to schedule task 22:17:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:17:32 ---> Running in d9776fc74614 22:17:32 Removing intermediate container d9776fc74614 22:17:32 ---> 56aeb9fc2001 22:17:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:17:32 ---> Running in 46c168679e23 22:17:32 Removing intermediate container 46c168679e23 22:17:32 ---> 14bf52155e12 22:17:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:17:32 ---> Running in c050a1bfbb51 22:17:32 Removing intermediate container c050a1bfbb51 22:17:32 ---> ff880f253f1a 22:17:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:17:32 ---> Running in 6b4c911c5673 22:17:32 Removing intermediate container 6b4c911c5673 22:17:32 ---> 19b06c55747d 22:17:32 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:17:32 ---> Running in 02a789de7284 22:17:32 Removing intermediate container 02a789de7284 22:17:32 ---> f37fcbb7f7c4 22:17:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:32 ---> Running in f76ab4344a2d 22:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:17:32 OK: 264 MiB in 52 packages 22:17:32 Removing intermediate container f76ab4344a2d 22:17:32 ---> 93d6c923aa84 22:17:32 Step 9/13 : WORKDIR /device-onvif-camera 22:17:32 ---> Running in f2ea253c7d04 22:17:32 Removing intermediate container f2ea253c7d04 22:17:32 ---> 43d797f6292d 22:17:32 Step 10/13 : COPY go.mod vendor* ./ 22:17:36 ---> 6308b98b67ab 22:17:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:36 ---> Running in 9c841fd04b92 22:18:57 Removing intermediate container 9c841fd04b92 22:18:57 ---> 36c7bfc29ea3 22:18:57 Step 12/13 : COPY . . 22:18:57 ---> 26b684e4ae8b 22:18:57 Step 13/13 : RUN ${MAKE} 22:18:57 ---> Running in 0eed017a4819 22:18:57 noop 22:18:58 Removing intermediate container 0eed017a4819 22:18:58 ---> e8b42250dcf0 22:18:58 Successfully built e8b42250dcf0 22:18:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:58 + docker inspect -f . ci-base-image-x86_64 22:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:58 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:18:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:18:59 $ docker top f6e9ee8a1a5dea09eecd539fcf2187935536c0f631e776f4c44b2e05f4388a26 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:59 + go version 22:18:59 go version go1.21.0 linux/amd64 [Pipeline] } 22:18:59 $ docker stop --time=1 f6e9ee8a1a5dea09eecd539fcf2187935536c0f631e776f4c44b2e05f4388a26 22:19:00 $ docker rm -f --volumes f6e9ee8a1a5dea09eecd539fcf2187935536c0f631e776f4c44b2e05f4388a26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:01 + docker inspect -f . ci-base-image-x86_64 22:19:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:01 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:19:01 $ 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_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:19:01 $ docker top cc0681f594835b08510c2f7cd8e8b1a8e7dabbdb8b21afc63cfb5edf31157ed1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:01 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_napa [Pipeline] fileExists [Pipeline] sh 22:19:02 + make test 22:19:02 go test ./... -coverprofile=coverage.out ./... 22:19:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:19:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:19:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:19:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.5% of statements 22:19:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.048s coverage: 86.5% of statements 22:19:26 go vet ./... 22:19:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:29 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:19:30 + go mod tidy [Pipeline] } 22:19:30 $ docker stop --time=1 cc0681f594835b08510c2f7cd8e8b1a8e7dabbdb8b21afc63cfb5edf31157ed1 22:19:40 $ docker rm -f --volumes cc0681f594835b08510c2f7cd8e8b1a8e7dabbdb8b21afc63cfb5edf31157ed1 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:41 + ls -al . 22:19:41 total 244 22:19:41 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:19 . 22:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 .. 22:19:41 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git 22:19:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github 22:19:41 -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 22:16 .gitignore 22:19:41 -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 22:16 .golangci.yml 22:19:41 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:16 .semver 22:19:41 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 22:16 Attribution.txt 22:19:41 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 22:16 CHANGELOG.md 22:19:41 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 22:16 Dockerfile 22:19:41 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md 22:19:41 -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 22:16 Jenkinsfile 22:19:41 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 22:16 LICENSE 22:19:41 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 22:16 Makefile 22:19:41 -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 22:16 OWNERS.md 22:19:41 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 22:16 README.md 22:19:41 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:19:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin 22:19:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd 22:19:41 -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 22:19 coverage.out 22:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 doc 22:19:41 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 22:16 go.mod 22:19:41 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 22:16 go.sum 22:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 internal 22:19:41 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor 22:19:41 -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:42 + 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=347bedc82416808981921f39711ea6e4405fc751 --label arch=amd64 --label version=3.1.0 . 22:19:42 Sending build context to Docker daemon 62.67MB 22:19:42 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 22:19:42 Step 2/27 : FROM ${BASE} AS builder 22:19:42 ---> e8b42250dcf0 22:19:42 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:19:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18200 in /w/workspace/foundry_device-onvif-camera_napa [Pipeline] { [Pipeline] ws 22:19:45 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:19:45 The recommended git tool is: git 22:19:46 ---> Running in 2f99fcc1cb0d 22:19:46 Removing intermediate container 2f99fcc1cb0d 22:19:46 ---> 66581c41dce8 22:19:46 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:46 ---> Running in 3610638b66ce 22:19:46 Removing intermediate container 3610638b66ce 22:19:46 ---> 74da77c5e78e 22:19:46 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 22:19:46 ---> Running in cdc66d63ae08 22:19:46 Removing intermediate container cdc66d63ae08 22:19:46 ---> 166b2f46d7dd 22:19:46 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:19:46 ---> Running in 797d3c09e894 22:19:46 Removing intermediate container 797d3c09e894 22:19:46 ---> fef032d17631 22:19:46 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:19:46 ---> Running in b187ab728030 22:19:46 Removing intermediate container b187ab728030 22:19:46 ---> 1392aef954ff 22:19:46 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:46 ---> Running in b6f4d8c8ff06 22:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:19:47 OK: 264 MiB in 52 packages 22:19:47 Removing intermediate container b6f4d8c8ff06 22:19:47 ---> 041f6122d32a 22:19:47 Step 9/27 : WORKDIR /device-onvif-camera 22:19:47 ---> Running in 6dfea5162420 22:19:47 Removing intermediate container 6dfea5162420 22:19:47 ---> 27759d45f418 22:19:47 Step 10/27 : COPY go.mod vendor* ./ 22:19:52 ---> d04e1f0f8fd3 22:19:52 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:52 ---> Running in a32370ca939b 22:19:52 skipping... 22:19:52 Removing intermediate container a32370ca939b 22:19:52 ---> c5f54ad93a8b 22:19:52 Step 12/27 : COPY . . 22:19:53 using credential edgex-jenkins-ssh 22:19:53 Cloning the remote Git repository 22:19:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:19:53 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:19:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:19:53 > git --version # timeout=10 22:19:53 > git --version # 'git version 2.25.1' 22:19:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:19:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:56 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:19:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:58 Avoid second fetch 22:19:58 Checking out Revision 347bedc82416808981921f39711ea6e4405fc751 (napa) 22:19:58 > git config core.sparsecheckout # timeout=10 22:19:58 > git checkout -f 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 22:19:59 ---> 788a57c64d36 22:19:59 Step 13/27 : RUN ${MAKE} 22:19:59 ---> Running in aa5e69fcd279 22:20:00 Commit message: "ci(lts-release): LTS release v3.1.0 @1a885de" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:20:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:20:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:20:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:20:01 Dload Upload Total Spent Left Speed 22:20:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh 22:20:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:20:02 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 22:20:02 /etc/docker/daemon.json 22:20:02 { 22:20:02 "registry-mirrors": [ 22:20:02 "https://nexus3.edgexfoundry.org:10001" 22:20:02 ], 22:20:02 "bip": "10.250.0.254/24", 22:20:02 "hosts": [ 22:20:02 "tcp://0.0.0.0:5555", 22:20:02 "unix:///var/run/docker.sock" 22:20:02 ], 22:20:02 "mtu": 1458, 22:20:02 "selinux-enabled": true, 22:20:02 "seccomp-profile": "/etc/docker/seccomp.json" 22:20:02 } [Pipeline] sh 22:20:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:20:03 + sudo service docker restart [Pipeline] sh 22:20:21 + git checkout 347bedc82416808981921f39711ea6e4405fc751 22:20:22 HEAD is now at 347bedc ci(lts-release): LTS release v3.1.0 @1a885de [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:20:22 provisioning config files... 22:20:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config17153035609343042615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:22 ---> docker-login.sh 22:20:22 nexus3.edgexfoundry.org:10001 22:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:23 Configure a credential helper to remove this warning. See 22:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:23 22:20:23 Login Succeeded 22:20:23 nexus3.edgexfoundry.org:10002 22:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:23 Configure a credential helper to remove this warning. See 22:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:23 22:20:23 Login Succeeded 22:20:23 nexus3.edgexfoundry.org:10003 22:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:24 Configure a credential helper to remove this warning. See 22:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:24 22:20:24 Login Succeeded 22:20:24 nexus3.edgexfoundry.org:10004 22:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:24 Configure a credential helper to remove this warning. See 22:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:24 22:20:24 Login Succeeded 22:20:24 docker.io 22:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:25 Configure a credential helper to remove this warning. See 22:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:25 22:20:25 Login Succeeded 22:20:25 ---> docker-login.sh ends [Pipeline] } 22:20:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:20:25 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:20:26 + + grepcut ^go [0-9].[0-9]* -d go.mod -f 22:20:26 2 [Pipeline] echo 22:20:26 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:20:26 ========================================================= 22:20:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:20:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:20:27 Removing intermediate container aa5e69fcd279 22:20:27 ---> 90887034caf0 22:20:27 Step 14/27 : FROM alpine:3.18 22:20:27 3.18: Pulling from library/alpine 22:20:27 96526aa774ef: Pulling fs layer 22:20:27 96526aa774ef: Download complete 22:20:27 96526aa774ef: Pull complete 22:20:27 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:20:27 Status: Downloaded newer image for alpine:3.18 22:20:27 ---> 8ca4688f4f35 22:20:27 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:20:28 ---> Running in 52cb309f14e4 22:20:28 Removing intermediate container 52cb309f14e4 22:20:28 ---> 64bcc715cb41 22:20:28 Step 16/27 : RUN apk add --update --no-cache dumb-init 22:20:29 ---> Running in fea97c0e4ccb 22:20:30 Sending build context to Docker daemon 48.89MB 22:20:30 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:20:30 Step 2/13 : FROM ${BASE} AS builder 22:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:30 (1/1) Installing dumb-init (1.2.5-r2) 22:20:30 Executing busybox-1.36.1-r2.trigger 22:20:30 OK: 7 MiB in 16 packages 22:20:33 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:20:33 9fda8d8052c6: Pulling fs layer 22:20:33 5d54e960e981: Pulling fs layer 22:20:33 c4a7e357bf2a: Pulling fs layer 22:20:33 f0e02332f6b5: Pulling fs layer 22:20:33 57b776a6bec4: Pulling fs layer 22:20:33 8b19151f9e34: Pulling fs layer 22:20:33 eb6a9f2d7ee3: Pulling fs layer 22:20:33 f0e02332f6b5: Waiting 22:20:33 57b776a6bec4: Waiting 22:20:33 8b19151f9e34: Waiting 22:20:33 eb6a9f2d7ee3: Waiting 22:20:33 Removing intermediate container fea97c0e4ccb 22:20:33 ---> 4474bb09727c 22:20:33 Step 17/27 : RUN apk --no-cache upgrade 22:20:33 ---> Running in 87a7b7d77a17 22:20:33 5d54e960e981: Download complete 22:20:33 f0e02332f6b5: Verifying Checksum 22:20:33 f0e02332f6b5: Download complete 22:20:33 57b776a6bec4: Verifying Checksum 22:20:33 57b776a6bec4: Download complete 22:20:33 9fda8d8052c6: Download complete 22:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:20:33 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:20:33 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:20:33 Executing busybox-1.36.1-r5.post-upgrade 22:20:33 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:20:33 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:20:34 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:20:34 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:20:34 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:20:34 Executing busybox-1.36.1-r5.trigger 22:20:34 OK: 7 MiB in 16 packages 22:20:34 eb6a9f2d7ee3: Verifying Checksum 22:20:34 eb6a9f2d7ee3: Download complete 22:20:34 9fda8d8052c6: Pull complete 22:20:35 5d54e960e981: Pull complete 22:20:35 c4a7e357bf2a: Verifying Checksum 22:20:35 c4a7e357bf2a: Download complete 22:20:35 Removing intermediate container 87a7b7d77a17 22:20:35 ---> 30045ba25341 22:20:35 Step 18/27 : WORKDIR / 22:20:35 ---> Running in a2d4b32ef68c 22:20:36 Removing intermediate container a2d4b32ef68c 22:20:36 ---> 6e9a5e85eb54 22:20:36 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 22:20:37 8b19151f9e34: Verifying Checksum 22:20:37 8b19151f9e34: Download complete 22:20:38 ---> 1f3898b0f841 22:20:38 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:20:38 ---> 28303db848ee 22:20:38 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:20:38 ---> 2d9c376a18ab 22:20:38 Step 22/27 : EXPOSE 59984 22:20:38 ---> Running in a6310a2efaed 22:20:38 Removing intermediate container a6310a2efaed 22:20:38 ---> 960aac3853d4 22:20:38 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:20:38 ---> Running in 2c10655c1a92 22:20:38 Removing intermediate container 2c10655c1a92 22:20:38 ---> fa3589559128 22:20:38 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:39 ---> Running in 6e440a9756b4 22:20:40 Removing intermediate container 6e440a9756b4 22:20:40 ---> a830d72a7b46 22:20:40 Step 25/27 : LABEL arch=amd64 22:20:40 ---> Running in 0c27322985a6 22:20:40 Removing intermediate container 0c27322985a6 22:20:40 ---> b036693f29fd 22:20:40 Step 26/27 : LABEL git_sha=347bedc82416808981921f39711ea6e4405fc751 22:20:40 ---> Running in 670298b59342 22:20:41 Removing intermediate container 670298b59342 22:20:41 ---> f9d7c7255d55 22:20:41 Step 27/27 : LABEL version=3.1.0 22:20:41 ---> Running in 0398de007c76 22:20:41 Removing intermediate container 0398de007c76 22:20:41 ---> 985813f46230 22:20:41 [Warning] One or more build-args [ARCH] were not consumed 22:20:41 Successfully built 985813f46230 22:20:41 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 22:20:41 provisioning config files... 22:20:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config14376994758108528263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:41 ---> docker-login.sh 22:20:41 nexus3.edgexfoundry.org:10001 22:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:41 Configure a credential helper to remove this warning. See 22:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:41 22:20:41 Login Succeeded 22:20:41 nexus3.edgexfoundry.org:10002 22:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:41 Configure a credential helper to remove this warning. See 22:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:41 22:20:41 Login Succeeded 22:20:41 nexus3.edgexfoundry.org:10003 22:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:41 Configure a credential helper to remove this warning. See 22:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:41 22:20:41 Login Succeeded 22:20:41 nexus3.edgexfoundry.org:10004 22:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:41 Configure a credential helper to remove this warning. See 22:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:41 22:20:41 Login Succeeded 22:20:41 docker.io 22:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:20:42 Configure a credential helper to remove this warning. See 22:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:20:42 22:20:42 Login Succeeded 22:20:42 ---> docker-login.sh ends [Pipeline] } 22:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:42 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:20:42 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 22:20:42 347bedc82416808981921f39711ea6e4405fc751 22:20:42 3.1.0 22:20:42 347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:20:42 napa 22:20:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751 22:20:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:20:42 67adbcec129b: Preparing 22:20:42 81da5fd6db60: Preparing 22:20:42 eec6e0ff243c: Preparing 22:20:42 ae3e26abe7e3: Preparing 22:20:42 aa49f6adc88e: Preparing 22:20:42 cc2447e1835a: Preparing 22:20:42 cc2447e1835a: Waiting 22:20:42 aa49f6adc88e: Pushed 22:20:42 81da5fd6db60: Pushed 22:20:42 67adbcec129b: Pushed 22:20:43 cc2447e1835a: Layer already exists 22:20:43 ae3e26abe7e3: Pushed 22:20:45 eec6e0ff243c: Pushed 22:20:45 347bedc82416808981921f39711ea6e4405fc751: digest: sha256:6bb7583141f5486badb602481068bacc1d7273b42320c2403ebdf8eae4bb35c2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0 22:20:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:20:46 67adbcec129b: Preparing 22:20:46 81da5fd6db60: Preparing 22:20:46 eec6e0ff243c: Preparing 22:20:46 ae3e26abe7e3: Preparing 22:20:46 aa49f6adc88e: Preparing 22:20:46 cc2447e1835a: Preparing 22:20:46 cc2447e1835a: Waiting 22:20:46 eec6e0ff243c: Layer already exists 22:20:46 aa49f6adc88e: Layer already exists 22:20:46 ae3e26abe7e3: Layer already exists 22:20:46 67adbcec129b: Layer already exists 22:20:46 81da5fd6db60: Layer already exists 22:20:46 cc2447e1835a: Layer already exists 22:20:46 3.1.0: digest: sha256:6bb7583141f5486badb602481068bacc1d7273b42320c2403ebdf8eae4bb35c2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:20:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:20:47 67adbcec129b: Preparing 22:20:47 81da5fd6db60: Preparing 22:20:47 eec6e0ff243c: Preparing 22:20:47 ae3e26abe7e3: Preparing 22:20:47 aa49f6adc88e: Preparing 22:20:47 cc2447e1835a: Preparing 22:20:47 cc2447e1835a: Waiting 22:20:47 67adbcec129b: Layer already exists 22:20:47 ae3e26abe7e3: Layer already exists 22:20:47 aa49f6adc88e: Layer already exists 22:20:47 eec6e0ff243c: Layer already exists 22:20:47 81da5fd6db60: Layer already exists 22:20:47 cc2447e1835a: Layer already exists 22:20:47 347bedc82416808981921f39711ea6e4405fc751-3.1.0: digest: sha256:6bb7583141f5486badb602481068bacc1d7273b42320c2403ebdf8eae4bb35c2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:napa 22:20:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:20:48 67adbcec129b: Preparing 22:20:48 81da5fd6db60: Preparing 22:20:48 eec6e0ff243c: Preparing 22:20:48 ae3e26abe7e3: Preparing 22:20:48 aa49f6adc88e: Preparing 22:20:48 cc2447e1835a: Preparing 22:20:48 67adbcec129b: Layer already exists 22:20:48 ae3e26abe7e3: Layer already exists 22:20:48 aa49f6adc88e: Layer already exists 22:20:48 81da5fd6db60: Layer already exists 22:20:48 cc2447e1835a: Layer already exists 22:20:48 eec6e0ff243c: Layer already exists 22:20:48 napa: digest: sha256:6bb7583141f5486badb602481068bacc1d7273b42320c2403ebdf8eae4bb35c2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:48 ===================================================== [Pipeline] echo 22:20:48 taggedImages: 22:20:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751 22:20:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0 22:20:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera:347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:20:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [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 22:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:49 22:20:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:49 c4a7e357bf2a: Pull complete 22:20:50 f0e02332f6b5: Pull complete 22:20:50 57b776a6bec4: Pull complete 22:20:50 latest: Pulling from edgex-lftools-log-publisher 22:20:50 5eb5b503b376: Pulling fs layer 22:20:50 5c69ac0246d0: Pulling fs layer 22:20:50 ec43610c2a17: Pulling fs layer 22:20:50 3a2ae6a8a46f: Pulling fs layer 22:20:50 33b1e0a273af: Pulling fs layer 22:20:50 5d3b04190fa2: Pulling fs layer 22:20:50 2f39f015ded8: Pulling fs layer 22:20:50 3a2ae6a8a46f: Waiting 22:20:50 33b1e0a273af: Waiting 22:20:50 5d3b04190fa2: Waiting 22:20:50 2f39f015ded8: Waiting 22:20:50 5c69ac0246d0: Verifying Checksum 22:20:50 5c69ac0246d0: Download complete 22:20:50 3a2ae6a8a46f: Download complete 22:20:50 ec43610c2a17: Verifying Checksum 22:20:50 ec43610c2a17: Download complete 22:20:50 5d3b04190fa2: Verifying Checksum 22:20:50 5d3b04190fa2: Download complete 22:20:50 33b1e0a273af: Verifying Checksum 22:20:50 33b1e0a273af: Download complete 22:20:50 5eb5b503b376: Verifying Checksum 22:20:50 5eb5b503b376: Download complete 22:20:51 2f39f015ded8: Download complete 22:20:52 5eb5b503b376: Pull complete 22:20:53 5c69ac0246d0: Pull complete 22:20:53 ec43610c2a17: Pull complete 22:20:54 3a2ae6a8a46f: Pull complete 22:20:54 33b1e0a273af: Pull complete 22:20:55 5d3b04190fa2: Pull complete 22:21:00 8b19151f9e34: Pull complete 22:21:01 eb6a9f2d7ee3: Pull complete 22:21:01 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:21:01 ---> ca1e05e92614 22:21:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:21:03 ---> Running in af92c3a88b78 22:21:04 Removing intermediate container af92c3a88b78 22:21:04 ---> feb4b6dafe3e 22:21:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:04 ---> Running in 30649523279f 22:21:04 Removing intermediate container 30649523279f 22:21:04 ---> 9183136b9e2e 22:21:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:21:04 ---> Running in e4de0ff4107e 22:21:05 Removing intermediate container e4de0ff4107e 22:21:05 ---> cf6bc0d51ae8 22:21:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:21:05 ---> Running in 36c99b9878b2 22:21:05 Removing intermediate container 36c99b9878b2 22:21:05 ---> 371f8a75c459 22:21:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:21:05 ---> Running in 43710450d52b 22:21:06 Removing intermediate container 43710450d52b 22:21:06 ---> 5b741a1e1c91 22:21:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:06 ---> Running in 50ed20fbb59a 22:21:07 2f39f015ded8: Pull complete 22:21:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:07 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:21:07 $ 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_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:21:08 $ docker top 00ee913735aa4b0527dc207bc6418224245d037f915d501d23a1ecf7d975633d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:21:08 ---> job-cost.sh 22:21:08 lf-activate-venv: SKIPPING 22:21:08 INFO: No Stack... 22:21:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:09 INFO: Archiving Costs [Pipeline] sh 22:21:09 + + cat /w/workspace/foundry_device-onvif-camera_napa/archives/cost.csv 22:21:09 cut -d, -f6 [Pipeline] lock 22:21:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] 22:21:09 Resource [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] did not exist. Created. 22:21:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:09 OK: 266 MiB in 52 packages 22:21:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:21:09 Stashed 1 file(s) [Pipeline] } 22:21:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:10 $ docker stop --time=1 00ee913735aa4b0527dc207bc6418224245d037f915d501d23a1ecf7d975633d 22:21:10 Removing intermediate container 50ed20fbb59a 22:21:10 ---> 1812eae5de26 22:21:10 Step 9/13 : WORKDIR /device-onvif-camera 22:21:10 ---> Running in cb3454e66a2f 22:21:11 Removing intermediate container cb3454e66a2f 22:21:11 ---> ec288f85be95 22:21:11 Step 10/13 : COPY go.mod vendor* ./ 22:21:11 $ docker rm -f --volumes 00ee913735aa4b0527dc207bc6418224245d037f915d501d23a1ecf7d975633d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:19 ---> 3da21c5cd28d 22:21:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:19 ---> Running in b17f9d5f6ff0 22:22:56 Removing intermediate container b17f9d5f6ff0 22:22:56 ---> 5b87a0cad6fc 22:22:56 Step 12/13 : COPY . . 22:22:56 ---> 4c49f7913154 22:22:56 Step 13/13 : RUN ${MAKE} 22:22:56 ---> Running in 39d3812694b3 22:22:56 noop 22:22:56 Removing intermediate container 39d3812694b3 22:22:56 ---> 86cc1f5f39d3 22:22:56 Successfully built 86cc1f5f39d3 22:22:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:57 + docker inspect -f . ci-base-image-arm64 22:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-18200 does not seem to be running inside a container 22:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:22:59 $ docker top 505929c6d50361b8cd70c9adad37195fd3884370a1b274f600a5b9a677173e33 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:00 + go version 22:23:00 go version go1.21.0 linux/arm64 [Pipeline] } 22:23:00 $ docker stop --time=1 505929c6d50361b8cd70c9adad37195fd3884370a1b274f600a5b9a677173e33 22:23:02 $ docker rm -f --volumes 505929c6d50361b8cd70c9adad37195fd3884370a1b274f600a5b9a677173e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:03 + docker inspect -f . ci-base-image-arm64 22:23:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:03 prd-ubuntu20.04-docker-arm64-4c-16g-18200 does not seem to be running inside a container 22:23:03 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:23:04 $ docker top 2b39c5f1f1b919d19fb3d1250311002ec3ce535dab4aca1bcde7ffe48336922b -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:23:06 + make test 22:23:06 go test ./... -coverprofile=coverage.out ./... 22:23:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:26:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:26:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:26:02 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.216s coverage: 31.5% of statements 22:26:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.123s coverage: 86.5% of statements 22:26:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:26:29 go vet ./... 22:27:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:02 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:02 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:27:02 + go mod tidy [Pipeline] } 22:27:07 $ docker stop --time=1 2b39c5f1f1b919d19fb3d1250311002ec3ce535dab4aca1bcde7ffe48336922b 22:27:09 $ docker rm -f --volumes 2b39c5f1f1b919d19fb3d1250311002ec3ce535dab4aca1bcde7ffe48336922b [Pipeline] // withDockerContainer [Pipeline] sh 22:27:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:10 Warning: overwriting stash ‘coverage-report’ 22:27:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:13 + ls -al . 22:27:13 total 240 22:27:13 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:23 . 22:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 .. 22:27:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:20 .git 22:27:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 .github 22:27:13 -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 22:19 .gitignore 22:27:13 -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 22:19 .golangci.yml 22:27:13 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 22:19 Attribution.txt 22:27:13 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 22:19 CHANGELOG.md 22:27:13 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 22:19 Dockerfile 22:27:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:19 GOVERNANCE.md 22:27:13 -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 22:19 Jenkinsfile 22:27:13 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 22:19 LICENSE 22:27:13 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 22:19 Makefile 22:27:13 -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 22:19 OWNERS.md 22:27:13 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 22:19 README.md 22:27:13 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:27:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:19 bin 22:27:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 cmd 22:27:13 -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 22:26 coverage.out 22:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 doc 22:27:13 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 22:19 go.mod 22:27:13 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 22:19 go.sum 22:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 internal 22:27:13 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:19 vendor 22:27:13 -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:13 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=347bedc82416808981921f39711ea6e4405fc751 --label arch=arm64 --label version=3.1.0 . 22:27:16 Sending build context to Docker daemon 48.97MB 22:27:16 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 22:27:16 Step 2/27 : FROM ${BASE} AS builder 22:27:16 ---> 86cc1f5f39d3 22:27:16 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:27:16 ---> Running in 5080e4944e38 22:27:17 Removing intermediate container 5080e4944e38 22:27:17 ---> 37013a12932f 22:27:17 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:17 ---> Running in 410f242d37aa 22:27:17 Removing intermediate container 410f242d37aa 22:27:17 ---> b7dabf767008 22:27:17 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 22:27:17 ---> Running in a6d053489f9d 22:27:18 Removing intermediate container a6d053489f9d 22:27:18 ---> c0ede1ea09ff 22:27:18 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:27:18 ---> Running in 087651e10bf0 22:27:18 Removing intermediate container 087651e10bf0 22:27:18 ---> 82b5b9ba897f 22:27:18 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:27:18 ---> Running in 97bf21eccb27 22:27:19 Removing intermediate container 97bf21eccb27 22:27:19 ---> 1a0c073ec6f2 22:27:19 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:27:19 ---> Running in d094bef5ddea 22:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:27:22 OK: 266 MiB in 52 packages 22:27:23 Removing intermediate container d094bef5ddea 22:27:23 ---> 3818b9851464 22:27:23 Step 9/27 : WORKDIR /device-onvif-camera 22:27:23 ---> Running in b3c3979fe10b 22:27:23 Removing intermediate container b3c3979fe10b 22:27:23 ---> 760044b82a00 22:27:23 Step 10/27 : COPY go.mod vendor* ./ 22:27:33 ---> cd2dc831965f 22:27:33 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:33 ---> Running in 606e10a91fb9 22:27:33 skipping... 22:27:34 Removing intermediate container 606e10a91fb9 22:27:34 ---> b44a3f95dbb7 22:27:34 Step 12/27 : COPY . . 22:27:44 ---> de037da91ad4 22:27:44 Step 13/27 : RUN ${MAKE} 22:27:44 ---> Running in 3962104209da 22:27:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:30:06 Removing intermediate container 3962104209da 22:30:06 ---> 89e0b41e600f 22:30:06 Step 14/27 : FROM alpine:3.18 22:30:07 3.18: Pulling from library/alpine 22:30:07 579b34f0a95b: Pulling fs layer 22:30:07 579b34f0a95b: Verifying Checksum 22:30:07 579b34f0a95b: Download complete 22:30:08 579b34f0a95b: Pull complete 22:30:08 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:30:08 Status: Downloaded newer image for alpine:3.18 22:30:08 ---> 3cc203321400 22:30:08 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:30:08 ---> Running in 6b8004175b15 22:30:08 Removing intermediate container 6b8004175b15 22:30:08 ---> 983353e37ccb 22:30:08 Step 16/27 : RUN apk add --update --no-cache dumb-init 22:30:08 ---> Running in 5352ec76166c 22:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:30:11 (1/1) Installing dumb-init (1.2.5-r2) 22:30:11 Executing busybox-1.36.1-r2.trigger 22:30:11 OK: 8 MiB in 16 packages 22:30:12 Removing intermediate container 5352ec76166c 22:30:12 ---> ff3e7e1d7f6e 22:30:12 Step 17/27 : RUN apk --no-cache upgrade 22:30:12 ---> Running in 5d5a45ebb653 22:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:30:17 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:30:17 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:30:17 Executing busybox-1.36.1-r5.post-upgrade 22:30:17 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:30:17 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:30:17 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:30:17 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:30:17 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:30:17 Executing busybox-1.36.1-r5.trigger 22:30:17 OK: 8 MiB in 16 packages 22:30:18 Removing intermediate container 5d5a45ebb653 22:30:18 ---> c951cd6323c3 22:30:18 Step 18/27 : WORKDIR / 22:30:18 ---> Running in e872a5eb9ff0 22:30:18 Removing intermediate container e872a5eb9ff0 22:30:18 ---> 7d2c8e56bed2 22:30:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 22:30:20 ---> 78a7d080ec11 22:30:20 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:30:20 ---> 5089e4c7d9e7 22:30:20 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:30:21 ---> 717cfc0d5d9f 22:30:21 Step 22/27 : EXPOSE 59984 22:30:21 ---> Running in d26ec56045f9 22:30:21 Removing intermediate container d26ec56045f9 22:30:21 ---> 53fdbf6de546 22:30:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:30:22 ---> Running in 6602677c273f 22:30:22 Removing intermediate container 6602677c273f 22:30:22 ---> 7e33cc25ee10 22:30:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:30:22 ---> Running in 3f0ff2926d66 22:30:22 Removing intermediate container 3f0ff2926d66 22:30:22 ---> 6c0b29d0b292 22:30:22 Step 25/27 : LABEL arch=arm64 22:30:22 ---> Running in d2251de0a3e6 22:30:23 Removing intermediate container d2251de0a3e6 22:30:23 ---> b68711ee4c8b 22:30:23 Step 26/27 : LABEL git_sha=347bedc82416808981921f39711ea6e4405fc751 22:30:23 ---> Running in 09c11677bc1d 22:30:23 Removing intermediate container 09c11677bc1d 22:30:23 ---> 33d442dfb3bb 22:30:23 Step 27/27 : LABEL version=3.1.0 22:30:23 ---> Running in 8d3962c24440 22:30:23 Removing intermediate container 8d3962c24440 22:30:23 ---> 44616ec5732e 22:30:23 [Warning] One or more build-args [ARCH] were not consumed 22:30:24 Successfully built 44616ec5732e 22:30:24 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 22:30:24 provisioning config files... 22:30:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config17586657643593431254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:24 ---> docker-login.sh 22:30:24 nexus3.edgexfoundry.org:10001 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 nexus3.edgexfoundry.org:10002 22:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:25 Configure a credential helper to remove this warning. See 22:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:25 22:30:25 Login Succeeded 22:30:25 nexus3.edgexfoundry.org:10003 22:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:26 Configure a credential helper to remove this warning. See 22:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:26 22:30:26 Login Succeeded 22:30:26 nexus3.edgexfoundry.org:10004 22:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:26 Configure a credential helper to remove this warning. See 22:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:26 22:30:26 Login Succeeded 22:30:26 docker.io 22:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:27 Configure a credential helper to remove this warning. See 22:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:27 22:30:27 Login Succeeded 22:30:27 ---> docker-login.sh ends [Pipeline] } 22:30:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:27 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:30:27 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 22:30:27 347bedc82416808981921f39711ea6e4405fc751 22:30:27 3.1.0 22:30:27 347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:30:27 napa 22:30:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751 22:30:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:30:27 a1982dec1e13: Preparing 22:30:27 207978ca6f40: Preparing 22:30:27 c0b1fc0c5ca1: Preparing 22:30:27 c343ce9f6e58: Preparing 22:30:27 06bfb0b169e9: Preparing 22:30:27 5f4d9fc4d98d: Preparing 22:30:27 5f4d9fc4d98d: Waiting 22:30:28 207978ca6f40: Pushed 22:30:28 a1982dec1e13: Pushed 22:30:28 06bfb0b169e9: Pushed 22:30:28 5f4d9fc4d98d: Layer already exists 22:30:30 c343ce9f6e58: Pushed 22:30:35 c0b1fc0c5ca1: Pushed 22:30:35 347bedc82416808981921f39711ea6e4405fc751: digest: sha256:0b66da31c701d653d0309020151a8b1fad5d51804071e50e130d2b2421a2b65a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:35 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0 22:30:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:30:36 a1982dec1e13: Preparing 22:30:36 207978ca6f40: Preparing 22:30:36 c0b1fc0c5ca1: Preparing 22:30:36 c343ce9f6e58: Preparing 22:30:36 06bfb0b169e9: Preparing 22:30:36 5f4d9fc4d98d: Preparing 22:30:36 5f4d9fc4d98d: Waiting 22:30:36 a1982dec1e13: Layer already exists 22:30:36 207978ca6f40: Layer already exists 22:30:36 06bfb0b169e9: Layer already exists 22:30:36 c0b1fc0c5ca1: Layer already exists 22:30:36 c343ce9f6e58: Layer already exists 22:30:36 5f4d9fc4d98d: Layer already exists 22:30:36 3.1.0: digest: sha256:0b66da31c701d653d0309020151a8b1fad5d51804071e50e130d2b2421a2b65a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:30:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:30:37 a1982dec1e13: Preparing 22:30:37 207978ca6f40: Preparing 22:30:37 c0b1fc0c5ca1: Preparing 22:30:37 c343ce9f6e58: Preparing 22:30:37 06bfb0b169e9: Preparing 22:30:37 5f4d9fc4d98d: Preparing 22:30:37 06bfb0b169e9: Layer already exists 22:30:37 a1982dec1e13: Layer already exists 22:30:37 c0b1fc0c5ca1: Layer already exists 22:30:37 207978ca6f40: Layer already exists 22:30:37 c343ce9f6e58: Layer already exists 22:30:37 5f4d9fc4d98d: Layer already exists 22:30:37 347bedc82416808981921f39711ea6e4405fc751-3.1.0: digest: sha256:0b66da31c701d653d0309020151a8b1fad5d51804071e50e130d2b2421a2b65a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa 22:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:30:38 a1982dec1e13: Preparing 22:30:38 207978ca6f40: Preparing 22:30:38 c0b1fc0c5ca1: Preparing 22:30:38 c343ce9f6e58: Preparing 22:30:38 06bfb0b169e9: Preparing 22:30:38 5f4d9fc4d98d: Preparing 22:30:38 5f4d9fc4d98d: Waiting 22:30:38 c0b1fc0c5ca1: Layer already exists 22:30:38 06bfb0b169e9: Layer already exists 22:30:38 a1982dec1e13: Layer already exists 22:30:38 207978ca6f40: Layer already exists 22:30:38 c343ce9f6e58: Layer already exists 22:30:38 5f4d9fc4d98d: Layer already exists 22:30:38 napa: digest: sha256:0b66da31c701d653d0309020151a8b1fad5d51804071e50e130d2b2421a2b65a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:30:38 ===================================================== [Pipeline] echo 22:30:38 taggedImages: 22:30:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751 22:30:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0 22:30:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:347bedc82416808981921f39711ea6e4405fc751-3.1.0 22:30:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:38 22:30:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:39 arm64: Pulling from edgex-lftools-log-publisher 22:30:39 8998bd30e6a1: Pulling fs layer 22:30:39 04944245beec: Pulling fs layer 22:30:39 699f458cf7ca: Pulling fs layer 22:30:39 765212b225bb: Pulling fs layer 22:30:39 f23df028b6ca: Pulling fs layer 22:30:39 d65c8cfc05b1: Pulling fs layer 22:30:39 2437ff75d9bd: Pulling fs layer 22:30:39 765212b225bb: Waiting 22:30:39 f23df028b6ca: Waiting 22:30:39 2437ff75d9bd: Waiting 22:30:39 04944245beec: Verifying Checksum 22:30:39 04944245beec: Download complete 22:30:39 765212b225bb: Download complete 22:30:39 f23df028b6ca: Verifying Checksum 22:30:39 f23df028b6ca: Download complete 22:30:39 d65c8cfc05b1: Verifying Checksum 22:30:39 d65c8cfc05b1: Download complete 22:30:39 699f458cf7ca: Verifying Checksum 22:30:39 699f458cf7ca: Download complete 22:30:39 8998bd30e6a1: Verifying Checksum 22:30:39 8998bd30e6a1: Download complete 22:30:42 2437ff75d9bd: Verifying Checksum 22:30:42 2437ff75d9bd: Download complete 22:30:44 8998bd30e6a1: Pull complete 22:30:45 04944245beec: Pull complete 22:30:46 699f458cf7ca: Pull complete 22:30:46 765212b225bb: Pull complete 22:30:48 f23df028b6ca: Pull complete 22:30:48 d65c8cfc05b1: Pull complete 22:31:07 2437ff75d9bd: Pull complete 22:31:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:31:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:31:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:07 prd-ubuntu20.04-docker-arm64-4c-16g-18200 does not seem to be running inside a container 22:31:07 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 22:31:10 $ docker top 4d89136bfeea800ce31ccac0e5c0e5be05f92d49c8706b4c646f157e23a773a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:11 ---> job-cost.sh 22:31:11 lf-activate-venv: SKIPPING 22:31:11 INFO: No Stack... 22:31:11 INFO: Retrieving Pricing Info for: v3-standard-4 22:31:12 INFO: Archiving Costs [Pipeline] sh 22:31:12 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:31:12 + cut -d, -f6 [Pipeline] lock 22:31:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] 22:31:13 Resource [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] did not exist. Created. 22:31:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:13 /w/workspace/device-onvif-camera/2@tmp/durable-9ff36ffc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:31:14 + echo total: 0.10999999940395355 [Pipeline] stash 22:31:14 Warning: overwriting stash ‘stack-cost’ 22:31:14 Stashed 1 file(s) [Pipeline] } 22:31:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:14 $ docker stop --time=1 4d89136bfeea800ce31ccac0e5c0e5be05f92d49c8706b4c646f157e23a773a3 22:31:17 $ docker rm -f --volumes 4d89136bfeea800ce31ccac0e5c0e5be05f92d49c8706b4c646f157e23a773a3 [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 22:31:17 provisioning config files... 22:31:17 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config3091512680680396488tmp [Pipeline] { [Pipeline] sh 22:31:18 + set +x 22:31:18 + curl -s https://codecov.io/bash 22:31:18 + bash -s -- 22:31:18 22:31:18 _____ _ 22:31:18 / ____| | | 22:31:18 | | ___ __| | ___ ___ _____ __ 22:31:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:31:18 | |___| (_) | (_| | __/ (_| (_) \ V / 22:31:18 \_____\___/ \__,_|\___|\___\___/ \_/ 22:31:18 Bash-1.0.6 22:31:18 22:31:18 22:31:18 ==> git version 2.25.1 found 22:31:18 ==> 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 22:31:18 Release-Date: 2020-01-08 22:31:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:31:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:31:18 ==> Jenkins CI detected. 22:31:18 current dir:  /w/workspace/foundry_device-onvif-camera_napa 22:31:18 project root: . 22:31:18 --> token set from env 22:31:18 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:31:18 ==> Running gcov in . (disable via -X gcov) 22:31:18 ==> Python coveragepy not found 22:31:18 ==> Searching for coverage reports in: 22:31:18 + . 22:31:18 -> Found 1 reports 22:31:18 ==> Detecting git/mercurial file structure 22:31:18 ==> Reading reports 22:31:18 + ./coverage.out bytes=78456 22:31:18 ==> Appending adjustments 22:31:18 https://docs.codecov.io/docs/fixing-reports 22:31:18 + Found adjustments 22:31:18 ==> Gzipping contents 22:31:18 24K /tmp/codecov.11cYop.gz 22:31:18 ==> Uploading reports 22:31:18 url: https://codecov.io 22:31:18 query: branch=napa&commit=347bedc82416808981921f39711ea6e4405fc751&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:18 -> Pinging Codecov 22:31:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=napa&commit=347bedc82416808981921f39711ea6e4405fc751&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:31:18 -> Uploading to 22:31:18 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F29A59C45E3A92E06B3E522C9905F8EF/347bedc82416808981921f39711ea6e4405fc751/7b765467-fe94-4d25-a3f8-e66fa9a5dce7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T223118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c05fd7c7a85090b7dec5405c61d59a40717812ac209ffb46f48cf980f7b4d6ec 22:31:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:18 Dload Upload Total Spent Left Speed 22:31:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23774 0 0 100 23774 0 85211 --:--:-- --:--:-- --:--:-- 84907 22:31:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/347bedc82416808981921f39711ea6e4405fc751 [Pipeline] } 22:31:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:31:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:31:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:19 22:31:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:31:19 df9b9388f04a: Pulling fs layer 22:31:19 52dc419b0ee2: Pulling fs layer 22:31:19 25bc292e5bac: Pulling fs layer 22:31:19 114826534d7a: Pulling fs layer 22:31:19 4657fd5d0bcf: Pulling fs layer 22:31:19 6ad1cebc031e: Pulling fs layer 22:31:19 8a3aa393b2d8: Pulling fs layer 22:31:19 114826534d7a: Waiting 22:31:19 4657fd5d0bcf: Waiting 22:31:19 6ad1cebc031e: Waiting 22:31:19 8a3aa393b2d8: Waiting 22:31:19 25bc292e5bac: Download complete 22:31:19 52dc419b0ee2: Verifying Checksum 22:31:19 52dc419b0ee2: Download complete 22:31:19 4657fd5d0bcf: Download complete 22:31:19 df9b9388f04a: Verifying Checksum 22:31:19 df9b9388f04a: Download complete 22:31:19 df9b9388f04a: Pull complete 22:31:19 6ad1cebc031e: Verifying Checksum 22:31:19 6ad1cebc031e: Download complete 22:31:19 52dc419b0ee2: Pull complete 22:31:19 25bc292e5bac: Pull complete 22:31:20 114826534d7a: Verifying Checksum 22:31:20 114826534d7a: Download complete 22:31:20 8a3aa393b2d8: Verifying Checksum 22:31:20 8a3aa393b2d8: Download complete 22:31:24 114826534d7a: Pull complete 22:31:24 4657fd5d0bcf: Pull complete 22:31:24 6ad1cebc031e: Pull complete 22:31:26 8a3aa393b2d8: Pull complete 22:31:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:31:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:26 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:31:26 $ 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_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:31:35 $ docker top f9940c1c782aaa3bd85e9aa7300afda7732aa9f199c9f0a76a38295db0899660 -eo pid,comm [Pipeline] { [Pipeline] echo 22:31:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:napa' [Pipeline] sh 22:31:36 + set -o pipefail 22:31:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:napa' 22:31:39 22:31:39 Monitoring /w/workspace/foundry_device-onvif-camera_napa (github.com/edgexfoundry/device-onvif-camera)... 22:31:39 22:31:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5c17e3b8-aa65-4d06-bbec-0c94759cb72c/history/8d370800-f5de-4201-8073-92b4b070a0d2 22:31:39 22:31:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:31:39 22:31:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:31:39 22:31:39 22:31:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:31:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:31:39 More details here: https://snyk.co/ue1NS [Pipeline] } 22:31:39 $ docker stop --time=1 f9940c1c782aaa3bd85e9aa7300afda7732aa9f199c9f0a76a38295db0899660 22:31:40 $ docker rm -f --volumes f9940c1c782aaa3bd85e9aa7300afda7732aa9f199c9f0a76a38295db0899660 [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 22:31:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:41 provisioning config files... 22:31:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config12480980840188059086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:41 --> edgex-publish-swagger.sh 22:31:41 === Publish doc/openapi/v3 API === 22:31:41 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 22:31:41 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_napa/doc/openapi/v3/device-onvif-camera.yaml] 22:31:41 % Total % Received % Xferd Average Speed Time Time Time Current 22:31:41 Dload Upload Total Spent Left Speed 22:31:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 771k --:--:-- --:--:-- --:--:-- 770k 100 485k 0 0 100 485k 0 770k --:--:-- --:--:-- --:--:-- 770k 22:31:42 22:31:42 [Pipeline] } 22:31:42 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 22:31:42 + git log --format=format:%s -1 347bedc82416808981921f39711ea6e4405fc751 [Pipeline] sh 22:31:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:43 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:31:43 $ docker top 57024541c70040d77368c3029a8cd3d6562d44262417abd898077f70e1f4127a -eo pid,comm 22:31:43 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:31:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:31:43 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:43 + git semver [Pipeline] } 22:31:44 $ docker stop --time=1 57024541c70040d77368c3029a8cd3d6562d44262417abd898077f70e1f4127a 22:31:45 $ docker rm -f --volumes 57024541c70040d77368c3029a8cd3d6562d44262417abd898077f70e1f4127a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:45 22:31:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:46 0.23.1-centos7: Pulling from edgex-lftools 22:31:46 ab5ef0e58194: Pulling fs layer 22:31:46 9712f1f96733: Pulling fs layer 22:31:46 63f879dbbcfc: Pulling fs layer 22:31:46 0d9ebad4ef96: Pulling fs layer 22:31:46 e9a5061849ea: Pulling fs layer 22:31:46 d747dcd14b5f: Pulling fs layer 22:31:46 2de7ff778b66: Pulling fs layer 22:31:46 0d9ebad4ef96: Waiting 22:31:46 e9a5061849ea: Waiting 22:31:46 d747dcd14b5f: Waiting 22:31:46 2de7ff778b66: Waiting 22:31:46 9712f1f96733: Verifying Checksum 22:31:46 9712f1f96733: Download complete 22:31:46 63f879dbbcfc: Verifying Checksum 22:31:46 63f879dbbcfc: Download complete 22:31:46 e9a5061849ea: Verifying Checksum 22:31:46 e9a5061849ea: Download complete 22:31:46 d747dcd14b5f: Verifying Checksum 22:31:46 d747dcd14b5f: Download complete 22:31:46 ab5ef0e58194: Verifying Checksum 22:31:46 ab5ef0e58194: Download complete 22:31:46 0d9ebad4ef96: Verifying Checksum 22:31:46 0d9ebad4ef96: Download complete 22:31:46 2de7ff778b66: Download complete 22:31:49 ab5ef0e58194: Pull complete 22:31:49 9712f1f96733: Pull complete 22:31:49 63f879dbbcfc: Pull complete 22:31:52 0d9ebad4ef96: Pull complete 22:31:53 e9a5061849ea: Pull complete 22:31:53 d747dcd14b5f: Pull complete 22:31:54 2de7ff778b66: Pull complete 22:31:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:54 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:32:01 $ docker top f94998c757c6723b6ef566ac922f92db0c41721677d07ed6ad8d7962b9e4e9c1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:32:01 provisioning config files... 22:32:01 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config6667077071835511271tmp 22:32:01 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config16085022230840631128tmp 22:32:01 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config5999105971566447943tmp [Pipeline] { [Pipeline] echo 22:32:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:32:02 ---> sigul-configuration.sh 22:32:02 gpg: directory `/root/.gnupg' created 22:32:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:32:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:32:02 gpg: keyring `/root/.gnupg/secring.gpg' created 22:32:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:32:02 gpg: CAST5 encrypted data 22:32:02 gpg: encrypted with 1 passphrase 22:32:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:32:02 + mkdir /home/jenkins 22:32:02 + mkdir /home/jenkins/sigul [Pipeline] sh 22:32:02 + 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 22:32:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:32:02 ---> sigul-install.sh 22:32:02 Sigul already installed; skipping installation. [Pipeline] sh 22:32:03 + git tag --list 22:32:03 v0.0.0 22:32:03 v2.2.0 22:32:03 v2.3.0 22:32:03 v2.3.1 22:32:03 v3.0 22:32:03 v3.0.0 22:32:03 v3.1.0 22:32:03 v3.1.0-dev.1 22:32:03 v3.1.0-dev.10 22:32:03 v3.1.0-dev.11 22:32:03 v3.1.0-dev.12 22:32:03 v3.1.0-dev.13 22:32:03 v3.1.0-dev.14 22:32:03 v3.1.0-dev.15 22:32:03 v3.1.0-dev.16 22:32:03 v3.1.0-dev.17 22:32:03 v3.1.0-dev.18 22:32:03 v3.1.0-dev.19 22:32:03 v3.1.0-dev.2 22:32:03 v3.1.0-dev.20 22:32:03 v3.1.0-dev.21 22:32:03 v3.1.0-dev.22 22:32:03 v3.1.0-dev.23 22:32:03 v3.1.0-dev.24 22:32:03 v3.1.0-dev.25 22:32:03 v3.1.0-dev.26 22:32:03 v3.1.0-dev.27 22:32:03 v3.1.0-dev.28 22:32:03 v3.1.0-dev.3 22:32:03 v3.1.0-dev.4 22:32:03 v3.1.0-dev.5 22:32:03 v3.1.0-dev.6 22:32:03 v3.1.0-dev.7 22:32:03 v3.1.0-dev.8 22:32:03 v3.1.0-dev.9 [Pipeline] sh 22:32:03 + lftools sign git-tag v3.1.0 22:32:04 Signing Git tag with Sigul... 22:32:04 Signing v3.1.0 [Pipeline] echo 22:32:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:32:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:32:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:32:05 $ docker stop --time=1 f94998c757c6723b6ef566ac922f92db0c41721677d07ed6ad8d7962b9e4e9c1 22:32:06 $ docker rm -f --volumes f94998c757c6723b6ef566ac922f92db0c41721677d07ed6ad8d7962b9e4e9c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:32:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:07 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:32:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:32:08 $ docker top 091bd902ba1525a9fd00b61080c21f5b68618d96d443730e809a9f268b208873 -eo pid,comm 22:32:08 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:32:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:08 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:08 + git semver [Pipeline] } 22:32:09 $ docker stop --time=1 091bd902ba1525a9fd00b61080c21f5b68618d96d443730e809a9f268b208873 22:32:11 $ docker rm -f --volumes 091bd902ba1525a9fd00b61080c21f5b68618d96d443730e809a9f268b208873 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:12 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:32:12 $ docker top b37479b0ff07c636d3ec4442d82510bf191802045ca8ec90886e742f964b80b3 -eo pid,comm 22:32:12 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:32:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:12 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:13 + git semver [Pipeline] } 22:32:13 $ docker stop --time=1 b37479b0ff07c636d3ec4442d82510bf191802045ca8ec90886e742f964b80b3 22:32:15 $ docker rm -f --volumes b37479b0ff07c636d3ec4442d82510bf191802045ca8ec90886e742f964b80b3 [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 22:32:15 + [ -d /w/workspace/foundry_device-onvif-camera_napa/archives ] 22:32:15 + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives 22:32:15 total 16 22:32:15 drwxr-xr-x 3 root root 4096 Nov 15 22:21 . 22:32:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:32 .. 22:32:15 drwxr-xr-x 2 root root 4096 Nov 15 22:21 cost 22:32:15 -rw-r--r-- 1 root root 89 Nov 15 22:21 cost.csv 22:32:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_napa/archives 22:32:15 + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives 22:32:15 total 16 22:32:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:21 . 22:32:15 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:32 .. 22:32:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:21 cost 22:32:15 -rw-r--r-- 1 jenkins jenkins 89 Nov 15 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:32:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:32:17 ---> package-listing.sh 22:32:17 ++ facter osfamily 22:32:17 ++ tr '[:upper:]' '[:lower:]' 22:32:17 + OS_FAMILY=debian 22:32:17 + workspace=/w/workspace/foundry_device-onvif-camera_napa 22:32:17 + START_PACKAGES=/tmp/packages_start.txt 22:32:17 + END_PACKAGES=/tmp/packages_end.txt 22:32:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:32:17 + PACKAGES=/tmp/packages_start.txt 22:32:17 + '[' /w/workspace/foundry_device-onvif-camera_napa ']' 22:32:17 + PACKAGES=/tmp/packages_end.txt 22:32:17 + case "${OS_FAMILY}" in 22:32:17 + dpkg -l 22:32:17 + grep '^ii' 22:32:17 + '[' -f /tmp/packages_start.txt ']' 22:32:17 + '[' -f /tmp/packages_end.txt ']' 22:32:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:32:17 + '[' /w/workspace/foundry_device-onvif-camera_napa ']' 22:32:17 + mkdir -p /w/workspace/foundry_device-onvif-camera_napa/archives/ 22:32:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_napa/archives/ [Pipeline] echo 22:32:17 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:32:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:18 prd-ubuntu20.04-docker-8c-8g-18185 does not seem to be running inside a container 22:32:18 $ 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_napa/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_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@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 22:32:18 $ docker top a8064ff7b3895ab162cd56ac01d894f730f8b7f7d8fa48cc55cb8cfe8a981e67 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:18 + touch /tmp/pre-build-complete [Pipeline] sh 22:32:19 + mkdir -p /var/log/sysstat [Pipeline] sh 22:32:19 + ls /var/log/sa-host 22:32:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:19 provisioning config files... 22:32:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config817080919447136828tmp [Pipeline] { [Pipeline] echo 22:32:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:32:19 ---> create-netrc.sh [Pipeline] } 22:32:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:32:20 ---> python-tools-install.sh [Pipeline] echo 22:32:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:32:20 ---> sudo-logs.sh 22:32:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:32:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:32:20 ---> job-cost.sh 22:32:20 lf-activate-venv: SKIPPING 22:32:20 DEBUG: total: 0.2199999988079071 22:32:20 INFO: Retrieving Stack Cost... 22:32:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:32:21 INFO: Archiving Costs [Pipeline] echo 22:32:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:32:21 ---> logs-deploy.sh 22:32:21 lf-activate-venv: SKIPPING 22:32:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/napa/2 22:32:21 INFO: archiving workspace using pattern(s): 22:32:22 Archives upload complete. 22:32:23 INFO: archiving logs to Nexus