Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 124a5f1bb5d04e19c2b309127a124eb76166dd36 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-ssh10911018563718379873.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-ssh2122550288192994603.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-ssh4917326885190683744.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-ssh8290912468008451257.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-ssh1270493410274879701.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26089 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 124a5f1bb5d04e19c2b309127a124eb76166dd36 (main) Commit message: "Merge pull request #473 from weichou1229/issue-444" > git config core.sparsecheckout # timeout=10 > git checkout -f 124a5f1bb5d04e19c2b309127a124eb76166dd36 # timeout=10 > git rev-list --no-walk 10f464ab2b54ff8e32a589214b3c8e1fea4bea02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:47:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:47:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:47:29 ========================================================= 02:47:29 EdgeX Global Pipelines Version Info 02:47:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:47:29 ------------------- 02:47:29 stable info: 02:47:29 ------------------- 02:47:29 Commited By: Ginny Guan ginny@iotechsys.com 02:47:29 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 02:47:29 Message: update stable to v1.0.265 02:47:30 ------------------- 02:47:30 experimental info: 02:47:30 ------------------- 02:47:30 Commited By: Cherry Wang cherry@iotechsys.com 02:47:30 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:47:30 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:47:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 124a5f1 [Pipeline] echo 02:47:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:31 provisioning config files... 02:47:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15769476918947111884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:31 ---> ****-login.sh 02:47:31 nexus3.edgexfoundry.org:10001 02:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:32 Configure a credential helper to remove this warning. See 02:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:32 02:47:32 Login Succeeded 02:47:32 nexus3.edgexfoundry.org:10002 02:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:32 Configure a credential helper to remove this warning. See 02:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:32 02:47:32 Login Succeeded 02:47:32 nexus3.edgexfoundry.org:10003 02:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:32 Configure a credential helper to remove this warning. See 02:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:32 02:47:32 Login Succeeded 02:47:32 nexus3.edgexfoundry.org:10004 02:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:32 Configure a credential helper to remove this warning. See 02:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:32 02:47:32 Login Succeeded 02:47:32 ****.io 02:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:32 Configure a credential helper to remove this warning. See 02:47:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:32 02:47:32 Login Succeeded 02:47:32 ---> ****-login.sh ends [Pipeline] } 02:47:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:47:33 + git rev-list -1 --merges 124a5f1bb5d04e19c2b309127a124eb76166dd36~1..124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] echo 02:47:33 -----------> git rev-list -1 --merges 124a5f1bb5d04e19c2b309127a124eb76166dd36~1..124a5f1bb5d04e19c2b309127a124eb76166dd36 124a5f1bb5d04e19c2b309127a124eb76166dd36 02:47:33 124a5f1bb5d04e19c2b309127a124eb76166dd36 [false] [Pipeline] sh 02:47:33 + git log --format=format:%s -1 124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] echo 02:47:33 ========================================================= 02:47:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:47:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:33 + git log --format=format:%s -1 124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] echo 02:47:33 [semverPrep] GIT_COMMIT: 124a5f1bb5d04e19c2b309127a124eb76166dd36, Commit Message: Merge pull request #473 from weichou1229/issue-444 [Pipeline] echo 02:47:33 [semverPrep] This is not a build commit. [Pipeline] sh 02:47:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:47:34 + grep -v github /etc/ssh/ssh_known_hosts 02:47:34 + [ -e /tmp/ssh_known_hosts ] 02:47:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:47:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:47:34 + sudo tee -a /etc/ssh/ssh_known_hosts 02:47:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:47:34 02:47:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:47:34 0.1.4: Pulling from edgex-devops/py-git-semver 02:47:34 b85a868b505f: Pulling fs layer 02:47:34 e2be974225ed: Pulling fs layer 02:47:34 339a4e72a1f5: Pulling fs layer 02:47:34 988bab9f4d93: Pulling fs layer 02:47:34 1469e6f7b9e6: Pulling fs layer 02:47:34 eaf3925da568: Pulling fs layer 02:47:34 bab4dde63d76: Pulling fs layer 02:47:34 bde34c3a00c8: Pulling fs layer 02:47:34 b352a97aabf1: Pulling fs layer 02:47:34 4872d77fe225: Pulling fs layer 02:47:34 5851b861e8e6: Pulling fs layer 02:47:34 bde34c3a00c8: Waiting 02:47:34 b352a97aabf1: Waiting 02:47:34 4872d77fe225: Waiting 02:47:34 1469e6f7b9e6: Waiting 02:47:34 5851b861e8e6: Waiting 02:47:34 eaf3925da568: Waiting 02:47:34 bab4dde63d76: Waiting 02:47:34 e2be974225ed: Verifying Checksum 02:47:34 e2be974225ed: Download complete 02:47:34 988bab9f4d93: Verifying Checksum 02:47:34 988bab9f4d93: Download complete 02:47:35 1469e6f7b9e6: Verifying Checksum 02:47:35 1469e6f7b9e6: Download complete 02:47:35 eaf3925da568: Verifying Checksum 02:47:35 eaf3925da568: Download complete 02:47:35 339a4e72a1f5: Verifying Checksum 02:47:35 339a4e72a1f5: Download complete 02:47:35 bde34c3a00c8: Verifying Checksum 02:47:35 bde34c3a00c8: Download complete 02:47:35 b352a97aabf1: Download complete 02:47:35 4872d77fe225: Verifying Checksum 02:47:35 4872d77fe225: Download complete 02:47:35 5851b861e8e6: Verifying Checksum 02:47:35 5851b861e8e6: Download complete 02:47:35 b85a868b505f: Verifying Checksum 02:47:35 b85a868b505f: Download complete 02:47:35 bab4dde63d76: Verifying Checksum 02:47:35 bab4dde63d76: Download complete 02:47:36 b85a868b505f: Pull complete 02:47:36 e2be974225ed: Pull complete 02:47:37 339a4e72a1f5: Pull complete 02:47:37 988bab9f4d93: Pull complete 02:47:37 1469e6f7b9e6: Pull complete 02:47:37 eaf3925da568: Pull complete 02:47:39 bab4dde63d76: Pull complete 02:47:39 bde34c3a00c8: Pull complete 02:47:39 b352a97aabf1: Pull complete 02:47:39 4872d77fe225: Pull complete 02:47:39 5851b861e8e6: Pull complete 02:47:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:47:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:47:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:39 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 02:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:47:42 $ docker top 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 -eo pid,comm 02:47:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:47:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:47:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:47:42 [ssh-agent] Looking for ssh-agent implementation... 02:47:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:47:43 $ docker exec 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 ssh-agent 02:47:43 SSH_AUTH_SOCK=/tmp/ssh-g86AC26i75Z9/agent.33 02:47:43 SSH_AGENT_PID=39 02:47:43 Running ssh-add (command line suppressed) 02:47:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8614310439281827866.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8614310439281827866.key) 02:47:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:47:43 + git tag --points-at HEAD [Pipeline] } 02:47:43 $ docker exec --env ******** --env ******** 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 ssh-agent -k 02:47:43 unset SSH_AUTH_SOCK; 02:47:43 unset SSH_AGENT_PID; 02:47:43 echo Agent pid 39 killed; 02:47:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:47:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:47:43 [ssh-agent] Looking for ssh-agent implementation... 02:47:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:47:43 $ docker exec 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 ssh-agent 02:47:43 SSH_AUTH_SOCK=/tmp/ssh-ZUTqMs6CSvJG/agent.72 02:47:43 SSH_AGENT_PID=78 02:47:43 Running ssh-add (command line suppressed) 02:47:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6739274145119538519.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6739274145119538519.key) 02:47:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:47:44 + git semver init 02:47:44 2024-11-11 02:47:44,578 [run_init] DEBUG init version:0.0.0 force:False 02:47:44 2024-11-11 02:47:44,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 02:47:44 2024-11-11 02:47:44,579 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 02:47:44 2024-11-11 02:47:44,579 [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) 02:47:46 2024-11-11 02:47:45,747 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 02:47:46 2024-11-11 02:47:45,748 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 02:47:46 2024-11-11 02:47:45,748 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:47:46 2024-11-11 02:47:45,748 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:47:46 4.0.0-dev.4 [Pipeline] } 02:47:46 $ docker exec --env ******** --env ******** 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 ssh-agent -k 02:47:46 unset SSH_AUTH_SOCK; 02:47:46 unset SSH_AGENT_PID; 02:47:46 echo Agent pid 78 killed; 02:47:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:47:46 + git semver [Pipeline] } 02:47:46 $ docker stop --time=1 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 02:47:48 $ docker rm -f --volumes 842a44c36228513771ebdf653cfbef3de43e7c087c7b6bac418c0c9c61f48e03 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:47:48 Stashed 1 file(s) [Pipeline] echo 02:47:48 [edgeXSemver]: initialized semver on version 4.0.0-dev.4 [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 02:47:48 provisioning config files... 02:47:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12453625404708545587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:49 ---> ****-login.sh 02:47:49 nexus3.edgexfoundry.org:10001 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 nexus3.edgexfoundry.org:10002 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 nexus3.edgexfoundry.org:10003 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 nexus3.edgexfoundry.org:10004 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 ****.io 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 ---> ****-login.sh ends [Pipeline] } 02:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:47:49 ========================================================= 02:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:47:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:50 + 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 . 02:47:50 Sending build context to Docker daemon 36.87MB 02:47:50 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 02:47:50 Step 2/13 : FROM ${BASE} AS builder 02:47:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:47:50 43c4264eed91: Pulling fs layer 02:47:50 4cc291be95ef: Pulling fs layer 02:47:50 2ac1f1163629: Pulling fs layer 02:47:50 5c3c966382ef: Pulling fs layer 02:47:50 4f4fb700ef54: Pulling fs layer 02:47:50 5c3c966382ef: Waiting 02:47:50 5d5c8e513c77: Pulling fs layer 02:47:50 4f4fb700ef54: Waiting 02:47:50 9f66e0745190: Pulling fs layer 02:47:50 f49a43e4bbc0: Pulling fs layer 02:47:50 5d5c8e513c77: Waiting 02:47:50 561ebcabdf7f: Pulling fs layer 02:47:50 f49a43e4bbc0: Waiting 02:47:50 9f66e0745190: Waiting 02:47:50 561ebcabdf7f: Waiting 02:47:50 4cc291be95ef: Verifying Checksum 02:47:50 4cc291be95ef: Download complete 02:47:50 5c3c966382ef: Verifying Checksum 02:47:50 5c3c966382ef: Download complete 02:47:50 4f4fb700ef54: Verifying Checksum 02:47:50 4f4fb700ef54: Download complete 02:47:50 5d5c8e513c77: Verifying Checksum 02:47:50 5d5c8e513c77: Download complete 02:47:50 43c4264eed91: Verifying Checksum 02:47:50 43c4264eed91: Download complete 02:47:50 9f66e0745190: Verifying Checksum 02:47:50 9f66e0745190: Download complete 02:47:50 43c4264eed91: Pull complete 02:47:50 561ebcabdf7f: Download complete 02:47:50 4cc291be95ef: Pull complete 02:47:51 2ac1f1163629: Verifying Checksum 02:47:51 2ac1f1163629: Download complete 02:47:51 f49a43e4bbc0: Verifying Checksum 02:47:51 f49a43e4bbc0: Download complete 02:47:54 2ac1f1163629: Pull complete 02:47:54 5c3c966382ef: Pull complete 02:47:54 4f4fb700ef54: Pull complete 02:47:54 5d5c8e513c77: Pull complete 02:47:54 9f66e0745190: Pull complete 02:47:57 f49a43e4bbc0: Pull complete 02:47:57 561ebcabdf7f: Pull complete 02:47:57 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 02:47:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:47:57 ---> 3a752c3f9dda 02:47:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:48:02 ---> Running in 5b0d9b87be86 02:48:02 Removing intermediate container 5b0d9b87be86 02:48:02 ---> be81783d2d8b 02:48:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:02 ---> Running in ba31eeef0dfb 02:48:02 Removing intermediate container ba31eeef0dfb 02:48:02 ---> ef6b3838f1f4 02:48:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:48:02 ---> Running in 09328da6d3ce 02:48:02 Removing intermediate container 09328da6d3ce 02:48:02 ---> 927426f21f93 02:48:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:48:02 ---> Running in 58f76e876436 02:48:02 Removing intermediate container 58f76e876436 02:48:02 ---> d0510436166a 02:48:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:48:02 ---> Running in 63c94da2e460 02:48:02 Removing intermediate container 63c94da2e460 02:48:02 ---> 530f3ab175f2 02:48:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:02 ---> Running in 1bc746593f50 02:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:48:03 OK: 246 MiB in 54 packages 02:48:03 Still waiting to schedule task 02:48:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26088’ 02:48:03 Removing intermediate container 1bc746593f50 02:48:03 ---> 0dbfdc937c2a 02:48:03 Step 9/13 : WORKDIR /device-onvif-camera 02:48:03 ---> Running in 95b5583f3a72 02:48:03 Removing intermediate container 95b5583f3a72 02:48:03 ---> 4e4e7fff464c 02:48:03 Step 10/13 : COPY go.mod vendor* ./ 02:48:04 ---> 9c85653e77f1 02:48:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:04 ---> Running in 81aa7b634340 02:49:00 Removing intermediate container 81aa7b634340 02:49:00 ---> f6f02e78e575 02:49:00 Step 12/13 : COPY . . 02:49:01 ---> 17aa8371ad4f 02:49:01 Step 13/13 : RUN ${MAKE} 02:49:01 ---> Running in 093047a3e150 02:49:01 noop 02:49:02 Removing intermediate container 093047a3e150 02:49:02 ---> e1a879108cb7 02:49:02 Successfully built e1a879108cb7 02:49:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:02 + docker inspect -f . ci-base-image-x86_64 02:49:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:02 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 02:49:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:49:03 $ docker top f6306b2323995e950f355a21faa8ba8da9118e54bbb253dcb8f682b863cf0810 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:03 + go version 02:49:03 go version go1.23.2 linux/amd64 [Pipeline] } 02:49:03 $ docker stop --time=1 f6306b2323995e950f355a21faa8ba8da9118e54bbb253dcb8f682b863cf0810 02:49:04 $ docker rm -f --volumes f6306b2323995e950f355a21faa8ba8da9118e54bbb253dcb8f682b863cf0810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:05 + docker inspect -f . ci-base-image-x86_64 02:49:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:05 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 02:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:49:05 $ docker top 8e459954eadfe8a860f59c0f0366d4b3991587b8c5fdf7e64e42a06f92c85355 -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:06 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 02:49:06 + make test 02:49:06 go test ./... -coverprofile=coverage.out ./... 02:49:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:49:26 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 02:49:26 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 02:49:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.048s coverage: 31.4% of statements 02:49:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.390s coverage: 86.5% of statements 02:49:41 go vet ./... 02:49:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:47 ./bin/test-attribution-txt.sh [Pipeline] echo 02:49:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:49:47 $ docker stop --time=1 8e459954eadfe8a860f59c0f0366d4b3991587b8c5fdf7e64e42a06f92c85355 02:49:51 $ docker rm -f --volumes 8e459954eadfe8a860f59c0f0366d4b3991587b8c5fdf7e64e42a06f92c85355 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:52 + ls -al . 02:49:52 total 316 02:49:52 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 02:49 . 02:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:47 .. 02:49:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:49 .git 02:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:47 .github 02:49:52 -rw-rw-r-- 1 jenkins jenkins 493 Nov 11 02:47 .gitignore 02:49:52 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 02:47 .golangci.yml 02:49:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:47 .semver 02:49:52 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 11 02:47 Attribution.txt 02:49:52 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 11 02:47 CHANGELOG.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 11 02:47 Dockerfile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:47 GOVERNANCE.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 739 Nov 11 02:47 Jenkinsfile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:47 LICENSE 02:49:52 -rw-rw-r-- 1 jenkins jenkins 3465 Nov 11 02:47 Makefile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:47 OWNERS.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 11 02:47 README.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 11 Nov 11 02:47 VERSION 02:49:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:47 bin 02:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:47 cmd 02:49:52 -rw-r--r-- 1 jenkins jenkins 92292 Nov 11 02:49 coverage.out 02:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:47 doc 02:49:52 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 11 02:47 go.mod 02:49:52 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 11 02:47 go.sum 02:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:47 internal 02:49:52 -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:52 + 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=124a5f1bb5d04e19c2b309127a124eb76166dd36 --label arch=amd64 --label version=4.0.0-dev.4 . 02:49:52 Sending build context to Docker daemon 36.96MB 02:49:52 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 02:49:52 Step 2/27 : FROM ${BASE} AS builder 02:49:52 ---> e1a879108cb7 02:49:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:49:53 ---> Running in 5db9a54a8a06 02:49:53 Removing intermediate container 5db9a54a8a06 02:49:53 ---> 4fd8d4722fb1 02:49:53 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:53 ---> Running in 014d368233a2 02:49:53 Removing intermediate container 014d368233a2 02:49:53 ---> 3504f88060cf 02:49:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 02:49:53 ---> Running in 269d2490178a 02:49:53 Removing intermediate container 269d2490178a 02:49:53 ---> 37a1679ff318 02:49:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:49:53 ---> Running in 90719c0cc3f2 02:49:53 Removing intermediate container 90719c0cc3f2 02:49:53 ---> 33b9435472ae 02:49:53 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:49:54 ---> Running in aa37a329b5d6 02:49:54 Removing intermediate container aa37a329b5d6 02:49:54 ---> a37880951e58 02:49:54 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:54 ---> Running in 7d088fdeb6a0 02:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:49:54 OK: 246 MiB in 54 packages 02:49:55 Removing intermediate container 7d088fdeb6a0 02:49:55 ---> 33056963dad5 02:49:55 Step 9/27 : WORKDIR /device-onvif-camera 02:49:55 ---> Running in 6925b6d5c0fc 02:49:55 Removing intermediate container 6925b6d5c0fc 02:49:55 ---> 67bd93af55a2 02:49:55 Step 10/27 : COPY go.mod vendor* ./ 02:49:55 ---> 2e1f6c717238 02:49:55 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:55 ---> Running in 24642765fa59 02:49:55 Removing intermediate container 24642765fa59 02:49:55 ---> 5f71a909d534 02:49:55 Step 12/27 : COPY . . 02:49:57 ---> 336cc7b71b3f 02:49:57 Step 13/27 : RUN ${MAKE} 02:49:57 ---> Running in 2d07432d31c7 02:49:57 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:50:36 Removing intermediate container 2d07432d31c7 02:50:36 ---> 794b3c6a6cc4 02:50:36 Step 14/27 : FROM alpine:3.20 02:50:36 3.20: Pulling from library/alpine 02:50:36 43c4264eed91: Already exists 02:50:36 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:50:36 Status: Downloaded newer image for alpine:3.20 02:50:36 ---> 91ef0af61f39 02:50:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 02:50:36 ---> Running in c2daa1a19f76 02:50:36 Removing intermediate container c2daa1a19f76 02:50:36 ---> 39831a57dd39 02:50:36 Step 16/27 : RUN apk add --update --no-cache dumb-init 02:50:36 ---> Running in d4de9276a1cc 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:50:36 (1/1) Installing dumb-init (1.2.5-r3) 02:50:36 Executing busybox-1.36.1-r29.trigger 02:50:36 OK: 8 MiB in 15 packages 02:50:36 Removing intermediate container d4de9276a1cc 02:50:36 ---> afed0787105a 02:50:36 Step 17/27 : RUN apk --no-cache upgrade 02:50:36 ---> Running in 310c2dbfc051 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:50:36 Upgrading critical system libraries and apk-tools: 02:50:36 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:50:36 Executing busybox-1.36.1-r29.trigger 02:50:36 Continuing the upgrade transaction with new apk-tools: 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:50:36 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 02:50:36 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 02:50:36 OK: 8 MiB in 15 packages 02:50:36 Removing intermediate container 310c2dbfc051 02:50:36 ---> 4eac71f3b58c 02:50:36 Step 18/27 : WORKDIR / 02:50:36 ---> Running in d9cfaa35a11a 02:50:36 Removing intermediate container d9cfaa35a11a 02:50:36 ---> 4ee574f18d00 02:50:36 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:50:36 ---> 3cb6dd845ead 02:50:36 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:50:36 ---> 5d52e92f7b7a 02:50:36 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:50:36 ---> de27fb3ad674 02:50:36 Step 22/27 : EXPOSE 59984 02:50:36 ---> Running in 36e153cb1d68 02:50:36 Removing intermediate container 36e153cb1d68 02:50:36 ---> 8882151dae7e 02:50:36 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:50:36 ---> Running in bff3ddd6046a 02:50:36 Removing intermediate container bff3ddd6046a 02:50:36 ---> a35cf038a72f 02:50:36 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:50:36 ---> Running in 4bfebb1bac0c 02:50:36 Removing intermediate container 4bfebb1bac0c 02:50:36 ---> 7a480547a29d 02:50:36 Step 25/27 : LABEL arch=amd64 02:50:36 ---> Running in f744f0a36a32 02:50:36 Removing intermediate container f744f0a36a32 02:50:36 ---> cba54ff974e9 02:50:36 Step 26/27 : LABEL git_sha=124a5f1bb5d04e19c2b309127a124eb76166dd36 02:50:36 ---> Running in 5d5bfdbdc0b6 02:50:36 Removing intermediate container 5d5bfdbdc0b6 02:50:36 ---> 6e7569b3395d 02:50:36 Step 27/27 : LABEL version=4.0.0-dev.4 02:50:36 ---> Running in 4076369c81f2 02:50:36 Removing intermediate container 4076369c81f2 02:50:36 ---> e8591c8816e2 02:50:36 [Warning] One or more build-args [ARCH] were not consumed 02:50:36 Successfully built e8591c8816e2 02:50:36 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 02:50:36 provisioning config files... 02:50:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15014444457918114350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:36 ---> ****-login.sh 02:50:36 nexus3.edgexfoundry.org:10001 02:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:36 Configure a credential helper to remove this warning. See 02:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:36 02:50:36 Login Succeeded 02:50:36 nexus3.edgexfoundry.org:10002 02:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:36 Configure a credential helper to remove this warning. See 02:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:36 02:50:36 Login Succeeded 02:50:36 nexus3.edgexfoundry.org:10003 02:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:36 Configure a credential helper to remove this warning. See 02:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:36 02:50:36 Login Succeeded 02:50:36 nexus3.edgexfoundry.org:10004 02:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:36 Configure a credential helper to remove this warning. See 02:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:36 02:50:36 Login Succeeded 02:50:36 ****.io 02:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:50:37 Configure a credential helper to remove this warning. See 02:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:50:37 02:50:37 Login Succeeded 02:50:37 ---> ****-login.sh ends [Pipeline] } 02:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:50:37 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 02:50:37 124a5f1bb5d04e19c2b309127a124eb76166dd36 02:50:37 latest 02:50:37 4.0.0-dev.4 02:50:37 124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 02:50:37 main 02:50:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36 02:50:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:50:37 0801051cd3a2: Preparing 02:50:37 9231b12b19c4: Preparing 02:50:37 644661b812d8: Preparing 02:50:37 c944a9984ef8: Preparing 02:50:37 127876a861de: Preparing 02:50:37 63ca1fbb43ae: Preparing 02:50:37 127876a861de: Pushed 02:50:37 9231b12b19c4: Pushed 02:50:37 0801051cd3a2: Pushed 02:50:37 63ca1fbb43ae: Layer already exists 02:50:38 c944a9984ef8: Pushed 02:50:40 644661b812d8: Pushed 02:50:40 124a5f1bb5d04e19c2b309127a124eb76166dd36: digest: sha256:c57f660d45cf7be225e1b906f778dcf9f579b710618a49c549a1b88eb114d11d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:50:41 0801051cd3a2: Preparing 02:50:41 9231b12b19c4: Preparing 02:50:41 644661b812d8: Preparing 02:50:41 c944a9984ef8: Preparing 02:50:41 127876a861de: Preparing 02:50:41 63ca1fbb43ae: Preparing 02:50:41 63ca1fbb43ae: Waiting 02:50:41 0801051cd3a2: Layer already exists 02:50:41 127876a861de: Layer already exists 02:50:41 c944a9984ef8: Layer already exists 02:50:41 644661b812d8: Layer already exists 02:50:41 9231b12b19c4: Layer already exists 02:50:41 63ca1fbb43ae: Layer already exists 02:50:41 latest: digest: sha256:c57f660d45cf7be225e1b906f778dcf9f579b710618a49c549a1b88eb114d11d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.4 02:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:50:42 0801051cd3a2: Preparing 02:50:42 9231b12b19c4: Preparing 02:50:42 644661b812d8: Preparing 02:50:42 c944a9984ef8: Preparing 02:50:42 127876a861de: Preparing 02:50:42 63ca1fbb43ae: Preparing 02:50:42 63ca1fbb43ae: Waiting 02:50:42 9231b12b19c4: Layer already exists 02:50:42 644661b812d8: Layer already exists 02:50:42 c944a9984ef8: Layer already exists 02:50:42 127876a861de: Layer already exists 02:50:42 0801051cd3a2: Layer already exists 02:50:42 63ca1fbb43ae: Layer already exists 02:50:42 4.0.0-dev.4: digest: sha256:c57f660d45cf7be225e1b906f778dcf9f579b710618a49c549a1b88eb114d11d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 02:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:50:42 0801051cd3a2: Preparing 02:50:42 9231b12b19c4: Preparing 02:50:42 644661b812d8: Preparing 02:50:42 c944a9984ef8: Preparing 02:50:42 127876a861de: Preparing 02:50:42 63ca1fbb43ae: Preparing 02:50:42 63ca1fbb43ae: Waiting 02:50:42 0801051cd3a2: Layer already exists 02:50:42 9231b12b19c4: Layer already exists 02:50:42 644661b812d8: Layer already exists 02:50:42 c944a9984ef8: Layer already exists 02:50:42 127876a861de: Layer already exists 02:50:42 63ca1fbb43ae: Layer already exists 02:50:42 124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4: digest: sha256:c57f660d45cf7be225e1b906f778dcf9f579b710618a49c549a1b88eb114d11d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 02:50:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:50:43 0801051cd3a2: Preparing 02:50:43 9231b12b19c4: Preparing 02:50:43 644661b812d8: Preparing 02:50:43 c944a9984ef8: Preparing 02:50:43 127876a861de: Preparing 02:50:43 63ca1fbb43ae: Preparing 02:50:43 63ca1fbb43ae: Waiting 02:50:43 9231b12b19c4: Layer already exists 02:50:43 c944a9984ef8: Layer already exists 02:50:43 0801051cd3a2: Layer already exists 02:50:43 644661b812d8: Layer already exists 02:50:43 127876a861de: Layer already exists 02:50:43 63ca1fbb43ae: Layer already exists 02:50:43 main: digest: sha256:c57f660d45cf7be225e1b906f778dcf9f579b710618a49c549a1b88eb114d11d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:43 ===================================================== [Pipeline] echo 02:50:43 taggedImages: 02:50:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36 02:50:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:50:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.4 02:50:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 02:50:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:44 02:50:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:44 latest: Pulling from edgex-lftools-log-publisher 02:50:44 5eb5b503b376: Pulling fs layer 02:50:44 5c69ac0246d0: Pulling fs layer 02:50:44 ec43610c2a17: Pulling fs layer 02:50:44 3a2ae6a8a46f: Pulling fs layer 02:50:44 3a2ae6a8a46f: Waiting 02:50:44 33b1e0a273af: Pulling fs layer 02:50:44 5d3b04190fa2: Pulling fs layer 02:50:44 2f39f015ded8: Pulling fs layer 02:50:44 33b1e0a273af: Waiting 02:50:44 5d3b04190fa2: Waiting 02:50:44 2f39f015ded8: Waiting 02:50:44 5c69ac0246d0: Verifying Checksum 02:50:44 5c69ac0246d0: Download complete 02:50:44 3a2ae6a8a46f: Download complete 02:50:44 33b1e0a273af: Verifying Checksum 02:50:44 33b1e0a273af: Download complete 02:50:44 ec43610c2a17: Verifying Checksum 02:50:44 ec43610c2a17: Download complete 02:50:44 5d3b04190fa2: Download complete 02:50:44 5eb5b503b376: Verifying Checksum 02:50:44 5eb5b503b376: Download complete 02:50:45 2f39f015ded8: Download complete 02:50:45 5eb5b503b376: Pull complete 02:50:46 5c69ac0246d0: Pull complete 02:50:46 ec43610c2a17: Pull complete 02:50:46 3a2ae6a8a46f: Pull complete 02:50:46 33b1e0a273af: Pull complete 02:50:46 5d3b04190fa2: Pull complete 02:50:50 2f39f015ded8: Pull complete 02:50:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:50:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:51 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 02:50:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:55 $ docker top f3b382fb941938ae802831777c4cd99770f672ca5aac6c90399e73aee6653e5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:55 ---> job-cost.sh 02:50:55 lf-activate-venv: SKIPPING 02:50:55 INFO: No Stack... 02:50:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:56 INFO: Archiving Costs [Pipeline] sh 02:50:57 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 02:50:57 + cut -d, -f6 [Pipeline] lock 02:50:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] 02:50:57 Resource [jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] did not exist. Created. 02:50:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:50:57 + echo total: 0.2199999988079071 [Pipeline] stash 02:50:57 Stashed 1 file(s) [Pipeline] } 02:50:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] [Pipeline] // lock [Pipeline] } 02:50:57 $ docker stop --time=1 f3b382fb941938ae802831777c4cd99770f672ca5aac6c90399e73aee6653e5c 02:50:58 $ docker rm -f --volumes f3b382fb941938ae802831777c4cd99770f672ca5aac6c90399e73aee6653e5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:51:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26091 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 02:51:00 Running in /w/workspace/device-onvif-camera/213 [Pipeline] { [Pipeline] checkout 02:51:03 The recommended git tool is: git 02:51:09 using credential edgex-jenkins-ssh 02:51:09 Cloning the remote Git repository 02:51:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:51:10 > git init /w/workspace/device-onvif-camera/213 # timeout=10 02:51:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:51:10 > git --version # timeout=10 02:51:10 > git --version # 'git version 2.25.1' 02:51:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:51:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:51:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:51:14 Avoid second fetch 02:51:14 Checking out Revision 124a5f1bb5d04e19c2b309127a124eb76166dd36 (main) 02:51:15 Commit message: "Merge pull request #473 from weichou1229/issue-444" 02:51:14 > git config core.sparsecheckout # timeout=10 02:51:14 > git checkout -f 124a5f1bb5d04e19c2b309127a124eb76166dd36 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:51:20 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:20 Dload Upload Total Spent Left Speed 02:51:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 02:51:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:51:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:51:20 + sudo tee /etc/docker/daemon.new 02:51:20 { 02:51:20 "registry-mirrors": [ 02:51:20 "https://nexus3.edgexfoundry.org:10001" 02:51:20 ], 02:51:20 "bip": "10.250.0.254/24", 02:51:20 "hosts": [ 02:51:20 "tcp://0.0.0.0:5555", 02:51:20 "unix:///var/run/docker.sock" 02:51:20 ], 02:51:20 "mtu": 1458, 02:51:20 "selinux-enabled": true, 02:51:20 "seccomp-profile": "/etc/docker/seccomp.json" 02:51:20 } [Pipeline] sh 02:51:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:51:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:39 provisioning config files... 02:51:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/213@tmp/config12262772560409184484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:40 ---> ****-login.sh 02:51:40 nexus3.edgexfoundry.org:10001 02:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:41 Configure a credential helper to remove this warning. See 02:51:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:41 02:51:41 Login Succeeded 02:51:41 nexus3.edgexfoundry.org:10002 02:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:41 Configure a credential helper to remove this warning. See 02:51:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:41 02:51:41 Login Succeeded 02:51:41 nexus3.edgexfoundry.org:10003 02:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:41 Configure a credential helper to remove this warning. See 02:51:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:41 02:51:41 Login Succeeded 02:51:41 nexus3.edgexfoundry.org:10004 02:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:42 Configure a credential helper to remove this warning. See 02:51:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:42 02:51:42 Login Succeeded 02:51:42 ****.io 02:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:51:42 Configure a credential helper to remove this warning. See 02:51:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:51:42 02:51:42 Login Succeeded 02:51:42 ---> ****-login.sh ends [Pipeline] } 02:51:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:51:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:51:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:51:43 ========================================================= 02:51:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:51:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:43 + 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 . 02:51:44 Sending build context to Docker daemon 21.84MB 02:51:44 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 02:51:44 Step 2/13 : FROM ${BASE} AS builder 02:51:44 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:51:44 cf04c63912e1: Pulling fs layer 02:51:44 55b35a11ae5e: Pulling fs layer 02:51:44 a37a00ec5f00: Pulling fs layer 02:51:44 50b3750afda1: Pulling fs layer 02:51:44 4f4fb700ef54: Pulling fs layer 02:51:44 80978eb59214: Pulling fs layer 02:51:44 c9f46d7d2bd2: Pulling fs layer 02:51:44 c5a475d317c9: Pulling fs layer 02:51:44 c9f46d7d2bd2: Waiting 02:51:44 4f4fb700ef54: Waiting 02:51:44 c5a475d317c9: Waiting 02:51:44 80978eb59214: Waiting 02:51:44 50b3750afda1: Waiting 02:51:44 55b35a11ae5e: Verifying Checksum 02:51:44 55b35a11ae5e: Download complete 02:51:44 50b3750afda1: Verifying Checksum 02:51:44 50b3750afda1: Download complete 02:51:44 4f4fb700ef54: Verifying Checksum 02:51:44 4f4fb700ef54: Download complete 02:51:44 80978eb59214: Verifying Checksum 02:51:44 80978eb59214: Download complete 02:51:44 cf04c63912e1: Verifying Checksum 02:51:44 cf04c63912e1: Download complete 02:51:45 c5a475d317c9: Verifying Checksum 02:51:45 c5a475d317c9: Download complete 02:51:45 cf04c63912e1: Pull complete 02:51:46 55b35a11ae5e: Pull complete 02:51:46 a37a00ec5f00: Verifying Checksum 02:51:46 a37a00ec5f00: Download complete 02:51:47 c9f46d7d2bd2: Verifying Checksum 02:51:47 c9f46d7d2bd2: Download complete 02:52:02 a37a00ec5f00: Pull complete 02:52:02 50b3750afda1: Pull complete 02:52:02 4f4fb700ef54: Pull complete 02:52:02 80978eb59214: Pull complete 02:52:10 c9f46d7d2bd2: Pull complete 02:52:12 c5a475d317c9: Pull complete 02:52:12 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 02:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:52:12 ---> be29e6b0f0d4 02:52:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:52:13 ---> Running in 58f6b4933e29 02:52:13 Removing intermediate container 58f6b4933e29 02:52:13 ---> 00c1a622a422 02:52:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:52:13 ---> Running in 8ba6dd0b14b4 02:52:13 Removing intermediate container 8ba6dd0b14b4 02:52:13 ---> 708b46c75659 02:52:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:52:14 ---> Running in e3a3a7bfa740 02:52:14 Removing intermediate container e3a3a7bfa740 02:52:14 ---> 4d27f1cd7e34 02:52:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:52:14 ---> Running in 2336a8990de6 02:52:15 Removing intermediate container 2336a8990de6 02:52:15 ---> fc90ffbad165 02:52:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:52:15 ---> Running in 27f068bf8b88 02:52:15 Removing intermediate container 27f068bf8b88 02:52:15 ---> ac7b47337028 02:52:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:52:15 ---> Running in 7457385488b6 02:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:52:18 OK: 238 MiB in 54 packages 02:52:19 Removing intermediate container 7457385488b6 02:52:19 ---> 4cae2f366b88 02:52:19 Step 9/13 : WORKDIR /device-onvif-camera 02:52:19 ---> Running in 245f6ea6a05f 02:52:19 Removing intermediate container 245f6ea6a05f 02:52:19 ---> b7afc1dd22c2 02:52:19 Step 10/13 : COPY go.mod vendor* ./ 02:52:20 ---> 8b860aaa7a86 02:52:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:52:20 ---> Running in 8b81e3bc1bd6 02:54:12 Removing intermediate container 8b81e3bc1bd6 02:54:12 ---> f4164b574286 02:54:12 Step 12/13 : COPY . . 02:54:13 ---> f8e3898d01d9 02:54:13 Step 13/13 : RUN ${MAKE} 02:54:13 ---> Running in 8a36c55bc9f6 02:54:14 noop 02:54:15 Removing intermediate container 8a36c55bc9f6 02:54:15 ---> 9c6d61c67fbd 02:54:15 Successfully built 9c6d61c67fbd 02:54:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:15 + docker inspect -f . ci-base-image-arm64 02:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-26091 does not seem to be running inside a container 02:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/213 -v /w/workspace/device-onvif-camera/213:/w/workspace/device-onvif-camera/213:rw,z -v /w/workspace/device-onvif-camera/213@tmp:/w/workspace/device-onvif-camera/213@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 02:54:16 $ docker top 8394148d44d2b7d126b9d91df23df99367ad8c45db31976f4303d1badd32d961 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:17 + go version 02:54:17 go version go1.23.2 linux/arm64 [Pipeline] } 02:54:17 $ docker stop --time=1 8394148d44d2b7d126b9d91df23df99367ad8c45db31976f4303d1badd32d961 02:54:19 $ docker rm -f --volumes 8394148d44d2b7d126b9d91df23df99367ad8c45db31976f4303d1badd32d961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:20 + docker inspect -f . ci-base-image-arm64 02:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:20 prd-ubuntu20.04-docker-arm64-4c-16g-26091 does not seem to be running inside a container 02:54:20 $ 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/213 -v /w/workspace/device-onvif-camera/213:/w/workspace/device-onvif-camera/213:rw,z -v /w/workspace/device-onvif-camera/213@tmp:/w/workspace/device-onvif-camera/213@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 02:54:21 $ docker top f7bebe3835ac5dfbe856b6665241358a0e356703aeec035802e059af48a3c170 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:21 + git config --global --add safe.directory /w/workspace/device-onvif-camera/213 [Pipeline] fileExists [Pipeline] sh 02:54:22 + make test 02:54:22 go test ./... -coverprofile=coverage.out ./... 02:54:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:58:36 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 02:58:36 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 02:58:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 31.4% of statements 02:58:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.347s coverage: 86.5% of statements 02:58:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:49 go vet ./... 02:59:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:45 ./bin/test-attribution-txt.sh [Pipeline] echo 02:59:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:59:45 $ docker stop --time=1 f7bebe3835ac5dfbe856b6665241358a0e356703aeec035802e059af48a3c170 02:59:47 $ docker rm -f --volumes f7bebe3835ac5dfbe856b6665241358a0e356703aeec035802e059af48a3c170 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:49 Warning: overwriting stash ‘coverage-report’ 02:59:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:51 + ls -al . 02:59:51 total 312 02:59:51 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:54 . 02:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:51 .. 02:59:51 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:51 .git 02:59:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:51 .github 02:59:51 -rw-rw-r-- 1 jenkins jenkins 493 Nov 11 02:51 .gitignore 02:59:51 -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 02:51 .golangci.yml 02:59:51 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 11 02:51 Attribution.txt 02:59:51 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 11 02:51 CHANGELOG.md 02:59:51 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 11 02:51 Dockerfile 02:59:51 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:51 GOVERNANCE.md 02:59:51 -rw-rw-r-- 1 jenkins jenkins 739 Nov 11 02:51 Jenkinsfile 02:59:51 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:51 LICENSE 02:59:51 -rw-rw-r-- 1 jenkins jenkins 3465 Nov 11 02:51 Makefile 02:59:51 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:51 OWNERS.md 02:59:51 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 11 02:51 README.md 02:59:51 -rw-rw-r-- 1 jenkins jenkins 11 Nov 11 02:47 VERSION 02:59:51 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:51 bin 02:59:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:51 cmd 02:59:51 -rw-r--r-- 1 jenkins jenkins 92292 Nov 11 02:58 coverage.out 02:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:51 doc 02:59:51 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 11 02:51 go.mod 02:59:51 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 11 02:51 go.sum 02:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:51 internal 02:59:51 -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:51 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=124a5f1bb5d04e19c2b309127a124eb76166dd36 --label arch=arm64 --label version=4.0.0-dev.4 . 02:59:52 Sending build context to Docker daemon 21.94MB 02:59:52 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 02:59:52 Step 2/27 : FROM ${BASE} AS builder 02:59:52 ---> 9c6d61c67fbd 02:59:52 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:59:52 ---> Running in 608aa29aecf1 02:59:52 Removing intermediate container 608aa29aecf1 02:59:52 ---> 82a04c640909 02:59:52 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:53 ---> Running in e27492dc4340 02:59:53 Removing intermediate container e27492dc4340 02:59:53 ---> 96dda06a329b 02:59:53 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 02:59:53 ---> Running in a99d19958c53 02:59:53 Removing intermediate container a99d19958c53 02:59:53 ---> 93e0a1b99315 02:59:53 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:59:53 ---> Running in 2c441f5318bd 02:59:54 Removing intermediate container 2c441f5318bd 02:59:54 ---> da2ff3d56064 02:59:54 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:59:54 ---> Running in 23e3c2d74865 02:59:54 Removing intermediate container 23e3c2d74865 02:59:54 ---> 6d3b19caef54 02:59:54 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:54 ---> Running in 69753d82497c 02:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:59:57 OK: 238 MiB in 54 packages 02:59:58 Removing intermediate container 69753d82497c 02:59:58 ---> 7ad54b28a061 02:59:58 Step 9/27 : WORKDIR /device-onvif-camera 02:59:58 ---> Running in 305eb93144ec 02:59:59 Removing intermediate container 305eb93144ec 02:59:59 ---> 4b5da5dad255 02:59:59 Step 10/27 : COPY go.mod vendor* ./ 02:59:59 ---> 2807fe6d7bd4 02:59:59 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:59 ---> Running in 57c1f63161bc 03:00:04 Removing intermediate container 57c1f63161bc 03:00:04 ---> 1f2231b337b5 03:00:04 Step 12/27 : COPY . . 03:00:06 ---> 2a76738e1cf6 03:00:06 Step 13/27 : RUN ${MAKE} 03:00:06 ---> Running in 65f4029ebecd 03:00:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:03:59 Removing intermediate container 65f4029ebecd 03:03:59 ---> c508a2b8c177 03:03:59 Step 14/27 : FROM alpine:3.20 03:03:59 3.20: Pulling from library/alpine 03:03:59 cf04c63912e1: Already exists 03:03:59 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:03:59 Status: Downloaded newer image for alpine:3.20 03:03:59 ---> c157a85ed455 03:03:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:03:59 ---> Running in 45a7d94feec9 03:03:59 Removing intermediate container 45a7d94feec9 03:03:59 ---> 80928de10338 03:03:59 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:03:59 ---> Running in e8c0adcf50c3 03:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:03:59 (1/1) Installing dumb-init (1.2.5-r3) 03:03:59 Executing busybox-1.36.1-r29.trigger 03:03:59 OK: 9 MiB in 15 packages 03:03:59 Removing intermediate container e8c0adcf50c3 03:03:59 ---> 8365132a9c38 03:03:59 Step 17/27 : RUN apk --no-cache upgrade 03:03:59 ---> Running in 44a1d73b424d 03:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:04:01 Upgrading critical system libraries and apk-tools: 03:04:01 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:04:01 Executing busybox-1.36.1-r29.trigger 03:04:01 Continuing the upgrade transaction with new apk-tools: 03:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:04:03 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:04:03 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:04:03 OK: 9 MiB in 15 packages 03:04:04 Removing intermediate container 44a1d73b424d 03:04:04 ---> 2259cca6150d 03:04:04 Step 18/27 : WORKDIR / 03:04:04 ---> Running in 8e09d28482c4 03:04:05 Removing intermediate container 8e09d28482c4 03:04:05 ---> e39f5bb097cc 03:04:05 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:04:07 ---> 236c013c8187 03:04:07 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:04:07 ---> 3fde76a3f5c0 03:04:07 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:04:07 ---> 871af2203eae 03:04:07 Step 22/27 : EXPOSE 59984 03:04:08 ---> Running in 61e680f7187a 03:04:08 Removing intermediate container 61e680f7187a 03:04:08 ---> 0f0e65bcc319 03:04:08 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:04:08 ---> Running in a2d26177163a 03:04:08 Removing intermediate container a2d26177163a 03:04:08 ---> 8362d28f27b9 03:04:08 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:04:09 ---> Running in bc09955d38a5 03:04:09 Removing intermediate container bc09955d38a5 03:04:09 ---> f95e7b48c45b 03:04:09 Step 25/27 : LABEL arch=arm64 03:04:09 ---> Running in ffe54d1b8770 03:04:09 Removing intermediate container ffe54d1b8770 03:04:09 ---> 49776efdd22f 03:04:09 Step 26/27 : LABEL git_sha=124a5f1bb5d04e19c2b309127a124eb76166dd36 03:04:09 ---> Running in 56aa79902acc 03:04:10 Removing intermediate container 56aa79902acc 03:04:10 ---> efe66afd6196 03:04:10 Step 27/27 : LABEL version=4.0.0-dev.4 03:04:10 ---> Running in 4ba79368c285 03:04:10 Removing intermediate container 4ba79368c285 03:04:10 ---> 0e19cf885fd0 03:04:10 [Warning] One or more build-args [ARCH] were not consumed 03:04:10 Successfully built 0e19cf885fd0 03:04:10 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 03:04:10 provisioning config files... 03:04:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/213@tmp/config16273119460447765910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:10 ---> ****-login.sh 03:04:10 nexus3.edgexfoundry.org:10001 03:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10002 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10003 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10004 03:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:12 Configure a credential helper to remove this warning. See 03:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:12 03:04:12 Login Succeeded 03:04:12 ****.io 03:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:12 Configure a credential helper to remove this warning. See 03:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:12 03:04:12 Login Succeeded 03:04:12 ---> ****-login.sh ends [Pipeline] } 03:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:04:12 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 03:04:12 124a5f1bb5d04e19c2b309127a124eb76166dd36 03:04:12 latest 03:04:12 4.0.0-dev.4 03:04:12 124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 03:04:12 main 03:04:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36 03:04:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:04:13 3659b5e34429: Preparing 03:04:13 923c7c904b5d: Preparing 03:04:13 811d68674b54: Preparing 03:04:13 1f0d5de766b3: Preparing 03:04:13 0e9d189f7e24: Preparing 03:04:13 16113d51b718: Preparing 03:04:13 16113d51b718: Waiting 03:04:13 0e9d189f7e24: Pushed 03:04:13 923c7c904b5d: Pushed 03:04:13 3659b5e34429: Pushed 03:04:13 16113d51b718: Layer already exists 03:04:15 1f0d5de766b3: Pushed 03:04:21 811d68674b54: Pushed 03:04:21 124a5f1bb5d04e19c2b309127a124eb76166dd36: digest: sha256:8eb333e850ab432e923461e71352ec0725ddd70387a179d2a5eb394403639167 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:21 + 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 03:04:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:04:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:04:22 3659b5e34429: Preparing 03:04:22 923c7c904b5d: Preparing 03:04:22 811d68674b54: Preparing 03:04:22 1f0d5de766b3: Preparing 03:04:22 0e9d189f7e24: Preparing 03:04:22 16113d51b718: Preparing 03:04:22 16113d51b718: Waiting 03:04:22 923c7c904b5d: Layer already exists 03:04:22 1f0d5de766b3: Layer already exists 03:04:22 811d68674b54: Layer already exists 03:04:22 3659b5e34429: Layer already exists 03:04:22 0e9d189f7e24: Layer already exists 03:04:22 16113d51b718: Layer already exists 03:04:22 latest: digest: sha256:8eb333e850ab432e923461e71352ec0725ddd70387a179d2a5eb394403639167 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.4 03:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:04:23 3659b5e34429: Preparing 03:04:23 923c7c904b5d: Preparing 03:04:23 811d68674b54: Preparing 03:04:23 1f0d5de766b3: Preparing 03:04:23 0e9d189f7e24: Preparing 03:04:23 16113d51b718: Preparing 03:04:23 3659b5e34429: Layer already exists 03:04:23 811d68674b54: Layer already exists 03:04:23 0e9d189f7e24: Layer already exists 03:04:23 1f0d5de766b3: Layer already exists 03:04:23 923c7c904b5d: Layer already exists 03:04:23 16113d51b718: Layer already exists 03:04:23 4.0.0-dev.4: digest: sha256:8eb333e850ab432e923461e71352ec0725ddd70387a179d2a5eb394403639167 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 03:04:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:04:24 3659b5e34429: Preparing 03:04:24 923c7c904b5d: Preparing 03:04:24 811d68674b54: Preparing 03:04:24 1f0d5de766b3: Preparing 03:04:24 0e9d189f7e24: Preparing 03:04:24 16113d51b718: Preparing 03:04:24 16113d51b718: Waiting 03:04:24 3659b5e34429: Layer already exists 03:04:24 811d68674b54: Layer already exists 03:04:24 0e9d189f7e24: Layer already exists 03:04:24 923c7c904b5d: Layer already exists 03:04:24 1f0d5de766b3: Layer already exists 03:04:24 16113d51b718: Layer already exists 03:04:24 124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4: digest: sha256:8eb333e850ab432e923461e71352ec0725ddd70387a179d2a5eb394403639167 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:24 + 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 03:04:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 03:04:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:04:25 3659b5e34429: Preparing 03:04:25 923c7c904b5d: Preparing 03:04:25 811d68674b54: Preparing 03:04:25 1f0d5de766b3: Preparing 03:04:25 0e9d189f7e24: Preparing 03:04:25 16113d51b718: Preparing 03:04:25 16113d51b718: Waiting 03:04:25 1f0d5de766b3: Layer already exists 03:04:25 811d68674b54: Layer already exists 03:04:25 3659b5e34429: Layer already exists 03:04:25 0e9d189f7e24: Layer already exists 03:04:25 923c7c904b5d: Layer already exists 03:04:25 16113d51b718: Layer already exists 03:04:25 main: digest: sha256:8eb333e850ab432e923461e71352ec0725ddd70387a179d2a5eb394403639167 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:04:25 ===================================================== [Pipeline] echo 03:04:25 taggedImages: 03:04:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36 03:04:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:04:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.4 03:04:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:124a5f1bb5d04e19c2b309127a124eb76166dd36-4.0.0-dev.4 03:04:25 - 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 03:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:26 03:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:26 arm64: Pulling from edgex-lftools-log-publisher 03:04:26 8998bd30e6a1: Pulling fs layer 03:04:26 04944245beec: Pulling fs layer 03:04:26 699f458cf7ca: Pulling fs layer 03:04:26 765212b225bb: Pulling fs layer 03:04:26 f23df028b6ca: Pulling fs layer 03:04:26 d65c8cfc05b1: Pulling fs layer 03:04:26 2437ff75d9bd: Pulling fs layer 03:04:26 f23df028b6ca: Waiting 03:04:26 d65c8cfc05b1: Waiting 03:04:26 2437ff75d9bd: Waiting 03:04:26 765212b225bb: Waiting 03:04:26 04944245beec: Verifying Checksum 03:04:26 04944245beec: Download complete 03:04:26 765212b225bb: Verifying Checksum 03:04:26 765212b225bb: Download complete 03:04:26 f23df028b6ca: Verifying Checksum 03:04:26 f23df028b6ca: Download complete 03:04:26 d65c8cfc05b1: Download complete 03:04:26 699f458cf7ca: Download complete 03:04:27 8998bd30e6a1: Verifying Checksum 03:04:27 8998bd30e6a1: Download complete 03:04:29 2437ff75d9bd: Verifying Checksum 03:04:29 2437ff75d9bd: Download complete 03:04:32 8998bd30e6a1: Pull complete 03:04:32 04944245beec: Pull complete 03:04:34 699f458cf7ca: Pull complete 03:04:34 765212b225bb: Pull complete 03:04:35 f23df028b6ca: Pull complete 03:04:35 d65c8cfc05b1: Pull complete 03:04:54 2437ff75d9bd: Pull complete 03:04:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:04:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:54 prd-ubuntu20.04-docker-arm64-4c-16g-26091 does not seem to be running inside a container 03:04:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/213 -v /w/workspace/device-onvif-camera/213:/w/workspace/device-onvif-camera/213:rw,z -v /w/workspace/device-onvif-camera/213@tmp:/w/workspace/device-onvif-camera/213@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 03:04:57 $ docker top 0c368e4f5e55d4ffc85968cd6072930052adf2fce0654f6239aff28954286dd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:58 ---> job-cost.sh 03:04:58 lf-activate-venv: SKIPPING 03:04:58 INFO: No Stack... 03:04:58 INFO: Retrieving Pricing Info for: v3-standard-4 03:04:59 INFO: Archiving Costs [Pipeline] sh 03:04:59 + cat /w/workspace/device-onvif-camera/213/archives/cost.csv 03:04:59 + cut -d, -f6 [Pipeline] lock 03:05:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] 03:05:00 Resource [jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] did not exist. Created. 03:05:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:05:00 /w/workspace/device-onvif-camera/213@tmp/durable-d071a523/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:05:01 + echo total: 0.10999999940395355 [Pipeline] stash 03:05:01 Warning: overwriting stash ‘stack-cost’ 03:05:01 Stashed 1 file(s) [Pipeline] } 03:05:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-213-stack-cost] [Pipeline] // lock [Pipeline] } 03:05:01 $ docker stop --time=1 0c368e4f5e55d4ffc85968cd6072930052adf2fce0654f6239aff28954286dd6 03:05:02 $ docker rm -f --volumes 0c368e4f5e55d4ffc85968cd6072930052adf2fce0654f6239aff28954286dd6 [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 03:05:03 provisioning config files... 03:05:03 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13067203358675116694tmp [Pipeline] { [Pipeline] sh 03:05:03 + set +x 03:05:03 + curl -s https://codecov.io/bash 03:05:03 + bash -s -- 03:05:03 03:05:03 _____ _ 03:05:03 / ____| | | 03:05:03 | | ___ __| | ___ ___ _____ __ 03:05:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:05:03 | |___| (_) | (_| | __/ (_| (_) \ V / 03:05:03 \_____\___/ \__,_|\___|\___\___/ \_/ 03:05:03 Bash-1.0.6 03:05:03 03:05:03 03:05:03 ==> git version 2.25.1 found 03:05:03 ==> 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 03:05:03 Release-Date: 2020-01-08 03:05:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:05:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:05:03 ==> Jenkins CI detected. 03:05:03 current dir:  /w/workspace/foundry_device-onvif-camera_main 03:05:03 project root: . 03:05:03 --> token set from env 03:05:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:05:03 ==> Running gcov in . (disable via -X gcov) 03:05:03 ==> Python coveragepy not found 03:05:03 ==> Searching for coverage reports in: 03:05:03 + . 03:05:03 -> Found 1 reports 03:05:03 ==> Detecting git/mercurial file structure 03:05:03 ==> Reading reports 03:05:03 + ./coverage.out bytes=92292 03:05:03 ==> Appending adjustments 03:05:03 https://docs.codecov.io/docs/fixing-reports 03:05:03 + Found adjustments 03:05:03 ==> Gzipping contents 03:05:03 12K /tmp/codecov.AB8arD.gz 03:05:03 ==> Uploading reports 03:05:03 url: https://codecov.io 03:05:03 query: branch=main&commit=124a5f1bb5d04e19c2b309127a124eb76166dd36&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F213%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:05:03 -> Pinging Codecov 03:05:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=124a5f1bb5d04e19c2b309127a124eb76166dd36&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F213%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:05:04 -> Uploading to 03:05:04 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/124a5f1bb5d04e19c2b309127a124eb76166dd36/f38fa8ae-4356-4c42-949d-bcc652ee9489.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T030503Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9f080060720216aaab37f07514b10388307cfb6cbf42a4f0f669ea80e6b4a178 03:05:04 % Total % Received % Xferd Average Speed Time Time Time Current 03:05:04 Dload Upload Total Spent Left Speed 03:05:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 43071 --:--:-- --:--:-- --:--:-- 43071 03:05:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] } 03:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:05:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:05:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:05:04 03:05:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:05:05 latest: Pulling from edgex-devops/edgex-snyk-go 03:05:05 43c4264eed91: Already exists 03:05:05 4cc291be95ef: Already exists 03:05:05 2ac1f1163629: Already exists 03:05:05 5c3c966382ef: Already exists 03:05:05 4f4fb700ef54: Already exists 03:05:05 d9c7d2e4e75e: Pulling fs layer 03:05:05 9c3e1370e548: Pulling fs layer 03:05:05 d9c7d2e4e75e: Verifying Checksum 03:05:05 d9c7d2e4e75e: Pull complete 03:05:06 9c3e1370e548: Verifying Checksum 03:05:06 9c3e1370e548: Download complete 03:05:09 9c3e1370e548: Pull complete 03:05:09 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 03:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:05:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:09 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 03:05:11 $ docker top 6c3fdc9bacaa566289e2e3d639999b1b6fac2ba8e80cbdfff243aafff0012cc9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:12 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 03:05:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 03:05:12 + set -o pipefail 03:05:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 03:05:19 03:05:19 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 03:05:19 03:05:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/7dbcf9e4-8b55-4e81-ba34-c12bb6a34954 03:05:19 03:05:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:05:19 03:05:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:05:19 03:05:19 03:05:19 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:05:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:05:20 $ docker stop --time=1 6c3fdc9bacaa566289e2e3d639999b1b6fac2ba8e80cbdfff243aafff0012cc9 03:05:25 $ docker rm -f --volumes 6c3fdc9bacaa566289e2e3d639999b1b6fac2ba8e80cbdfff243aafff0012cc9 [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 03:05:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:26 provisioning config files... 03:05:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15669217587999561090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:05:26 --> edgex-publish-swagger.sh 03:05:26 === Publish doc/openapi/v3 API === 03:05:26 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 03:05:26 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 03:05:26 % Total % Received % Xferd Average Speed Time Time Time Current 03:05:26 Dload Upload Total Spent Left Speed 03:05:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 3493k --:--:-- --:--:-- --:--:-- 3468k 100 485k 100 156 100 485k 344 1071k --:--:-- --:--:-- --:--:-- 1069k 03:05:26 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 03:05:26 [Pipeline] } 03:05:26 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 03:05:27 + git log --format=format:%s -1 124a5f1bb5d04e19c2b309127a124eb76166dd36 [Pipeline] sh 03:05:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:28 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:05:28 $ docker top ebba672b6cee6b42cc6d465899973f37ccc9f22e6d0f5d92fc2a7af4fdcd7c93 -eo pid,comm 03:05:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:05:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:28 [ssh-agent] Looking for ssh-agent implementation... 03:05:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:28 $ docker exec ebba672b6cee6b42cc6d465899973f37ccc9f22e6d0f5d92fc2a7af4fdcd7c93 ssh-agent 03:05:28 SSH_AUTH_SOCK=/tmp/ssh-p3zipFWQj64u/agent.32 03:05:28 SSH_AGENT_PID=38 03:05:28 Running ssh-add (command line suppressed) 03:05:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5270776026041176062.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5270776026041176062.key) 03:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:29 + git semver tag 03:05:29 2024-11-11 03:05:29,493 [run_tag] DEBUG tag force:False 03:05:29 2024-11-11 03:05:29,493 [check_head_tag] DEBUG check head tag 03:05:29 2024-11-11 03:05:29,494 [execute] INFO git cat-file --batch-check 03:05:29 2024-11-11 03:05:29,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:05:29 2024-11-11 03:05:29,497 [execute] INFO git cat-file --batch 03:05:29 2024-11-11 03:05:29,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:05:29 2024-11-11 03:05:29,512 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:29 2024-11-11 03:05:29,512 [execute] INFO git tag -a v4.0.0-dev.4 -m v4.0.0-dev.4 03:05:29 2024-11-11 03:05:29,512 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.4', '-m', 'v4.0.0-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 03:05:29 2024-11-11 03:05:29,516 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:29 4.0.0-dev.4 [Pipeline] } 03:05:29 $ docker exec --env ******** --env ******** ebba672b6cee6b42cc6d465899973f37ccc9f22e6d0f5d92fc2a7af4fdcd7c93 ssh-agent -k 03:05:29 unset SSH_AUTH_SOCK; 03:05:29 unset SSH_AGENT_PID; 03:05:29 echo Agent pid 38 killed; 03:05:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:30 + git semver [Pipeline] } 03:05:30 $ docker stop --time=1 ebba672b6cee6b42cc6d465899973f37ccc9f22e6d0f5d92fc2a7af4fdcd7c93 03:05:31 $ docker rm -f --volumes ebba672b6cee6b42cc6d465899973f37ccc9f22e6d0f5d92fc2a7af4fdcd7c93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:31 03:05:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:32 0.23.1-centos7: Pulling from edgex-lftools 03:05:32 ab5ef0e58194: Pulling fs layer 03:05:32 9712f1f96733: Pulling fs layer 03:05:32 63f879dbbcfc: Pulling fs layer 03:05:32 0d9ebad4ef96: Pulling fs layer 03:05:32 e9a5061849ea: Pulling fs layer 03:05:32 d747dcd14b5f: Pulling fs layer 03:05:32 2de7ff778b66: Pulling fs layer 03:05:32 0d9ebad4ef96: Waiting 03:05:32 e9a5061849ea: Waiting 03:05:32 d747dcd14b5f: Waiting 03:05:32 9712f1f96733: Verifying Checksum 03:05:32 9712f1f96733: Download complete 03:05:32 63f879dbbcfc: Verifying Checksum 03:05:32 63f879dbbcfc: Download complete 03:05:32 e9a5061849ea: Verifying Checksum 03:05:32 e9a5061849ea: Download complete 03:05:32 d747dcd14b5f: Verifying Checksum 03:05:32 d747dcd14b5f: Download complete 03:05:32 2de7ff778b66: Verifying Checksum 03:05:32 2de7ff778b66: Download complete 03:05:32 0d9ebad4ef96: Verifying Checksum 03:05:32 0d9ebad4ef96: Download complete 03:05:32 ab5ef0e58194: Verifying Checksum 03:05:32 ab5ef0e58194: Download complete 03:05:36 ab5ef0e58194: Pull complete 03:05:36 9712f1f96733: Pull complete 03:05:36 63f879dbbcfc: Pull complete 03:05:39 0d9ebad4ef96: Pull complete 03:05:40 e9a5061849ea: Pull complete 03:05:40 d747dcd14b5f: Pull complete 03:05:41 2de7ff778b66: Pull complete 03:05:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:05:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:41 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:05:46 $ docker top 004b5c0137cd956c3cb7f5b043bc594e99362b0f086e23d5576587c96857a750 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:05:46 provisioning config files... 03:05:47 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1961874483005675744tmp 03:05:47 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13612221302543662621tmp 03:05:47 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17674080581579899881tmp [Pipeline] { [Pipeline] echo 03:05:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:05:47 ---> sigul-configuration.sh 03:05:47 gpg: directory `/root/.gnupg' created 03:05:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:05:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:05:47 gpg: keyring `/root/.gnupg/secring.gpg' created 03:05:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:05:47 gpg: CAST5 encrypted data 03:05:47 gpg: encrypted with 1 passphrase 03:05:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:05:47 + mkdir /home/jenkins 03:05:47 + mkdir /home/jenkins/sigul [Pipeline] sh 03:05:47 + 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 03:05:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:05:48 ---> sigul-install.sh 03:05:48 Sigul already installed; skipping installation. [Pipeline] sh 03:05:48 + git tag --list 03:05:48 v0.0.0 03:05:48 v2.2.0 03:05:48 v2.3.0 03:05:48 v2.3.1 03:05:48 v3.0 03:05:48 v3.0.0 03:05:48 v3.1 03:05:48 v3.1.0 03:05:48 v3.1.0-dev.1 03:05:48 v3.1.0-dev.10 03:05:48 v3.1.0-dev.11 03:05:48 v3.1.0-dev.12 03:05:48 v3.1.0-dev.13 03:05:48 v3.1.0-dev.14 03:05:48 v3.1.0-dev.15 03:05:48 v3.1.0-dev.16 03:05:48 v3.1.0-dev.17 03:05:48 v3.1.0-dev.18 03:05:48 v3.1.0-dev.19 03:05:48 v3.1.0-dev.2 03:05:48 v3.1.0-dev.20 03:05:48 v3.1.0-dev.21 03:05:48 v3.1.0-dev.22 03:05:48 v3.1.0-dev.23 03:05:48 v3.1.0-dev.24 03:05:48 v3.1.0-dev.25 03:05:48 v3.1.0-dev.26 03:05:48 v3.1.0-dev.27 03:05:48 v3.1.0-dev.28 03:05:48 v3.1.0-dev.3 03:05:48 v3.1.0-dev.4 03:05:48 v3.1.0-dev.5 03:05:48 v3.1.0-dev.6 03:05:48 v3.1.0-dev.7 03:05:48 v3.1.0-dev.8 03:05:48 v3.1.0-dev.9 03:05:48 v3.1.1 03:05:48 v3.2.0-dev.1 03:05:48 v3.2.0-dev.10 03:05:48 v3.2.0-dev.11 03:05:48 v3.2.0-dev.12 03:05:48 v3.2.0-dev.13 03:05:48 v3.2.0-dev.14 03:05:48 v3.2.0-dev.15 03:05:48 v3.2.0-dev.16 03:05:48 v3.2.0-dev.17 03:05:48 v3.2.0-dev.18 03:05:48 v3.2.0-dev.19 03:05:48 v3.2.0-dev.2 03:05:48 v3.2.0-dev.20 03:05:48 v3.2.0-dev.21 03:05:48 v3.2.0-dev.22 03:05:48 v3.2.0-dev.23 03:05:48 v3.2.0-dev.3 03:05:48 v3.2.0-dev.4 03:05:48 v3.2.0-dev.5 03:05:48 v3.2.0-dev.6 03:05:48 v3.2.0-dev.7 03:05:48 v3.2.0-dev.8 03:05:48 v3.2.0-dev.9 03:05:48 v4.0.0-dev.1 03:05:48 v4.0.0-dev.2 03:05:48 v4.0.0-dev.3 03:05:48 v4.0.0-dev.4 [Pipeline] sh 03:05:48 + lftools sign git-tag v4.0.0-dev.4 03:05:49 Signing Git tag with Sigul... 03:05:49 Signing v4.0.0-dev.4 [Pipeline] echo 03:05:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:05:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:05:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:05:50 $ docker stop --time=1 004b5c0137cd956c3cb7f5b043bc594e99362b0f086e23d5576587c96857a750 03:05:51 $ docker rm -f --volumes 004b5c0137cd956c3cb7f5b043bc594e99362b0f086e23d5576587c96857a750 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:05:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:52 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:05:52 $ docker top 26b56a47020445a2aa8d0476545fdfa00b8cdd42b57d49e2761fc2504f86bc5a -eo pid,comm 03:05:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:05:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:52 [ssh-agent] Looking for ssh-agent implementation... 03:05:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:52 $ docker exec 26b56a47020445a2aa8d0476545fdfa00b8cdd42b57d49e2761fc2504f86bc5a ssh-agent 03:05:52 SSH_AUTH_SOCK=/tmp/ssh-Bhu7oF5rqUA6/agent.32 03:05:52 SSH_AGENT_PID=38 03:05:52 Running ssh-add (command line suppressed) 03:05:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6260761955436567768.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6260761955436567768.key) 03:05:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:53 + git semver bump pre 03:05:53 2024-11-11 03:05:53,450 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:53 2024-11-11 03:05:53,451 [bump_version] DEBUG bumping version:4.0.0-dev.4 on axis:pre with prefix:dev 03:05:53 2024-11-11 03:05:53,451 [bump_version] DEBUG bumped version:4.0.0-dev.5 03:05:53 2024-11-11 03:05:53,451 [write_version] DEBUG write version:4.0.0-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 03:05:53 2024-11-11 03:05:53,451 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:53 2024-11-11 03:05:53,451 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:53 2024-11-11 03:05:53,453 [execute] INFO git cat-file --batch-check 03:05:53 2024-11-11 03:05:53,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:53 2024-11-11 03:05:53,458 [execute] INFO git cat-file --batch 03:05:53 2024-11-11 03:05:53,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:53 2024-11-11 03:05:53,463 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:53 4.0.0-dev.5 [Pipeline] } 03:05:53 $ docker exec --env ******** --env ******** 26b56a47020445a2aa8d0476545fdfa00b8cdd42b57d49e2761fc2504f86bc5a ssh-agent -k 03:05:53 unset SSH_AUTH_SOCK; 03:05:53 unset SSH_AGENT_PID; 03:05:53 echo Agent pid 38 killed; 03:05:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:53 + git semver [Pipeline] } 03:05:54 $ docker stop --time=1 26b56a47020445a2aa8d0476545fdfa00b8cdd42b57d49e2761fc2504f86bc5a 03:05:55 $ docker rm -f --volumes 26b56a47020445a2aa8d0476545fdfa00b8cdd42b57d49e2761fc2504f86bc5a [Pipeline] // withDockerContainer [Pipeline] sh 03:05:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:56 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:05:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:05:56 $ docker top a6a6a685dd76dffbe4f3a3ea8c6dcf29fac1cf4c8298595abb7d45ffe2243d24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:05:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:05:56 [ssh-agent] Looking for ssh-agent implementation... 03:05:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:05:56 $ docker exec a6a6a685dd76dffbe4f3a3ea8c6dcf29fac1cf4c8298595abb7d45ffe2243d24 ssh-agent 03:05:57 SSH_AUTH_SOCK=/tmp/ssh-S2xyDNnon2ly/agent.32 03:05:57 SSH_AGENT_PID=38 03:05:57 Running ssh-add (command line suppressed) 03:05:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11687090956831230705.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11687090956831230705.key) 03:05:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:05:57 + git semver push 03:05:57 2024-11-11 03:05:57,607 [run_push] DEBUG push 03:05:57 2024-11-11 03:05:57,608 [execute] INFO git cat-file --batch-check 03:05:57 2024-11-11 03:05:57,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:05:57 2024-11-11 03:05:57,612 [execute] INFO git rev-list 860d5d21886ee2318b6d9134d8f32b2cbcf2db91 -- 03:05:57 2024-11-11 03:05:57,612 [execute] DEBUG Popen(['git', 'rev-list', '860d5d21886ee2318b6d9134d8f32b2cbcf2db91', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:05:57 2024-11-11 03:05:57,621 [execute] INFO git fetch -v origin 03:05:57 2024-11-11 03:05:57,621 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 03:05:58 2024-11-11 03:05:58,074 [run_push] DEBUG no remote changes detected 03:05:58 2024-11-11 03:05:58,074 [execute] INFO git push origin semver 03:05:58 2024-11-11 03:05:58,074 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:05:58 2024-11-11 03:05:58,679 [run_push] DEBUG push all version tags 03:05:58 2024-11-11 03:05:58,680 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:05:58 2024-11-11 03:05:58,680 [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) 03:05:59 2024-11-11 03:05:59,290 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:05:59 4.0.0-dev.5 [Pipeline] } 03:05:59 $ docker exec --env ******** --env ******** a6a6a685dd76dffbe4f3a3ea8c6dcf29fac1cf4c8298595abb7d45ffe2243d24 ssh-agent -k 03:05:59 unset SSH_AUTH_SOCK; 03:05:59 unset SSH_AGENT_PID; 03:05:59 echo Agent pid 38 killed; 03:05:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:05:59 + git semver [Pipeline] } 03:06:00 $ docker stop --time=1 a6a6a685dd76dffbe4f3a3ea8c6dcf29fac1cf4c8298595abb7d45ffe2243d24 03:06:01 $ docker rm -f --volumes a6a6a685dd76dffbe4f3a3ea8c6dcf29fac1cf4c8298595abb7d45ffe2243d24 [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 03:06:02 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 03:06:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:06:02 total 16 03:06:02 drwxr-xr-x 3 root root 4096 Nov 11 02:50 . 03:06:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 03:05 .. 03:06:02 drwxr-xr-x 2 root root 4096 Nov 11 02:50 cost 03:06:02 -rw-r--r-- 1 root root 91 Nov 11 02:50 cost.csv 03:06:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 03:06:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:06:02 total 16 03:06:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:50 . 03:06:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 03:05 .. 03:06:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 02:50 cost 03:06:02 -rw-r--r-- 1 jenkins jenkins 91 Nov 11 02:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:06:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:06:03 ---> package-listing.sh 03:06:03 ++ facter osfamily 03:06:03 ++ tr '[:upper:]' '[:lower:]' 03:06:03 + OS_FAMILY=debian 03:06:03 + workspace=/w/workspace/foundry_device-onvif-camera_main 03:06:03 + START_PACKAGES=/tmp/packages_start.txt 03:06:03 + END_PACKAGES=/tmp/packages_end.txt 03:06:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:06:03 + PACKAGES=/tmp/packages_start.txt 03:06:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:06:03 + PACKAGES=/tmp/packages_end.txt 03:06:03 + case "${OS_FAMILY}" in 03:06:03 + dpkg -l 03:06:03 + grep '^ii' 03:06:03 + '[' -f /tmp/packages_start.txt ']' 03:06:03 + '[' -f /tmp/packages_end.txt ']' 03:06:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:06:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:06:03 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 03:06:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 03:06:03 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 03:06:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:06:04 prd-ubuntu20.04-docker-8c-8g-26089 does not seem to be running inside a container 03:06:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:06:04 $ docker top 68a3b4a2c7fcab3fe7b93377ff2d1b4c55b1b1a846fa7895748458dc1d91f13b -eo pid,comm [Pipeline] { [Pipeline] sh 03:06:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:06:05 + mkdir -p /var/log/sysstat [Pipeline] sh 03:06:05 + ls /var/log/sa-host 03:06:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:06:05 provisioning config files... 03:06:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8543975738914964474tmp [Pipeline] { [Pipeline] echo 03:06:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:06:05 ---> create-netrc.sh [Pipeline] } 03:06:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:06:06 ---> python-tools-install.sh [Pipeline] echo 03:06:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:06:06 ---> sudo-logs.sh 03:06:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:06:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:06:06 ---> job-cost.sh 03:06:06 lf-activate-venv: SKIPPING 03:06:06 DEBUG: total: 0.2199999988079071 03:06:06 INFO: Retrieving Stack Cost... 03:06:07 INFO: Retrieving Pricing Info for: v3-standard-8 03:06:07 INFO: Archiving Costs [Pipeline] echo 03:06:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:06:07 ---> logs-deploy.sh 03:06:07 lf-activate-venv: SKIPPING 03:06:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/213 03:06:07 INFO: archiving workspace using pattern(s): 03:06:08 Archives upload complete. 03:06:08 INFO: archiving logs to Nexus