Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 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 e053ce5f716bc748f519b5d605ecd7797861296e 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-ssh11884677099576531093.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9038162841322903864.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6023809278042275420.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh1631954906864007993.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-ssh6254826685047502610.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-2008 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 Avoid second fetch Checking out Revision e053ce5f716bc748f519b5d605ecd7797861296e (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @50147a6" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e053ce5f716bc748f519b5d605ecd7797861296e # timeout=10 > git rev-list --no-walk e053ce5f716bc748f519b5d605ecd7797861296e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:40:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:40:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:40:46 ========================================================= 09:40:46 EdgeX Global Pipelines Version Info 09:40:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:40:47 ------------------- 09:40:47 stable info: 09:40:47 ------------------- 09:40:47 Commited By: Ginny Guan ginny@iotechsys.com 09:40:47 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:40:47 Message: update stable to v1.0.260 09:40:48 ------------------- 09:40:48 experimental info: 09:40:48 ------------------- 09:40:48 Commited By: Ginny Guan ginny@iotechsys.com 09:40:48 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:40:48 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e053ce5 [Pipeline] echo 09:40:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:40:49 provisioning config files... 09:40:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config9483731832413068416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:49 ---> ****-login.sh 09:40:49 nexus3.edgexfoundry.org:10001 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10002 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10003 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:49 Configure a credential helper to remove this warning. See 09:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:49 09:40:49 Login Succeeded 09:40:49 nexus3.edgexfoundry.org:10004 09:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:50 Configure a credential helper to remove this warning. See 09:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:50 09:40:50 Login Succeeded 09:40:50 ****.io 09:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:40:50 Configure a credential helper to remove this warning. See 09:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:40:50 09:40:50 Login Succeeded 09:40:50 ---> ****-login.sh ends [Pipeline] } 09:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:40:50 + git rev-list -1 --merges e053ce5f716bc748f519b5d605ecd7797861296e~1..e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] echo 09:40:50 -----------> git rev-list -1 --merges e053ce5f716bc748f519b5d605ecd7797861296e~1..e053ce5f716bc748f519b5d605ecd7797861296e e053ce5f716bc748f519b5d605ecd7797861296e [false] [Pipeline] sh 09:40:51 + git log --format=format:%s -1 e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] echo 09:40:51 ========================================================= 09:40:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 09:40:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:51 + git log --format=format:%s -1 e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] echo 09:40:51 [semverPrep] GIT_COMMIT: e053ce5f716bc748f519b5d605ecd7797861296e, Commit Message: ci(lts-release): LTS release v3.1.1 @50147a6 [Pipeline] echo 09:40:51 [semverPrep] This is not a build commit. [Pipeline] sh 09:40:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:40:51 + grep -v github /etc/ssh/ssh_known_hosts 09:40:51 + [ -e /tmp/ssh_known_hosts ] 09:40:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:40:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:40:51 + sudo tee -a /etc/ssh/ssh_known_hosts 09:40:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:52 09:40:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:52 0.1.4: Pulling from edgex-devops/py-git-semver 09:40:52 b85a868b505f: Pulling fs layer 09:40:52 e2be974225ed: Pulling fs layer 09:40:52 339a4e72a1f5: Pulling fs layer 09:40:52 988bab9f4d93: Pulling fs layer 09:40:52 1469e6f7b9e6: Pulling fs layer 09:40:52 eaf3925da568: Pulling fs layer 09:40:52 bab4dde63d76: Pulling fs layer 09:40:52 bde34c3a00c8: Pulling fs layer 09:40:52 b352a97aabf1: Pulling fs layer 09:40:52 4872d77fe225: Pulling fs layer 09:40:52 5851b861e8e6: Pulling fs layer 09:40:52 1469e6f7b9e6: Waiting 09:40:52 b352a97aabf1: Waiting 09:40:52 4872d77fe225: Waiting 09:40:52 eaf3925da568: Waiting 09:40:52 5851b861e8e6: Waiting 09:40:52 bab4dde63d76: Waiting 09:40:52 988bab9f4d93: Waiting 09:40:52 bde34c3a00c8: Waiting 09:40:52 e2be974225ed: Download complete 09:40:52 988bab9f4d93: Verifying Checksum 09:40:52 988bab9f4d93: Download complete 09:40:52 1469e6f7b9e6: Verifying Checksum 09:40:52 1469e6f7b9e6: Download complete 09:40:52 eaf3925da568: Verifying Checksum 09:40:52 eaf3925da568: Download complete 09:40:52 339a4e72a1f5: Verifying Checksum 09:40:52 339a4e72a1f5: Download complete 09:40:52 bde34c3a00c8: Download complete 09:40:52 b352a97aabf1: Verifying Checksum 09:40:52 b352a97aabf1: Download complete 09:40:52 4872d77fe225: Verifying Checksum 09:40:52 4872d77fe225: Download complete 09:40:52 5851b861e8e6: Download complete 09:40:52 b85a868b505f: Verifying Checksum 09:40:52 b85a868b505f: Download complete 09:40:53 bab4dde63d76: Verifying Checksum 09:40:53 bab4dde63d76: Download complete 09:40:54 b85a868b505f: Pull complete 09:40:54 e2be974225ed: Pull complete 09:40:54 339a4e72a1f5: Pull complete 09:40:54 988bab9f4d93: Pull complete 09:40:55 1469e6f7b9e6: Pull complete 09:40:55 eaf3925da568: Pull complete 09:40:57 bab4dde63d76: Pull complete 09:40:57 bde34c3a00c8: Pull complete 09:40:57 b352a97aabf1: Pull complete 09:40:57 4872d77fe225: Pull complete 09:40:57 5851b861e8e6: Pull complete 09:40:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:40:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:57 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:40:57 $ 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 09:41:04 $ docker top 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 -eo pid,comm 09:41:04 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). 09:41:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:41:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:04 [ssh-agent] Looking for ssh-agent implementation... 09:41:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:04 $ docker exec 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 ssh-agent 09:41:04 SSH_AUTH_SOCK=/tmp/ssh-KuBu9KvMm3Fw/agent.14 09:41:04 SSH_AGENT_PID=20 09:41:04 Running ssh-add (command line suppressed) 09:41:04 Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_4608281626689347723.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_4608281626689347723.key) 09:41:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:04 + git tag --points-at e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] } 09:41:04 $ docker exec --env ******** --env ******** 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 ssh-agent -k 09:41:04 unset SSH_AUTH_SOCK; 09:41:04 unset SSH_AGENT_PID; 09:41:04 echo Agent pid 20 killed; 09:41:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:41:05 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 09:41:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:41:05 [ssh-agent] Looking for ssh-agent implementation... 09:41:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:41:05 $ docker exec 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 ssh-agent 09:41:05 SSH_AUTH_SOCK=/tmp/ssh-zIAuOl163mpY/agent.72 09:41:05 SSH_AGENT_PID=79 09:41:05 Running ssh-add (command line suppressed) 09:41:05 Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_1612575889550708807.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_1612575889550708807.key) 09:41:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:41:05 + git semver init 09:41:05 2024-05-31 09:41:05,920 [run_init] DEBUG init version:0.0.0 force:False 09:41:05 2024-05-31 09:41:05,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_napa/.semver 09:41:05 2024-05-31 09:41:05,921 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_napa/.semver 09:41:05 2024-05-31 09:41:05,922 [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) 09:41:07 2024-05-31 09:41:07,492 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_napa/.git/info/exclude 09:41:07 2024-05-31 09:41:07,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_napa/.semver/napa with force:False 09:41:07 2024-05-31 09:41:07,493 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa 09:41:07 2024-05-31 09:41:07,493 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa 09:41:07 3.1.1 [Pipeline] } 09:41:07 $ docker exec --env ******** --env ******** 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 ssh-agent -k 09:41:08 unset SSH_AUTH_SOCK; 09:41:08 unset SSH_AGENT_PID; 09:41:08 echo Agent pid 79 killed; 09:41:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:41:08 + git semver [Pipeline] } 09:41:08 $ docker stop --time=1 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 09:41:09 $ docker rm -f --volumes 25a2ae8d63356504f6b2312c29148e7a13004a17443bba298d61c27deb1dd364 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:41:10 Stashed 1 file(s) [Pipeline] echo 09:41:10 [edgeXSemver]: initialized semver on version 3.1.1 [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 09:41:10 + git checkout e053ce5f716bc748f519b5d605ecd7797861296e 09:41:10 HEAD is now at e053ce5 ci(lts-release): LTS release v3.1.1 @50147a6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:10 provisioning config files... 09:41:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config8237990651552785020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:11 ---> ****-login.sh 09:41:11 nexus3.edgexfoundry.org:10001 09:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:11 Configure a credential helper to remove this warning. See 09:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:11 09:41:11 Login Succeeded 09:41:11 nexus3.edgexfoundry.org:10002 09:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:11 Configure a credential helper to remove this warning. See 09:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:11 09:41:11 Login Succeeded 09:41:11 nexus3.edgexfoundry.org:10003 09:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:11 Configure a credential helper to remove this warning. See 09:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:11 09:41:11 Login Succeeded 09:41:11 nexus3.edgexfoundry.org:10004 09:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:11 Configure a credential helper to remove this warning. See 09:41:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:11 09:41:11 Login Succeeded 09:41:11 ****.io 09:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:41:12 Configure a credential helper to remove this warning. See 09:41:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:41:12 09:41:12 Login Succeeded 09:41:12 ---> ****-login.sh ends [Pipeline] } 09:41:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:41:12 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:41:12 + grep ^go [0-9].[0-9]* go.mod 09:41:12 + cut -d -f 2 [Pipeline] echo 09:41:12 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:41:12 ========================================================= 09:41:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:41:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:12 + 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 . 09:41:13 Sending build context to Docker daemon 66.62MB 09:41:13 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 09:41:13 Step 2/13 : FROM ${BASE} AS builder 09:41:13 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:41:13 619be1103602: Pulling fs layer 09:41:13 7862e08f4a3e: Pulling fs layer 09:41:13 5df492c9dc93: Pulling fs layer 09:41:13 7629e6793208: Pulling fs layer 09:41:13 4f4fb700ef54: Pulling fs layer 09:41:13 8de7f028bff5: Pulling fs layer 09:41:13 44042ff1420b: Pulling fs layer 09:41:13 5cdaf54b7214: Pulling fs layer 09:41:13 38f3e5a9071a: Pulling fs layer 09:41:13 7629e6793208: Waiting 09:41:13 44042ff1420b: Waiting 09:41:13 4f4fb700ef54: Waiting 09:41:13 8de7f028bff5: Waiting 09:41:13 5cdaf54b7214: Waiting 09:41:13 38f3e5a9071a: Waiting 09:41:13 7862e08f4a3e: Download complete 09:41:13 7629e6793208: Verifying Checksum 09:41:13 7629e6793208: Download complete 09:41:13 4f4fb700ef54: Verifying Checksum 09:41:13 4f4fb700ef54: Download complete 09:41:13 8de7f028bff5: Download complete 09:41:13 619be1103602: Download complete 09:41:13 44042ff1420b: Verifying Checksum 09:41:13 44042ff1420b: Download complete 09:41:13 619be1103602: Pull complete 09:41:13 38f3e5a9071a: Verifying Checksum 09:41:13 38f3e5a9071a: Download complete 09:41:13 7862e08f4a3e: Pull complete 09:41:14 5df492c9dc93: Verifying Checksum 09:41:14 5df492c9dc93: Download complete 09:41:14 5cdaf54b7214: Verifying Checksum 09:41:14 5cdaf54b7214: Download complete 09:41:17 5df492c9dc93: Pull complete 09:41:17 7629e6793208: Pull complete 09:41:17 4f4fb700ef54: Pull complete 09:41:17 8de7f028bff5: Pull complete 09:41:17 44042ff1420b: Pull complete 09:41:19 5cdaf54b7214: Pull complete 09:41:20 38f3e5a9071a: Pull complete 09:41:20 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:41:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:41:20 ---> 60b93f829570 09:41:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:41:25 Still waiting to schedule task 09:41:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ 09:41:32 ---> Running in 4de6eb5ac3d8 09:41:32 Removing intermediate container 4de6eb5ac3d8 09:41:32 ---> 3dc4e5b85c53 09:41:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:32 ---> Running in 11c2e152fedf 09:41:32 Removing intermediate container 11c2e152fedf 09:41:32 ---> 4de2d329e4f2 09:41:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:41:32 ---> Running in f8d12d4c4463 09:41:33 Removing intermediate container f8d12d4c4463 09:41:33 ---> ad88cc6343cf 09:41:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:41:33 ---> Running in 7c0b447a5032 09:41:33 Removing intermediate container 7c0b447a5032 09:41:33 ---> bd2799d5d37d 09:41:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:41:33 ---> Running in a38ccb90650b 09:41:33 Removing intermediate container a38ccb90650b 09:41:33 ---> 5ebbd0aace78 09:41:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:33 ---> Running in 62402d50b991 09:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:41:33 OK: 264 MiB in 52 packages 09:41:34 Removing intermediate container 62402d50b991 09:41:34 ---> 6da1711734fb 09:41:34 Step 9/13 : WORKDIR /device-onvif-camera 09:41:34 ---> Running in 2b20fb946dc7 09:41:34 Removing intermediate container 2b20fb946dc7 09:41:34 ---> c944ff8e3393 09:41:34 Step 10/13 : COPY go.mod vendor* ./ 09:41:37 ---> 0e161185d37b 09:41:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:37 ---> Running in 798daca678aa 09:42:24 Removing intermediate container 798daca678aa 09:42:24 ---> 32036c686acd 09:42:24 Step 12/13 : COPY . . 09:42:24 ---> b9aea639237a 09:42:24 Step 13/13 : RUN ${MAKE} 09:42:24 ---> Running in 81b4a6df8947 09:42:24 noop 09:42:24 Removing intermediate container 81b4a6df8947 09:42:24 ---> b97dc12b1ddd 09:42:24 Successfully built b97dc12b1ddd 09:42:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:25 + docker inspect -f . ci-base-image-x86_64 09:42:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:25 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:42:25 $ 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 09:42:25 $ docker top 64449a95858575c967b44d24aed7b6984a6e201c3be738a44613730e5f06e45b -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:25 + go version 09:42:25 go version go1.21.9 linux/amd64 [Pipeline] } 09:42:25 $ docker stop --time=1 64449a95858575c967b44d24aed7b6984a6e201c3be738a44613730e5f06e45b 09:42:27 $ docker rm -f --volumes 64449a95858575c967b44d24aed7b6984a6e201c3be738a44613730e5f06e45b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:27 + docker inspect -f . ci-base-image-x86_64 09:42:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:27 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:42:27 $ 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 09:42:28 $ docker top 4d3ae266a7ae07261cd969f8906c93db92369a3a8405adc2c99791675cdd2a1a -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:28 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_napa [Pipeline] fileExists [Pipeline] sh 09:42:28 + make test 09:42:28 go test ./... -coverprofile=coverage.out ./... 09:42:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:42:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:42:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:42:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 31.5% of statements 09:42:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.123s coverage: 86.5% of statements 09:42:50 go vet ./... 09:42:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:42:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:42:54 ./bin/test-attribution-txt.sh [Pipeline] echo 09:42:54 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:42:55 + go mod tidy [Pipeline] } 09:42:55 $ docker stop --time=1 4d3ae266a7ae07261cd969f8906c93db92369a3a8405adc2c99791675cdd2a1a 09:42:59 $ docker rm -f --volumes 4d3ae266a7ae07261cd969f8906c93db92369a3a8405adc2c99791675cdd2a1a [Pipeline] // withDockerContainer [Pipeline] sh 09:43:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:43:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:43:01 + ls -al . 09:43:01 total 244 09:43:01 drwxrwxr-x 10 jenkins jenkins 4096 May 31 09:42 . 09:43:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 .. 09:43:01 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git 09:43:01 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 .github 09:43:01 -rw-rw-r-- 1 jenkins jenkins 493 May 31 09:40 .gitignore 09:43:01 -rw-rw-r-- 1 jenkins jenkins 42 May 31 09:40 .golangci.yml 09:43:01 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver 09:43:01 -rw-rw-r-- 1 jenkins jenkins 11174 May 31 09:40 Attribution.txt 09:43:01 -rw-rw-r-- 1 jenkins jenkins 17665 May 31 09:40 CHANGELOG.md 09:43:01 -rw-rw-r-- 1 jenkins jenkins 1683 May 31 09:40 Dockerfile 09:43:01 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:40 GOVERNANCE.md 09:43:01 -rw-rw-r-- 1 jenkins jenkins 739 May 31 09:40 Jenkinsfile 09:43:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 09:40 LICENSE 09:43:01 -rw-rw-r-- 1 jenkins jenkins 2877 May 31 09:40 Makefile 09:43:01 -rw-rw-r-- 1 jenkins jenkins 625 May 31 09:40 OWNERS.md 09:43:01 -rw-rw-r-- 1 jenkins jenkins 2620 May 31 09:40 README.md 09:43:01 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:43:01 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 bin 09:43:01 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 cmd 09:43:01 -rw-r--r-- 1 jenkins jenkins 78456 May 31 09:42 coverage.out 09:43:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 doc 09:43:01 -rw-rw-r-- 1 jenkins jenkins 4010 May 31 09:40 go.mod 09:43:01 -rw-rw-r-- 1 jenkins jenkins 34789 May 31 09:40 go.sum 09:43:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 internal 09:43:01 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:40 vendor 09:43:01 -rw-rw-r-- 1 jenkins jenkins 236 May 31 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:01 + 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=e053ce5f716bc748f519b5d605ecd7797861296e --label arch=amd64 --label version=3.1.1 . 09:43:02 Sending build context to Docker daemon 66.69MB 09:43:02 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:43:02 Step 2/27 : FROM ${BASE} AS builder 09:43:02 ---> b97dc12b1ddd 09:43:02 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:43:03 ---> Running in f7f15c46078a 09:43:04 Removing intermediate container f7f15c46078a 09:43:04 ---> 2e8f51a5c2a4 09:43:04 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:43:04 ---> Running in 90089bb2bcd3 09:43:04 Removing intermediate container 90089bb2bcd3 09:43:04 ---> b0d974c50e12 09:43:04 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:43:04 ---> Running in 7840a257dd58 09:43:04 Removing intermediate container 7840a257dd58 09:43:04 ---> 5aac3141207b 09:43:04 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:43:04 ---> Running in a0036789e5fb 09:43:04 Removing intermediate container a0036789e5fb 09:43:04 ---> ebbd9f1e91d5 09:43:04 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:43:04 ---> Running in f94004a3c9b2 09:43:04 Removing intermediate container f94004a3c9b2 09:43:04 ---> 3b6c451d07f0 09:43:04 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:43:04 ---> Running in 2aba51c98bcf 09:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:05 OK: 264 MiB in 52 packages 09:43:05 Removing intermediate container 2aba51c98bcf 09:43:05 ---> c3bba83258b9 09:43:05 Step 9/27 : WORKDIR /device-onvif-camera 09:43:05 ---> Running in 4152b4b0bfdb 09:43:05 Removing intermediate container 4152b4b0bfdb 09:43:05 ---> 87cb37a4c09f 09:43:05 Step 10/27 : COPY go.mod vendor* ./ 09:43:10 ---> 59cf6d40d0d2 09:43:10 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:10 ---> Running in c6f20640b6c7 09:43:10 skipping... 09:43:10 Removing intermediate container c6f20640b6c7 09:43:10 ---> 08828cdf6a4c 09:43:10 Step 12/27 : COPY . . 09:43:14 ---> e22c52f0aa5c 09:43:14 Step 13/27 : RUN ${MAKE} 09:43:14 ---> Running in fbfa10ba4905 09:43:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 09:43:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2015 in /w/workspace/foundry_device-onvif-camera_napa [Pipeline] { [Pipeline] ws 09:43:36 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 09:43:39 The recommended git tool is: git 09:43:45 using credential edgex-jenkins-ssh 09:43:45 Removing intermediate container fbfa10ba4905 09:43:45 ---> 469fec749773 09:43:45 Step 14/27 : FROM alpine:3.18 09:43:45 3.18: Pulling from library/alpine 09:43:45 619be1103602: Already exists 09:43:45 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:43:45 Status: Downloaded newer image for alpine:3.18 09:43:45 ---> d3782b16ccc9 09:43:45 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:43:45 ---> Running in edef7e913227 09:43:45 Removing intermediate container edef7e913227 09:43:45 ---> d225e52968f3 09:43:45 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:43:45 ---> Running in 127b6909fae4 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:45 (1/1) Installing dumb-init (1.2.5-r2) 09:43:45 Executing busybox-1.36.1-r5.trigger 09:43:45 OK: 7 MiB in 16 packages 09:43:45 Removing intermediate container 127b6909fae4 09:43:45 ---> fccfc907d526 09:43:45 Step 17/27 : RUN apk --no-cache upgrade 09:43:45 ---> Running in c9ee2fd3f44c 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:45 Upgrading critical system libraries and apk-tools: 09:43:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:43:45 Executing busybox-1.36.1-r5.trigger 09:43:45 Continuing the upgrade transaction with new apk-tools: 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:43:45 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:43:45 Executing busybox-1.36.1-r6.post-upgrade 09:43:45 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:43:45 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:43:45 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:43:45 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:43:45 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:43:45 Executing busybox-1.36.1-r6.trigger 09:43:45 OK: 7 MiB in 16 packages 09:43:45 Cloning the remote Git repository 09:43:45 Removing intermediate container c9ee2fd3f44c 09:43:45 ---> acdaf971c02d 09:43:45 Step 18/27 : WORKDIR / 09:43:45 ---> Running in 98432901c8b3 09:43:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:43:45 > git init /w/workspace/device-onvif-camera/5 # timeout=10 09:43:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:43:45 > git --version # timeout=10 09:43:45 > git --version # 'git version 2.25.1' 09:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:43:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:46 Removing intermediate container 98432901c8b3 09:43:46 ---> 55ad3aea7c16 09:43:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:43:47 ---> 9b727d09edc9 09:43:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:43:47 ---> fedb508cb7a8 09:43:47 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:43:48 ---> fbb0c200d9db 09:43:48 Step 22/27 : EXPOSE 59984 09:43:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:43:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:43:48 ---> Running in 900acc895129 09:43:48 Removing intermediate container 900acc895129 09:43:48 ---> cdbc4a2f6326 09:43:48 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:43:49 ---> Running in 61b27d2642a0 09:43:49 Removing intermediate container 61b27d2642a0 09:43:49 ---> 04a65784bc0a 09:43:49 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:43:49 Avoid second fetch 09:43:49 Checking out Revision e053ce5f716bc748f519b5d605ecd7797861296e (napa) 09:43:49 ---> Running in 6ff54ab867f1 09:43:49 > git config core.sparsecheckout # timeout=10 09:43:49 > git checkout -f e053ce5f716bc748f519b5d605ecd7797861296e # timeout=10 09:43:50 Removing intermediate container 6ff54ab867f1 09:43:50 ---> ff8770fae5c4 09:43:50 Step 25/27 : LABEL arch=amd64 09:43:50 ---> Running in 2c5fab38ff1f 09:43:51 Removing intermediate container 2c5fab38ff1f 09:43:51 ---> efb56789413f 09:43:51 Step 26/27 : LABEL git_sha=e053ce5f716bc748f519b5d605ecd7797861296e 09:43:51 ---> Running in 5ec42ed62a6e 09:43:51 Commit message: "ci(lts-release): LTS release v3.1.1 @50147a6" 09:43:51 Removing intermediate container 5ec42ed62a6e 09:43:51 ---> cd384a9ca6a9 09:43:51 Step 27/27 : LABEL version=3.1.1 09:43:51 ---> Running in 7e3bcaf42755 09:43:52 Removing intermediate container 7e3bcaf42755 09:43:52 ---> 2b3f7f4ff80a 09:43:52 [Warning] One or more build-args [ARCH] were not consumed 09:43:52 Successfully built 2b3f7f4ff80a 09:43:52 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 09:43:52 provisioning config files... 09:43:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config5645133129449064724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:52 ---> ****-login.sh 09:43:52 nexus3.edgexfoundry.org:10001 09:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:52 Configure a credential helper to remove this warning. See 09:43:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:52 09:43:52 Login Succeeded 09:43:52 nexus3.edgexfoundry.org:10002 09:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:52 Configure a credential helper to remove this warning. See 09:43:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:52 09:43:52 Login Succeeded 09:43:52 nexus3.edgexfoundry.org:10003 09:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:53 Configure a credential helper to remove this warning. See 09:43:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:53 09:43:53 Login Succeeded 09:43:53 nexus3.edgexfoundry.org:10004 09:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:53 Configure a credential helper to remove this warning. See 09:43:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:53 09:43:53 Login Succeeded 09:43:53 ****.io 09:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:53 Configure a credential helper to remove this warning. See 09:43:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:53 09:43:53 Login Succeeded 09:43:53 ---> ****-login.sh ends [Pipeline] } 09:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:53 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:53 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 09:43:53 e053ce5f716bc748f519b5d605ecd7797861296e 09:43:53 3.1.1 09:43:53 e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:43:53 napa 09:43:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e 09:43:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:43:54 adac8d8db97d: Preparing 09:43:54 1a167f3daa92: Preparing 09:43:54 dbf7f62bf35e: Preparing 09:43:54 79ecd9412557: Preparing 09:43:54 29032daf3613: Preparing 09:43:54 aedc3bda2944: Preparing 09:43:54 aedc3bda2944: Waiting 09:43:54 1a167f3daa92: Pushed 09:43:54 29032daf3613: Pushed 09:43:54 adac8d8db97d: Pushed 09:43:54 aedc3bda2944: Layer already exists 09:43:54 79ecd9412557: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:43:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:43:56 Dload Upload Total Spent Left Speed 09:43:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 09:43:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:43:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:43:56 + sudo tee /etc/docker/daemon.new 09:43:56 { 09:43:56 "registry-mirrors": [ 09:43:56 "https://nexus3.edgexfoundry.org:10001" 09:43:56 ], 09:43:56 "bip": "10.250.0.254/24", 09:43:56 "hosts": [ 09:43:56 "tcp://0.0.0.0:5555", 09:43:56 "unix:///var/run/docker.sock" 09:43:56 ], 09:43:56 "mtu": 1458, 09:43:56 "selinux-enabled": true, 09:43:56 "seccomp-profile": "/etc/docker/seccomp.json" 09:43:56 } [Pipeline] sh 09:43:57 dbf7f62bf35e: Pushed 09:43:57 e053ce5f716bc748f519b5d605ecd7797861296e: digest: sha256:504cafeeb14b15027bc6e4a2bc161f71d1b7ba99ce7e947c7811642f2c5d4051 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:43:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:57 + sudo service docker restart 09:43:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1 09:43:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:43:57 adac8d8db97d: Preparing 09:43:57 1a167f3daa92: Preparing 09:43:57 dbf7f62bf35e: Preparing 09:43:57 79ecd9412557: Preparing 09:43:57 29032daf3613: Preparing 09:43:57 aedc3bda2944: Preparing 09:43:57 aedc3bda2944: Waiting 09:43:57 1a167f3daa92: Layer already exists 09:43:57 79ecd9412557: Layer already exists 09:43:57 adac8d8db97d: Layer already exists 09:43:57 29032daf3613: Layer already exists 09:43:57 dbf7f62bf35e: Layer already exists 09:43:57 aedc3bda2944: Layer already exists 09:43:57 3.1.1: digest: sha256:504cafeeb14b15027bc6e4a2bc161f71d1b7ba99ce7e947c7811642f2c5d4051 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:43:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:43:58 adac8d8db97d: Preparing 09:43:58 1a167f3daa92: Preparing 09:43:58 dbf7f62bf35e: Preparing 09:43:58 79ecd9412557: Preparing 09:43:58 29032daf3613: Preparing 09:43:58 aedc3bda2944: Preparing 09:43:58 aedc3bda2944: Waiting 09:43:58 1a167f3daa92: Layer already exists 09:43:58 dbf7f62bf35e: Layer already exists 09:43:58 adac8d8db97d: Layer already exists 09:43:58 79ecd9412557: Layer already exists 09:43:58 29032daf3613: Layer already exists 09:43:58 aedc3bda2944: Layer already exists 09:43:58 e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1: digest: sha256:504cafeeb14b15027bc6e4a2bc161f71d1b7ba99ce7e947c7811642f2c5d4051 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:napa 09:44:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:44:00 adac8d8db97d: Preparing 09:44:00 1a167f3daa92: Preparing 09:44:00 dbf7f62bf35e: Preparing 09:44:00 79ecd9412557: Preparing 09:44:00 29032daf3613: Preparing 09:44:00 aedc3bda2944: Preparing 09:44:00 aedc3bda2944: Waiting 09:44:00 1a167f3daa92: Layer already exists 09:44:00 adac8d8db97d: Layer already exists 09:44:00 29032daf3613: Layer already exists 09:44:00 aedc3bda2944: Layer already exists 09:44:00 dbf7f62bf35e: Layer already exists 09:44:00 79ecd9412557: Layer already exists 09:44:00 napa: digest: sha256:504cafeeb14b15027bc6e4a2bc161f71d1b7ba99ce7e947c7811642f2c5d4051 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:00 ===================================================== [Pipeline] echo 09:44:00 taggedImages: 09:44:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e 09:44:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1 09:44:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:44:00 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:00 09:44:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:00 latest: Pulling from edgex-lftools-log-publisher 09:44:00 5eb5b503b376: Pulling fs layer 09:44:00 5c69ac0246d0: Pulling fs layer 09:44:00 ec43610c2a17: Pulling fs layer 09:44:00 3a2ae6a8a46f: Pulling fs layer 09:44:00 33b1e0a273af: Pulling fs layer 09:44:00 5d3b04190fa2: Pulling fs layer 09:44:00 2f39f015ded8: Pulling fs layer 09:44:00 2f39f015ded8: Waiting 09:44:00 5d3b04190fa2: Waiting 09:44:00 3a2ae6a8a46f: Waiting 09:44:00 33b1e0a273af: Waiting 09:44:00 5c69ac0246d0: Verifying Checksum 09:44:00 5c69ac0246d0: Download complete 09:44:00 3a2ae6a8a46f: Verifying Checksum 09:44:00 3a2ae6a8a46f: Download complete 09:44:01 33b1e0a273af: Verifying Checksum 09:44:01 33b1e0a273af: Download complete 09:44:01 5d3b04190fa2: Download complete 09:44:01 ec43610c2a17: Verifying Checksum 09:44:01 ec43610c2a17: Download complete 09:44:01 5eb5b503b376: Download complete 09:44:01 2f39f015ded8: Download complete 09:44:02 5eb5b503b376: Pull complete 09:44:02 5c69ac0246d0: Pull complete 09:44:03 ec43610c2a17: Pull complete 09:44:04 3a2ae6a8a46f: Pull complete 09:44:04 33b1e0a273af: Pull complete 09:44:04 5d3b04190fa2: Pull complete 09:44:08 2f39f015ded8: Pull complete 09:44:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:08 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:44:08 $ 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 09:44:15 $ docker top 841cc183efb0f6dd08191351b8a696746a25ea4f71a432101493ec605c62f41e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:15 ---> job-cost.sh 09:44:15 lf-activate-venv: SKIPPING 09:44:15 INFO: No Stack... 09:44:15 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 09:44:16 + git checkout e053ce5f716bc748f519b5d605ecd7797861296e 09:44:16 INFO: Archiving Costs [Pipeline] sh 09:44:16 + cat /w/workspace/foundry_device-onvif-camera_napa/archives/cost.csv 09:44:16 + cut -d, -f6 [Pipeline] lock 09:44:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] 09:44:16 Resource [jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] did not exist. Created. 09:44:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:16 HEAD is now at e053ce5 ci(lts-release): LTS release v3.1.1 @50147a6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:16 provisioning config files... 09:44:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config6109808767837416167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:16 + echo total: 0.2199999988079071 [Pipeline] stash 09:44:17 Stashed 1 file(s) [Pipeline] } 09:44:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:17 $ docker stop --time=1 841cc183efb0f6dd08191351b8a696746a25ea4f71a432101493ec605c62f41e 09:44:17 ---> ****-login.sh 09:44:17 nexus3.edgexfoundry.org:10001 09:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:17 Configure a credential helper to remove this warning. See 09:44:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:17 09:44:17 Login Succeeded 09:44:17 nexus3.edgexfoundry.org:10002 09:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:18 Configure a credential helper to remove this warning. See 09:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:18 09:44:18 Login Succeeded 09:44:18 $ docker rm -f --volumes 841cc183efb0f6dd08191351b8a696746a25ea4f71a432101493ec605c62f41e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 09:44:18 nexus3.edgexfoundry.org:10003 09:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 09:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:18 Configure a credential helper to remove this warning. See 09:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:18 09:44:18 Login Succeeded 09:44:18 nexus3.edgexfoundry.org:10004 09:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:19 Configure a credential helper to remove this warning. See 09:44:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:19 09:44:19 Login Succeeded 09:44:19 ****.io 09:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:44:19 Configure a credential helper to remove this warning. See 09:44:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:44:19 09:44:19 Login Succeeded 09:44:19 ---> ****-login.sh ends [Pipeline] } 09:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:19 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:44:20 + cut -d -f 2 09:44:20 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 09:44:20 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:44:20 ========================================================= 09:44:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 09:44:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:20 + 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 . 09:44:23 Sending build context to Docker daemon 51.15MB 09:44:23 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 09:44:23 Step 2/13 : FROM ${BASE} AS builder 09:44:23 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 09:44:23 c6b39de5b339: Pulling fs layer 09:44:23 a69c41024577: Pulling fs layer 09:44:23 d6de4b400683: Pulling fs layer 09:44:23 35cb2a7552d0: Pulling fs layer 09:44:23 4f4fb700ef54: Pulling fs layer 09:44:23 35cb2a7552d0: Waiting 09:44:23 9e011611b7f5: Pulling fs layer 09:44:23 4f4fb700ef54: Waiting 09:44:23 9e011611b7f5: Waiting 09:44:23 3bd174042beb: Pulling fs layer 09:44:23 3bd174042beb: Waiting 09:44:23 4476f39b5e91: Pulling fs layer 09:44:23 4476f39b5e91: Waiting 09:44:23 a69c41024577: Download complete 09:44:23 35cb2a7552d0: Verifying Checksum 09:44:23 35cb2a7552d0: Download complete 09:44:23 4f4fb700ef54: Verifying Checksum 09:44:23 4f4fb700ef54: Download complete 09:44:23 9e011611b7f5: Verifying Checksum 09:44:23 9e011611b7f5: Download complete 09:44:23 c6b39de5b339: Verifying Checksum 09:44:23 c6b39de5b339: Download complete 09:44:24 4476f39b5e91: Verifying Checksum 09:44:24 4476f39b5e91: Download complete 09:44:24 c6b39de5b339: Pull complete 09:44:25 a69c41024577: Pull complete 09:44:25 d6de4b400683: Verifying Checksum 09:44:25 d6de4b400683: Download complete 09:44:26 3bd174042beb: Verifying Checksum 09:44:26 3bd174042beb: Download complete 09:44:39 d6de4b400683: Pull complete 09:44:39 35cb2a7552d0: Pull complete 09:44:39 4f4fb700ef54: Pull complete 09:44:39 9e011611b7f5: Pull complete 09:44:49 3bd174042beb: Pull complete 09:44:49 4476f39b5e91: Pull complete 09:44:49 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 09:44:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 09:44:49 ---> 981a0608b64a 09:44:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:44:52 ---> Running in 8b9f0ed30da9 09:44:52 Removing intermediate container 8b9f0ed30da9 09:44:52 ---> 2156caee2e5d 09:44:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:52 ---> Running in 4c08e221e2e3 09:44:52 Removing intermediate container 4c08e221e2e3 09:44:52 ---> a123adbbfe1e 09:44:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 09:44:52 ---> Running in edbb96d52065 09:44:53 Removing intermediate container edbb96d52065 09:44:53 ---> f8c4b52d0c9e 09:44:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:44:53 ---> Running in fa5018ef0b8e 09:44:53 Removing intermediate container fa5018ef0b8e 09:44:53 ---> 57c9cafccf9c 09:44:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 09:44:53 ---> Running in 1e4e05087323 09:44:54 Removing intermediate container 1e4e05087323 09:44:54 ---> fa8fe6740bf7 09:44:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:44:54 ---> Running in 2e380bc659b3 09:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:44:56 OK: 266 MiB in 52 packages 09:44:57 Removing intermediate container 2e380bc659b3 09:44:57 ---> 3c91eb10759b 09:44:57 Step 9/13 : WORKDIR /device-onvif-camera 09:44:58 ---> Running in f78f2b330374 09:44:58 Removing intermediate container f78f2b330374 09:44:58 ---> 317788e01ef0 09:44:58 Step 10/13 : COPY go.mod vendor* ./ 09:45:06 ---> f48352be8652 09:45:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:06 ---> Running in 8cb4b566fdd0 09:46:14 Removing intermediate container 8cb4b566fdd0 09:46:14 ---> e7be1aac14bf 09:46:14 Step 12/13 : COPY . . 09:46:21 ---> 71226f1f68f3 09:46:21 Step 13/13 : RUN ${MAKE} 09:46:21 ---> Running in 44fb242edf7d 09:46:22 noop 09:46:22 Removing intermediate container 44fb242edf7d 09:46:22 ---> 430e65a0b3fa 09:46:23 Successfully built 430e65a0b3fa 09:46:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:23 + docker inspect -f . ci-base-image-arm64 09:46:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:24 prd-ubuntu20.04-docker-arm64-4c-16g-2015 does not seem to be running inside a container 09:46:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 09:46:25 $ docker top 2c9dfa9739ffc2340c94eb5adfb23ece732124ebb2b7bc7f4384bd847d222aa2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:26 + go version 09:46:26 go version go1.21.9 linux/arm64 [Pipeline] } 09:46:26 $ docker stop --time=1 2c9dfa9739ffc2340c94eb5adfb23ece732124ebb2b7bc7f4384bd847d222aa2 09:46:27 $ docker rm -f --volumes 2c9dfa9739ffc2340c94eb5adfb23ece732124ebb2b7bc7f4384bd847d222aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:28 + docker inspect -f . ci-base-image-arm64 09:46:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:28 prd-ubuntu20.04-docker-arm64-4c-16g-2015 does not seem to be running inside a container 09:46:28 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 09:46:29 $ docker top cd008f5ca5761bdfef8cf5f2a268a042ddc6a2414327ba3f5b9b492e45e60101 -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 09:46:30 + make test 09:46:30 go test ./... -coverprofile=coverage.out ./... 09:46:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:49:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:49:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:49:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 31.5% of statements 09:49:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.895s coverage: 86.5% of statements 09:49:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:44 go vet ./... 09:50:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:50:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:50:16 ./bin/test-attribution-txt.sh [Pipeline] echo 09:50:16 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:50:17 + go mod tidy [Pipeline] } 09:50:21 $ docker stop --time=1 cd008f5ca5761bdfef8cf5f2a268a042ddc6a2414327ba3f5b9b492e45e60101 09:50:23 $ docker rm -f --volumes cd008f5ca5761bdfef8cf5f2a268a042ddc6a2414327ba3f5b9b492e45e60101 [Pipeline] // withDockerContainer [Pipeline] sh 09:50:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:24 Warning: overwriting stash ‘coverage-report’ 09:50:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:26 + ls -al . 09:50:26 total 240 09:50:26 drwxrwxr-x 9 jenkins jenkins 4096 May 31 09:46 . 09:50:26 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:43 .. 09:50:26 drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:44 .git 09:50:26 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:43 .github 09:50:26 -rw-rw-r-- 1 jenkins jenkins 493 May 31 09:43 .gitignore 09:50:26 -rw-rw-r-- 1 jenkins jenkins 42 May 31 09:43 .golangci.yml 09:50:26 -rw-rw-r-- 1 jenkins jenkins 11174 May 31 09:43 Attribution.txt 09:50:26 -rw-rw-r-- 1 jenkins jenkins 17665 May 31 09:43 CHANGELOG.md 09:50:26 -rw-rw-r-- 1 jenkins jenkins 1683 May 31 09:43 Dockerfile 09:50:26 -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:43 GOVERNANCE.md 09:50:26 -rw-rw-r-- 1 jenkins jenkins 739 May 31 09:43 Jenkinsfile 09:50:26 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 09:43 LICENSE 09:50:26 -rw-rw-r-- 1 jenkins jenkins 2877 May 31 09:43 Makefile 09:50:26 -rw-rw-r-- 1 jenkins jenkins 625 May 31 09:43 OWNERS.md 09:50:26 -rw-rw-r-- 1 jenkins jenkins 2620 May 31 09:43 README.md 09:50:26 -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION 09:50:26 drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:43 bin 09:50:26 drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:43 cmd 09:50:26 -rw-r--r-- 1 jenkins jenkins 78456 May 31 09:49 coverage.out 09:50:26 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:43 doc 09:50:26 -rw-rw-r-- 1 jenkins jenkins 4010 May 31 09:43 go.mod 09:50:26 -rw-rw-r-- 1 jenkins jenkins 34789 May 31 09:43 go.sum 09:50:26 drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:43 internal 09:50:26 drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:43 vendor 09:50:26 -rw-rw-r-- 1 jenkins jenkins 236 May 31 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:27 + 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=e053ce5f716bc748f519b5d605ecd7797861296e --label arch=arm64 --label version=3.1.1 . 09:50:30 Sending build context to Docker daemon 51.23MB 09:50:30 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:50:30 Step 2/27 : FROM ${BASE} AS builder 09:50:30 ---> 430e65a0b3fa 09:50:30 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:50:30 ---> Running in 4dd77683af64 09:50:30 Removing intermediate container 4dd77683af64 09:50:30 ---> 55a4df829ff5 09:50:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:50:30 ---> Running in 457d4b628055 09:50:31 Removing intermediate container 457d4b628055 09:50:31 ---> c2d00c568ab3 09:50:31 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 09:50:31 ---> Running in 2619efa73ab1 09:50:31 Removing intermediate container 2619efa73ab1 09:50:31 ---> 07a2dd2aa2f7 09:50:31 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:50:31 ---> Running in ceb2b89321cb 09:50:31 Removing intermediate container ceb2b89321cb 09:50:31 ---> 4f4848a9826a 09:50:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:50:31 ---> Running in e78bcaa4d626 09:50:32 Removing intermediate container e78bcaa4d626 09:50:32 ---> ba1bbeca51c9 09:50:32 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:32 ---> Running in a450b8005394 09:50:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:50:34 OK: 266 MiB in 52 packages 09:50:35 Removing intermediate container a450b8005394 09:50:35 ---> f5c67342f1d4 09:50:35 Step 9/27 : WORKDIR /device-onvif-camera 09:50:35 ---> Running in bcba76e419b6 09:50:36 Removing intermediate container bcba76e419b6 09:50:36 ---> e1aa20a17691 09:50:36 Step 10/27 : COPY go.mod vendor* ./ 09:50:44 ---> 8ebbc8eae8b6 09:50:44 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:44 ---> Running in 4c51e8c06569 09:50:44 skipping... 09:50:45 Removing intermediate container 4c51e8c06569 09:50:45 ---> 5ac36cdcf741 09:50:45 Step 12/27 : COPY . . 09:50:55 ---> 6850377adf10 09:50:55 Step 13/27 : RUN ${MAKE} 09:50:55 ---> Running in cbda4890fb3c 09:50:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 09:53:32 Removing intermediate container cbda4890fb3c 09:53:32 ---> 925b2dc15a49 09:53:32 Step 14/27 : FROM alpine:3.18 09:53:32 3.18: Pulling from library/alpine 09:53:32 c6b39de5b339: Already exists 09:53:32 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:53:32 Status: Downloaded newer image for alpine:3.18 09:53:32 ---> 33abbf032149 09:53:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 09:53:32 ---> Running in 4757857d4128 09:53:32 Removing intermediate container 4757857d4128 09:53:32 ---> c47f55a3912b 09:53:32 Step 16/27 : RUN apk add --update --no-cache dumb-init 09:53:32 ---> Running in dd6e3a3c02a1 09:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:32 (1/1) Installing dumb-init (1.2.5-r2) 09:53:32 Executing busybox-1.36.1-r5.trigger 09:53:32 OK: 8 MiB in 16 packages 09:53:32 Removing intermediate container dd6e3a3c02a1 09:53:32 ---> c21632cb34e1 09:53:32 Step 17/27 : RUN apk --no-cache upgrade 09:53:32 ---> Running in 932d2792a0c9 09:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:32 Upgrading critical system libraries and apk-tools: 09:53:32 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:53:32 Executing busybox-1.36.1-r5.trigger 09:53:33 Continuing the upgrade transaction with new apk-tools: 09:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:34 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:53:34 Executing busybox-1.36.1-r6.post-upgrade 09:53:34 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:53:34 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:53:34 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:53:34 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:53:34 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:53:34 Executing busybox-1.36.1-r6.trigger 09:53:34 OK: 8 MiB in 16 packages 09:53:35 Removing intermediate container 932d2792a0c9 09:53:35 ---> 830a48105769 09:53:35 Step 18/27 : WORKDIR / 09:53:35 ---> Running in a78ed319f9b4 09:53:36 Removing intermediate container a78ed319f9b4 09:53:36 ---> 14b1b7afef67 09:53:36 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:53:38 ---> 2d61e0a54ba6 09:53:38 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:53:38 ---> d50b9a8159c0 09:53:38 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:53:38 ---> 39e8c7c29805 09:53:38 Step 22/27 : EXPOSE 59984 09:53:38 ---> Running in ed6b02a90442 09:53:39 Removing intermediate container ed6b02a90442 09:53:39 ---> 054ecc5abbdd 09:53:39 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:53:39 ---> Running in bafa899f208d 09:53:39 Removing intermediate container bafa899f208d 09:53:39 ---> f4fc64424650 09:53:39 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 09:53:39 ---> Running in 21c537102d89 09:53:39 Removing intermediate container 21c537102d89 09:53:39 ---> c0e75be1d95a 09:53:39 Step 25/27 : LABEL arch=arm64 09:53:39 ---> Running in 009fc9f87aa0 09:53:40 Removing intermediate container 009fc9f87aa0 09:53:40 ---> cb44c7e4096b 09:53:40 Step 26/27 : LABEL git_sha=e053ce5f716bc748f519b5d605ecd7797861296e 09:53:40 ---> Running in 3642334f3d41 09:53:40 Removing intermediate container 3642334f3d41 09:53:40 ---> aca8feceaba4 09:53:40 Step 27/27 : LABEL version=3.1.1 09:53:40 ---> Running in 6b9b7cf8cc73 09:53:41 Removing intermediate container 6b9b7cf8cc73 09:53:41 ---> f35f34658034 09:53:41 [Warning] One or more build-args [ARCH] were not consumed 09:53:41 Successfully built f35f34658034 09:53:41 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 09:53:41 provisioning config files... 09:53:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config1419877089634663929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:42 ---> ****-login.sh 09:53:42 nexus3.edgexfoundry.org:10001 09:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:53:42 Configure a credential helper to remove this warning. See 09:53:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:53:42 09:53:42 Login Succeeded 09:53:42 nexus3.edgexfoundry.org:10002 09:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:53:42 Configure a credential helper to remove this warning. See 09:53:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:53:42 09:53:42 Login Succeeded 09:53:42 nexus3.edgexfoundry.org:10003 09:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:53:43 Configure a credential helper to remove this warning. See 09:53:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:53:43 09:53:43 Login Succeeded 09:53:43 nexus3.edgexfoundry.org:10004 09:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:53:43 Configure a credential helper to remove this warning. See 09:53:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:53:43 09:53:43 Login Succeeded 09:53:43 ****.io 09:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:53:44 Configure a credential helper to remove this warning. See 09:53:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:53:44 09:53:44 Login Succeeded 09:53:44 ---> ****-login.sh ends [Pipeline] } 09:53:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:53:44 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:53:44 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 09:53:44 e053ce5f716bc748f519b5d605ecd7797861296e 09:53:44 3.1.1 09:53:44 e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:53:44 napa 09:53:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:44 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e 09:53:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:53:44 4d51beadf3b2: Preparing 09:53:44 c277670dfd4e: Preparing 09:53:44 79e38d84a10a: Preparing 09:53:44 498240f4ba2b: Preparing 09:53:44 184f1fbd41a7: Preparing 09:53:44 7c504f21be85: Preparing 09:53:44 7c504f21be85: Waiting 09:53:45 c277670dfd4e: Pushed 09:53:45 184f1fbd41a7: Pushed 09:53:45 4d51beadf3b2: Pushed 09:53:45 7c504f21be85: Layer already exists 09:53:46 498240f4ba2b: Pushed 09:53:50 79e38d84a10a: Pushed 09:53:50 e053ce5f716bc748f519b5d605ecd7797861296e: digest: sha256:909b37c72a09e079293adaae45d0782e03ea7b4f881aed497646f41bb8020764 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1 09:53:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:53:51 4d51beadf3b2: Preparing 09:53:51 c277670dfd4e: Preparing 09:53:51 79e38d84a10a: Preparing 09:53:51 498240f4ba2b: Preparing 09:53:51 184f1fbd41a7: Preparing 09:53:51 7c504f21be85: Preparing 09:53:51 7c504f21be85: Waiting 09:53:51 4d51beadf3b2: Layer already exists 09:53:51 c277670dfd4e: Layer already exists 09:53:51 498240f4ba2b: Layer already exists 09:53:51 79e38d84a10a: Layer already exists 09:53:51 184f1fbd41a7: Layer already exists 09:53:51 7c504f21be85: Layer already exists 09:53:51 3.1.1: digest: sha256:909b37c72a09e079293adaae45d0782e03ea7b4f881aed497646f41bb8020764 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:53:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:53:52 4d51beadf3b2: Preparing 09:53:52 c277670dfd4e: Preparing 09:53:52 79e38d84a10a: Preparing 09:53:52 498240f4ba2b: Preparing 09:53:52 184f1fbd41a7: Preparing 09:53:52 7c504f21be85: Preparing 09:53:52 7c504f21be85: Waiting 09:53:52 c277670dfd4e: Layer already exists 09:53:52 79e38d84a10a: Layer already exists 09:53:52 4d51beadf3b2: Layer already exists 09:53:52 184f1fbd41a7: Layer already exists 09:53:52 498240f4ba2b: Layer already exists 09:53:52 7c504f21be85: Layer already exists 09:53:52 e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1: digest: sha256:909b37c72a09e079293adaae45d0782e03ea7b4f881aed497646f41bb8020764 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:53 + 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 09:53:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa 09:53:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:53:53 4d51beadf3b2: Preparing 09:53:53 c277670dfd4e: Preparing 09:53:53 79e38d84a10a: Preparing 09:53:53 498240f4ba2b: Preparing 09:53:53 184f1fbd41a7: Preparing 09:53:53 7c504f21be85: Preparing 09:53:53 7c504f21be85: Waiting 09:53:53 184f1fbd41a7: Layer already exists 09:53:53 498240f4ba2b: Layer already exists 09:53:53 79e38d84a10a: Layer already exists 09:53:53 4d51beadf3b2: Layer already exists 09:53:53 c277670dfd4e: Layer already exists 09:53:53 7c504f21be85: Layer already exists 09:53:53 napa: digest: sha256:909b37c72a09e079293adaae45d0782e03ea7b4f881aed497646f41bb8020764 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:53:53 ===================================================== [Pipeline] echo 09:53:53 taggedImages: 09:53:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e 09:53:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1 09:53:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e053ce5f716bc748f519b5d605ecd7797861296e-3.1.1 09:53:53 - 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 09:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:54 09:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:55 arm64: Pulling from edgex-lftools-log-publisher 09:53:55 8998bd30e6a1: Pulling fs layer 09:53:55 04944245beec: Pulling fs layer 09:53:55 699f458cf7ca: Pulling fs layer 09:53:55 765212b225bb: Pulling fs layer 09:53:55 f23df028b6ca: Pulling fs layer 09:53:55 d65c8cfc05b1: Pulling fs layer 09:53:55 2437ff75d9bd: Pulling fs layer 09:53:55 765212b225bb: Waiting 09:53:55 f23df028b6ca: Waiting 09:53:55 d65c8cfc05b1: Waiting 09:53:55 2437ff75d9bd: Waiting 09:53:55 04944245beec: Verifying Checksum 09:53:55 04944245beec: Download complete 09:53:55 765212b225bb: Verifying Checksum 09:53:55 765212b225bb: Download complete 09:53:55 f23df028b6ca: Verifying Checksum 09:53:55 f23df028b6ca: Download complete 09:53:55 d65c8cfc05b1: Verifying Checksum 09:53:55 d65c8cfc05b1: Download complete 09:53:55 699f458cf7ca: Verifying Checksum 09:53:55 699f458cf7ca: Download complete 09:53:55 8998bd30e6a1: Verifying Checksum 09:53:55 8998bd30e6a1: Download complete 09:53:58 2437ff75d9bd: Verifying Checksum 09:53:58 2437ff75d9bd: Download complete 09:54:00 8998bd30e6a1: Pull complete 09:54:01 04944245beec: Pull complete 09:54:02 699f458cf7ca: Pull complete 09:54:02 765212b225bb: Pull complete 09:54:03 f23df028b6ca: Pull complete 09:54:03 d65c8cfc05b1: Pull complete 09:54:22 2437ff75d9bd: Pull complete 09:54:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:22 prd-ubuntu20.04-docker-arm64-4c-16g-2015 does not seem to be running inside a container 09:54:22 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 09:54:25 $ docker top c948d98e348cc7c4a3e231334a3d3da4f2b40a7aa9986385cd1ff87d4676f433 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:26 ---> job-cost.sh 09:54:26 lf-activate-venv: SKIPPING 09:54:26 INFO: No Stack... 09:54:26 INFO: Retrieving Pricing Info for: v3-standard-4 09:54:27 INFO: Archiving Costs [Pipeline] sh 09:54:28 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 09:54:28 + cut -d, -f6 [Pipeline] lock 09:54:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] 09:54:28 Resource [jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] did not exist. Created. 09:54:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:28 /w/workspace/device-onvif-camera/5@tmp/durable-be2dd619/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:54:29 + echo total: 0.10999999940395355 [Pipeline] stash 09:54:29 Warning: overwriting stash ‘stack-cost’ 09:54:29 Stashed 1 file(s) [Pipeline] } 09:54:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:54:29 $ docker stop --time=1 c948d98e348cc7c4a3e231334a3d3da4f2b40a7aa9986385cd1ff87d4676f433 09:54:31 $ docker rm -f --volumes c948d98e348cc7c4a3e231334a3d3da4f2b40a7aa9986385cd1ff87d4676f433 [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 09:54:31 provisioning config files... 09:54:31 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config17852247572961602294tmp [Pipeline] { [Pipeline] sh 09:54:32 + set +x 09:54:32 + curl -s https://codecov.io/bash 09:54:32 + bash -s -- 09:54:32 09:54:32 _____ _ 09:54:32 / ____| | | 09:54:32 | | ___ __| | ___ ___ _____ __ 09:54:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:54:32 | |___| (_) | (_| | __/ (_| (_) \ V / 09:54:32 \_____\___/ \__,_|\___|\___\___/ \_/ 09:54:32 Bash-1.0.6 09:54:32 09:54:32 09:54:32 ==> git version 2.25.1 found 09:54:32 ==> 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 09:54:32 Release-Date: 2020-01-08 09:54:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:54:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:54:32 ==> Jenkins CI detected. 09:54:32 current dir:  /w/workspace/foundry_device-onvif-camera_napa 09:54:32 project root: . 09:54:32 --> token set from env 09:54:32 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 09:54:32 ==> Running gcov in . (disable via -X gcov) 09:54:32 ==> Python coveragepy not found 09:54:32 ==> Searching for coverage reports in: 09:54:32 + . 09:54:32 -> Found 1 reports 09:54:32 ==> Detecting git/mercurial file structure 09:54:32 ==> Reading reports 09:54:32 + ./coverage.out bytes=78456 09:54:32 ==> Appending adjustments 09:54:32 https://docs.codecov.io/docs/fixing-reports 09:54:32 + Found adjustments 09:54:32 ==> Gzipping contents 09:54:32 24K /tmp/codecov.vbBayf.gz 09:54:32 ==> Uploading reports 09:54:32 url: https://codecov.io 09:54:32 query: branch=napa&commit=e053ce5f716bc748f519b5d605ecd7797861296e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:54:32 -> Pinging Codecov 09:54:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=e053ce5f716bc748f519b5d605ecd7797861296e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:54:32 -> Uploading to 09:54:32 https://storage.googleapis.com/codecov/v4/raw/2024-05-31/F29A59C45E3A92E06B3E522C9905F8EF/e053ce5f716bc748f519b5d605ecd7797861296e/c8d1dc22-1ea4-4eb5-8da1-71f7ea96ba5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T095432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9a291e4b5ca6b6897215a51605107e2e0a0ae9d90885c8485fd820d51dbf2c5 09:54:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:54:32 Dload Upload Total Spent Left Speed 09:54:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23781 0 0 100 23781 0 95506 --:--:-- --:--:-- --:--:-- 95506 09:54:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] } 09:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:54:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:54:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:54:33 09:54:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:54:33 latest: Pulling from edgex-devops/edgex-snyk-go 09:54:33 619be1103602: Already exists 09:54:33 f8ea3408117e: Pulling fs layer 09:54:33 91320369b822: Pulling fs layer 09:54:33 0406650e8295: Pulling fs layer 09:54:33 4f4fb700ef54: Pulling fs layer 09:54:33 96d80e3f36e1: Pulling fs layer 09:54:33 bcf3aedb951c: Pulling fs layer 09:54:33 4f4fb700ef54: Waiting 09:54:33 96d80e3f36e1: Waiting 09:54:33 bcf3aedb951c: Waiting 09:54:33 0406650e8295: Verifying Checksum 09:54:33 0406650e8295: Download complete 09:54:33 f8ea3408117e: Download complete 09:54:33 4f4fb700ef54: Verifying Checksum 09:54:33 4f4fb700ef54: Download complete 09:54:33 f8ea3408117e: Pull complete 09:54:33 96d80e3f36e1: Verifying Checksum 09:54:33 96d80e3f36e1: Download complete 09:54:34 91320369b822: Verifying Checksum 09:54:34 91320369b822: Download complete 09:54:34 bcf3aedb951c: Verifying Checksum 09:54:34 bcf3aedb951c: Download complete 09:54:37 91320369b822: Pull complete 09:54:37 0406650e8295: Pull complete 09:54:37 4f4fb700ef54: Pull complete 09:54:37 96d80e3f36e1: Pull complete 09:54:40 bcf3aedb951c: Pull complete 09:54:40 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 09:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:54:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:40 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:54:40 $ 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:latest cat 09:54:44 $ docker top 27b16c82a20603d39aa34a0eee9875acfd53854c42f059a8093ae03cab7519f4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:44 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_napa [Pipeline] echo 09:54:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:napa' [Pipeline] sh 09:54:45 + set -o pipefail 09:54:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:napa' 09:54:48 09:54:48 Monitoring /w/workspace/foundry_device-onvif-camera_napa (github.com/edgexfoundry/device-onvif-camera)... 09:54:48 09:54:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6fae1791-0fbd-4f19-8096-b2aaa5b0311e/history/147f81d7-04a3-4bc4-a0cb-fb0451470666 09:54:48 09:54:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:54:48 09:54:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:54:48 09:54:48 09:54:48 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:54:48 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:54:48 $ docker stop --time=1 27b16c82a20603d39aa34a0eee9875acfd53854c42f059a8093ae03cab7519f4 09:54:50 $ docker rm -f --volumes 27b16c82a20603d39aa34a0eee9875acfd53854c42f059a8093ae03cab7519f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 09:54:50 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:50 provisioning config files... 09:54:50 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config5067797205909963958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:50 --> edgex-publish-swagger.sh 09:54:50 === Publish doc/openapi/v3 API === 09:54:50 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 09:54:50 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_napa/doc/openapi/v3/device-onvif-camera.yaml] 09:54:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:54:50 Dload Upload Total Spent Left Speed 09:54:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 224 698k --:--:-- --:--:-- --:--:-- 697k 100 485k 100 156 100 485k 224 698k --:--:-- --:--:-- --:--:-- 697k 09:54:51 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 09:54:51 [Pipeline] } 09:54:51 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 09:54:51 + git log --format=format:%s -1 e053ce5f716bc748f519b5d605ecd7797861296e [Pipeline] sh 09:54:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:52 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:54:52 $ 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 09:54:52 $ docker top 4abc988433ea56a65d142e1c665478fe763ae703d5123663b9d874b1531f229c -eo pid,comm 09:54:52 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). 09:54:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:54:52 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:53 + git semver [Pipeline] } 09:54:53 $ docker stop --time=1 4abc988433ea56a65d142e1c665478fe763ae703d5123663b9d874b1531f229c 09:54:54 $ docker rm -f --volumes 4abc988433ea56a65d142e1c665478fe763ae703d5123663b9d874b1531f229c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:55 09:54:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:55 0.23.1-centos7: Pulling from edgex-lftools 09:54:55 ab5ef0e58194: Pulling fs layer 09:54:55 9712f1f96733: Pulling fs layer 09:54:55 63f879dbbcfc: Pulling fs layer 09:54:55 0d9ebad4ef96: Pulling fs layer 09:54:55 0d9ebad4ef96: Waiting 09:54:55 e9a5061849ea: Pulling fs layer 09:54:55 d747dcd14b5f: Pulling fs layer 09:54:55 2de7ff778b66: Pulling fs layer 09:54:55 d747dcd14b5f: Waiting 09:54:55 2de7ff778b66: Waiting 09:54:55 9712f1f96733: Verifying Checksum 09:54:55 9712f1f96733: Download complete 09:54:55 63f879dbbcfc: Verifying Checksum 09:54:55 63f879dbbcfc: Download complete 09:54:55 e9a5061849ea: Verifying Checksum 09:54:55 e9a5061849ea: Download complete 09:54:56 d747dcd14b5f: Download complete 09:54:56 0d9ebad4ef96: Verifying Checksum 09:54:56 0d9ebad4ef96: Download complete 09:54:56 ab5ef0e58194: Verifying Checksum 09:54:56 ab5ef0e58194: Download complete 09:54:56 2de7ff778b66: Verifying Checksum 09:54:56 2de7ff778b66: Download complete 09:54:58 ab5ef0e58194: Pull complete 09:54:58 9712f1f96733: Pull complete 09:54:59 63f879dbbcfc: Pull complete 09:55:02 0d9ebad4ef96: Pull complete 09:55:02 e9a5061849ea: Pull complete 09:55:02 d747dcd14b5f: Pull complete 09:55:03 2de7ff778b66: Pull complete 09:55:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:55:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:55:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:03 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:55:04 $ 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 09:55:11 $ docker top 74ab9aca792005d6ac1cd191e53c9d32eaa7c6cc98b354ae247bb9aa0a9520b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:55:11 provisioning config files... 09:55:11 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config12262388824566467199tmp 09:55:11 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config9533832887437939561tmp 09:55:11 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config18035961039588424087tmp [Pipeline] { [Pipeline] echo 09:55:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:55:12 ---> sigul-configuration.sh 09:55:12 gpg: directory `/root/.gnupg' created 09:55:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:55:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:55:12 gpg: keyring `/root/.gnupg/secring.gpg' created 09:55:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:55:12 gpg: CAST5 encrypted data 09:55:12 gpg: encrypted with 1 passphrase 09:55:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:55:12 + mkdir /home/jenkins 09:55:12 + mkdir /home/jenkins/sigul [Pipeline] sh 09:55:12 + 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 09:55:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:55:13 ---> sigul-install.sh 09:55:13 Sigul already installed; skipping installation. [Pipeline] sh 09:55:13 + git tag --list 09:55:13 v0.0.0 09:55:13 v2.2.0 09:55:13 v2.3.0 09:55:13 v2.3.1 09:55:13 v3.0 09:55:13 v3.0.0 09:55:13 v3.1 09:55:13 v3.1.0 09:55:13 v3.1.0-dev.1 09:55:13 v3.1.0-dev.10 09:55:13 v3.1.0-dev.11 09:55:13 v3.1.0-dev.12 09:55:13 v3.1.0-dev.13 09:55:13 v3.1.0-dev.14 09:55:13 v3.1.0-dev.15 09:55:13 v3.1.0-dev.16 09:55:13 v3.1.0-dev.17 09:55:13 v3.1.0-dev.18 09:55:13 v3.1.0-dev.19 09:55:13 v3.1.0-dev.2 09:55:13 v3.1.0-dev.20 09:55:13 v3.1.0-dev.21 09:55:13 v3.1.0-dev.22 09:55:13 v3.1.0-dev.23 09:55:13 v3.1.0-dev.24 09:55:13 v3.1.0-dev.25 09:55:13 v3.1.0-dev.26 09:55:13 v3.1.0-dev.27 09:55:13 v3.1.0-dev.28 09:55:13 v3.1.0-dev.3 09:55:13 v3.1.0-dev.4 09:55:13 v3.1.0-dev.5 09:55:13 v3.1.0-dev.6 09:55:13 v3.1.0-dev.7 09:55:13 v3.1.0-dev.8 09:55:13 v3.1.0-dev.9 09:55:13 v3.1.1 09:55:13 v3.2.0-dev.1 09:55:13 v3.2.0-dev.10 09:55:13 v3.2.0-dev.11 09:55:13 v3.2.0-dev.12 09:55:13 v3.2.0-dev.2 09:55:13 v3.2.0-dev.3 09:55:13 v3.2.0-dev.4 09:55:13 v3.2.0-dev.5 09:55:13 v3.2.0-dev.6 09:55:13 v3.2.0-dev.7 09:55:13 v3.2.0-dev.8 09:55:13 v3.2.0-dev.9 [Pipeline] sh 09:55:13 + lftools sign git-tag v3.1.1 09:55:14 Signing Git tag with Sigul... 09:55:14 Signing v3.1.1 [Pipeline] echo 09:55:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:55:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:55:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:55:15 $ docker stop --time=1 74ab9aca792005d6ac1cd191e53c9d32eaa7c6cc98b354ae247bb9aa0a9520b4 09:55:16 $ docker rm -f --volumes 74ab9aca792005d6ac1cd191e53c9d32eaa7c6cc98b354ae247bb9aa0a9520b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:55:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:55:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:55:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:17 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:55:17 $ 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 09:55:17 $ docker top 826a2fc37ac847c35c42b1f2d02f0986a338c268cc77ba9ac8bfbe96a7c888d4 -eo pid,comm 09:55:17 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). 09:55:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:17 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:55:18 + git semver [Pipeline] } 09:55:18 $ docker stop --time=1 826a2fc37ac847c35c42b1f2d02f0986a338c268cc77ba9ac8bfbe96a7c888d4 09:55:19 $ docker rm -f --volumes 826a2fc37ac847c35c42b1f2d02f0986a338c268cc77ba9ac8bfbe96a7c888d4 [Pipeline] // withDockerContainer [Pipeline] sh 09:55:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:55:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:55:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:20 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:55:20 $ 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 09:55:20 $ docker top 35e8e17e0b6f118046d55ae13eb8d5cf3546cf9d2098be3222a1611b0bcba427 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:20 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:55:21 + git semver [Pipeline] } 09:55:21 $ docker stop --time=1 35e8e17e0b6f118046d55ae13eb8d5cf3546cf9d2098be3222a1611b0bcba427 09:55:22 $ docker rm -f --volumes 35e8e17e0b6f118046d55ae13eb8d5cf3546cf9d2098be3222a1611b0bcba427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:55:23 + [ -d /w/workspace/foundry_device-onvif-camera_napa/archives ] 09:55:23 + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives 09:55:23 total 16 09:55:23 drwxr-xr-x 3 root root 4096 May 31 09:44 . 09:55:23 drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:55 .. 09:55:23 drwxr-xr-x 2 root root 4096 May 31 09:44 cost 09:55:23 -rw-r--r-- 1 root root 89 May 31 09:44 cost.csv 09:55:23 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_napa/archives 09:55:23 + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives 09:55:23 total 16 09:55:23 drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:44 . 09:55:23 drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:55 .. 09:55:23 drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:44 cost 09:55:23 -rw-r--r-- 1 jenkins jenkins 89 May 31 09:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:55:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:55:24 ---> package-listing.sh 09:55:24 ++ tr '[:upper:]' '[:lower:]' 09:55:24 ++ facter osfamily 09:55:24 + OS_FAMILY=debian 09:55:24 + workspace=/w/workspace/foundry_device-onvif-camera_napa 09:55:24 + START_PACKAGES=/tmp/packages_start.txt 09:55:24 + END_PACKAGES=/tmp/packages_end.txt 09:55:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:55:24 + PACKAGES=/tmp/packages_start.txt 09:55:24 + '[' /w/workspace/foundry_device-onvif-camera_napa ']' 09:55:24 + PACKAGES=/tmp/packages_end.txt 09:55:24 + case "${OS_FAMILY}" in 09:55:24 + dpkg -l 09:55:24 + grep '^ii' 09:55:24 + '[' -f /tmp/packages_start.txt ']' 09:55:24 + '[' -f /tmp/packages_end.txt ']' 09:55:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:55:24 + '[' /w/workspace/foundry_device-onvif-camera_napa ']' 09:55:24 + mkdir -p /w/workspace/foundry_device-onvif-camera_napa/archives/ 09:55:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_napa/archives/ [Pipeline] echo 09:55:24 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 09:55:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:55:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:25 prd-ubuntu20.04-docker-8c-8g-2008 does not seem to be running inside a container 09:55:25 $ 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 09:55:25 $ docker top 73dddb9410f5fe14e24ff4912179b212768c903646da6cea10c467eb597ab542 -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:26 + touch /tmp/pre-build-complete [Pipeline] sh 09:55:26 + mkdir -p /var/log/sysstat [Pipeline] sh 09:55:26 + ls /var/log/sa-host 09:55:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:26 provisioning config files... 09:55:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config14410561020032707011tmp [Pipeline] { [Pipeline] echo 09:55:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:55:27 ---> create-netrc.sh [Pipeline] } 09:55:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:55:27 ---> python-tools-install.sh [Pipeline] echo 09:55:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:55:27 ---> sudo-logs.sh 09:55:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:55:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:55:28 ---> job-cost.sh 09:55:28 lf-activate-venv: SKIPPING 09:55:28 DEBUG: total: 0.2199999988079071 09:55:28 INFO: Retrieving Stack Cost... 09:55:28 INFO: Retrieving Pricing Info for: v3-standard-8 09:55:28 INFO: Archiving Costs [Pipeline] echo 09:55:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:55:29 ---> logs-deploy.sh 09:55:29 lf-activate-venv: SKIPPING 09:55:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/napa/5 09:55:29 INFO: archiving workspace using pattern(s): 09:55:30 Archives upload complete. 09:55:30 INFO: archiving logs to Nexus