Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 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-ssh17352304156908869600.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8191194614744843759.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh11871908624643066685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh14341025326505686001.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-ssh3580422638135644441.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25881 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 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 (main) Commit message: "Merge pull request #472 from jackchenjc/edgex-go-issue-4916-2" > git config core.sparsecheckout # timeout=10 > git checkout -f 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 # timeout=10 > git rev-list --no-walk b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:19 ========================================================= 06:02:19 EdgeX Global Pipelines Version Info 06:02:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:19 ------------------- 06:02:19 stable info: 06:02:19 ------------------- 06:02:19 Commited By: Ginny Guan ginny@iotechsys.com 06:02:19 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:02:19 Message: update stable to v1.0.265 06:02:20 ------------------- 06:02:20 experimental info: 06:02:20 ------------------- 06:02:20 Commited By: Cherry Wang cherry@iotechsys.com 06:02:20 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:02:20 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10f464a [Pipeline] echo 06:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:21 provisioning config files... 06:02:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1107608065221537922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:21 ---> ****-login.sh 06:02:21 nexus3.edgexfoundry.org:10001 06:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:22 Configure a credential helper to remove this warning. See 06:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:22 06:02:22 Login Succeeded 06:02:22 nexus3.edgexfoundry.org:10002 06:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:22 Configure a credential helper to remove this warning. See 06:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:22 06:02:22 Login Succeeded 06:02:22 nexus3.edgexfoundry.org:10003 06:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:22 Configure a credential helper to remove this warning. See 06:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:22 06:02:22 Login Succeeded 06:02:22 nexus3.edgexfoundry.org:10004 06:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:22 Configure a credential helper to remove this warning. See 06:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:22 06:02:22 Login Succeeded 06:02:22 ****.io 06:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:22 Configure a credential helper to remove this warning. See 06:02:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:22 06:02:22 Login Succeeded 06:02:22 ---> ****-login.sh ends [Pipeline] } 06:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:23 + git rev-list -1 --merges 10f464ab2b54ff8e32a589214b3c8e1fea4bea02~1..10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] echo 06:02:23 -----------> git rev-list -1 --merges 10f464ab2b54ff8e32a589214b3c8e1fea4bea02~1..10f464ab2b54ff8e32a589214b3c8e1fea4bea02 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:02:23 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [false] [Pipeline] sh 06:02:23 + git log --format=format:%s -1 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] echo 06:02:23 ========================================================= 06:02:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:24 + git log --format=format:%s -1 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] echo 06:02:24 [semverPrep] GIT_COMMIT: 10f464ab2b54ff8e32a589214b3c8e1fea4bea02, Commit Message: Merge pull request #472 from jackchenjc/edgex-go-issue-4916-2 [Pipeline] echo 06:02:24 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:24 + grep -v github /etc/ssh/ssh_known_hosts 06:02:24 + [ -e /tmp/ssh_known_hosts ] 06:02:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:24 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:25 06:02:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:25 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:25 b85a868b505f: Pulling fs layer 06:02:25 e2be974225ed: Pulling fs layer 06:02:25 339a4e72a1f5: Pulling fs layer 06:02:25 988bab9f4d93: Pulling fs layer 06:02:25 1469e6f7b9e6: Pulling fs layer 06:02:25 eaf3925da568: Pulling fs layer 06:02:25 bab4dde63d76: Pulling fs layer 06:02:25 bde34c3a00c8: Pulling fs layer 06:02:25 b352a97aabf1: Pulling fs layer 06:02:25 4872d77fe225: Pulling fs layer 06:02:25 5851b861e8e6: Pulling fs layer 06:02:25 bab4dde63d76: Waiting 06:02:25 bde34c3a00c8: Waiting 06:02:25 b352a97aabf1: Waiting 06:02:25 4872d77fe225: Waiting 06:02:25 5851b861e8e6: Waiting 06:02:25 988bab9f4d93: Waiting 06:02:25 1469e6f7b9e6: Waiting 06:02:25 eaf3925da568: Waiting 06:02:25 e2be974225ed: Verifying Checksum 06:02:25 e2be974225ed: Download complete 06:02:25 988bab9f4d93: Verifying Checksum 06:02:25 988bab9f4d93: Download complete 06:02:25 1469e6f7b9e6: Verifying Checksum 06:02:25 339a4e72a1f5: Verifying Checksum 06:02:25 339a4e72a1f5: Download complete 06:02:25 eaf3925da568: Download complete 06:02:25 bde34c3a00c8: Verifying Checksum 06:02:25 bde34c3a00c8: Download complete 06:02:25 b352a97aabf1: Verifying Checksum 06:02:25 b352a97aabf1: Download complete 06:02:25 4872d77fe225: Download complete 06:02:25 5851b861e8e6: Verifying Checksum 06:02:25 5851b861e8e6: Download complete 06:02:25 b85a868b505f: Verifying Checksum 06:02:25 b85a868b505f: Download complete 06:02:26 bab4dde63d76: Verifying Checksum 06:02:26 bab4dde63d76: Download complete 06:02:27 b85a868b505f: Pull complete 06:02:27 e2be974225ed: Pull complete 06:02:27 339a4e72a1f5: Pull complete 06:02:27 988bab9f4d93: Pull complete 06:02:27 1469e6f7b9e6: Pull complete 06:02:27 eaf3925da568: Pull complete 06:02:29 bab4dde63d76: Pull complete 06:02:29 bde34c3a00c8: Pull complete 06:02:30 b352a97aabf1: Pull complete 06:02:30 4872d77fe225: Pull complete 06:02:30 5851b861e8e6: Pull complete 06:02:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:30 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:02:30 $ 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 06:02:33 $ docker top cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 -eo pid,comm 06:02:33 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). 06:02:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:33 [ssh-agent] Looking for ssh-agent implementation... 06:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:33 $ docker exec cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 ssh-agent 06:02:33 SSH_AUTH_SOCK=/tmp/ssh-K67iFPIWQRBA/agent.31 06:02:33 SSH_AGENT_PID=37 06:02:33 Running ssh-add (command line suppressed) 06:02:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13606966143946682962.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13606966143946682962.key) 06:02:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:34 + git tag --points-at HEAD [Pipeline] } 06:02:34 $ docker exec --env ******** --env ******** cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 ssh-agent -k 06:02:34 unset SSH_AUTH_SOCK; 06:02:34 unset SSH_AGENT_PID; 06:02:34 echo Agent pid 37 killed; 06:02:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:02:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:34 [ssh-agent] Looking for ssh-agent implementation... 06:02:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:34 $ docker exec cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 ssh-agent 06:02:34 SSH_AUTH_SOCK=/tmp/ssh-MqMmK7ykz2nc/agent.70 06:02:34 SSH_AGENT_PID=76 06:02:34 Running ssh-add (command line suppressed) 06:02:34 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12266458297312906641.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12266458297312906641.key) 06:02:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:35 + git semver init 06:02:35 2024-11-08 06:02:35,345 [run_init] DEBUG init version:0.0.0 force:False 06:02:35 2024-11-08 06:02:35,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 06:02:35 2024-11-08 06:02:35,346 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 06:02:35 2024-11-08 06:02:35,347 [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) 06:02:36 2024-11-08 06:02:36,637 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 06:02:36 2024-11-08 06:02:36,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 06:02:36 2024-11-08 06:02:36,638 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:02:36 2024-11-08 06:02:36,638 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:02:36 4.0.0-dev.3 [Pipeline] } 06:02:36 $ docker exec --env ******** --env ******** cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 ssh-agent -k 06:02:36 unset SSH_AUTH_SOCK; 06:02:36 unset SSH_AGENT_PID; 06:02:36 echo Agent pid 76 killed; 06:02:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:02:37 + git semver [Pipeline] } 06:02:37 $ docker stop --time=1 cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 06:02:38 $ docker rm -f --volumes cda0ec41d8f213509cc9e32d99906f74c32ea87379d22628120609ef4436de78 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:02:39 Stashed 1 file(s) [Pipeline] echo 06:02:39 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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 06:02:39 provisioning config files... 06:02:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1304990456267973280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:39 ---> ****-login.sh 06:02:39 nexus3.edgexfoundry.org:10001 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 nexus3.edgexfoundry.org:10002 06:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:39 Configure a credential helper to remove this warning. See 06:02:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:39 06:02:39 Login Succeeded 06:02:39 nexus3.edgexfoundry.org:10003 06:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:40 Configure a credential helper to remove this warning. See 06:02:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:40 06:02:40 Login Succeeded 06:02:40 nexus3.edgexfoundry.org:10004 06:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:40 Configure a credential helper to remove this warning. See 06:02:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:40 06:02:40 Login Succeeded 06:02:40 ****.io 06:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:40 Configure a credential helper to remove this warning. See 06:02:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:40 06:02:40 Login Succeeded 06:02:40 ---> ****-login.sh ends [Pipeline] } 06:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:02:40 ========================================================= 06:02:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:02:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:02:40 Sending build context to Docker daemon 36.79MB 06:02:40 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 06:02:40 Step 2/13 : FROM ${BASE} AS builder 06:02:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:02:41 43c4264eed91: Pulling fs layer 06:02:41 4cc291be95ef: Pulling fs layer 06:02:41 2ac1f1163629: Pulling fs layer 06:02:41 5c3c966382ef: Pulling fs layer 06:02:41 4f4fb700ef54: Pulling fs layer 06:02:41 5d5c8e513c77: Pulling fs layer 06:02:41 9f66e0745190: Pulling fs layer 06:02:41 f49a43e4bbc0: Pulling fs layer 06:02:41 561ebcabdf7f: Pulling fs layer 06:02:41 4f4fb700ef54: Waiting 06:02:41 9f66e0745190: Waiting 06:02:41 f49a43e4bbc0: Waiting 06:02:41 561ebcabdf7f: Waiting 06:02:41 5d5c8e513c77: Waiting 06:02:41 4cc291be95ef: Verifying Checksum 06:02:41 4cc291be95ef: Download complete 06:02:41 5c3c966382ef: Verifying Checksum 06:02:41 5c3c966382ef: Download complete 06:02:41 4f4fb700ef54: Verifying Checksum 06:02:41 4f4fb700ef54: Download complete 06:02:41 5d5c8e513c77: Download complete 06:02:41 9f66e0745190: Verifying Checksum 06:02:41 9f66e0745190: Download complete 06:02:41 43c4264eed91: Pull complete 06:02:41 561ebcabdf7f: Download complete 06:02:41 4cc291be95ef: Pull complete 06:02:41 2ac1f1163629: Verifying Checksum 06:02:41 2ac1f1163629: Download complete 06:02:41 f49a43e4bbc0: Verifying Checksum 06:02:41 f49a43e4bbc0: Download complete 06:02:46 2ac1f1163629: Pull complete 06:02:46 5c3c966382ef: Pull complete 06:02:46 4f4fb700ef54: Pull complete 06:02:46 5d5c8e513c77: Pull complete 06:02:46 9f66e0745190: Pull complete 06:02:48 f49a43e4bbc0: Pull complete 06:02:48 561ebcabdf7f: Pull complete 06:02:48 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:02:48 ---> 3a752c3f9dda 06:02:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:02:53 ---> Running in 696128a5c735 06:02:53 Removing intermediate container 696128a5c735 06:02:53 ---> d1d46f1a44d6 06:02:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:53 ---> Running in 5546933f1482 06:02:53 Removing intermediate container 5546933f1482 06:02:53 ---> 97a6360dbaa1 06:02:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:02:53 ---> Running in bafcf29b9b35 06:02:53 Removing intermediate container bafcf29b9b35 06:02:53 ---> 014db5d16672 06:02:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:02:53 ---> Running in bb789e5e9776 06:02:53 Removing intermediate container bb789e5e9776 06:02:53 ---> dfdde80eeb03 06:02:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:02:53 ---> Running in 07070bd4f4f6 06:02:53 Removing intermediate container 07070bd4f4f6 06:02:53 ---> 0f330b9522b7 06:02:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:53 ---> Running in 593d37977396 06:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:02:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:02:54 OK: 246 MiB in 54 packages 06:02:54 Still waiting to schedule task 06:02:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:02:54 Removing intermediate container 593d37977396 06:02:54 ---> d5dcbfcf8699 06:02:54 Step 9/13 : WORKDIR /device-onvif-camera 06:02:54 ---> Running in 9fc8b0ae05a7 06:02:54 Removing intermediate container 9fc8b0ae05a7 06:02:54 ---> 245791df2c97 06:02:54 Step 10/13 : COPY go.mod vendor* ./ 06:02:54 ---> 1acdfd48072b 06:02:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:54 ---> Running in 8f433b2eeb64 06:03:41 Removing intermediate container 8f433b2eeb64 06:03:41 ---> 4a40cba95cca 06:03:41 Step 12/13 : COPY . . 06:03:43 ---> 7e4b540f818c 06:03:43 Step 13/13 : RUN ${MAKE} 06:03:43 ---> Running in 9e011da73059 06:03:43 noop 06:03:43 Removing intermediate container 9e011da73059 06:03:43 ---> 7a9a62be746f 06:03:43 Successfully built 7a9a62be746f 06:03:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:43 + docker inspect -f . ci-base-image-x86_64 06:03:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:43 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:03:43 $ 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 06:03:44 $ docker top 49ff33a245477c44b9c4f233bc3da0ec377cdb201e022f89ea00205e4d7d7d9b -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:44 + go version 06:03:44 go version go1.23.2 linux/amd64 [Pipeline] } 06:03:44 $ docker stop --time=1 49ff33a245477c44b9c4f233bc3da0ec377cdb201e022f89ea00205e4d7d7d9b 06:03:45 $ docker rm -f --volumes 49ff33a245477c44b9c4f233bc3da0ec377cdb201e022f89ea00205e4d7d7d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:46 + docker inspect -f . ci-base-image-x86_64 06:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:46 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:03:46 $ 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 06:03:46 $ docker top ac8d4f5b1eb182731580cd8d8bcad629d9bb04128dd0fe2335e1a18498ede8e8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:47 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 06:03:47 + make test 06:03:47 go test ./... -coverprofile=coverage.out ./... 06:03:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:04:11 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 06:04:11 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 06:04:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.4% of statements 06:04:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.344s coverage: 86.5% of statements 06:04:24 go vet ./... 06:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:04:30 $ docker stop --time=1 ac8d4f5b1eb182731580cd8d8bcad629d9bb04128dd0fe2335e1a18498ede8e8 06:04:32 $ docker rm -f --volumes ac8d4f5b1eb182731580cd8d8bcad629d9bb04128dd0fe2335e1a18498ede8e8 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:34 + ls -al . 06:04:34 total 316 06:04:34 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 06:03 . 06:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:02 .. 06:04:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 06:04 .git 06:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 06:02 .github 06:04:34 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 06:02 .gitignore 06:04:34 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 06:02 .golangci.yml 06:04:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 06:02 .semver 06:04:34 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 06:02 Attribution.txt 06:04:34 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 06:02 CHANGELOG.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 06:02 Dockerfile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 06:02 GOVERNANCE.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 06:02 Jenkinsfile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 06:02 LICENSE 06:04:34 -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 06:02 Makefile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 06:02 OWNERS.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 06:02 README.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 06:02 VERSION 06:04:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 06:02 bin 06:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 06:02 cmd 06:04:34 -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 06:04 coverage.out 06:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:02 doc 06:04:34 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 06:02 go.mod 06:04:34 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 06:02 go.sum 06:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:02 internal 06:04:34 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:34 + 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=10f464ab2b54ff8e32a589214b3c8e1fea4bea02 --label arch=amd64 --label version=4.0.0-dev.3 . 06:04:34 Sending build context to Docker daemon 36.89MB 06:04:34 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 06:04:34 Step 2/27 : FROM ${BASE} AS builder 06:04:34 ---> 7a9a62be746f 06:04:34 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:04:35 ---> Running in 24adfb7d7692 06:04:35 Removing intermediate container 24adfb7d7692 06:04:35 ---> 433f1ab958cc 06:04:35 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:35 ---> Running in e37e75b7af28 06:04:35 Removing intermediate container e37e75b7af28 06:04:35 ---> d8b5d6287a52 06:04:35 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 06:04:35 ---> Running in 9ef2895ab1b1 06:04:35 Removing intermediate container 9ef2895ab1b1 06:04:35 ---> fd0011175352 06:04:35 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:04:35 ---> Running in e2aefb06c511 06:04:35 Removing intermediate container e2aefb06c511 06:04:35 ---> 0618a1cbfa42 06:04:35 Step 7/27 : LABEL Name=edgex-device-onvif-camera 06:04:35 ---> Running in 9a92c3c878ff 06:04:35 Removing intermediate container 9a92c3c878ff 06:04:35 ---> c529bbd1539e 06:04:35 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:35 ---> Running in 3a147b9cdb68 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:04:36 OK: 246 MiB in 54 packages 06:04:36 Removing intermediate container 3a147b9cdb68 06:04:36 ---> e50dcb29d95b 06:04:36 Step 9/27 : WORKDIR /device-onvif-camera 06:04:36 ---> Running in 61657cb67ccc 06:04:36 Removing intermediate container 61657cb67ccc 06:04:36 ---> 1728ea93e6f5 06:04:36 Step 10/27 : COPY go.mod vendor* ./ 06:04:37 ---> 421bb844932c 06:04:37 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:37 ---> Running in 76832f47cf2b 06:04:37 Removing intermediate container 76832f47cf2b 06:04:37 ---> 12d445ee3659 06:04:37 Step 12/27 : COPY . . 06:04:39 ---> 170f06427fed 06:04:39 Step 13/27 : RUN ${MAKE} 06:04:39 ---> Running in cd5ce546aeb7 06:04:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 06:05:17 Removing intermediate container cd5ce546aeb7 06:05:17 ---> 1ec3e63ce39d 06:05:17 Step 14/27 : FROM alpine:3.20 06:05:17 3.20: Pulling from library/alpine 06:05:17 43c4264eed91: Already exists 06:05:17 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:05:17 Status: Downloaded newer image for alpine:3.20 06:05:17 ---> 91ef0af61f39 06:05:17 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:05:17 ---> Running in 9412351b4262 06:05:17 Removing intermediate container 9412351b4262 06:05:17 ---> 62514f90535f 06:05:17 Step 16/27 : RUN apk add --update --no-cache dumb-init 06:05:17 ---> Running in 5b73de2b3aee 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:05:17 (1/1) Installing dumb-init (1.2.5-r3) 06:05:17 Executing busybox-1.36.1-r29.trigger 06:05:17 OK: 8 MiB in 15 packages 06:05:17 Removing intermediate container 5b73de2b3aee 06:05:17 ---> a97f854c98d7 06:05:17 Step 17/27 : RUN apk --no-cache upgrade 06:05:17 ---> Running in c55a9eb18de8 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:05:17 Upgrading critical system libraries and apk-tools: 06:05:17 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:05:17 Executing busybox-1.36.1-r29.trigger 06:05:17 Continuing the upgrade transaction with new apk-tools: 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:05:17 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:05:17 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:05:17 OK: 8 MiB in 15 packages 06:05:17 Removing intermediate container c55a9eb18de8 06:05:17 ---> 2763cae33160 06:05:17 Step 18/27 : WORKDIR / 06:05:17 ---> Running in 7c169a75fb27 06:05:17 Removing intermediate container 7c169a75fb27 06:05:17 ---> fcd294154018 06:05:17 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 06:05:18 ---> ada3143b6c42 06:05:18 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 06:05:18 ---> 04c3e51740a3 06:05:18 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:05:18 ---> c21b871fc4e9 06:05:18 Step 22/27 : EXPOSE 59984 06:05:18 ---> Running in 67f68fb15e27 06:05:18 Removing intermediate container 67f68fb15e27 06:05:18 ---> ca0774e16bb6 06:05:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 06:05:18 ---> Running in 81c2914c52a2 06:05:18 Removing intermediate container 81c2914c52a2 06:05:18 ---> 0ad58a56e988 06:05:18 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:05:18 ---> Running in 024a20d2df75 06:05:18 Removing intermediate container 024a20d2df75 06:05:18 ---> e09001ae2b40 06:05:18 Step 25/27 : LABEL arch=amd64 06:05:18 ---> Running in cbb0f3ac0403 06:05:19 Removing intermediate container cbb0f3ac0403 06:05:19 ---> 2513517b8a20 06:05:19 Step 26/27 : LABEL git_sha=10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:05:19 ---> Running in 5599d3a9ee70 06:05:19 Removing intermediate container 5599d3a9ee70 06:05:19 ---> 47223edd9b2b 06:05:19 Step 27/27 : LABEL version=4.0.0-dev.3 06:05:19 ---> Running in 6033c229713c 06:05:19 Removing intermediate container 6033c229713c 06:05:19 ---> 12e4d2c4fa0b 06:05:19 [Warning] One or more build-args [ARCH] were not consumed 06:05:19 Successfully built 12e4d2c4fa0b 06:05:19 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 06:05:19 provisioning config files... 06:05:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12948474051880326510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:19 ---> ****-login.sh 06:05:19 nexus3.edgexfoundry.org:10001 06:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:19 Configure a credential helper to remove this warning. See 06:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:19 06:05:19 Login Succeeded 06:05:19 nexus3.edgexfoundry.org:10002 06:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:19 Configure a credential helper to remove this warning. See 06:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:19 06:05:19 Login Succeeded 06:05:19 nexus3.edgexfoundry.org:10003 06:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:20 Configure a credential helper to remove this warning. See 06:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:20 06:05:20 Login Succeeded 06:05:20 nexus3.edgexfoundry.org:10004 06:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:20 Configure a credential helper to remove this warning. See 06:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:20 06:05:20 Login Succeeded 06:05:20 ****.io 06:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:20 Configure a credential helper to remove this warning. See 06:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:20 06:05:20 Login Succeeded 06:05:20 ---> ****-login.sh ends [Pipeline] } 06:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:05:20 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 06:05:20 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:05:20 latest 06:05:20 4.0.0-dev.3 06:05:20 10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:05:20 main 06:05:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:05:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:05:21 6b361df05313: Preparing 06:05:21 e820bdaf3460: Preparing 06:05:21 5f627c5249ee: Preparing 06:05:21 4022f715592a: Preparing 06:05:21 f8299d81f6d0: Preparing 06:05:21 63ca1fbb43ae: Preparing 06:05:21 63ca1fbb43ae: Waiting 06:05:21 f8299d81f6d0: Pushed 06:05:21 6b361df05313: Pushed 06:05:21 e820bdaf3460: Pushed 06:05:21 63ca1fbb43ae: Layer already exists 06:05:21 4022f715592a: Pushed 06:05:25 5f627c5249ee: Pushed 06:05:25 10f464ab2b54ff8e32a589214b3c8e1fea4bea02: digest: sha256:94b8b4185d6fe78c134a7b491275dd6b01877a0c5ba46822bd5b2d0121678dcd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:05:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:05:25 6b361df05313: Preparing 06:05:25 e820bdaf3460: Preparing 06:05:25 5f627c5249ee: Preparing 06:05:25 4022f715592a: Preparing 06:05:25 f8299d81f6d0: Preparing 06:05:25 63ca1fbb43ae: Preparing 06:05:25 63ca1fbb43ae: Waiting 06:05:25 5f627c5249ee: Layer already exists 06:05:25 4022f715592a: Layer already exists 06:05:25 e820bdaf3460: Layer already exists 06:05:25 f8299d81f6d0: Layer already exists 06:05:25 6b361df05313: Layer already exists 06:05:25 63ca1fbb43ae: Layer already exists 06:05:25 latest: digest: sha256:94b8b4185d6fe78c134a7b491275dd6b01877a0c5ba46822bd5b2d0121678dcd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.3 06:05:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:05:26 6b361df05313: Preparing 06:05:26 e820bdaf3460: Preparing 06:05:26 5f627c5249ee: Preparing 06:05:26 4022f715592a: Preparing 06:05:26 f8299d81f6d0: Preparing 06:05:26 63ca1fbb43ae: Preparing 06:05:26 63ca1fbb43ae: Waiting 06:05:26 4022f715592a: Layer already exists 06:05:26 5f627c5249ee: Layer already exists 06:05:26 f8299d81f6d0: Layer already exists 06:05:26 6b361df05313: Layer already exists 06:05:26 e820bdaf3460: Layer already exists 06:05:26 63ca1fbb43ae: Layer already exists 06:05:26 4.0.0-dev.3: digest: sha256:94b8b4185d6fe78c134a7b491275dd6b01877a0c5ba46822bd5b2d0121678dcd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:05:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:05:27 6b361df05313: Preparing 06:05:27 e820bdaf3460: Preparing 06:05:27 5f627c5249ee: Preparing 06:05:27 4022f715592a: Preparing 06:05:27 f8299d81f6d0: Preparing 06:05:27 63ca1fbb43ae: Preparing 06:05:27 63ca1fbb43ae: Waiting 06:05:27 6b361df05313: Layer already exists 06:05:27 4022f715592a: Layer already exists 06:05:27 f8299d81f6d0: Layer already exists 06:05:27 5f627c5249ee: Layer already exists 06:05:27 e820bdaf3460: Layer already exists 06:05:27 63ca1fbb43ae: Layer already exists 06:05:27 10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3: digest: sha256:94b8b4185d6fe78c134a7b491275dd6b01877a0c5ba46822bd5b2d0121678dcd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:27 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 06:05:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:05:27 6b361df05313: Preparing 06:05:27 e820bdaf3460: Preparing 06:05:27 5f627c5249ee: Preparing 06:05:27 4022f715592a: Preparing 06:05:27 f8299d81f6d0: Preparing 06:05:27 63ca1fbb43ae: Preparing 06:05:27 63ca1fbb43ae: Waiting 06:05:27 e820bdaf3460: Layer already exists 06:05:27 5f627c5249ee: Layer already exists 06:05:27 6b361df05313: Layer already exists 06:05:27 4022f715592a: Layer already exists 06:05:27 f8299d81f6d0: Layer already exists 06:05:27 63ca1fbb43ae: Layer already exists 06:05:27 main: digest: sha256:94b8b4185d6fe78c134a7b491275dd6b01877a0c5ba46822bd5b2d0121678dcd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:27 ===================================================== [Pipeline] echo 06:05:27 taggedImages: 06:05:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:05:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:05:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.3 06:05:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:05:27 - 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 06:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:28 06:05:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:28 latest: Pulling from edgex-lftools-log-publisher 06:05:28 5eb5b503b376: Pulling fs layer 06:05:28 5c69ac0246d0: Pulling fs layer 06:05:28 ec43610c2a17: Pulling fs layer 06:05:28 3a2ae6a8a46f: Pulling fs layer 06:05:28 33b1e0a273af: Pulling fs layer 06:05:28 5d3b04190fa2: Pulling fs layer 06:05:28 2f39f015ded8: Pulling fs layer 06:05:28 3a2ae6a8a46f: Waiting 06:05:28 33b1e0a273af: Waiting 06:05:28 5d3b04190fa2: Waiting 06:05:28 2f39f015ded8: Waiting 06:05:28 5c69ac0246d0: Download complete 06:05:28 3a2ae6a8a46f: Download complete 06:05:28 ec43610c2a17: Verifying Checksum 06:05:28 ec43610c2a17: Download complete 06:05:28 33b1e0a273af: Verifying Checksum 06:05:28 33b1e0a273af: Download complete 06:05:28 5d3b04190fa2: Verifying Checksum 06:05:28 5d3b04190fa2: Download complete 06:05:28 5eb5b503b376: Download complete 06:05:29 2f39f015ded8: Download complete 06:05:30 5eb5b503b376: Pull complete 06:05:30 5c69ac0246d0: Pull complete 06:05:30 ec43610c2a17: Pull complete 06:05:30 3a2ae6a8a46f: Pull complete 06:05:30 33b1e0a273af: Pull complete 06:05:31 5d3b04190fa2: Pull complete 06:05:35 2f39f015ded8: Pull complete 06:05:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:35 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:05:35 $ 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 06:05:39 $ docker top 0954a023e3f89f453a7f72a0741ee6aa5742488b16ef787bec95ea038bb171c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:39 ---> job-cost.sh 06:05:39 lf-activate-venv: SKIPPING 06:05:39 INFO: No Stack... 06:05:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:40 INFO: Archiving Costs [Pipeline] sh 06:05:40 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 06:05:40 + cut -d, -f6 [Pipeline] lock 06:05:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] 06:05:40 Resource [jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] did not exist. Created. 06:05:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:40 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:40 Stashed 1 file(s) [Pipeline] } 06:05:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:41 $ docker stop --time=1 0954a023e3f89f453a7f72a0741ee6aa5742488b16ef787bec95ea038bb171c2 06:05:42 $ docker rm -f --volumes 0954a023e3f89f453a7f72a0741ee6aa5742488b16ef787bec95ea038bb171c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25883 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 06:07:38 Running in /w/workspace/device-onvif-camera/212 [Pipeline] { [Pipeline] checkout 06:07:41 The recommended git tool is: git 06:07:47 using credential edgex-jenkins-ssh 06:07:47 Cloning the remote Git repository 06:07:47 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:07:47 > git init /w/workspace/device-onvif-camera/212 # timeout=10 06:07:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:07:47 > git --version # timeout=10 06:07:47 > git --version # 'git version 2.25.1' 06:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:07:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:51 Avoid second fetch 06:07:51 Checking out Revision 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 (main) 06:07:51 > git config core.sparsecheckout # timeout=10 06:07:51 > git checkout -f 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 # timeout=10 06:07:52 Commit message: "Merge pull request #472 from jackchenjc/edgex-go-issue-4916-2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:07:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:57 Dload Upload Total Spent Left Speed 06:07:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 06:07:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:07:58 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:07:58 06:07:58 { 06:07:58 "registry-mirrors": [ 06:07:58 "https://nexus3.edgexfoundry.org:10001" 06:07:58 ], 06:07:58 "bip": "10.250.0.254/24", 06:07:58 "hosts": [ 06:07:58 "tcp://0.0.0.0:5555", 06:07:58 "unix:///var/run/docker.sock" 06:07:58 ], 06:07:58 "mtu": 1458, 06:07:58 "selinux-enabled": true, 06:07:58 "seccomp-profile": "/etc/docker/seccomp.json" 06:07:58 } [Pipeline] sh 06:07:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:07:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:17 provisioning config files... 06:08:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/212@tmp/config16401091428933255222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:17 ---> ****-login.sh 06:08:17 nexus3.edgexfoundry.org:10001 06:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:18 Configure a credential helper to remove this warning. See 06:08:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:18 06:08:18 Login Succeeded 06:08:18 nexus3.edgexfoundry.org:10002 06:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:18 Configure a credential helper to remove this warning. See 06:08:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:18 06:08:18 Login Succeeded 06:08:18 nexus3.edgexfoundry.org:10003 06:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:19 Configure a credential helper to remove this warning. See 06:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:19 06:08:19 Login Succeeded 06:08:19 nexus3.edgexfoundry.org:10004 06:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:19 Configure a credential helper to remove this warning. See 06:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:19 06:08:19 Login Succeeded 06:08:19 ****.io 06:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:20 Configure a credential helper to remove this warning. See 06:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:20 06:08:20 Login Succeeded 06:08:20 ---> ****-login.sh ends [Pipeline] } 06:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:20 ========================================================= 06:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:08:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:08:21 Sending build context to Docker daemon 21.81MB 06:08:21 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 06:08:21 Step 2/13 : FROM ${BASE} AS builder 06:08:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:21 cf04c63912e1: Pulling fs layer 06:08:21 55b35a11ae5e: Pulling fs layer 06:08:21 a37a00ec5f00: Pulling fs layer 06:08:21 50b3750afda1: Pulling fs layer 06:08:21 4f4fb700ef54: Pulling fs layer 06:08:21 80978eb59214: Pulling fs layer 06:08:21 c9f46d7d2bd2: Pulling fs layer 06:08:21 c5a475d317c9: Pulling fs layer 06:08:21 50b3750afda1: Waiting 06:08:21 4f4fb700ef54: Waiting 06:08:21 80978eb59214: Waiting 06:08:21 c5a475d317c9: Waiting 06:08:21 c9f46d7d2bd2: Waiting 06:08:21 55b35a11ae5e: Verifying Checksum 06:08:21 55b35a11ae5e: Download complete 06:08:21 50b3750afda1: Verifying Checksum 06:08:21 50b3750afda1: Download complete 06:08:22 4f4fb700ef54: Verifying Checksum 06:08:22 4f4fb700ef54: Download complete 06:08:22 80978eb59214: Verifying Checksum 06:08:22 80978eb59214: Download complete 06:08:22 cf04c63912e1: Verifying Checksum 06:08:22 cf04c63912e1: Download complete 06:08:22 c5a475d317c9: Verifying Checksum 06:08:22 c5a475d317c9: Download complete 06:08:23 cf04c63912e1: Pull complete 06:08:24 55b35a11ae5e: Pull complete 06:08:24 a37a00ec5f00: Verifying Checksum 06:08:24 a37a00ec5f00: Download complete 06:08:25 c9f46d7d2bd2: Verifying Checksum 06:08:25 c9f46d7d2bd2: Download complete 06:08:40 a37a00ec5f00: Pull complete 06:08:40 50b3750afda1: Pull complete 06:08:40 4f4fb700ef54: Pull complete 06:08:40 80978eb59214: Pull complete 06:08:48 c9f46d7d2bd2: Pull complete 06:08:49 c5a475d317c9: Pull complete 06:08:49 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:08:49 ---> be29e6b0f0d4 06:08:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:08:50 ---> Running in 849a1be32db1 06:08:50 Removing intermediate container 849a1be32db1 06:08:50 ---> 3b5da7cce0c2 06:08:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:51 ---> Running in be0a47909a54 06:08:51 Removing intermediate container be0a47909a54 06:08:51 ---> 7e0b59e92045 06:08:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:08:51 ---> Running in 2762b46e09fb 06:08:51 Removing intermediate container 2762b46e09fb 06:08:51 ---> 7c4009f5af87 06:08:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:08:51 ---> Running in 2762fac488b6 06:08:52 Removing intermediate container 2762fac488b6 06:08:52 ---> 09b9824a2e81 06:08:52 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:08:52 ---> Running in abc36dd3dad4 06:08:52 Removing intermediate container abc36dd3dad4 06:08:52 ---> 3322ab8d397f 06:08:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:52 ---> Running in e561bbd1a5db 06:08:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:08:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:08:55 OK: 238 MiB in 54 packages 06:08:56 Removing intermediate container e561bbd1a5db 06:08:56 ---> ba3af780f312 06:08:56 Step 9/13 : WORKDIR /device-onvif-camera 06:08:56 ---> Running in 03ba202c998e 06:08:56 Removing intermediate container 03ba202c998e 06:08:56 ---> 93c2d879cfd0 06:08:56 Step 10/13 : COPY go.mod vendor* ./ 06:08:57 ---> e987995bbf7e 06:08:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:57 ---> Running in f74544f32dcc 06:10:49 Removing intermediate container f74544f32dcc 06:10:49 ---> 4b6e7feecddd 06:10:49 Step 12/13 : COPY . . 06:10:50 ---> 3c5a1e985a21 06:10:50 Step 13/13 : RUN ${MAKE} 06:10:50 ---> Running in 02216c0ef837 06:10:51 noop 06:10:52 Removing intermediate container 02216c0ef837 06:10:52 ---> 1bc727ac4e8b 06:10:52 Successfully built 1bc727ac4e8b 06:10:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:52 + docker inspect -f . ci-base-image-arm64 06:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:52 prd-ubuntu20.04-docker-arm64-4c-16g-25883 does not seem to be running inside a container 06:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/212 -v /w/workspace/device-onvif-camera/212:/w/workspace/device-onvif-camera/212:rw,z -v /w/workspace/device-onvif-camera/212@tmp:/w/workspace/device-onvif-camera/212@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 06:10:54 $ docker top 9cc87b36e8fbfdbe0ac665bdd3df098ffede68d222ff0fe9bff3df5e79c1deb8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:55 + go version 06:10:55 go version go1.23.2 linux/arm64 [Pipeline] } 06:10:55 $ docker stop --time=1 9cc87b36e8fbfdbe0ac665bdd3df098ffede68d222ff0fe9bff3df5e79c1deb8 06:10:58 $ docker rm -f --volumes 9cc87b36e8fbfdbe0ac665bdd3df098ffede68d222ff0fe9bff3df5e79c1deb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:59 + docker inspect -f . ci-base-image-arm64 06:10:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:59 prd-ubuntu20.04-docker-arm64-4c-16g-25883 does not seem to be running inside a container 06:10:59 $ 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/212 -v /w/workspace/device-onvif-camera/212:/w/workspace/device-onvif-camera/212:rw,z -v /w/workspace/device-onvif-camera/212@tmp:/w/workspace/device-onvif-camera/212@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 06:11:00 $ docker top e522280fb1d1064dd9ab4cca60a55b0cbf096a9b0a250af0f3756253e7b46f08 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/212 [Pipeline] fileExists [Pipeline] sh 06:11:02 + make test 06:11:02 go test ./... -coverprofile=coverage.out ./... 06:11:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:15:15 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 06:15:15 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 06:15:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.178s coverage: 31.4% of statements 06:15:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.638s coverage: 86.5% of statements 06:15:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:15:28 go vet ./... 06:16:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:16:36 $ docker stop --time=1 e522280fb1d1064dd9ab4cca60a55b0cbf096a9b0a250af0f3756253e7b46f08 06:16:38 $ docker rm -f --volumes e522280fb1d1064dd9ab4cca60a55b0cbf096a9b0a250af0f3756253e7b46f08 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:40 Warning: overwriting stash ‘coverage-report’ 06:16:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:42 + ls -al . 06:16:42 total 312 06:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 06:11 . 06:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:07 .. 06:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 06:07 .git 06:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 06:07 .github 06:16:42 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 06:07 .gitignore 06:16:42 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 06:07 .golangci.yml 06:16:42 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 8 06:07 Attribution.txt 06:16:42 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 06:07 CHANGELOG.md 06:16:42 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 8 06:07 Dockerfile 06:16:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 06:07 GOVERNANCE.md 06:16:42 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 06:07 Jenkinsfile 06:16:42 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 06:07 LICENSE 06:16:42 -rw-rw-r-- 1 jenkins jenkins 3465 Nov 8 06:07 Makefile 06:16:42 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 06:07 OWNERS.md 06:16:42 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 06:07 README.md 06:16:42 -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 06:02 VERSION 06:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 06:07 bin 06:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 06:07 cmd 06:16:42 -rw-r--r-- 1 jenkins jenkins 92292 Nov 8 06:15 coverage.out 06:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:07 doc 06:16:42 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 8 06:07 go.mod 06:16:42 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 8 06:07 go.sum 06:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 06:07 internal 06:16:42 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:42 + 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=10f464ab2b54ff8e32a589214b3c8e1fea4bea02 --label arch=arm64 --label version=4.0.0-dev.3 . 06:16:43 Sending build context to Docker daemon 21.9MB 06:16:43 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 06:16:43 Step 2/27 : FROM ${BASE} AS builder 06:16:43 ---> 1bc727ac4e8b 06:16:43 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:16:43 ---> Running in ad3ef7e37469 06:16:44 Removing intermediate container ad3ef7e37469 06:16:44 ---> 5d97108a1a6c 06:16:44 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:44 ---> Running in 859eb8d0bbee 06:16:44 Removing intermediate container 859eb8d0bbee 06:16:44 ---> 697c886bb35b 06:16:44 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 06:16:44 ---> Running in 18cdb30e69fe 06:16:44 Removing intermediate container 18cdb30e69fe 06:16:44 ---> 3908c2076174 06:16:44 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:16:44 ---> Running in 18c9f18bb614 06:16:45 Removing intermediate container 18c9f18bb614 06:16:45 ---> 3fd91b9e96ec 06:16:45 Step 7/27 : LABEL Name=edgex-device-onvif-camera 06:16:45 ---> Running in b67a1192ce0e 06:16:45 Removing intermediate container b67a1192ce0e 06:16:45 ---> 3426c04e3778 06:16:45 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:45 ---> Running in 21b48082318e 06:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:16:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:16:48 OK: 238 MiB in 54 packages 06:16:49 Removing intermediate container 21b48082318e 06:16:49 ---> 8799320e7eaf 06:16:49 Step 9/27 : WORKDIR /device-onvif-camera 06:16:49 ---> Running in 6acd081c34cc 06:16:49 Removing intermediate container 6acd081c34cc 06:16:49 ---> f2a0788b8ac7 06:16:49 Step 10/27 : COPY go.mod vendor* ./ 06:16:50 ---> 66b841d52c06 06:16:50 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:50 ---> Running in 63d7721cf8bc 06:16:54 Removing intermediate container 63d7721cf8bc 06:16:54 ---> 851c794dce79 06:16:54 Step 12/27 : COPY . . 06:16:56 ---> bcf207e1dbfb 06:16:56 Step 13/27 : RUN ${MAKE} 06:16:56 ---> Running in fb670caaed4b 06:16:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 06:21:19 Removing intermediate container fb670caaed4b 06:21:19 ---> de481c55c0db 06:21:19 Step 14/27 : FROM alpine:3.20 06:21:19 3.20: Pulling from library/alpine 06:21:19 cf04c63912e1: Already exists 06:21:19 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:21:19 Status: Downloaded newer image for alpine:3.20 06:21:19 ---> c157a85ed455 06:21:19 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:21:19 ---> Running in 303549bebfcb 06:21:19 Removing intermediate container 303549bebfcb 06:21:19 ---> b8f214a1aacf 06:21:19 Step 16/27 : RUN apk add --update --no-cache dumb-init 06:21:19 ---> Running in 1616c9ce48d9 06:21:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:21:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:21:19 (1/1) Installing dumb-init (1.2.5-r3) 06:21:19 Executing busybox-1.36.1-r29.trigger 06:21:19 OK: 9 MiB in 15 packages 06:21:19 Removing intermediate container 1616c9ce48d9 06:21:19 ---> ae958c678781 06:21:19 Step 17/27 : RUN apk --no-cache upgrade 06:21:19 ---> Running in 83d58e801126 06:21:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:21:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:21:20 Upgrading critical system libraries and apk-tools: 06:21:20 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:21:20 Executing busybox-1.36.1-r29.trigger 06:21:21 Continuing the upgrade transaction with new apk-tools: 06:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:21:23 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:21:23 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:21:23 OK: 9 MiB in 15 packages 06:21:24 Removing intermediate container 83d58e801126 06:21:24 ---> 4d5cee29f486 06:21:24 Step 18/27 : WORKDIR / 06:21:24 ---> Running in 10a408e87c2f 06:21:24 Removing intermediate container 10a408e87c2f 06:21:24 ---> f26f5380acab 06:21:24 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 06:21:26 ---> 0f7788b6bbe2 06:21:26 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 06:21:27 ---> 40cc899b81ff 06:21:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:21:27 ---> 438f5d2e6fe2 06:21:27 Step 22/27 : EXPOSE 59984 06:21:27 ---> Running in 8b7ae60d0d10 06:21:28 Removing intermediate container 8b7ae60d0d10 06:21:28 ---> 0fcc2bec6e25 06:21:28 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 06:21:28 ---> Running in 0f900e8828e8 06:21:28 Removing intermediate container 0f900e8828e8 06:21:28 ---> 0b380fbd3429 06:21:28 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:21:28 ---> Running in 3eabd9066e3f 06:21:28 Removing intermediate container 3eabd9066e3f 06:21:28 ---> 78d082cf8f3d 06:21:28 Step 25/27 : LABEL arch=arm64 06:21:28 ---> Running in 40d466de7f2f 06:21:29 Removing intermediate container 40d466de7f2f 06:21:29 ---> 977563fe3344 06:21:29 Step 26/27 : LABEL git_sha=10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:21:29 ---> Running in 15d1d210eb90 06:21:29 Removing intermediate container 15d1d210eb90 06:21:29 ---> 4f47a270edb4 06:21:29 Step 27/27 : LABEL version=4.0.0-dev.3 06:21:29 ---> Running in d759657f131b 06:21:29 Removing intermediate container d759657f131b 06:21:29 ---> c0e5fbbf27eb 06:21:29 [Warning] One or more build-args [ARCH] were not consumed 06:21:29 Successfully built c0e5fbbf27eb 06:21:29 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 06:21:30 provisioning config files... 06:21:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/212@tmp/config3274270013020394617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:30 ---> ****-login.sh 06:21:30 nexus3.edgexfoundry.org:10001 06:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:30 Configure a credential helper to remove this warning. See 06:21:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:30 06:21:30 Login Succeeded 06:21:30 nexus3.edgexfoundry.org:10002 06:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:31 Configure a credential helper to remove this warning. See 06:21:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:31 06:21:31 Login Succeeded 06:21:31 nexus3.edgexfoundry.org:10003 06:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:31 Configure a credential helper to remove this warning. See 06:21:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:31 06:21:31 Login Succeeded 06:21:31 nexus3.edgexfoundry.org:10004 06:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:31 Configure a credential helper to remove this warning. See 06:21:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:31 06:21:31 Login Succeeded 06:21:31 ****.io 06:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:32 Configure a credential helper to remove this warning. See 06:21:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:32 06:21:32 Login Succeeded 06:21:32 ---> ****-login.sh ends [Pipeline] } 06:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:21:32 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 06:21:32 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:21:32 latest 06:21:32 4.0.0-dev.3 06:21:32 10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:21:32 main 06:21:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:21:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:21:33 fd588bd1a193: Preparing 06:21:33 0606ec2b2c17: Preparing 06:21:33 e9dde27e3954: Preparing 06:21:33 b28ddbce6210: Preparing 06:21:33 d5b33b5bce6b: Preparing 06:21:33 16113d51b718: Preparing 06:21:33 16113d51b718: Waiting 06:21:33 fd588bd1a193: Pushed 06:21:33 0606ec2b2c17: Pushed 06:21:33 d5b33b5bce6b: Pushed 06:21:33 16113d51b718: Layer already exists 06:21:35 b28ddbce6210: Pushed 06:21:42 e9dde27e3954: Pushed 06:21:42 10f464ab2b54ff8e32a589214b3c8e1fea4bea02: digest: sha256:7ff638bad43c0314985fc6bcc7945641507f9851673bb4ca8c32e8056a7ff28f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:42 + 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 06:21:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:21:42 fd588bd1a193: Preparing 06:21:42 0606ec2b2c17: Preparing 06:21:42 e9dde27e3954: Preparing 06:21:42 b28ddbce6210: Preparing 06:21:42 d5b33b5bce6b: Preparing 06:21:42 16113d51b718: Preparing 06:21:42 16113d51b718: Waiting 06:21:42 0606ec2b2c17: Layer already exists 06:21:42 fd588bd1a193: Layer already exists 06:21:42 b28ddbce6210: Layer already exists 06:21:42 d5b33b5bce6b: Layer already exists 06:21:42 e9dde27e3954: Layer already exists 06:21:42 16113d51b718: Layer already exists 06:21:43 latest: digest: sha256:7ff638bad43c0314985fc6bcc7945641507f9851673bb4ca8c32e8056a7ff28f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:43 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.3 06:21:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:21:44 fd588bd1a193: Preparing 06:21:44 0606ec2b2c17: Preparing 06:21:44 e9dde27e3954: Preparing 06:21:44 b28ddbce6210: Preparing 06:21:44 d5b33b5bce6b: Preparing 06:21:44 16113d51b718: Preparing 06:21:44 16113d51b718: Waiting 06:21:44 fd588bd1a193: Layer already exists 06:21:44 0606ec2b2c17: Layer already exists 06:21:44 e9dde27e3954: Layer already exists 06:21:44 b28ddbce6210: Layer already exists 06:21:44 d5b33b5bce6b: Layer already exists 06:21:44 16113d51b718: Layer already exists 06:21:44 4.0.0-dev.3: digest: sha256:7ff638bad43c0314985fc6bcc7945641507f9851673bb4ca8c32e8056a7ff28f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:44 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:21:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:21:45 fd588bd1a193: Preparing 06:21:45 0606ec2b2c17: Preparing 06:21:45 e9dde27e3954: Preparing 06:21:45 b28ddbce6210: Preparing 06:21:45 d5b33b5bce6b: Preparing 06:21:45 16113d51b718: Preparing 06:21:45 16113d51b718: Waiting 06:21:45 0606ec2b2c17: Layer already exists 06:21:45 e9dde27e3954: Layer already exists 06:21:45 b28ddbce6210: Layer already exists 06:21:45 d5b33b5bce6b: Layer already exists 06:21:45 fd588bd1a193: Layer already exists 06:21:45 16113d51b718: Layer already exists 06:21:45 10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3: digest: sha256:7ff638bad43c0314985fc6bcc7945641507f9851673bb4ca8c32e8056a7ff28f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:45 + 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 06:21:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 06:21:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:21:46 fd588bd1a193: Preparing 06:21:46 0606ec2b2c17: Preparing 06:21:46 e9dde27e3954: Preparing 06:21:46 b28ddbce6210: Preparing 06:21:46 d5b33b5bce6b: Preparing 06:21:46 16113d51b718: Preparing 06:21:46 16113d51b718: Waiting 06:21:46 d5b33b5bce6b: Layer already exists 06:21:46 b28ddbce6210: Layer already exists 06:21:46 0606ec2b2c17: Layer already exists 06:21:46 e9dde27e3954: Layer already exists 06:21:46 fd588bd1a193: Layer already exists 06:21:46 16113d51b718: Layer already exists 06:21:46 main: digest: sha256:7ff638bad43c0314985fc6bcc7945641507f9851673bb4ca8c32e8056a7ff28f size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:46 ===================================================== [Pipeline] echo 06:21:46 taggedImages: 06:21:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02 06:21:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:21:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.3 06:21:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:10f464ab2b54ff8e32a589214b3c8e1fea4bea02-4.0.0-dev.3 06:21:46 - 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 06:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:46 06:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:47 arm64: Pulling from edgex-lftools-log-publisher 06:21:47 8998bd30e6a1: Pulling fs layer 06:21:47 04944245beec: Pulling fs layer 06:21:47 699f458cf7ca: Pulling fs layer 06:21:47 765212b225bb: Pulling fs layer 06:21:47 f23df028b6ca: Pulling fs layer 06:21:47 d65c8cfc05b1: Pulling fs layer 06:21:47 2437ff75d9bd: Pulling fs layer 06:21:47 f23df028b6ca: Waiting 06:21:47 d65c8cfc05b1: Waiting 06:21:47 2437ff75d9bd: Waiting 06:21:47 765212b225bb: Waiting 06:21:47 04944245beec: Verifying Checksum 06:21:47 04944245beec: Download complete 06:21:47 765212b225bb: Verifying Checksum 06:21:47 765212b225bb: Download complete 06:21:47 f23df028b6ca: Verifying Checksum 06:21:47 f23df028b6ca: Download complete 06:21:47 d65c8cfc05b1: Verifying Checksum 06:21:47 d65c8cfc05b1: Download complete 06:21:47 699f458cf7ca: Verifying Checksum 06:21:47 699f458cf7ca: Download complete 06:21:48 8998bd30e6a1: Verifying Checksum 06:21:48 8998bd30e6a1: Download complete 06:21:50 2437ff75d9bd: Verifying Checksum 06:21:50 2437ff75d9bd: Download complete 06:21:53 8998bd30e6a1: Pull complete 06:21:53 04944245beec: Pull complete 06:21:55 699f458cf7ca: Pull complete 06:21:55 765212b225bb: Pull complete 06:21:56 f23df028b6ca: Pull complete 06:21:56 d65c8cfc05b1: Pull complete 06:22:15 2437ff75d9bd: Pull complete 06:22:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-25883 does not seem to be running inside a container 06:22:15 $ 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/212 -v /w/workspace/device-onvif-camera/212:/w/workspace/device-onvif-camera/212:rw,z -v /w/workspace/device-onvif-camera/212@tmp:/w/workspace/device-onvif-camera/212@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 06:22:18 $ docker top 2ed0060709e91fce1eba3fbfb33dccca21d2d55c56e2f1b9dc3d227999989267 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:19 ---> job-cost.sh 06:22:19 lf-activate-venv: SKIPPING 06:22:19 INFO: No Stack... 06:22:20 INFO: Retrieving Pricing Info for: v3-standard-4 06:22:21 INFO: Archiving Costs [Pipeline] sh 06:22:21 + cut -d, -f6 06:22:21 + cat /w/workspace/device-onvif-camera/212/archives/cost.csv [Pipeline] lock 06:22:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] 06:22:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] did not exist. Created. 06:22:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:22 /w/workspace/device-onvif-camera/212@tmp/durable-b93416c8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:22:23 + echo total: 0.10999999940395355 [Pipeline] stash 06:22:23 Warning: overwriting stash ‘stack-cost’ 06:22:23 Stashed 1 file(s) [Pipeline] } 06:22:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-212-stack-cost] [Pipeline] // lock [Pipeline] } 06:22:23 $ docker stop --time=1 2ed0060709e91fce1eba3fbfb33dccca21d2d55c56e2f1b9dc3d227999989267 06:22:24 $ docker rm -f --volumes 2ed0060709e91fce1eba3fbfb33dccca21d2d55c56e2f1b9dc3d227999989267 [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 06:22:25 provisioning config files... 06:22:25 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config834054248665100905tmp [Pipeline] { [Pipeline] sh 06:22:25 + set +x 06:22:25 + curl -s https://codecov.io/bash 06:22:25 + bash -s -- 06:22:25 06:22:25 _____ _ 06:22:25 / ____| | | 06:22:25 | | ___ __| | ___ ___ _____ __ 06:22:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:22:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:22:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:22:25 Bash-1.0.6 06:22:25 06:22:25 06:22:25 ==> git version 2.25.1 found 06:22:25 ==> 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 06:22:25 Release-Date: 2020-01-08 06:22:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:22:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:22:25 ==> Jenkins CI detected. 06:22:25 current dir:  /w/workspace/foundry_device-onvif-camera_main 06:22:25 project root: . 06:22:25 --> token set from env 06:22:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:22:25 ==> Running gcov in . (disable via -X gcov) 06:22:25 ==> Python coveragepy not found 06:22:25 ==> Searching for coverage reports in: 06:22:25 + . 06:22:25 -> Found 1 reports 06:22:25 ==> Detecting git/mercurial file structure 06:22:25 ==> Reading reports 06:22:25 + ./coverage.out bytes=92292 06:22:25 ==> Appending adjustments 06:22:25 https://docs.codecov.io/docs/fixing-reports 06:22:25 + Found adjustments 06:22:25 ==> Gzipping contents 06:22:25 12K /tmp/codecov.7Ri9mB.gz 06:22:25 ==> Uploading reports 06:22:25 url: https://codecov.io 06:22:25 query: branch=main&commit=10f464ab2b54ff8e32a589214b3c8e1fea4bea02&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F212%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:22:25 -> Pinging Codecov 06:22:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=10f464ab2b54ff8e32a589214b3c8e1fea4bea02&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F212%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:22:26 -> Uploading to 06:22:26 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/10f464ab2b54ff8e32a589214b3c8e1fea4bea02/c6a918eb-d60e-43ed-87e7-c2816f4457be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T062226Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2abc19911d2779fdb250b714c4a2d1965e0373a43a5a4ddf6773a4f222b87007 06:22:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:26 Dload Upload Total Spent Left Speed 06:22:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 45114 --:--:-- --:--:-- --:--:-- 45114 06:22:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] } 06:22:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:22:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:22:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:22:26 06:22:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:22:27 latest: Pulling from edgex-devops/edgex-snyk-go 06:22:27 43c4264eed91: Already exists 06:22:27 4cc291be95ef: Already exists 06:22:27 2ac1f1163629: Already exists 06:22:27 5c3c966382ef: Already exists 06:22:27 4f4fb700ef54: Already exists 06:22:27 d9c7d2e4e75e: Pulling fs layer 06:22:27 9c3e1370e548: Pulling fs layer 06:22:27 d9c7d2e4e75e: Verifying Checksum 06:22:27 d9c7d2e4e75e: Download complete 06:22:27 d9c7d2e4e75e: Pull complete 06:22:28 9c3e1370e548: Verifying Checksum 06:22:28 9c3e1370e548: Download complete 06:22:31 9c3e1370e548: Pull complete 06:22:31 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:22:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:31 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:22:31 $ 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 06:22:34 $ docker top 83967690cd788ae3ba7b0666868790ee268b9a385e4c4be98884f1650d4152dd -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:34 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 06:22:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 06:22:35 + set -o pipefail 06:22:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 06:22:43 06:22:43 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 06:22:43 06:22:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/9c00071c-ab38-48c3-abe1-b6c8faac1227 06:22:43 06:22:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:22:43 06:22:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:22:43 06:22:43 06:22:43 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:22:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:22:46 $ docker stop --time=1 83967690cd788ae3ba7b0666868790ee268b9a385e4c4be98884f1650d4152dd 06:22:54 $ docker rm -f --volumes 83967690cd788ae3ba7b0666868790ee268b9a385e4c4be98884f1650d4152dd [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 06:22:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:55 provisioning config files... 06:22:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9520436878931880542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:55 --> edgex-publish-swagger.sh 06:22:55 === Publish doc/openapi/v3 API === 06:22:55 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 06:22:55 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 06:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:55 Dload Upload Total Spent Left Speed 06:22:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 345 1076k --:--:-- --:--:-- --:--:-- 1079k 06:22:55 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 06:22:55 [Pipeline] } 06:22:55 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 06:22:56 + git log --format=format:%s -1 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 [Pipeline] sh 06:22:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:22:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:56 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:22:56 $ 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 06:22:57 $ docker top f7b91ca473f5d4a98f0304157d1bf462874ec1a08b2445ad902515ef1dae5ec9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:22:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:22:57 [ssh-agent] Looking for ssh-agent implementation... 06:22:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:22:57 $ docker exec f7b91ca473f5d4a98f0304157d1bf462874ec1a08b2445ad902515ef1dae5ec9 ssh-agent 06:22:57 SSH_AUTH_SOCK=/tmp/ssh-Vc6J40dqLGGk/agent.32 06:22:57 SSH_AGENT_PID=38 06:22:57 Running ssh-add (command line suppressed) 06:22:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15819124010524414270.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15819124010524414270.key) 06:22:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:22:58 + git semver tag 06:22:58 2024-11-08 06:22:58,513 [run_tag] DEBUG tag force:False 06:22:58 2024-11-08 06:22:58,513 [check_head_tag] DEBUG check head tag 06:22:58 2024-11-08 06:22:58,514 [execute] INFO git cat-file --batch-check 06:22:58 2024-11-08 06:22:58,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:22:58 2024-11-08 06:22:58,518 [execute] INFO git cat-file --batch 06:22:58 2024-11-08 06:22:58,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:22:58 2024-11-08 06:22:58,538 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:22:58 2024-11-08 06:22:58,538 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 06:22:58 2024-11-08 06:22:58,538 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:22:58 2024-11-08 06:22:58,543 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:22:58 4.0.0-dev.3 [Pipeline] } 06:22:58 $ docker exec --env ******** --env ******** f7b91ca473f5d4a98f0304157d1bf462874ec1a08b2445ad902515ef1dae5ec9 ssh-agent -k 06:22:58 unset SSH_AUTH_SOCK; 06:22:58 unset SSH_AGENT_PID; 06:22:58 echo Agent pid 38 killed; 06:22:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:22:59 + git semver [Pipeline] } 06:22:59 $ docker stop --time=1 f7b91ca473f5d4a98f0304157d1bf462874ec1a08b2445ad902515ef1dae5ec9 06:23:00 $ docker rm -f --volumes f7b91ca473f5d4a98f0304157d1bf462874ec1a08b2445ad902515ef1dae5ec9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:01 06:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:01 0.23.1-centos7: Pulling from edgex-lftools 06:23:01 ab5ef0e58194: Pulling fs layer 06:23:01 9712f1f96733: Pulling fs layer 06:23:01 63f879dbbcfc: Pulling fs layer 06:23:01 0d9ebad4ef96: Pulling fs layer 06:23:01 e9a5061849ea: Pulling fs layer 06:23:01 d747dcd14b5f: Pulling fs layer 06:23:01 2de7ff778b66: Pulling fs layer 06:23:01 0d9ebad4ef96: Waiting 06:23:01 d747dcd14b5f: Waiting 06:23:01 e9a5061849ea: Waiting 06:23:01 9712f1f96733: Verifying Checksum 06:23:01 9712f1f96733: Download complete 06:23:02 63f879dbbcfc: Verifying Checksum 06:23:02 63f879dbbcfc: Download complete 06:23:02 0d9ebad4ef96: Verifying Checksum 06:23:02 0d9ebad4ef96: Download complete 06:23:02 d747dcd14b5f: Download complete 06:23:02 e9a5061849ea: Verifying Checksum 06:23:02 e9a5061849ea: Download complete 06:23:02 2de7ff778b66: Verifying Checksum 06:23:02 2de7ff778b66: Download complete 06:23:02 ab5ef0e58194: Verifying Checksum 06:23:02 ab5ef0e58194: Download complete 06:23:05 ab5ef0e58194: Pull complete 06:23:05 9712f1f96733: Pull complete 06:23:06 63f879dbbcfc: Pull complete 06:23:10 0d9ebad4ef96: Pull complete 06:23:10 e9a5061849ea: Pull complete 06:23:10 d747dcd14b5f: Pull complete 06:23:11 2de7ff778b66: Pull complete 06:23:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:23:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:11 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:23:11 $ 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 06:23:16 $ docker top 7d5c59704de91e4957bb9dc21c822f2986e3a307b7a49026316156854c9489e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:23:16 provisioning config files... 06:23:16 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4900606863181482785tmp 06:23:16 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2693105102675908996tmp 06:23:16 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4661643595273429862tmp [Pipeline] { [Pipeline] echo 06:23:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:23:17 ---> sigul-configuration.sh 06:23:17 gpg: directory `/root/.gnupg' created 06:23:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:23:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:23:17 gpg: keyring `/root/.gnupg/secring.gpg' created 06:23:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:23:17 gpg: CAST5 encrypted data 06:23:17 gpg: encrypted with 1 passphrase 06:23:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:23:17 + mkdir /home/jenkins 06:23:17 + mkdir /home/jenkins/sigul [Pipeline] sh 06:23:17 + 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 06:23:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:23:18 ---> sigul-install.sh 06:23:18 Sigul already installed; skipping installation. [Pipeline] sh 06:23:18 + git tag --list 06:23:18 v0.0.0 06:23:18 v2.2.0 06:23:18 v2.3.0 06:23:18 v2.3.1 06:23:18 v3.0 06:23:18 v3.0.0 06:23:18 v3.1 06:23:18 v3.1.0 06:23:18 v3.1.0-dev.1 06:23:18 v3.1.0-dev.10 06:23:18 v3.1.0-dev.11 06:23:18 v3.1.0-dev.12 06:23:18 v3.1.0-dev.13 06:23:18 v3.1.0-dev.14 06:23:18 v3.1.0-dev.15 06:23:18 v3.1.0-dev.16 06:23:18 v3.1.0-dev.17 06:23:18 v3.1.0-dev.18 06:23:18 v3.1.0-dev.19 06:23:18 v3.1.0-dev.2 06:23:18 v3.1.0-dev.20 06:23:18 v3.1.0-dev.21 06:23:18 v3.1.0-dev.22 06:23:18 v3.1.0-dev.23 06:23:18 v3.1.0-dev.24 06:23:18 v3.1.0-dev.25 06:23:18 v3.1.0-dev.26 06:23:18 v3.1.0-dev.27 06:23:18 v3.1.0-dev.28 06:23:18 v3.1.0-dev.3 06:23:18 v3.1.0-dev.4 06:23:18 v3.1.0-dev.5 06:23:18 v3.1.0-dev.6 06:23:18 v3.1.0-dev.7 06:23:18 v3.1.0-dev.8 06:23:18 v3.1.0-dev.9 06:23:18 v3.1.1 06:23:18 v3.2.0-dev.1 06:23:18 v3.2.0-dev.10 06:23:18 v3.2.0-dev.11 06:23:18 v3.2.0-dev.12 06:23:18 v3.2.0-dev.13 06:23:18 v3.2.0-dev.14 06:23:18 v3.2.0-dev.15 06:23:18 v3.2.0-dev.16 06:23:18 v3.2.0-dev.17 06:23:18 v3.2.0-dev.18 06:23:18 v3.2.0-dev.19 06:23:18 v3.2.0-dev.2 06:23:18 v3.2.0-dev.20 06:23:18 v3.2.0-dev.21 06:23:18 v3.2.0-dev.22 06:23:18 v3.2.0-dev.23 06:23:18 v3.2.0-dev.3 06:23:18 v3.2.0-dev.4 06:23:18 v3.2.0-dev.5 06:23:18 v3.2.0-dev.6 06:23:18 v3.2.0-dev.7 06:23:18 v3.2.0-dev.8 06:23:18 v3.2.0-dev.9 06:23:18 v4.0.0-dev.1 06:23:18 v4.0.0-dev.2 06:23:18 v4.0.0-dev.3 [Pipeline] sh 06:23:18 + lftools sign git-tag v4.0.0-dev.3 06:23:19 Signing Git tag with Sigul... 06:23:19 Signing v4.0.0-dev.3 [Pipeline] echo 06:23:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:23:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:23:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:23:19 $ docker stop --time=1 7d5c59704de91e4957bb9dc21c822f2986e3a307b7a49026316156854c9489e7 06:23:21 $ docker rm -f --volumes 7d5c59704de91e4957bb9dc21c822f2986e3a307b7a49026316156854c9489e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:23:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:22 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:23:23 $ docker top a68ab3f5ad92ee2fc98abc6d93e997583728d9b49b3be4d559f270682f7131b1 -eo pid,comm 06:23:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:23:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:23 [ssh-agent] Looking for ssh-agent implementation... 06:23:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:23 $ docker exec a68ab3f5ad92ee2fc98abc6d93e997583728d9b49b3be4d559f270682f7131b1 ssh-agent 06:23:23 SSH_AUTH_SOCK=/tmp/ssh-FdUW982AicXv/agent.14 06:23:23 SSH_AGENT_PID=20 06:23:23 Running ssh-add (command line suppressed) 06:23:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16294820558309020891.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16294820558309020891.key) 06:23:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:23 + git semver bump pre 06:23:24 2024-11-08 06:23:23,965 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:23:24 2024-11-08 06:23:23,965 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 06:23:24 2024-11-08 06:23:23,965 [bump_version] DEBUG bumped version:4.0.0-dev.4 06:23:24 2024-11-08 06:23:23,965 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 06:23:24 2024-11-08 06:23:23,965 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:23:24 2024-11-08 06:23:23,965 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 06:23:24 2024-11-08 06:23:23,967 [execute] INFO git cat-file --batch-check 06:23:24 2024-11-08 06:23:23,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:23:24 2024-11-08 06:23:23,972 [execute] INFO git cat-file --batch 06:23:24 2024-11-08 06:23:23,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:23:24 2024-11-08 06:23:23,978 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:23:24 4.0.0-dev.4 [Pipeline] } 06:23:24 $ docker exec --env ******** --env ******** a68ab3f5ad92ee2fc98abc6d93e997583728d9b49b3be4d559f270682f7131b1 ssh-agent -k 06:23:24 unset SSH_AUTH_SOCK; 06:23:24 unset SSH_AGENT_PID; 06:23:24 echo Agent pid 20 killed; 06:23:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:24 + git semver [Pipeline] } 06:23:24 $ docker stop --time=1 a68ab3f5ad92ee2fc98abc6d93e997583728d9b49b3be4d559f270682f7131b1 06:23:26 $ docker rm -f --volumes a68ab3f5ad92ee2fc98abc6d93e997583728d9b49b3be4d559f270682f7131b1 [Pipeline] // withDockerContainer [Pipeline] sh 06:23:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:27 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:23:27 $ 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 06:23:28 $ docker top 7f3c7237de8fb997262ec185897c48e08abdf9666d816c558cc053db430581d1 -eo pid,comm 06:23:29 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). 06:23:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:29 [ssh-agent] Looking for ssh-agent implementation... 06:23:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:29 $ docker exec 7f3c7237de8fb997262ec185897c48e08abdf9666d816c558cc053db430581d1 ssh-agent 06:23:29 SSH_AUTH_SOCK=/tmp/ssh-ywnNrPar2uRT/agent.14 06:23:29 SSH_AGENT_PID=20 06:23:29 Running ssh-add (command line suppressed) 06:23:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10886382115812186520.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10886382115812186520.key) 06:23:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:29 + git semver push 06:23:30 2024-11-08 06:23:30,001 [run_push] DEBUG push 06:23:30 2024-11-08 06:23:30,002 [execute] INFO git cat-file --batch-check 06:23:30 2024-11-08 06:23:30,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:23:30 2024-11-08 06:23:30,005 [execute] INFO git rev-list 80c66a919fd05e5b5982416d9825a80f623e3bc8 -- 06:23:30 2024-11-08 06:23:30,006 [execute] DEBUG Popen(['git', 'rev-list', '80c66a919fd05e5b5982416d9825a80f623e3bc8', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:23:30 2024-11-08 06:23:30,015 [execute] INFO git fetch -v origin 06:23:30 2024-11-08 06:23:30,015 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 06:23:30 2024-11-08 06:23:30,464 [run_push] DEBUG no remote changes detected 06:23:30 2024-11-08 06:23:30,464 [execute] INFO git push origin semver 06:23:30 2024-11-08 06:23:30,464 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:23:31 2024-11-08 06:23:31,077 [run_push] DEBUG push all version tags 06:23:31 2024-11-08 06:23:31,077 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:23:31 2024-11-08 06:23:31,078 [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) 06:23:31 2024-11-08 06:23:31,640 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:23:31 4.0.0-dev.4 [Pipeline] } 06:23:31 $ docker exec --env ******** --env ******** 7f3c7237de8fb997262ec185897c48e08abdf9666d816c558cc053db430581d1 ssh-agent -k 06:23:31 unset SSH_AUTH_SOCK; 06:23:31 unset SSH_AGENT_PID; 06:23:31 echo Agent pid 20 killed; 06:23:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:32 + git semver [Pipeline] } 06:23:32 $ docker stop --time=1 7f3c7237de8fb997262ec185897c48e08abdf9666d816c558cc053db430581d1 06:23:35 $ docker rm -f --volumes 7f3c7237de8fb997262ec185897c48e08abdf9666d816c558cc053db430581d1 [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 06:23:36 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:23:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:23:36 total 16 06:23:36 drwxr-xr-x 3 root root 4096 Nov 8 06:05 . 06:23:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 06:23 .. 06:23:36 drwxr-xr-x 2 root root 4096 Nov 8 06:05 cost 06:23:36 -rw-r--r-- 1 root root 91 Nov 8 06:05 cost.csv 06:23:36 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:23:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:23:36 total 16 06:23:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 06:05 . 06:23:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 06:23 .. 06:23:36 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 06:05 cost 06:23:36 -rw-r--r-- 1 jenkins jenkins 91 Nov 8 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:37 ---> package-listing.sh 06:23:37 ++ facter osfamily 06:23:37 ++ tr '[:upper:]' '[:lower:]' 06:23:38 + OS_FAMILY=debian 06:23:38 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:23:38 + START_PACKAGES=/tmp/packages_start.txt 06:23:38 + END_PACKAGES=/tmp/packages_end.txt 06:23:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:38 + PACKAGES=/tmp/packages_start.txt 06:23:38 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:23:38 + PACKAGES=/tmp/packages_end.txt 06:23:38 + case "${OS_FAMILY}" in 06:23:38 + dpkg -l 06:23:38 + grep '^ii' 06:23:38 + '[' -f /tmp/packages_start.txt ']' 06:23:38 + '[' -f /tmp/packages_end.txt ']' 06:23:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:38 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:23:38 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:23:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:23:38 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 06:23:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:39 prd-ubuntu20.04-docker-8c-8g-25881 does not seem to be running inside a container 06:23:39 $ 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 06:23:42 $ docker top e0ac7964edba2b2cc9a92e409dd16d5a774b403f0cc8606f3cb5856abacc2465 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:43 + ls /var/log/sa-host 06:23:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:43 provisioning config files... 06:23:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14416693919801726718tmp [Pipeline] { [Pipeline] echo 06:23:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:44 ---> create-netrc.sh [Pipeline] } 06:23:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:44 ---> python-tools-install.sh [Pipeline] echo 06:23:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:44 ---> sudo-logs.sh 06:23:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:45 ---> job-cost.sh 06:23:45 lf-activate-venv: SKIPPING 06:23:45 DEBUG: total: 0.2199999988079071 06:23:45 INFO: Retrieving Stack Cost... 06:23:45 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:45 INFO: Archiving Costs [Pipeline] echo 06:23:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:46 ---> logs-deploy.sh 06:23:46 lf-activate-venv: SKIPPING 06:23:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/212 06:23:46 INFO: archiving workspace using pattern(s): 06:23:47 Archives upload complete. 06:23:47 INFO: archiving logs to Nexus