Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2106e125979a086dec88e89ea60f58fe74ababf0 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-ssh6510085950644029139.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-ssh1615815058262543956.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1803873865893242966.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-ssh5461036964252627947.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh812987322528909533.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 Running on prd-ubuntu20.04-docker-8c-8g-4227 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2106e125979a086dec88e89ea60f58fe74ababf0 (main) > 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 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 Commit message: "Merge pull request #440 from weichou1229/upgrade-onvif-lib" > git rev-list --no-walk 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:35:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:35:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:35:18 ========================================================= 07:35:18 EdgeX Global Pipelines Version Info 07:35:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:35:19 ------------------- 07:35:19 stable info: 07:35:19 ------------------- 07:35:19 Commited By: Ginny Guan ginny@iotechsys.com 07:35:19 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:35:19 Message: update stable to v1.0.260 07:35:19 ------------------- 07:35:19 experimental info: 07:35:19 ------------------- 07:35:19 Commited By: Ginny Guan ginny@iotechsys.com 07:35:19 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:35:19 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2106e12 [Pipeline] echo 07:35:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:20 provisioning config files... 07:35:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14195751267413371136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:20 ---> ****-login.sh 07:35:20 nexus3.edgexfoundry.org:10001 07:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:21 Configure a credential helper to remove this warning. See 07:35:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:21 07:35:21 Login Succeeded 07:35:21 nexus3.edgexfoundry.org:10002 07:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:21 Configure a credential helper to remove this warning. See 07:35:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:21 07:35:21 Login Succeeded 07:35:21 nexus3.edgexfoundry.org:10003 07:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 nexus3.edgexfoundry.org:10004 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 ****.io 07:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:22 Configure a credential helper to remove this warning. See 07:35:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:22 07:35:22 Login Succeeded 07:35:22 ---> ****-login.sh ends [Pipeline] } 07:35:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:35:22 + git rev-list -1 --merges 2106e125979a086dec88e89ea60f58fe74ababf0~1..2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] echo 07:35:22 -----------> git rev-list -1 --merges 2106e125979a086dec88e89ea60f58fe74ababf0~1..2106e125979a086dec88e89ea60f58fe74ababf0 2106e125979a086dec88e89ea60f58fe74ababf0 07:35:22 2106e125979a086dec88e89ea60f58fe74ababf0 [false] [Pipeline] sh 07:35:23 + git log --format=format:%s -1 2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] echo 07:35:23 ========================================================= 07:35:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:35:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:35:23 + git log --format=format:%s -1 2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] echo 07:35:23 [semverPrep] GIT_COMMIT: 2106e125979a086dec88e89ea60f58fe74ababf0, Commit Message: Merge pull request #440 from weichou1229/upgrade-onvif-lib [Pipeline] echo 07:35:23 [semverPrep] This is not a build commit. [Pipeline] sh 07:35:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:35:23 + grep -v github /etc/ssh/ssh_known_hosts 07:35:23 + [ -e /tmp/ssh_known_hosts ] 07:35:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:35:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:35:23 + sudo tee -a /etc/ssh/ssh_known_hosts 07:35:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:24 07:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:24 0.1.4: Pulling from edgex-devops/py-git-semver 07:35:24 b85a868b505f: Pulling fs layer 07:35:24 e2be974225ed: Pulling fs layer 07:35:24 339a4e72a1f5: Pulling fs layer 07:35:24 988bab9f4d93: Pulling fs layer 07:35:24 1469e6f7b9e6: Pulling fs layer 07:35:24 eaf3925da568: Pulling fs layer 07:35:24 1469e6f7b9e6: Waiting 07:35:24 bab4dde63d76: Pulling fs layer 07:35:24 bde34c3a00c8: Pulling fs layer 07:35:24 eaf3925da568: Waiting 07:35:24 bab4dde63d76: Waiting 07:35:24 b352a97aabf1: Pulling fs layer 07:35:24 4872d77fe225: Pulling fs layer 07:35:24 5851b861e8e6: Pulling fs layer 07:35:24 bde34c3a00c8: Waiting 07:35:24 b352a97aabf1: Waiting 07:35:24 4872d77fe225: Waiting 07:35:24 5851b861e8e6: Waiting 07:35:24 e2be974225ed: Verifying Checksum 07:35:24 e2be974225ed: Download complete 07:35:24 988bab9f4d93: Verifying Checksum 07:35:24 988bab9f4d93: Download complete 07:35:24 1469e6f7b9e6: Download complete 07:35:24 339a4e72a1f5: Verifying Checksum 07:35:24 339a4e72a1f5: Download complete 07:35:24 eaf3925da568: Verifying Checksum 07:35:24 eaf3925da568: Download complete 07:35:24 bde34c3a00c8: Verifying Checksum 07:35:24 bde34c3a00c8: Download complete 07:35:24 b352a97aabf1: Download complete 07:35:24 4872d77fe225: Verifying Checksum 07:35:24 4872d77fe225: Download complete 07:35:24 5851b861e8e6: Verifying Checksum 07:35:24 5851b861e8e6: Download complete 07:35:24 b85a868b505f: Verifying Checksum 07:35:24 b85a868b505f: Download complete 07:35:25 bab4dde63d76: Verifying Checksum 07:35:25 bab4dde63d76: Download complete 07:35:26 b85a868b505f: Pull complete 07:35:26 e2be974225ed: Pull complete 07:35:26 339a4e72a1f5: Pull complete 07:35:26 988bab9f4d93: Pull complete 07:35:26 1469e6f7b9e6: Pull complete 07:35:26 eaf3925da568: Pull complete 07:35:28 bab4dde63d76: Pull complete 07:35:28 bde34c3a00c8: Pull complete 07:35:28 b352a97aabf1: Pull complete 07:35:28 4872d77fe225: Pull complete 07:35:28 5851b861e8e6: Pull complete 07:35:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:35:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:28 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:35:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:35:31 $ docker top 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 -eo pid,comm 07:35:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:35:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:31 [ssh-agent] Looking for ssh-agent implementation... 07:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:31 $ docker exec 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 ssh-agent 07:35:31 SSH_AUTH_SOCK=/tmp/ssh-X1yYVjfn6ADI/agent.32 07:35:31 SSH_AGENT_PID=38 07:35:31 Running ssh-add (command line suppressed) 07:35:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12994248607692604473.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12994248607692604473.key) 07:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:32 + git tag --points-at HEAD [Pipeline] } 07:35:32 $ docker exec --env ******** --env ******** 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 ssh-agent -k 07:35:32 unset SSH_AUTH_SOCK; 07:35:32 unset SSH_AGENT_PID; 07:35:32 echo Agent pid 38 killed; 07:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:35:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:32 [ssh-agent] Looking for ssh-agent implementation... 07:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:32 $ docker exec 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 ssh-agent 07:35:32 SSH_AUTH_SOCK=/tmp/ssh-k1KU4d842sMa/agent.72 07:35:32 SSH_AGENT_PID=78 07:35:32 Running ssh-add (command line suppressed) 07:35:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4340603202676010907.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4340603202676010907.key) 07:35:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:32 + git semver init 07:35:33 2024-06-24 07:35:33,072 [run_init] DEBUG init version:0.0.0 force:False 07:35:33 2024-06-24 07:35:33,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 07:35:33 2024-06-24 07:35:33,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 07:35:33 2024-06-24 07:35:33,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:35:34 2024-06-24 07:35:34,314 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 07:35:34 2024-06-24 07:35:34,315 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 07:35:34 2024-06-24 07:35:34,315 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:35:34 2024-06-24 07:35:34,315 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:35:34 3.2.0-dev.13 [Pipeline] } 07:35:34 $ docker exec --env ******** --env ******** 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 ssh-agent -k 07:35:34 unset SSH_AUTH_SOCK; 07:35:34 unset SSH_AGENT_PID; 07:35:34 echo Agent pid 78 killed; 07:35:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:35:34 + git semver [Pipeline] } 07:35:35 $ docker stop --time=1 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 07:35:36 $ docker rm -f --volumes 41065908f6b1f8b42b441e0473e40acb3a13062dad50fffa6ba01aa494c90543 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:35:37 Stashed 1 file(s) [Pipeline] echo 07:35:37 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:37 provisioning config files... 07:35:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11697219189839816597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:37 ---> ****-login.sh 07:35:37 nexus3.edgexfoundry.org:10001 07:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:37 Configure a credential helper to remove this warning. See 07:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:37 07:35:37 Login Succeeded 07:35:37 nexus3.edgexfoundry.org:10002 07:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:37 Configure a credential helper to remove this warning. See 07:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:37 07:35:37 Login Succeeded 07:35:37 nexus3.edgexfoundry.org:10003 07:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:37 Configure a credential helper to remove this warning. See 07:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:37 07:35:37 Login Succeeded 07:35:37 nexus3.edgexfoundry.org:10004 07:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:37 Configure a credential helper to remove this warning. See 07:35:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:37 07:35:37 Login Succeeded 07:35:37 ****.io 07:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:35:38 Configure a credential helper to remove this warning. See 07:35:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:35:38 07:35:38 Login Succeeded 07:35:38 ---> ****-login.sh ends [Pipeline] } 07:35:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:35:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:35:38 ========================================================= 07:35:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:35:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:35:38 Sending build context to Docker daemon 36.59MB 07:35:38 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 07:35:38 Step 2/13 : FROM ${BASE} AS builder 07:35:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:35:38 619be1103602: Pulling fs layer 07:35:38 7862e08f4a3e: Pulling fs layer 07:35:38 5df492c9dc93: Pulling fs layer 07:35:38 7629e6793208: Pulling fs layer 07:35:38 4f4fb700ef54: Pulling fs layer 07:35:38 fb5054dd5b73: Pulling fs layer 07:35:38 eeca6798cff9: Pulling fs layer 07:35:38 aa269ceb94a6: Pulling fs layer 07:35:38 ada007ff1a6a: Pulling fs layer 07:35:38 fb5054dd5b73: Waiting 07:35:38 aa269ceb94a6: Waiting 07:35:38 eeca6798cff9: Waiting 07:35:38 ada007ff1a6a: Waiting 07:35:38 7629e6793208: Waiting 07:35:38 4f4fb700ef54: Waiting 07:35:38 7862e08f4a3e: Download complete 07:35:38 7629e6793208: Verifying Checksum 07:35:38 7629e6793208: Download complete 07:35:38 4f4fb700ef54: Verifying Checksum 07:35:38 4f4fb700ef54: Download complete 07:35:38 fb5054dd5b73: Verifying Checksum 07:35:38 fb5054dd5b73: Download complete 07:35:38 619be1103602: Download complete 07:35:38 eeca6798cff9: Verifying Checksum 07:35:38 eeca6798cff9: Download complete 07:35:39 619be1103602: Pull complete 07:35:39 ada007ff1a6a: Verifying Checksum 07:35:39 ada007ff1a6a: Download complete 07:35:39 7862e08f4a3e: Pull complete 07:35:39 5df492c9dc93: Verifying Checksum 07:35:39 5df492c9dc93: Download complete 07:35:39 aa269ceb94a6: Verifying Checksum 07:35:39 aa269ceb94a6: Download complete 07:35:42 5df492c9dc93: Pull complete 07:35:42 7629e6793208: Pull complete 07:35:42 4f4fb700ef54: Pull complete 07:35:42 fb5054dd5b73: Pull complete 07:35:42 eeca6798cff9: Pull complete 07:35:44 aa269ceb94a6: Pull complete 07:35:44 ada007ff1a6a: Pull complete 07:35:44 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:35:44 ---> f489d0715acc 07:35:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:35:48 ---> Running in 610c338c841c 07:35:48 Removing intermediate container 610c338c841c 07:35:48 ---> 86f7e7d3c2a4 07:35:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:35:48 ---> Running in d0ae0e99406b 07:35:48 Removing intermediate container d0ae0e99406b 07:35:48 ---> c2aeb369a1cb 07:35:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:35:48 ---> Running in ccdeb91d5245 07:35:48 Removing intermediate container ccdeb91d5245 07:35:48 ---> 359359ba4c41 07:35:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:35:48 ---> Running in 39796c1a9d90 07:35:48 Removing intermediate container 39796c1a9d90 07:35:48 ---> 0fc3effa81ce 07:35:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:35:48 ---> Running in a326b5a62379 07:35:48 Removing intermediate container a326b5a62379 07:35:48 ---> 466e624219e4 07:35:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:48 ---> Running in d96c38ccb78c 07:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:35:49 OK: 264 MiB in 52 packages 07:35:49 Removing intermediate container d96c38ccb78c 07:35:49 ---> 3644254db7ff 07:35:49 Step 9/13 : WORKDIR /device-onvif-camera 07:35:49 ---> Running in 44740c433783 07:35:49 Removing intermediate container 44740c433783 07:35:49 ---> aa31ff63c9af 07:35:49 Step 10/13 : COPY go.mod vendor* ./ 07:35:49 ---> 9d46cd4216f3 07:35:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:49 ---> Running in 58438c6f8d9e 07:35:52 Still waiting to schedule task 07:35:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:36:36 Removing intermediate container 58438c6f8d9e 07:36:36 ---> 25b758314da7 07:36:36 Step 12/13 : COPY . . 07:36:36 ---> bc040c997a0b 07:36:36 Step 13/13 : RUN ${MAKE} 07:36:36 ---> Running in 57d8f3af3d0f 07:36:36 noop 07:36:36 Removing intermediate container 57d8f3af3d0f 07:36:36 ---> da2f64626b57 07:36:36 Successfully built da2f64626b57 07:36:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:36 + docker inspect -f . ci-base-image-x86_64 07:36:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:36 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:36:37 $ docker top 302005e75b46b083f692befbd3762dd9102dbb70026c2d6a9d6b9e212efa071b -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:38 + go version 07:36:38 go version go1.21.9 linux/amd64 [Pipeline] } 07:36:38 $ docker stop --time=1 302005e75b46b083f692befbd3762dd9102dbb70026c2d6a9d6b9e212efa071b 07:36:39 $ docker rm -f --volumes 302005e75b46b083f692befbd3762dd9102dbb70026c2d6a9d6b9e212efa071b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:49 + docker inspect -f . ci-base-image-x86_64 07:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:49 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:49 $ docker top e1a83b563b01058f72f063bd9fef3dca09fc4a2df6a9a700cedbdb185bf65516 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:49 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 07:37:50 + make test 07:37:50 go test ./... -coverprofile=coverage.out ./... 07:37:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:38:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4229 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 07:38:03 Running in /w/workspace/device-onvif-camera/198 [Pipeline] { [Pipeline] checkout 07:38:04 The recommended git tool is: git 07:38:08 using credential edgex-jenkins-ssh 07:38:08 Cloning the remote Git repository 07:38:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:38:08 > git init /w/workspace/device-onvif-camera/198 # timeout=10 07:38:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:38:08 > git --version # timeout=10 07:38:08 > git --version # 'git version 2.25.1' 07:38:08 using GIT_SSH to set credentials SSH Credentials for GitHub 07:38:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:38:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:38:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 31.4% of statements 07:38:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.017s coverage: 86.5% of statements 07:38:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:38:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:38:12 Avoid second fetch 07:38:12 Checking out Revision 2106e125979a086dec88e89ea60f58fe74ababf0 (main) 07:38:12 > git config core.sparsecheckout # timeout=10 07:38:12 > git checkout -f 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 07:38:12 Commit message: "Merge pull request #440 from weichou1229/upgrade-onvif-lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:38:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:17 Dload Upload Total Spent Left Speed 07:38:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90978 [Pipeline] sh 07:38:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:38:18 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 07:38:18 /etc/docker/daemon.json 07:38:18 { 07:38:18 "registry-mirrors": [ 07:38:18 "https://nexus3.edgexfoundry.org:10001" 07:38:18 ], 07:38:18 "bip": "10.250.0.254/24", 07:38:18 "hosts": [ 07:38:18 "tcp://0.0.0.0:5555", 07:38:18 "unix:///var/run/docker.sock" 07:38:18 ], 07:38:18 "mtu": 1458, 07:38:18 "selinux-enabled": true, 07:38:18 "seccomp-profile": "/etc/docker/seccomp.json" 07:38:18 } [Pipeline] sh 07:38:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:38:18 + sudo service docker restart 07:38:19 go vet ./... 07:38:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:26 ./bin/test-attribution-txt.sh 07:38:26 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:38:26 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:38:26 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:38:26 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:38:26 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:38:26 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:38:26 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:38:26 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:38:26 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:38:26 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:38:26 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:38:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:38:26 $ docker stop --time=1 e1a83b563b01058f72f063bd9fef3dca09fc4a2df6a9a700cedbdb185bf65516 07:38:28 $ docker rm -f --volumes e1a83b563b01058f72f063bd9fef3dca09fc4a2df6a9a700cedbdb185bf65516 [Pipeline] // withDockerContainer [Pipeline] sh 07:38:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:29 + ls -al . 07:38:29 total 312 07:38:29 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 07:37 . 07:38:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:35 .. 07:38:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:38 .git 07:38:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:35 .github 07:38:29 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:35 .gitignore 07:38:29 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:35 .golangci.yml 07:38:29 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:35 .semver 07:38:29 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:35 Attribution.txt 07:38:29 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:35 CHANGELOG.md 07:38:29 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:35 Dockerfile 07:38:29 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:35 GOVERNANCE.md 07:38:29 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:35 Jenkinsfile 07:38:29 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:35 LICENSE 07:38:29 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:35 Makefile 07:38:29 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:35 OWNERS.md 07:38:29 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:35 README.md 07:38:29 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 07:35 VERSION 07:38:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:35 bin 07:38:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:35 cmd 07:38:29 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:38 coverage.out 07:38:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:35 doc 07:38:29 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:35 go.mod 07:38:29 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:35 go.sum 07:38:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:35 internal 07:38:29 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:30 + 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=2106e125979a086dec88e89ea60f58fe74ababf0 --label arch=amd64 --label version=3.2.0-dev.13 . 07:38:30 Sending build context to Docker daemon 36.67MB 07:38:30 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 07:38:30 Step 2/27 : FROM ${BASE} AS builder 07:38:30 ---> da2f64626b57 07:38:30 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:38:30 ---> Running in 9c771700dd42 07:38:30 Removing intermediate container 9c771700dd42 07:38:30 ---> 2418216f39c8 07:38:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:30 ---> Running in f647c69d258d 07:38:30 Removing intermediate container f647c69d258d 07:38:30 ---> 93ac1fa807c1 07:38:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:38:30 ---> Running in 1f7510c20b07 07:38:30 Removing intermediate container 1f7510c20b07 07:38:30 ---> dc45d59995c9 07:38:30 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:38:30 ---> Running in 2ebbcb64d5b7 07:38:31 Removing intermediate container 2ebbcb64d5b7 07:38:31 ---> 619ad678a4de 07:38:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:38:31 ---> Running in 7b91db3bd89d 07:38:31 Removing intermediate container 7b91db3bd89d 07:38:31 ---> 752b46f1f7bc 07:38:31 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:31 ---> Running in cfd8f6081b15 07:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:38:31 OK: 264 MiB in 52 packages 07:38:32 Removing intermediate container cfd8f6081b15 07:38:32 ---> 17efd27698f3 07:38:32 Step 9/27 : WORKDIR /device-onvif-camera 07:38:32 ---> Running in 0bf5b60d44de 07:38:33 Removing intermediate container 0bf5b60d44de 07:38:33 ---> ca13e87faadd 07:38:33 Step 10/27 : COPY go.mod vendor* ./ 07:38:33 ---> a2abcd0a7af7 07:38:33 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:33 ---> Running in f4cae5ed505e 07:38:35 Removing intermediate container f4cae5ed505e 07:38:35 ---> 1f66fd9aa9bb 07:38:35 Step 12/27 : COPY . . 07:38:36 ---> 8d6a2aca54ac 07:38:36 Step 13/27 : RUN ${MAKE} 07:38:36 ---> Running in 505cc715faad 07:38:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:37 provisioning config files... 07:38:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/198@tmp/config13309228488667184143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:37 ---> ****-login.sh 07:38:37 nexus3.edgexfoundry.org:10001 07:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:38 Configure a credential helper to remove this warning. See 07:38:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:38 07:38:38 Login Succeeded 07:38:38 nexus3.edgexfoundry.org:10002 07:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:38 Configure a credential helper to remove this warning. See 07:38:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:38 07:38:38 Login Succeeded 07:38:38 nexus3.edgexfoundry.org:10003 07:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:38 Configure a credential helper to remove this warning. See 07:38:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:38 07:38:38 Login Succeeded 07:38:38 nexus3.edgexfoundry.org:10004 07:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 ****.io 07:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:39 Configure a credential helper to remove this warning. See 07:38:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:39 07:38:39 Login Succeeded 07:38:39 ---> ****-login.sh ends [Pipeline] } 07:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:38:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:38:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:38:40 ========================================================= 07:38:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:38:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:38:41 Sending build context to Docker daemon 21.7MB 07:38:41 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 07:38:41 Step 2/13 : FROM ${BASE} AS builder 07:38:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:38:41 c6b39de5b339: Pulling fs layer 07:38:41 a69c41024577: Pulling fs layer 07:38:41 d6de4b400683: Pulling fs layer 07:38:41 35cb2a7552d0: Pulling fs layer 07:38:41 4f4fb700ef54: Pulling fs layer 07:38:41 464afbd9ba4c: Pulling fs layer 07:38:41 00f215d4a9da: Pulling fs layer 07:38:41 d496ad576159: Pulling fs layer 07:38:41 35cb2a7552d0: Waiting 07:38:41 4f4fb700ef54: Waiting 07:38:41 464afbd9ba4c: Waiting 07:38:41 00f215d4a9da: Waiting 07:38:41 d496ad576159: Waiting 07:38:41 a69c41024577: Download complete 07:38:41 35cb2a7552d0: Verifying Checksum 07:38:41 35cb2a7552d0: Download complete 07:38:41 4f4fb700ef54: Verifying Checksum 07:38:41 4f4fb700ef54: Download complete 07:38:41 464afbd9ba4c: Verifying Checksum 07:38:41 464afbd9ba4c: Download complete 07:38:41 c6b39de5b339: Download complete 07:38:41 d496ad576159: Verifying Checksum 07:38:41 d496ad576159: Download complete 07:38:42 c6b39de5b339: Pull complete 07:38:43 d6de4b400683: Verifying Checksum 07:38:43 d6de4b400683: Download complete 07:38:43 a69c41024577: Pull complete 07:38:44 00f215d4a9da: Verifying Checksum 07:38:44 00f215d4a9da: Download complete 07:38:57 d6de4b400683: Pull complete 07:38:57 35cb2a7552d0: Pull complete 07:38:57 4f4fb700ef54: Pull complete 07:38:57 464afbd9ba4c: Pull complete 07:39:05 00f215d4a9da: Pull complete 07:39:07 d496ad576159: Pull complete 07:39:07 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:39:07 ---> f246e2811388 07:39:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:39:09 Removing intermediate container 505cc715faad 07:39:09 ---> 9bbf2938095c 07:39:09 Step 14/27 : FROM alpine:3.18 07:39:09 3.18: Pulling from library/alpine 07:39:09 73baa7ef167e: Pulling fs layer 07:39:09 73baa7ef167e: Verifying Checksum 07:39:09 73baa7ef167e: Download complete 07:39:09 73baa7ef167e: Pull complete 07:39:09 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:39:09 Status: Downloaded newer image for alpine:3.18 07:39:09 ---> 8fd7cac70a4a 07:39:09 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:39:09 ---> Running in 8f06c4aea39a 07:39:09 Removing intermediate container 8f06c4aea39a 07:39:09 ---> efad9b614644 07:39:09 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:39:09 ---> Running in 6f76ce74ad11 07:39:09 ---> Running in 84edf3e24a2c 07:39:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:39:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:39:09 Removing intermediate container 84edf3e24a2c 07:39:09 ---> c44ddee010d1 07:39:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:09 ---> Running in be2c54aced9f 07:39:09 (1/1) Installing dumb-init (1.2.5-r2) 07:39:09 Executing busybox-1.36.1-r7.trigger 07:39:09 OK: 7 MiB in 16 packages 07:39:09 Removing intermediate container be2c54aced9f 07:39:09 ---> f2b614def6f0 07:39:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:39:09 ---> Running in 0516f9bd9390 07:39:10 Removing intermediate container 6f76ce74ad11 07:39:10 ---> 5df17a4ee5c5 07:39:10 Step 17/27 : RUN apk --no-cache upgrade 07:39:10 ---> Running in a7cb038ad822 07:39:10 Removing intermediate container 0516f9bd9390 07:39:10 ---> 97a040d442e0 07:39:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:39:10 ---> Running in 38b85a3e97c9 07:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:39:10 Removing intermediate container 38b85a3e97c9 07:39:10 ---> bc2fd97dafc6 07:39:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:39:10 OK: 7 MiB in 16 packages 07:39:10 ---> Running in 05c97600a2d9 07:39:10 Removing intermediate container a7cb038ad822 07:39:10 ---> b5835cbc7790 07:39:10 Step 18/27 : WORKDIR / 07:39:10 Removing intermediate container 05c97600a2d9 07:39:10 ---> 07c191a27a3c 07:39:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:10 ---> Running in 9ca17a648e72 07:39:11 ---> Running in f75462211ff4 07:39:11 Removing intermediate container f75462211ff4 07:39:11 ---> 19a541661ad3 07:39:11 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:39:12 ---> bb5a71710736 07:39:12 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:39:12 ---> 44b8c98723f4 07:39:12 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:39:12 ---> 819c0031c9d1 07:39:12 Step 22/27 : EXPOSE 59984 07:39:12 ---> Running in c62e461b15a2 07:39:12 Removing intermediate container c62e461b15a2 07:39:12 ---> 64bbf462b1e4 07:39:12 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:39:12 ---> Running in 7ae3e0ea41e5 07:39:12 Removing intermediate container 7ae3e0ea41e5 07:39:12 ---> b804acb192ff 07:39:12 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:39:12 ---> Running in 512752bd1139 07:39:12 Removing intermediate container 512752bd1139 07:39:12 ---> c82fe6cf6e12 07:39:12 Step 25/27 : LABEL arch=amd64 07:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:39:12 ---> Running in 532e44116a39 07:39:12 Removing intermediate container 532e44116a39 07:39:12 ---> 49fc2ac51e5a 07:39:12 Step 26/27 : LABEL git_sha=2106e125979a086dec88e89ea60f58fe74ababf0 07:39:12 ---> Running in 656a96eb7214 07:39:12 Removing intermediate container 656a96eb7214 07:39:12 ---> 31717bea6e19 07:39:12 Step 27/27 : LABEL version=3.2.0-dev.13 07:39:12 ---> Running in 71fe0dc6a689 07:39:12 Removing intermediate container 71fe0dc6a689 07:39:12 ---> 54ffd2be1fbd 07:39:12 [Warning] One or more build-args [ARCH] were not consumed 07:39:12 Successfully built 54ffd2be1fbd 07:39:12 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:12 provisioning config files... 07:39:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3044805794449561056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:13 ---> ****-login.sh 07:39:13 nexus3.edgexfoundry.org:10001 07:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:13 Configure a credential helper to remove this warning. See 07:39:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:13 07:39:13 Login Succeeded 07:39:13 nexus3.edgexfoundry.org:10002 07:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:13 Configure a credential helper to remove this warning. See 07:39:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:13 07:39:13 Login Succeeded 07:39:13 nexus3.edgexfoundry.org:10003 07:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:13 Configure a credential helper to remove this warning. See 07:39:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:13 07:39:13 Login Succeeded 07:39:13 nexus3.edgexfoundry.org:10004 07:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:13 Configure a credential helper to remove this warning. See 07:39:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:13 07:39:13 Login Succeeded 07:39:13 ****.io 07:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:13 OK: 266 MiB in 52 packages 07:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:13 Configure a credential helper to remove this warning. See 07:39:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:13 07:39:13 Login Succeeded 07:39:13 ---> ****-login.sh ends [Pipeline] } 07:39:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:13 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 07:39:13 2106e125979a086dec88e89ea60f58fe74ababf0 07:39:13 latest 07:39:13 3.2.0-dev.13 07:39:13 2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:39:13 main 07:39:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:14 Removing intermediate container 9ca17a648e72 07:39:14 ---> 9d73a0b2499f 07:39:14 Step 9/13 : WORKDIR /device-onvif-camera 07:39:14 ---> Running in 21216175378f 07:39:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0 07:39:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:39:14 2ced0d9699a8: Preparing 07:39:14 5844d6684cca: Preparing 07:39:14 2bb89f717b32: Preparing 07:39:14 f48807b82a5e: Preparing 07:39:14 708a7d4e693b: Preparing 07:39:14 63ec0bd56cf3: Preparing 07:39:14 63ec0bd56cf3: Waiting 07:39:14 5844d6684cca: Pushed 07:39:14 f48807b82a5e: Pushed 07:39:14 2ced0d9699a8: Pushed 07:39:14 708a7d4e693b: Pushed 07:39:14 63ec0bd56cf3: Layer already exists 07:39:14 Removing intermediate container 21216175378f 07:39:14 ---> 381e2b83cbea 07:39:14 Step 10/13 : COPY go.mod vendor* ./ 07:39:15 ---> dd999c600b8a 07:39:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:15 ---> Running in 69f7be743da7 07:39:17 2bb89f717b32: Pushed 07:39:17 2106e125979a086dec88e89ea60f58fe74ababf0: digest: sha256:e633d4ff5fecb23c50cbdb9bfcc2b40311c95dbd03954bcc489ec51b35e10177 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:39:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:39:18 2ced0d9699a8: Preparing 07:39:18 5844d6684cca: Preparing 07:39:18 2bb89f717b32: Preparing 07:39:18 f48807b82a5e: Preparing 07:39:18 708a7d4e693b: Preparing 07:39:18 63ec0bd56cf3: Preparing 07:39:18 63ec0bd56cf3: Waiting 07:39:18 f48807b82a5e: Layer already exists 07:39:18 5844d6684cca: Layer already exists 07:39:18 708a7d4e693b: Layer already exists 07:39:18 2ced0d9699a8: Layer already exists 07:39:18 2bb89f717b32: Layer already exists 07:39:18 63ec0bd56cf3: Layer already exists 07:39:18 latest: digest: sha256:e633d4ff5fecb23c50cbdb9bfcc2b40311c95dbd03954bcc489ec51b35e10177 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.13 07:39:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:39:19 2ced0d9699a8: Preparing 07:39:19 5844d6684cca: Preparing 07:39:19 2bb89f717b32: Preparing 07:39:19 f48807b82a5e: Preparing 07:39:19 708a7d4e693b: Preparing 07:39:19 63ec0bd56cf3: Preparing 07:39:19 63ec0bd56cf3: Waiting 07:39:19 5844d6684cca: Layer already exists 07:39:19 2bb89f717b32: Layer already exists 07:39:19 2ced0d9699a8: Layer already exists 07:39:19 f48807b82a5e: Layer already exists 07:39:19 708a7d4e693b: Layer already exists 07:39:19 63ec0bd56cf3: Layer already exists 07:39:19 3.2.0-dev.13: digest: sha256:e633d4ff5fecb23c50cbdb9bfcc2b40311c95dbd03954bcc489ec51b35e10177 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:39:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:39:19 2ced0d9699a8: Preparing 07:39:19 5844d6684cca: Preparing 07:39:19 2bb89f717b32: Preparing 07:39:19 f48807b82a5e: Preparing 07:39:19 708a7d4e693b: Preparing 07:39:19 63ec0bd56cf3: Preparing 07:39:19 63ec0bd56cf3: Waiting 07:39:19 2ced0d9699a8: Layer already exists 07:39:19 2bb89f717b32: Layer already exists 07:39:19 5844d6684cca: Layer already exists 07:39:19 708a7d4e693b: Layer already exists 07:39:19 f48807b82a5e: Layer already exists 07:39:19 63ec0bd56cf3: Layer already exists 07:39:19 2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13: digest: sha256:e633d4ff5fecb23c50cbdb9bfcc2b40311c95dbd03954bcc489ec51b35e10177 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 07:39:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:39:20 2ced0d9699a8: Preparing 07:39:20 5844d6684cca: Preparing 07:39:20 2bb89f717b32: Preparing 07:39:20 f48807b82a5e: Preparing 07:39:20 708a7d4e693b: Preparing 07:39:20 63ec0bd56cf3: Preparing 07:39:20 63ec0bd56cf3: Waiting 07:39:20 2bb89f717b32: Layer already exists 07:39:20 5844d6684cca: Layer already exists 07:39:20 708a7d4e693b: Layer already exists 07:39:20 2ced0d9699a8: Layer already exists 07:39:20 f48807b82a5e: Layer already exists 07:39:20 63ec0bd56cf3: Layer already exists 07:39:20 main: digest: sha256:e633d4ff5fecb23c50cbdb9bfcc2b40311c95dbd03954bcc489ec51b35e10177 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:20 ===================================================== [Pipeline] echo 07:39:20 taggedImages: 07:39:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0 07:39:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:39:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.13 07:39:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:39:20 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:21 07:39:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:21 latest: Pulling from edgex-lftools-log-publisher 07:39:21 5eb5b503b376: Pulling fs layer 07:39:21 5c69ac0246d0: Pulling fs layer 07:39:21 ec43610c2a17: Pulling fs layer 07:39:21 3a2ae6a8a46f: Pulling fs layer 07:39:21 33b1e0a273af: Pulling fs layer 07:39:21 5d3b04190fa2: Pulling fs layer 07:39:21 2f39f015ded8: Pulling fs layer 07:39:21 3a2ae6a8a46f: Waiting 07:39:21 33b1e0a273af: Waiting 07:39:21 5d3b04190fa2: Waiting 07:39:21 2f39f015ded8: Waiting 07:39:21 5c69ac0246d0: Download complete 07:39:21 3a2ae6a8a46f: Verifying Checksum 07:39:21 3a2ae6a8a46f: Download complete 07:39:21 33b1e0a273af: Verifying Checksum 07:39:21 33b1e0a273af: Download complete 07:39:21 5d3b04190fa2: Verifying Checksum 07:39:21 5d3b04190fa2: Download complete 07:39:21 ec43610c2a17: Verifying Checksum 07:39:21 5eb5b503b376: Verifying Checksum 07:39:21 5eb5b503b376: Download complete 07:39:22 2f39f015ded8: Download complete 07:39:23 5eb5b503b376: Pull complete 07:39:23 5c69ac0246d0: Pull complete 07:39:23 ec43610c2a17: Pull complete 07:39:23 3a2ae6a8a46f: Pull complete 07:39:24 33b1e0a273af: Pull complete 07:39:24 5d3b04190fa2: Pull complete 07:39:29 2f39f015ded8: Pull complete 07:39:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:39:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:29 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:39:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:39:34 $ docker top 8669910cc4beb04e6f3816918831b74dd296f9713bd16fa1e5fbd8492f06a703 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:35 ---> job-cost.sh 07:39:35 lf-activate-venv: SKIPPING 07:39:35 INFO: No Stack... 07:39:35 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:35 INFO: Archiving Costs [Pipeline] sh 07:39:36 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 07:39:36 + cut -d, -f6 [Pipeline] lock 07:39:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] 07:39:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] did not exist. Created. 07:39:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:39:36 + echo total: 0.2199999988079071 [Pipeline] stash 07:39:36 Stashed 1 file(s) [Pipeline] } 07:39:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 07:39:36 $ docker stop --time=1 8669910cc4beb04e6f3816918831b74dd296f9713bd16fa1e5fbd8492f06a703 07:39:37 $ docker rm -f --volumes 8669910cc4beb04e6f3816918831b74dd296f9713bd16fa1e5fbd8492f06a703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:41:07 Removing intermediate container 69f7be743da7 07:41:07 ---> c88196d9446c 07:41:07 Step 12/13 : COPY . . 07:41:07 ---> a70845230b8d 07:41:07 Step 13/13 : RUN ${MAKE} 07:41:07 ---> Running in b2edaaa62342 07:41:07 noop 07:41:07 Removing intermediate container b2edaaa62342 07:41:07 ---> dba8121b4495 07:41:07 Successfully built dba8121b4495 07:41:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:07 + docker inspect -f . ci-base-image-arm64 07:41:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:07 prd-ubuntu20.04-docker-arm64-4c-16g-4229 does not seem to be running inside a container 07:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/198 -v /w/workspace/device-onvif-camera/198:/w/workspace/device-onvif-camera/198:rw,z -v /w/workspace/device-onvif-camera/198@tmp:/w/workspace/device-onvif-camera/198@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 ******** ci-base-image-arm64 cat 07:41:09 $ docker top 6c5c9111c102650cbf2a75f26d46695c1a08650d61690d20809f9ecd42e63b43 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:09 + go version 07:41:09 go version go1.21.9 linux/arm64 [Pipeline] } 07:41:09 $ docker stop --time=1 6c5c9111c102650cbf2a75f26d46695c1a08650d61690d20809f9ecd42e63b43 07:41:11 $ docker rm -f --volumes 6c5c9111c102650cbf2a75f26d46695c1a08650d61690d20809f9ecd42e63b43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:12 + docker inspect -f . ci-base-image-arm64 07:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:12 prd-ubuntu20.04-docker-arm64-4c-16g-4229 does not seem to be running inside a container 07:41:12 $ 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/198 -v /w/workspace/device-onvif-camera/198:/w/workspace/device-onvif-camera/198:rw,z -v /w/workspace/device-onvif-camera/198@tmp:/w/workspace/device-onvif-camera/198@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 ******** ci-base-image-arm64 cat 07:41:13 $ docker top 64aff236a175f681d7ae334ba4bc369c110d3da414be743c9192545f2c20d325 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/198 [Pipeline] fileExists [Pipeline] sh 07:41:15 + make test 07:41:15 go test ./... -coverprofile=coverage.out ./... 07:41:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:44:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:44:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:44:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 31.4% of statements 07:45:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.704s coverage: 86.5% of statements 07:45:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:45:25 go vet ./... 07:46:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:46:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:46:12 ./bin/test-attribution-txt.sh 07:46:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:46:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:46:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:46:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:46:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:46:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:46:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:46:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:46:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:46:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:46:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:46:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:46:12 $ docker stop --time=1 64aff236a175f681d7ae334ba4bc369c110d3da414be743c9192545f2c20d325 07:46:14 $ docker rm -f --volumes 64aff236a175f681d7ae334ba4bc369c110d3da414be743c9192545f2c20d325 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:15 Warning: overwriting stash ‘coverage-report’ 07:46:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:17 + ls -al . 07:46:17 total 308 07:46:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:41 . 07:46:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 .. 07:46:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:38 .git 07:46:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 .github 07:46:17 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:38 .gitignore 07:46:17 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:38 .golangci.yml 07:46:17 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:38 Attribution.txt 07:46:17 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:38 CHANGELOG.md 07:46:17 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:38 Dockerfile 07:46:17 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:38 GOVERNANCE.md 07:46:17 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:38 Jenkinsfile 07:46:17 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:38 LICENSE 07:46:17 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:38 Makefile 07:46:17 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:38 OWNERS.md 07:46:17 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:38 README.md 07:46:17 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 07:35 VERSION 07:46:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:38 bin 07:46:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 cmd 07:46:17 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:45 coverage.out 07:46:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 doc 07:46:17 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:38 go.mod 07:46:17 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:38 go.sum 07:46:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 internal 07:46:17 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:17 + 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=2106e125979a086dec88e89ea60f58fe74ababf0 --label arch=arm64 --label version=3.2.0-dev.13 . 07:46:18 Sending build context to Docker daemon 21.78MB 07:46:18 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 07:46:18 Step 2/27 : FROM ${BASE} AS builder 07:46:18 ---> dba8121b4495 07:46:18 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:46:18 ---> Running in 2525a015f1ee 07:46:18 Removing intermediate container 2525a015f1ee 07:46:18 ---> 4f9db6379382 07:46:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:18 ---> Running in 1fca117dfe02 07:46:19 Removing intermediate container 1fca117dfe02 07:46:19 ---> dfd4aec1526b 07:46:19 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:46:19 ---> Running in 2e9fc1dc67be 07:46:19 Removing intermediate container 2e9fc1dc67be 07:46:19 ---> 2e8ee5dc1b18 07:46:19 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:46:19 ---> Running in 6ffa63cf4ef8 07:46:20 Removing intermediate container 6ffa63cf4ef8 07:46:20 ---> 97a4d40fb74e 07:46:20 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:46:20 ---> Running in 8aaf27069a9c 07:46:20 Removing intermediate container 8aaf27069a9c 07:46:20 ---> 8dd3d8a62caf 07:46:20 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:20 ---> Running in 5db445d0f433 07:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:46:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:46:23 OK: 266 MiB in 52 packages 07:46:24 Removing intermediate container 5db445d0f433 07:46:24 ---> 58b315f0282a 07:46:24 Step 9/27 : WORKDIR /device-onvif-camera 07:46:24 ---> Running in f35354872d1a 07:46:24 Removing intermediate container f35354872d1a 07:46:24 ---> 97bfe83d6e61 07:46:24 Step 10/27 : COPY go.mod vendor* ./ 07:46:24 ---> b9c9d0d874ed 07:46:24 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:24 ---> Running in c4ba425ba874 07:46:27 Removing intermediate container c4ba425ba874 07:46:27 ---> 7a0d10782f50 07:46:27 Step 12/27 : COPY . . 07:46:29 ---> 91faa9201f91 07:46:29 Step 13/27 : RUN ${MAKE} 07:46:29 ---> Running in 4563a7f1484b 07:46:30 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:50:22 Removing intermediate container 4563a7f1484b 07:50:22 ---> 32872044335e 07:50:22 Step 14/27 : FROM alpine:3.18 07:50:22 3.18: Pulling from library/alpine 07:50:22 5c905c7ebe2f: Pulling fs layer 07:50:22 5c905c7ebe2f: Verifying Checksum 07:50:22 5c905c7ebe2f: Download complete 07:50:22 5c905c7ebe2f: Pull complete 07:50:22 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:50:22 Status: Downloaded newer image for alpine:3.18 07:50:22 ---> dec292d02e07 07:50:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:50:22 ---> Running in 03402ccce1f5 07:50:22 Removing intermediate container 03402ccce1f5 07:50:22 ---> 2c1c630689c0 07:50:22 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:50:22 ---> Running in cf265335f8f8 07:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:50:22 (1/1) Installing dumb-init (1.2.5-r2) 07:50:22 Executing busybox-1.36.1-r7.trigger 07:50:22 OK: 8 MiB in 16 packages 07:50:22 Removing intermediate container cf265335f8f8 07:50:22 ---> d38de1fc4fec 07:50:22 Step 17/27 : RUN apk --no-cache upgrade 07:50:22 ---> Running in 1b0354df6fae 07:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:50:22 OK: 8 MiB in 16 packages 07:50:22 Removing intermediate container 1b0354df6fae 07:50:22 ---> 5aaee010b6b9 07:50:22 Step 18/27 : WORKDIR / 07:50:22 ---> Running in b42dbbcf2252 07:50:22 Removing intermediate container b42dbbcf2252 07:50:22 ---> efdea5eaacc7 07:50:22 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:50:22 ---> e7adc6764924 07:50:22 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:50:23 ---> 2f55289ca384 07:50:23 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:50:23 ---> ad15872a162b 07:50:23 Step 22/27 : EXPOSE 59984 07:50:23 ---> Running in 5559900e45e1 07:50:23 Removing intermediate container 5559900e45e1 07:50:23 ---> 63efc4d66660 07:50:23 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:50:24 ---> Running in eb8056fee6a6 07:50:24 Removing intermediate container eb8056fee6a6 07:50:24 ---> 41e627bb3fb1 07:50:24 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:50:24 ---> Running in 7363da7804ab 07:50:24 Removing intermediate container 7363da7804ab 07:50:24 ---> 1003d7c36873 07:50:24 Step 25/27 : LABEL arch=arm64 07:50:24 ---> Running in 7f6ec24574be 07:50:25 Removing intermediate container 7f6ec24574be 07:50:25 ---> 58aab5c41978 07:50:25 Step 26/27 : LABEL git_sha=2106e125979a086dec88e89ea60f58fe74ababf0 07:50:25 ---> Running in 05a13ff247bc 07:50:25 Removing intermediate container 05a13ff247bc 07:50:25 ---> 860db9e8a506 07:50:25 Step 27/27 : LABEL version=3.2.0-dev.13 07:50:25 ---> Running in 0f227dcca7c1 07:50:26 Removing intermediate container 0f227dcca7c1 07:50:26 ---> ba086b7359e4 07:50:26 [Warning] One or more build-args [ARCH] were not consumed 07:50:26 Successfully built ba086b7359e4 07:50:26 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 07:50:26 provisioning config files... 07:50:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/198@tmp/config7238434787166856571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:26 ---> ****-login.sh 07:50:26 nexus3.edgexfoundry.org:10001 07:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:26 Configure a credential helper to remove this warning. See 07:50:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:26 07:50:26 Login Succeeded 07:50:26 nexus3.edgexfoundry.org:10002 07:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:27 Configure a credential helper to remove this warning. See 07:50:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:27 07:50:27 Login Succeeded 07:50:27 nexus3.edgexfoundry.org:10003 07:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:27 Configure a credential helper to remove this warning. See 07:50:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:27 07:50:27 Login Succeeded 07:50:27 nexus3.edgexfoundry.org:10004 07:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:27 Configure a credential helper to remove this warning. See 07:50:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:27 07:50:27 Login Succeeded 07:50:27 ****.io 07:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:28 Configure a credential helper to remove this warning. See 07:50:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:28 07:50:28 Login Succeeded 07:50:28 ---> ****-login.sh ends [Pipeline] } 07:50:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:50:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:28 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 07:50:28 2106e125979a086dec88e89ea60f58fe74ababf0 07:50:28 latest 07:50:28 3.2.0-dev.13 07:50:28 2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:50:28 main 07:50:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:28 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0 07:50:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:50:29 c4b8ac6a17bc: Preparing 07:50:29 d7850a330f3c: Preparing 07:50:29 6f254fb96127: Preparing 07:50:29 77136c1897e2: Preparing 07:50:29 88c40eac79c5: Preparing 07:50:29 da707bb00cb8: Preparing 07:50:29 da707bb00cb8: Waiting 07:50:29 d7850a330f3c: Pushed 07:50:29 77136c1897e2: Pushed 07:50:29 c4b8ac6a17bc: Pushed 07:50:29 da707bb00cb8: Layer already exists 07:50:29 88c40eac79c5: Pushed 07:50:37 6f254fb96127: Pushed 07:50:37 2106e125979a086dec88e89ea60f58fe74ababf0: digest: sha256:6b93999f8e171fef0ea165cd0fb56e748b6d8306e29d3665f90943fb4da73ec4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:50:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:50:38 c4b8ac6a17bc: Preparing 07:50:38 d7850a330f3c: Preparing 07:50:38 6f254fb96127: Preparing 07:50:38 77136c1897e2: Preparing 07:50:38 88c40eac79c5: Preparing 07:50:38 da707bb00cb8: Preparing 07:50:38 da707bb00cb8: Waiting 07:50:38 88c40eac79c5: Layer already exists 07:50:38 d7850a330f3c: Layer already exists 07:50:38 77136c1897e2: Layer already exists 07:50:38 6f254fb96127: Layer already exists 07:50:38 c4b8ac6a17bc: Layer already exists 07:50:38 da707bb00cb8: Layer already exists 07:50:38 latest: digest: sha256:6b93999f8e171fef0ea165cd0fb56e748b6d8306e29d3665f90943fb4da73ec4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:39 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.13 07:50:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:50:39 c4b8ac6a17bc: Preparing 07:50:39 d7850a330f3c: Preparing 07:50:39 6f254fb96127: Preparing 07:50:39 77136c1897e2: Preparing 07:50:39 88c40eac79c5: Preparing 07:50:39 da707bb00cb8: Preparing 07:50:39 da707bb00cb8: Waiting 07:50:39 6f254fb96127: Layer already exists 07:50:39 d7850a330f3c: Layer already exists 07:50:39 77136c1897e2: Layer already exists 07:50:39 c4b8ac6a17bc: Layer already exists 07:50:39 88c40eac79c5: Layer already exists 07:50:39 da707bb00cb8: Layer already exists 07:50:39 3.2.0-dev.13: digest: sha256:6b93999f8e171fef0ea165cd0fb56e748b6d8306e29d3665f90943fb4da73ec4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:50:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:50:40 c4b8ac6a17bc: Preparing 07:50:40 d7850a330f3c: Preparing 07:50:40 6f254fb96127: Preparing 07:50:40 77136c1897e2: Preparing 07:50:40 88c40eac79c5: Preparing 07:50:40 da707bb00cb8: Preparing 07:50:40 da707bb00cb8: Waiting 07:50:40 d7850a330f3c: Layer already exists 07:50:40 c4b8ac6a17bc: Layer already exists 07:50:40 6f254fb96127: Layer already exists 07:50:40 77136c1897e2: Layer already exists 07:50:40 da707bb00cb8: Layer already exists 07:50:40 88c40eac79c5: Layer already exists 07:50:40 2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13: digest: sha256:6b93999f8e171fef0ea165cd0fb56e748b6d8306e29d3665f90943fb4da73ec4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 07:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:50:41 c4b8ac6a17bc: Preparing 07:50:41 d7850a330f3c: Preparing 07:50:41 6f254fb96127: Preparing 07:50:41 77136c1897e2: Preparing 07:50:41 88c40eac79c5: Preparing 07:50:41 da707bb00cb8: Preparing 07:50:41 da707bb00cb8: Waiting 07:50:41 6f254fb96127: Layer already exists 07:50:41 88c40eac79c5: Layer already exists 07:50:41 c4b8ac6a17bc: Layer already exists 07:50:41 77136c1897e2: Layer already exists 07:50:41 d7850a330f3c: Layer already exists 07:50:41 da707bb00cb8: Layer already exists 07:50:41 main: digest: sha256:6b93999f8e171fef0ea165cd0fb56e748b6d8306e29d3665f90943fb4da73ec4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:50:41 ===================================================== [Pipeline] echo 07:50:41 taggedImages: 07:50:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0 07:50:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:50:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.13 07:50:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2106e125979a086dec88e89ea60f58fe74ababf0-3.2.0-dev.13 07:50:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:42 07:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:42 arm64: Pulling from edgex-lftools-log-publisher 07:50:42 8998bd30e6a1: Pulling fs layer 07:50:42 04944245beec: Pulling fs layer 07:50:42 699f458cf7ca: Pulling fs layer 07:50:42 765212b225bb: Pulling fs layer 07:50:42 f23df028b6ca: Pulling fs layer 07:50:42 d65c8cfc05b1: Pulling fs layer 07:50:42 2437ff75d9bd: Pulling fs layer 07:50:42 765212b225bb: Waiting 07:50:42 f23df028b6ca: Waiting 07:50:42 d65c8cfc05b1: Waiting 07:50:42 2437ff75d9bd: Waiting 07:50:42 04944245beec: Verifying Checksum 07:50:42 04944245beec: Download complete 07:50:42 765212b225bb: Verifying Checksum 07:50:42 765212b225bb: Download complete 07:50:42 f23df028b6ca: Verifying Checksum 07:50:42 f23df028b6ca: Download complete 07:50:42 d65c8cfc05b1: Verifying Checksum 07:50:42 d65c8cfc05b1: Download complete 07:50:43 699f458cf7ca: Verifying Checksum 07:50:43 699f458cf7ca: Download complete 07:50:43 8998bd30e6a1: Verifying Checksum 07:50:43 8998bd30e6a1: Download complete 07:50:45 2437ff75d9bd: Verifying Checksum 07:50:45 2437ff75d9bd: Download complete 07:50:47 8998bd30e6a1: Pull complete 07:50:48 04944245beec: Pull complete 07:50:49 699f458cf7ca: Pull complete 07:50:50 765212b225bb: Pull complete 07:50:51 f23df028b6ca: Pull complete 07:50:51 d65c8cfc05b1: Pull complete 07:51:09 2437ff75d9bd: Pull complete 07:51:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:09 prd-ubuntu20.04-docker-arm64-4c-16g-4229 does not seem to be running inside a container 07:51:09 $ 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/198 -v /w/workspace/device-onvif-camera/198:/w/workspace/device-onvif-camera/198:rw,z -v /w/workspace/device-onvif-camera/198@tmp:/w/workspace/device-onvif-camera/198@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:arm64 cat 07:51:12 $ docker top 51b9552dac1a4d3b16f89ecc1f799884e8a78f5e820dca10ce96bc22aab4dba3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:13 ---> job-cost.sh 07:51:13 lf-activate-venv: SKIPPING 07:51:13 INFO: No Stack... 07:51:13 INFO: Retrieving Pricing Info for: v3-standard-4 07:51:14 INFO: Archiving Costs [Pipeline] sh 07:51:15 + cat /w/workspace/device-onvif-camera/198/archives/cost.csv 07:51:15 + cut -d, -f6 [Pipeline] lock 07:51:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] 07:51:15 Resource [jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] did not exist. Created. 07:51:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:51:16 /w/workspace/device-onvif-camera/198@tmp/durable-a7545408/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:51:16 + echo total: 0.10999999940395355 [Pipeline] stash 07:51:16 Warning: overwriting stash ‘stack-cost’ 07:51:17 Stashed 1 file(s) [Pipeline] } 07:51:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 07:51:17 $ docker stop --time=1 51b9552dac1a4d3b16f89ecc1f799884e8a78f5e820dca10ce96bc22aab4dba3 07:51:18 $ docker rm -f --volumes 51b9552dac1a4d3b16f89ecc1f799884e8a78f5e820dca10ce96bc22aab4dba3 [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 07:51:19 provisioning config files... 07:51:19 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4592658533612013476tmp [Pipeline] { [Pipeline] sh 07:51:19 + set +x 07:51:19 + bash -s -- 07:51:19 + curl -s https://codecov.io/bash 07:51:19 07:51:19 _____ _ 07:51:19 / ____| | | 07:51:19 | | ___ __| | ___ ___ _____ __ 07:51:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:51:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:51:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:51:19 Bash-1.0.6 07:51:19 07:51:19 07:51:19 ==> git version 2.25.1 found 07:51:19 ==> 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 07:51:19 Release-Date: 2020-01-08 07:51:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:51:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:51:19 ==> Jenkins CI detected. 07:51:19 current dir:  /w/workspace/foundry_device-onvif-camera_main 07:51:19 project root: . 07:51:19 --> token set from env 07:51:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:51:19 ==> Running gcov in . (disable via -X gcov) 07:51:19 ==> Python coveragepy not found 07:51:19 ==> Searching for coverage reports in: 07:51:19 + . 07:51:19 -> Found 1 reports 07:51:19 ==> Detecting git/mercurial file structure 07:51:19 ==> Reading reports 07:51:19 + ./coverage.out bytes=78805 07:51:19 ==> Appending adjustments 07:51:19 https://docs.codecov.io/docs/fixing-reports 07:51:19 + Found adjustments 07:51:19 ==> Gzipping contents 07:51:19 12K /tmp/codecov.JeGU9q.gz 07:51:19 ==> Uploading reports 07:51:19 url: https://codecov.io 07:51:19 query: branch=main&commit=2106e125979a086dec88e89ea60f58fe74ababf0&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:51:19 -> Pinging Codecov 07:51:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2106e125979a086dec88e89ea60f58fe74ababf0&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:51:19 -> Uploading to 07:51:19 https://storage.googleapis.com/codecov/v4/raw/2024-06-24/F29A59C45E3A92E06B3E522C9905F8EF/2106e125979a086dec88e89ea60f58fe74ababf0/c5119b2b-347c-4ff1-92d5-933553532173.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240624%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240624T075119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a4b041c9752b6aa1920a59400dcd8fdd4712a28775d063925d2b60f511d7696 07:51:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:19 Dload Upload Total Spent Left Speed 07:51:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 45217 --:--:-- --:--:-- --:--:-- 45217 07:51:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] } 07:51:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:51:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:51:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:51:20 07:51:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:51:20 latest: Pulling from edgex-devops/edgex-snyk-go 07:51:20 619be1103602: Already exists 07:51:20 f8ea3408117e: Pulling fs layer 07:51:20 91320369b822: Pulling fs layer 07:51:20 0406650e8295: Pulling fs layer 07:51:20 4f4fb700ef54: Pulling fs layer 07:51:20 96d80e3f36e1: Pulling fs layer 07:51:20 bcf3aedb951c: Pulling fs layer 07:51:20 4f4fb700ef54: Waiting 07:51:20 96d80e3f36e1: Waiting 07:51:20 bcf3aedb951c: Waiting 07:51:20 0406650e8295: Verifying Checksum 07:51:20 0406650e8295: Download complete 07:51:20 f8ea3408117e: Download complete 07:51:20 4f4fb700ef54: Verifying Checksum 07:51:20 4f4fb700ef54: Download complete 07:51:20 f8ea3408117e: Pull complete 07:51:21 96d80e3f36e1: Verifying Checksum 07:51:21 96d80e3f36e1: Download complete 07:51:21 91320369b822: Verifying Checksum 07:51:21 91320369b822: Download complete 07:51:21 bcf3aedb951c: Verifying Checksum 07:51:21 bcf3aedb951c: Download complete 07:51:24 91320369b822: Pull complete 07:51:24 0406650e8295: Pull complete 07:51:24 4f4fb700ef54: Pull complete 07:51:24 96d80e3f36e1: Pull complete 07:51:28 bcf3aedb951c: Pull complete 07:51:28 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:51:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:28 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:51:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:51:32 $ docker top 3f06cd1793998b2f37641291ed5914db9ae94826efacacb5324f79f6ed70c779 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:32 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 07:51:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 07:51:32 + set -o pipefail 07:51:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 07:51:42 07:51:42 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 07:51:42 07:51:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/80b89473-14b0-49cb-b161-e5b3cf3ef571 07:51:42 07:51:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:51:42 07:51:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:51:42 [Pipeline] } 07:51:42 $ docker stop --time=1 3f06cd1793998b2f37641291ed5914db9ae94826efacacb5324f79f6ed70c779 07:51:47 $ docker rm -f --volumes 3f06cd1793998b2f37641291ed5914db9ae94826efacacb5324f79f6ed70c779 [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 07:51:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:48 provisioning config files... 07:51:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5522095965360591260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:48 --> edgex-publish-swagger.sh 07:51:48 === Publish doc/openapi/v3 API === 07:51:48 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 07:51:48 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 07:51:48 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:48 Dload Upload Total Spent Left Speed 07:51:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 254 792k --:--:-- --:--:-- --:--:-- 792k 07:51:49 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 07:51:49 [Pipeline] } 07:51:49 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 07:51:49 + git log --format=format:%s -1 2106e125979a086dec88e89ea60f58fe74ababf0 [Pipeline] sh 07:51:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:50 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:51:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:51:51 $ docker top 9caed1efae864a2526cfcdcb160823ef9a82b78df7a5104231da29155d77e722 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:51 [ssh-agent] Looking for ssh-agent implementation... 07:51:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:51 $ docker exec 9caed1efae864a2526cfcdcb160823ef9a82b78df7a5104231da29155d77e722 ssh-agent 07:51:51 SSH_AUTH_SOCK=/tmp/ssh-q6eLKb832GBk/agent.32 07:51:51 SSH_AGENT_PID=38 07:51:51 Running ssh-add (command line suppressed) 07:51:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2446257144701235037.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2446257144701235037.key) 07:51:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:51 + git semver tag 07:51:52 2024-06-24 07:51:51,972 [run_tag] DEBUG tag force:False 07:51:52 2024-06-24 07:51:51,972 [check_head_tag] DEBUG check head tag 07:51:52 2024-06-24 07:51:51,973 [execute] INFO git cat-file --batch-check 07:51:52 2024-06-24 07:51:51,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:51:52 2024-06-24 07:51:51,978 [execute] INFO git cat-file --batch 07:51:52 2024-06-24 07:51:51,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:51:52 2024-06-24 07:51:51,993 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:51:52 2024-06-24 07:51:51,993 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 07:51:52 2024-06-24 07:51:51,993 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:51:52 2024-06-24 07:51:51,998 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:51:52 3.2.0-dev.13 [Pipeline] } 07:51:52 $ docker exec --env ******** --env ******** 9caed1efae864a2526cfcdcb160823ef9a82b78df7a5104231da29155d77e722 ssh-agent -k 07:51:52 unset SSH_AUTH_SOCK; 07:51:52 unset SSH_AGENT_PID; 07:51:52 echo Agent pid 38 killed; 07:51:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:52 + git semver [Pipeline] } 07:51:52 $ docker stop --time=1 9caed1efae864a2526cfcdcb160823ef9a82b78df7a5104231da29155d77e722 07:51:54 $ docker rm -f --volumes 9caed1efae864a2526cfcdcb160823ef9a82b78df7a5104231da29155d77e722 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:54 07:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:54 0.23.1-centos7: Pulling from edgex-lftools 07:51:54 ab5ef0e58194: Pulling fs layer 07:51:54 9712f1f96733: Pulling fs layer 07:51:54 63f879dbbcfc: Pulling fs layer 07:51:54 0d9ebad4ef96: Pulling fs layer 07:51:54 e9a5061849ea: Pulling fs layer 07:51:54 d747dcd14b5f: Pulling fs layer 07:51:54 2de7ff778b66: Pulling fs layer 07:51:54 d747dcd14b5f: Waiting 07:51:54 2de7ff778b66: Waiting 07:51:54 e9a5061849ea: Waiting 07:51:54 0d9ebad4ef96: Waiting 07:51:54 9712f1f96733: Verifying Checksum 07:51:54 9712f1f96733: Download complete 07:51:55 63f879dbbcfc: Verifying Checksum 07:51:55 63f879dbbcfc: Download complete 07:51:55 e9a5061849ea: Verifying Checksum 07:51:55 e9a5061849ea: Download complete 07:51:55 d747dcd14b5f: Verifying Checksum 07:51:55 d747dcd14b5f: Download complete 07:51:55 ab5ef0e58194: Verifying Checksum 07:51:55 ab5ef0e58194: Download complete 07:51:55 0d9ebad4ef96: Verifying Checksum 07:51:55 0d9ebad4ef96: Download complete 07:51:55 2de7ff778b66: Verifying Checksum 07:51:55 2de7ff778b66: Download complete 07:51:58 ab5ef0e58194: Pull complete 07:51:58 9712f1f96733: Pull complete 07:51:58 63f879dbbcfc: Pull complete 07:52:03 0d9ebad4ef96: Pull complete 07:52:03 e9a5061849ea: Pull complete 07:52:03 d747dcd14b5f: Pull complete 07:52:04 2de7ff778b66: Pull complete 07:52:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:52:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:04 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:52:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:52:09 $ docker top 695fc2062de4c0db3fb97542433b7f0936fcda2444b5545ba07fab86517a6936 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:52:09 provisioning config files... 07:52:09 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12201643207136463519tmp 07:52:09 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13088596056063289868tmp 07:52:09 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10471152889177465251tmp [Pipeline] { [Pipeline] echo 07:52:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:52:10 ---> sigul-configuration.sh 07:52:10 gpg: directory `/root/.gnupg' created 07:52:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:52:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:52:10 gpg: keyring `/root/.gnupg/secring.gpg' created 07:52:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:52:10 gpg: CAST5 encrypted data 07:52:10 gpg: encrypted with 1 passphrase 07:52:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:52:10 + mkdir /home/jenkins 07:52:10 + mkdir /home/jenkins/sigul [Pipeline] sh 07:52:10 + 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 07:52:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:52:11 ---> sigul-install.sh 07:52:11 Sigul already installed; skipping installation. [Pipeline] sh 07:52:11 + git tag --list 07:52:11 v0.0.0 07:52:11 v2.2.0 07:52:11 v2.3.0 07:52:11 v2.3.1 07:52:11 v3.0 07:52:11 v3.0.0 07:52:11 v3.1 07:52:11 v3.1.0 07:52:11 v3.1.0-dev.1 07:52:11 v3.1.0-dev.10 07:52:11 v3.1.0-dev.11 07:52:11 v3.1.0-dev.12 07:52:11 v3.1.0-dev.13 07:52:11 v3.1.0-dev.14 07:52:11 v3.1.0-dev.15 07:52:11 v3.1.0-dev.16 07:52:11 v3.1.0-dev.17 07:52:11 v3.1.0-dev.18 07:52:11 v3.1.0-dev.19 07:52:11 v3.1.0-dev.2 07:52:11 v3.1.0-dev.20 07:52:11 v3.1.0-dev.21 07:52:11 v3.1.0-dev.22 07:52:11 v3.1.0-dev.23 07:52:11 v3.1.0-dev.24 07:52:11 v3.1.0-dev.25 07:52:11 v3.1.0-dev.26 07:52:11 v3.1.0-dev.27 07:52:11 v3.1.0-dev.28 07:52:11 v3.1.0-dev.3 07:52:11 v3.1.0-dev.4 07:52:11 v3.1.0-dev.5 07:52:11 v3.1.0-dev.6 07:52:11 v3.1.0-dev.7 07:52:11 v3.1.0-dev.8 07:52:11 v3.1.0-dev.9 07:52:11 v3.1.1 07:52:11 v3.2.0-dev.1 07:52:11 v3.2.0-dev.10 07:52:11 v3.2.0-dev.11 07:52:11 v3.2.0-dev.12 07:52:11 v3.2.0-dev.13 07:52:11 v3.2.0-dev.2 07:52:11 v3.2.0-dev.3 07:52:11 v3.2.0-dev.4 07:52:11 v3.2.0-dev.5 07:52:11 v3.2.0-dev.6 07:52:11 v3.2.0-dev.7 07:52:11 v3.2.0-dev.8 07:52:11 v3.2.0-dev.9 [Pipeline] sh 07:52:11 + lftools sign git-tag v3.2.0-dev.13 07:52:12 Signing Git tag with Sigul... 07:52:12 Signing v3.2.0-dev.13 07:54:03 ERROR: I/O error: NSPR connection reset [Pipeline] echo 07:54:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:54:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:54:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:54:04 $ docker stop --time=1 695fc2062de4c0db3fb97542433b7f0936fcda2444b5545ba07fab86517a6936 07:54:05 $ docker rm -f --volumes 695fc2062de4c0db3fb97542433b7f0936fcda2444b5545ba07fab86517a6936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:54:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:06 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:54:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:54:06 $ docker top c0c8aecade3350091a196c88b3f502e4b9c26d32de14b8e77082e9a59a04b152 -eo pid,comm 07:54:06 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). 07:54:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:06 [ssh-agent] Looking for ssh-agent implementation... 07:54:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:06 $ docker exec c0c8aecade3350091a196c88b3f502e4b9c26d32de14b8e77082e9a59a04b152 ssh-agent 07:54:06 SSH_AUTH_SOCK=/tmp/ssh-LYDiAm6xKYAZ/agent.32 07:54:06 SSH_AGENT_PID=38 07:54:06 Running ssh-add (command line suppressed) 07:54:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17194701274800403725.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17194701274800403725.key) 07:54:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:07 + git semver bump pre 07:54:07 2024-06-24 07:54:07,478 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:54:07 2024-06-24 07:54:07,478 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 07:54:07 2024-06-24 07:54:07,478 [bump_version] DEBUG bumped version:3.2.0-dev.14 07:54:07 2024-06-24 07:54:07,478 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 07:54:07 2024-06-24 07:54:07,478 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:54:07 2024-06-24 07:54:07,478 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 07:54:07 2024-06-24 07:54:07,481 [execute] INFO git cat-file --batch-check 07:54:07 2024-06-24 07:54:07,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:07 2024-06-24 07:54:07,486 [execute] INFO git cat-file --batch 07:54:07 2024-06-24 07:54:07,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:07 2024-06-24 07:54:07,492 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:54:07 3.2.0-dev.14 [Pipeline] } 07:54:07 $ docker exec --env ******** --env ******** c0c8aecade3350091a196c88b3f502e4b9c26d32de14b8e77082e9a59a04b152 ssh-agent -k 07:54:07 unset SSH_AUTH_SOCK; 07:54:07 unset SSH_AGENT_PID; 07:54:07 echo Agent pid 38 killed; 07:54:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:08 + git semver [Pipeline] } 07:54:08 $ docker stop --time=1 c0c8aecade3350091a196c88b3f502e4b9c26d32de14b8e77082e9a59a04b152 07:54:09 $ docker rm -f --volumes c0c8aecade3350091a196c88b3f502e4b9c26d32de14b8e77082e9a59a04b152 [Pipeline] // withDockerContainer [Pipeline] sh 07:54:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:10 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:54:10 $ docker top 6b0a5f673db96469186b052fce69a888d9b576f069ea609ce5c6c63aaa455a1f -eo pid,comm 07:54:10 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). 07:54:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:10 [ssh-agent] Looking for ssh-agent implementation... 07:54:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:10 $ docker exec 6b0a5f673db96469186b052fce69a888d9b576f069ea609ce5c6c63aaa455a1f ssh-agent 07:54:10 SSH_AUTH_SOCK=/tmp/ssh-nRYi9FfPq7mo/agent.31 07:54:10 SSH_AGENT_PID=37 07:54:10 Running ssh-add (command line suppressed) 07:54:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13459772826649353026.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13459772826649353026.key) 07:54:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:11 + git semver push 07:54:11 2024-06-24 07:54:11,551 [run_push] DEBUG push 07:54:11 2024-06-24 07:54:11,552 [execute] INFO git cat-file --batch-check 07:54:11 2024-06-24 07:54:11,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:54:11 2024-06-24 07:54:11,557 [execute] INFO git rev-list 8ccbe5b484a2ce6aadb298084f397a405a246957 -- 07:54:11 2024-06-24 07:54:11,557 [execute] DEBUG Popen(['git', 'rev-list', '8ccbe5b484a2ce6aadb298084f397a405a246957', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:54:11 2024-06-24 07:54:11,567 [execute] INFO git fetch -v origin 07:54:11 2024-06-24 07:54:11,567 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 07:54:12 2024-06-24 07:54:12,025 [run_push] DEBUG no remote changes detected 07:54:12 2024-06-24 07:54:12,025 [execute] INFO git push origin semver 07:54:12 2024-06-24 07:54:12,026 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:54:12 2024-06-24 07:54:12,759 [run_push] DEBUG push all version tags 07:54:12 2024-06-24 07:54:12,759 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:54:12 2024-06-24 07:54:12,760 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:54:13 2024-06-24 07:54:13,381 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:54:13 3.2.0-dev.14 [Pipeline] } 07:54:13 $ docker exec --env ******** --env ******** 6b0a5f673db96469186b052fce69a888d9b576f069ea609ce5c6c63aaa455a1f ssh-agent -k 07:54:13 unset SSH_AUTH_SOCK; 07:54:13 unset SSH_AGENT_PID; 07:54:13 echo Agent pid 37 killed; 07:54:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:14 + git semver [Pipeline] } 07:54:14 $ docker stop --time=1 6b0a5f673db96469186b052fce69a888d9b576f069ea609ce5c6c63aaa455a1f 07:54:15 $ docker rm -f --volumes 6b0a5f673db96469186b052fce69a888d9b576f069ea609ce5c6c63aaa455a1f [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 07:54:16 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 07:54:16 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:54:16 total 16 07:54:16 drwxr-xr-x 3 root root 4096 Jun 24 07:39 . 07:54:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:52 .. 07:54:16 drwxr-xr-x 2 root root 4096 Jun 24 07:39 cost 07:54:16 -rw-r--r-- 1 root root 91 Jun 24 07:39 cost.csv 07:54:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 07:54:16 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:54:16 total 16 07:54:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:39 . 07:54:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:52 .. 07:54:16 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 07:39 cost 07:54:16 -rw-r--r-- 1 jenkins jenkins 91 Jun 24 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:54:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:54:17 ---> package-listing.sh 07:54:17 ++ facter osfamily 07:54:17 ++ tr '[:upper:]' '[:lower:]' 07:54:17 + OS_FAMILY=debian 07:54:17 + workspace=/w/workspace/foundry_device-onvif-camera_main 07:54:17 + START_PACKAGES=/tmp/packages_start.txt 07:54:17 + END_PACKAGES=/tmp/packages_end.txt 07:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:54:17 + PACKAGES=/tmp/packages_start.txt 07:54:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:54:17 + PACKAGES=/tmp/packages_end.txt 07:54:17 + case "${OS_FAMILY}" in 07:54:17 + dpkg -l 07:54:17 + grep '^ii' 07:54:17 + '[' -f /tmp/packages_start.txt ']' 07:54:17 + '[' -f /tmp/packages_end.txt ']' 07:54:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:54:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:54:17 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 07:54:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 07:54:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:54:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:18 prd-ubuntu20.04-docker-8c-8g-4227 does not seem to be running inside a container 07:54:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:54:18 $ docker top 6a05eceae6bb0d13c250fc3496bf566b51e1e47802da0965af369807b4b9da91 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:19 + touch /tmp/pre-build-complete [Pipeline] sh 07:54:19 + mkdir -p /var/log/sysstat [Pipeline] sh 07:54:19 + ls /var/log/sa-host 07:54:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:54:19 provisioning config files... 07:54:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3356937746420230585tmp [Pipeline] { [Pipeline] echo 07:54:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:54:20 ---> create-netrc.sh [Pipeline] } 07:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:54:20 ---> python-tools-install.sh [Pipeline] echo 07:54:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:54:20 ---> sudo-logs.sh 07:54:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:54:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:54:21 ---> job-cost.sh 07:54:21 lf-activate-venv: SKIPPING 07:54:21 DEBUG: total: 0.2199999988079071 07:54:21 INFO: Retrieving Stack Cost... 07:54:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:54:21 INFO: Archiving Costs [Pipeline] echo 07:54:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:54:22 ---> logs-deploy.sh 07:54:22 lf-activate-venv: SKIPPING 07:54:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/198 07:54:22 INFO: archiving workspace using pattern(s): 07:54:22 Archives upload complete. 07:54:22 INFO: archiving logs to Nexus