Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a701db29a77f3bc55bc717b71f527cfd5cf355f2 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-ssh3107819560423308461.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-ssh10424831250418953238.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-ssh13564070402956978973.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-ssh7693279192594511374.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-ssh15913323947980724589.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6098 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a701db29a77f3bc55bc717b71f527cfd5cf355f2 (main) Commit message: "Merge pull request #447 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" > git config core.sparsecheckout # timeout=10 > git checkout -f a701db29a77f3bc55bc717b71f527cfd5cf355f2 # timeout=10 > git rev-list --no-walk 10547900d901a25dbf28e3a77af8e7dd2aba8de7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:42 ========================================================= 04:06:42 EdgeX Global Pipelines Version Info 04:06:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:43 ------------------- 04:06:43 stable info: 04:06:43 ------------------- 04:06:43 Commited By: Ginny Guan ginny@iotechsys.com 04:06:43 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:06:43 Message: update stable to v1.0.260 04:06:44 ------------------- 04:06:44 experimental info: 04:06:44 ------------------- 04:06:44 Commited By: Ginny Guan ginny@iotechsys.com 04:06:44 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:06:44 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a701db2 [Pipeline] echo 04:06:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:45 provisioning config files... 04:06:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2854920822448674810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:45 ---> ****-login.sh 04:06:45 nexus3.edgexfoundry.org:10001 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10002 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10003 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10004 04:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:46 Configure a credential helper to remove this warning. See 04:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:46 04:06:46 Login Succeeded 04:06:46 ****.io 04:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:46 Configure a credential helper to remove this warning. See 04:06:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:46 04:06:46 Login Succeeded 04:06:46 ---> ****-login.sh ends [Pipeline] } 04:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:46 + git rev-list -1 --merges a701db29a77f3bc55bc717b71f527cfd5cf355f2~1..a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] echo 04:06:46 -----------> git rev-list -1 --merges a701db29a77f3bc55bc717b71f527cfd5cf355f2~1..a701db29a77f3bc55bc717b71f527cfd5cf355f2 a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:06:46 a701db29a77f3bc55bc717b71f527cfd5cf355f2 [false] [Pipeline] sh 04:06:47 + git log --format=format:%s -1 a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] echo 04:06:47 ========================================================= 04:06:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:47 + git log --format=format:%s -1 a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] echo 04:06:47 [semverPrep] GIT_COMMIT: a701db29a77f3bc55bc717b71f527cfd5cf355f2, Commit Message: Merge pull request #447 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25 [Pipeline] echo 04:06:47 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:47 + grep -v github /etc/ssh/ssh_known_hosts 04:06:47 + [ -e /tmp/ssh_known_hosts ] 04:06:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:47 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:48 04:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:48 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:48 b85a868b505f: Pulling fs layer 04:06:48 e2be974225ed: Pulling fs layer 04:06:48 339a4e72a1f5: Pulling fs layer 04:06:48 988bab9f4d93: Pulling fs layer 04:06:48 1469e6f7b9e6: Pulling fs layer 04:06:48 eaf3925da568: Pulling fs layer 04:06:48 bab4dde63d76: Pulling fs layer 04:06:48 bde34c3a00c8: Pulling fs layer 04:06:48 b352a97aabf1: Pulling fs layer 04:06:48 4872d77fe225: Pulling fs layer 04:06:48 5851b861e8e6: Pulling fs layer 04:06:48 988bab9f4d93: Waiting 04:06:48 eaf3925da568: Waiting 04:06:48 bab4dde63d76: Waiting 04:06:48 bde34c3a00c8: Waiting 04:06:48 5851b861e8e6: Waiting 04:06:48 1469e6f7b9e6: Waiting 04:06:48 b352a97aabf1: Waiting 04:06:48 4872d77fe225: Waiting 04:06:48 e2be974225ed: Verifying Checksum 04:06:48 e2be974225ed: Download complete 04:06:48 988bab9f4d93: Download complete 04:06:48 1469e6f7b9e6: Verifying Checksum 04:06:48 1469e6f7b9e6: Download complete 04:06:48 339a4e72a1f5: Verifying Checksum 04:06:48 339a4e72a1f5: Download complete 04:06:48 eaf3925da568: Download complete 04:06:48 b352a97aabf1: Download complete 04:06:48 4872d77fe225: Verifying Checksum 04:06:48 4872d77fe225: Download complete 04:06:48 5851b861e8e6: Download complete 04:06:48 b85a868b505f: Verifying Checksum 04:06:48 b85a868b505f: Download complete 04:06:49 bab4dde63d76: Verifying Checksum 04:06:49 bab4dde63d76: Download complete 04:06:50 b85a868b505f: Pull complete 04:06:50 e2be974225ed: Pull complete 04:06:50 339a4e72a1f5: Pull complete 04:06:50 988bab9f4d93: Pull complete 04:06:51 1469e6f7b9e6: Pull complete 04:06:51 eaf3925da568: Pull complete 04:06:53 bab4dde63d76: Pull complete 04:06:53 bde34c3a00c8: Pull complete 04:06:53 b352a97aabf1: Pull complete 04:06:53 4872d77fe225: Pull complete 04:06:53 5851b861e8e6: Pull complete 04:06:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:53 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:06:53 $ 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 04:06:56 $ docker top 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf -eo pid,comm 04:06:56 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). 04:06:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:56 [ssh-agent] Looking for ssh-agent implementation... 04:06:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:56 $ docker exec 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf ssh-agent 04:06:56 SSH_AUTH_SOCK=/tmp/ssh-zLtVpH8iwfL6/agent.32 04:06:56 SSH_AGENT_PID=38 04:06:56 Running ssh-add (command line suppressed) 04:06:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12057783905422107306.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12057783905422107306.key) 04:06:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:57 + git tag --points-at HEAD [Pipeline] } 04:06:57 $ docker exec --env ******** --env ******** 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf ssh-agent -k 04:06:57 unset SSH_AUTH_SOCK; 04:06:57 unset SSH_AGENT_PID; 04:06:57 echo Agent pid 38 killed; 04:06:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:57 [ssh-agent] Looking for ssh-agent implementation... 04:06:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:57 $ docker exec 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf ssh-agent 04:06:57 SSH_AUTH_SOCK=/tmp/ssh-yZLaOaRAhE07/agent.71 04:06:57 SSH_AGENT_PID=77 04:06:57 Running ssh-add (command line suppressed) 04:06:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_441251391814902318.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_441251391814902318.key) 04:06:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:58 + git semver init 04:06:58 2024-07-22 04:06:58,422 [run_init] DEBUG init version:0.0.0 force:False 04:06:58 2024-07-22 04:06:58,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:06:58 2024-07-22 04:06:58,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:06:58 2024-07-22 04:06:58,424 [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) 04:06:59 2024-07-22 04:06:59,713 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:06:59 2024-07-22 04:06:59,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:06:59 2024-07-22 04:06:59,713 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:06:59 2024-07-22 04:06:59,714 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:06:59 3.2.0-dev.16 [Pipeline] } 04:06:59 $ docker exec --env ******** --env ******** 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf ssh-agent -k 04:06:59 unset SSH_AUTH_SOCK; 04:06:59 unset SSH_AGENT_PID; 04:06:59 echo Agent pid 77 killed; 04:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:00 + git semver [Pipeline] } 04:07:00 $ docker stop --time=1 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf 04:07:01 $ docker rm -f --volumes 39d692049dfe134f281ed2c15d7a37e94ec35a9f3a2ddf6113da04accb41afbf [Pipeline] // withDockerContainer [Pipeline] sh 04:07:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:02 Stashed 1 file(s) [Pipeline] echo 04:07:02 [edgeXSemver]: initialized semver on version 3.2.0-dev.16 [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 04:07:02 provisioning config files... 04:07:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3535668395614648555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:03 ---> ****-login.sh 04:07:03 nexus3.edgexfoundry.org:10001 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 nexus3.edgexfoundry.org:10002 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 nexus3.edgexfoundry.org:10003 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 nexus3.edgexfoundry.org:10004 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 ****.io 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 ---> ****-login.sh ends [Pipeline] } 04:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:07:03 ========================================================= 04:07:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:07:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:03 + 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 . 04:07:03 Sending build context to Docker daemon 36.61MB 04:07:03 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:07:03 Step 2/13 : FROM ${BASE} AS builder 04:07:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:04 619be1103602: Pulling fs layer 04:07:04 7862e08f4a3e: Pulling fs layer 04:07:04 5df492c9dc93: Pulling fs layer 04:07:04 7629e6793208: Pulling fs layer 04:07:04 4f4fb700ef54: Pulling fs layer 04:07:04 fb5054dd5b73: Pulling fs layer 04:07:04 eeca6798cff9: Pulling fs layer 04:07:04 aa269ceb94a6: Pulling fs layer 04:07:04 7629e6793208: Waiting 04:07:04 ada007ff1a6a: Pulling fs layer 04:07:04 4f4fb700ef54: Waiting 04:07:04 fb5054dd5b73: Waiting 04:07:04 eeca6798cff9: Waiting 04:07:04 aa269ceb94a6: Waiting 04:07:04 ada007ff1a6a: Waiting 04:07:04 7862e08f4a3e: Download complete 04:07:04 7629e6793208: Verifying Checksum 04:07:04 7629e6793208: Download complete 04:07:04 4f4fb700ef54: Verifying Checksum 04:07:04 4f4fb700ef54: Download complete 04:07:04 619be1103602: Verifying Checksum 04:07:04 619be1103602: Download complete 04:07:04 fb5054dd5b73: Verifying Checksum 04:07:04 fb5054dd5b73: Download complete 04:07:04 eeca6798cff9: Verifying Checksum 04:07:04 eeca6798cff9: Download complete 04:07:04 619be1103602: Pull complete 04:07:04 ada007ff1a6a: Verifying Checksum 04:07:04 ada007ff1a6a: Download complete 04:07:04 7862e08f4a3e: Pull complete 04:07:04 5df492c9dc93: Verifying Checksum 04:07:04 5df492c9dc93: Download complete 04:07:05 aa269ceb94a6: Verifying Checksum 04:07:05 aa269ceb94a6: Download complete 04:07:07 5df492c9dc93: Pull complete 04:07:07 7629e6793208: Pull complete 04:07:07 4f4fb700ef54: Pull complete 04:07:07 fb5054dd5b73: Pull complete 04:07:07 eeca6798cff9: Pull complete 04:07:10 aa269ceb94a6: Pull complete 04:07:10 ada007ff1a6a: Pull complete 04:07:10 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:07:10 ---> f489d0715acc 04:07:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:15 ---> Running in 308b42eaf9e6 04:07:16 Removing intermediate container 308b42eaf9e6 04:07:16 ---> 14576084a09f 04:07:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:16 ---> Running in aa2674cb1bc9 04:07:16 Removing intermediate container aa2674cb1bc9 04:07:16 ---> fb5a1d5a07b3 04:07:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:16 ---> Running in ddbd85e38910 04:07:16 Removing intermediate container ddbd85e38910 04:07:16 ---> 44d67b1ec250 04:07:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:16 ---> Running in 24d1a4e75df8 04:07:16 Removing intermediate container 24d1a4e75df8 04:07:16 ---> a8ff129b92e0 04:07:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:16 ---> Running in a7215c6a0e9b 04:07:16 Removing intermediate container a7215c6a0e9b 04:07:16 ---> 62d38aeb0258 04:07:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:16 ---> Running in f9c9292fb760 04:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:07:17 OK: 264 MiB in 52 packages 04:07:17 Removing intermediate container f9c9292fb760 04:07:17 ---> 58180bf72c7d 04:07:17 Step 9/13 : WORKDIR /device-onvif-camera 04:07:17 ---> Running in 67e9e42b5a59 04:07:17 Removing intermediate container 67e9e42b5a59 04:07:17 ---> 4a8ae6f3778f 04:07:17 Step 10/13 : COPY go.mod vendor* ./ 04:07:17 Still waiting to schedule task 04:07:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6095’ 04:07:17 ---> 3a26de85933a 04:07:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:17 ---> Running in 97ad3c5cd4ca 04:08:13 Removing intermediate container 97ad3c5cd4ca 04:08:13 ---> 856ecf8e7267 04:08:13 Step 12/13 : COPY . . 04:08:13 ---> a3e249759bfd 04:08:13 Step 13/13 : RUN ${MAKE} 04:08:13 ---> Running in 040e4d0931b5 04:08:13 noop 04:08:13 Removing intermediate container 040e4d0931b5 04:08:13 ---> bec2fc868d7b 04:08:13 Successfully built bec2fc868d7b 04:08:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:14 + docker inspect -f . ci-base-image-x86_64 04:08:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:14 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:08:14 $ 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 04:08:14 $ docker top 1452c54b8a2f56bb137cffec33a83770c575ddcc578b233881a17f6f02d68794 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:15 + go version 04:08:15 go version go1.21.9 linux/amd64 [Pipeline] } 04:08:15 $ docker stop --time=1 1452c54b8a2f56bb137cffec33a83770c575ddcc578b233881a17f6f02d68794 04:08:16 $ docker rm -f --volumes 1452c54b8a2f56bb137cffec33a83770c575ddcc578b233881a17f6f02d68794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:16 + docker inspect -f . ci-base-image-x86_64 04:08:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:16 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:08:16 $ 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 04:08:17 $ docker top 6f64e56898abbf5e85b9779e012f5064acb6a448b09eeaf695f5ac2a675ca525 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:17 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:08:17 + make test 04:08:17 go test ./... -coverprofile=coverage.out ./... 04:08:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:08:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:08:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:08:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.4% of statements 04:08:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.110s coverage: 86.5% of statements 04:08:48 go vet ./... 04:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:53 ./bin/test-attribution-txt.sh 04:08:53 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:08:53 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:08:53 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:08:53 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:08:53 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:08:53 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:08:53 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:08:53 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:08:53 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:08:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:08:53 $ docker stop --time=1 6f64e56898abbf5e85b9779e012f5064acb6a448b09eeaf695f5ac2a675ca525 04:08:58 $ docker rm -f --volumes 6f64e56898abbf5e85b9779e012f5064acb6a448b09eeaf695f5ac2a675ca525 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:59 + ls -al . 04:08:59 total 312 04:08:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 04:08 . 04:08:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:06 .. 04:08:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 04:08 .git 04:08:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:06 .github 04:08:59 -rw-rw-r-- 1 jenkins jenkins 493 Jul 22 04:06 .gitignore 04:08:59 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 04:06 .golangci.yml 04:08:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 04:06 .semver 04:08:59 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 22 04:06 Attribution.txt 04:08:59 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 22 04:06 CHANGELOG.md 04:08:59 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 22 04:06 Dockerfile 04:08:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 04:06 GOVERNANCE.md 04:08:59 -rw-rw-r-- 1 jenkins jenkins 739 Jul 22 04:06 Jenkinsfile 04:08:59 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 04:06 LICENSE 04:08:59 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 22 04:06 Makefile 04:08:59 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 04:06 OWNERS.md 04:08:59 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 22 04:06 README.md 04:08:59 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 04:07 VERSION 04:08:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 04:06 bin 04:08:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:06 cmd 04:08:59 -rw-r--r-- 1 jenkins jenkins 78805 Jul 22 04:08 coverage.out 04:08:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:06 doc 04:08:59 -rw-rw-r-- 1 jenkins jenkins 7330 Jul 22 04:06 go.mod 04:08:59 -rw-rw-r-- 1 jenkins jenkins 102411 Jul 22 04:06 go.sum 04:08:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:06 internal 04:08:59 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:59 + 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=a701db29a77f3bc55bc717b71f527cfd5cf355f2 --label arch=amd64 --label version=3.2.0-dev.16 . 04:08:59 Sending build context to Docker daemon 36.69MB 04:08:59 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:08:59 Step 2/27 : FROM ${BASE} AS builder 04:08:59 ---> bec2fc868d7b 04:08:59 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:09:00 ---> Running in 86b77d5ce9bb 04:09:00 Removing intermediate container 86b77d5ce9bb 04:09:00 ---> feb7d0bed3ac 04:09:00 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:00 ---> Running in 6a13e9704be8 04:09:00 Removing intermediate container 6a13e9704be8 04:09:00 ---> 30ec50cfb73f 04:09:00 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:09:00 ---> Running in 73860bcd8432 04:09:00 Removing intermediate container 73860bcd8432 04:09:00 ---> 3cdf05cdf2f2 04:09:00 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:09:00 ---> Running in b52ae1ce6429 04:09:00 Removing intermediate container b52ae1ce6429 04:09:00 ---> 2deb1b41ab05 04:09:00 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:09:00 ---> Running in 304e5588fcba 04:09:00 Removing intermediate container 304e5588fcba 04:09:00 ---> c66c4814e98b 04:09:00 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:00 ---> Running in 9be94d85a09d 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:09:01 OK: 264 MiB in 52 packages 04:09:01 Removing intermediate container 9be94d85a09d 04:09:01 ---> 2b656c714968 04:09:01 Step 9/27 : WORKDIR /device-onvif-camera 04:09:01 ---> Running in fc788a4b58a8 04:09:02 Removing intermediate container fc788a4b58a8 04:09:02 ---> 0d78d9b7dd7e 04:09:02 Step 10/27 : COPY go.mod vendor* ./ 04:09:02 ---> 9524813c2108 04:09:02 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:02 ---> Running in 00c4ff126254 04:09:02 Removing intermediate container 00c4ff126254 04:09:02 ---> 2dba948adba5 04:09:02 Step 12/27 : COPY . . 04:09:03 ---> f5129d28a984 04:09:03 Step 13/27 : RUN ${MAKE} 04:09:03 ---> Running in 92d53c6010f0 04:09:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:09:35 Removing intermediate container 92d53c6010f0 04:09:35 ---> c5d894271237 04:09:35 Step 14/27 : FROM alpine:3.18 04:09:35 3.18: Pulling from library/alpine 04:09:35 73baa7ef167e: Pulling fs layer 04:09:35 73baa7ef167e: Verifying Checksum 04:09:35 73baa7ef167e: Download complete 04:09:35 73baa7ef167e: Pull complete 04:09:35 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:09:35 Status: Downloaded newer image for alpine:3.18 04:09:35 ---> 8fd7cac70a4a 04:09:35 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:09:35 ---> Running in 7d1bd70f7db7 04:09:35 Removing intermediate container 7d1bd70f7db7 04:09:35 ---> 07b2ee046310 04:09:35 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:09:35 ---> Running in 2f9fa6eb1181 04:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:09:35 (1/1) Installing dumb-init (1.2.5-r2) 04:09:35 Executing busybox-1.36.1-r7.trigger 04:09:35 OK: 7 MiB in 16 packages 04:09:35 Removing intermediate container 2f9fa6eb1181 04:09:35 ---> cbad85dff011 04:09:35 Step 17/27 : RUN apk --no-cache upgrade 04:09:35 ---> Running in d63a616947ee 04:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:09:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:09:35 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:09:35 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:09:35 OK: 7 MiB in 16 packages 04:09:35 Removing intermediate container d63a616947ee 04:09:35 ---> be6ec8635834 04:09:35 Step 18/27 : WORKDIR / 04:09:35 ---> Running in de33abdf4d40 04:09:35 Removing intermediate container de33abdf4d40 04:09:35 ---> 9942a90deb42 04:09:35 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:09:37 ---> 70724e6b5bfa 04:09:37 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:09:37 ---> 996ba9900052 04:09:37 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:09:37 ---> 16473e787361 04:09:37 Step 22/27 : EXPOSE 59984 04:09:37 ---> Running in 26e735782526 04:09:37 Removing intermediate container 26e735782526 04:09:37 ---> f6660fd9531e 04:09:37 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:09:37 ---> Running in d17b530f560a 04:09:37 Removing intermediate container d17b530f560a 04:09:37 ---> 76d337d5d0ea 04:09:37 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:09:37 ---> Running in 291c8bd50085 04:09:37 Removing intermediate container 291c8bd50085 04:09:37 ---> b1b1c280b891 04:09:37 Step 25/27 : LABEL arch=amd64 04:09:37 ---> Running in 3ce01d3413aa 04:09:37 Removing intermediate container 3ce01d3413aa 04:09:37 ---> 23603372d77e 04:09:37 Step 26/27 : LABEL git_sha=a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:09:37 ---> Running in bce3e4ab8f5d 04:09:37 Removing intermediate container bce3e4ab8f5d 04:09:37 ---> dbe3c5c59552 04:09:37 Step 27/27 : LABEL version=3.2.0-dev.16 04:09:37 ---> Running in 63308f819e32 04:09:37 Removing intermediate container 63308f819e32 04:09:37 ---> 0e51185820a4 04:09:37 [Warning] One or more build-args [ARCH] were not consumed 04:09:37 Successfully built 0e51185820a4 04:09:37 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 04:09:37 provisioning config files... 04:09:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7529830318114017569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:38 ---> ****-login.sh 04:09:38 nexus3.edgexfoundry.org:10001 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 nexus3.edgexfoundry.org:10002 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 nexus3.edgexfoundry.org:10003 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 nexus3.edgexfoundry.org:10004 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 ****.io 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 ---> ****-login.sh ends [Pipeline] } 04:09:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:09:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:09:38 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:09:38 a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:09:38 latest 04:09:38 3.2.0-dev.16 04:09:38 a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:09:38 main 04:09:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:09:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:09:39 332c2f07a689: Preparing 04:09:39 5bf6aa23eca8: Preparing 04:09:39 fc64517972e0: Preparing 04:09:39 1f8bacda5bae: Preparing 04:09:39 bf98116ae184: Preparing 04:09:39 63ec0bd56cf3: Preparing 04:09:39 63ec0bd56cf3: Waiting 04:09:39 332c2f07a689: Pushed 04:09:39 bf98116ae184: Pushed 04:09:39 5bf6aa23eca8: Pushed 04:09:39 63ec0bd56cf3: Layer already exists 04:09:40 1f8bacda5bae: Pushed 04:09:42 fc64517972e0: Pushed 04:09:42 a701db29a77f3bc55bc717b71f527cfd5cf355f2: digest: sha256:4924b6ef635245d72a23a1f4f271d70becda0319aa74bbf6982b698d7ec122ab size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:09:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:09:43 332c2f07a689: Preparing 04:09:43 5bf6aa23eca8: Preparing 04:09:43 fc64517972e0: Preparing 04:09:43 1f8bacda5bae: Preparing 04:09:43 bf98116ae184: Preparing 04:09:43 63ec0bd56cf3: Preparing 04:09:43 63ec0bd56cf3: Waiting 04:09:43 bf98116ae184: Layer already exists 04:09:43 332c2f07a689: Layer already exists 04:09:43 1f8bacda5bae: Layer already exists 04:09:43 fc64517972e0: Layer already exists 04:09:43 5bf6aa23eca8: Layer already exists 04:09:43 63ec0bd56cf3: Layer already exists 04:09:43 latest: digest: sha256:4924b6ef635245d72a23a1f4f271d70becda0319aa74bbf6982b698d7ec122ab size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.16 04:09:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:09:43 332c2f07a689: Preparing 04:09:43 5bf6aa23eca8: Preparing 04:09:43 fc64517972e0: Preparing 04:09:43 1f8bacda5bae: Preparing 04:09:43 bf98116ae184: Preparing 04:09:43 63ec0bd56cf3: Preparing 04:09:43 63ec0bd56cf3: Waiting 04:09:43 fc64517972e0: Layer already exists 04:09:43 bf98116ae184: Layer already exists 04:09:43 1f8bacda5bae: Layer already exists 04:09:43 332c2f07a689: Layer already exists 04:09:43 5bf6aa23eca8: Layer already exists 04:09:43 63ec0bd56cf3: Layer already exists 04:09:43 3.2.0-dev.16: digest: sha256:4924b6ef635245d72a23a1f4f271d70becda0319aa74bbf6982b698d7ec122ab size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:09:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:09:44 332c2f07a689: Preparing 04:09:44 5bf6aa23eca8: Preparing 04:09:44 fc64517972e0: Preparing 04:09:44 1f8bacda5bae: Preparing 04:09:44 bf98116ae184: Preparing 04:09:44 63ec0bd56cf3: Preparing 04:09:44 63ec0bd56cf3: Waiting 04:09:44 bf98116ae184: Layer already exists 04:09:44 5bf6aa23eca8: Layer already exists 04:09:44 332c2f07a689: Layer already exists 04:09:44 1f8bacda5bae: Layer already exists 04:09:44 fc64517972e0: Layer already exists 04:09:44 63ec0bd56cf3: Layer already exists 04:09:44 a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16: digest: sha256:4924b6ef635245d72a23a1f4f271d70becda0319aa74bbf6982b698d7ec122ab size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:09:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:09:45 332c2f07a689: Preparing 04:09:45 5bf6aa23eca8: Preparing 04:09:45 fc64517972e0: Preparing 04:09:45 1f8bacda5bae: Preparing 04:09:45 bf98116ae184: Preparing 04:09:45 63ec0bd56cf3: Preparing 04:09:45 63ec0bd56cf3: Waiting 04:09:45 332c2f07a689: Layer already exists 04:09:45 fc64517972e0: Layer already exists 04:09:45 bf98116ae184: Layer already exists 04:09:45 5bf6aa23eca8: Layer already exists 04:09:45 1f8bacda5bae: Layer already exists 04:09:45 63ec0bd56cf3: Layer already exists 04:09:45 main: digest: sha256:4924b6ef635245d72a23a1f4f271d70becda0319aa74bbf6982b698d7ec122ab size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:09:45 ===================================================== [Pipeline] echo 04:09:45 taggedImages: 04:09:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:09:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:09:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.16 04:09:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:09:45 - 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 04:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:45 04:09:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:46 latest: Pulling from edgex-lftools-log-publisher 04:09:46 5eb5b503b376: Pulling fs layer 04:09:46 5c69ac0246d0: Pulling fs layer 04:09:46 ec43610c2a17: Pulling fs layer 04:09:46 3a2ae6a8a46f: Pulling fs layer 04:09:46 33b1e0a273af: Pulling fs layer 04:09:46 5d3b04190fa2: Pulling fs layer 04:09:46 2f39f015ded8: Pulling fs layer 04:09:46 3a2ae6a8a46f: Waiting 04:09:46 33b1e0a273af: Waiting 04:09:46 5d3b04190fa2: Waiting 04:09:46 2f39f015ded8: Waiting 04:09:46 5c69ac0246d0: Verifying Checksum 04:09:46 5c69ac0246d0: Download complete 04:09:46 3a2ae6a8a46f: Verifying Checksum 04:09:46 3a2ae6a8a46f: Download complete 04:09:46 33b1e0a273af: Verifying Checksum 04:09:46 33b1e0a273af: Download complete 04:09:46 5d3b04190fa2: Verifying Checksum 04:09:46 5d3b04190fa2: Download complete 04:09:46 ec43610c2a17: Verifying Checksum 04:09:46 ec43610c2a17: Download complete 04:09:46 5eb5b503b376: Verifying Checksum 04:09:46 5eb5b503b376: Download complete 04:09:46 2f39f015ded8: Download complete 04:09:47 5eb5b503b376: Pull complete 04:09:47 5c69ac0246d0: Pull complete 04:09:48 ec43610c2a17: Pull complete 04:09:48 3a2ae6a8a46f: Pull complete 04:09:48 33b1e0a273af: Pull complete 04:09:48 5d3b04190fa2: Pull complete 04:09:52 2f39f015ded8: Pull complete 04:09:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:52 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:09:52 $ 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 04:09:56 $ docker top bfe7d845ea2e0aebfa1626b2b26a61272cc0b48805d527ee1b9dcd34f1a57d68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:57 ---> job-cost.sh 04:09:57 lf-activate-venv: SKIPPING 04:09:57 INFO: No Stack... 04:09:57 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:58 INFO: Archiving Costs [Pipeline] sh 04:09:58 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:09:58 + cut -d, -f6 [Pipeline] lock 04:09:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] 04:09:58 Resource [jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] did not exist. Created. 04:09:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:58 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:58 Stashed 1 file(s) [Pipeline] } 04:09:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:58 $ docker stop --time=1 bfe7d845ea2e0aebfa1626b2b26a61272cc0b48805d527ee1b9dcd34f1a57d68 04:09:59 $ docker rm -f --volumes bfe7d845ea2e0aebfa1626b2b26a61272cc0b48805d527ee1b9dcd34f1a57d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:11:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6099 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:11:02 Running in /w/workspace/device-onvif-camera/202 [Pipeline] { [Pipeline] checkout 04:11:02 The recommended git tool is: git 04:11:11 using credential edgex-jenkins-ssh 04:11:11 Cloning the remote Git repository 04:11:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:11:11 > git init /w/workspace/device-onvif-camera/202 # timeout=10 04:11:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:11:11 > git --version # timeout=10 04:11:11 > git --version # 'git version 2.25.1' 04:11:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:11:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:16 Avoid second fetch 04:11:16 Checking out Revision a701db29a77f3bc55bc717b71f527cfd5cf355f2 (main) 04:11:17 Commit message: "Merge pull request #447 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" 04:11:16 > git config core.sparsecheckout # timeout=10 04:11:16 > git checkout -f a701db29a77f3bc55bc717b71f527cfd5cf355f2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:11:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:22 Dload Upload Total Spent Left Speed 04:11:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 04:11:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:11:23 + sudo tee /etc/docker/daemon.new 04:11:23 { 04:11:23 "registry-mirrors": [ 04:11:23 "https://nexus3.edgexfoundry.org:10001" 04:11:23 ], 04:11:23 "bip": "10.250.0.254/24", 04:11:23 "hosts": [ 04:11:23 "tcp://0.0.0.0:5555", 04:11:23 "unix:///var/run/docker.sock" 04:11:23 ], 04:11:23 "mtu": 1458, 04:11:23 "selinux-enabled": true, 04:11:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:23 } [Pipeline] sh 04:11:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:42 provisioning config files... 04:11:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/202@tmp/config17035717489709427717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:42 ---> ****-login.sh 04:11:42 nexus3.edgexfoundry.org:10001 04:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:43 Configure a credential helper to remove this warning. See 04:11:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:43 04:11:43 Login Succeeded 04:11:43 nexus3.edgexfoundry.org:10002 04:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:43 Configure a credential helper to remove this warning. See 04:11:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:43 04:11:43 Login Succeeded 04:11:43 nexus3.edgexfoundry.org:10003 04:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:44 Configure a credential helper to remove this warning. See 04:11:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:44 04:11:44 Login Succeeded 04:11:44 nexus3.edgexfoundry.org:10004 04:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:44 Configure a credential helper to remove this warning. See 04:11:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:44 04:11:44 Login Succeeded 04:11:44 ****.io 04:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:45 Configure a credential helper to remove this warning. See 04:11:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:45 04:11:45 Login Succeeded 04:11:45 ---> ****-login.sh ends [Pipeline] } 04:11:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:45 ========================================================= 04:11:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:11:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:45 + 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 . 04:11:46 Sending build context to Docker daemon 21.71MB 04:11:46 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:11:46 Step 2/13 : FROM ${BASE} AS builder 04:11:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:46 c6b39de5b339: Pulling fs layer 04:11:46 a69c41024577: Pulling fs layer 04:11:46 d6de4b400683: Pulling fs layer 04:11:46 35cb2a7552d0: Pulling fs layer 04:11:46 4f4fb700ef54: Pulling fs layer 04:11:46 464afbd9ba4c: Pulling fs layer 04:11:46 00f215d4a9da: Pulling fs layer 04:11:46 d496ad576159: Pulling fs layer 04:11:46 464afbd9ba4c: Waiting 04:11:46 35cb2a7552d0: Waiting 04:11:46 00f215d4a9da: Waiting 04:11:46 d496ad576159: Waiting 04:11:46 4f4fb700ef54: Waiting 04:11:46 a69c41024577: Verifying Checksum 04:11:46 a69c41024577: Download complete 04:11:46 35cb2a7552d0: Verifying Checksum 04:11:46 35cb2a7552d0: Download complete 04:11:46 4f4fb700ef54: Verifying Checksum 04:11:46 4f4fb700ef54: Download complete 04:11:46 c6b39de5b339: Verifying Checksum 04:11:46 c6b39de5b339: Download complete 04:11:46 464afbd9ba4c: Verifying Checksum 04:11:46 464afbd9ba4c: Download complete 04:11:47 d496ad576159: Verifying Checksum 04:11:47 d496ad576159: Download complete 04:11:47 c6b39de5b339: Pull complete 04:11:48 a69c41024577: Pull complete 04:11:48 d6de4b400683: Verifying Checksum 04:11:48 d6de4b400683: Download complete 04:11:50 00f215d4a9da: Verifying Checksum 04:11:50 00f215d4a9da: Download complete 04:12:02 d6de4b400683: Pull complete 04:12:02 35cb2a7552d0: Pull complete 04:12:02 4f4fb700ef54: Pull complete 04:12:02 464afbd9ba4c: Pull complete 04:12:12 00f215d4a9da: Pull complete 04:12:12 d496ad576159: Pull complete 04:12:12 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:12:12 ---> f246e2811388 04:12:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:12:14 ---> Running in 9bd6055a7afd 04:12:14 Removing intermediate container 9bd6055a7afd 04:12:14 ---> 72218fe319e0 04:12:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:15 ---> Running in 7014a7348c42 04:12:15 Removing intermediate container 7014a7348c42 04:12:15 ---> f8c8ba08cec2 04:12:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:12:15 ---> Running in 48bbc9e26dc1 04:12:15 Removing intermediate container 48bbc9e26dc1 04:12:15 ---> 54d118c3738b 04:12:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:12:15 ---> Running in 73eb6392d4d3 04:12:16 Removing intermediate container 73eb6392d4d3 04:12:16 ---> 1b4662227650 04:12:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:12:16 ---> Running in e27817b68fc2 04:12:16 Removing intermediate container e27817b68fc2 04:12:16 ---> 52aa269a95be 04:12:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:12:16 ---> Running in 9f45b3a60ac9 04:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:12:19 OK: 266 MiB in 52 packages 04:12:20 Removing intermediate container 9f45b3a60ac9 04:12:20 ---> 64ad077f74ce 04:12:20 Step 9/13 : WORKDIR /device-onvif-camera 04:12:20 ---> Running in 08a6ec853f20 04:12:20 Removing intermediate container 08a6ec853f20 04:12:20 ---> cb21792ff85d 04:12:20 Step 10/13 : COPY go.mod vendor* ./ 04:12:21 ---> cec0774ae95d 04:12:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:21 ---> Running in d1e3fb5c8a16 04:14:28 Removing intermediate container d1e3fb5c8a16 04:14:28 ---> b49e60abc3d5 04:14:28 Step 12/13 : COPY . . 04:14:28 ---> 71ec8b06ee2f 04:14:28 Step 13/13 : RUN ${MAKE} 04:14:28 ---> Running in 0df6456d9b18 04:14:28 noop 04:14:28 Removing intermediate container 0df6456d9b18 04:14:28 ---> fd7792f45239 04:14:28 Successfully built fd7792f45239 04:14:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:28 + docker inspect -f . ci-base-image-arm64 04:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:28 prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container 04:14:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/202 -v /w/workspace/device-onvif-camera/202:/w/workspace/device-onvif-camera/202:rw,z -v /w/workspace/device-onvif-camera/202@tmp:/w/workspace/device-onvif-camera/202@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 04:14:30 $ docker top 5bc113ae35173693a9855cf8a1525367edae0af3410733ddddeba949689e37bf -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:31 + go version 04:14:31 go version go1.21.9 linux/arm64 [Pipeline] } 04:14:31 $ docker stop --time=1 5bc113ae35173693a9855cf8a1525367edae0af3410733ddddeba949689e37bf 04:14:32 $ docker rm -f --volumes 5bc113ae35173693a9855cf8a1525367edae0af3410733ddddeba949689e37bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:33 + docker inspect -f . ci-base-image-arm64 04:14:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:33 prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container 04:14:33 $ 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/202 -v /w/workspace/device-onvif-camera/202:/w/workspace/device-onvif-camera/202:rw,z -v /w/workspace/device-onvif-camera/202@tmp:/w/workspace/device-onvif-camera/202@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 04:14:34 $ docker top c2b9b6288ecf1e88f50cff9cdc86a95136caf817e77c9c204827e61ddb7e4532 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:35 + git config --global --add safe.directory /w/workspace/device-onvif-camera/202 [Pipeline] fileExists [Pipeline] sh 04:14:36 + make test 04:14:36 go test ./... -coverprofile=coverage.out ./... 04:14:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:18:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:18:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:18:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.171s coverage: 31.4% of statements 04:18:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.208s coverage: 86.5% of statements 04:18:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:18:36 go vet ./... 04:19:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:23 ./bin/test-attribution-txt.sh 04:19:23 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:19:23 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:19:23 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:19:23 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:19:23 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:19:23 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:19:23 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:19:23 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:19:23 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:19:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:19:23 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:19:23 $ docker stop --time=1 c2b9b6288ecf1e88f50cff9cdc86a95136caf817e77c9c204827e61ddb7e4532 04:19:25 $ docker rm -f --volumes c2b9b6288ecf1e88f50cff9cdc86a95136caf817e77c9c204827e61ddb7e4532 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:27 Warning: overwriting stash ‘coverage-report’ 04:19:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:28 + ls -al . 04:19:28 total 308 04:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 04:14 . 04:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:11 .. 04:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 04:11 .git 04:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:11 .github 04:19:28 -rw-rw-r-- 1 jenkins jenkins 493 Jul 22 04:11 .gitignore 04:19:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 04:11 .golangci.yml 04:19:28 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 22 04:11 Attribution.txt 04:19:28 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 22 04:11 CHANGELOG.md 04:19:28 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 22 04:11 Dockerfile 04:19:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 04:11 GOVERNANCE.md 04:19:28 -rw-rw-r-- 1 jenkins jenkins 739 Jul 22 04:11 Jenkinsfile 04:19:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 04:11 LICENSE 04:19:28 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 22 04:11 Makefile 04:19:28 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 04:11 OWNERS.md 04:19:28 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 22 04:11 README.md 04:19:28 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 04:07 VERSION 04:19:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 04:11 bin 04:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:11 cmd 04:19:28 -rw-r--r-- 1 jenkins jenkins 78805 Jul 22 04:18 coverage.out 04:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:11 doc 04:19:28 -rw-rw-r-- 1 jenkins jenkins 7330 Jul 22 04:11 go.mod 04:19:28 -rw-rw-r-- 1 jenkins jenkins 102411 Jul 22 04:11 go.sum 04:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:11 internal 04:19:28 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 04:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:29 + 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=a701db29a77f3bc55bc717b71f527cfd5cf355f2 --label arch=arm64 --label version=3.2.0-dev.16 . 04:19:29 Sending build context to Docker daemon 21.79MB 04:19:29 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:19:29 Step 2/27 : FROM ${BASE} AS builder 04:19:29 ---> fd7792f45239 04:19:29 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:19:30 ---> Running in 82b54bd7dbe4 04:19:30 Removing intermediate container 82b54bd7dbe4 04:19:30 ---> b1969741da93 04:19:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:19:30 ---> Running in be44e8da1459 04:19:30 Removing intermediate container be44e8da1459 04:19:30 ---> 7de62622e596 04:19:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:19:30 ---> Running in cac65214cb61 04:19:31 Removing intermediate container cac65214cb61 04:19:31 ---> c8660b4b277f 04:19:31 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:19:31 ---> Running in a3163f729538 04:19:31 Removing intermediate container a3163f729538 04:19:31 ---> 046485781565 04:19:31 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:19:31 ---> Running in 68d48afdd3f0 04:19:32 Removing intermediate container 68d48afdd3f0 04:19:32 ---> e7331e7212ed 04:19:32 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:32 ---> Running in 9b97100c5b4e 04:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:19:34 OK: 266 MiB in 52 packages 04:19:35 Removing intermediate container 9b97100c5b4e 04:19:35 ---> e39df3f3e053 04:19:35 Step 9/27 : WORKDIR /device-onvif-camera 04:19:35 ---> Running in b5b0c0e35401 04:19:35 Removing intermediate container b5b0c0e35401 04:19:35 ---> a80f37bd4f1a 04:19:35 Step 10/27 : COPY go.mod vendor* ./ 04:19:36 ---> 90ee5bad292f 04:19:36 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:36 ---> Running in 3165dfaabfa7 04:19:39 Removing intermediate container 3165dfaabfa7 04:19:39 ---> 8dcbd32e5556 04:19:39 Step 12/27 : COPY . . 04:19:41 ---> c14a52c4294d 04:19:41 Step 13/27 : RUN ${MAKE} 04:19:41 ---> Running in 7ab1a7281603 04:19:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:23:33 Removing intermediate container 7ab1a7281603 04:23:33 ---> f3770e56035d 04:23:33 Step 14/27 : FROM alpine:3.18 04:23:33 3.18: Pulling from library/alpine 04:23:33 5c905c7ebe2f: Pulling fs layer 04:23:33 5c905c7ebe2f: Verifying Checksum 04:23:33 5c905c7ebe2f: Download complete 04:23:33 5c905c7ebe2f: Pull complete 04:23:33 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:23:33 Status: Downloaded newer image for alpine:3.18 04:23:33 ---> dec292d02e07 04:23:33 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:23:33 ---> Running in 8c88cdd7c8d4 04:23:33 Removing intermediate container 8c88cdd7c8d4 04:23:33 ---> 04492455adbb 04:23:33 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:23:33 ---> Running in 94df023616ae 04:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:33 (1/1) Installing dumb-init (1.2.5-r2) 04:23:33 Executing busybox-1.36.1-r7.trigger 04:23:33 OK: 8 MiB in 16 packages 04:23:33 Removing intermediate container 94df023616ae 04:23:33 ---> f71875cfd693 04:23:33 Step 17/27 : RUN apk --no-cache upgrade 04:23:33 ---> Running in b1feaee19aab 04:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:33 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:23:33 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:23:33 OK: 8 MiB in 16 packages 04:23:33 Removing intermediate container b1feaee19aab 04:23:33 ---> 57b97827e773 04:23:33 Step 18/27 : WORKDIR / 04:23:33 ---> Running in 20091b24c0e3 04:23:33 Removing intermediate container 20091b24c0e3 04:23:33 ---> b18dab81b11e 04:23:33 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:23:33 ---> c257da168a83 04:23:33 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:23:33 ---> 724937901d12 04:23:33 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:23:33 ---> bb14cd6bda4e 04:23:33 Step 22/27 : EXPOSE 59984 04:23:33 ---> Running in 8e5774bee0f0 04:23:33 Removing intermediate container 8e5774bee0f0 04:23:33 ---> 66cc3a857a94 04:23:33 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:23:33 ---> Running in a8315c2936a1 04:23:33 Removing intermediate container a8315c2936a1 04:23:33 ---> 7d838370e2e0 04:23:33 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:23:33 ---> Running in 342123fc8fb1 04:23:33 Removing intermediate container 342123fc8fb1 04:23:33 ---> 69c79e239485 04:23:33 Step 25/27 : LABEL arch=arm64 04:23:33 ---> Running in bd168af50d5c 04:23:33 Removing intermediate container bd168af50d5c 04:23:33 ---> d14500a14095 04:23:33 Step 26/27 : LABEL git_sha=a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:23:33 ---> Running in cd7878ddc636 04:23:33 Removing intermediate container cd7878ddc636 04:23:33 ---> 2695f27aafd3 04:23:33 Step 27/27 : LABEL version=3.2.0-dev.16 04:23:33 ---> Running in 2f11d4a51e93 04:23:34 Removing intermediate container 2f11d4a51e93 04:23:34 ---> 0fd85f4afaaf 04:23:34 [Warning] One or more build-args [ARCH] were not consumed 04:23:34 Successfully built 0fd85f4afaaf 04:23:34 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 04:23:34 provisioning config files... 04:23:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/202@tmp/config18429396951089653802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:34 ---> ****-login.sh 04:23:34 nexus3.edgexfoundry.org:10001 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10002 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10003 04:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:35 Configure a credential helper to remove this warning. See 04:23:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:35 04:23:35 Login Succeeded 04:23:35 nexus3.edgexfoundry.org:10004 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 ****.io 04:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:36 Configure a credential helper to remove this warning. See 04:23:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:36 04:23:36 Login Succeeded 04:23:36 ---> ****-login.sh ends [Pipeline] } 04:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:23:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:36 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:23:36 a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:23:36 latest 04:23:36 3.2.0-dev.16 04:23:36 a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:23:36 main 04:23:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:23:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:23:37 fe5143eeafd7: Preparing 04:23:37 369b45813f21: Preparing 04:23:37 c6165b021733: Preparing 04:23:37 07d66cf93004: Preparing 04:23:37 260ae9ac21db: Preparing 04:23:37 da707bb00cb8: Preparing 04:23:37 da707bb00cb8: Waiting 04:23:37 260ae9ac21db: Pushed 04:23:37 369b45813f21: Pushed 04:23:37 fe5143eeafd7: Pushed 04:23:37 da707bb00cb8: Layer already exists 04:23:39 07d66cf93004: Pushed 04:23:44 c6165b021733: Pushed 04:23:44 a701db29a77f3bc55bc717b71f527cfd5cf355f2: digest: sha256:f564d2733318cecda70d0b50a4974793c24a287a8a1d16442dd321a646aa5b42 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:45 + 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 04:23:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:23:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:23:45 fe5143eeafd7: Preparing 04:23:45 369b45813f21: Preparing 04:23:45 c6165b021733: Preparing 04:23:45 07d66cf93004: Preparing 04:23:45 260ae9ac21db: Preparing 04:23:45 da707bb00cb8: Preparing 04:23:45 da707bb00cb8: Waiting 04:23:45 c6165b021733: Layer already exists 04:23:45 07d66cf93004: Layer already exists 04:23:45 260ae9ac21db: Layer already exists 04:23:45 fe5143eeafd7: Layer already exists 04:23:45 369b45813f21: Layer already exists 04:23:45 da707bb00cb8: Layer already exists 04:23:45 latest: digest: sha256:f564d2733318cecda70d0b50a4974793c24a287a8a1d16442dd321a646aa5b42 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:45 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.16 04:23:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:23:46 fe5143eeafd7: Preparing 04:23:46 369b45813f21: Preparing 04:23:46 c6165b021733: Preparing 04:23:46 07d66cf93004: Preparing 04:23:46 260ae9ac21db: Preparing 04:23:46 da707bb00cb8: Preparing 04:23:46 da707bb00cb8: Waiting 04:23:46 07d66cf93004: Layer already exists 04:23:46 c6165b021733: Layer already exists 04:23:46 369b45813f21: Layer already exists 04:23:46 fe5143eeafd7: Layer already exists 04:23:46 260ae9ac21db: Layer already exists 04:23:46 da707bb00cb8: Layer already exists 04:23:46 3.2.0-dev.16: digest: sha256:f564d2733318cecda70d0b50a4974793c24a287a8a1d16442dd321a646aa5b42 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:23:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:23:47 fe5143eeafd7: Preparing 04:23:47 369b45813f21: Preparing 04:23:47 c6165b021733: Preparing 04:23:47 07d66cf93004: Preparing 04:23:47 260ae9ac21db: Preparing 04:23:47 da707bb00cb8: Preparing 04:23:47 da707bb00cb8: Waiting 04:23:47 c6165b021733: Layer already exists 04:23:47 fe5143eeafd7: Layer already exists 04:23:47 260ae9ac21db: Layer already exists 04:23:47 07d66cf93004: Layer already exists 04:23:47 369b45813f21: Layer already exists 04:23:47 da707bb00cb8: Layer already exists 04:23:47 a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16: digest: sha256:f564d2733318cecda70d0b50a4974793c24a287a8a1d16442dd321a646aa5b42 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:47 + 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 04:23:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:23:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:23:48 fe5143eeafd7: Preparing 04:23:48 369b45813f21: Preparing 04:23:48 c6165b021733: Preparing 04:23:48 07d66cf93004: Preparing 04:23:48 260ae9ac21db: Preparing 04:23:48 da707bb00cb8: Preparing 04:23:48 da707bb00cb8: Waiting 04:23:48 fe5143eeafd7: Layer already exists 04:23:48 c6165b021733: Layer already exists 04:23:48 369b45813f21: Layer already exists 04:23:48 07d66cf93004: Layer already exists 04:23:48 260ae9ac21db: Layer already exists 04:23:48 da707bb00cb8: Layer already exists 04:23:48 main: digest: sha256:f564d2733318cecda70d0b50a4974793c24a287a8a1d16442dd321a646aa5b42 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:23:48 ===================================================== [Pipeline] echo 04:23:48 taggedImages: 04:23:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2 04:23:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:23:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.16 04:23:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a701db29a77f3bc55bc717b71f527cfd5cf355f2-3.2.0-dev.16 04:23:48 - 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 04:23:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:49 04:23:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:49 arm64: Pulling from edgex-lftools-log-publisher 04:23:49 8998bd30e6a1: Pulling fs layer 04:23:49 04944245beec: Pulling fs layer 04:23:49 699f458cf7ca: Pulling fs layer 04:23:49 765212b225bb: Pulling fs layer 04:23:49 765212b225bb: Waiting 04:23:49 f23df028b6ca: Pulling fs layer 04:23:49 d65c8cfc05b1: Pulling fs layer 04:23:49 2437ff75d9bd: Pulling fs layer 04:23:49 d65c8cfc05b1: Waiting 04:23:49 2437ff75d9bd: Waiting 04:23:49 04944245beec: Verifying Checksum 04:23:49 04944245beec: Download complete 04:23:49 765212b225bb: Verifying Checksum 04:23:49 765212b225bb: Download complete 04:23:49 f23df028b6ca: Verifying Checksum 04:23:49 f23df028b6ca: Download complete 04:23:49 d65c8cfc05b1: Verifying Checksum 04:23:49 d65c8cfc05b1: Download complete 04:23:49 699f458cf7ca: Verifying Checksum 04:23:49 699f458cf7ca: Download complete 04:23:50 8998bd30e6a1: Download complete 04:23:52 2437ff75d9bd: Verifying Checksum 04:23:52 2437ff75d9bd: Download complete 04:23:54 8998bd30e6a1: Pull complete 04:23:55 04944245beec: Pull complete 04:23:57 699f458cf7ca: Pull complete 04:23:57 765212b225bb: Pull complete 04:23:58 f23df028b6ca: Pull complete 04:23:58 d65c8cfc05b1: Pull complete 04:24:16 2437ff75d9bd: Pull complete 04:24:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:16 prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container 04:24:17 $ 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/202 -v /w/workspace/device-onvif-camera/202:/w/workspace/device-onvif-camera/202:rw,z -v /w/workspace/device-onvif-camera/202@tmp:/w/workspace/device-onvif-camera/202@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 04:24:19 $ docker top d0ca59e186ec94d08413564bb83ea47dc46b5230bb3b61620a6fc5895b4c227a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:20 ---> job-cost.sh 04:24:20 lf-activate-venv: SKIPPING 04:24:20 INFO: No Stack... 04:24:21 INFO: Retrieving Pricing Info for: v3-standard-4 04:24:21 INFO: Archiving Costs [Pipeline] sh 04:24:22 + cat /w/workspace/device-onvif-camera/202/archives/cost.csv 04:24:22 + cut -d, -f6 [Pipeline] lock 04:24:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] 04:24:22 Resource [jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] did not exist. Created. 04:24:22 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:23 /w/workspace/device-onvif-camera/202@tmp/durable-2a774c3d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:24:24 + echo total: 0.10999999940395355 [Pipeline] stash 04:24:24 Warning: overwriting stash ‘stack-cost’ 04:24:24 Stashed 1 file(s) [Pipeline] } 04:24:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:24 $ docker stop --time=1 d0ca59e186ec94d08413564bb83ea47dc46b5230bb3b61620a6fc5895b4c227a 04:24:25 $ docker rm -f --volumes d0ca59e186ec94d08413564bb83ea47dc46b5230bb3b61620a6fc5895b4c227a [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 04:24:26 provisioning config files... 04:24:26 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3188285697029601429tmp [Pipeline] { [Pipeline] sh 04:24:26 + set +x 04:24:26 + curl -s https://codecov.io/bash 04:24:26 + bash -s -- 04:24:26 04:24:26 _____ _ 04:24:26 / ____| | | 04:24:26 | | ___ __| | ___ ___ _____ __ 04:24:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:24:26 | |___| (_) | (_| | __/ (_| (_) \ V / 04:24:26 \_____\___/ \__,_|\___|\___\___/ \_/ 04:24:26 Bash-1.0.6 04:24:26 04:24:26 04:24:26 ==> git version 2.25.1 found 04:24:26 ==> 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 04:24:26 Release-Date: 2020-01-08 04:24:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:24:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:24:26 ==> Jenkins CI detected. 04:24:26 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:24:26 project root: . 04:24:26 --> token set from env 04:24:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:24:26 ==> Running gcov in . (disable via -X gcov) 04:24:26 ==> Python coveragepy not found 04:24:26 ==> Searching for coverage reports in: 04:24:26 + . 04:24:26 -> Found 1 reports 04:24:26 ==> Detecting git/mercurial file structure 04:24:26 ==> Reading reports 04:24:26 + ./coverage.out bytes=78805 04:24:26 ==> Appending adjustments 04:24:26 https://docs.codecov.io/docs/fixing-reports 04:24:26 + Found adjustments 04:24:26 ==> Gzipping contents 04:24:26 12K /tmp/codecov.ldq2nT.gz 04:24:26 ==> Uploading reports 04:24:26 url: https://codecov.io 04:24:26 query: branch=main&commit=a701db29a77f3bc55bc717b71f527cfd5cf355f2&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:24:26 -> Pinging Codecov 04:24:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a701db29a77f3bc55bc717b71f527cfd5cf355f2&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:24:27 -> Uploading to 04:24:27 https://storage.googleapis.com/codecov/v4/raw/2024-07-22/F29A59C45E3A92E06B3E522C9905F8EF/a701db29a77f3bc55bc717b71f527cfd5cf355f2/829a588c-97b3-4455-9976-ee6de8f86b5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240722%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240722T042426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39c9ac95ecbb6a032db57cacba34a641c80efd3bcfc96fda1826b259adeeac2b 04:24:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:27 Dload Upload Total Spent Left Speed 04:24:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 46428 --:--:-- --:--:-- --:--:-- 46636 04:24:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] } 04:24:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:24:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:24:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:24:27 04:24:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:24:28 latest: Pulling from edgex-devops/edgex-snyk-go 04:24:28 619be1103602: Already exists 04:24:28 f8ea3408117e: Pulling fs layer 04:24:28 91320369b822: Pulling fs layer 04:24:28 0406650e8295: Pulling fs layer 04:24:28 4f4fb700ef54: Pulling fs layer 04:24:28 96d80e3f36e1: Pulling fs layer 04:24:28 bcf3aedb951c: Pulling fs layer 04:24:28 96d80e3f36e1: Waiting 04:24:28 4f4fb700ef54: Waiting 04:24:28 bcf3aedb951c: Waiting 04:24:28 0406650e8295: Verifying Checksum 04:24:28 0406650e8295: Download complete 04:24:28 f8ea3408117e: Download complete 04:24:28 4f4fb700ef54: Verifying Checksum 04:24:28 4f4fb700ef54: Download complete 04:24:28 f8ea3408117e: Pull complete 04:24:28 96d80e3f36e1: Verifying Checksum 04:24:28 96d80e3f36e1: Download complete 04:24:28 91320369b822: Verifying Checksum 04:24:28 91320369b822: Download complete 04:24:28 bcf3aedb951c: Verifying Checksum 04:24:28 bcf3aedb951c: Download complete 04:24:32 91320369b822: Pull complete 04:24:32 0406650e8295: Pull complete 04:24:32 4f4fb700ef54: Pull complete 04:24:32 96d80e3f36e1: Pull complete 04:24:35 bcf3aedb951c: Pull complete 04:24:35 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:24:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:35 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:24:35 $ 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 04:24:39 $ docker top 47fdee16f688b982035c755151ae21ef3908358b27a1f2a55b5fb4fcd666c3cb -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:40 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 04:24:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:24:40 + set -o pipefail 04:24:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:24:47 04:24:47 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:24:47 04:24:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/d377d249-969e-4075-a699-73099e62f0dd 04:24:47 04:24:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:24:47 04:24:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:24:47 [Pipeline] } 04:24:47 $ docker stop --time=1 47fdee16f688b982035c755151ae21ef3908358b27a1f2a55b5fb4fcd666c3cb 04:24:51 $ docker rm -f --volumes 47fdee16f688b982035c755151ae21ef3908358b27a1f2a55b5fb4fcd666c3cb [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 04:24:52 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:52 provisioning config files... 04:24:52 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12421537703343537428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:52 --> edgex-publish-swagger.sh 04:24:52 === Publish doc/openapi/v3 API === 04:24:52 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:24:52 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:24:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:52 Dload Upload Total Spent Left Speed 04:24:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 204 637k --:--:-- --:--:-- --:--:-- 636k 100 485k 100 156 100 485k 204 637k --:--:-- --:--:-- --:--:-- 636k 04:24:53 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:24:53 [Pipeline] } 04:24:53 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 04:24:53 + git log --format=format:%s -1 a701db29a77f3bc55bc717b71f527cfd5cf355f2 [Pipeline] sh 04:24:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:24:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:54 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:24:54 $ 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 04:24:54 $ docker top 8add81fe0a8dc69b32ab191a185682a2b65379a022ef63652aaec2efefd685c4 -eo pid,comm 04:24:54 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). 04:24:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:54 [ssh-agent] Looking for ssh-agent implementation... 04:24:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:55 $ docker exec 8add81fe0a8dc69b32ab191a185682a2b65379a022ef63652aaec2efefd685c4 ssh-agent 04:24:55 SSH_AUTH_SOCK=/tmp/ssh-2KGmf05XVjKW/agent.32 04:24:55 SSH_AGENT_PID=39 04:24:55 Running ssh-add (command line suppressed) 04:24:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2876256567639995775.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2876256567639995775.key) 04:24:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:55 + git semver tag 04:24:55 2024-07-22 04:24:55,774 [run_tag] DEBUG tag force:False 04:24:55 2024-07-22 04:24:55,774 [check_head_tag] DEBUG check head tag 04:24:55 2024-07-22 04:24:55,775 [execute] INFO git cat-file --batch-check 04:24:55 2024-07-22 04:24:55,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:24:55 2024-07-22 04:24:55,779 [execute] INFO git cat-file --batch 04:24:55 2024-07-22 04:24:55,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:24:55 2024-07-22 04:24:55,799 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:24:55 2024-07-22 04:24:55,799 [execute] INFO git tag -a v3.2.0-dev.16 -m v3.2.0-dev.16 04:24:55 2024-07-22 04:24:55,799 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.16', '-m', 'v3.2.0-dev.16'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:24:55 2024-07-22 04:24:55,803 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:24:55 3.2.0-dev.16 [Pipeline] } 04:24:55 $ docker exec --env ******** --env ******** 8add81fe0a8dc69b32ab191a185682a2b65379a022ef63652aaec2efefd685c4 ssh-agent -k 04:24:55 unset SSH_AUTH_SOCK; 04:24:55 unset SSH_AGENT_PID; 04:24:55 echo Agent pid 39 killed; 04:24:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:56 + git semver [Pipeline] } 04:24:56 $ docker stop --time=1 8add81fe0a8dc69b32ab191a185682a2b65379a022ef63652aaec2efefd685c4 04:24:57 $ docker rm -f --volumes 8add81fe0a8dc69b32ab191a185682a2b65379a022ef63652aaec2efefd685c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:24:58 04:24:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:24:58 0.23.1-centos7: Pulling from edgex-lftools 04:24:58 ab5ef0e58194: Pulling fs layer 04:24:58 9712f1f96733: Pulling fs layer 04:24:58 63f879dbbcfc: Pulling fs layer 04:24:58 0d9ebad4ef96: Pulling fs layer 04:24:58 e9a5061849ea: Pulling fs layer 04:24:58 d747dcd14b5f: Pulling fs layer 04:24:58 2de7ff778b66: Pulling fs layer 04:24:58 0d9ebad4ef96: Waiting 04:24:58 e9a5061849ea: Waiting 04:24:58 d747dcd14b5f: Waiting 04:24:58 9712f1f96733: Verifying Checksum 04:24:58 9712f1f96733: Download complete 04:24:58 63f879dbbcfc: Verifying Checksum 04:24:58 63f879dbbcfc: Download complete 04:24:59 e9a5061849ea: Download complete 04:24:59 d747dcd14b5f: Download complete 04:24:59 0d9ebad4ef96: Verifying Checksum 04:24:59 0d9ebad4ef96: Download complete 04:24:59 2de7ff778b66: Verifying Checksum 04:24:59 2de7ff778b66: Download complete 04:24:59 ab5ef0e58194: Verifying Checksum 04:24:59 ab5ef0e58194: Download complete 04:25:02 ab5ef0e58194: Pull complete 04:25:02 9712f1f96733: Pull complete 04:25:02 63f879dbbcfc: Pull complete 04:25:06 0d9ebad4ef96: Pull complete 04:25:06 e9a5061849ea: Pull complete 04:25:06 d747dcd14b5f: Pull complete 04:25:07 2de7ff778b66: Pull complete 04:25:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:25:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:25:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:07 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:25:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:25:13 $ docker top 8c7b875045b617d207748bcb4242fb982b291b4b72399e02e28029f06702852f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:25:13 provisioning config files... 04:25:13 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1086017721900878751tmp 04:25:13 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4915142682659306398tmp 04:25:13 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8475287499737853399tmp [Pipeline] { [Pipeline] echo 04:25:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:25:14 ---> sigul-configuration.sh 04:25:14 gpg: directory `/root/.gnupg' created 04:25:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:25:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:25:14 gpg: keyring `/root/.gnupg/secring.gpg' created 04:25:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:25:14 gpg: CAST5 encrypted data 04:25:14 gpg: encrypted with 1 passphrase 04:25:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:25:14 + mkdir /home/jenkins 04:25:14 + mkdir /home/jenkins/sigul [Pipeline] sh 04:25:14 + 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 04:25:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:25:14 ---> sigul-install.sh 04:25:14 Sigul already installed; skipping installation. [Pipeline] sh 04:25:15 + git tag --list 04:25:15 v0.0.0 04:25:15 v2.2.0 04:25:15 v2.3.0 04:25:15 v2.3.1 04:25:15 v3.0 04:25:15 v3.0.0 04:25:15 v3.1 04:25:15 v3.1.0 04:25:15 v3.1.0-dev.1 04:25:15 v3.1.0-dev.10 04:25:15 v3.1.0-dev.11 04:25:15 v3.1.0-dev.12 04:25:15 v3.1.0-dev.13 04:25:15 v3.1.0-dev.14 04:25:15 v3.1.0-dev.15 04:25:15 v3.1.0-dev.16 04:25:15 v3.1.0-dev.17 04:25:15 v3.1.0-dev.18 04:25:15 v3.1.0-dev.19 04:25:15 v3.1.0-dev.2 04:25:15 v3.1.0-dev.20 04:25:15 v3.1.0-dev.21 04:25:15 v3.1.0-dev.22 04:25:15 v3.1.0-dev.23 04:25:15 v3.1.0-dev.24 04:25:15 v3.1.0-dev.25 04:25:15 v3.1.0-dev.26 04:25:15 v3.1.0-dev.27 04:25:15 v3.1.0-dev.28 04:25:15 v3.1.0-dev.3 04:25:15 v3.1.0-dev.4 04:25:15 v3.1.0-dev.5 04:25:15 v3.1.0-dev.6 04:25:15 v3.1.0-dev.7 04:25:15 v3.1.0-dev.8 04:25:15 v3.1.0-dev.9 04:25:15 v3.1.1 04:25:15 v3.2.0-dev.1 04:25:15 v3.2.0-dev.10 04:25:15 v3.2.0-dev.11 04:25:15 v3.2.0-dev.12 04:25:15 v3.2.0-dev.13 04:25:15 v3.2.0-dev.14 04:25:15 v3.2.0-dev.15 04:25:15 v3.2.0-dev.16 04:25:15 v3.2.0-dev.2 04:25:15 v3.2.0-dev.3 04:25:15 v3.2.0-dev.4 04:25:15 v3.2.0-dev.5 04:25:15 v3.2.0-dev.6 04:25:15 v3.2.0-dev.7 04:25:15 v3.2.0-dev.8 04:25:15 v3.2.0-dev.9 [Pipeline] sh 04:25:15 + lftools sign git-tag v3.2.0-dev.16 04:25:16 Signing Git tag with Sigul... 04:25:16 Signing v3.2.0-dev.16 [Pipeline] echo 04:25:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:25:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:25:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:25:16 $ docker stop --time=1 8c7b875045b617d207748bcb4242fb982b291b4b72399e02e28029f06702852f 04:25:17 $ docker rm -f --volumes 8c7b875045b617d207748bcb4242fb982b291b4b72399e02e28029f06702852f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:25:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:25:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:18 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:25:18 $ 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 04:25:19 $ docker top 2300b940819817d89be70935edd28b1c1ee59c88aa8c301436b89e2563eaa69c -eo pid,comm 04:25:19 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). 04:25:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:25:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:19 [ssh-agent] Looking for ssh-agent implementation... 04:25:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:19 $ docker exec 2300b940819817d89be70935edd28b1c1ee59c88aa8c301436b89e2563eaa69c ssh-agent 04:25:19 SSH_AUTH_SOCK=/tmp/ssh-gvrzdRVap33S/agent.32 04:25:19 SSH_AGENT_PID=38 04:25:19 Running ssh-add (command line suppressed) 04:25:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11060926437191645452.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11060926437191645452.key) 04:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:19 + git semver bump pre 04:25:20 2024-07-22 04:25:20,048 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:20 2024-07-22 04:25:20,048 [bump_version] DEBUG bumping version:3.2.0-dev.16 on axis:pre with prefix:dev 04:25:20 2024-07-22 04:25:20,048 [bump_version] DEBUG bumped version:3.2.0-dev.17 04:25:20 2024-07-22 04:25:20,048 [write_version] DEBUG write version:3.2.0-dev.17 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:25:20 2024-07-22 04:25:20,049 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:20 2024-07-22 04:25:20,049 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:20 2024-07-22 04:25:20,050 [execute] INFO git cat-file --batch-check 04:25:20 2024-07-22 04:25:20,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:25:20 2024-07-22 04:25:20,055 [execute] INFO git cat-file --batch 04:25:20 2024-07-22 04:25:20,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:25:20 2024-07-22 04:25:20,060 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:20 3.2.0-dev.17 [Pipeline] } 04:25:20 $ docker exec --env ******** --env ******** 2300b940819817d89be70935edd28b1c1ee59c88aa8c301436b89e2563eaa69c ssh-agent -k 04:25:20 unset SSH_AUTH_SOCK; 04:25:20 unset SSH_AGENT_PID; 04:25:20 echo Agent pid 38 killed; 04:25:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:25:20 + git semver [Pipeline] } 04:25:20 $ docker stop --time=1 2300b940819817d89be70935edd28b1c1ee59c88aa8c301436b89e2563eaa69c 04:25:22 $ docker rm -f --volumes 2300b940819817d89be70935edd28b1c1ee59c88aa8c301436b89e2563eaa69c [Pipeline] // withDockerContainer [Pipeline] sh 04:25:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:25:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:22 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:25:22 $ 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 04:25:23 $ docker top 19839dc06886829fa4eee165727ae9be53bd8e66e198510a32a0d3c554b6ae3a -eo pid,comm 04:25:23 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). 04:25:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:25:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:23 [ssh-agent] Looking for ssh-agent implementation... 04:25:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:23 $ docker exec 19839dc06886829fa4eee165727ae9be53bd8e66e198510a32a0d3c554b6ae3a ssh-agent 04:25:23 SSH_AUTH_SOCK=/tmp/ssh-g8IqPXZPSVVF/agent.32 04:25:23 SSH_AGENT_PID=38 04:25:23 Running ssh-add (command line suppressed) 04:25:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8074983328697703808.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8074983328697703808.key) 04:25:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:23 + git semver push 04:25:24 2024-07-22 04:25:24,136 [run_push] DEBUG push 04:25:24 2024-07-22 04:25:24,137 [execute] INFO git cat-file --batch-check 04:25:24 2024-07-22 04:25:24,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:25:24 2024-07-22 04:25:24,141 [execute] INFO git rev-list 3eeef6a054fd190d95bf7c2611ef17b092cc3b70 -- 04:25:24 2024-07-22 04:25:24,141 [execute] DEBUG Popen(['git', 'rev-list', '3eeef6a054fd190d95bf7c2611ef17b092cc3b70', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:25:24 2024-07-22 04:25:24,150 [execute] INFO git fetch -v origin 04:25:24 2024-07-22 04:25:24,150 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:25:24 2024-07-22 04:25:24,601 [run_push] DEBUG no remote changes detected 04:25:24 2024-07-22 04:25:24,601 [execute] INFO git push origin semver 04:25:24 2024-07-22 04:25:24,601 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:25:25 2024-07-22 04:25:25,389 [run_push] DEBUG push all version tags 04:25:25 2024-07-22 04:25:25,389 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:25:25 2024-07-22 04:25:25,390 [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) 04:25:26 2024-07-22 04:25:26,091 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:26 3.2.0-dev.17 [Pipeline] } 04:25:26 $ docker exec --env ******** --env ******** 19839dc06886829fa4eee165727ae9be53bd8e66e198510a32a0d3c554b6ae3a ssh-agent -k 04:25:26 unset SSH_AUTH_SOCK; 04:25:26 unset SSH_AGENT_PID; 04:25:26 echo Agent pid 38 killed; 04:25:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:25:26 + git semver [Pipeline] } 04:25:27 $ docker stop --time=1 19839dc06886829fa4eee165727ae9be53bd8e66e198510a32a0d3c554b6ae3a 04:25:28 $ docker rm -f --volumes 19839dc06886829fa4eee165727ae9be53bd8e66e198510a32a0d3c554b6ae3a [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 04:25:28 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:25:28 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:25:28 total 16 04:25:28 drwxr-xr-x 3 root root 4096 Jul 22 04:09 . 04:25:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 04:25 .. 04:25:28 drwxr-xr-x 2 root root 4096 Jul 22 04:09 cost 04:25:28 -rw-r--r-- 1 root root 91 Jul 22 04:09 cost.csv 04:25:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:25:28 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:25:28 total 16 04:25:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 04:09 . 04:25:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 04:25 .. 04:25:28 drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 04:09 cost 04:25:28 -rw-r--r-- 1 jenkins jenkins 91 Jul 22 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:25:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:25:30 ---> package-listing.sh 04:25:30 ++ facter osfamily 04:25:30 ++ tr '[:upper:]' '[:lower:]' 04:25:30 + OS_FAMILY=debian 04:25:30 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:25:30 + START_PACKAGES=/tmp/packages_start.txt 04:25:30 + END_PACKAGES=/tmp/packages_end.txt 04:25:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:25:30 + PACKAGES=/tmp/packages_start.txt 04:25:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:25:30 + PACKAGES=/tmp/packages_end.txt 04:25:30 + case "${OS_FAMILY}" in 04:25:30 + dpkg -l 04:25:30 + grep '^ii' 04:25:30 + '[' -f /tmp/packages_start.txt ']' 04:25:30 + '[' -f /tmp/packages_end.txt ']' 04:25:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:25:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:25:30 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:25:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:25:30 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 04:25:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:31 prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container 04:25:31 $ 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 04:25:31 $ docker top 9981acc0478236415d3e4b87b3ebfb44ca015289743035cb97aa530627a7a3fa -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:25:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:25:32 + ls /var/log/sa-host 04:25:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:32 provisioning config files... 04:25:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config395328210221001567tmp [Pipeline] { [Pipeline] echo 04:25:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:25:32 ---> create-netrc.sh [Pipeline] } 04:25:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:25:33 ---> python-tools-install.sh [Pipeline] echo 04:25:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:25:33 ---> sudo-logs.sh 04:25:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:25:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:25:33 ---> job-cost.sh 04:25:33 lf-activate-venv: SKIPPING 04:25:33 DEBUG: total: 0.2199999988079071 04:25:33 INFO: Retrieving Stack Cost... 04:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:34 INFO: Archiving Costs [Pipeline] echo 04:25:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:25:34 ---> logs-deploy.sh 04:25:34 lf-activate-venv: SKIPPING 04:25:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/202 04:25:34 INFO: archiving workspace using pattern(s): 04:25:35 Archives upload complete. 04:25:35 INFO: archiving logs to Nexus