Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8926137e1ee1dca90be7e6fe7248a1fca1e6078a 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-ssh9303904824859230308.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-ssh17387830649131517442.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-ssh9095649662363725110.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-ssh1880786416374538772.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-ssh4634653788659596882.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 ‘prd-ubuntu20.04-docker-8c-8g-6834’ Running on prd-ubuntu20.04-docker-8c-8g-6841 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a (main) Commit message: "Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 > git rev-list --no-walk 126fa1752f0ab77254c2b21d51294f7e511c946d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:45:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:45:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:45:28 ========================================================= 03:45:28 EdgeX Global Pipelines Version Info 03:45:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:45:29 ------------------- 03:45:29 stable info: 03:45:29 ------------------- 03:45:29 Commited By: Ginny Guan ginny@iotechsys.com 03:45:29 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:45:29 Message: update stable to v1.0.260 03:45:30 ------------------- 03:45:30 experimental info: 03:45:30 ------------------- 03:45:30 Commited By: Ginny Guan ginny@iotechsys.com 03:45:30 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:45:30 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:45:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] echo 03:45:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8926137 [Pipeline] echo 03:45:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:31 provisioning config files... 03:45:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14398103890425090831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:31 ---> ****-login.sh 03:45:31 nexus3.edgexfoundry.org:10001 03:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:31 Configure a credential helper to remove this warning. See 03:45:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:31 03:45:31 Login Succeeded 03:45:31 nexus3.edgexfoundry.org:10002 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 nexus3.edgexfoundry.org:10003 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 nexus3.edgexfoundry.org:10004 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 ****.io 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 ---> ****-login.sh ends [Pipeline] } 03:45:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:45:32 + git rev-list -1 --merges 8926137e1ee1dca90be7e6fe7248a1fca1e6078a~1..8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] echo 03:45:32 -----------> git rev-list -1 --merges 8926137e1ee1dca90be7e6fe7248a1fca1e6078a~1..8926137e1ee1dca90be7e6fe7248a1fca1e6078a 8926137e1ee1dca90be7e6fe7248a1fca1e6078a 03:45:32 8926137e1ee1dca90be7e6fe7248a1fca1e6078a [false] [Pipeline] sh 03:45:33 + git log --format=format:%s -1 8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] echo 03:45:33 ========================================================= 03:45:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:45:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:33 + git log --format=format:%s -1 8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] echo 03:45:33 [semverPrep] GIT_COMMIT: 8926137e1ee1dca90be7e6fe7248a1fca1e6078a, Commit Message: Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 03:45:33 [semverPrep] This is not a build commit. [Pipeline] sh 03:45:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:45:34 + grep -v github /etc/ssh/ssh_known_hosts 03:45:34 + [ -e /tmp/ssh_known_hosts ] 03:45:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:45:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:45:34 + sudo tee -a /etc/ssh/ssh_known_hosts 03:45:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:34 03:45:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:34 0.1.4: Pulling from edgex-devops/py-git-semver 03:45:34 b85a868b505f: Pulling fs layer 03:45:34 e2be974225ed: Pulling fs layer 03:45:34 339a4e72a1f5: Pulling fs layer 03:45:34 988bab9f4d93: Pulling fs layer 03:45:34 1469e6f7b9e6: Pulling fs layer 03:45:34 eaf3925da568: Pulling fs layer 03:45:34 bab4dde63d76: Pulling fs layer 03:45:34 bde34c3a00c8: Pulling fs layer 03:45:34 b352a97aabf1: Pulling fs layer 03:45:34 4872d77fe225: Pulling fs layer 03:45:34 5851b861e8e6: Pulling fs layer 03:45:34 eaf3925da568: Waiting 03:45:34 bab4dde63d76: Waiting 03:45:34 bde34c3a00c8: Waiting 03:45:34 4872d77fe225: Waiting 03:45:34 b352a97aabf1: Waiting 03:45:34 5851b861e8e6: Waiting 03:45:34 988bab9f4d93: Waiting 03:45:34 988bab9f4d93: Verifying Checksum 03:45:34 988bab9f4d93: Download complete 03:45:34 339a4e72a1f5: Verifying Checksum 03:45:34 339a4e72a1f5: Download complete 03:45:35 1469e6f7b9e6: Verifying Checksum 03:45:35 1469e6f7b9e6: Download complete 03:45:35 eaf3925da568: Download complete 03:45:35 bde34c3a00c8: Download complete 03:45:35 b352a97aabf1: Download complete 03:45:35 4872d77fe225: Verifying Checksum 03:45:35 4872d77fe225: Download complete 03:45:35 5851b861e8e6: Verifying Checksum 03:45:35 5851b861e8e6: Download complete 03:45:35 b85a868b505f: Verifying Checksum 03:45:35 b85a868b505f: Download complete 03:45:35 bab4dde63d76: Verifying Checksum 03:45:35 bab4dde63d76: Download complete 03:45:36 b85a868b505f: Pull complete 03:45:36 e2be974225ed: Pull complete 03:45:36 339a4e72a1f5: Pull complete 03:45:36 988bab9f4d93: Pull complete 03:45:37 1469e6f7b9e6: Pull complete 03:45:37 eaf3925da568: Pull complete 03:45:39 bab4dde63d76: Pull complete 03:45:39 bde34c3a00c8: Pull complete 03:45:39 b352a97aabf1: Pull complete 03:45:39 4872d77fe225: Pull complete 03:45:39 5851b861e8e6: Pull complete 03:45:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:39 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 03:45:39 $ 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 03:45:42 $ docker top c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 -eo pid,comm 03:45:42 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). 03:45:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:42 [ssh-agent] Looking for ssh-agent implementation... 03:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:43 $ docker exec c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 ssh-agent 03:45:43 SSH_AUTH_SOCK=/tmp/ssh-jp4JD689b6Wd/agent.31 03:45:43 SSH_AGENT_PID=37 03:45:43 Running ssh-add (command line suppressed) 03:45:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15435578113317068657.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15435578113317068657.key) 03:45:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:43 + git tag --points-at HEAD [Pipeline] } 03:45:43 $ docker exec --env ******** --env ******** c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 ssh-agent -k 03:45:43 unset SSH_AUTH_SOCK; 03:45:43 unset SSH_AGENT_PID; 03:45:43 echo Agent pid 37 killed; 03:45:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:45:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:43 [ssh-agent] Looking for ssh-agent implementation... 03:45:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:43 $ docker exec c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 ssh-agent 03:45:43 SSH_AUTH_SOCK=/tmp/ssh-j4vhQTjP0uZ8/agent.70 03:45:43 SSH_AGENT_PID=76 03:45:43 Running ssh-add (command line suppressed) 03:45:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14023440519479295160.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14023440519479295160.key) 03:45:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:44 + git semver init 03:45:44 2024-07-31 03:45:44,503 [run_init] DEBUG init version:0.0.0 force:False 03:45:44 2024-07-31 03:45:44,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 03:45:44 2024-07-31 03:45:44,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 03:45:44 2024-07-31 03:45:44,504 [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) 03:45:45 2024-07-31 03:45:45,841 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 03:45:45 2024-07-31 03:45:45,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 03:45:45 2024-07-31 03:45:45,841 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:45:45 2024-07-31 03:45:45,841 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:45:45 3.2.0-dev.18 [Pipeline] } 03:45:45 $ docker exec --env ******** --env ******** c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 ssh-agent -k 03:45:46 unset SSH_AUTH_SOCK; 03:45:46 unset SSH_AGENT_PID; 03:45:46 echo Agent pid 76 killed; 03:45:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:46 + git semver [Pipeline] } 03:45:46 $ docker stop --time=1 c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 03:45:48 $ docker rm -f --volumes c7081522c9fec1d1c8ab01da6fa43459b68f10f11129ccd847a83ab364c2b265 [Pipeline] // withDockerContainer [Pipeline] sh 03:45:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:45:48 Stashed 1 file(s) [Pipeline] echo 03:45:48 [edgeXSemver]: initialized semver on version 3.2.0-dev.18 [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 03:45:48 provisioning config files... 03:45:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12963181634431024893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:49 ---> ****-login.sh 03:45:49 nexus3.edgexfoundry.org:10001 03:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:49 Configure a credential helper to remove this warning. See 03:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:49 03:45:49 Login Succeeded 03:45:49 nexus3.edgexfoundry.org:10002 03:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:49 Configure a credential helper to remove this warning. See 03:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:49 03:45:49 Login Succeeded 03:45:49 nexus3.edgexfoundry.org:10003 03:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:49 Configure a credential helper to remove this warning. See 03:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:49 03:45:49 Login Succeeded 03:45:49 nexus3.edgexfoundry.org:10004 03:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:49 Configure a credential helper to remove this warning. See 03:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:49 03:45:49 Login Succeeded 03:45:49 ****.io 03:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:45:49 Configure a credential helper to remove this warning. See 03:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:45:49 03:45:49 Login Succeeded 03:45:49 ---> ****-login.sh ends [Pipeline] } 03:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:45:49 ========================================================= 03:45:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:45:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:50 + 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 . 03:45:50 Sending build context to Docker daemon 36.63MB 03:45:50 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:45:50 Step 2/13 : FROM ${BASE} AS builder 03:45:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:45:50 619be1103602: Pulling fs layer 03:45:50 7862e08f4a3e: Pulling fs layer 03:45:50 5df492c9dc93: Pulling fs layer 03:45:50 7629e6793208: Pulling fs layer 03:45:50 4f4fb700ef54: Pulling fs layer 03:45:50 fb5054dd5b73: Pulling fs layer 03:45:50 eeca6798cff9: Pulling fs layer 03:45:50 aa269ceb94a6: Pulling fs layer 03:45:50 ada007ff1a6a: Pulling fs layer 03:45:50 7629e6793208: Waiting 03:45:50 4f4fb700ef54: Waiting 03:45:50 fb5054dd5b73: Waiting 03:45:50 aa269ceb94a6: Waiting 03:45:50 eeca6798cff9: Waiting 03:45:50 ada007ff1a6a: Waiting 03:45:50 7862e08f4a3e: Verifying Checksum 03:45:50 7862e08f4a3e: Download complete 03:45:50 7629e6793208: Verifying Checksum 03:45:50 7629e6793208: Download complete 03:45:50 4f4fb700ef54: Verifying Checksum 03:45:50 619be1103602: Verifying Checksum 03:45:50 619be1103602: Download complete 03:45:50 fb5054dd5b73: Download complete 03:45:50 eeca6798cff9: Verifying Checksum 03:45:50 eeca6798cff9: Download complete 03:45:50 619be1103602: Pull complete 03:45:50 7862e08f4a3e: Pull complete 03:45:50 ada007ff1a6a: Verifying Checksum 03:45:50 ada007ff1a6a: Download complete 03:45:50 5df492c9dc93: Verifying Checksum 03:45:50 5df492c9dc93: Download complete 03:45:51 aa269ceb94a6: Verifying Checksum 03:45:51 aa269ceb94a6: Download complete 03:45:54 5df492c9dc93: Pull complete 03:45:54 7629e6793208: Pull complete 03:45:54 4f4fb700ef54: Pull complete 03:45:54 fb5054dd5b73: Pull complete 03:45:54 eeca6798cff9: Pull complete 03:45:57 aa269ceb94a6: Pull complete 03:45:57 ada007ff1a6a: Pull complete 03:45:57 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:45:57 ---> f489d0715acc 03:45:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:46:02 ---> Running in ca72784db44a 03:46:02 Removing intermediate container ca72784db44a 03:46:02 ---> 4ec8d02f07f0 03:46:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:02 ---> Running in 851123c8d2f1 03:46:02 Removing intermediate container 851123c8d2f1 03:46:02 ---> d0e132f80105 03:46:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:46:02 ---> Running in 3300fdaf96e3 03:46:02 Removing intermediate container 3300fdaf96e3 03:46:02 ---> b8ce3980e3f4 03:46:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:46:02 ---> Running in 52f6299239e2 03:46:02 Removing intermediate container 52f6299239e2 03:46:02 ---> acfb0262eaab 03:46:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:46:02 ---> Running in b7d9aa4d33df 03:46:03 Removing intermediate container b7d9aa4d33df 03:46:03 ---> c7f10c91a65b 03:46:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:46:03 ---> Running in ebd00629945b 03:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:46:03 OK: 264 MiB in 52 packages 03:46:03 Still waiting to schedule task 03:46:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6832’ 03:46:04 Removing intermediate container ebd00629945b 03:46:04 ---> 7fb47a034992 03:46:04 Step 9/13 : WORKDIR /device-onvif-camera 03:46:04 ---> Running in 3f57f9248251 03:46:04 Removing intermediate container 3f57f9248251 03:46:04 ---> 3aa735b0d38e 03:46:04 Step 10/13 : COPY go.mod vendor* ./ 03:46:04 ---> 026cd9daf492 03:46:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:04 ---> Running in 429217c17240 03:47:01 Removing intermediate container 429217c17240 03:47:01 ---> 678dc4d3d932 03:47:01 Step 12/13 : COPY . . 03:47:01 ---> 49c2f80d6ce6 03:47:01 Step 13/13 : RUN ${MAKE} 03:47:01 ---> Running in 241b81bd0a7b 03:47:01 noop 03:47:01 Removing intermediate container 241b81bd0a7b 03:47:01 ---> e4ca528514d7 03:47:01 Successfully built e4ca528514d7 03:47:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker inspect -f . ci-base-image-x86_64 03:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:02 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 03:47:02 $ 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 03:47:02 $ docker top f1b7e5c531dc900c5c1efd967eb1c29da1b5686d8e34ecdda4b12acac0e9f3f5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:02 + go version 03:47:02 go version go1.21.9 linux/amd64 [Pipeline] } 03:47:02 $ docker stop --time=1 f1b7e5c531dc900c5c1efd967eb1c29da1b5686d8e34ecdda4b12acac0e9f3f5 03:47:04 $ docker rm -f --volumes f1b7e5c531dc900c5c1efd967eb1c29da1b5686d8e34ecdda4b12acac0e9f3f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:04 + docker inspect -f . ci-base-image-x86_64 03:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:04 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 03:47:04 $ 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 03:47:04 $ docker top 9deaf6af7dcda396b4d1a541c8e67d63472593449a1222477d2ecc82416afb2a -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:05 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 03:47:05 + make test 03:47:05 go test ./... -coverprofile=coverage.out ./... 03:47:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:47:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:47:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:47:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.4% of statements 03:47:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.153s coverage: 86.5% of statements 03:47:39 go vet ./... 03:47:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:47:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:47:46 ./bin/test-attribution-txt.sh 03:47:46 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:47:46 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:47:46 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:47:46 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:47:46 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:47:46 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:47:46 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:47:46 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:47:46 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:47:46 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:47:46 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:47:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:47:46 $ docker stop --time=1 9deaf6af7dcda396b4d1a541c8e67d63472593449a1222477d2ecc82416afb2a 03:47:49 $ docker rm -f --volumes 9deaf6af7dcda396b4d1a541c8e67d63472593449a1222477d2ecc82416afb2a [Pipeline] // withDockerContainer [Pipeline] sh 03:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:47:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:50 + ls -al . 03:47:50 total 312 03:47:50 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 03:47 . 03:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:45 .. 03:47:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:47 .git 03:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:45 .github 03:47:50 -rw-rw-r-- 1 jenkins jenkins 493 Jul 31 03:45 .gitignore 03:47:50 -rw-rw-r-- 1 jenkins jenkins 42 Jul 31 03:45 .golangci.yml 03:47:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 03:45 .semver 03:47:50 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 31 03:45 Attribution.txt 03:47:50 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 31 03:45 CHANGELOG.md 03:47:50 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 31 03:45 Dockerfile 03:47:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 03:45 GOVERNANCE.md 03:47:50 -rw-rw-r-- 1 jenkins jenkins 739 Jul 31 03:45 Jenkinsfile 03:47:50 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 31 03:45 LICENSE 03:47:50 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 31 03:45 Makefile 03:47:50 -rw-rw-r-- 1 jenkins jenkins 625 Jul 31 03:45 OWNERS.md 03:47:50 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 31 03:45 README.md 03:47:50 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 03:45 VERSION 03:47:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:45 bin 03:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:45 cmd 03:47:50 -rw-r--r-- 1 jenkins jenkins 78805 Jul 31 03:47 coverage.out 03:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:45 doc 03:47:50 -rw-rw-r-- 1 jenkins jenkins 7331 Jul 31 03:45 go.mod 03:47:50 -rw-rw-r-- 1 jenkins jenkins 102413 Jul 31 03:45 go.sum 03:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:45 internal 03:47:50 -rw-rw-r-- 1 jenkins jenkins 236 Jul 31 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:51 + 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=8926137e1ee1dca90be7e6fe7248a1fca1e6078a --label arch=amd64 --label version=3.2.0-dev.18 . 03:47:51 Sending build context to Docker daemon 36.71MB 03:47:51 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:47:51 Step 2/27 : FROM ${BASE} AS builder 03:47:51 ---> e4ca528514d7 03:47:51 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:47:52 ---> Running in 384fbe36d3ac 03:47:52 Removing intermediate container 384fbe36d3ac 03:47:52 ---> e629b13d444b 03:47:52 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:52 ---> Running in a3e4d59a350a 03:47:52 Removing intermediate container a3e4d59a350a 03:47:52 ---> 8b02f13538a4 03:47:52 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:47:52 ---> Running in 9eed050540f6 03:47:52 Removing intermediate container 9eed050540f6 03:47:52 ---> d745de01a192 03:47:52 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:47:52 ---> Running in 5c11b80b899e 03:47:52 Removing intermediate container 5c11b80b899e 03:47:52 ---> cd82ff96144b 03:47:52 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:47:52 ---> Running in b92e4f17aa6d 03:47:52 Removing intermediate container b92e4f17aa6d 03:47:52 ---> 35bf6dd12d3e 03:47:52 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:52 ---> Running in 9174563cfa0c 03:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:47:53 OK: 264 MiB in 52 packages 03:47:53 Removing intermediate container 9174563cfa0c 03:47:53 ---> 8491db877df5 03:47:53 Step 9/27 : WORKDIR /device-onvif-camera 03:47:53 ---> Running in 4223dc34a151 03:47:53 Removing intermediate container 4223dc34a151 03:47:53 ---> 6d4171dad141 03:47:53 Step 10/27 : COPY go.mod vendor* ./ 03:47:53 ---> 16ce0f879a6b 03:47:53 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:53 ---> Running in 995d8056d95b 03:47:54 Removing intermediate container 995d8056d95b 03:47:54 ---> 70dfd03ca70f 03:47:54 Step 12/27 : COPY . . 03:47:55 ---> 83b8d6a880ed 03:47:55 Step 13/27 : RUN ${MAKE} 03:47:55 ---> Running in d1a31ff15a51 03:47:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:48:34 Removing intermediate container d1a31ff15a51 03:48:34 ---> f7cf4dc677b7 03:48:34 Step 14/27 : FROM alpine:3.18 03:48:34 3.18: Pulling from library/alpine 03:48:34 930bdd4d222e: Pulling fs layer 03:48:34 930bdd4d222e: Verifying Checksum 03:48:34 930bdd4d222e: Download complete 03:48:34 930bdd4d222e: Pull complete 03:48:34 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:48:34 Status: Downloaded newer image for alpine:3.18 03:48:34 ---> 18f865063206 03:48:34 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:48:34 ---> Running in ac0680d4ff32 03:48:34 Removing intermediate container ac0680d4ff32 03:48:34 ---> 68f0e982b83c 03:48:34 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:48:34 ---> Running in a2a7c6aafb65 03:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:48:34 (1/1) Installing dumb-init (1.2.5-r2) 03:48:34 Executing busybox-1.36.1-r7.trigger 03:48:34 OK: 7 MiB in 16 packages 03:48:34 Removing intermediate container a2a7c6aafb65 03:48:34 ---> 410a35a64a20 03:48:34 Step 17/27 : RUN apk --no-cache upgrade 03:48:34 ---> Running in bb73ce6e6ed1 03:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:48:34 OK: 7 MiB in 16 packages 03:48:34 Removing intermediate container bb73ce6e6ed1 03:48:34 ---> c22d545a3850 03:48:34 Step 18/27 : WORKDIR / 03:48:34 ---> Running in 2eed1b203afd 03:48:34 Removing intermediate container 2eed1b203afd 03:48:34 ---> 7dc1c7379896 03:48:34 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:48:34 ---> 159ba0fb1713 03:48:34 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:48:34 ---> 17fb39873369 03:48:34 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:48:34 ---> 72b4ad015899 03:48:34 Step 22/27 : EXPOSE 59984 03:48:34 ---> Running in c80fce52bd9f 03:48:34 Removing intermediate container c80fce52bd9f 03:48:34 ---> 19e9602d3695 03:48:34 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:48:34 ---> Running in cc28d4f28203 03:48:34 Removing intermediate container cc28d4f28203 03:48:34 ---> ad2773c92587 03:48:34 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:48:34 ---> Running in 012aa484f20e 03:48:34 Removing intermediate container 012aa484f20e 03:48:34 ---> 1a3c2c7398a5 03:48:34 Step 25/27 : LABEL arch=amd64 03:48:34 ---> Running in 15d52626ea10 03:48:34 Removing intermediate container 15d52626ea10 03:48:34 ---> fdd79b8d912c 03:48:34 Step 26/27 : LABEL git_sha=8926137e1ee1dca90be7e6fe7248a1fca1e6078a 03:48:34 ---> Running in 67049d4f4262 03:48:34 Removing intermediate container 67049d4f4262 03:48:34 ---> f7bad84fd770 03:48:34 Step 27/27 : LABEL version=3.2.0-dev.18 03:48:34 ---> Running in f3b7b4c77b83 03:48:34 Removing intermediate container f3b7b4c77b83 03:48:34 ---> dbca0dfc2b6b 03:48:34 [Warning] One or more build-args [ARCH] were not consumed 03:48:34 Successfully built dbca0dfc2b6b 03:48:34 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 03:48:34 provisioning config files... 03:48:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1500688070769468355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:48:35 ---> ****-login.sh 03:48:35 nexus3.edgexfoundry.org:10001 03:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:48:35 Configure a credential helper to remove this warning. See 03:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:48:35 03:48:35 Login Succeeded 03:48:35 nexus3.edgexfoundry.org:10002 03:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:48:35 Configure a credential helper to remove this warning. See 03:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:48:35 03:48:35 Login Succeeded 03:48:35 nexus3.edgexfoundry.org:10003 03:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:48:35 Configure a credential helper to remove this warning. See 03:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:48:35 03:48:35 Login Succeeded 03:48:35 nexus3.edgexfoundry.org:10004 03:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:48:35 Configure a credential helper to remove this warning. See 03:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:48:35 03:48:35 Login Succeeded 03:48:35 ****.io 03:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:48:35 Configure a credential helper to remove this warning. See 03:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:48:35 03:48:35 Login Succeeded 03:48:35 ---> ****-login.sh ends [Pipeline] } 03:48:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:48:36 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 03:48:36 8926137e1ee1dca90be7e6fe7248a1fca1e6078a 03:48:36 latest 03:48:36 3.2.0-dev.18 03:48:36 8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 03:48:36 main 03:48:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:36 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a 03:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:48:36 b42a86bb4286: Preparing 03:48:36 506faecb7c17: Preparing 03:48:36 f2179f5b57c4: Preparing 03:48:36 1b5bad4bb925: Preparing 03:48:36 a7857b887f33: Preparing 03:48:36 ce7f800efff9: Preparing 03:48:36 ce7f800efff9: Waiting 03:48:36 506faecb7c17: Pushed 03:48:37 ce7f800efff9: Layer already exists 03:48:37 b42a86bb4286: Pushed 03:48:37 1b5bad4bb925: Pushed 03:48:37 a7857b887f33: Pushed 03:48:40 f2179f5b57c4: Pushed 03:48:40 8926137e1ee1dca90be7e6fe7248a1fca1e6078a: digest: sha256:87de9a70ecaa9918efaa1793d78665b318d5029269e4c773f44c33ca9aa77f3d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:48:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:48:40 b42a86bb4286: Preparing 03:48:40 506faecb7c17: Preparing 03:48:40 f2179f5b57c4: Preparing 03:48:40 1b5bad4bb925: Preparing 03:48:40 a7857b887f33: Preparing 03:48:40 ce7f800efff9: Preparing 03:48:40 ce7f800efff9: Waiting 03:48:40 b42a86bb4286: Layer already exists 03:48:40 a7857b887f33: Layer already exists 03:48:40 1b5bad4bb925: Layer already exists 03:48:40 506faecb7c17: Layer already exists 03:48:40 f2179f5b57c4: Layer already exists 03:48:40 ce7f800efff9: Layer already exists 03:48:40 latest: digest: sha256:87de9a70ecaa9918efaa1793d78665b318d5029269e4c773f44c33ca9aa77f3d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.18 03:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:48:41 b42a86bb4286: Preparing 03:48:41 506faecb7c17: Preparing 03:48:41 f2179f5b57c4: Preparing 03:48:41 1b5bad4bb925: Preparing 03:48:41 a7857b887f33: Preparing 03:48:41 ce7f800efff9: Preparing 03:48:41 ce7f800efff9: Waiting 03:48:41 f2179f5b57c4: Layer already exists 03:48:41 1b5bad4bb925: Layer already exists 03:48:41 b42a86bb4286: Layer already exists 03:48:41 506faecb7c17: Layer already exists 03:48:41 a7857b887f33: Layer already exists 03:48:41 ce7f800efff9: Layer already exists 03:48:41 3.2.0-dev.18: digest: sha256:87de9a70ecaa9918efaa1793d78665b318d5029269e4c773f44c33ca9aa77f3d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 03:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:48:42 b42a86bb4286: Preparing 03:48:42 506faecb7c17: Preparing 03:48:42 f2179f5b57c4: Preparing 03:48:42 1b5bad4bb925: Preparing 03:48:42 a7857b887f33: Preparing 03:48:42 ce7f800efff9: Preparing 03:48:42 1b5bad4bb925: Layer already exists 03:48:42 506faecb7c17: Layer already exists 03:48:42 a7857b887f33: Layer already exists 03:48:42 f2179f5b57c4: Layer already exists 03:48:42 b42a86bb4286: Layer already exists 03:48:42 ce7f800efff9: Layer already exists 03:48:42 8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18: digest: sha256:87de9a70ecaa9918efaa1793d78665b318d5029269e4c773f44c33ca9aa77f3d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 03:48:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:48:43 b42a86bb4286: Preparing 03:48:43 506faecb7c17: Preparing 03:48:43 f2179f5b57c4: Preparing 03:48:43 1b5bad4bb925: Preparing 03:48:43 a7857b887f33: Preparing 03:48:43 ce7f800efff9: Preparing 03:48:43 ce7f800efff9: Waiting 03:48:43 f2179f5b57c4: Layer already exists 03:48:43 506faecb7c17: Layer already exists 03:48:43 b42a86bb4286: Layer already exists 03:48:43 a7857b887f33: Layer already exists 03:48:43 1b5bad4bb925: Layer already exists 03:48:43 ce7f800efff9: Layer already exists 03:48:43 main: digest: sha256:87de9a70ecaa9918efaa1793d78665b318d5029269e4c773f44c33ca9aa77f3d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:48:43 ===================================================== [Pipeline] echo 03:48:43 taggedImages: 03:48:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a 03:48:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:48:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.18 03:48:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 03:48:43 - 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 03:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:44 03:48:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:45 latest: Pulling from edgex-lftools-log-publisher 03:48:45 5eb5b503b376: Pulling fs layer 03:48:45 5c69ac0246d0: Pulling fs layer 03:48:45 ec43610c2a17: Pulling fs layer 03:48:45 3a2ae6a8a46f: Pulling fs layer 03:48:45 33b1e0a273af: Pulling fs layer 03:48:45 5d3b04190fa2: Pulling fs layer 03:48:45 33b1e0a273af: Waiting 03:48:45 3a2ae6a8a46f: Waiting 03:48:45 2f39f015ded8: Pulling fs layer 03:48:45 5d3b04190fa2: Waiting 03:48:45 2f39f015ded8: Waiting 03:48:45 5c69ac0246d0: Verifying Checksum 03:48:45 5c69ac0246d0: Download complete 03:48:45 3a2ae6a8a46f: Verifying Checksum 03:48:45 3a2ae6a8a46f: Download complete 03:48:45 33b1e0a273af: Verifying Checksum 03:48:45 33b1e0a273af: Download complete 03:48:45 5d3b04190fa2: Verifying Checksum 03:48:45 5d3b04190fa2: Download complete 03:48:45 ec43610c2a17: Verifying Checksum 03:48:45 ec43610c2a17: Download complete 03:48:48 5eb5b503b376: Download complete 03:48:48 2f39f015ded8: Verifying Checksum 03:48:48 2f39f015ded8: Download complete 03:48:48 5eb5b503b376: Pull complete 03:48:48 5c69ac0246d0: Pull complete 03:48:49 ec43610c2a17: Pull complete 03:48:49 3a2ae6a8a46f: Pull complete 03:48:49 33b1e0a273af: Pull complete 03:48:49 5d3b04190fa2: Pull complete 03:48:53 2f39f015ded8: Pull complete 03:48:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:54 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 03:48:54 $ 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 03:48:58 $ docker top e32720bbccbcd3897194a5b49dd45112c5c02c17764a81fec830cfbec6dd56e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:48:59 ---> job-cost.sh 03:48:59 lf-activate-venv: SKIPPING 03:48:59 INFO: No Stack... 03:48:59 INFO: Retrieving Pricing Info for: v3-standard-8 03:49:00 INFO: Archiving Costs [Pipeline] sh 03:49:00 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 03:49:00 + cut -d, -f6 [Pipeline] lock 03:49:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] 03:49:00 Resource [jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] did not exist. Created. 03:49:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:49:00 + echo total: 0.2199999988079071 [Pipeline] stash 03:49:00 Stashed 1 file(s) [Pipeline] } 03:49:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 03:49:00 $ docker stop --time=1 e32720bbccbcd3897194a5b49dd45112c5c02c17764a81fec830cfbec6dd56e3 03:49:02 $ docker rm -f --volumes e32720bbccbcd3897194a5b49dd45112c5c02c17764a81fec830cfbec6dd56e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:49:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6842 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 03:49:54 Running in /w/workspace/device-onvif-camera/204 [Pipeline] { [Pipeline] checkout 03:49:57 The recommended git tool is: git 03:50:04 using credential edgex-jenkins-ssh 03:50:04 Cloning the remote Git repository 03:50:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:50:05 > git init /w/workspace/device-onvif-camera/204 # timeout=10 03:50:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:50:05 > git --version # timeout=10 03:50:05 > git --version # 'git version 2.25.1' 03:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:50:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:09 Avoid second fetch 03:50:09 Checking out Revision 8926137e1ee1dca90be7e6fe7248a1fca1e6078a (main) 03:50:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:50:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:09 > git config core.sparsecheckout # timeout=10 03:50:09 > git checkout -f 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 03:50:09 Commit message: "Merge pull request #450 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:50:14 % Total % Received % Xferd Average Speed Time Time Time Current 03:50:14 Dload Upload Total Spent Left Speed 03:50:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 03:50:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:50:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:50:15 + sudo tee /etc/docker/daemon.new 03:50:15 { 03:50:15 "registry-mirrors": [ 03:50:15 "https://nexus3.edgexfoundry.org:10001" 03:50:15 ], 03:50:15 "bip": "10.250.0.254/24", 03:50:15 "hosts": [ 03:50:15 "tcp://0.0.0.0:5555", 03:50:15 "unix:///var/run/docker.sock" 03:50:15 ], 03:50:15 "mtu": 1458, 03:50:15 "selinux-enabled": true, 03:50:15 "seccomp-profile": "/etc/docker/seccomp.json" 03:50:15 } [Pipeline] sh 03:50:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:50:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:34 provisioning config files... 03:50:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/204@tmp/config17495841725637750419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:35 ---> ****-login.sh 03:50:35 nexus3.edgexfoundry.org:10001 03:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:35 Configure a credential helper to remove this warning. See 03:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:35 03:50:35 Login Succeeded 03:50:35 nexus3.edgexfoundry.org:10002 03:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:36 Configure a credential helper to remove this warning. See 03:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:36 03:50:36 Login Succeeded 03:50:36 nexus3.edgexfoundry.org:10003 03:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:36 Configure a credential helper to remove this warning. See 03:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:36 03:50:36 Login Succeeded 03:50:36 nexus3.edgexfoundry.org:10004 03:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:37 Configure a credential helper to remove this warning. See 03:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:37 03:50:37 Login Succeeded 03:50:37 ****.io 03:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:37 Configure a credential helper to remove this warning. See 03:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:37 03:50:37 Login Succeeded 03:50:37 ---> ****-login.sh ends [Pipeline] } 03:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:38 ========================================================= 03:50:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:50:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:38 + 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 . 03:50:38 Sending build context to Docker daemon 21.72MB 03:50:38 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:50:38 Step 2/13 : FROM ${BASE} AS builder 03:50:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:50:39 c6b39de5b339: Pulling fs layer 03:50:39 a69c41024577: Pulling fs layer 03:50:39 d6de4b400683: Pulling fs layer 03:50:39 35cb2a7552d0: Pulling fs layer 03:50:39 4f4fb700ef54: Pulling fs layer 03:50:39 464afbd9ba4c: Pulling fs layer 03:50:39 00f215d4a9da: Pulling fs layer 03:50:39 d496ad576159: Pulling fs layer 03:50:39 35cb2a7552d0: Waiting 03:50:39 4f4fb700ef54: Waiting 03:50:39 464afbd9ba4c: Waiting 03:50:39 00f215d4a9da: Waiting 03:50:39 d496ad576159: Waiting 03:50:39 a69c41024577: Verifying Checksum 03:50:39 a69c41024577: Download complete 03:50:39 35cb2a7552d0: Download complete 03:50:39 4f4fb700ef54: Download complete 03:50:39 464afbd9ba4c: Verifying Checksum 03:50:39 464afbd9ba4c: Download complete 03:50:39 c6b39de5b339: Download complete 03:50:39 d496ad576159: Verifying Checksum 03:50:39 d496ad576159: Download complete 03:50:40 c6b39de5b339: Pull complete 03:50:41 a69c41024577: Pull complete 03:50:41 d6de4b400683: Verifying Checksum 03:50:41 d6de4b400683: Download complete 03:50:42 00f215d4a9da: Verifying Checksum 03:50:42 00f215d4a9da: Download complete 03:50:54 d6de4b400683: Pull complete 03:50:54 35cb2a7552d0: Pull complete 03:50:54 4f4fb700ef54: Pull complete 03:50:54 464afbd9ba4c: Pull complete 03:51:04 00f215d4a9da: Pull complete 03:51:04 d496ad576159: Pull complete 03:51:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:51:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:51:04 ---> f246e2811388 03:51:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:51:07 ---> Running in 48ddf4055545 03:51:07 Removing intermediate container 48ddf4055545 03:51:07 ---> 9bd5ca3152f6 03:51:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:51:07 ---> Running in 3cc1ccee98fe 03:51:07 Removing intermediate container 3cc1ccee98fe 03:51:07 ---> 9302a1b09224 03:51:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:51:07 ---> Running in 9c8844265b75 03:51:08 Removing intermediate container 9c8844265b75 03:51:08 ---> 41c3cc900d19 03:51:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:51:08 ---> Running in 4c0d77c84578 03:51:08 Removing intermediate container 4c0d77c84578 03:51:08 ---> 922d6f60a6b0 03:51:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:51:08 ---> Running in 97d7f145a3e8 03:51:08 Removing intermediate container 97d7f145a3e8 03:51:08 ---> aefed9c82397 03:51:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:51:08 ---> Running in 4034a8d48b91 03:51:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:11 OK: 266 MiB in 52 packages 03:51:12 Removing intermediate container 4034a8d48b91 03:51:12 ---> 673920013bd8 03:51:12 Step 9/13 : WORKDIR /device-onvif-camera 03:51:12 ---> Running in 5d50e3dade8f 03:51:12 Removing intermediate container 5d50e3dade8f 03:51:12 ---> b1bc0d544992 03:51:12 Step 10/13 : COPY go.mod vendor* ./ 03:51:13 ---> a47e9864bc70 03:51:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:51:13 ---> Running in bc2d8ea93e9f 03:53:20 Removing intermediate container bc2d8ea93e9f 03:53:20 ---> 6d33dbcbaec1 03:53:20 Step 12/13 : COPY . . 03:53:20 ---> 3f1f920fb257 03:53:20 Step 13/13 : RUN ${MAKE} 03:53:20 ---> Running in 31c5033ff582 03:53:20 noop 03:53:20 Removing intermediate container 31c5033ff582 03:53:20 ---> 297a6eeabebe 03:53:20 Successfully built 297a6eeabebe 03:53:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:20 + docker inspect -f . ci-base-image-arm64 03:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-6842 does not seem to be running inside a container 03:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/204 -v /w/workspace/device-onvif-camera/204:/w/workspace/device-onvif-camera/204:rw,z -v /w/workspace/device-onvif-camera/204@tmp:/w/workspace/device-onvif-camera/204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:53:22 $ docker top f456f3ac392fd3979c2233a8ce90df4021fda5bc43eb3dc1926f52203c57b05f -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:22 + go version 03:53:22 go version go1.21.9 linux/arm64 [Pipeline] } 03:53:22 $ docker stop --time=1 f456f3ac392fd3979c2233a8ce90df4021fda5bc43eb3dc1926f52203c57b05f 03:53:24 $ docker rm -f --volumes f456f3ac392fd3979c2233a8ce90df4021fda5bc43eb3dc1926f52203c57b05f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:25 + docker inspect -f . ci-base-image-arm64 03:53:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:25 prd-ubuntu20.04-docker-arm64-4c-16g-6842 does not seem to be running inside a container 03:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/204 -v /w/workspace/device-onvif-camera/204:/w/workspace/device-onvif-camera/204:rw,z -v /w/workspace/device-onvif-camera/204@tmp:/w/workspace/device-onvif-camera/204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:53:26 $ docker top 92c07ae397c18c478e70d469eb919711fb5eb495eda9d3c32811cb98b32e6d8a -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/204 [Pipeline] fileExists [Pipeline] sh 03:53:28 + make test 03:53:28 go test ./... -coverprofile=coverage.out ./... 03:53:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:56:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:56:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:56:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.166s coverage: 31.4% of statements 03:57:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.516s coverage: 86.5% of statements 03:57:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:57:18 go vet ./... 03:58:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:58:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:58:05 ./bin/test-attribution-txt.sh 03:58:05 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:58:05 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:58:05 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:58:05 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:58:05 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:58:05 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:58:05 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:58:05 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:58:05 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:58:05 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:58:05 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:58:05 $ docker stop --time=1 92c07ae397c18c478e70d469eb919711fb5eb495eda9d3c32811cb98b32e6d8a 03:58:07 $ docker rm -f --volumes 92c07ae397c18c478e70d469eb919711fb5eb495eda9d3c32811cb98b32e6d8a [Pipeline] // withDockerContainer [Pipeline] sh 03:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:58:09 Warning: overwriting stash ‘coverage-report’ 03:58:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:58:10 + ls -al . 03:58:10 total 308 03:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:53 . 03:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:50 .. 03:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:50 .git 03:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:50 .github 03:58:10 -rw-rw-r-- 1 jenkins jenkins 493 Jul 31 03:50 .gitignore 03:58:10 -rw-rw-r-- 1 jenkins jenkins 42 Jul 31 03:50 .golangci.yml 03:58:10 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 31 03:50 Attribution.txt 03:58:10 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 31 03:50 CHANGELOG.md 03:58:10 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 31 03:50 Dockerfile 03:58:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 03:50 GOVERNANCE.md 03:58:10 -rw-rw-r-- 1 jenkins jenkins 739 Jul 31 03:50 Jenkinsfile 03:58:10 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 31 03:50 LICENSE 03:58:10 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 31 03:50 Makefile 03:58:10 -rw-rw-r-- 1 jenkins jenkins 625 Jul 31 03:50 OWNERS.md 03:58:10 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 31 03:50 README.md 03:58:10 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 03:45 VERSION 03:58:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:50 bin 03:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:50 cmd 03:58:10 -rw-r--r-- 1 jenkins jenkins 78805 Jul 31 03:57 coverage.out 03:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:50 doc 03:58:10 -rw-rw-r-- 1 jenkins jenkins 7331 Jul 31 03:50 go.mod 03:58:10 -rw-rw-r-- 1 jenkins jenkins 102413 Jul 31 03:50 go.sum 03:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:50 internal 03:58:10 -rw-rw-r-- 1 jenkins jenkins 236 Jul 31 03:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:10 + 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=8926137e1ee1dca90be7e6fe7248a1fca1e6078a --label arch=arm64 --label version=3.2.0-dev.18 . 03:58:11 Sending build context to Docker daemon 21.8MB 03:58:11 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:58:11 Step 2/27 : FROM ${BASE} AS builder 03:58:11 ---> 297a6eeabebe 03:58:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:58:11 ---> Running in 6a36683f5010 03:58:12 Removing intermediate container 6a36683f5010 03:58:12 ---> e4aabdc7d556 03:58:12 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:12 ---> Running in f819dc83659a 03:58:12 Removing intermediate container f819dc83659a 03:58:12 ---> 8d3f46852016 03:58:12 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:58:12 ---> Running in a712e53cae1b 03:58:12 Removing intermediate container a712e53cae1b 03:58:12 ---> 4a1948801598 03:58:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:58:12 ---> Running in d79845782fc8 03:58:13 Removing intermediate container d79845782fc8 03:58:13 ---> 21979cb7dc58 03:58:13 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:58:13 ---> Running in d69422d61396 03:58:13 Removing intermediate container d69422d61396 03:58:13 ---> 99aad72ce864 03:58:13 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:13 ---> Running in b9c6d06c7c14 03:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:58:15 OK: 266 MiB in 52 packages 03:58:16 Removing intermediate container b9c6d06c7c14 03:58:16 ---> b1eee2a988d9 03:58:16 Step 9/27 : WORKDIR /device-onvif-camera 03:58:16 ---> Running in 7bae9ce7ab18 03:58:17 Removing intermediate container 7bae9ce7ab18 03:58:17 ---> eab4a8db4d49 03:58:17 Step 10/27 : COPY go.mod vendor* ./ 03:58:17 ---> 09e2d1542495 03:58:17 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:17 ---> Running in 6b6577a827ae 03:58:19 Removing intermediate container 6b6577a827ae 03:58:19 ---> b423a14d0782 03:58:19 Step 12/27 : COPY . . 03:58:21 ---> e2ae93138383 03:58:21 Step 13/27 : RUN ${MAKE} 03:58:21 ---> Running in 626bdd39016f 03:58:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:01:44 Removing intermediate container 626bdd39016f 04:01:44 ---> 7e79773bbbd8 04:01:44 Step 14/27 : FROM alpine:3.18 04:01:44 3.18: Pulling from library/alpine 04:01:44 4983c3fe2029: Pulling fs layer 04:01:44 4983c3fe2029: Verifying Checksum 04:01:44 4983c3fe2029: Download complete 04:01:44 4983c3fe2029: Pull complete 04:01:44 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:01:44 Status: Downloaded newer image for alpine:3.18 04:01:44 ---> a0237000ae83 04:01:44 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:01:44 ---> Running in 223ef54b3335 04:01:44 Removing intermediate container 223ef54b3335 04:01:44 ---> 7fd9a6280936 04:01:44 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:01:44 ---> Running in 6a98ed04647a 04:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:01:46 (1/1) Installing dumb-init (1.2.5-r2) 04:01:46 Executing busybox-1.36.1-r7.trigger 04:01:46 OK: 8 MiB in 16 packages 04:01:47 Removing intermediate container 6a98ed04647a 04:01:47 ---> a0501640ceac 04:01:47 Step 17/27 : RUN apk --no-cache upgrade 04:01:47 ---> Running in 1e13d70118fa 04:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:01:49 OK: 8 MiB in 16 packages 04:01:50 Removing intermediate container 1e13d70118fa 04:01:50 ---> 2f486fb5f945 04:01:50 Step 18/27 : WORKDIR / 04:01:50 ---> Running in a8865f8a3b66 04:01:50 Removing intermediate container a8865f8a3b66 04:01:50 ---> e8f755990701 04:01:50 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:01:52 ---> d9a701dde2c7 04:01:52 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:01:52 ---> 409071d61b04 04:01:52 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:01:53 ---> b2ca64541613 04:01:53 Step 22/27 : EXPOSE 59984 04:01:53 ---> Running in 2c6e6d8a2db8 04:01:53 Removing intermediate container 2c6e6d8a2db8 04:01:53 ---> 166f992c7261 04:01:53 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:01:53 ---> Running in f3219aaa8d2f 04:01:53 Removing intermediate container f3219aaa8d2f 04:01:53 ---> 1933a409e3cd 04:01:53 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:01:54 ---> Running in 68c8e96d81ea 04:01:54 Removing intermediate container 68c8e96d81ea 04:01:54 ---> 5a5186b1df53 04:01:54 Step 25/27 : LABEL arch=arm64 04:01:54 ---> Running in af77aea10e26 04:01:54 Removing intermediate container af77aea10e26 04:01:54 ---> 912e6c1674bd 04:01:54 Step 26/27 : LABEL git_sha=8926137e1ee1dca90be7e6fe7248a1fca1e6078a 04:01:54 ---> Running in 9b2b7d3c501a 04:01:54 Removing intermediate container 9b2b7d3c501a 04:01:54 ---> 13feb2f347ff 04:01:54 Step 27/27 : LABEL version=3.2.0-dev.18 04:01:55 ---> Running in c4b15fcbc667 04:01:55 Removing intermediate container c4b15fcbc667 04:01:55 ---> 6abb3c5baa3c 04:01:55 [Warning] One or more build-args [ARCH] were not consumed 04:01:55 Successfully built 6abb3c5baa3c 04:01:55 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:01:55 provisioning config files... 04:01:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/204@tmp/config12402183216746298631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:56 ---> ****-login.sh 04:01:56 nexus3.edgexfoundry.org:10001 04:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:56 Configure a credential helper to remove this warning. See 04:01:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:56 04:01:56 Login Succeeded 04:01:56 nexus3.edgexfoundry.org:10002 04:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:56 Configure a credential helper to remove this warning. See 04:01:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:56 04:01:56 Login Succeeded 04:01:56 nexus3.edgexfoundry.org:10003 04:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 nexus3.edgexfoundry.org:10004 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 ****.io 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 ---> ****-login.sh ends [Pipeline] } 04:01:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:01:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:58 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:01:58 8926137e1ee1dca90be7e6fe7248a1fca1e6078a 04:01:58 latest 04:01:58 3.2.0-dev.18 04:01:58 8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 04:01:58 main 04:01:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:58 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a 04:01:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:01:58 5c490d967b91: Preparing 04:01:58 58b87c9e9b4b: Preparing 04:01:58 51c87119608e: Preparing 04:01:58 8f3b7bd73e32: Preparing 04:01:58 3ae9b0444d0e: Preparing 04:01:58 3c20671a5817: Preparing 04:01:58 3c20671a5817: Waiting 04:01:59 3ae9b0444d0e: Pushed 04:01:59 3c20671a5817: Layer already exists 04:01:59 5c490d967b91: Pushed 04:01:59 8f3b7bd73e32: Pushed 04:01:59 58b87c9e9b4b: Pushed 04:02:05 51c87119608e: Pushed 04:02:05 8926137e1ee1dca90be7e6fe7248a1fca1e6078a: digest: sha256:d7fead62137c0df026f616e4c1078d4a8c0c3ca5411de408c57226914ab8bc70 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:05 + 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:02:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:02:06 5c490d967b91: Preparing 04:02:06 58b87c9e9b4b: Preparing 04:02:06 51c87119608e: Preparing 04:02:06 8f3b7bd73e32: Preparing 04:02:06 3ae9b0444d0e: Preparing 04:02:06 3c20671a5817: Preparing 04:02:06 3c20671a5817: Waiting 04:02:06 58b87c9e9b4b: Layer already exists 04:02:06 5c490d967b91: Layer already exists 04:02:06 8f3b7bd73e32: Layer already exists 04:02:06 3ae9b0444d0e: Layer already exists 04:02:06 51c87119608e: Layer already exists 04:02:06 3c20671a5817: Layer already exists 04:02:06 latest: digest: sha256:d7fead62137c0df026f616e4c1078d4a8c0c3ca5411de408c57226914ab8bc70 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.18 04:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:02:07 5c490d967b91: Preparing 04:02:07 58b87c9e9b4b: Preparing 04:02:07 51c87119608e: Preparing 04:02:07 8f3b7bd73e32: Preparing 04:02:07 3ae9b0444d0e: Preparing 04:02:07 3c20671a5817: Preparing 04:02:07 3c20671a5817: Waiting 04:02:07 8f3b7bd73e32: Layer already exists 04:02:07 3ae9b0444d0e: Layer already exists 04:02:07 58b87c9e9b4b: Layer already exists 04:02:07 51c87119608e: Layer already exists 04:02:07 5c490d967b91: Layer already exists 04:02:07 3c20671a5817: Layer already exists 04:02:07 3.2.0-dev.18: digest: sha256:d7fead62137c0df026f616e4c1078d4a8c0c3ca5411de408c57226914ab8bc70 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 04:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:02:08 5c490d967b91: Preparing 04:02:08 58b87c9e9b4b: Preparing 04:02:08 51c87119608e: Preparing 04:02:08 8f3b7bd73e32: Preparing 04:02:08 3ae9b0444d0e: Preparing 04:02:08 3c20671a5817: Preparing 04:02:08 3c20671a5817: Waiting 04:02:08 58b87c9e9b4b: Layer already exists 04:02:08 8f3b7bd73e32: Layer already exists 04:02:08 3ae9b0444d0e: Layer already exists 04:02:08 5c490d967b91: Layer already exists 04:02:08 51c87119608e: Layer already exists 04:02:08 3c20671a5817: Layer already exists 04:02:08 8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18: digest: sha256:d7fead62137c0df026f616e4c1078d4a8c0c3ca5411de408c57226914ab8bc70 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:08 + 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:02:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:02:08 5c490d967b91: Preparing 04:02:08 58b87c9e9b4b: Preparing 04:02:08 51c87119608e: Preparing 04:02:08 8f3b7bd73e32: Preparing 04:02:08 3ae9b0444d0e: Preparing 04:02:08 3c20671a5817: Preparing 04:02:08 3c20671a5817: Waiting 04:02:08 8f3b7bd73e32: Layer already exists 04:02:08 51c87119608e: Layer already exists 04:02:08 58b87c9e9b4b: Layer already exists 04:02:08 5c490d967b91: Layer already exists 04:02:08 3ae9b0444d0e: Layer already exists 04:02:08 3c20671a5817: Layer already exists 04:02:09 main: digest: sha256:d7fead62137c0df026f616e4c1078d4a8c0c3ca5411de408c57226914ab8bc70 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:02:09 ===================================================== [Pipeline] echo 04:02:09 taggedImages: 04:02:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a 04:02:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:02:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.18 04:02:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8926137e1ee1dca90be7e6fe7248a1fca1e6078a-3.2.0-dev.18 04:02:09 - 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:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:02:09 04:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:02:09 arm64: Pulling from edgex-lftools-log-publisher 04:02:09 8998bd30e6a1: Pulling fs layer 04:02:09 04944245beec: Pulling fs layer 04:02:09 699f458cf7ca: Pulling fs layer 04:02:09 765212b225bb: Pulling fs layer 04:02:09 f23df028b6ca: Pulling fs layer 04:02:09 d65c8cfc05b1: Pulling fs layer 04:02:09 2437ff75d9bd: Pulling fs layer 04:02:09 765212b225bb: Waiting 04:02:09 f23df028b6ca: Waiting 04:02:09 d65c8cfc05b1: Waiting 04:02:09 2437ff75d9bd: Waiting 04:02:10 04944245beec: Verifying Checksum 04:02:10 04944245beec: Download complete 04:02:10 765212b225bb: Download complete 04:02:10 f23df028b6ca: Verifying Checksum 04:02:10 f23df028b6ca: Download complete 04:02:10 d65c8cfc05b1: Download complete 04:02:10 699f458cf7ca: Verifying Checksum 04:02:10 699f458cf7ca: Download complete 04:02:10 8998bd30e6a1: Verifying Checksum 04:02:10 8998bd30e6a1: Download complete 04:02:13 2437ff75d9bd: Verifying Checksum 04:02:13 2437ff75d9bd: Download complete 04:02:15 8998bd30e6a1: Pull complete 04:02:15 04944245beec: Pull complete 04:02:16 699f458cf7ca: Pull complete 04:02:17 765212b225bb: Pull complete 04:02:18 f23df028b6ca: Pull complete 04:02:18 d65c8cfc05b1: Pull complete 04:02:36 2437ff75d9bd: Pull complete 04:02:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:36 prd-ubuntu20.04-docker-arm64-4c-16g-6842 does not seem to be running inside a container 04:02:36 $ 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/204 -v /w/workspace/device-onvif-camera/204:/w/workspace/device-onvif-camera/204:rw,z -v /w/workspace/device-onvif-camera/204@tmp:/w/workspace/device-onvif-camera/204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:02:39 $ docker top aa2befb7ffba19999e09fd8123ec25329308c8127b4a81553ba2eeedbeb83f47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:40 ---> job-cost.sh 04:02:40 lf-activate-venv: SKIPPING 04:02:40 INFO: No Stack... 04:02:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:02:41 INFO: Archiving Costs [Pipeline] sh 04:02:42 + cut -d, -f6 04:02:42 + cat /w/workspace/device-onvif-camera/204/archives/cost.csv [Pipeline] lock 04:02:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] 04:02:42 Resource [jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] did not exist. Created. 04:02:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:42 /w/workspace/device-onvif-camera/204@tmp/durable-3b9abfc3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:02:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:02:43 Warning: overwriting stash ‘stack-cost’ 04:02:43 Stashed 1 file(s) [Pipeline] } 04:02:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 04:02:43 $ docker stop --time=1 aa2befb7ffba19999e09fd8123ec25329308c8127b4a81553ba2eeedbeb83f47 04:02:45 $ docker rm -f --volumes aa2befb7ffba19999e09fd8123ec25329308c8127b4a81553ba2eeedbeb83f47 [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:02:45 provisioning config files... 04:02:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13734782992961927987tmp [Pipeline] { [Pipeline] sh 04:02:45 + set +x 04:02:45 + curl -s https://codecov.io/bash 04:02:45 + bash -s -- 04:02:45 04:02:45 _____ _ 04:02:45 / ____| | | 04:02:45 | | ___ __| | ___ ___ _____ __ 04:02:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:02:45 | |___| (_) | (_| | __/ (_| (_) \ V / 04:02:45 \_____\___/ \__,_|\___|\___\___/ \_/ 04:02:45 Bash-1.0.6 04:02:45 04:02:45 04:02:45 ==> git version 2.25.1 found 04:02:45 ==> 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:02:45 Release-Date: 2020-01-08 04:02:45 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:02:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:02:45 ==> Jenkins CI detected. 04:02:45 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:02:45 project root: . 04:02:45 --> token set from env 04:02:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:02:45 ==> Running gcov in . (disable via -X gcov) 04:02:45 ==> Python coveragepy not found 04:02:45 ==> Searching for coverage reports in: 04:02:45 + . 04:02:45 -> Found 1 reports 04:02:45 ==> Detecting git/mercurial file structure 04:02:45 ==> Reading reports 04:02:46 + ./coverage.out bytes=78805 04:02:46 ==> Appending adjustments 04:02:46 https://docs.codecov.io/docs/fixing-reports 04:02:46 + Found adjustments 04:02:46 ==> Gzipping contents 04:02:46 12K /tmp/codecov.aPBhwj.gz 04:02:46 ==> Uploading reports 04:02:46 url: https://codecov.io 04:02:46 query: branch=main&commit=8926137e1ee1dca90be7e6fe7248a1fca1e6078a&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:02:46 -> Pinging Codecov 04:02:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8926137e1ee1dca90be7e6fe7248a1fca1e6078a&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:02:46 -> Uploading to 04:02:46 https://storage.googleapis.com/codecov/v4/raw/2024-07-31/F29A59C45E3A92E06B3E522C9905F8EF/8926137e1ee1dca90be7e6fe7248a1fca1e6078a/b3c3ef21-da50-4b73-911c-e1ea298e2bf2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T040246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62dbbdfff97a8a277b890ad5518e245d868a7b064ab9d460d78712473cbd11aa 04:02:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:46 Dload Upload Total Spent Left Speed 04:02:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 43881 --:--:-- --:--:-- --:--:-- 43881 04:02:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] } 04:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:02:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:02:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:02:47 04:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:02:47 latest: Pulling from edgex-devops/edgex-snyk-go 04:02:47 619be1103602: Already exists 04:02:47 f8ea3408117e: Pulling fs layer 04:02:47 91320369b822: Pulling fs layer 04:02:47 0406650e8295: Pulling fs layer 04:02:47 4f4fb700ef54: Pulling fs layer 04:02:47 96d80e3f36e1: Pulling fs layer 04:02:47 bcf3aedb951c: Pulling fs layer 04:02:47 96d80e3f36e1: Waiting 04:02:47 4f4fb700ef54: Waiting 04:02:47 0406650e8295: Download complete 04:02:47 f8ea3408117e: Download complete 04:02:47 4f4fb700ef54: Download complete 04:02:47 f8ea3408117e: Pull complete 04:02:47 96d80e3f36e1: Verifying Checksum 04:02:47 96d80e3f36e1: Download complete 04:02:48 91320369b822: Verifying Checksum 04:02:48 91320369b822: Download complete 04:02:49 bcf3aedb951c: Verifying Checksum 04:02:49 bcf3aedb951c: Download complete 04:02:51 91320369b822: Pull complete 04:02:51 0406650e8295: Pull complete 04:02:51 4f4fb700ef54: Pull complete 04:02:52 96d80e3f36e1: Pull complete 04:02:55 bcf3aedb951c: Pull complete 04:02:55 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:02:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:55 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:02:55 $ 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:03:01 $ docker top 5397190a8d0edd5e1e5c8d4228ad6466ff0b1bbf6bef8283981f796dc89188ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:01 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 04:03:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:03:02 + set -o pipefail 04:03:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:03:08 04:03:08 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:03:08 04:03:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/50ff6bef-d5ba-4d4c-8160-01a01f873fa1 04:03:08 04:03:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:03:08 04:03:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:03:08 04:03:09 04:03:09 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:03:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:03:09 $ docker stop --time=1 5397190a8d0edd5e1e5c8d4228ad6466ff0b1bbf6bef8283981f796dc89188ea 04:03:16 $ docker rm -f --volumes 5397190a8d0edd5e1e5c8d4228ad6466ff0b1bbf6bef8283981f796dc89188ea [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:03:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:16 provisioning config files... 04:03:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13808234138427796977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:16 --> edgex-publish-swagger.sh 04:03:16 === Publish doc/openapi/v3 API === 04:03:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:03:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:03:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:16 Dload Upload Total Spent Left Speed 04:03:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 224 698k --:--:-- --:--:-- --:--:-- 697k 100 485k 100 156 100 485k 224 698k --:--:-- --:--:-- --:--:-- 697k 04:03:17 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:03:17 [Pipeline] } 04:03:17 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:03:17 + git log --format=format:%s -1 8926137e1ee1dca90be7e6fe7248a1fca1e6078a [Pipeline] sh 04:03:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:18 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:03: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:03:19 $ docker top 65c62aa03ecffb069fc0f05b7240db28ec46902f1b3a11163284f5993dc1d76d -eo pid,comm 04:03: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:03:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:19 [ssh-agent] Looking for ssh-agent implementation... 04:03:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:19 $ docker exec 65c62aa03ecffb069fc0f05b7240db28ec46902f1b3a11163284f5993dc1d76d ssh-agent 04:03:19 SSH_AUTH_SOCK=/tmp/ssh-okvxH2xNs9x5/agent.21 04:03:19 SSH_AGENT_PID=40 04:03:19 Running ssh-add (command line suppressed) 04:03:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3070858496082552032.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3070858496082552032.key) 04:03:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:20 + git semver tag 04:03:20 2024-07-31 04:03:20,327 [run_tag] DEBUG tag force:False 04:03:20 2024-07-31 04:03:20,327 [check_head_tag] DEBUG check head tag 04:03:20 2024-07-31 04:03:20,328 [execute] INFO git cat-file --batch-check 04:03:20 2024-07-31 04:03:20,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:03:20 2024-07-31 04:03:20,332 [execute] INFO git cat-file --batch 04:03:20 2024-07-31 04:03:20,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:03:20 2024-07-31 04:03:20,349 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:20 2024-07-31 04:03:20,350 [execute] INFO git tag -a v3.2.0-dev.18 -m v3.2.0-dev.18 04:03:20 2024-07-31 04:03:20,350 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.18', '-m', 'v3.2.0-dev.18'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:03:20 2024-07-31 04:03:20,355 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:20 3.2.0-dev.18 [Pipeline] } 04:03:20 $ docker exec --env ******** --env ******** 65c62aa03ecffb069fc0f05b7240db28ec46902f1b3a11163284f5993dc1d76d ssh-agent -k 04:03:20 unset SSH_AUTH_SOCK; 04:03:20 unset SSH_AGENT_PID; 04:03:20 echo Agent pid 40 killed; 04:03:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:20 + git semver [Pipeline] } 04:03:21 $ docker stop --time=1 65c62aa03ecffb069fc0f05b7240db28ec46902f1b3a11163284f5993dc1d76d 04:03:22 $ docker rm -f --volumes 65c62aa03ecffb069fc0f05b7240db28ec46902f1b3a11163284f5993dc1d76d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:03:23 04:03:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:03:23 0.23.1-centos7: Pulling from edgex-lftools 04:03:23 ab5ef0e58194: Pulling fs layer 04:03:23 9712f1f96733: Pulling fs layer 04:03:23 63f879dbbcfc: Pulling fs layer 04:03:23 0d9ebad4ef96: Pulling fs layer 04:03:23 e9a5061849ea: Pulling fs layer 04:03:23 d747dcd14b5f: Pulling fs layer 04:03:23 2de7ff778b66: Pulling fs layer 04:03:23 e9a5061849ea: Waiting 04:03:23 0d9ebad4ef96: Waiting 04:03:23 2de7ff778b66: Waiting 04:03:23 d747dcd14b5f: Waiting 04:03:23 9712f1f96733: Download complete 04:03:23 63f879dbbcfc: Verifying Checksum 04:03:23 63f879dbbcfc: Download complete 04:03:23 e9a5061849ea: Verifying Checksum 04:03:23 e9a5061849ea: Download complete 04:03:23 d747dcd14b5f: Verifying Checksum 04:03:23 d747dcd14b5f: Download complete 04:03:23 ab5ef0e58194: Verifying Checksum 04:03:23 ab5ef0e58194: Download complete 04:03:23 0d9ebad4ef96: Download complete 04:03:23 2de7ff778b66: Verifying Checksum 04:03:23 2de7ff778b66: Download complete 04:03:26 ab5ef0e58194: Pull complete 04:03:26 9712f1f96733: Pull complete 04:03:26 63f879dbbcfc: Pull complete 04:03:31 0d9ebad4ef96: Pull complete 04:03:31 e9a5061849ea: Pull complete 04:03:31 d747dcd14b5f: Pull complete 04:03:31 2de7ff778b66: Pull complete 04:03:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:03:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:31 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:03:32 $ 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:03:39 $ docker top 77ff4bd7b9250a3f4776eb7d175357065bda9645bb9b4ad88380f5ed274f607d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:03:40 provisioning config files... 04:03:40 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17123697433826603624tmp 04:03:40 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18054735163779287068tmp 04:03:40 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17210330824942383263tmp [Pipeline] { [Pipeline] echo 04:03:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:03:40 ---> sigul-configuration.sh 04:03:40 gpg: directory `/root/.gnupg' created 04:03:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:03:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:03:40 gpg: keyring `/root/.gnupg/secring.gpg' created 04:03:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:03:40 gpg: CAST5 encrypted data 04:03:40 gpg: encrypted with 1 passphrase 04:03:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:03:40 + mkdir /home/jenkins 04:03:40 + mkdir /home/jenkins/sigul [Pipeline] sh 04:03:41 + 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:03:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:03:41 ---> sigul-install.sh 04:03:41 Sigul already installed; skipping installation. [Pipeline] sh 04:03:41 + git tag --list 04:03:41 v0.0.0 04:03:41 v2.2.0 04:03:41 v2.3.0 04:03:41 v2.3.1 04:03:41 v3.0 04:03:41 v3.0.0 04:03:41 v3.1 04:03:41 v3.1.0 04:03:41 v3.1.0-dev.1 04:03:41 v3.1.0-dev.10 04:03:41 v3.1.0-dev.11 04:03:41 v3.1.0-dev.12 04:03:41 v3.1.0-dev.13 04:03:41 v3.1.0-dev.14 04:03:41 v3.1.0-dev.15 04:03:41 v3.1.0-dev.16 04:03:41 v3.1.0-dev.17 04:03:41 v3.1.0-dev.18 04:03:41 v3.1.0-dev.19 04:03:41 v3.1.0-dev.2 04:03:41 v3.1.0-dev.20 04:03:41 v3.1.0-dev.21 04:03:41 v3.1.0-dev.22 04:03:41 v3.1.0-dev.23 04:03:41 v3.1.0-dev.24 04:03:41 v3.1.0-dev.25 04:03:41 v3.1.0-dev.26 04:03:41 v3.1.0-dev.27 04:03:41 v3.1.0-dev.28 04:03:41 v3.1.0-dev.3 04:03:41 v3.1.0-dev.4 04:03:41 v3.1.0-dev.5 04:03:41 v3.1.0-dev.6 04:03:41 v3.1.0-dev.7 04:03:41 v3.1.0-dev.8 04:03:41 v3.1.0-dev.9 04:03:41 v3.1.1 04:03:41 v3.2.0-dev.1 04:03:41 v3.2.0-dev.10 04:03:41 v3.2.0-dev.11 04:03:41 v3.2.0-dev.12 04:03:41 v3.2.0-dev.13 04:03:41 v3.2.0-dev.14 04:03:41 v3.2.0-dev.15 04:03:41 v3.2.0-dev.16 04:03:41 v3.2.0-dev.17 04:03:41 v3.2.0-dev.18 04:03:41 v3.2.0-dev.2 04:03:41 v3.2.0-dev.3 04:03:41 v3.2.0-dev.4 04:03:41 v3.2.0-dev.5 04:03:41 v3.2.0-dev.6 04:03:41 v3.2.0-dev.7 04:03:41 v3.2.0-dev.8 04:03:41 v3.2.0-dev.9 [Pipeline] sh 04:03:42 + lftools sign git-tag v3.2.0-dev.18 04:03:42 Signing Git tag with Sigul... 04:03:42 Signing v3.2.0-dev.18 [Pipeline] echo 04:03:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:03:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:03:43 $ docker stop --time=1 77ff4bd7b9250a3f4776eb7d175357065bda9645bb9b4ad88380f5ed274f607d 04:03:44 $ docker rm -f --volumes 77ff4bd7b9250a3f4776eb7d175357065bda9645bb9b4ad88380f5ed274f607d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:03:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:45 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:03:45 $ 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:03:45 $ docker top 7a4c8f22ce1591a98abfa47406a1c5833f16cd70b86471ba75094e682b96ea8f -eo pid,comm 04:03:45 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:03:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:45 [ssh-agent] Looking for ssh-agent implementation... 04:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:46 $ docker exec 7a4c8f22ce1591a98abfa47406a1c5833f16cd70b86471ba75094e682b96ea8f ssh-agent 04:03:46 SSH_AUTH_SOCK=/tmp/ssh-PxMYBsgCnNsI/agent.32 04:03:46 SSH_AGENT_PID=38 04:03:46 Running ssh-add (command line suppressed) 04:03:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11704250870517968387.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11704250870517968387.key) 04:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:46 + git semver bump pre 04:03:46 2024-07-31 04:03:46,702 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:46 2024-07-31 04:03:46,702 [bump_version] DEBUG bumping version:3.2.0-dev.18 on axis:pre with prefix:dev 04:03:46 2024-07-31 04:03:46,702 [bump_version] DEBUG bumped version:3.2.0-dev.19 04:03:46 2024-07-31 04:03:46,702 [write_version] DEBUG write version:3.2.0-dev.19 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:03:46 2024-07-31 04:03:46,702 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:46 2024-07-31 04:03:46,702 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:46 2024-07-31 04:03:46,704 [execute] INFO git cat-file --batch-check 04:03:46 2024-07-31 04:03:46,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:03:46 2024-07-31 04:03:46,708 [execute] INFO git cat-file --batch 04:03:46 2024-07-31 04:03:46,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:03:46 2024-07-31 04:03:46,712 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:46 3.2.0-dev.19 [Pipeline] } 04:03:46 $ docker exec --env ******** --env ******** 7a4c8f22ce1591a98abfa47406a1c5833f16cd70b86471ba75094e682b96ea8f ssh-agent -k 04:03:46 unset SSH_AUTH_SOCK; 04:03:46 unset SSH_AGENT_PID; 04:03:46 echo Agent pid 38 killed; 04:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:47 + git semver [Pipeline] } 04:03:47 $ docker stop --time=1 7a4c8f22ce1591a98abfa47406a1c5833f16cd70b86471ba75094e682b96ea8f 04:03:48 $ docker rm -f --volumes 7a4c8f22ce1591a98abfa47406a1c5833f16cd70b86471ba75094e682b96ea8f [Pipeline] // withDockerContainer [Pipeline] sh 04:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:49 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:03:49 $ 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:03:50 $ docker top b174ee636f078a1b240a4991268032b4be1e6f0b195f73e37dc3da0810d28148 -eo pid,comm 04:03:50 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:03:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:50 [ssh-agent] Looking for ssh-agent implementation... 04:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:50 $ docker exec b174ee636f078a1b240a4991268032b4be1e6f0b195f73e37dc3da0810d28148 ssh-agent 04:03:50 SSH_AUTH_SOCK=/tmp/ssh-JRvAnKXxe3nz/agent.14 04:03:50 SSH_AGENT_PID=20 04:03:50 Running ssh-add (command line suppressed) 04:03:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_464155975596464178.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_464155975596464178.key) 04:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:51 + git semver push 04:03:51 2024-07-31 04:03:51,201 [run_push] DEBUG push 04:03:51 2024-07-31 04:03:51,202 [execute] INFO git cat-file --batch-check 04:03:51 2024-07-31 04:03:51,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:03:51 2024-07-31 04:03:51,205 [execute] INFO git rev-list 7143860c6d31a72d926a964ef5d8cb02cd8a35f4 -- 04:03:51 2024-07-31 04:03:51,205 [execute] DEBUG Popen(['git', 'rev-list', '7143860c6d31a72d926a964ef5d8cb02cd8a35f4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:03:51 2024-07-31 04:03:51,214 [execute] INFO git fetch -v origin 04:03:51 2024-07-31 04:03:51,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:03:51 2024-07-31 04:03:51,675 [run_push] DEBUG no remote changes detected 04:03:51 2024-07-31 04:03:51,675 [execute] INFO git push origin semver 04:03:51 2024-07-31 04:03:51,675 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:03:52 2024-07-31 04:03:52,361 [run_push] DEBUG push all version tags 04:03:52 2024-07-31 04:03:52,361 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:03:52 2024-07-31 04:03:52,362 [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:03:53 2024-07-31 04:03:53,087 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:03:53 3.2.0-dev.19 [Pipeline] } 04:03:53 $ docker exec --env ******** --env ******** b174ee636f078a1b240a4991268032b4be1e6f0b195f73e37dc3da0810d28148 ssh-agent -k 04:03:53 unset SSH_AUTH_SOCK; 04:03:53 unset SSH_AGENT_PID; 04:03:53 echo Agent pid 20 killed; 04:03:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:53 + git semver [Pipeline] } 04:03:54 $ docker stop --time=1 b174ee636f078a1b240a4991268032b4be1e6f0b195f73e37dc3da0810d28148 04:03:55 $ docker rm -f --volumes b174ee636f078a1b240a4991268032b4be1e6f0b195f73e37dc3da0810d28148 [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:03:56 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:03:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:03:56 total 16 04:03:56 drwxr-xr-x 3 root root 4096 Jul 31 03:48 . 04:03:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 04:03 .. 04:03:56 drwxr-xr-x 2 root root 4096 Jul 31 03:48 cost 04:03:56 -rw-r--r-- 1 root root 91 Jul 31 03:48 cost.csv 04:03:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:03:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:03:56 total 16 04:03:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 03:48 . 04:03:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 04:03 .. 04:03:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 03:48 cost 04:03:56 -rw-r--r-- 1 jenkins jenkins 91 Jul 31 03:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:03:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:03:57 ---> package-listing.sh 04:03:57 ++ facter osfamily 04:03:57 ++ tr '[:upper:]' '[:lower:]' 04:03:58 + OS_FAMILY=debian 04:03:58 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:03:58 + START_PACKAGES=/tmp/packages_start.txt 04:03:58 + END_PACKAGES=/tmp/packages_end.txt 04:03:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:03:58 + PACKAGES=/tmp/packages_start.txt 04:03:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:03:58 + PACKAGES=/tmp/packages_end.txt 04:03:58 + case "${OS_FAMILY}" in 04:03:58 + dpkg -l 04:03:58 + grep '^ii' 04:03:58 + '[' -f /tmp/packages_start.txt ']' 04:03:58 + '[' -f /tmp/packages_end.txt ']' 04:03:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:03:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:03:58 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:03:58 + 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:03:58 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:03:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:59 prd-ubuntu20.04-docker-8c-8g-6841 does not seem to be running inside a container 04:03:59 $ 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:03:59 $ docker top 9e989b4e52c5a3bb167fab8691b6377a703c3ff2e9eb2b2bfb36d3b68496ee66 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:04:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:04:00 + ls /var/log/sa-host 04:04:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:00 provisioning config files... 04:04:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17543790864227109327tmp [Pipeline] { [Pipeline] echo 04:04:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:04:01 ---> create-netrc.sh [Pipeline] } 04:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:04:01 ---> python-tools-install.sh [Pipeline] echo 04:04:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:04:01 ---> sudo-logs.sh 04:04:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:04:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:04:02 ---> job-cost.sh 04:04:02 lf-activate-venv: SKIPPING 04:04:02 DEBUG: total: 0.2199999988079071 04:04:02 INFO: Retrieving Stack Cost... 04:04:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:04:03 INFO: Archiving Costs [Pipeline] echo 04:04:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:04:03 ---> logs-deploy.sh 04:04:03 lf-activate-venv: SKIPPING 04:04:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/204 04:04:03 INFO: archiving workspace using pattern(s): 04:04:04 Archives upload complete. 04:04:04 INFO: archiving logs to Nexus