Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3fe8259587aa11f7b523c7492f95c227b9e7f60 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-ssh5850521793419059987.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-ssh9657918088472680554.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-ssh11800590851704172365.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-ssh12731053093021959503.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-ssh16599269251018207074.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-22694 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a3fe8259587aa11f7b523c7492f95c227b9e7f60 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 Commit message: "Merge pull request #465 from jackchenjc/edgex-go-issue-4916" > git rev-list --no-walk c03763b95a868410e957b4793cb640e2d9fdc9e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:44:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:44:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:44:15 ========================================================= 07:44:15 EdgeX Global Pipelines Version Info 07:44:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:44:16 ------------------- 07:44:16 stable info: 07:44:16 ------------------- 07:44:16 Commited By: Ginny Guan ginny@iotechsys.com 07:44:16 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:44:16 Message: update stable to v1.0.265 07:44:17 ------------------- 07:44:17 experimental info: 07:44:17 ------------------- 07:44:17 Commited By: Cherry Wang cherry@iotechsys.com 07:44:17 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:44:17 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:44:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:44:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] echo 07:44:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3fe825 [Pipeline] echo 07:44:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:18 provisioning config files... 07:44:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7292640562700284404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:18 ---> ****-login.sh 07:44:18 nexus3.edgexfoundry.org:10001 07:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:18 Configure a credential helper to remove this warning. See 07:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:18 07:44:18 Login Succeeded 07:44:18 nexus3.edgexfoundry.org:10002 07:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:18 Configure a credential helper to remove this warning. See 07:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:18 07:44:18 Login Succeeded 07:44:18 nexus3.edgexfoundry.org:10003 07:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:18 Configure a credential helper to remove this warning. See 07:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:18 07:44:18 Login Succeeded 07:44:18 nexus3.edgexfoundry.org:10004 07:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:18 Configure a credential helper to remove this warning. See 07:44:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:18 07:44:18 Login Succeeded 07:44:18 ****.io 07:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:19 Configure a credential helper to remove this warning. See 07:44:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:19 07:44:19 Login Succeeded 07:44:19 ---> ****-login.sh ends [Pipeline] } 07:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:44:19 + git rev-list -1 --merges a3fe8259587aa11f7b523c7492f95c227b9e7f60~1..a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] echo 07:44:19 -----------> git rev-list -1 --merges a3fe8259587aa11f7b523c7492f95c227b9e7f60~1..a3fe8259587aa11f7b523c7492f95c227b9e7f60 a3fe8259587aa11f7b523c7492f95c227b9e7f60 07:44:19 a3fe8259587aa11f7b523c7492f95c227b9e7f60 [false] [Pipeline] sh 07:44:19 + git log --format=format:%s -1 a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] echo 07:44:20 ========================================================= 07:44:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:44:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:20 + git log --format=format:%s -1 a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] echo 07:44:20 [semverPrep] GIT_COMMIT: a3fe8259587aa11f7b523c7492f95c227b9e7f60, Commit Message: Merge pull request #465 from jackchenjc/edgex-go-issue-4916 [Pipeline] echo 07:44:20 [semverPrep] This is not a build commit. [Pipeline] sh 07:44:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:44:20 + grep -v github /etc/ssh/ssh_known_hosts 07:44:20 + [ -e /tmp/ssh_known_hosts ] 07:44:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:44:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:44:20 + sudo tee -a /etc/ssh/ssh_known_hosts 07:44:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:21 07:44:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:21 0.1.4: Pulling from edgex-devops/py-git-semver 07:44:21 b85a868b505f: Pulling fs layer 07:44:21 e2be974225ed: Pulling fs layer 07:44:21 339a4e72a1f5: Pulling fs layer 07:44:21 988bab9f4d93: Pulling fs layer 07:44:21 1469e6f7b9e6: Pulling fs layer 07:44:21 eaf3925da568: Pulling fs layer 07:44:21 bab4dde63d76: Pulling fs layer 07:44:21 bde34c3a00c8: Pulling fs layer 07:44:21 b352a97aabf1: Pulling fs layer 07:44:21 4872d77fe225: Pulling fs layer 07:44:21 5851b861e8e6: Pulling fs layer 07:44:21 bab4dde63d76: Waiting 07:44:21 bde34c3a00c8: Waiting 07:44:21 b352a97aabf1: Waiting 07:44:21 4872d77fe225: Waiting 07:44:21 5851b861e8e6: Waiting 07:44:21 988bab9f4d93: Waiting 07:44:21 1469e6f7b9e6: Waiting 07:44:21 eaf3925da568: Waiting 07:44:21 e2be974225ed: Verifying Checksum 07:44:21 e2be974225ed: Download complete 07:44:21 988bab9f4d93: Download complete 07:44:21 1469e6f7b9e6: Verifying Checksum 07:44:21 1469e6f7b9e6: Download complete 07:44:21 339a4e72a1f5: Verifying Checksum 07:44:21 339a4e72a1f5: Download complete 07:44:21 eaf3925da568: Verifying Checksum 07:44:21 eaf3925da568: Download complete 07:44:21 bde34c3a00c8: Verifying Checksum 07:44:21 bde34c3a00c8: Download complete 07:44:21 b352a97aabf1: Verifying Checksum 07:44:21 b352a97aabf1: Download complete 07:44:21 4872d77fe225: Download complete 07:44:21 5851b861e8e6: Verifying Checksum 07:44:21 5851b861e8e6: Download complete 07:44:21 b85a868b505f: Verifying Checksum 07:44:21 b85a868b505f: Download complete 07:44:21 bab4dde63d76: Verifying Checksum 07:44:21 bab4dde63d76: Download complete 07:44:22 b85a868b505f: Pull complete 07:44:23 e2be974225ed: Pull complete 07:44:23 339a4e72a1f5: Pull complete 07:44:23 988bab9f4d93: Pull complete 07:44:23 1469e6f7b9e6: Pull complete 07:44:23 eaf3925da568: Pull complete 07:44:25 bab4dde63d76: Pull complete 07:44:25 bde34c3a00c8: Pull complete 07:44:26 b352a97aabf1: Pull complete 07:44:26 4872d77fe225: Pull complete 07:44:26 5851b861e8e6: Pull complete 07:44:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:44:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:26 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 07:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:44:29 $ docker top 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:44:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:44:29 [ssh-agent] Looking for ssh-agent implementation... 07:44:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:44:29 $ docker exec 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 ssh-agent 07:44:30 SSH_AUTH_SOCK=/tmp/ssh-k0pz0fYzwMjs/agent.31 07:44:30 SSH_AGENT_PID=37 07:44:30 Running ssh-add (command line suppressed) 07:44:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18185921822107121227.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18185921822107121227.key) 07:44:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:44:30 + git tag --points-at HEAD [Pipeline] } 07:44:30 $ docker exec --env ******** --env ******** 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 ssh-agent -k 07:44:30 unset SSH_AUTH_SOCK; 07:44:30 unset SSH_AGENT_PID; 07:44:30 echo Agent pid 37 killed; 07:44:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:44:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:44:30 [ssh-agent] Looking for ssh-agent implementation... 07:44:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:44:30 $ docker exec 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 ssh-agent 07:44:30 SSH_AUTH_SOCK=/tmp/ssh-tu6p77gquZmt/agent.70 07:44:30 SSH_AGENT_PID=76 07:44:30 Running ssh-add (command line suppressed) 07:44:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_821902614343544148.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_821902614343544148.key) 07:44:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:44:31 + git semver init 07:44:31 2024-10-14 07:44:31,506 [run_init] DEBUG init version:0.0.0 force:False 07:44:31 2024-10-14 07:44:31,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 07:44:31 2024-10-14 07:44:31,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 07:44:31 2024-10-14 07:44:31,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:44:32 2024-10-14 07:44:32,722 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 07:44:32 2024-10-14 07:44:32,722 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 07:44:32 2024-10-14 07:44:32,722 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:44:32 2024-10-14 07:44:32,723 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:44:32 3.2.0-dev.22 [Pipeline] } 07:44:32 $ docker exec --env ******** --env ******** 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 ssh-agent -k 07:44:33 unset SSH_AUTH_SOCK; 07:44:33 unset SSH_AGENT_PID; 07:44:33 echo Agent pid 76 killed; 07:44:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:44:33 + git semver [Pipeline] } 07:44:33 $ docker stop --time=1 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 07:44:35 $ docker rm -f --volumes 7cd9685ea42631a5989122cde0c6d43e0a4a3b59aad171c19abb35050c5473c0 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:44:35 Stashed 1 file(s) [Pipeline] echo 07:44:35 [edgeXSemver]: initialized semver on version 3.2.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:35 provisioning config files... 07:44:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7383081328656710278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:36 ---> ****-login.sh 07:44:36 nexus3.edgexfoundry.org:10001 07:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:36 Configure a credential helper to remove this warning. See 07:44:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:36 07:44:36 Login Succeeded 07:44:36 nexus3.edgexfoundry.org:10002 07:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:36 Configure a credential helper to remove this warning. See 07:44:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:36 07:44:36 Login Succeeded 07:44:36 nexus3.edgexfoundry.org:10003 07:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:36 Configure a credential helper to remove this warning. See 07:44:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:36 07:44:36 Login Succeeded 07:44:36 nexus3.edgexfoundry.org:10004 07:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:36 Configure a credential helper to remove this warning. See 07:44:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:36 07:44:36 Login Succeeded 07:44:36 ****.io 07:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:44:36 Configure a credential helper to remove this warning. See 07:44:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:44:36 07:44:36 Login Succeeded 07:44:36 ---> ****-login.sh ends [Pipeline] } 07:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:44:36 ========================================================= 07:44:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:44:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:37 + 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 . 07:44:37 Sending build context to Docker daemon 36.73MB 07:44:37 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:44:37 Step 2/13 : FROM ${BASE} AS builder 07:44:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:44:37 43c4264eed91: Pulling fs layer 07:44:37 4cc291be95ef: Pulling fs layer 07:44:37 2ac1f1163629: Pulling fs layer 07:44:37 5c3c966382ef: Pulling fs layer 07:44:37 4f4fb700ef54: Pulling fs layer 07:44:37 5d5c8e513c77: Pulling fs layer 07:44:37 9f66e0745190: Pulling fs layer 07:44:37 f49a43e4bbc0: Pulling fs layer 07:44:37 561ebcabdf7f: Pulling fs layer 07:44:37 5d5c8e513c77: Waiting 07:44:37 9f66e0745190: Waiting 07:44:37 f49a43e4bbc0: Waiting 07:44:37 561ebcabdf7f: Waiting 07:44:37 4f4fb700ef54: Waiting 07:44:37 4cc291be95ef: Verifying Checksum 07:44:37 4cc291be95ef: Download complete 07:44:37 5c3c966382ef: Verifying Checksum 07:44:37 5c3c966382ef: Download complete 07:44:37 4f4fb700ef54: Verifying Checksum 07:44:37 4f4fb700ef54: Download complete 07:44:37 5d5c8e513c77: Download complete 07:44:37 43c4264eed91: Download complete 07:44:37 9f66e0745190: Verifying Checksum 07:44:37 9f66e0745190: Download complete 07:44:37 43c4264eed91: Pull complete 07:44:37 561ebcabdf7f: Download complete 07:44:37 4cc291be95ef: Pull complete 07:44:37 2ac1f1163629: Verifying Checksum 07:44:37 2ac1f1163629: Download complete 07:44:38 f49a43e4bbc0: Verifying Checksum 07:44:38 f49a43e4bbc0: Download complete 07:44:41 2ac1f1163629: Pull complete 07:44:41 5c3c966382ef: Pull complete 07:44:41 4f4fb700ef54: Pull complete 07:44:41 5d5c8e513c77: Pull complete 07:44:41 9f66e0745190: Pull complete 07:44:44 f49a43e4bbc0: Pull complete 07:44:44 561ebcabdf7f: Pull complete 07:44:44 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:44:44 ---> 3a752c3f9dda 07:44:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:44:50 ---> Running in 6d130df70a6b 07:44:50 Removing intermediate container 6d130df70a6b 07:44:50 ---> a8f61599311c 07:44:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:44:50 ---> Running in ec98236f7077 07:44:50 Removing intermediate container ec98236f7077 07:44:50 ---> f22dfbf76c39 07:44:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:44:50 ---> Running in 70387ff62366 07:44:50 Removing intermediate container 70387ff62366 07:44:50 ---> d766c2761782 07:44:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:44:50 ---> Running in ae103778960b 07:44:50 Removing intermediate container ae103778960b 07:44:50 ---> e587e15dc420 07:44:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:44:50 ---> Running in e2a4ab57f8e7 07:44:50 Removing intermediate container e2a4ab57f8e7 07:44:50 ---> 41ec249b0504 07:44:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:50 ---> Running in 2b1d89fb3f1e 07:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:44:50 Still waiting to schedule task 07:44:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-22693’ is offline 07:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:44:51 OK: 246 MiB in 54 packages 07:44:51 Removing intermediate container 2b1d89fb3f1e 07:44:51 ---> 516b2578cd98 07:44:51 Step 9/13 : WORKDIR /device-onvif-camera 07:44:51 ---> Running in f6de20a9d5af 07:44:51 Removing intermediate container f6de20a9d5af 07:44:51 ---> be45fb941492 07:44:51 Step 10/13 : COPY go.mod vendor* ./ 07:44:51 ---> f9b9de0480ea 07:44:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:44:51 ---> Running in 65aa50f972c6 07:45:49 Removing intermediate container 65aa50f972c6 07:45:49 ---> 49a9148fe85e 07:45:49 Step 12/13 : COPY . . 07:45:49 ---> 53032dec39f5 07:45:49 Step 13/13 : RUN ${MAKE} 07:45:49 ---> Running in 857fb1674fd4 07:45:49 noop 07:45:49 Removing intermediate container 857fb1674fd4 07:45:49 ---> f4343694b02f 07:45:49 Successfully built f4343694b02f 07:45:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:49 + docker inspect -f . ci-base-image-x86_64 07:45:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:49 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 07:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:45:49 $ docker top 19702e6dc89c21fc2c2776b902edcc59d8affc59474a76f259f2b5fd0b9ea419 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:50 + go version 07:45:50 go version go1.23.2 linux/amd64 [Pipeline] } 07:45:50 $ docker stop --time=1 19702e6dc89c21fc2c2776b902edcc59d8affc59474a76f259f2b5fd0b9ea419 07:45:51 $ docker rm -f --volumes 19702e6dc89c21fc2c2776b902edcc59d8affc59474a76f259f2b5fd0b9ea419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:51 + docker inspect -f . ci-base-image-x86_64 07:45:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:51 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 07:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:45:52 $ docker top 5ce8e0956adeff8d5886ee50c28fd66de366246721df6920ca94b9ba3a40e01d -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:52 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 07:45:52 + make test 07:45:52 go test ./... -coverprofile=coverage.out ./... 07:45:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:46:12 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:46:12 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:46:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements 07:46:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.249s coverage: 86.5% of statements 07:46:27 go vet ./... 07:46:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:46:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:46:34 ./bin/test-attribution-txt.sh [Pipeline] echo 07:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:46:34 $ docker stop --time=1 5ce8e0956adeff8d5886ee50c28fd66de366246721df6920ca94b9ba3a40e01d 07:46:38 $ docker rm -f --volumes 5ce8e0956adeff8d5886ee50c28fd66de366246721df6920ca94b9ba3a40e01d [Pipeline] // withDockerContainer [Pipeline] sh 07:46:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:46:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:39 + ls -al . 07:46:39 total 328 07:46:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:45 . 07:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:44 .. 07:46:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:46 .git 07:46:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:44 .github 07:46:39 -rw-rw-r-- 1 jenkins jenkins 493 Oct 14 07:44 .gitignore 07:46:39 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 07:44 .golangci.yml 07:46:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:44 .semver 07:46:39 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 14 07:44 Attribution.txt 07:46:39 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 14 07:44 CHANGELOG.md 07:46:39 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 14 07:44 Dockerfile 07:46:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:44 GOVERNANCE.md 07:46:39 -rw-rw-r-- 1 jenkins jenkins 739 Oct 14 07:44 Jenkinsfile 07:46:39 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 07:44 LICENSE 07:46:39 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 14 07:44 Makefile 07:46:39 -rw-rw-r-- 1 jenkins jenkins 625 Oct 14 07:44 OWNERS.md 07:46:39 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 14 07:44 README.md 07:46:39 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 07:44 VERSION 07:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:44 bin 07:46:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:44 cmd 07:46:39 -rw-r--r-- 1 jenkins jenkins 92292 Oct 14 07:46 coverage.out 07:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:44 doc 07:46:39 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 14 07:44 go.mod 07:46:39 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 14 07:44 go.sum 07:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:44 internal 07:46:39 -rw-rw-r-- 1 jenkins jenkins 236 Oct 14 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:39 + 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=a3fe8259587aa11f7b523c7492f95c227b9e7f60 --label arch=amd64 --label version=3.2.0-dev.22 . 07:46:39 Sending build context to Docker daemon 36.83MB 07:46:39 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:46:39 Step 2/27 : FROM ${BASE} AS builder 07:46:39 ---> f4343694b02f 07:46:39 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:46:40 ---> Running in a4527c4fef40 07:46:40 Removing intermediate container a4527c4fef40 07:46:40 ---> 1cd7b0312338 07:46:40 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:40 ---> Running in c09b39c699b9 07:46:40 Removing intermediate container c09b39c699b9 07:46:40 ---> 53f3b690f3ee 07:46:40 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:46:40 ---> Running in a9b5014d1e63 07:46:40 Removing intermediate container a9b5014d1e63 07:46:40 ---> b34fa87077ff 07:46:40 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:46:40 ---> Running in 3948458b8f46 07:46:40 Removing intermediate container 3948458b8f46 07:46:40 ---> ba9bebb9083d 07:46:40 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:46:40 ---> Running in ecbad374e5e5 07:46:40 Removing intermediate container ecbad374e5e5 07:46:40 ---> cfca7cb662a2 07:46:40 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:40 ---> Running in 70fbba802592 07:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:46:41 OK: 246 MiB in 54 packages 07:46:41 Removing intermediate container 70fbba802592 07:46:41 ---> bad514603657 07:46:41 Step 9/27 : WORKDIR /device-onvif-camera 07:46:41 ---> Running in e83e9f9f9c53 07:46:41 Removing intermediate container e83e9f9f9c53 07:46:41 ---> 54f9f05921c7 07:46:41 Step 10/27 : COPY go.mod vendor* ./ 07:46:41 ---> 594dcb085942 07:46:41 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:41 ---> Running in f3c263b64022 07:46:42 Removing intermediate container f3c263b64022 07:46:42 ---> a82428b658aa 07:46:42 Step 12/27 : COPY . . 07:46:43 ---> 90f7ce5fb128 07:46:43 Step 13/27 : RUN ${MAKE} 07:46:43 ---> Running in 68819050ddc7 07:46:43 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:47:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22697 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 07:47:06 Running in /w/workspace/device-onvif-camera/208 [Pipeline] { [Pipeline] checkout 07:47:09 The recommended git tool is: git 07:47:15 using credential edgex-jenkins-ssh 07:47:15 Cloning the remote Git repository 07:47:15 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:47:15 > git init /w/workspace/device-onvif-camera/208 # timeout=10 07:47:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:47:15 > git --version # timeout=10 07:47:15 > git --version # 'git version 2.25.1' 07:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:18 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:47:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:19 Avoid second fetch 07:47:19 Checking out Revision a3fe8259587aa11f7b523c7492f95c227b9e7f60 (main) 07:47:19 > git config core.sparsecheckout # timeout=10 07:47:19 > git checkout -f a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 07:47:20 Commit message: "Merge pull request #465 from jackchenjc/edgex-go-issue-4916" 07:47:22 Removing intermediate container 68819050ddc7 07:47:22 ---> 9df77858d00f 07:47:22 Step 14/27 : FROM alpine:3.20 07:47:22 3.20: Pulling from library/alpine 07:47:22 43c4264eed91: Already exists 07:47:22 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:47:22 Status: Downloaded newer image for alpine:3.20 07:47:22 ---> 91ef0af61f39 07:47:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:47:22 ---> Running in d539e15b35ff 07:47:22 Removing intermediate container d539e15b35ff 07:47:22 ---> a10f4f783a65 07:47:22 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:47:22 ---> Running in 4e3895d8c6ab 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:22 (1/1) Installing dumb-init (1.2.5-r3) 07:47:22 Executing busybox-1.36.1-r29.trigger 07:47:22 OK: 8 MiB in 15 packages 07:47:22 Removing intermediate container 4e3895d8c6ab 07:47:22 ---> 115f1ccd98a1 07:47:22 Step 17/27 : RUN apk --no-cache upgrade 07:47:22 ---> Running in db5215373027 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:22 Upgrading critical system libraries and apk-tools: 07:47:22 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:47:22 Executing busybox-1.36.1-r29.trigger 07:47:22 Continuing the upgrade transaction with new apk-tools: 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:22 OK: 8 MiB in 15 packages 07:47:22 Removing intermediate container db5215373027 07:47:22 ---> 8f610767490b 07:47:22 Step 18/27 : WORKDIR / 07:47:22 ---> Running in 1bad83efa965 07:47:22 Removing intermediate container 1bad83efa965 07:47:22 ---> 97d2b6491782 07:47:22 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:24 ---> 53eccabbb16d 07:47:24 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:47:24 ---> 8cccddf37271 07:47:24 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:47:24 ---> 7593a621e6f0 07:47:24 Step 22/27 : EXPOSE 59984 07:47:24 ---> Running in c73b25ff1663 07:47:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:47:24 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:24 Dload Upload Total Spent Left Speed 07:47:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:47:25 Removing intermediate container c73b25ff1663 07:47:25 ---> 639d27546de0 07:47:25 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:47:25 ---> Running in 7929714e098c 07:47:25 Removing intermediate container 7929714e098c 07:47:25 ---> bafc593e1840 07:47:25 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:47:25 ---> Running in afb35787aa25 07:47:25 Removing intermediate container afb35787aa25 07:47:25 ---> 58970629ee3a 07:47:25 Step 25/27 : LABEL arch=amd64 07:47:25 ---> Running in 01cf7966d5f5 07:47:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:47:25 Removing intermediate container 01cf7966d5f5 07:47:25 ---> 8839c27e4dc1 07:47:25 Step 26/27 : LABEL git_sha=a3fe8259587aa11f7b523c7492f95c227b9e7f60 07:47:25 ---> Running in 9fc3898e4281 07:47:25 Removing intermediate container 9fc3898e4281 07:47:25 ---> 161cb10fb365 07:47:25 Step 27/27 : LABEL version=3.2.0-dev.22 07:47:25 ---> Running in 6b0932ec5185 07:47:25 Removing intermediate container 6b0932ec5185 07:47:25 ---> eee3e68d0441 07:47:25 [Warning] One or more build-args [ARCH] were not consumed 07:47:25 Successfully built eee3e68d0441 07:47:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:47:25 + sudo tee /etc/docker/daemon.new 07:47:25 { 07:47:25 "registry-mirrors": [ 07:47:25 "https://nexus3.edgexfoundry.org:10001" 07:47:25 ], 07:47:25 "bip": "10.250.0.254/24", 07:47:25 "hosts": [ 07:47:25 "tcp://0.0.0.0:5555", 07:47:25 "unix:///var/run/docker.sock" 07:47:25 ], 07:47:25 "mtu": 1458, 07:47:25 "selinux-enabled": true, 07:47:25 "seccomp-profile": "/etc/docker/seccomp.json" 07:47:25 } [Pipeline] sh 07:47:25 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:25 provisioning config files... 07:47:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11872322948357905604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:47:26 ---> ****-login.sh 07:47:26 nexus3.edgexfoundry.org:10001 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 nexus3.edgexfoundry.org:10002 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 nexus3.edgexfoundry.org:10003 07:47:26 + sudo service docker restart 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 nexus3.edgexfoundry.org:10004 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 ****.io 07:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:26 Configure a credential helper to remove this warning. See 07:47:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:26 07:47:26 Login Succeeded 07:47:26 ---> ****-login.sh ends [Pipeline] } 07:47:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:26 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 07:47:26 a3fe8259587aa11f7b523c7492f95c227b9e7f60 07:47:26 latest 07:47:26 3.2.0-dev.22 07:47:26 a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 07:47:26 main 07:47:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:27 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60 07:47:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:47:27 bd83b63574eb: Preparing 07:47:27 bed12a30fd9b: Preparing 07:47:27 5b67eab71333: Preparing 07:47:27 d0530b8848f1: Preparing 07:47:27 0a272b7885f4: Preparing 07:47:27 63ca1fbb43ae: Preparing 07:47:27 63ca1fbb43ae: Waiting 07:47:27 bd83b63574eb: Pushed 07:47:27 bed12a30fd9b: Pushed 07:47:27 d0530b8848f1: Pushed 07:47:27 63ca1fbb43ae: Layer already exists 07:47:27 0a272b7885f4: Pushed 07:47:32 5b67eab71333: Pushed 07:47:32 a3fe8259587aa11f7b523c7492f95c227b9e7f60: digest: sha256:540999a4f6cf0838be4136d1ef9c8550ae73c5983ce869f6f66a5659c58ac4ba size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:47:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:47:33 bd83b63574eb: Preparing 07:47:33 bed12a30fd9b: Preparing 07:47:33 5b67eab71333: Preparing 07:47:33 d0530b8848f1: Preparing 07:47:33 0a272b7885f4: Preparing 07:47:33 63ca1fbb43ae: Preparing 07:47:33 63ca1fbb43ae: Waiting 07:47:33 5b67eab71333: Layer already exists 07:47:33 bed12a30fd9b: Layer already exists 07:47:33 bd83b63574eb: Layer already exists 07:47:33 0a272b7885f4: Layer already exists 07:47:33 d0530b8848f1: Layer already exists 07:47:33 63ca1fbb43ae: Layer already exists 07:47:33 latest: digest: sha256:540999a4f6cf0838be4136d1ef9c8550ae73c5983ce869f6f66a5659c58ac4ba size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.22 07:47:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:47:34 bd83b63574eb: Preparing 07:47:34 bed12a30fd9b: Preparing 07:47:34 5b67eab71333: Preparing 07:47:34 d0530b8848f1: Preparing 07:47:34 0a272b7885f4: Preparing 07:47:34 63ca1fbb43ae: Preparing 07:47:34 63ca1fbb43ae: Waiting 07:47:34 0a272b7885f4: Layer already exists 07:47:34 bd83b63574eb: Layer already exists 07:47:34 5b67eab71333: Layer already exists 07:47:34 d0530b8848f1: Layer already exists 07:47:34 bed12a30fd9b: Layer already exists 07:47:34 63ca1fbb43ae: Layer already exists 07:47:34 3.2.0-dev.22: digest: sha256:540999a4f6cf0838be4136d1ef9c8550ae73c5983ce869f6f66a5659c58ac4ba size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 07:47:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:47:34 bd83b63574eb: Preparing 07:47:34 bed12a30fd9b: Preparing 07:47:34 5b67eab71333: Preparing 07:47:34 d0530b8848f1: Preparing 07:47:34 0a272b7885f4: Preparing 07:47:34 63ca1fbb43ae: Preparing 07:47:34 63ca1fbb43ae: Waiting 07:47:34 bed12a30fd9b: Layer already exists 07:47:34 5b67eab71333: Layer already exists 07:47:34 bd83b63574eb: Layer already exists 07:47:34 d0530b8848f1: Layer already exists 07:47:34 0a272b7885f4: Layer already exists 07:47:34 63ca1fbb43ae: Layer already exists 07:47:34 a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22: digest: sha256:540999a4f6cf0838be4136d1ef9c8550ae73c5983ce869f6f66a5659c58ac4ba size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 07:47:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:47:35 bd83b63574eb: Preparing 07:47:35 bed12a30fd9b: Preparing 07:47:35 5b67eab71333: Preparing 07:47:35 d0530b8848f1: Preparing 07:47:35 0a272b7885f4: Preparing 07:47:35 63ca1fbb43ae: Preparing 07:47:35 63ca1fbb43ae: Waiting 07:47:35 d0530b8848f1: Layer already exists 07:47:35 bed12a30fd9b: Layer already exists 07:47:35 0a272b7885f4: Layer already exists 07:47:35 5b67eab71333: Layer already exists 07:47:35 63ca1fbb43ae: Layer already exists 07:47:35 bd83b63574eb: Layer already exists 07:47:35 main: digest: sha256:540999a4f6cf0838be4136d1ef9c8550ae73c5983ce869f6f66a5659c58ac4ba size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:35 ===================================================== [Pipeline] echo 07:47:35 taggedImages: 07:47:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60 07:47:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:47:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.22 07:47:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 07:47:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:35 07:47:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:36 latest: Pulling from edgex-lftools-log-publisher 07:47:36 5eb5b503b376: Pulling fs layer 07:47:36 5c69ac0246d0: Pulling fs layer 07:47:36 ec43610c2a17: Pulling fs layer 07:47:36 3a2ae6a8a46f: Pulling fs layer 07:47:36 33b1e0a273af: Pulling fs layer 07:47:36 5d3b04190fa2: Pulling fs layer 07:47:36 2f39f015ded8: Pulling fs layer 07:47:36 3a2ae6a8a46f: Waiting 07:47:36 33b1e0a273af: Waiting 07:47:36 5d3b04190fa2: Waiting 07:47:36 2f39f015ded8: Waiting 07:47:36 5c69ac0246d0: Download complete 07:47:36 33b1e0a273af: Verifying Checksum 07:47:36 33b1e0a273af: Download complete 07:47:36 5d3b04190fa2: Verifying Checksum 07:47:36 5d3b04190fa2: Download complete 07:47:36 ec43610c2a17: Verifying Checksum 07:47:36 ec43610c2a17: Download complete 07:47:36 5eb5b503b376: Verifying Checksum 07:47:36 5eb5b503b376: Download complete 07:47:37 2f39f015ded8: Download complete 07:47:37 5eb5b503b376: Pull complete 07:47:37 5c69ac0246d0: Pull complete 07:47:38 ec43610c2a17: Pull complete 07:47:38 3a2ae6a8a46f: Pull complete 07:47:38 33b1e0a273af: Pull complete 07:47:38 5d3b04190fa2: Pull complete 07:47:42 2f39f015ded8: Pull complete 07:47:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:43 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 07:47:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:47:49 $ docker top 099b56c6ff0182bbab8c2694ff77348db5fd76b6942879bf55139ae1a59f2c1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 07:47:49 provisioning config files... 07:47:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/208@tmp/config851967539981359320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:49 ---> job-cost.sh 07:47:49 lf-activate-venv: SKIPPING 07:47:49 INFO: No Stack... 07:47:49 ---> ****-login.sh 07:47:49 nexus3.edgexfoundry.org:10001 07:47:49 INFO: Retrieving Pricing Info for: v3-standard-8 07:47:50 INFO: Archiving Costs [Pipeline] sh 07:47:50 + + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 07:47:50 cut -d, -f6 [Pipeline] lock 07:47:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] 07:47:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] did not exist. Created. 07:47:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] [Pipeline] { [Pipeline] unstash 07:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 07:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:50 Configure a credential helper to remove this warning. See 07:47:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:50 07:47:50 Login Succeeded 07:47:50 nexus3.edgexfoundry.org:10002 07:47:50 + echo total: 0.2199999988079071 [Pipeline] stash 07:47:50 Stashed 1 file(s) [Pipeline] } 07:47:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 07:47:50 $ docker stop --time=1 099b56c6ff0182bbab8c2694ff77348db5fd76b6942879bf55139ae1a59f2c1e 07:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:50 Configure a credential helper to remove this warning. See 07:47:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:50 07:47:50 Login Succeeded 07:47:50 nexus3.edgexfoundry.org:10003 07:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:51 Configure a credential helper to remove this warning. See 07:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:51 07:47:51 Login Succeeded 07:47:51 nexus3.edgexfoundry.org:10004 07:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:51 Configure a credential helper to remove this warning. See 07:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:51 07:47:51 Login Succeeded 07:47:51 $ docker rm -f --volumes 099b56c6ff0182bbab8c2694ff77348db5fd76b6942879bf55139ae1a59f2c1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:47:51 ****.io 07:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:52 Configure a credential helper to remove this warning. See 07:47:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:52 07:47:52 Login Succeeded 07:47:52 ---> ****-login.sh ends [Pipeline] } 07:47:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:47:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:53 ========================================================= 07:47:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:47:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:53 + 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 . 07:47:54 Sending build context to Docker daemon 21.78MB 07:47:54 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:47:54 Step 2/13 : FROM ${BASE} AS builder 07:47:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:47:54 cf04c63912e1: Pulling fs layer 07:47:54 55b35a11ae5e: Pulling fs layer 07:47:54 a37a00ec5f00: Pulling fs layer 07:47:54 50b3750afda1: Pulling fs layer 07:47:54 4f4fb700ef54: Pulling fs layer 07:47:54 80978eb59214: Pulling fs layer 07:47:54 c9f46d7d2bd2: Pulling fs layer 07:47:54 c5a475d317c9: Pulling fs layer 07:47:54 4f4fb700ef54: Waiting 07:47:54 80978eb59214: Waiting 07:47:54 c9f46d7d2bd2: Waiting 07:47:54 c5a475d317c9: Waiting 07:47:54 50b3750afda1: Waiting 07:47:54 55b35a11ae5e: Download complete 07:47:54 50b3750afda1: Verifying Checksum 07:47:54 50b3750afda1: Download complete 07:47:54 4f4fb700ef54: Verifying Checksum 07:47:54 4f4fb700ef54: Download complete 07:47:54 80978eb59214: Verifying Checksum 07:47:54 80978eb59214: Download complete 07:47:54 cf04c63912e1: Verifying Checksum 07:47:54 cf04c63912e1: Download complete 07:47:55 c5a475d317c9: Verifying Checksum 07:47:55 c5a475d317c9: Download complete 07:47:56 cf04c63912e1: Pull complete 07:47:57 55b35a11ae5e: Pull complete 07:47:57 a37a00ec5f00: Download complete 07:47:58 c9f46d7d2bd2: Verifying Checksum 07:47:58 c9f46d7d2bd2: Download complete 07:48:13 a37a00ec5f00: Pull complete 07:48:13 50b3750afda1: Pull complete 07:48:13 4f4fb700ef54: Pull complete 07:48:13 80978eb59214: Pull complete 07:48:21 c9f46d7d2bd2: Pull complete 07:48:23 c5a475d317c9: Pull complete 07:48:23 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:48:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:48:23 ---> be29e6b0f0d4 07:48:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:48:24 ---> Running in f2cf563eb09d 07:48:25 Removing intermediate container f2cf563eb09d 07:48:25 ---> aea907c2ca6a 07:48:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:25 ---> Running in 4757bbf5a75b 07:48:25 Removing intermediate container 4757bbf5a75b 07:48:25 ---> eb6642a6de42 07:48:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:48:25 ---> Running in 32d5767e9655 07:48:26 Removing intermediate container 32d5767e9655 07:48:26 ---> 0315e0e6a45e 07:48:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:48:26 ---> Running in 6becfb534f19 07:48:26 Removing intermediate container 6becfb534f19 07:48:26 ---> f394fd893c7a 07:48:26 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:48:26 ---> Running in 8c7ce473d3be 07:48:27 Removing intermediate container 8c7ce473d3be 07:48:27 ---> 2d4aab091e64 07:48:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:27 ---> Running in 66d5f4f906e1 07:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:48:30 OK: 238 MiB in 54 packages 07:48:31 Removing intermediate container 66d5f4f906e1 07:48:31 ---> 5fa4885f3808 07:48:31 Step 9/13 : WORKDIR /device-onvif-camera 07:48:31 ---> Running in 041e3ff1c42c 07:48:31 Removing intermediate container 041e3ff1c42c 07:48:31 ---> 71927f5ae397 07:48:31 Step 10/13 : COPY go.mod vendor* ./ 07:48:32 ---> b593b4df99c7 07:48:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:32 ---> Running in 29164987f2e7 07:50:38 Removing intermediate container 29164987f2e7 07:50:38 ---> 1cc4beae7937 07:50:38 Step 12/13 : COPY . . 07:50:38 ---> 561a10189fb3 07:50:38 Step 13/13 : RUN ${MAKE} 07:50:38 ---> Running in 2a683d275a52 07:50:39 noop 07:50:40 Removing intermediate container 2a683d275a52 07:50:40 ---> 019da29b40e6 07:50:40 Successfully built 019da29b40e6 07:50:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:40 + docker inspect -f . ci-base-image-arm64 07:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-22697 does not seem to be running inside a container 07:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/208 -v /w/workspace/device-onvif-camera/208:/w/workspace/device-onvif-camera/208:rw,z -v /w/workspace/device-onvif-camera/208@tmp:/w/workspace/device-onvif-camera/208@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 07:50:42 $ docker top b29613ada212edf58eb1181bf42897f099e343875554fbf49fe79cd55b404308 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:43 + go version 07:50:43 go version go1.23.2 linux/arm64 [Pipeline] } 07:50:43 $ docker stop --time=1 b29613ada212edf58eb1181bf42897f099e343875554fbf49fe79cd55b404308 07:50:45 $ docker rm -f --volumes b29613ada212edf58eb1181bf42897f099e343875554fbf49fe79cd55b404308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:46 + docker inspect -f . ci-base-image-arm64 07:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:46 prd-ubuntu20.04-docker-arm64-4c-16g-22697 does not seem to be running inside a container 07:50:46 $ 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/208 -v /w/workspace/device-onvif-camera/208:/w/workspace/device-onvif-camera/208:rw,z -v /w/workspace/device-onvif-camera/208@tmp:/w/workspace/device-onvif-camera/208@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 07:50:48 $ docker top b195113f195034a4b1c1b4cf77fa8fa42da655109c1b04906759a55e6af37209 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:48 + git config --global --add safe.directory /w/workspace/device-onvif-camera/208 [Pipeline] fileExists [Pipeline] sh 07:50:49 + make test 07:50:49 go test ./... -coverprofile=coverage.out ./... 07:50:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:56:05 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:56:13 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:56:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.223s coverage: 31.4% of statements 07:56:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.342s coverage: 86.5% of statements 07:56:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:56:35 go vet ./... 07:57:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:44 ./bin/test-attribution-txt.sh [Pipeline] echo 07:57:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:57:44 $ docker stop --time=1 b195113f195034a4b1c1b4cf77fa8fa42da655109c1b04906759a55e6af37209 07:57:47 $ docker rm -f --volumes b195113f195034a4b1c1b4cf77fa8fa42da655109c1b04906759a55e6af37209 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:57:49 Warning: overwriting stash ‘coverage-report’ 07:57:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:57:50 + ls -al . 07:57:50 total 324 07:57:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:50 . 07:57:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:47 .. 07:57:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:47 .git 07:57:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:47 .github 07:57:50 -rw-rw-r-- 1 jenkins jenkins 493 Oct 14 07:47 .gitignore 07:57:50 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 07:47 .golangci.yml 07:57:50 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 14 07:47 Attribution.txt 07:57:50 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 14 07:47 CHANGELOG.md 07:57:50 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 14 07:47 Dockerfile 07:57:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:47 GOVERNANCE.md 07:57:50 -rw-rw-r-- 1 jenkins jenkins 739 Oct 14 07:47 Jenkinsfile 07:57:50 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 07:47 LICENSE 07:57:50 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 14 07:47 Makefile 07:57:50 -rw-rw-r-- 1 jenkins jenkins 625 Oct 14 07:47 OWNERS.md 07:57:50 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 14 07:47 README.md 07:57:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 07:44 VERSION 07:57:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:47 bin 07:57:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:47 cmd 07:57:50 -rw-r--r-- 1 jenkins jenkins 92292 Oct 14 07:56 coverage.out 07:57:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:47 doc 07:57:50 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 14 07:47 go.mod 07:57:50 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 14 07:47 go.sum 07:57:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:47 internal 07:57:50 -rw-rw-r-- 1 jenkins jenkins 236 Oct 14 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:51 + 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=a3fe8259587aa11f7b523c7492f95c227b9e7f60 --label arch=arm64 --label version=3.2.0-dev.22 . 07:57:52 Sending build context to Docker daemon 21.87MB 07:57:52 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:57:52 Step 2/27 : FROM ${BASE} AS builder 07:57:52 ---> 019da29b40e6 07:57:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:57:52 ---> Running in afb2a8862eeb 07:57:52 Removing intermediate container afb2a8862eeb 07:57:52 ---> cdb62b423669 07:57:52 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:57:52 ---> Running in 09f26852bbdc 07:57:53 Removing intermediate container 09f26852bbdc 07:57:53 ---> 1e4369143729 07:57:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:57:53 ---> Running in 7775746dfb9e 07:57:53 Removing intermediate container 7775746dfb9e 07:57:53 ---> 3084c1d73b4b 07:57:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:57:53 ---> Running in 4eadbd556d1e 07:57:54 Removing intermediate container 4eadbd556d1e 07:57:54 ---> 317ccda08a72 07:57:54 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:57:54 ---> Running in ee7680e99e28 07:57:54 Removing intermediate container ee7680e99e28 07:57:54 ---> 5da4873d24da 07:57:54 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:57:54 ---> Running in 724d3663874c 07:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:57:58 OK: 238 MiB in 54 packages 07:57:58 Removing intermediate container 724d3663874c 07:57:58 ---> f199ebd253a0 07:57:58 Step 9/27 : WORKDIR /device-onvif-camera 07:57:59 ---> Running in e4b14e5fb411 07:57:59 Removing intermediate container e4b14e5fb411 07:57:59 ---> 938073a77a50 07:57:59 Step 10/27 : COPY go.mod vendor* ./ 07:57:59 ---> e84c324980a0 07:57:59 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:59 ---> Running in 4c7492b3b802 07:58:03 Removing intermediate container 4c7492b3b802 07:58:03 ---> 404c11ceac82 07:58:03 Step 12/27 : COPY . . 07:58:07 ---> c9bd685d1f4d 07:58:07 Step 13/27 : RUN ${MAKE} 07:58:07 ---> Running in fab4a48f35c9 07:58:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:03:16 Removing intermediate container fab4a48f35c9 08:03:16 ---> 96508a732564 08:03:16 Step 14/27 : FROM alpine:3.20 08:03:16 3.20: Pulling from library/alpine 08:03:16 cf04c63912e1: Already exists 08:03:16 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:03:16 Status: Downloaded newer image for alpine:3.20 08:03:16 ---> c157a85ed455 08:03:16 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 08:03:16 ---> Running in 6c24081407df 08:03:16 Removing intermediate container 6c24081407df 08:03:16 ---> 838007d8fb59 08:03:16 Step 16/27 : RUN apk add --update --no-cache dumb-init 08:03:16 ---> Running in 8f0adcb661c6 08:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:03:16 (1/1) Installing dumb-init (1.2.5-r3) 08:03:16 Executing busybox-1.36.1-r29.trigger 08:03:16 OK: 9 MiB in 15 packages 08:03:16 Removing intermediate container 8f0adcb661c6 08:03:16 ---> df158af8ff39 08:03:16 Step 17/27 : RUN apk --no-cache upgrade 08:03:16 ---> Running in 694d8ee3132d 08:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:03:19 Upgrading critical system libraries and apk-tools: 08:03:19 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:03:19 Executing busybox-1.36.1-r29.trigger 08:03:19 Continuing the upgrade transaction with new apk-tools: 08:03:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:03:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:03:21 OK: 9 MiB in 15 packages 08:03:23 Removing intermediate container 694d8ee3132d 08:03:23 ---> 8b95daf8ffd3 08:03:23 Step 18/27 : WORKDIR / 08:03:23 ---> Running in f83d5a07ffdd 08:03:23 Removing intermediate container f83d5a07ffdd 08:03:23 ---> 1aba96356465 08:03:23 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 08:03:27 ---> a048969cc444 08:03:27 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 08:03:27 ---> 2743a488438f 08:03:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:03:27 ---> 435fc31635cc 08:03:27 Step 22/27 : EXPOSE 59984 08:03:27 ---> Running in ca7e413fb2e4 08:03:28 Removing intermediate container ca7e413fb2e4 08:03:28 ---> fe3ba2c8e979 08:03:28 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 08:03:28 ---> Running in 535199ae55a4 08:03:28 Removing intermediate container 535199ae55a4 08:03:28 ---> 08880c70afbf 08:03:28 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:03:28 ---> Running in 83b1c17d6242 08:03:29 Removing intermediate container 83b1c17d6242 08:03:29 ---> c305f569f342 08:03:29 Step 25/27 : LABEL arch=arm64 08:03:29 ---> Running in cb240b338228 08:03:29 Removing intermediate container cb240b338228 08:03:29 ---> 2c2353028da5 08:03:29 Step 26/27 : LABEL git_sha=a3fe8259587aa11f7b523c7492f95c227b9e7f60 08:03:29 ---> Running in 750c5eb6c778 08:03:30 Removing intermediate container 750c5eb6c778 08:03:30 ---> 334c94290e65 08:03:30 Step 27/27 : LABEL version=3.2.0-dev.22 08:03:30 ---> Running in 508ee1a1fb0c 08:03:30 Removing intermediate container 508ee1a1fb0c 08:03:30 ---> 5abde2c8596d 08:03:30 [Warning] One or more build-args [ARCH] were not consumed 08:03:30 Successfully built 5abde2c8596d 08:03:30 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 08:03:30 provisioning config files... 08:03:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/208@tmp/config1879375702595475446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:31 ---> ****-login.sh 08:03:31 nexus3.edgexfoundry.org:10001 08:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:31 Configure a credential helper to remove this warning. See 08:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:31 08:03:31 Login Succeeded 08:03:31 nexus3.edgexfoundry.org:10002 08:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:32 Configure a credential helper to remove this warning. See 08:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:32 08:03:32 Login Succeeded 08:03:32 nexus3.edgexfoundry.org:10003 08:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:32 Configure a credential helper to remove this warning. See 08:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:32 08:03:32 Login Succeeded 08:03:32 nexus3.edgexfoundry.org:10004 08:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:32 Configure a credential helper to remove this warning. See 08:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:32 08:03:32 Login Succeeded 08:03:32 ****.io 08:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:03:33 Configure a credential helper to remove this warning. See 08:03:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:03:33 08:03:33 Login Succeeded 08:03:33 ---> ****-login.sh ends [Pipeline] } 08:03:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:03:33 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 08:03:33 a3fe8259587aa11f7b523c7492f95c227b9e7f60 08:03:33 latest 08:03:33 3.2.0-dev.22 08:03:33 a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 08:03:33 main 08:03:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60 08:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:03:34 511063ec6b6c: Preparing 08:03:34 934aaf9a9ef6: Preparing 08:03:34 a498e5a31670: Preparing 08:03:34 08c10c1b668f: Preparing 08:03:34 5326e0300e1c: Preparing 08:03:34 16113d51b718: Preparing 08:03:34 16113d51b718: Waiting 08:03:34 511063ec6b6c: Pushed 08:03:34 934aaf9a9ef6: Pushed 08:03:34 5326e0300e1c: Pushed 08:03:34 08c10c1b668f: Pushed 08:03:34 16113d51b718: Layer already exists 08:03:46 a498e5a31670: Pushed 08:03:46 a3fe8259587aa11f7b523c7492f95c227b9e7f60: digest: sha256:6f9c48185db3b7053bf66b4a0d79ec0f4adbdd8861638d04101b1df13d193ce9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:47 + 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 08:03:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 08:03:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:03:47 511063ec6b6c: Preparing 08:03:47 934aaf9a9ef6: Preparing 08:03:47 a498e5a31670: Preparing 08:03:47 08c10c1b668f: Preparing 08:03:47 5326e0300e1c: Preparing 08:03:47 16113d51b718: Preparing 08:03:47 16113d51b718: Waiting 08:03:47 511063ec6b6c: Layer already exists 08:03:47 934aaf9a9ef6: Layer already exists 08:03:47 a498e5a31670: Layer already exists 08:03:47 5326e0300e1c: Layer already exists 08:03:47 08c10c1b668f: Layer already exists 08:03:48 16113d51b718: Layer already exists 08:03:48 latest: digest: sha256:6f9c48185db3b7053bf66b4a0d79ec0f4adbdd8861638d04101b1df13d193ce9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:48 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.22 08:03:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:03:48 511063ec6b6c: Preparing 08:03:48 934aaf9a9ef6: Preparing 08:03:48 a498e5a31670: Preparing 08:03:48 08c10c1b668f: Preparing 08:03:48 5326e0300e1c: Preparing 08:03:48 16113d51b718: Preparing 08:03:48 16113d51b718: Waiting 08:03:48 511063ec6b6c: Layer already exists 08:03:48 08c10c1b668f: Layer already exists 08:03:48 934aaf9a9ef6: Layer already exists 08:03:48 a498e5a31670: Layer already exists 08:03:48 5326e0300e1c: Layer already exists 08:03:48 16113d51b718: Layer already exists 08:03:49 3.2.0-dev.22: digest: sha256:6f9c48185db3b7053bf66b4a0d79ec0f4adbdd8861638d04101b1df13d193ce9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 08:03:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:03:49 511063ec6b6c: Preparing 08:03:49 934aaf9a9ef6: Preparing 08:03:49 a498e5a31670: Preparing 08:03:49 08c10c1b668f: Preparing 08:03:49 5326e0300e1c: Preparing 08:03:49 16113d51b718: Preparing 08:03:49 16113d51b718: Waiting 08:03:49 5326e0300e1c: Layer already exists 08:03:49 511063ec6b6c: Layer already exists 08:03:49 934aaf9a9ef6: Layer already exists 08:03:49 08c10c1b668f: Layer already exists 08:03:49 a498e5a31670: Layer already exists 08:03:50 16113d51b718: Layer already exists 08:03:50 a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22: digest: sha256:6f9c48185db3b7053bf66b4a0d79ec0f4adbdd8861638d04101b1df13d193ce9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:50 + 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 08:03:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 08:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 08:03:51 511063ec6b6c: Preparing 08:03:51 934aaf9a9ef6: Preparing 08:03:51 a498e5a31670: Preparing 08:03:51 08c10c1b668f: Preparing 08:03:51 5326e0300e1c: Preparing 08:03:51 16113d51b718: Preparing 08:03:51 16113d51b718: Waiting 08:03:51 934aaf9a9ef6: Layer already exists 08:03:51 a498e5a31670: Layer already exists 08:03:51 5326e0300e1c: Layer already exists 08:03:51 511063ec6b6c: Layer already exists 08:03:51 08c10c1b668f: Layer already exists 08:03:51 16113d51b718: Layer already exists 08:03:51 main: digest: sha256:6f9c48185db3b7053bf66b4a0d79ec0f4adbdd8861638d04101b1df13d193ce9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:03:51 ===================================================== [Pipeline] echo 08:03:51 taggedImages: 08:03:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60 08:03:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 08:03:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.22 08:03:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a3fe8259587aa11f7b523c7492f95c227b9e7f60-3.2.0-dev.22 08:03:51 - 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 08:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:51 08:03:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:03:52 arm64: Pulling from edgex-lftools-log-publisher 08:03:52 8998bd30e6a1: Pulling fs layer 08:03:52 04944245beec: Pulling fs layer 08:03:52 699f458cf7ca: Pulling fs layer 08:03:52 765212b225bb: Pulling fs layer 08:03:52 f23df028b6ca: Pulling fs layer 08:03:52 d65c8cfc05b1: Pulling fs layer 08:03:52 2437ff75d9bd: Pulling fs layer 08:03:52 f23df028b6ca: Waiting 08:03:52 765212b225bb: Waiting 08:03:52 d65c8cfc05b1: Waiting 08:03:52 2437ff75d9bd: Waiting 08:03:52 04944245beec: Verifying Checksum 08:03:52 04944245beec: Download complete 08:03:52 765212b225bb: Verifying Checksum 08:03:52 765212b225bb: Download complete 08:03:52 f23df028b6ca: Verifying Checksum 08:03:52 f23df028b6ca: Download complete 08:03:52 d65c8cfc05b1: Verifying Checksum 08:03:52 d65c8cfc05b1: Download complete 08:03:52 699f458cf7ca: Verifying Checksum 08:03:52 699f458cf7ca: Download complete 08:03:53 8998bd30e6a1: Verifying Checksum 08:03:53 8998bd30e6a1: Download complete 08:03:56 2437ff75d9bd: Verifying Checksum 08:03:56 2437ff75d9bd: Download complete 08:03:58 8998bd30e6a1: Pull complete 08:03:59 04944245beec: Pull complete 08:04:00 699f458cf7ca: Pull complete 08:04:00 765212b225bb: Pull complete 08:04:01 f23df028b6ca: Pull complete 08:04:02 d65c8cfc05b1: Pull complete 08:04:24 2437ff75d9bd: Pull complete 08:04:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:04:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:24 prd-ubuntu20.04-docker-arm64-4c-16g-22697 does not seem to be running inside a container 08:04:25 $ 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/208 -v /w/workspace/device-onvif-camera/208:/w/workspace/device-onvif-camera/208:rw,z -v /w/workspace/device-onvif-camera/208@tmp:/w/workspace/device-onvif-camera/208@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 08:04:28 $ docker top 17275e8c80971684973b78a6fcaaee9b15c436323e640bbf2b49783924a46987 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:29 ---> job-cost.sh 08:04:29 lf-activate-venv: SKIPPING 08:04:29 INFO: No Stack... 08:04:30 INFO: Retrieving Pricing Info for: v3-standard-4 08:04:31 INFO: Archiving Costs [Pipeline] sh 08:04:31 + cat /w/workspace/device-onvif-camera/208/archives/cost.csv 08:04:31 + cut -d, -f6 [Pipeline] lock 08:04:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] 08:04:31 Resource [jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] did not exist. Created. 08:04:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:04:32 /w/workspace/device-onvif-camera/208@tmp/durable-52f94dd7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:04:33 + echo total: 0.10999999940395355 [Pipeline] stash 08:04:33 Warning: overwriting stash ‘stack-cost’ 08:04:33 Stashed 1 file(s) [Pipeline] } 08:04:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 08:04:33 $ docker stop --time=1 17275e8c80971684973b78a6fcaaee9b15c436323e640bbf2b49783924a46987 08:04:34 $ docker rm -f --volumes 17275e8c80971684973b78a6fcaaee9b15c436323e640bbf2b49783924a46987 [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 08:04:35 provisioning config files... 08:04:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config300549877996544180tmp [Pipeline] { [Pipeline] sh 08:04:35 + set +x 08:04:35 + bash -s -- 08:04:35 + curl -s https://codecov.io/bash 08:04:35 08:04:35 _____ _ 08:04:35 / ____| | | 08:04:35 | | ___ __| | ___ ___ _____ __ 08:04:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:04:35 | |___| (_) | (_| | __/ (_| (_) \ V / 08:04:35 \_____\___/ \__,_|\___|\___\___/ \_/ 08:04:35 Bash-1.0.6 08:04:35 08:04:35 08:04:35 ==> git version 2.25.1 found 08:04:35 ==> 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 08:04:35 Release-Date: 2020-01-08 08:04:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:04:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:04:35 ==> Jenkins CI detected. 08:04:35 current dir:  /w/workspace/foundry_device-onvif-camera_main 08:04:35 project root: . 08:04:35 --> token set from env 08:04:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:04:36 ==> Running gcov in . (disable via -X gcov) 08:04:36 ==> Python coveragepy not found 08:04:36 ==> Searching for coverage reports in: 08:04:36 + . 08:04:36 -> Found 1 reports 08:04:36 ==> Detecting git/mercurial file structure 08:04:36 ==> Reading reports 08:04:36 + ./coverage.out bytes=92292 08:04:36 ==> Appending adjustments 08:04:36 https://docs.codecov.io/docs/fixing-reports 08:04:36 + Found adjustments 08:04:36 ==> Gzipping contents 08:04:36 12K /tmp/codecov.os5qhJ.gz 08:04:36 ==> Uploading reports 08:04:36 url: https://codecov.io 08:04:36 query: branch=main&commit=a3fe8259587aa11f7b523c7492f95c227b9e7f60&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F208%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 08:04:36 -> Pinging Codecov 08:04:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a3fe8259587aa11f7b523c7492f95c227b9e7f60&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F208%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 08:04:36 -> Uploading to 08:04:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/a3fe8259587aa11f7b523c7492f95c227b9e7f60/0f0e4f22-2617-4ed7-bc80-df476f0bd401.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T080436Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=bee91586bae8baeb46e8b26b94b87755e1e9f11986f49c41b60dbab4106f37b8 08:04:36 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:36 Dload Upload Total Spent Left Speed 08:04:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 56226 --:--:-- --:--:-- --:--:-- 55950 100 11414 0 0 100 11414 0 48987 --:--:-- --:--:-- --:--:-- 48777 08:04:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] } 08:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:04:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:04:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:37 08:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:37 latest: Pulling from edgex-devops/edgex-snyk-go 08:04:37 43c4264eed91: Already exists 08:04:37 4cc291be95ef: Already exists 08:04:37 2ac1f1163629: Already exists 08:04:37 5c3c966382ef: Already exists 08:04:37 4f4fb700ef54: Already exists 08:04:37 d9c7d2e4e75e: Pulling fs layer 08:04:37 9c3e1370e548: Pulling fs layer 08:04:37 d9c7d2e4e75e: Verifying Checksum 08:04:37 d9c7d2e4e75e: Download complete 08:04:38 d9c7d2e4e75e: Pull complete 08:04:38 9c3e1370e548: Verifying Checksum 08:04:38 9c3e1370e548: Download complete 08:04:41 9c3e1370e548: Pull complete 08:04:41 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:04:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:42 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:04:42 $ 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 08:04:45 $ docker top 3af597f0fe4bebb44059b89e18a47ef7ea49c7a4168e6aef2ea09fc35d322823 -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:45 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 08:04:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 08:04:46 + set -o pipefail 08:04:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 08:04:52 08:04:52 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 08:04:52 08:04:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/def282d2-eac5-4a95-bd73-c90b519d1215 08:04:52 08:04:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:04:52 08:04:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:04:52 08:04:52 08:04:52 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:04:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:04:52 $ docker stop --time=1 3af597f0fe4bebb44059b89e18a47ef7ea49c7a4168e6aef2ea09fc35d322823 08:04:59 $ docker rm -f --volumes 3af597f0fe4bebb44059b89e18a47ef7ea49c7a4168e6aef2ea09fc35d322823 [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 08:05:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:00 provisioning config files... 08:05:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16249738385128559293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:00 --> edgex-publish-swagger.sh 08:05:00 === Publish doc/openapi/v3 API === 08:05:00 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 08:05:00 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 08:05:00 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:00 Dload Upload Total Spent Left Speed 08:05:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 345 1074k --:--:-- --:--:-- --:--:-- 1074k 08:05:01 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 08:05:01 [Pipeline] } 08:05:01 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 08:05:01 + git log --format=format:%s -1 a3fe8259587aa11f7b523c7492f95c227b9e7f60 [Pipeline] sh 08:05:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:05:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:02 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:05:02 $ 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 08:05:02 $ docker top 1a5c59b8d9650129f3615a4f5a7d196f435f35373363c0da104f3f0cb11d4bba -eo pid,comm 08:05:02 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). 08:05:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:05:02 [ssh-agent] Looking for ssh-agent implementation... 08:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:05:02 $ docker exec 1a5c59b8d9650129f3615a4f5a7d196f435f35373363c0da104f3f0cb11d4bba ssh-agent 08:05:03 SSH_AUTH_SOCK=/tmp/ssh-97TgvUWdpCpm/agent.32 08:05:03 SSH_AGENT_PID=38 08:05:03 Running ssh-add (command line suppressed) 08:05:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11818222155033333012.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11818222155033333012.key) 08:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:05:03 + git semver tag 08:05:03 2024-10-14 08:05:03,635 [run_tag] DEBUG tag force:False 08:05:03 2024-10-14 08:05:03,635 [check_head_tag] DEBUG check head tag 08:05:03 2024-10-14 08:05:03,636 [execute] INFO git cat-file --batch-check 08:05:03 2024-10-14 08:05:03,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 08:05:03 2024-10-14 08:05:03,639 [execute] INFO git cat-file --batch 08:05:03 2024-10-14 08:05:03,640 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 08:05:03 2024-10-14 08:05:03,659 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:03 2024-10-14 08:05:03,659 [execute] INFO git tag -a v3.2.0-dev.22 -m v3.2.0-dev.22 08:05:03 2024-10-14 08:05:03,660 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.22', '-m', 'v3.2.0-dev.22'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 08:05:03 2024-10-14 08:05:03,664 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:03 3.2.0-dev.22 [Pipeline] } 08:05:03 $ docker exec --env ******** --env ******** 1a5c59b8d9650129f3615a4f5a7d196f435f35373363c0da104f3f0cb11d4bba ssh-agent -k 08:05:03 unset SSH_AUTH_SOCK; 08:05:03 unset SSH_AGENT_PID; 08:05:03 echo Agent pid 38 killed; 08:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:05:04 + git semver [Pipeline] } 08:05:04 $ docker stop --time=1 1a5c59b8d9650129f3615a4f5a7d196f435f35373363c0da104f3f0cb11d4bba 08:05:05 $ docker rm -f --volumes 1a5c59b8d9650129f3615a4f5a7d196f435f35373363c0da104f3f0cb11d4bba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:05:06 08:05:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:05:06 0.23.1-centos7: Pulling from edgex-lftools 08:05:06 ab5ef0e58194: Pulling fs layer 08:05:06 9712f1f96733: Pulling fs layer 08:05:06 63f879dbbcfc: Pulling fs layer 08:05:06 0d9ebad4ef96: Pulling fs layer 08:05:06 e9a5061849ea: Pulling fs layer 08:05:06 d747dcd14b5f: Pulling fs layer 08:05:06 2de7ff778b66: Pulling fs layer 08:05:06 e9a5061849ea: Waiting 08:05:06 0d9ebad4ef96: Waiting 08:05:06 2de7ff778b66: Waiting 08:05:06 9712f1f96733: Verifying Checksum 08:05:06 9712f1f96733: Download complete 08:05:07 63f879dbbcfc: Verifying Checksum 08:05:07 63f879dbbcfc: Download complete 08:05:07 ab5ef0e58194: Verifying Checksum 08:05:07 ab5ef0e58194: Download complete 08:05:07 d747dcd14b5f: Download complete 08:05:07 e9a5061849ea: Verifying Checksum 08:05:07 e9a5061849ea: Download complete 08:05:07 0d9ebad4ef96: Verifying Checksum 08:05:07 0d9ebad4ef96: Download complete 08:05:07 2de7ff778b66: Verifying Checksum 08:05:07 2de7ff778b66: Download complete 08:05:09 ab5ef0e58194: Pull complete 08:05:09 9712f1f96733: Pull complete 08:05:10 63f879dbbcfc: Pull complete 08:05:13 0d9ebad4ef96: Pull complete 08:05:14 e9a5061849ea: Pull complete 08:05:14 d747dcd14b5f: Pull complete 08:05:15 2de7ff778b66: Pull complete 08:05:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:15 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:05:15 $ 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 08:05:21 $ docker top a070c47d05fe0f880df515c8e293a5046a8ed3654cb83cb98112e1ca1cc894e9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:05:21 provisioning config files... 08:05:21 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18204587049833343552tmp 08:05:21 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9707329053447540109tmp 08:05:21 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3222903312369193961tmp [Pipeline] { [Pipeline] echo 08:05:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:05:22 ---> sigul-configuration.sh 08:05:22 gpg: directory `/root/.gnupg' created 08:05:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:05:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:05:22 gpg: keyring `/root/.gnupg/secring.gpg' created 08:05:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:05:22 gpg: CAST5 encrypted data 08:05:22 gpg: encrypted with 1 passphrase 08:05:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:05:22 + mkdir /home/jenkins 08:05:22 + mkdir /home/jenkins/sigul [Pipeline] sh 08:05:22 + 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 08:05:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:05:23 ---> sigul-install.sh 08:05:23 Sigul already installed; skipping installation. [Pipeline] sh 08:05:23 + git tag --list 08:05:23 v0.0.0 08:05:23 v2.2.0 08:05:23 v2.3.0 08:05:23 v2.3.1 08:05:23 v3.0 08:05:23 v3.0.0 08:05:23 v3.1 08:05:23 v3.1.0 08:05:23 v3.1.0-dev.1 08:05:23 v3.1.0-dev.10 08:05:23 v3.1.0-dev.11 08:05:23 v3.1.0-dev.12 08:05:23 v3.1.0-dev.13 08:05:23 v3.1.0-dev.14 08:05:23 v3.1.0-dev.15 08:05:23 v3.1.0-dev.16 08:05:23 v3.1.0-dev.17 08:05:23 v3.1.0-dev.18 08:05:23 v3.1.0-dev.19 08:05:23 v3.1.0-dev.2 08:05:23 v3.1.0-dev.20 08:05:23 v3.1.0-dev.21 08:05:23 v3.1.0-dev.22 08:05:23 v3.1.0-dev.23 08:05:23 v3.1.0-dev.24 08:05:23 v3.1.0-dev.25 08:05:23 v3.1.0-dev.26 08:05:23 v3.1.0-dev.27 08:05:23 v3.1.0-dev.28 08:05:23 v3.1.0-dev.3 08:05:23 v3.1.0-dev.4 08:05:23 v3.1.0-dev.5 08:05:23 v3.1.0-dev.6 08:05:23 v3.1.0-dev.7 08:05:23 v3.1.0-dev.8 08:05:23 v3.1.0-dev.9 08:05:23 v3.1.1 08:05:23 v3.2.0-dev.1 08:05:23 v3.2.0-dev.10 08:05:23 v3.2.0-dev.11 08:05:23 v3.2.0-dev.12 08:05:23 v3.2.0-dev.13 08:05:23 v3.2.0-dev.14 08:05:23 v3.2.0-dev.15 08:05:23 v3.2.0-dev.16 08:05:23 v3.2.0-dev.17 08:05:23 v3.2.0-dev.18 08:05:23 v3.2.0-dev.19 08:05:23 v3.2.0-dev.2 08:05:23 v3.2.0-dev.20 08:05:23 v3.2.0-dev.21 08:05:23 v3.2.0-dev.22 08:05:23 v3.2.0-dev.3 08:05:23 v3.2.0-dev.4 08:05:23 v3.2.0-dev.5 08:05:23 v3.2.0-dev.6 08:05:23 v3.2.0-dev.7 08:05:23 v3.2.0-dev.8 08:05:23 v3.2.0-dev.9 [Pipeline] sh 08:05:23 + lftools sign git-tag v3.2.0-dev.22 08:05:24 Signing Git tag with Sigul... 08:05:24 Signing v3.2.0-dev.22 [Pipeline] echo 08:05:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:05:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:05:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:05:24 $ docker stop --time=1 a070c47d05fe0f880df515c8e293a5046a8ed3654cb83cb98112e1ca1cc894e9 08:05:26 $ docker rm -f --volumes a070c47d05fe0f880df515c8e293a5046a8ed3654cb83cb98112e1ca1cc894e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:05:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:05:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:26 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:05: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 08:05:27 $ docker top 9d00771284e82dc42aa0d9e0d2c1e89f8808d4942714242663e525105d8a7b01 -eo pid,comm 08:05:27 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). 08:05:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:05:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:05:27 [ssh-agent] Looking for ssh-agent implementation... 08:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:05:27 $ docker exec 9d00771284e82dc42aa0d9e0d2c1e89f8808d4942714242663e525105d8a7b01 ssh-agent 08:05:27 SSH_AUTH_SOCK=/tmp/ssh-6f9ZkSZUFyvw/agent.32 08:05:27 SSH_AGENT_PID=38 08:05:27 Running ssh-add (command line suppressed) 08:05:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14368064829770871585.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14368064829770871585.key) 08:05:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:05:28 + git semver bump pre 08:05:28 2024-10-14 08:05:28,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:28 2024-10-14 08:05:28,314 [bump_version] DEBUG bumping version:3.2.0-dev.22 on axis:pre with prefix:dev 08:05:28 2024-10-14 08:05:28,314 [bump_version] DEBUG bumped version:3.2.0-dev.23 08:05:28 2024-10-14 08:05:28,314 [write_version] DEBUG write version:3.2.0-dev.23 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 08:05:28 2024-10-14 08:05:28,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:28 2024-10-14 08:05:28,314 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:28 2024-10-14 08:05:28,316 [execute] INFO git cat-file --batch-check 08:05:28 2024-10-14 08:05:28,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:28 2024-10-14 08:05:28,322 [execute] INFO git cat-file --batch 08:05:28 2024-10-14 08:05:28,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:28 2024-10-14 08:05:28,329 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:28 3.2.0-dev.23 [Pipeline] } 08:05:28 $ docker exec --env ******** --env ******** 9d00771284e82dc42aa0d9e0d2c1e89f8808d4942714242663e525105d8a7b01 ssh-agent -k 08:05:28 unset SSH_AUTH_SOCK; 08:05:28 unset SSH_AGENT_PID; 08:05:28 echo Agent pid 38 killed; 08:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:05:28 + git semver [Pipeline] } 08:05:29 $ docker stop --time=1 9d00771284e82dc42aa0d9e0d2c1e89f8808d4942714242663e525105d8a7b01 08:05:30 $ docker rm -f --volumes 9d00771284e82dc42aa0d9e0d2c1e89f8808d4942714242663e525105d8a7b01 [Pipeline] // withDockerContainer [Pipeline] sh 08:05:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:05:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:31 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:05:31 $ 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 08:05:31 $ docker top ee22ec4c49b5e0d77e58de4fd01547e952c70298013632db3bd5a610e58c9a80 -eo pid,comm 08:05:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:05:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:05:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:05:31 [ssh-agent] Looking for ssh-agent implementation... 08:05:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:05:31 $ docker exec ee22ec4c49b5e0d77e58de4fd01547e952c70298013632db3bd5a610e58c9a80 ssh-agent 08:05:31 SSH_AUTH_SOCK=/tmp/ssh-M2WL4QK1wlDF/agent.32 08:05:31 SSH_AGENT_PID=38 08:05:31 Running ssh-add (command line suppressed) 08:05:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5957363063278888703.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5957363063278888703.key) 08:05:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:05:32 + git semver push 08:05:32 2024-10-14 08:05:32,497 [run_push] DEBUG push 08:05:32 2024-10-14 08:05:32,498 [execute] INFO git cat-file --batch-check 08:05:32 2024-10-14 08:05:32,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 08:05:32 2024-10-14 08:05:32,502 [execute] INFO git rev-list ae4478b1e8e06db663e6f0bc8db087377bc89c77 -- 08:05:32 2024-10-14 08:05:32,502 [execute] DEBUG Popen(['git', 'rev-list', 'ae4478b1e8e06db663e6f0bc8db087377bc89c77', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 08:05:32 2024-10-14 08:05:32,510 [execute] INFO git fetch -v origin 08:05:32 2024-10-14 08:05:32,510 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 08:05:33 2024-10-14 08:05:32,970 [run_push] DEBUG no remote changes detected 08:05:33 2024-10-14 08:05:32,970 [execute] INFO git push origin semver 08:05:33 2024-10-14 08:05:32,971 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 08:05:35 2024-10-14 08:05:33,674 [run_push] DEBUG push all version tags 08:05:35 2024-10-14 08:05:33,674 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:05:35 2024-10-14 08:05:33,675 [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) 08:05:36 2024-10-14 08:05:35,760 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:05:36 3.2.0-dev.23 [Pipeline] } 08:05:36 $ docker exec --env ******** --env ******** ee22ec4c49b5e0d77e58de4fd01547e952c70298013632db3bd5a610e58c9a80 ssh-agent -k 08:05:36 unset SSH_AUTH_SOCK; 08:05:36 unset SSH_AGENT_PID; 08:05:36 echo Agent pid 38 killed; 08:05:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:05:36 + git semver [Pipeline] } 08:05:36 $ docker stop --time=1 ee22ec4c49b5e0d77e58de4fd01547e952c70298013632db3bd5a610e58c9a80 08:05:38 $ docker rm -f --volumes ee22ec4c49b5e0d77e58de4fd01547e952c70298013632db3bd5a610e58c9a80 [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 08:05:38 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 08:05:38 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 08:05:38 total 16 08:05:38 drwxr-xr-x 3 root root 4096 Oct 14 07:47 . 08:05:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:05 .. 08:05:38 drwxr-xr-x 2 root root 4096 Oct 14 07:47 cost 08:05:38 -rw-r--r-- 1 root root 91 Oct 14 07:47 cost.csv 08:05:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 08:05:38 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 08:05:38 total 16 08:05:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:47 . 08:05:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:05 .. 08:05:38 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:47 cost 08:05:38 -rw-r--r-- 1 jenkins jenkins 91 Oct 14 07:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:05:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:39 ---> package-listing.sh 08:05:39 ++ facter osfamily 08:05:39 ++ tr '[:upper:]' '[:lower:]' 08:05:40 + OS_FAMILY=debian 08:05:40 + workspace=/w/workspace/foundry_device-onvif-camera_main 08:05:40 + START_PACKAGES=/tmp/packages_start.txt 08:05:40 + END_PACKAGES=/tmp/packages_end.txt 08:05:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:40 + PACKAGES=/tmp/packages_start.txt 08:05:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 08:05:40 + PACKAGES=/tmp/packages_end.txt 08:05:40 + case "${OS_FAMILY}" in 08:05:40 + dpkg -l 08:05:40 + grep '^ii' 08:05:40 + '[' -f /tmp/packages_start.txt ']' 08:05:40 + '[' -f /tmp/packages_end.txt ']' 08:05:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 08:05:40 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 08:05:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 08:05:40 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 08:05:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:41 prd-ubuntu20.04-docker-8c-8g-22694 does not seem to be running inside a container 08:05:41 $ 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 08:05:41 $ docker top 5b846c0931e71b703746c5a045ab258c6d34db0e27e78d4cffd7582bb5898331 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:41 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:41 + mkdir -p /var/log/sysstat [Pipeline] sh 08:05:42 + ls /var/log/sa-host 08:05:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:42 provisioning config files... 08:05:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6231561912067365461tmp [Pipeline] { [Pipeline] echo 08:05:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:42 ---> create-netrc.sh [Pipeline] } 08:05:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:05:42 ---> python-tools-install.sh [Pipeline] echo 08:05:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:43 ---> sudo-logs.sh 08:05:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:05:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:43 ---> job-cost.sh 08:05:43 lf-activate-venv: SKIPPING 08:05:43 DEBUG: total: 0.2199999988079071 08:05:43 INFO: Retrieving Stack Cost... 08:05:43 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:44 INFO: Archiving Costs [Pipeline] echo 08:05:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:44 ---> logs-deploy.sh 08:05:44 lf-activate-venv: SKIPPING 08:05:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/208 08:05:44 INFO: archiving workspace using pattern(s): 08:05:45 Archives upload complete. 08:05:45 INFO: archiving logs to Nexus