Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 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-ssh16264642506173878953.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-ssh17958514317347428330.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-ssh13196949707121733569.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-ssh5446175559381874995.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-ssh3650860381216837508.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 ‘prd-ubuntu20.04-docker-8c-8g-23244’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23245 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 (main) Commit message: "Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" > git config core.sparsecheckout # timeout=10 > git checkout -f 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 > git rev-list --no-walk a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:04 ========================================================= 07:19:04 EdgeX Global Pipelines Version Info 07:19:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:05 ------------------- 07:19:05 stable info: 07:19:05 ------------------- 07:19:05 Commited By: Ginny Guan ginny@iotechsys.com 07:19:05 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:19:05 Message: update stable to v1.0.265 07:19:05 ------------------- 07:19:05 experimental info: 07:19:05 ------------------- 07:19:05 Commited By: Cherry Wang cherry@iotechsys.com 07:19:05 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:19:05 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39018d7 [Pipeline] echo 07:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:06 provisioning config files... 07:19:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config892034448732432252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:06 ---> ****-login.sh 07:19:06 nexus3.edgexfoundry.org:10001 07:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:07 Configure a credential helper to remove this warning. See 07:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:07 07:19:07 Login Succeeded 07:19:07 nexus3.edgexfoundry.org:10002 07:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:07 Configure a credential helper to remove this warning. See 07:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:07 07:19:07 Login Succeeded 07:19:07 nexus3.edgexfoundry.org:10003 07:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:07 Configure a credential helper to remove this warning. See 07:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:07 07:19:07 Login Succeeded 07:19:07 nexus3.edgexfoundry.org:10004 07:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:07 Configure a credential helper to remove this warning. See 07:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:07 07:19:07 Login Succeeded 07:19:07 ****.io 07:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:07 Configure a credential helper to remove this warning. See 07:19:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:07 07:19:07 Login Succeeded 07:19:07 ---> ****-login.sh ends [Pipeline] } 07:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:08 + git rev-list -1 --merges 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6~1..39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo 07:19:08 -----------> git rev-list -1 --merges 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6~1..39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:19:08 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [false] [Pipeline] sh 07:19:08 + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo 07:19:08 ========================================================= 07:19:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:08 + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo 07:19:08 [semverPrep] GIT_COMMIT: 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6, Commit Message: Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47 [Pipeline] echo 07:19:08 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:09 + grep -v github /etc/ssh/ssh_known_hosts 07:19:09 + [ -e /tmp/ssh_known_hosts ] 07:19:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:09 + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:09 07:19:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:09 0.1.4: Pulling from edgex-devops/py-git-semver 07:19:09 b85a868b505f: Pulling fs layer 07:19:09 e2be974225ed: Pulling fs layer 07:19:09 339a4e72a1f5: Pulling fs layer 07:19:09 988bab9f4d93: Pulling fs layer 07:19:09 1469e6f7b9e6: Pulling fs layer 07:19:09 eaf3925da568: Pulling fs layer 07:19:09 bab4dde63d76: Pulling fs layer 07:19:09 bde34c3a00c8: Pulling fs layer 07:19:09 b352a97aabf1: Pulling fs layer 07:19:09 4872d77fe225: Pulling fs layer 07:19:09 5851b861e8e6: Pulling fs layer 07:19:09 988bab9f4d93: Waiting 07:19:09 1469e6f7b9e6: Waiting 07:19:09 bab4dde63d76: Waiting 07:19:09 bde34c3a00c8: Waiting 07:19:09 5851b861e8e6: Waiting 07:19:09 eaf3925da568: Waiting 07:19:09 b352a97aabf1: Waiting 07:19:09 4872d77fe225: Waiting 07:19:09 e2be974225ed: Download complete 07:19:09 988bab9f4d93: Verifying Checksum 07:19:09 988bab9f4d93: Download complete 07:19:09 339a4e72a1f5: Verifying Checksum 07:19:09 339a4e72a1f5: Download complete 07:19:09 1469e6f7b9e6: Verifying Checksum 07:19:09 1469e6f7b9e6: Download complete 07:19:09 eaf3925da568: Verifying Checksum 07:19:09 eaf3925da568: Download complete 07:19:09 bde34c3a00c8: Verifying Checksum 07:19:09 bde34c3a00c8: Download complete 07:19:10 b352a97aabf1: Download complete 07:19:10 4872d77fe225: Verifying Checksum 07:19:10 4872d77fe225: Download complete 07:19:10 5851b861e8e6: Verifying Checksum 07:19:10 5851b861e8e6: Download complete 07:19:10 b85a868b505f: Download complete 07:19:10 bab4dde63d76: Verifying Checksum 07:19:10 bab4dde63d76: Download complete 07:19:11 b85a868b505f: Pull complete 07:19:11 e2be974225ed: Pull complete 07:19:12 339a4e72a1f5: Pull complete 07:19:12 988bab9f4d93: Pull complete 07:19:12 1469e6f7b9e6: Pull complete 07:19:12 eaf3925da568: Pull complete 07:19:14 bab4dde63d76: Pull complete 07:19:14 bde34c3a00c8: Pull complete 07:19:14 b352a97aabf1: Pull complete 07:19:14 4872d77fe225: Pull complete 07:19:14 5851b861e8e6: Pull complete 07:19:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:14 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:19:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:19:17 $ docker top f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 -eo pid,comm 07:19:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:19:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:18 [ssh-agent] Looking for ssh-agent implementation... 07:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:18 $ docker exec f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent 07:19:18 SSH_AUTH_SOCK=/tmp/ssh-lxX0sn5fBe6A/agent.33 07:19:18 SSH_AGENT_PID=39 07:19:18 Running ssh-add (command line suppressed) 07:19:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16828346813353262744.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16828346813353262744.key) 07:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:18 + git tag --points-at HEAD [Pipeline] } 07:19:18 $ docker exec --env ******** --env ******** f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent -k 07:19:18 unset SSH_AUTH_SOCK; 07:19:18 unset SSH_AGENT_PID; 07:19:18 echo Agent pid 39 killed; 07:19:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:18 [ssh-agent] Looking for ssh-agent implementation... 07:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:18 $ docker exec f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent 07:19:19 SSH_AUTH_SOCK=/tmp/ssh-FizMkq1s28Sc/agent.72 07:19:19 SSH_AGENT_PID=78 07:19:19 Running ssh-add (command line suppressed) 07:19:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1554680550003609804.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1554680550003609804.key) 07:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:19 + git semver init 07:19:19 2024-10-18 07:19:19,609 [run_init] DEBUG init version:0.0.0 force:False 07:19:19 2024-10-18 07:19:19,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 07:19:19 2024-10-18 07:19:19,610 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 07:19:19 2024-10-18 07:19:19,610 [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:19:21 2024-10-18 07:19:20,869 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 07:19:21 2024-10-18 07:19:20,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 07:19:21 2024-10-18 07:19:20,870 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:19:21 2024-10-18 07:19:20,870 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:19:21 3.2.0-dev.23 [Pipeline] } 07:19:21 $ docker exec --env ******** --env ******** f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent -k 07:19:21 unset SSH_AUTH_SOCK; 07:19:21 unset SSH_AGENT_PID; 07:19:21 echo Agent pid 78 killed; 07:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:21 + git semver [Pipeline] } 07:19:21 $ docker stop --time=1 f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 07:19:23 $ docker rm -f --volumes f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:23 Stashed 1 file(s) [Pipeline] echo 07:19:23 [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [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:19:23 provisioning config files... 07:19:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7121138225203965906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:24 ---> ****-login.sh 07:19:24 nexus3.edgexfoundry.org:10001 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 nexus3.edgexfoundry.org:10002 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 nexus3.edgexfoundry.org:10003 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 nexus3.edgexfoundry.org:10004 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 ****.io 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 ---> ****-login.sh ends [Pipeline] } 07:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:19:24 ========================================================= 07:19:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:19:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:25 + 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:19:25 Sending build context to Docker daemon 36.74MB 07:19:25 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:19:25 Step 2/13 : FROM ${BASE} AS builder 07:19:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:25 43c4264eed91: Pulling fs layer 07:19:25 4cc291be95ef: Pulling fs layer 07:19:25 2ac1f1163629: Pulling fs layer 07:19:25 5c3c966382ef: Pulling fs layer 07:19:25 4f4fb700ef54: Pulling fs layer 07:19:25 5c3c966382ef: Waiting 07:19:25 5d5c8e513c77: Pulling fs layer 07:19:25 9f66e0745190: Pulling fs layer 07:19:25 f49a43e4bbc0: Pulling fs layer 07:19:25 561ebcabdf7f: Pulling fs layer 07:19:25 4f4fb700ef54: Waiting 07:19:25 561ebcabdf7f: Waiting 07:19:25 f49a43e4bbc0: Waiting 07:19:25 9f66e0745190: Waiting 07:19:25 4cc291be95ef: Verifying Checksum 07:19:25 4cc291be95ef: Download complete 07:19:25 5c3c966382ef: Verifying Checksum 07:19:25 5c3c966382ef: Download complete 07:19:25 4f4fb700ef54: Verifying Checksum 07:19:25 4f4fb700ef54: Download complete 07:19:25 5d5c8e513c77: Verifying Checksum 07:19:25 5d5c8e513c77: Download complete 07:19:25 43c4264eed91: Verifying Checksum 07:19:25 43c4264eed91: Download complete 07:19:25 9f66e0745190: Verifying Checksum 07:19:25 9f66e0745190: Download complete 07:19:25 43c4264eed91: Pull complete 07:19:25 561ebcabdf7f: Verifying Checksum 07:19:25 561ebcabdf7f: Download complete 07:19:25 4cc291be95ef: Pull complete 07:19:25 2ac1f1163629: Verifying Checksum 07:19:25 2ac1f1163629: Download complete 07:19:26 f49a43e4bbc0: Verifying Checksum 07:19:29 2ac1f1163629: Pull complete 07:19:29 5c3c966382ef: Pull complete 07:19:29 4f4fb700ef54: Pull complete 07:19:29 5d5c8e513c77: Pull complete 07:19:29 9f66e0745190: Pull complete 07:19:31 f49a43e4bbc0: Pull complete 07:19:31 561ebcabdf7f: Pull complete 07:19:31 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:19:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:19:31 ---> 3a752c3f9dda 07:19:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:19:37 ---> Running in 0d1e34b19dca 07:19:37 Removing intermediate container 0d1e34b19dca 07:19:37 ---> 455bd1633529 07:19:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:37 ---> Running in 77b9906bdeee 07:19:37 Removing intermediate container 77b9906bdeee 07:19:37 ---> 9026d236dab3 07:19:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:19:37 ---> Running in 99ca57e37c0f 07:19:37 Removing intermediate container 99ca57e37c0f 07:19:37 ---> e3d0ad2e45fb 07:19:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:19:37 ---> Running in cd9857a830d9 07:19:37 Removing intermediate container cd9857a830d9 07:19:37 ---> 5aa01ca0266f 07:19:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:19:37 ---> Running in a46af906c13a 07:19:37 Removing intermediate container a46af906c13a 07:19:37 ---> bef45455d3b0 07:19:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:37 ---> Running in 7b568d6b2bbb 07:19:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:19:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:19:38 OK: 246 MiB in 54 packages 07:19:38 Still waiting to schedule task 07:19:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23246’ is offline 07:19:38 Removing intermediate container 7b568d6b2bbb 07:19:38 ---> d16aa73a84a0 07:19:38 Step 9/13 : WORKDIR /device-onvif-camera 07:19:38 ---> Running in 7fd89f273d3c 07:19:38 Removing intermediate container 7fd89f273d3c 07:19:38 ---> a66d2a594644 07:19:38 Step 10/13 : COPY go.mod vendor* ./ 07:19:39 ---> 6fd2cf0fb9a5 07:19:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:39 ---> Running in 640eb6e6c180 07:20:49 Removing intermediate container 640eb6e6c180 07:20:49 ---> 02e22539210b 07:20:49 Step 12/13 : COPY . . 07:20:49 ---> fb939783aa8d 07:20:49 Step 13/13 : RUN ${MAKE} 07:20:49 ---> Running in 937473846eee 07:20:49 noop 07:20:49 Removing intermediate container 937473846eee 07:20:49 ---> 3839714a50ee 07:20:49 Successfully built 3839714a50ee 07:20:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:49 + docker inspect -f . ci-base-image-x86_64 07:20:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:49 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:20: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 ******** ci-base-image-x86_64 cat 07:20:49 $ docker top b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:50 + go version 07:20:50 go version go1.23.2 linux/amd64 [Pipeline] } 07:20:50 $ docker stop --time=1 b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 07:20:51 $ docker rm -f --volumes b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:51 + docker inspect -f . ci-base-image-x86_64 07:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:52 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:20:52 $ 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 ******** ci-base-image-x86_64 cat 07:20:52 $ docker top bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:52 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 07:20:53 + make test 07:20:53 go test ./... -coverprofile=coverage.out ./... 07:20:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:21:13 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:21:13 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:21:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements 07:21:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.355s coverage: 86.5% of statements 07:21:25 go vet ./... 07:21:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:32 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:21:32 $ docker stop --time=1 bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c 07:21:36 $ docker rm -f --volumes bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c [Pipeline] // withDockerContainer [Pipeline] sh 07:21:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:38 + ls -al . 07:21:38 total 328 07:21:38 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 07:20 . 07:21:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:18 .. 07:21:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:21 .git 07:21:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:19 .github 07:21:38 -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 07:19 .gitignore 07:21:38 -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 07:19 .golangci.yml 07:21:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 07:19 .semver 07:21:38 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 07:19 Attribution.txt 07:21:38 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 07:19 CHANGELOG.md 07:21:38 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 07:19 Dockerfile 07:21:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 07:19 GOVERNANCE.md 07:21:38 -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 07:19 Jenkinsfile 07:21:38 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 07:19 LICENSE 07:21:38 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 07:19 Makefile 07:21:38 -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 07:19 OWNERS.md 07:21:38 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 07:19 README.md 07:21:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 07:19 VERSION 07:21:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 07:19 bin 07:21:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:19 cmd 07:21:38 -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 07:21 coverage.out 07:21:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:19 doc 07:21:38 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 07:19 go.mod 07:21:38 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 07:19 go.sum 07:21:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:19 internal 07:21:38 -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:38 + 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=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 --label arch=amd64 --label version=3.2.0-dev.23 . 07:21:38 Sending build context to Docker daemon 36.84MB 07:21:38 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:21:38 Step 2/27 : FROM ${BASE} AS builder 07:21:38 ---> 3839714a50ee 07:21:38 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:21:39 ---> Running in ecbd923d003f 07:21:39 Removing intermediate container ecbd923d003f 07:21:39 ---> cb73b729a725 07:21:39 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:39 ---> Running in fda5ff33884f 07:21:39 Removing intermediate container fda5ff33884f 07:21:39 ---> f265cddd6123 07:21:39 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:21:39 ---> Running in c605d6c9b1a3 07:21:39 Removing intermediate container c605d6c9b1a3 07:21:39 ---> e40d878c936c 07:21:39 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:21:39 ---> Running in 4bf5f174872d 07:21:39 Removing intermediate container 4bf5f174872d 07:21:39 ---> 6e7051bf0ff9 07:21:39 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:21:39 ---> Running in 128eadca68c1 07:21:40 Removing intermediate container 128eadca68c1 07:21:40 ---> c863bd34fd12 07:21:40 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:40 ---> Running in f3a9df3503dc 07:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:21:40 OK: 246 MiB in 54 packages 07:21:41 Removing intermediate container f3a9df3503dc 07:21:41 ---> 6757756c8530 07:21:41 Step 9/27 : WORKDIR /device-onvif-camera 07:21:41 ---> Running in a8e8b910eb27 07:21:41 Removing intermediate container a8e8b910eb27 07:21:41 ---> a17b6e5bcce1 07:21:41 Step 10/27 : COPY go.mod vendor* ./ 07:21:41 ---> b04d62897576 07:21:41 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:41 ---> Running in 9dd3b66528b1 07:21:42 Removing intermediate container 9dd3b66528b1 07:21:42 ---> 0a4592fa474f 07:21:42 Step 12/27 : COPY . . 07:21:43 ---> 4ca82e941735 07:21:43 Step 13/27 : RUN ${MAKE} 07:21:43 ---> Running in 7dc6e3f1dcc4 07:21:43 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:21:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23247 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 07:21:52 Running in /w/workspace/device-onvif-camera/209 [Pipeline] { [Pipeline] checkout 07:21:55 The recommended git tool is: git 07:22:00 using credential edgex-jenkins-ssh 07:22:00 Cloning the remote Git repository 07:22:00 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:22:00 > git init /w/workspace/device-onvif-camera/209 # timeout=10 07:22:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:22:00 > git --version # timeout=10 07:22:00 > git --version # 'git version 2.25.1' 07:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:22:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:04 Avoid second fetch 07:22:04 Checking out Revision 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 (main) 07:22:05 Commit message: "Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" 07:22:04 > git config core.sparsecheckout # timeout=10 07:22:04 > git checkout -f 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:09 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:09 Dload Upload Total Spent Left Speed 07:22:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 07:22:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:10 + sudo tee /etc/docker/daemon.new 07:22:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:10 { 07:22:10 "registry-mirrors": [ 07:22:10 "https://nexus3.edgexfoundry.org:10001" 07:22:10 ], 07:22:10 "bip": "10.250.0.254/24", 07:22:10 "hosts": [ 07:22:10 "tcp://0.0.0.0:5555", 07:22:10 "unix:///var/run/docker.sock" 07:22:10 ], 07:22:10 "mtu": 1458, 07:22:10 "selinux-enabled": true, 07:22:10 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:10 } [Pipeline] sh 07:22:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:22:11 + sudo service docker restart 07:22:22 Removing intermediate container 7dc6e3f1dcc4 07:22:22 ---> 5bdda244d3b2 07:22:22 Step 14/27 : FROM alpine:3.20 07:22:22 3.20: Pulling from library/alpine 07:22:22 43c4264eed91: Already exists 07:22:22 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:22:22 Status: Downloaded newer image for alpine:3.20 07:22:22 ---> 91ef0af61f39 07:22:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:22:22 ---> Running in 311b1611e48a 07:22:22 Removing intermediate container 311b1611e48a 07:22:22 ---> be2c003a70a4 07:22:22 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:22:22 ---> Running in 0f4973b045f9 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:22:22 (1/1) Installing dumb-init (1.2.5-r3) 07:22:22 Executing busybox-1.36.1-r29.trigger 07:22:22 OK: 8 MiB in 15 packages 07:22:22 Removing intermediate container 0f4973b045f9 07:22:22 ---> 360027552fc9 07:22:22 Step 17/27 : RUN apk --no-cache upgrade 07:22:22 ---> Running in c9c1a73bf3c6 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:22:22 Upgrading critical system libraries and apk-tools: 07:22:22 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:22:22 Executing busybox-1.36.1-r29.trigger 07:22:22 Continuing the upgrade transaction with new apk-tools: 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:22:22 OK: 8 MiB in 15 packages 07:22:22 Removing intermediate container c9c1a73bf3c6 07:22:22 ---> 32c00580cd68 07:22:22 Step 18/27 : WORKDIR / 07:22:22 ---> Running in a366d1641d64 07:22:22 Removing intermediate container a366d1641d64 07:22:22 ---> 2bb068825dfb 07:22:22 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:22:22 ---> 35eb85bf743e 07:22:22 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:22:22 ---> 05e7596d97ce 07:22:22 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:22:22 ---> 8106d4fd4719 07:22:22 Step 22/27 : EXPOSE 59984 07:22:22 ---> Running in b75a0db60cc0 07:22:22 Removing intermediate container b75a0db60cc0 07:22:22 ---> 939e066784eb 07:22:22 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:22:22 ---> Running in 867e8b618375 07:22:22 Removing intermediate container 867e8b618375 07:22:22 ---> adc92f92877d 07:22:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:22:22 ---> Running in 2550c70d2fc0 07:22:22 Removing intermediate container 2550c70d2fc0 07:22:22 ---> ed20b3e17a6c 07:22:22 Step 25/27 : LABEL arch=amd64 07:22:22 ---> Running in 9cbea8b6bdc0 07:22:22 Removing intermediate container 9cbea8b6bdc0 07:22:22 ---> 4006ebce7d3b 07:22:22 Step 26/27 : LABEL git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:22:22 ---> Running in fcada2f78618 07:22:22 Removing intermediate container fcada2f78618 07:22:22 ---> 20d0bbc7ba8b 07:22:22 Step 27/27 : LABEL version=3.2.0-dev.23 07:22:22 ---> Running in 60a7e7b225c1 07:22:22 Removing intermediate container 60a7e7b225c1 07:22:22 ---> 636ed08b0a22 07:22:22 [Warning] One or more build-args [ARCH] were not consumed 07:22:22 Successfully built 636ed08b0a22 07:22:22 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:22:23 provisioning config files... 07:22:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2437704402244872424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:23 ---> ****-login.sh 07:22:23 nexus3.edgexfoundry.org:10001 07:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:23 Configure a credential helper to remove this warning. See 07:22:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:23 07:22:23 Login Succeeded 07:22:23 nexus3.edgexfoundry.org:10002 07:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:23 Configure a credential helper to remove this warning. See 07:22:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:23 07:22:23 Login Succeeded 07:22:23 nexus3.edgexfoundry.org:10003 07:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:23 Configure a credential helper to remove this warning. See 07:22:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:23 07:22:23 Login Succeeded 07:22:23 nexus3.edgexfoundry.org:10004 07:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:23 Configure a credential helper to remove this warning. See 07:22:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:23 07:22:23 Login Succeeded 07:22:23 ****.io 07:22:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:23 Configure a credential helper to remove this warning. See 07:22:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:23 07:22:23 Login Succeeded 07:22:23 ---> ****-login.sh ends [Pipeline] } 07:22:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:22:24 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 07:22:24 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:22:24 latest 07:22:24 3.2.0-dev.23 07:22:24 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:22:24 main 07:22:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:22:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:22:26 370740e437a8: Preparing 07:22:26 16d2d80b3ecd: Preparing 07:22:26 9cce6d0fc301: Preparing 07:22:26 a3cb51c7d595: Preparing 07:22:26 aaa8471266a2: Preparing 07:22:26 63ca1fbb43ae: Preparing 07:22:26 63ca1fbb43ae: Waiting 07:22:26 aaa8471266a2: Pushed 07:22:26 a3cb51c7d595: Pushed 07:22:26 370740e437a8: Pushed 07:22:26 63ca1fbb43ae: Layer already exists 07:22:26 16d2d80b3ecd: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:29 provisioning config files... 07:22:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/209@tmp/config3604376887294865327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:30 ---> ****-login.sh 07:22:30 nexus3.edgexfoundry.org:10001 07:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:30 Configure a credential helper to remove this warning. See 07:22:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:30 07:22:30 Login Succeeded 07:22:30 nexus3.edgexfoundry.org:10002 07:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:30 Configure a credential helper to remove this warning. See 07:22:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:30 07:22:30 Login Succeeded 07:22:31 nexus3.edgexfoundry.org:10003 07:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:31 Configure a credential helper to remove this warning. See 07:22:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:31 07:22:31 9cce6d0fc301: Pushed 07:22:31 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:31 Login Succeeded 07:22:31 nexus3.edgexfoundry.org:10004 07:22:31 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:22:32 370740e437a8: Preparing 07:22:32 16d2d80b3ecd: Preparing 07:22:32 9cce6d0fc301: Preparing 07:22:32 a3cb51c7d595: Preparing 07:22:32 aaa8471266a2: Preparing 07:22:32 63ca1fbb43ae: Preparing 07:22:32 16d2d80b3ecd: Layer already exists 07:22:32 aaa8471266a2: Layer already exists 07:22:32 370740e437a8: Layer already exists 07:22:32 9cce6d0fc301: Layer already exists 07:22:32 a3cb51c7d595: Layer already exists 07:22:32 63ca1fbb43ae: Layer already exists 07:22:32 latest: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:32 Configure a credential helper to remove this warning. See 07:22:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:32 07:22:32 Login Succeeded 07:22:32 ****.io 07:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:32 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:22:32 Configure a credential helper to remove this warning. See 07:22:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:22:32 07:22:32 Login Succeeded 07:22:32 ---> ****-login.sh ends [Pipeline] } 07:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:22:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 07:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:22:32 370740e437a8: Preparing 07:22:32 16d2d80b3ecd: Preparing 07:22:32 9cce6d0fc301: Preparing 07:22:32 a3cb51c7d595: Preparing 07:22:32 aaa8471266a2: Preparing 07:22:32 63ca1fbb43ae: Preparing 07:22:32 63ca1fbb43ae: Waiting 07:22:32 370740e437a8: Layer already exists 07:22:32 16d2d80b3ecd: Layer already exists 07:22:32 aaa8471266a2: Layer already exists 07:22:32 9cce6d0fc301: Layer already exists 07:22:32 a3cb51c7d595: Layer already exists 07:22:32 63ca1fbb43ae: Layer already exists 07:22:32 3.2.0-dev.23: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 07:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:22:32 ========================================================= 07:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:22:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:33 + 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:22:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:22:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:22:33 370740e437a8: Preparing 07:22:33 16d2d80b3ecd: Preparing 07:22:33 9cce6d0fc301: Preparing 07:22:33 a3cb51c7d595: Preparing 07:22:33 aaa8471266a2: Preparing 07:22:33 63ca1fbb43ae: Preparing 07:22:33 63ca1fbb43ae: Waiting 07:22:33 9cce6d0fc301: Layer already exists 07:22:33 16d2d80b3ecd: Layer already exists 07:22:33 a3cb51c7d595: Layer already exists 07:22:33 aaa8471266a2: Layer already exists 07:22:33 370740e437a8: Layer already exists 07:22:33 63ca1fbb43ae: Layer already exists 07:22:33 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:33 Sending build context to Docker daemon 21.79MB 07:22:33 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:22:33 Step 2/13 : FROM ${BASE} AS builder 07:22:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 07:22:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:22:34 370740e437a8: Preparing 07:22:34 16d2d80b3ecd: Preparing 07:22:34 9cce6d0fc301: Preparing 07:22:34 a3cb51c7d595: Preparing 07:22:34 aaa8471266a2: Preparing 07:22:34 63ca1fbb43ae: Preparing 07:22:34 63ca1fbb43ae: Waiting 07:22:34 9cce6d0fc301: Layer already exists 07:22:34 370740e437a8: Layer already exists 07:22:34 16d2d80b3ecd: Layer already exists 07:22:34 a3cb51c7d595: Layer already exists 07:22:34 aaa8471266a2: Layer already exists 07:22:34 63ca1fbb43ae: Layer already exists 07:22:34 main: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:22:34 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:22:34 cf04c63912e1: Pulling fs layer 07:22:34 55b35a11ae5e: Pulling fs layer 07:22:34 a37a00ec5f00: Pulling fs layer 07:22:34 50b3750afda1: Pulling fs layer 07:22:34 4f4fb700ef54: Pulling fs layer 07:22:34 80978eb59214: Pulling fs layer 07:22:34 c9f46d7d2bd2: Pulling fs layer 07:22:34 c5a475d317c9: Pulling fs layer 07:22:34 50b3750afda1: Waiting 07:22:34 4f4fb700ef54: Waiting 07:22:34 80978eb59214: Waiting 07:22:34 c9f46d7d2bd2: Waiting 07:22:34 c5a475d317c9: Waiting 07:22:34 55b35a11ae5e: Verifying Checksum 07:22:34 55b35a11ae5e: Download complete 07:22:34 50b3750afda1: Verifying Checksum 07:22:34 50b3750afda1: Download complete 07:22:34 4f4fb700ef54: Verifying Checksum 07:22:34 4f4fb700ef54: Download complete 07:22:34 80978eb59214: Verifying Checksum 07:22:34 80978eb59214: Download complete 07:22:34 cf04c63912e1: Verifying Checksum 07:22:34 cf04c63912e1: Download complete [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:34 ===================================================== [Pipeline] echo 07:22:34 taggedImages: 07:22:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:22:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:22:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 07:22:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:22:34 - 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:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:34 07:22:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:34 c5a475d317c9: Verifying Checksum 07:22:34 c5a475d317c9: Download complete 07:22:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:34 latest: Pulling from edgex-lftools-log-publisher 07:22:34 5eb5b503b376: Pulling fs layer 07:22:34 5c69ac0246d0: Pulling fs layer 07:22:34 ec43610c2a17: Pulling fs layer 07:22:34 3a2ae6a8a46f: Pulling fs layer 07:22:34 33b1e0a273af: Pulling fs layer 07:22:34 5d3b04190fa2: Pulling fs layer 07:22:34 2f39f015ded8: Pulling fs layer 07:22:34 3a2ae6a8a46f: Waiting 07:22:34 33b1e0a273af: Waiting 07:22:34 5d3b04190fa2: Waiting 07:22:34 2f39f015ded8: Waiting 07:22:34 5c69ac0246d0: Verifying Checksum 07:22:34 5c69ac0246d0: Download complete 07:22:34 3a2ae6a8a46f: Download complete 07:22:34 33b1e0a273af: Verifying Checksum 07:22:34 33b1e0a273af: Download complete 07:22:34 5d3b04190fa2: Verifying Checksum 07:22:34 5d3b04190fa2: Download complete 07:22:34 ec43610c2a17: Verifying Checksum 07:22:34 ec43610c2a17: Download complete 07:22:35 5eb5b503b376: Verifying Checksum 07:22:35 5eb5b503b376: Download complete 07:22:35 cf04c63912e1: Pull complete 07:22:35 2f39f015ded8: Download complete 07:22:35 55b35a11ae5e: Pull complete 07:22:36 a37a00ec5f00: Verifying Checksum 07:22:36 a37a00ec5f00: Download complete 07:22:36 5eb5b503b376: Pull complete 07:22:36 5c69ac0246d0: Pull complete 07:22:36 c9f46d7d2bd2: Verifying Checksum 07:22:36 c9f46d7d2bd2: Download complete 07:22:36 ec43610c2a17: Pull complete 07:22:36 3a2ae6a8a46f: Pull complete 07:22:37 33b1e0a273af: Pull complete 07:22:37 5d3b04190fa2: Pull complete 07:22:41 2f39f015ded8: Pull complete 07:22:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:41 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:22:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:47 $ docker top 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:47 ---> job-cost.sh 07:22:47 lf-activate-venv: SKIPPING 07:22:47 INFO: No Stack... 07:22:48 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:48 INFO: Archiving Costs [Pipeline] sh 07:22:48 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 07:22:48 + cut -d, -f6 [Pipeline] lock 07:22:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] 07:22:48 Resource [jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] did not exist. Created. 07:22:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:49 + echo total: 0.2199999988079071 [Pipeline] stash 07:22:49 Stashed 1 file(s) [Pipeline] } 07:22:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:49 $ docker stop --time=1 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb 07:22:50 $ docker rm -f --volumes 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:51 a37a00ec5f00: Pull complete 07:22:51 50b3750afda1: Pull complete 07:22:51 4f4fb700ef54: Pull complete 07:22:51 80978eb59214: Pull complete 07:22:58 c9f46d7d2bd2: Pull complete 07:23:00 c5a475d317c9: Pull complete 07:23:00 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:23:00 ---> be29e6b0f0d4 07:23:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:23:01 ---> Running in e2432803335b 07:23:02 Removing intermediate container e2432803335b 07:23:02 ---> d7132010a406 07:23:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:23:02 ---> Running in 098d87198490 07:23:02 Removing intermediate container 098d87198490 07:23:02 ---> bdb6aab68173 07:23:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:23:02 ---> Running in d75651d065bd 07:23:02 Removing intermediate container d75651d065bd 07:23:02 ---> 3b0bf489a1bc 07:23:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:23:03 ---> Running in 4d9c2dd07469 07:23:03 Removing intermediate container 4d9c2dd07469 07:23:03 ---> 9d4354ae8ee3 07:23:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:23:03 ---> Running in 011156fc8cdc 07:23:03 Removing intermediate container 011156fc8cdc 07:23:03 ---> 27b843effcfd 07:23:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:03 ---> Running in f76023fe372c 07:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:23:06 OK: 238 MiB in 54 packages 07:23:07 Removing intermediate container f76023fe372c 07:23:07 ---> 799283e44267 07:23:07 Step 9/13 : WORKDIR /device-onvif-camera 07:23:07 ---> Running in 9f74b3edfab6 07:23:07 Removing intermediate container 9f74b3edfab6 07:23:07 ---> 3d0e2180f624 07:23:07 Step 10/13 : COPY go.mod vendor* ./ 07:23:08 ---> be30ae86f299 07:23:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:08 ---> Running in afb5f7a02611 07:25:00 Removing intermediate container afb5f7a02611 07:25:00 ---> c553ea11dd5c 07:25:00 Step 12/13 : COPY . . 07:25:00 ---> 9ebea333277b 07:25:00 Step 13/13 : RUN ${MAKE} 07:25:00 ---> Running in e926f0c31aa4 07:25:00 noop 07:25:00 Removing intermediate container e926f0c31aa4 07:25:00 ---> 98036fb76682 07:25:00 Successfully built 98036fb76682 07:25:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:00 + docker inspect -f . ci-base-image-arm64 07:25:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:00 prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container 07:25:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@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:25:03 $ docker top 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:03 + go version 07:25:03 go version go1.23.2 linux/arm64 [Pipeline] } 07:25:03 $ docker stop --time=1 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d 07:25:05 $ docker rm -f --volumes 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:06 + docker inspect -f . ci-base-image-arm64 07:25:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:06 prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container 07:25:06 $ 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/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@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:25:07 $ docker top 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/209 [Pipeline] fileExists [Pipeline] sh 07:25:09 + make test 07:25:09 go test ./... -coverprofile=coverage.out ./... 07:25:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:29:24 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:29:24 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:29:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.176s coverage: 31.4% of statements 07:29:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.827s coverage: 86.5% of statements 07:29:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:29:46 go vet ./... 07:30:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:30:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:30:42 ./bin/test-attribution-txt.sh [Pipeline] echo 07:30:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:30:42 $ docker stop --time=1 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 07:30:44 $ docker rm -f --volumes 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 [Pipeline] // withDockerContainer [Pipeline] sh 07:30:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:30:46 Warning: overwriting stash ‘coverage-report’ 07:30:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:30:47 + ls -al . 07:30:47 total 324 07:30:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:25 . 07:30:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 .. 07:30:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:22 .git 07:30:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:22 .github 07:30:47 -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 07:22 .gitignore 07:30:47 -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 07:22 .golangci.yml 07:30:47 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 07:22 Attribution.txt 07:30:47 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 07:22 CHANGELOG.md 07:30:47 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 07:22 Dockerfile 07:30:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 07:22 GOVERNANCE.md 07:30:47 -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 07:22 Jenkinsfile 07:30:47 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 07:22 LICENSE 07:30:47 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 07:22 Makefile 07:30:47 -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 07:22 OWNERS.md 07:30:47 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 07:22 README.md 07:30:47 -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 07:19 VERSION 07:30:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 07:22 bin 07:30:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:22 cmd 07:30:47 -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 07:29 coverage.out 07:30:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 doc 07:30:47 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 07:22 go.mod 07:30:47 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 07:22 go.sum 07:30:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 internal 07:30:47 -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:48 + 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=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 --label arch=arm64 --label version=3.2.0-dev.23 . 07:30:48 Sending build context to Docker daemon 21.88MB 07:30:48 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:30:48 Step 2/27 : FROM ${BASE} AS builder 07:30:48 ---> 98036fb76682 07:30:48 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:30:48 ---> Running in 1c5b740c2c59 07:30:49 Removing intermediate container 1c5b740c2c59 07:30:49 ---> 69ffbc1b0f93 07:30:49 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:30:49 ---> Running in da681b24cd54 07:30:49 Removing intermediate container da681b24cd54 07:30:49 ---> dc219da8c3ec 07:30:49 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:30:49 ---> Running in 03b411fad929 07:30:50 Removing intermediate container 03b411fad929 07:30:50 ---> de474b2bbfbe 07:30:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:30:50 ---> Running in 0dfe9017e8b4 07:30:50 Removing intermediate container 0dfe9017e8b4 07:30:50 ---> b84281125b7e 07:30:50 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:30:50 ---> Running in d4576c1033ac 07:30:50 Removing intermediate container d4576c1033ac 07:30:50 ---> 4e702e03ca69 07:30:50 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:30:50 ---> Running in 73f338e6dcff 07:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:30:54 OK: 238 MiB in 54 packages 07:30:54 Removing intermediate container 73f338e6dcff 07:30:54 ---> db58a9796647 07:30:54 Step 9/27 : WORKDIR /device-onvif-camera 07:30:54 ---> Running in d882b122fac7 07:30:55 Removing intermediate container d882b122fac7 07:30:55 ---> 310f012a1448 07:30:55 Step 10/27 : COPY go.mod vendor* ./ 07:30:55 ---> 705e66dd86cb 07:30:55 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:30:55 ---> Running in 65048eec3daf 07:30:58 Removing intermediate container 65048eec3daf 07:30:58 ---> af0d5c29c1ab 07:30:58 Step 12/27 : COPY . . 07:30:59 ---> bc29b716d4ea 07:30:59 Step 13/27 : RUN ${MAKE} 07:31:00 ---> Running in 79a289647357 07:31:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:34:37 Removing intermediate container 79a289647357 07:34:37 ---> f65a07223268 07:34:37 Step 14/27 : FROM alpine:3.20 07:34:37 3.20: Pulling from library/alpine 07:34:37 cf04c63912e1: Already exists 07:34:37 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:34:37 Status: Downloaded newer image for alpine:3.20 07:34:37 ---> c157a85ed455 07:34:37 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:34:37 ---> Running in eb07333df461 07:34:37 Removing intermediate container eb07333df461 07:34:37 ---> 1d1b1304cee8 07:34:37 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:34:37 ---> Running in c2ecac3e6f19 07:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:34:39 (1/1) Installing dumb-init (1.2.5-r3) 07:34:39 Executing busybox-1.36.1-r29.trigger 07:34:39 OK: 9 MiB in 15 packages 07:34:40 Removing intermediate container c2ecac3e6f19 07:34:40 ---> 108a58877504 07:34:40 Step 17/27 : RUN apk --no-cache upgrade 07:34:40 ---> Running in 843332dab2e5 07:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:34:43 Upgrading critical system libraries and apk-tools: 07:34:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:34:43 Executing busybox-1.36.1-r29.trigger 07:34:43 Continuing the upgrade transaction with new apk-tools: 07:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:34:45 OK: 9 MiB in 15 packages 07:34:45 Removing intermediate container 843332dab2e5 07:34:45 ---> 1a6be6a28e3e 07:34:45 Step 18/27 : WORKDIR / 07:34:45 ---> Running in 2c9736b14f4d 07:34:46 Removing intermediate container 2c9736b14f4d 07:34:46 ---> d0b14a190d73 07:34:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:34:48 ---> 73f5ea3c7621 07:34:48 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:34:48 ---> 7e785d2da8bc 07:34:48 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:34:49 ---> c85aa8c1c9a2 07:34:49 Step 22/27 : EXPOSE 59984 07:34:49 ---> Running in ff3dd3a686b6 07:34:49 Removing intermediate container ff3dd3a686b6 07:34:49 ---> 2ea91ea46aa7 07:34:49 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:34:49 ---> Running in f9b38d95d581 07:34:49 Removing intermediate container f9b38d95d581 07:34:49 ---> 0637288510ac 07:34:49 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:34:50 ---> Running in ba9842ab9771 07:34:50 Removing intermediate container ba9842ab9771 07:34:50 ---> 12b05ff0750d 07:34:50 Step 25/27 : LABEL arch=arm64 07:34:50 ---> Running in 7f6d4cfeb5bf 07:34:50 Removing intermediate container 7f6d4cfeb5bf 07:34:50 ---> 4865ecc23e36 07:34:50 Step 26/27 : LABEL git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:34:50 ---> Running in c9e22e2f1e0e 07:34:50 Removing intermediate container c9e22e2f1e0e 07:34:50 ---> 58f1f7cf5ab3 07:34:50 Step 27/27 : LABEL version=3.2.0-dev.23 07:34:50 ---> Running in 3d3165918cd5 07:34:51 Removing intermediate container 3d3165918cd5 07:34:51 ---> 9121bb5fb45d 07:34:51 [Warning] One or more build-args [ARCH] were not consumed 07:34:51 Successfully built 9121bb5fb45d 07:34:51 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:51 provisioning config files... 07:34:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/209@tmp/config216498324583649380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:51 ---> ****-login.sh 07:34:51 nexus3.edgexfoundry.org:10001 07:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:52 Configure a credential helper to remove this warning. See 07:34:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:52 07:34:52 Login Succeeded 07:34:52 nexus3.edgexfoundry.org:10002 07:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:53 Configure a credential helper to remove this warning. See 07:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:53 07:34:53 Login Succeeded 07:34:53 nexus3.edgexfoundry.org:10003 07:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:53 Configure a credential helper to remove this warning. See 07:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:53 07:34:53 Login Succeeded 07:34:53 nexus3.edgexfoundry.org:10004 07:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:54 Configure a credential helper to remove this warning. See 07:34:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:54 07:34:54 Login Succeeded 07:34:54 ****.io 07:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:54 Configure a credential helper to remove this warning. See 07:34:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:54 07:34:54 Login Succeeded 07:34:54 ---> ****-login.sh ends [Pipeline] } 07:34:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:34:54 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 07:34:54 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:34:54 latest 07:34:54 3.2.0-dev.23 07:34:54 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:34:54 main 07:34:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:55 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:34:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:34:55 68426573f278: Preparing 07:34:55 21ff49b6e875: Preparing 07:34:55 e6f2eaa5d42b: Preparing 07:34:55 7158230c60ce: Preparing 07:34:55 174331cd719c: Preparing 07:34:55 16113d51b718: Preparing 07:34:55 16113d51b718: Waiting 07:34:55 68426573f278: Pushed 07:34:55 174331cd719c: Pushed 07:34:55 21ff49b6e875: Pushed 07:34:55 16113d51b718: Layer already exists 07:34:55 7158230c60ce: Pushed 07:35:10 e6f2eaa5d42b: Pushed 07:35:10 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:35:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:35:11 68426573f278: Preparing 07:35:11 21ff49b6e875: Preparing 07:35:11 e6f2eaa5d42b: Preparing 07:35:11 7158230c60ce: Preparing 07:35:11 174331cd719c: Preparing 07:35:11 16113d51b718: Preparing 07:35:11 16113d51b718: Waiting 07:35:11 e6f2eaa5d42b: Layer already exists 07:35:11 68426573f278: Layer already exists 07:35:11 7158230c60ce: Layer already exists 07:35:11 174331cd719c: Layer already exists 07:35:11 21ff49b6e875: Layer already exists 07:35:11 16113d51b718: Layer already exists 07:35:11 latest: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:11 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 07:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:35:12 68426573f278: Preparing 07:35:12 21ff49b6e875: Preparing 07:35:12 e6f2eaa5d42b: Preparing 07:35:12 7158230c60ce: Preparing 07:35:12 174331cd719c: Preparing 07:35:12 16113d51b718: Preparing 07:35:12 16113d51b718: Waiting 07:35:12 21ff49b6e875: Layer already exists 07:35:12 7158230c60ce: Layer already exists 07:35:12 68426573f278: Layer already exists 07:35:12 174331cd719c: Layer already exists 07:35:12 e6f2eaa5d42b: Layer already exists 07:35:12 16113d51b718: Layer already exists 07:35:12 3.2.0-dev.23: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:35:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:35:13 68426573f278: Preparing 07:35:13 21ff49b6e875: Preparing 07:35:13 e6f2eaa5d42b: Preparing 07:35:13 7158230c60ce: Preparing 07:35:13 174331cd719c: Preparing 07:35:13 16113d51b718: Preparing 07:35:13 16113d51b718: Waiting 07:35:13 21ff49b6e875: Layer already exists 07:35:13 174331cd719c: Layer already exists 07:35:13 7158230c60ce: Layer already exists 07:35:13 e6f2eaa5d42b: Layer already exists 07:35:13 68426573f278: Layer already exists 07:35:13 16113d51b718: Layer already exists 07:35:13 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 07:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:35:14 68426573f278: Preparing 07:35:14 21ff49b6e875: Preparing 07:35:14 e6f2eaa5d42b: Preparing 07:35:14 7158230c60ce: Preparing 07:35:14 174331cd719c: Preparing 07:35:14 16113d51b718: Preparing 07:35:14 16113d51b718: Waiting 07:35:14 e6f2eaa5d42b: Layer already exists 07:35:14 174331cd719c: Layer already exists 07:35:14 21ff49b6e875: Layer already exists 07:35:14 68426573f278: Layer already exists 07:35:14 7158230c60ce: Layer already exists 07:35:14 16113d51b718: Layer already exists 07:35:14 main: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:14 ===================================================== [Pipeline] echo 07:35:14 taggedImages: 07:35:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 07:35:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:35:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 07:35:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 07:35:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:15 07:35:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:15 arm64: Pulling from edgex-lftools-log-publisher 07:35:15 8998bd30e6a1: Pulling fs layer 07:35:15 04944245beec: Pulling fs layer 07:35:15 699f458cf7ca: Pulling fs layer 07:35:15 765212b225bb: Pulling fs layer 07:35:15 f23df028b6ca: Pulling fs layer 07:35:15 d65c8cfc05b1: Pulling fs layer 07:35:15 2437ff75d9bd: Pulling fs layer 07:35:15 f23df028b6ca: Waiting 07:35:15 d65c8cfc05b1: Waiting 07:35:15 2437ff75d9bd: Waiting 07:35:15 765212b225bb: Waiting 07:35:15 04944245beec: Verifying Checksum 07:35:15 04944245beec: Download complete 07:35:15 765212b225bb: Verifying Checksum 07:35:15 765212b225bb: Download complete 07:35:15 f23df028b6ca: Download complete 07:35:15 d65c8cfc05b1: Verifying Checksum 07:35:15 d65c8cfc05b1: Download complete 07:35:15 699f458cf7ca: Verifying Checksum 07:35:15 699f458cf7ca: Download complete 07:35:16 8998bd30e6a1: Verifying Checksum 07:35:16 8998bd30e6a1: Download complete 07:35:18 2437ff75d9bd: Verifying Checksum 07:35:18 2437ff75d9bd: Download complete 07:35:20 8998bd30e6a1: Pull complete 07:35:21 04944245beec: Pull complete 07:35:22 699f458cf7ca: Pull complete 07:35:22 765212b225bb: Pull complete 07:35:23 f23df028b6ca: Pull complete 07:35:23 d65c8cfc05b1: Pull complete 07:35:42 2437ff75d9bd: Pull complete 07:35:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:35:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:42 prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container 07:35:42 $ 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/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@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 07:35:45 $ docker top 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:45 ---> job-cost.sh 07:35:45 lf-activate-venv: SKIPPING 07:35:45 INFO: No Stack... 07:35:46 INFO: Retrieving Pricing Info for: v3-standard-4 07:35:47 INFO: Archiving Costs [Pipeline] sh 07:35:47 + cat /w/workspace/device-onvif-camera/209/archives/cost.csv 07:35:47 + cut -d, -f6 [Pipeline] lock 07:35:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] 07:35:47 Resource [jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] did not exist. Created. 07:35:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:35:48 /w/workspace/device-onvif-camera/209@tmp/durable-db4c8504/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:35:49 + echo total: 0.10999999940395355 [Pipeline] stash 07:35:49 Warning: overwriting stash ‘stack-cost’ 07:35:49 Stashed 1 file(s) [Pipeline] } 07:35:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] // lock [Pipeline] } 07:35:49 $ docker stop --time=1 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd 07:35:50 $ docker rm -f --volumes 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:35:51 provisioning config files... 07:35:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18360720863206928943tmp [Pipeline] { [Pipeline] sh 07:35:51 + set +x 07:35:51 + curl -s https://codecov.io/bash 07:35:51 + bash -s -- 07:35:51 07:35:51 _____ _ 07:35:51 / ____| | | 07:35:51 | | ___ __| | ___ ___ _____ __ 07:35:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:35:51 | |___| (_) | (_| | __/ (_| (_) \ V / 07:35:51 \_____\___/ \__,_|\___|\___\___/ \_/ 07:35:51 Bash-1.0.6 07:35:51 07:35:51 07:35:51 ==> git version 2.25.1 found 07:35:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:35:51 Release-Date: 2020-01-08 07:35:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:35:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:35:51 ==> Jenkins CI detected. 07:35:51 current dir:  /w/workspace/foundry_device-onvif-camera_main 07:35:51 project root: . 07:35:51 --> token set from env 07:35:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:35:51 ==> Running gcov in . (disable via -X gcov) 07:35:51 ==> Python coveragepy not found 07:35:51 ==> Searching for coverage reports in: 07:35:51 + . 07:35:51 -> Found 1 reports 07:35:51 ==> Detecting git/mercurial file structure 07:35:51 ==> Reading reports 07:35:51 + ./coverage.out bytes=92292 07:35:51 ==> Appending adjustments 07:35:51 https://docs.codecov.io/docs/fixing-reports 07:35:52 + Found adjustments 07:35:52 ==> Gzipping contents 07:35:52 12K /tmp/codecov.StNPej.gz 07:35:52 ==> Uploading reports 07:35:52 url: https://codecov.io 07:35:52 query: branch=main&commit=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F209%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:35:52 -> Pinging Codecov 07:35:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F209%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:35:52 -> Uploading to 07:35:52 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/39018d7ded4a28dbd8d8757660121fa1d6e0fcb6/030e5c70-0d9b-4829-9fd4-0e2f4ba8b04a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T073552Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=68ad6b1ddf879a970a039a9f4ce1016abfef6ab2375e2417b2aae7d173ff3852 07:35:52 % Total % Received % Xferd Average Speed Time Time Time Current 07:35:52 Dload Upload Total Spent Left Speed 07:35:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 53088 --:--:-- --:--:-- --:--:-- 53088 07:35:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } 07:35:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:35:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:35:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:35:53 07:35:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:35:53 latest: Pulling from edgex-devops/edgex-snyk-go 07:35:53 43c4264eed91: Already exists 07:35:53 4cc291be95ef: Already exists 07:35:53 2ac1f1163629: Already exists 07:35:53 5c3c966382ef: Already exists 07:35:53 4f4fb700ef54: Already exists 07:35:53 d9c7d2e4e75e: Pulling fs layer 07:35:53 9c3e1370e548: Pulling fs layer 07:35:53 d9c7d2e4e75e: Verifying Checksum 07:35:53 d9c7d2e4e75e: Download complete 07:35:53 d9c7d2e4e75e: Pull complete 07:35:54 9c3e1370e548: Verifying Checksum 07:35:54 9c3e1370e548: Download complete 07:35:57 9c3e1370e548: Pull complete 07:35:57 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:35:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:57 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:35:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:36:00 $ docker top 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:00 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 07:36:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 07:36:01 + set -o pipefail 07:36:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 07:36:09 07:36:09 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 07:36:09 07:36:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/49133dab-6900-4176-8d87-a428ebe5e0cc 07:36:09 07:36:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:36:09 07:36:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:36:09 07:36:09 07:36:09 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:36:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:36:09 $ docker stop --time=1 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 07:36:15 $ docker rm -f --volumes 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 07:36:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:15 provisioning config files... 07:36:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14887553929956878947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:16 --> edgex-publish-swagger.sh 07:36:16 === Publish doc/openapi/v3 API === 07:36:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 07:36:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 07:36:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:16 Dload Upload Total Spent Left Speed 07:36:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 257 802k --:--:-- --:--:-- --:--:-- 802k 07:36:16 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 07:36:16 [Pipeline] } 07:36:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:17 + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] sh 07:36:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:17 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:36:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:18 $ docker top 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 -eo pid,comm 07:36:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:36:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:18 [ssh-agent] Looking for ssh-agent implementation... 07:36:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:18 $ docker exec 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 ssh-agent 07:36:18 SSH_AUTH_SOCK=/tmp/ssh-BAFWKOIN2mfz/agent.32 07:36:18 SSH_AGENT_PID=38 07:36:18 Running ssh-add (command line suppressed) 07:36:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9363851767263798184.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9363851767263798184.key) 07:36:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:19 + git semver tag 07:36:19 2024-10-18 07:36:19,563 [run_tag] DEBUG tag force:False 07:36:19 2024-10-18 07:36:19,563 [check_head_tag] DEBUG check head tag 07:36:19 2024-10-18 07:36:19,565 [execute] INFO git cat-file --batch-check 07:36:19 2024-10-18 07:36:19,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:36:19 2024-10-18 07:36:19,569 [execute] INFO git cat-file --batch 07:36:19 2024-10-18 07:36:19,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:36:19 2024-10-18 07:36:19,588 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:19 2024-10-18 07:36:19,588 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 07:36:19 2024-10-18 07:36:19,589 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:36:19 2024-10-18 07:36:19,593 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:19 3.2.0-dev.23 [Pipeline] } 07:36:19 $ docker exec --env ******** --env ******** 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 ssh-agent -k 07:36:19 unset SSH_AUTH_SOCK; 07:36:19 unset SSH_AGENT_PID; 07:36:19 echo Agent pid 38 killed; 07:36:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:20 + git semver [Pipeline] } 07:36:20 $ docker stop --time=1 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 07:36:21 $ docker rm -f --volumes 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:36:22 07:36:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:36:22 0.23.1-centos7: Pulling from edgex-lftools 07:36:22 ab5ef0e58194: Pulling fs layer 07:36:22 9712f1f96733: Pulling fs layer 07:36:22 63f879dbbcfc: Pulling fs layer 07:36:22 0d9ebad4ef96: Pulling fs layer 07:36:22 e9a5061849ea: Pulling fs layer 07:36:22 d747dcd14b5f: Pulling fs layer 07:36:22 2de7ff778b66: Pulling fs layer 07:36:22 e9a5061849ea: Waiting 07:36:22 d747dcd14b5f: Waiting 07:36:22 2de7ff778b66: Waiting 07:36:22 0d9ebad4ef96: Waiting 07:36:22 9712f1f96733: Verifying Checksum 07:36:22 63f879dbbcfc: Verifying Checksum 07:36:22 63f879dbbcfc: Download complete 07:36:22 e9a5061849ea: Verifying Checksum 07:36:22 e9a5061849ea: Download complete 07:36:22 d747dcd14b5f: Verifying Checksum 07:36:22 d747dcd14b5f: Download complete 07:36:22 0d9ebad4ef96: Verifying Checksum 07:36:22 0d9ebad4ef96: Download complete 07:36:22 ab5ef0e58194: Verifying Checksum 07:36:22 ab5ef0e58194: Download complete 07:36:22 2de7ff778b66: Verifying Checksum 07:36:22 2de7ff778b66: Download complete 07:36:26 ab5ef0e58194: Pull complete 07:36:26 9712f1f96733: Pull complete 07:36:26 63f879dbbcfc: Pull complete 07:36:30 0d9ebad4ef96: Pull complete 07:36:30 e9a5061849ea: Pull complete 07:36:30 d747dcd14b5f: Pull complete 07:36:31 2de7ff778b66: Pull complete 07:36:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:36:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:31 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:36:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:36:39 $ docker top c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:36:39 provisioning config files... 07:36:39 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11355503279742740872tmp 07:36:39 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8633189317955463615tmp 07:36:39 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14151328356583298317tmp [Pipeline] { [Pipeline] echo 07:36:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:36:39 ---> sigul-configuration.sh 07:36:39 gpg: directory `/root/.gnupg' created 07:36:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:36:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:36:39 gpg: keyring `/root/.gnupg/secring.gpg' created 07:36:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:36:39 gpg: CAST5 encrypted data 07:36:39 gpg: encrypted with 1 passphrase 07:36:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:36:40 + mkdir /home/jenkins 07:36:40 + mkdir /home/jenkins/sigul [Pipeline] sh 07:36:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:36:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:36:40 ---> sigul-install.sh 07:36:40 Sigul already installed; skipping installation. [Pipeline] sh 07:36:41 + git tag --list 07:36:41 v0.0.0 07:36:41 v2.2.0 07:36:41 v2.3.0 07:36:41 v2.3.1 07:36:41 v3.0 07:36:41 v3.0.0 07:36:41 v3.1 07:36:41 v3.1.0 07:36:41 v3.1.0-dev.1 07:36:41 v3.1.0-dev.10 07:36:41 v3.1.0-dev.11 07:36:41 v3.1.0-dev.12 07:36:41 v3.1.0-dev.13 07:36:41 v3.1.0-dev.14 07:36:41 v3.1.0-dev.15 07:36:41 v3.1.0-dev.16 07:36:41 v3.1.0-dev.17 07:36:41 v3.1.0-dev.18 07:36:41 v3.1.0-dev.19 07:36:41 v3.1.0-dev.2 07:36:41 v3.1.0-dev.20 07:36:41 v3.1.0-dev.21 07:36:41 v3.1.0-dev.22 07:36:41 v3.1.0-dev.23 07:36:41 v3.1.0-dev.24 07:36:41 v3.1.0-dev.25 07:36:41 v3.1.0-dev.26 07:36:41 v3.1.0-dev.27 07:36:41 v3.1.0-dev.28 07:36:41 v3.1.0-dev.3 07:36:41 v3.1.0-dev.4 07:36:41 v3.1.0-dev.5 07:36:41 v3.1.0-dev.6 07:36:41 v3.1.0-dev.7 07:36:41 v3.1.0-dev.8 07:36:41 v3.1.0-dev.9 07:36:41 v3.1.1 07:36:41 v3.2.0-dev.1 07:36:41 v3.2.0-dev.10 07:36:41 v3.2.0-dev.11 07:36:41 v3.2.0-dev.12 07:36:41 v3.2.0-dev.13 07:36:41 v3.2.0-dev.14 07:36:41 v3.2.0-dev.15 07:36:41 v3.2.0-dev.16 07:36:41 v3.2.0-dev.17 07:36:41 v3.2.0-dev.18 07:36:41 v3.2.0-dev.19 07:36:41 v3.2.0-dev.2 07:36:41 v3.2.0-dev.20 07:36:41 v3.2.0-dev.21 07:36:41 v3.2.0-dev.22 07:36:41 v3.2.0-dev.23 07:36:41 v3.2.0-dev.3 07:36:41 v3.2.0-dev.4 07:36:41 v3.2.0-dev.5 07:36:41 v3.2.0-dev.6 07:36:41 v3.2.0-dev.7 07:36:41 v3.2.0-dev.8 07:36:41 v3.2.0-dev.9 [Pipeline] sh 07:36:41 + lftools sign git-tag v3.2.0-dev.23 07:36:41 Signing Git tag with Sigul... 07:36:41 Signing v3.2.0-dev.23 [Pipeline] echo 07:36:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:36:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:36:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:36:42 $ docker stop --time=1 c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb 07:36:43 $ docker rm -f --volumes c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:36:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:44 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:36:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:44 $ docker top de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 -eo pid,comm 07:36:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:36:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:45 [ssh-agent] Looking for ssh-agent implementation... 07:36:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:45 $ docker exec de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 ssh-agent 07:36:45 SSH_AUTH_SOCK=/tmp/ssh-hjTpDwlW8i9U/agent.32 07:36:45 SSH_AGENT_PID=38 07:36:45 Running ssh-add (command line suppressed) 07:36:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16194128167570345261.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16194128167570345261.key) 07:36:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:45 + git semver bump pre 07:36:45 2024-10-18 07:36:45,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:45 2024-10-18 07:36:45,811 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev 07:36:45 2024-10-18 07:36:45,811 [bump_version] DEBUG bumped version:3.2.0-dev.24 07:36:45 2024-10-18 07:36:45,811 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 07:36:45 2024-10-18 07:36:45,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:45 2024-10-18 07:36:45,811 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:45 2024-10-18 07:36:45,813 [execute] INFO git cat-file --batch-check 07:36:45 2024-10-18 07:36:45,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:36:45 2024-10-18 07:36:45,819 [execute] INFO git cat-file --batch 07:36:45 2024-10-18 07:36:45,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:36:45 2024-10-18 07:36:45,824 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:45 3.2.0-dev.24 [Pipeline] } 07:36:45 $ docker exec --env ******** --env ******** de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 ssh-agent -k 07:36:46 unset SSH_AUTH_SOCK; 07:36:46 unset SSH_AGENT_PID; 07:36:46 echo Agent pid 38 killed; 07:36:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:46 + git semver [Pipeline] } 07:36:46 $ docker stop --time=1 de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 07:36:47 $ docker rm -f --volumes de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:48 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:36:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:48 $ docker top 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 -eo pid,comm 07:36:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:36:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:49 [ssh-agent] Looking for ssh-agent implementation... 07:36:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:49 $ docker exec 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 ssh-agent 07:36:49 SSH_AUTH_SOCK=/tmp/ssh-bwRbRuc2mEKk/agent.32 07:36:49 SSH_AGENT_PID=39 07:36:49 Running ssh-add (command line suppressed) 07:36:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9766807196625061378.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9766807196625061378.key) 07:36:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:49 + git semver push 07:36:50 2024-10-18 07:36:49,965 [run_push] DEBUG push 07:36:50 2024-10-18 07:36:49,966 [execute] INFO git cat-file --batch-check 07:36:50 2024-10-18 07:36:49,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:36:50 2024-10-18 07:36:49,973 [execute] INFO git rev-list 424aaec24431e47d93c0bae65254344d1e70dbc2 -- 07:36:50 2024-10-18 07:36:49,973 [execute] DEBUG Popen(['git', 'rev-list', '424aaec24431e47d93c0bae65254344d1e70dbc2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:36:50 2024-10-18 07:36:49,984 [execute] INFO git fetch -v origin 07:36:50 2024-10-18 07:36:49,984 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 07:36:50 2024-10-18 07:36:50,434 [run_push] DEBUG no remote changes detected 07:36:50 2024-10-18 07:36:50,435 [execute] INFO git push origin semver 07:36:50 2024-10-18 07:36:50,435 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:36:51 2024-10-18 07:36:51,235 [run_push] DEBUG push all version tags 07:36:51 2024-10-18 07:36:51,236 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:36:51 2024-10-18 07:36:51,236 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:36:52 2024-10-18 07:36:51,875 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:36:52 3.2.0-dev.24 [Pipeline] } 07:36:52 $ docker exec --env ******** --env ******** 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 ssh-agent -k 07:36:52 unset SSH_AUTH_SOCK; 07:36:52 unset SSH_AGENT_PID; 07:36:52 echo Agent pid 39 killed; 07:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:36:52 + git semver [Pipeline] } 07:36:52 $ docker stop --time=1 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 07:36:54 $ docker rm -f --volumes 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:36:54 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 07:36:54 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:36:54 total 16 07:36:54 drwxr-xr-x 3 root root 4096 Oct 18 07:22 . 07:36:54 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 07:36 .. 07:36:54 drwxr-xr-x 2 root root 4096 Oct 18 07:22 cost 07:36:54 -rw-r--r-- 1 root root 91 Oct 18 07:22 cost.csv 07:36:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 07:36:54 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:36:54 total 16 07:36:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 07:22 . 07:36:54 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 07:36 .. 07:36:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 07:22 cost 07:36:54 -rw-r--r-- 1 jenkins jenkins 91 Oct 18 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:36:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:36:55 ---> package-listing.sh 07:36:55 ++ facter osfamily 07:36:55 ++ tr '[:upper:]' '[:lower:]' 07:36:56 + OS_FAMILY=debian 07:36:56 + workspace=/w/workspace/foundry_device-onvif-camera_main 07:36:56 + START_PACKAGES=/tmp/packages_start.txt 07:36:56 + END_PACKAGES=/tmp/packages_end.txt 07:36:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:36:56 + PACKAGES=/tmp/packages_start.txt 07:36:56 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:36:56 + PACKAGES=/tmp/packages_end.txt 07:36:56 + case "${OS_FAMILY}" in 07:36:56 + dpkg -l 07:36:56 + grep '^ii' 07:36:56 + '[' -f /tmp/packages_start.txt ']' 07:36:56 + '[' -f /tmp/packages_end.txt ']' 07:36:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:36:56 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:36:56 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 07:36:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 07:36:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:36:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:57 prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container 07:36:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:36:58 $ docker top 9876578b1450b86b943d3473fe3d8cd177cea54252c50c5a96f495ce3d518821 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:59 + touch /tmp/pre-build-complete [Pipeline] sh 07:36:59 + mkdir -p /var/log/sysstat [Pipeline] sh 07:37:00 + ls /var/log/sa-host 07:37:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:00 provisioning config files... 07:37:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4959345410713084812tmp [Pipeline] { [Pipeline] echo 07:37:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:37:00 ---> create-netrc.sh [Pipeline] } 07:37:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:37:00 ---> python-tools-install.sh [Pipeline] echo 07:37:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:37:01 ---> sudo-logs.sh 07:37:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:37:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:37:01 ---> job-cost.sh 07:37:01 lf-activate-venv: SKIPPING 07:37:01 DEBUG: total: 0.2199999988079071 07:37:01 INFO: Retrieving Stack Cost... 07:37:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:37:02 INFO: Archiving Costs [Pipeline] echo 07:37:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:37:02 ---> logs-deploy.sh 07:37:02 lf-activate-venv: SKIPPING 07:37:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/209 07:37:02 INFO: archiving workspace using pattern(s): 07:37:03 Archives upload complete. 07:37:03 INFO: archiving logs to Nexus