Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 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-ssh3017256658856771641.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-ssh16435319871739794614.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-ssh17787262447180876645.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-ssh12898070304011738831.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-ssh3622261227301247410.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-17045 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 Commit message: "Merge pull request #461 from jinlinGuan/golang-1.23" > git rev-list --no-walk 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:19:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:19:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:19:39 ========================================================= 08:19:39 EdgeX Global Pipelines Version Info 08:19:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:19:40 ------------------- 08:19:40 stable info: 08:19:40 ------------------- 08:19:40 Commited By: Ginny Guan ginny@iotechsys.com 08:19:40 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:19:40 Message: update stable to v1.0.265 08:19:41 ------------------- 08:19:41 experimental info: 08:19:41 ------------------- 08:19:41 Commited By: Cherry Wang cherry@iotechsys.com 08:19:41 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:19:41 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:19:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad59c63 [Pipeline] echo 08:19:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:42 provisioning config files... 08:19:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16130014028604126216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:42 ---> ****-login.sh 08:19:42 nexus3.edgexfoundry.org:10001 08:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:44 Configure a credential helper to remove this warning. See 08:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:44 08:19:44 Login Succeeded 08:19:44 nexus3.edgexfoundry.org:10002 08:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:44 Configure a credential helper to remove this warning. See 08:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:44 08:19:44 Login Succeeded 08:19:44 nexus3.edgexfoundry.org:10003 08:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:44 Configure a credential helper to remove this warning. See 08:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:44 08:19:44 Login Succeeded 08:19:44 nexus3.edgexfoundry.org:10004 08:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:44 Configure a credential helper to remove this warning. See 08:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:44 08:19:44 Login Succeeded 08:19:44 ****.io 08:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:19:44 Configure a credential helper to remove this warning. See 08:19:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:19:44 08:19:44 Login Succeeded 08:19:44 ---> ****-login.sh ends [Pipeline] } 08:19:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:19:45 + git rev-list -1 --merges ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b~1..ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] echo 08:19:45 -----------> git rev-list -1 --merges ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b~1..ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 08:19:45 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [false] [Pipeline] sh 08:19:45 + git log --format=format:%s -1 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] echo 08:19:45 ========================================================= 08:19:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:19:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:46 + git log --format=format:%s -1 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] echo 08:19:46 [semverPrep] GIT_COMMIT: ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b, Commit Message: Merge pull request #461 from jinlinGuan/golang-1.23 [Pipeline] echo 08:19:46 [semverPrep] This is not a build commit. [Pipeline] sh 08:19:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:19:46 + grep -v github /etc/ssh/ssh_known_hosts 08:19:46 + [ -e /tmp/ssh_known_hosts ] 08:19:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:19:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:19:46 + sudo tee -a /etc/ssh/ssh_known_hosts 08:19:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:19:47 08:19:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:19:47 0.1.4: Pulling from edgex-devops/py-git-semver 08:19:47 b85a868b505f: Pulling fs layer 08:19:47 e2be974225ed: Pulling fs layer 08:19:47 339a4e72a1f5: Pulling fs layer 08:19:47 988bab9f4d93: Pulling fs layer 08:19:47 1469e6f7b9e6: Pulling fs layer 08:19:47 eaf3925da568: Pulling fs layer 08:19:47 bab4dde63d76: Pulling fs layer 08:19:47 bde34c3a00c8: Pulling fs layer 08:19:47 b352a97aabf1: Pulling fs layer 08:19:47 4872d77fe225: Pulling fs layer 08:19:47 5851b861e8e6: Pulling fs layer 08:19:47 988bab9f4d93: Waiting 08:19:47 1469e6f7b9e6: Waiting 08:19:47 eaf3925da568: Waiting 08:19:47 bab4dde63d76: Waiting 08:19:47 bde34c3a00c8: Waiting 08:19:47 b352a97aabf1: Waiting 08:19:47 5851b861e8e6: Waiting 08:19:47 4872d77fe225: Waiting 08:19:47 e2be974225ed: Verifying Checksum 08:19:47 e2be974225ed: Download complete 08:19:47 988bab9f4d93: Verifying Checksum 08:19:47 988bab9f4d93: Download complete 08:19:47 339a4e72a1f5: Verifying Checksum 08:19:47 339a4e72a1f5: Download complete 08:19:47 1469e6f7b9e6: Verifying Checksum 08:19:47 1469e6f7b9e6: Download complete 08:19:47 eaf3925da568: Verifying Checksum 08:19:47 eaf3925da568: Download complete 08:19:47 bde34c3a00c8: Download complete 08:19:48 b352a97aabf1: Download complete 08:19:48 4872d77fe225: Download complete 08:19:48 5851b861e8e6: Download complete 08:19:48 b85a868b505f: Verifying Checksum 08:19:48 b85a868b505f: Download complete 08:19:48 bab4dde63d76: Verifying Checksum 08:19:48 bab4dde63d76: Download complete 08:19:49 b85a868b505f: Pull complete 08:19:50 e2be974225ed: Pull complete 08:19:51 339a4e72a1f5: Pull complete 08:19:51 988bab9f4d93: Pull complete 08:19:52 1469e6f7b9e6: Pull complete 08:19:53 eaf3925da568: Pull complete 08:19:55 bab4dde63d76: Pull complete 08:19:55 bde34c3a00c8: Pull complete 08:19:55 b352a97aabf1: Pull complete 08:19:55 4872d77fe225: Pull complete 08:19:55 5851b861e8e6: Pull complete 08:19:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:19:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:19:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:56 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 08:19: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:20:02 $ docker top 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 -eo pid,comm 08:20:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:20:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:02 [ssh-agent] Looking for ssh-agent implementation... 08:20:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:02 $ docker exec 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 ssh-agent 08:20:03 SSH_AUTH_SOCK=/tmp/ssh-f2GFW0lpvUbA/agent.33 08:20:03 SSH_AGENT_PID=39 08:20:03 Running ssh-add (command line suppressed) 08:20:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13276978871301213351.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13276978871301213351.key) 08:20:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:03 + git tag --points-at HEAD [Pipeline] } 08:20:03 $ docker exec --env ******** --env ******** 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 ssh-agent -k 08:20:03 unset SSH_AUTH_SOCK; 08:20:03 unset SSH_AGENT_PID; 08:20:03 echo Agent pid 39 killed; 08:20:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:20:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:03 [ssh-agent] Looking for ssh-agent implementation... 08:20:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:03 $ docker exec 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 ssh-agent 08:20:03 SSH_AUTH_SOCK=/tmp/ssh-xGzQ0ivyXd8q/agent.73 08:20:03 SSH_AGENT_PID=79 08:20:03 Running ssh-add (command line suppressed) 08:20:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14280169148796121057.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14280169148796121057.key) 08:20:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:04 + git semver init 08:20:04 2024-10-04 08:20:04,554 [run_init] DEBUG init version:0.0.0 force:False 08:20:04 2024-10-04 08:20:04,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 08:20:04 2024-10-04 08:20:04,556 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 08:20:04 2024-10-04 08:20:04,556 [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) 08:20:06 2024-10-04 08:20:05,907 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 08:20:06 2024-10-04 08:20:05,907 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 08:20:06 2024-10-04 08:20:05,908 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:20:06 2024-10-04 08:20:05,908 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 08:20:06 3.2.0-dev.20 [Pipeline] } 08:20:06 $ docker exec --env ******** --env ******** 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 ssh-agent -k 08:20:06 unset SSH_AUTH_SOCK; 08:20:06 unset SSH_AGENT_PID; 08:20:06 echo Agent pid 79 killed; 08:20:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:06 + git semver [Pipeline] } 08:20:06 $ docker stop --time=1 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 08:20:08 $ docker rm -f --volumes 308b64ce743db318bf1367e173c1be399235b66149e22297fb0aa12b25ac7f86 [Pipeline] // withDockerContainer [Pipeline] sh 08:20:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:20:08 Stashed 1 file(s) [Pipeline] echo 08:20:08 [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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 08:20:09 provisioning config files... 08:20:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13416189812665666707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:09 ---> ****-login.sh 08:20:09 nexus3.edgexfoundry.org:10001 08:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:20:09 Configure a credential helper to remove this warning. See 08:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:20:09 08:20:09 Login Succeeded 08:20:09 nexus3.edgexfoundry.org:10002 08:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:20:09 Configure a credential helper to remove this warning. See 08:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:20:09 08:20:09 Login Succeeded 08:20:09 nexus3.edgexfoundry.org:10003 08:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:20:09 Configure a credential helper to remove this warning. See 08:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:20:09 08:20:09 Login Succeeded 08:20:09 nexus3.edgexfoundry.org:10004 08:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:20:09 Configure a credential helper to remove this warning. See 08:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:20:09 08:20:09 Login Succeeded 08:20:09 ****.io 08:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:20:10 Configure a credential helper to remove this warning. See 08:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:20:10 08:20:10 Login Succeeded 08:20:10 ---> ****-login.sh ends [Pipeline] } 08:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:20:10 ========================================================= 08:20:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:20:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:10 + 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 . 08:20:10 Sending build context to Docker daemon 36.66MB 08:20:10 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 08:20:10 Step 2/13 : FROM ${BASE} AS builder 08:20:10 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:20:10 43c4264eed91: Pulling fs layer 08:20:10 4cc291be95ef: Pulling fs layer 08:20:10 2ac1f1163629: Pulling fs layer 08:20:10 5c3c966382ef: Pulling fs layer 08:20:10 4f4fb700ef54: Pulling fs layer 08:20:10 5d5c8e513c77: Pulling fs layer 08:20:10 9f66e0745190: Pulling fs layer 08:20:10 f49a43e4bbc0: Pulling fs layer 08:20:10 561ebcabdf7f: Pulling fs layer 08:20:10 5c3c966382ef: Waiting 08:20:10 4f4fb700ef54: Waiting 08:20:10 5d5c8e513c77: Waiting 08:20:10 9f66e0745190: Waiting 08:20:10 f49a43e4bbc0: Waiting 08:20:10 561ebcabdf7f: Waiting 08:20:10 4cc291be95ef: Verifying Checksum 08:20:10 5c3c966382ef: Verifying Checksum 08:20:10 5c3c966382ef: Download complete 08:20:10 4f4fb700ef54: Verifying Checksum 08:20:10 4f4fb700ef54: Download complete 08:20:11 5d5c8e513c77: Verifying Checksum 08:20:11 5d5c8e513c77: Download complete 08:20:11 43c4264eed91: Download complete 08:20:11 9f66e0745190: Verifying Checksum 08:20:11 9f66e0745190: Download complete 08:20:11 561ebcabdf7f: Download complete 08:20:11 43c4264eed91: Pull complete 08:20:11 4cc291be95ef: Pull complete 08:20:11 2ac1f1163629: Verifying Checksum 08:20:11 2ac1f1163629: Download complete 08:20:11 f49a43e4bbc0: Verifying Checksum 08:20:11 f49a43e4bbc0: Download complete 08:20:15 2ac1f1163629: Pull complete 08:20:15 5c3c966382ef: Pull complete 08:20:15 4f4fb700ef54: Pull complete 08:20:15 5d5c8e513c77: Pull complete 08:20:15 9f66e0745190: Pull complete 08:20:18 f49a43e4bbc0: Pull complete 08:20:18 561ebcabdf7f: Pull complete 08:20:18 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:20:18 ---> 3a752c3f9dda 08:20:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:20:24 Still waiting to schedule task 08:20:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16704’ 08:20:28 ---> Running in 0177127c54e9 08:20:28 Removing intermediate container 0177127c54e9 08:20:28 ---> 5914a5f1b171 08:20:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:20:28 ---> Running in f4c8cd900e99 08:20:28 Removing intermediate container f4c8cd900e99 08:20:28 ---> 0210f8171178 08:20:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 08:20:28 ---> Running in 96b74fc26262 08:20:28 Removing intermediate container 96b74fc26262 08:20:28 ---> c3678134b07a 08:20:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:20:28 ---> Running in 9981a5eec9f0 08:20:28 Removing intermediate container 9981a5eec9f0 08:20:28 ---> 4d68c49c7d43 08:20:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 08:20:28 ---> Running in 6ac697dee2aa 08:20:28 Removing intermediate container 6ac697dee2aa 08:20:28 ---> cbf2775fc183 08:20:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:20:28 ---> Running in e5e22038647f 08:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:20:28 OK: 246 MiB in 54 packages 08:20:29 Removing intermediate container e5e22038647f 08:20:29 ---> a7ce8ef3f831 08:20:29 Step 9/13 : WORKDIR /device-onvif-camera 08:20:29 ---> Running in 2f8a48a19aa3 08:20:29 Removing intermediate container 2f8a48a19aa3 08:20:29 ---> 9b66b4a197b1 08:20:29 Step 10/13 : COPY go.mod vendor* ./ 08:20:29 ---> b17e5ffb32a1 08:20:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:29 ---> Running in 18b110db6f85 08:21:25 Removing intermediate container 18b110db6f85 08:21:25 ---> 68fce3b080c3 08:21:25 Step 12/13 : COPY . . 08:21:27 ---> 938f6632b89c 08:21:27 Step 13/13 : RUN ${MAKE} 08:21:27 ---> Running in 626bc8951c1b 08:21:27 noop 08:21:27 Removing intermediate container 626bc8951c1b 08:21:27 ---> bffe8325e123 08:21:27 Successfully built bffe8325e123 08:21:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:28 + docker inspect -f . ci-base-image-x86_64 08:21:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:28 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 08:21:28 $ 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 08:21:28 $ docker top a99e0107b7d0b6492a77615d6e5673f9d854d6c52450edd46ad74bfd755f1dda -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:29 + go version 08:21:29 go version go1.23.2 linux/amd64 [Pipeline] } 08:21:29 $ docker stop --time=1 a99e0107b7d0b6492a77615d6e5673f9d854d6c52450edd46ad74bfd755f1dda 08:21:30 $ docker rm -f --volumes a99e0107b7d0b6492a77615d6e5673f9d854d6c52450edd46ad74bfd755f1dda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:30 + docker inspect -f . ci-base-image-x86_64 08:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:30 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 08:21:30 $ 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 08:21:31 $ docker top 6c7510291c51f56bf024313daecc0f1f53c28cf6e51d2371a67b0298e5ca90b8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:31 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 08:21:31 + make test 08:21:31 go test ./... -coverprofile=coverage.out ./... 08:21:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:21:55 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 08:21:55 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 08:21:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.4% of statements 08:21:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.503s coverage: 86.5% of statements 08:22:10 go vet ./... 08:22:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:22:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:22:15 ./bin/test-attribution-txt.sh [Pipeline] echo 08:22:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:22:15 $ docker stop --time=1 6c7510291c51f56bf024313daecc0f1f53c28cf6e51d2371a67b0298e5ca90b8 08:22:19 $ docker rm -f --volumes 6c7510291c51f56bf024313daecc0f1f53c28cf6e51d2371a67b0298e5ca90b8 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:22:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:22:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:22:20 + ls -al . 08:22:20 total 328 08:22:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 08:21 . 08:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:19 .. 08:22:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:21 .git 08:22:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:19 .github 08:22:20 -rw-rw-r-- 1 jenkins jenkins 493 Oct 4 08:19 .gitignore 08:22:20 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 08:19 .golangci.yml 08:22:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:20 .semver 08:22:20 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 4 08:19 Attribution.txt 08:22:20 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 4 08:19 CHANGELOG.md 08:22:20 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 4 08:19 Dockerfile 08:22:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 08:19 GOVERNANCE.md 08:22:20 -rw-rw-r-- 1 jenkins jenkins 739 Oct 4 08:19 Jenkinsfile 08:22:20 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 08:19 LICENSE 08:22:20 -rw-rw-r-- 1 jenkins jenkins 2883 Oct 4 08:19 Makefile 08:22:20 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 08:19 OWNERS.md 08:22:20 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 4 08:19 README.md 08:22:20 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 08:20 VERSION 08:22:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 08:19 bin 08:22:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:19 cmd 08:22:20 -rw-r--r-- 1 jenkins jenkins 92292 Oct 4 08:21 coverage.out 08:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:19 doc 08:22:20 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 4 08:19 go.mod 08:22:20 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 4 08:19 go.sum 08:22:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:19 internal 08:22:20 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 08:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:21 + 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=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b --label arch=amd64 --label version=3.2.0-dev.20 . 08:22:21 Sending build context to Docker daemon 36.75MB 08:22:21 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 08:22:21 Step 2/27 : FROM ${BASE} AS builder 08:22:21 ---> bffe8325e123 08:22:21 Step 3/27 : ARG ADD_BUILD_TAGS="" 08:22:21 ---> Running in d8cf4062f783 08:22:22 Removing intermediate container d8cf4062f783 08:22:22 ---> 240110e39460 08:22:22 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:22:22 ---> Running in fded957a6155 08:22:22 Removing intermediate container fded957a6155 08:22:22 ---> b1156435aec7 08:22:22 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 08:22:22 ---> Running in 5eac3d1354af 08:22:22 Removing intermediate container 5eac3d1354af 08:22:22 ---> ba242ad0c71c 08:22:22 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 08:22:22 ---> Running in 9e475fde809d 08:22:22 Removing intermediate container 9e475fde809d 08:22:22 ---> 6a04c84123dd 08:22:22 Step 7/27 : LABEL Name=edgex-device-onvif-camera 08:22:22 ---> Running in bc9b2e4a0e38 08:22:22 Removing intermediate container bc9b2e4a0e38 08:22:22 ---> c8b8f4798a05 08:22:22 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:22:22 ---> Running in 6ad60eb8cb1c 08:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:22:23 OK: 246 MiB in 54 packages 08:22:23 Removing intermediate container 6ad60eb8cb1c 08:22:23 ---> f2f7047d9ba2 08:22:23 Step 9/27 : WORKDIR /device-onvif-camera 08:22:23 ---> Running in 936d82f720af 08:22:23 Removing intermediate container 936d82f720af 08:22:23 ---> 37fa0dd90d34 08:22:23 Step 10/27 : COPY go.mod vendor* ./ 08:22:23 ---> a03c341c0cdd 08:22:23 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:22:23 ---> Running in 95d3074dc8f8 08:22:24 Removing intermediate container 95d3074dc8f8 08:22:24 ---> ca2ae89451c7 08:22:24 Step 12/27 : COPY . . 08:22:25 ---> 81b56facc6e5 08:22:25 Step 13/27 : RUN ${MAKE} 08:22:25 ---> Running in 8996cb53258e 08:22:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 08:23:04 Removing intermediate container 8996cb53258e 08:23:04 ---> 0e2d71fdd72d 08:23:04 Step 14/27 : FROM alpine:3.20 08:23:04 3.20: Pulling from library/alpine 08:23:04 43c4264eed91: Already exists 08:23:04 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:23:04 Status: Downloaded newer image for alpine:3.20 08:23:04 ---> 91ef0af61f39 08:23:04 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 08:23:04 ---> Running in eb38651a096d 08:23:04 Removing intermediate container eb38651a096d 08:23:04 ---> 42c2ac8494a0 08:23:04 Step 16/27 : RUN apk add --update --no-cache dumb-init 08:23:04 ---> Running in 4c17653be229 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:23:04 (1/1) Installing dumb-init (1.2.5-r3) 08:23:04 Executing busybox-1.36.1-r29.trigger 08:23:04 OK: 8 MiB in 15 packages 08:23:04 Removing intermediate container 4c17653be229 08:23:04 ---> 06425fd023a8 08:23:04 Step 17/27 : RUN apk --no-cache upgrade 08:23:04 ---> Running in b40d4d699d1f 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:23:04 Upgrading critical system libraries and apk-tools: 08:23:04 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:23:04 Executing busybox-1.36.1-r29.trigger 08:23:04 Continuing the upgrade transaction with new apk-tools: 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:23:04 OK: 8 MiB in 15 packages 08:23:04 Removing intermediate container b40d4d699d1f 08:23:04 ---> 8bd1b073ab18 08:23:04 Step 18/27 : WORKDIR / 08:23:04 ---> Running in ef5b23545149 08:23:04 Removing intermediate container ef5b23545149 08:23:04 ---> 9564e3ffac39 08:23:04 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 08:23:05 ---> dc60ec139a93 08:23:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 08:23:06 ---> 4bf7b9c16d12 08:23:06 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:23:06 ---> 4166ca0ce761 08:23:06 Step 22/27 : EXPOSE 59984 08:23:06 ---> Running in e224d385d0ce 08:23:06 Removing intermediate container e224d385d0ce 08:23:06 ---> 465eaa8a9acc 08:23:06 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 08:23:06 ---> Running in dff76a2ee3b7 08:23:06 Removing intermediate container dff76a2ee3b7 08:23:06 ---> 54c477a03444 08:23:06 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:23:06 ---> Running in 3268a23a9906 08:23:06 Removing intermediate container 3268a23a9906 08:23:06 ---> e36fc2b2601e 08:23:06 Step 25/27 : LABEL arch=amd64 08:23:06 ---> Running in d305b680abb9 08:23:06 Removing intermediate container d305b680abb9 08:23:06 ---> 08dc72bbfd01 08:23:06 Step 26/27 : LABEL git_sha=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 08:23:06 ---> Running in f991ce67bd26 08:23:06 Removing intermediate container f991ce67bd26 08:23:06 ---> e085bad370d5 08:23:06 Step 27/27 : LABEL version=3.2.0-dev.20 08:23:06 ---> Running in 8de9ede56e99 08:23:06 Removing intermediate container 8de9ede56e99 08:23:06 ---> 25b2cf7d2a78 08:23:06 [Warning] One or more build-args [ARCH] were not consumed 08:23:06 Successfully built 25b2cf7d2a78 08:23:06 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 08:23:06 provisioning config files... 08:23:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1019067477373267166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:07 ---> ****-login.sh 08:23:07 nexus3.edgexfoundry.org:10001 08:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:23:07 Configure a credential helper to remove this warning. See 08:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:23:07 08:23:07 Login Succeeded 08:23:07 nexus3.edgexfoundry.org:10002 08:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:23:07 Configure a credential helper to remove this warning. See 08:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:23:07 08:23:07 Login Succeeded 08:23:07 nexus3.edgexfoundry.org:10003 08:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:23:07 Configure a credential helper to remove this warning. See 08:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:23:07 08:23:07 Login Succeeded 08:23:07 nexus3.edgexfoundry.org:10004 08:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:23:07 Configure a credential helper to remove this warning. See 08:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:23:07 08:23:07 Login Succeeded 08:23:07 ****.io 08:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:23:07 Configure a credential helper to remove this warning. See 08:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:23:07 08:23:07 Login Succeeded 08:23:07 ---> ****-login.sh ends [Pipeline] } 08:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:23:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 08:23:07 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 08:23:07 latest 08:23:07 3.2.0-dev.20 08:23:07 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 08:23:07 main 08:23:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 08:23:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:23:08 292fabb55cb4: Preparing 08:23:08 11b98f8c6cb2: Preparing 08:23:08 c451d6a79568: Preparing 08:23:08 6c4fc6aa26e4: Preparing 08:23:08 27bbf473b855: Preparing 08:23:08 63ca1fbb43ae: Preparing 08:23:08 63ca1fbb43ae: Waiting 08:23:08 292fabb55cb4: Pushed 08:23:08 27bbf473b855: Pushed 08:23:08 6c4fc6aa26e4: Pushed 08:23:08 11b98f8c6cb2: Pushed 08:23:08 63ca1fbb43ae: Layer already exists 08:23:11 c451d6a79568: Pushed 08:23:11 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b: digest: sha256:f5ae6e0026d68ab08fa7fc0f486682d92c1b5c45ead4d0ef32a3533a70034ef1 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 08:23:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:23:12 292fabb55cb4: Preparing 08:23:12 11b98f8c6cb2: Preparing 08:23:12 c451d6a79568: Preparing 08:23:12 6c4fc6aa26e4: Preparing 08:23:12 27bbf473b855: Preparing 08:23:12 63ca1fbb43ae: Preparing 08:23:12 63ca1fbb43ae: Waiting 08:23:12 27bbf473b855: Layer already exists 08:23:12 292fabb55cb4: Layer already exists 08:23:12 6c4fc6aa26e4: Layer already exists 08:23:12 11b98f8c6cb2: Layer already exists 08:23:12 c451d6a79568: Layer already exists 08:23:12 63ca1fbb43ae: Layer already exists 08:23:12 latest: digest: sha256:f5ae6e0026d68ab08fa7fc0f486682d92c1b5c45ead4d0ef32a3533a70034ef1 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.20 08:23:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:23:13 292fabb55cb4: Preparing 08:23:13 11b98f8c6cb2: Preparing 08:23:13 c451d6a79568: Preparing 08:23:13 6c4fc6aa26e4: Preparing 08:23:13 27bbf473b855: Preparing 08:23:13 63ca1fbb43ae: Preparing 08:23:13 63ca1fbb43ae: Waiting 08:23:13 6c4fc6aa26e4: Layer already exists 08:23:13 11b98f8c6cb2: Layer already exists 08:23:13 c451d6a79568: Layer already exists 08:23:13 292fabb55cb4: Layer already exists 08:23:13 27bbf473b855: Layer already exists 08:23:13 63ca1fbb43ae: Layer already exists 08:23:13 3.2.0-dev.20: digest: sha256:f5ae6e0026d68ab08fa7fc0f486682d92c1b5c45ead4d0ef32a3533a70034ef1 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 08:23:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:23:13 292fabb55cb4: Preparing 08:23:13 11b98f8c6cb2: Preparing 08:23:13 c451d6a79568: Preparing 08:23:13 6c4fc6aa26e4: Preparing 08:23:13 27bbf473b855: Preparing 08:23:13 63ca1fbb43ae: Preparing 08:23:13 63ca1fbb43ae: Waiting 08:23:13 11b98f8c6cb2: Layer already exists 08:23:13 c451d6a79568: Layer already exists 08:23:13 292fabb55cb4: Layer already exists 08:23:13 6c4fc6aa26e4: Layer already exists 08:23:13 27bbf473b855: Layer already exists 08:23:13 63ca1fbb43ae: Layer already exists 08:23:13 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20: digest: sha256:f5ae6e0026d68ab08fa7fc0f486682d92c1b5c45ead4d0ef32a3533a70034ef1 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 08:23:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 08:23:14 292fabb55cb4: Preparing 08:23:14 11b98f8c6cb2: Preparing 08:23:14 c451d6a79568: Preparing 08:23:14 6c4fc6aa26e4: Preparing 08:23:14 27bbf473b855: Preparing 08:23:14 63ca1fbb43ae: Preparing 08:23:14 63ca1fbb43ae: Waiting 08:23:14 27bbf473b855: Layer already exists 08:23:14 6c4fc6aa26e4: Layer already exists 08:23:14 292fabb55cb4: Layer already exists 08:23:14 c451d6a79568: Layer already exists 08:23:14 11b98f8c6cb2: Layer already exists 08:23:14 63ca1fbb43ae: Layer already exists 08:23:14 main: digest: sha256:f5ae6e0026d68ab08fa7fc0f486682d92c1b5c45ead4d0ef32a3533a70034ef1 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:23:14 ===================================================== [Pipeline] echo 08:23:14 taggedImages: 08:23:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 08:23:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 08:23:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.20 08:23:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 08:23:14 - 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 08:23:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:14 08:23:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:15 latest: Pulling from edgex-lftools-log-publisher 08:23:15 5eb5b503b376: Pulling fs layer 08:23:15 5c69ac0246d0: Pulling fs layer 08:23:15 ec43610c2a17: Pulling fs layer 08:23:15 3a2ae6a8a46f: Pulling fs layer 08:23:15 33b1e0a273af: Pulling fs layer 08:23:15 5d3b04190fa2: Pulling fs layer 08:23:15 2f39f015ded8: Pulling fs layer 08:23:15 33b1e0a273af: Waiting 08:23:15 5d3b04190fa2: Waiting 08:23:15 2f39f015ded8: Waiting 08:23:15 3a2ae6a8a46f: Waiting 08:23:15 5c69ac0246d0: Download complete 08:23:15 3a2ae6a8a46f: Verifying Checksum 08:23:15 3a2ae6a8a46f: Download complete 08:23:15 33b1e0a273af: Verifying Checksum 08:23:15 33b1e0a273af: Download complete 08:23:15 5d3b04190fa2: Verifying Checksum 08:23:15 5d3b04190fa2: Download complete 08:23:15 ec43610c2a17: Verifying Checksum 08:23:15 ec43610c2a17: Download complete 08:23:15 5eb5b503b376: Verifying Checksum 08:23:15 5eb5b503b376: Download complete 08:23:16 2f39f015ded8: Verifying Checksum 08:23:16 2f39f015ded8: Download complete 08:23:16 5eb5b503b376: Pull complete 08:23:16 5c69ac0246d0: Pull complete 08:23:16 ec43610c2a17: Pull complete 08:23:17 3a2ae6a8a46f: Pull complete 08:23:17 33b1e0a273af: Pull complete 08:23:17 5d3b04190fa2: Pull complete 08:23:21 2f39f015ded8: Pull complete 08:23:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:23:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:21 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 08:23:21 $ 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 08:23:27 $ docker top b3cddd7d2a60161fb84273d78f65dce2e798fc5ad797b175b3e6374fd9501f73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:27 ---> job-cost.sh 08:23:27 lf-activate-venv: SKIPPING 08:23:27 INFO: No Stack... 08:23:27 INFO: Retrieving Pricing Info for: v3-standard-8 08:23:28 INFO: Archiving Costs [Pipeline] sh 08:23:28 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 08:23:28 + cut -d, -f6 [Pipeline] lock 08:23:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] 08:23:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] did not exist. Created. 08:23:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:28 + echo total: 0.2199999988079071 [Pipeline] stash 08:23:28 Stashed 1 file(s) [Pipeline] } 08:23:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] [Pipeline] // lock [Pipeline] } 08:23:28 $ docker stop --time=1 b3cddd7d2a60161fb84273d78f65dce2e798fc5ad797b175b3e6374fd9501f73 08:23:29 $ docker rm -f --volumes b3cddd7d2a60161fb84273d78f65dce2e798fc5ad797b175b3e6374fd9501f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:13:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21056 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 10:13:35 Running in /w/workspace/device-onvif-camera/206 [Pipeline] { [Pipeline] checkout 10:13:38 The recommended git tool is: git 10:13:46 using credential edgex-jenkins-ssh 10:13:46 Cloning the remote Git repository 10:13:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:13:46 > git init /w/workspace/device-onvif-camera/206 # timeout=10 10:13:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:13:46 > git --version # timeout=10 10:13:46 > git --version # 'git version 2.25.1' 10:13:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:13:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:13:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:13:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:13:50 Avoid second fetch 10:13:50 Checking out Revision ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b (main) 10:13:51 Commit message: "Merge pull request #461 from jinlinGuan/golang-1.23" 10:13:50 > git config core.sparsecheckout # timeout=10 10:13:50 > git checkout -f ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:13:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:13:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:56 Dload Upload Total Spent Left Speed 10:13:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 10:13:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:13:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:13:56 + sudo tee /etc/docker/daemon.new 10:13:56 { 10:13:56 "registry-mirrors": [ 10:13:56 "https://nexus3.edgexfoundry.org:10001" 10:13:56 ], 10:13:56 "bip": "10.250.0.254/24", 10:13:56 "hosts": [ 10:13:56 "tcp://0.0.0.0:5555", 10:13:56 "unix:///var/run/docker.sock" 10:13:56 ], 10:13:56 "mtu": 1458, 10:13:56 "selinux-enabled": true, 10:13:56 "seccomp-profile": "/etc/docker/seccomp.json" 10:13:56 } [Pipeline] sh 10:13:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:13:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:15 provisioning config files... 10:14:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/206@tmp/config8024142884252364129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:16 ---> ****-login.sh 10:14:16 nexus3.edgexfoundry.org:10001 10:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:14:16 Configure a credential helper to remove this warning. See 10:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:14:16 10:14:16 Login Succeeded 10:14:16 nexus3.edgexfoundry.org:10002 10:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:14:17 Configure a credential helper to remove this warning. See 10:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:14:17 10:14:17 Login Succeeded 10:14:17 nexus3.edgexfoundry.org:10003 10:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:14:17 Configure a credential helper to remove this warning. See 10:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:14:17 10:14:17 Login Succeeded 10:14:17 nexus3.edgexfoundry.org:10004 10:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:14:18 Configure a credential helper to remove this warning. See 10:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:14:18 10:14:18 Login Succeeded 10:14:18 ****.io 10:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:14:18 Configure a credential helper to remove this warning. See 10:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:14:18 10:14:18 Login Succeeded 10:14:18 ---> ****-login.sh ends [Pipeline] } 10:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:14:18 ========================================================= 10:14:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:14:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:19 + 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 . 10:14:19 Sending build context to Docker daemon 21.74MB 10:14:19 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 10:14:19 Step 2/13 : FROM ${BASE} AS builder 10:14:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:14:19 cf04c63912e1: Pulling fs layer 10:14:19 55b35a11ae5e: Pulling fs layer 10:14:19 a37a00ec5f00: Pulling fs layer 10:14:19 50b3750afda1: Pulling fs layer 10:14:19 4f4fb700ef54: Pulling fs layer 10:14:19 80978eb59214: Pulling fs layer 10:14:19 c9f46d7d2bd2: Pulling fs layer 10:14:19 c5a475d317c9: Pulling fs layer 10:14:19 50b3750afda1: Waiting 10:14:19 4f4fb700ef54: Waiting 10:14:19 c9f46d7d2bd2: Waiting 10:14:19 80978eb59214: Waiting 10:14:19 c5a475d317c9: Waiting 10:14:20 55b35a11ae5e: Verifying Checksum 10:14:20 55b35a11ae5e: Download complete 10:14:20 50b3750afda1: Verifying Checksum 10:14:20 50b3750afda1: Download complete 10:14:20 4f4fb700ef54: Verifying Checksum 10:14:20 4f4fb700ef54: Download complete 10:14:20 80978eb59214: Verifying Checksum 10:14:20 80978eb59214: Download complete 10:14:20 cf04c63912e1: Verifying Checksum 10:14:20 cf04c63912e1: Download complete 10:14:20 c5a475d317c9: Verifying Checksum 10:14:20 c5a475d317c9: Download complete 10:14:21 cf04c63912e1: Pull complete 10:14:21 55b35a11ae5e: Pull complete 10:14:21 a37a00ec5f00: Download complete 10:14:22 c9f46d7d2bd2: Verifying Checksum 10:14:22 c9f46d7d2bd2: Download complete 10:14:35 a37a00ec5f00: Pull complete 10:14:35 50b3750afda1: Pull complete 10:14:35 4f4fb700ef54: Pull complete 10:14:35 80978eb59214: Pull complete 10:14:43 c9f46d7d2bd2: Pull complete 10:14:44 c5a475d317c9: Pull complete 10:14:44 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 10:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:14:44 ---> be29e6b0f0d4 10:14:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:14:45 ---> Running in ae8975a6a95a 10:14:46 Removing intermediate container ae8975a6a95a 10:14:46 ---> d473a2e75383 10:14:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:46 ---> Running in f9cb4f7e1514 10:14:46 Removing intermediate container f9cb4f7e1514 10:14:46 ---> 44aeafc30b65 10:14:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:14:46 ---> Running in 9c1defdbfe5d 10:14:46 Removing intermediate container 9c1defdbfe5d 10:14:46 ---> ce669a449384 10:14:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:14:46 ---> Running in daefc285dcfa 10:14:47 Removing intermediate container daefc285dcfa 10:14:47 ---> 45290263ac4d 10:14:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:14:47 ---> Running in f21135736a2b 10:14:47 Removing intermediate container f21135736a2b 10:14:47 ---> 063f338c9e6f 10:14:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:47 ---> Running in b2e111c11598 10:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:14:50 OK: 238 MiB in 54 packages 10:14:51 Removing intermediate container b2e111c11598 10:14:51 ---> 87e0f1f7468e 10:14:51 Step 9/13 : WORKDIR /device-onvif-camera 10:14:51 ---> Running in 4f70b0f5b0b7 10:14:51 Removing intermediate container 4f70b0f5b0b7 10:14:51 ---> 94a2d7868df5 10:14:51 Step 10/13 : COPY go.mod vendor* ./ 10:14:52 ---> bd84ef32bd9b 10:14:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:52 ---> Running in d2f59a34f3ac 10:16:44 Removing intermediate container d2f59a34f3ac 10:16:44 ---> 80d9ab3f1f6e 10:16:44 Step 12/13 : COPY . . 10:16:45 ---> 5a84609cd305 10:16:45 Step 13/13 : RUN ${MAKE} 10:16:45 ---> Running in 8082c35e37da 10:16:46 noop 10:16:46 Removing intermediate container 8082c35e37da 10:16:46 ---> a265d5a7732f 10:16:47 Successfully built a265d5a7732f 10:16:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:47 + docker inspect -f . ci-base-image-arm64 10:16:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:47 prd-ubuntu20.04-docker-arm64-4c-16g-21056 does not seem to be running inside a container 10:16:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/206 -v /w/workspace/device-onvif-camera/206:/w/workspace/device-onvif-camera/206:rw,z -v /w/workspace/device-onvif-camera/206@tmp:/w/workspace/device-onvif-camera/206@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 10:16:48 $ docker top 839bf6dd1f1974a3fc48798d4ed919c4fdc2d3a05b615fdc033121ea650d0f54 -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:49 + go version 10:16:49 go version go1.23.2 linux/arm64 [Pipeline] } 10:16:49 $ docker stop --time=1 839bf6dd1f1974a3fc48798d4ed919c4fdc2d3a05b615fdc033121ea650d0f54 10:16:51 $ docker rm -f --volumes 839bf6dd1f1974a3fc48798d4ed919c4fdc2d3a05b615fdc033121ea650d0f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:51 + docker inspect -f . ci-base-image-arm64 10:16:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:52 prd-ubuntu20.04-docker-arm64-4c-16g-21056 does not seem to be running inside a container 10:16:52 $ 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/206 -v /w/workspace/device-onvif-camera/206:/w/workspace/device-onvif-camera/206:rw,z -v /w/workspace/device-onvif-camera/206@tmp:/w/workspace/device-onvif-camera/206@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 10:16:53 $ docker top d1990eb17b2f1622e0dd039a72cd451faf9f7d8830b56c42a571013f8d66f9b7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/206 [Pipeline] fileExists [Pipeline] sh 10:16:54 + make test 10:16:54 go test ./... -coverprofile=coverage.out ./... 10:16:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:20:21 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 10:20:28 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 10:20:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 31.4% of statements 10:20:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.636s coverage: 86.5% of statements 10:20:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:20:56 go vet ./... 10:21:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:21:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:21:43 ./bin/test-attribution-txt.sh [Pipeline] echo 10:21:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:21:43 $ docker stop --time=1 d1990eb17b2f1622e0dd039a72cd451faf9f7d8830b56c42a571013f8d66f9b7 10:21:45 $ docker rm -f --volumes d1990eb17b2f1622e0dd039a72cd451faf9f7d8830b56c42a571013f8d66f9b7 [Pipeline] // withDockerContainer [Pipeline] sh 10:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:47 Warning: overwriting stash ‘coverage-report’ 10:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:21:48 + ls -al . 10:21:48 total 324 10:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 10:16 . 10:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 10:13 .. 10:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 10:13 .git 10:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:13 .github 10:21:48 -rw-rw-r-- 1 jenkins jenkins 493 Oct 4 10:13 .gitignore 10:21:48 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 10:13 .golangci.yml 10:21:48 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 4 10:13 Attribution.txt 10:21:48 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 4 10:13 CHANGELOG.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 4 10:13 Dockerfile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 10:13 GOVERNANCE.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 739 Oct 4 10:13 Jenkinsfile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 10:13 LICENSE 10:21:48 -rw-rw-r-- 1 jenkins jenkins 2883 Oct 4 10:13 Makefile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 10:13 OWNERS.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 4 10:13 README.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 08:20 VERSION 10:21:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 10:13 bin 10:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 10:13 cmd 10:21:48 -rw-r--r-- 1 jenkins jenkins 92292 Oct 4 10:20 coverage.out 10:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 10:13 doc 10:21:48 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 4 10:13 go.mod 10:21:48 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 4 10:13 go.sum 10:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 10:13 internal 10:21:48 -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:48 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b --label arch=arm64 --label version=3.2.0-dev.20 . 10:21:49 Sending build context to Docker daemon 21.84MB 10:21:49 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 10:21:49 Step 2/27 : FROM ${BASE} AS builder 10:21:49 ---> a265d5a7732f 10:21:49 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:21:49 ---> Running in 9725cfce8758 10:21:50 Removing intermediate container 9725cfce8758 10:21:50 ---> 6430f5ad6976 10:21:50 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:21:50 ---> Running in ec3533b4cb54 10:21:50 Removing intermediate container ec3533b4cb54 10:21:50 ---> 0f1f2e2cd008 10:21:50 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 10:21:50 ---> Running in 603902820a6e 10:21:50 Removing intermediate container 603902820a6e 10:21:50 ---> f94729e56831 10:21:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:21:50 ---> Running in cc03052da4f2 10:21:51 Removing intermediate container cc03052da4f2 10:21:51 ---> 0ca8b062cf13 10:21:51 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:21:51 ---> Running in 47e53e7a0627 10:21:51 Removing intermediate container 47e53e7a0627 10:21:51 ---> f8f29afb2953 10:21:51 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:51 ---> Running in 29309b40271e 10:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:21:54 OK: 238 MiB in 54 packages 10:21:55 Removing intermediate container 29309b40271e 10:21:55 ---> dbc173e851e8 10:21:55 Step 9/27 : WORKDIR /device-onvif-camera 10:21:55 ---> Running in 249e99876121 10:21:55 Removing intermediate container 249e99876121 10:21:55 ---> 876238f57bda 10:21:55 Step 10/27 : COPY go.mod vendor* ./ 10:21:56 ---> 251a57264629 10:21:56 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:56 ---> Running in b77b07630549 10:21:58 Removing intermediate container b77b07630549 10:21:58 ---> 67886b355a9b 10:21:58 Step 12/27 : COPY . . 10:22:00 ---> 54d0ec0699ab 10:22:00 Step 13/27 : RUN ${MAKE} 10:22:00 ---> Running in d58374352a9e 10:22:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 10:25:38 Removing intermediate container d58374352a9e 10:25:38 ---> c4713f244fe9 10:25:38 Step 14/27 : FROM alpine:3.20 10:25:38 3.20: Pulling from library/alpine 10:25:38 cf04c63912e1: Already exists 10:25:38 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:25:38 Status: Downloaded newer image for alpine:3.20 10:25:38 ---> c157a85ed455 10:25:38 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 10:25:38 ---> Running in 0acb01b2851f 10:25:38 Removing intermediate container 0acb01b2851f 10:25:38 ---> bbd58835240c 10:25:38 Step 16/27 : RUN apk add --update --no-cache dumb-init 10:25:38 ---> Running in 949b73143151 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:25:38 (1/1) Installing dumb-init (1.2.5-r3) 10:25:38 Executing busybox-1.36.1-r29.trigger 10:25:38 OK: 9 MiB in 15 packages 10:25:38 Removing intermediate container 949b73143151 10:25:38 ---> 2efe5d70918f 10:25:38 Step 17/27 : RUN apk --no-cache upgrade 10:25:38 ---> Running in de88d710c53e 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:25:38 Upgrading critical system libraries and apk-tools: 10:25:38 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:25:38 Executing busybox-1.36.1-r29.trigger 10:25:38 Continuing the upgrade transaction with new apk-tools: 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:25:38 OK: 9 MiB in 15 packages 10:25:38 Removing intermediate container de88d710c53e 10:25:38 ---> 51ba5756b337 10:25:38 Step 18/27 : WORKDIR / 10:25:38 ---> Running in bc7c19a02c82 10:25:38 Removing intermediate container bc7c19a02c82 10:25:38 ---> c926f27d0711 10:25:38 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:25:38 ---> 3e36beb872cb 10:25:38 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:25:38 ---> f99647b4fee1 10:25:38 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:25:38 ---> 542d37e12bb8 10:25:38 Step 22/27 : EXPOSE 59984 10:25:38 ---> Running in 06b3531b201e 10:25:38 Removing intermediate container 06b3531b201e 10:25:38 ---> 046125b1c435 10:25:38 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:25:38 ---> Running in 0fbd5d325f0f 10:25:38 Removing intermediate container 0fbd5d325f0f 10:25:38 ---> 15ff2d4808ab 10:25:38 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:25:38 ---> Running in e360c78e20f4 10:25:38 Removing intermediate container e360c78e20f4 10:25:38 ---> 3a53335d706d 10:25:38 Step 25/27 : LABEL arch=arm64 10:25:38 ---> Running in a940ce38ecad 10:25:39 Removing intermediate container a940ce38ecad 10:25:39 ---> c02e7bce546b 10:25:39 Step 26/27 : LABEL git_sha=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 10:25:39 ---> Running in 7cc968f54f1e 10:25:39 Removing intermediate container 7cc968f54f1e 10:25:39 ---> a92cfec5c0a3 10:25:39 Step 27/27 : LABEL version=3.2.0-dev.20 10:25:39 ---> Running in fb3b1dafb6bb 10:25:39 Removing intermediate container fb3b1dafb6bb 10:25:39 ---> 0ae9d3522640 10:25:39 [Warning] One or more build-args [ARCH] were not consumed 10:25:39 Successfully built 0ae9d3522640 10:25:39 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 10:25:40 provisioning config files... 10:25:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/206@tmp/config3867599066240506757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:40 ---> ****-login.sh 10:25:40 nexus3.edgexfoundry.org:10001 10:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:25:40 Configure a credential helper to remove this warning. See 10:25:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:25:40 10:25:40 Login Succeeded 10:25:40 nexus3.edgexfoundry.org:10002 10:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:25:40 Configure a credential helper to remove this warning. See 10:25:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:25:40 10:25:40 Login Succeeded 10:25:40 nexus3.edgexfoundry.org:10003 10:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:25:41 Configure a credential helper to remove this warning. See 10:25:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:25:41 10:25:41 Login Succeeded 10:25:41 nexus3.edgexfoundry.org:10004 10:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:25:41 Configure a credential helper to remove this warning. See 10:25:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:25:41 10:25:41 Login Succeeded 10:25:41 ****.io 10:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:25:42 Configure a credential helper to remove this warning. See 10:25:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:25:42 10:25:42 Login Succeeded 10:25:42 ---> ****-login.sh ends [Pipeline] } 10:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:25:42 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 10:25:42 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 10:25:42 latest 10:25:42 3.2.0-dev.20 10:25:42 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 10:25:42 main 10:25:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 10:25:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:25:43 39a0a7edb04d: Preparing 10:25:43 033528f674d1: Preparing 10:25:43 90baecc8ac10: Preparing 10:25:43 dc12dfa4caf1: Preparing 10:25:43 a8268ba78dca: Preparing 10:25:43 16113d51b718: Preparing 10:25:43 16113d51b718: Waiting 10:25:43 39a0a7edb04d: Pushed 10:25:43 a8268ba78dca: Pushed 10:25:43 033528f674d1: Pushed 10:25:43 16113d51b718: Layer already exists 10:25:43 dc12dfa4caf1: Pushed 10:25:51 90baecc8ac10: Pushed 10:25:51 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b: digest: sha256:38d66dff6e01e83a7f5d35fc8f181e3cc80ecbaa5673dbdd61ddd110f2f13140 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:51 + 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 10:25:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:25:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:25:52 39a0a7edb04d: Preparing 10:25:52 033528f674d1: Preparing 10:25:52 90baecc8ac10: Preparing 10:25:52 dc12dfa4caf1: Preparing 10:25:52 a8268ba78dca: Preparing 10:25:52 16113d51b718: Preparing 10:25:52 16113d51b718: Waiting 10:25:52 39a0a7edb04d: Layer already exists 10:25:52 90baecc8ac10: Layer already exists 10:25:52 033528f674d1: Layer already exists 10:25:52 a8268ba78dca: Layer already exists 10:25:52 dc12dfa4caf1: Layer already exists 10:25:52 16113d51b718: Layer already exists 10:25:52 latest: digest: sha256:38d66dff6e01e83a7f5d35fc8f181e3cc80ecbaa5673dbdd61ddd110f2f13140 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.20 10:25:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:25:53 39a0a7edb04d: Preparing 10:25:53 033528f674d1: Preparing 10:25:53 90baecc8ac10: Preparing 10:25:53 dc12dfa4caf1: Preparing 10:25:53 a8268ba78dca: Preparing 10:25:53 16113d51b718: Preparing 10:25:53 16113d51b718: Waiting 10:25:53 90baecc8ac10: Layer already exists 10:25:53 39a0a7edb04d: Layer already exists 10:25:53 dc12dfa4caf1: Layer already exists 10:25:53 033528f674d1: Layer already exists 10:25:53 a8268ba78dca: Layer already exists 10:25:53 16113d51b718: Layer already exists 10:25:53 3.2.0-dev.20: digest: sha256:38d66dff6e01e83a7f5d35fc8f181e3cc80ecbaa5673dbdd61ddd110f2f13140 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 10:25:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:25:54 39a0a7edb04d: Preparing 10:25:54 033528f674d1: Preparing 10:25:54 90baecc8ac10: Preparing 10:25:54 dc12dfa4caf1: Preparing 10:25:54 a8268ba78dca: Preparing 10:25:54 16113d51b718: Preparing 10:25:54 16113d51b718: Waiting 10:25:54 a8268ba78dca: Layer already exists 10:25:54 39a0a7edb04d: Layer already exists 10:25:54 033528f674d1: Layer already exists 10:25:54 dc12dfa4caf1: Layer already exists 10:25:54 90baecc8ac10: Layer already exists 10:25:54 16113d51b718: Layer already exists 10:25:54 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20: digest: sha256:38d66dff6e01e83a7f5d35fc8f181e3cc80ecbaa5673dbdd61ddd110f2f13140 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:54 + 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 10:25:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 10:25:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:25:54 39a0a7edb04d: Preparing 10:25:54 033528f674d1: Preparing 10:25:54 90baecc8ac10: Preparing 10:25:54 dc12dfa4caf1: Preparing 10:25:54 a8268ba78dca: Preparing 10:25:54 16113d51b718: Preparing 10:25:54 16113d51b718: Waiting 10:25:54 39a0a7edb04d: Layer already exists 10:25:54 033528f674d1: Layer already exists 10:25:54 a8268ba78dca: Layer already exists 10:25:54 90baecc8ac10: Layer already exists 10:25:54 dc12dfa4caf1: Layer already exists 10:25:54 16113d51b718: Layer already exists 10:25:54 main: digest: sha256:38d66dff6e01e83a7f5d35fc8f181e3cc80ecbaa5673dbdd61ddd110f2f13140 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:25:55 ===================================================== [Pipeline] echo 10:25:55 taggedImages: 10:25:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b 10:25:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:25:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.20 10:25:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b-3.2.0-dev.20 10:25:55 - 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 10:25:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:25:55 10:25:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:25:56 arm64: Pulling from edgex-lftools-log-publisher 10:25:56 8998bd30e6a1: Pulling fs layer 10:25:56 04944245beec: Pulling fs layer 10:25:56 699f458cf7ca: Pulling fs layer 10:25:56 765212b225bb: Pulling fs layer 10:25:56 f23df028b6ca: Pulling fs layer 10:25:56 765212b225bb: Waiting 10:25:56 d65c8cfc05b1: Pulling fs layer 10:25:56 2437ff75d9bd: Pulling fs layer 10:25:56 f23df028b6ca: Waiting 10:25:56 d65c8cfc05b1: Waiting 10:25:56 04944245beec: Verifying Checksum 10:25:56 04944245beec: Download complete 10:25:56 765212b225bb: Verifying Checksum 10:25:56 765212b225bb: Download complete 10:25:56 f23df028b6ca: Verifying Checksum 10:25:56 f23df028b6ca: Download complete 10:25:56 d65c8cfc05b1: Verifying Checksum 10:25:56 d65c8cfc05b1: Download complete 10:25:56 699f458cf7ca: Verifying Checksum 10:25:56 699f458cf7ca: Download complete 10:25:56 8998bd30e6a1: Download complete 10:25:59 2437ff75d9bd: Verifying Checksum 10:25:59 2437ff75d9bd: Download complete 10:26:01 8998bd30e6a1: Pull complete 10:26:01 04944245beec: Pull complete 10:26:03 699f458cf7ca: Pull complete 10:26:03 765212b225bb: Pull complete 10:26:04 f23df028b6ca: Pull complete 10:26:04 d65c8cfc05b1: Pull complete 10:26:22 2437ff75d9bd: Pull complete 10:26:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:22 prd-ubuntu20.04-docker-arm64-4c-16g-21056 does not seem to be running inside a container 10:26:22 $ 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/206 -v /w/workspace/device-onvif-camera/206:/w/workspace/device-onvif-camera/206:rw,z -v /w/workspace/device-onvif-camera/206@tmp:/w/workspace/device-onvif-camera/206@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 10:26:25 $ docker top 839ca651d1f6cbbe654e3fa199c98d883aa2ef4ff5f3e4c694a4e58e8c9f169a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:26 ---> job-cost.sh 10:26:26 lf-activate-venv: SKIPPING 10:26:26 INFO: No Stack... 10:26:26 INFO: Retrieving Pricing Info for: v3-standard-4 10:26:27 INFO: Archiving Costs [Pipeline] sh 10:26:28 + cat /w/workspace/device-onvif-camera/206/archives/cost.csv 10:26:28 + cut -d, -f6 [Pipeline] lock 10:26:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] 10:26:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] did not exist. Created. 10:26:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:26:28 /w/workspace/device-onvif-camera/206@tmp/durable-b14d3cc5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:26:29 + echo total: 0.10999999940395355 [Pipeline] stash 10:26:29 Warning: overwriting stash ‘stack-cost’ 10:26:29 Stashed 1 file(s) [Pipeline] } 10:26:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-206-stack-cost] [Pipeline] // lock [Pipeline] } 10:26:29 $ docker stop --time=1 839ca651d1f6cbbe654e3fa199c98d883aa2ef4ff5f3e4c694a4e58e8c9f169a 10:26:30 $ docker rm -f --volumes 839ca651d1f6cbbe654e3fa199c98d883aa2ef4ff5f3e4c694a4e58e8c9f169a [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 10:26:31 provisioning config files... 10:26:31 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14938369623487586259tmp [Pipeline] { [Pipeline] sh 10:26:31 + set +x 10:26:31 + + bash -s -- 10:26:31 curl -s https://codecov.io/bash 10:26:31 10:26:31 _____ _ 10:26:31 / ____| | | 10:26:31 | | ___ __| | ___ ___ _____ __ 10:26:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:26:31 | |___| (_) | (_| | __/ (_| (_) \ V / 10:26:31 \_____\___/ \__,_|\___|\___\___/ \_/ 10:26:31 Bash-1.0.6 10:26:31 10:26:31 10:26:31 ==> git version 2.25.1 found 10:26:31 ==> 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 10:26:31 Release-Date: 2020-01-08 10:26:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:26:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:26:31 ==> Jenkins CI detected. 10:26:31 current dir:  /w/workspace/foundry_device-onvif-camera_main 10:26:31 project root: . 10:26:31 --> token set from env 10:26:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:26:31 ==> Running gcov in . (disable via -X gcov) 10:26:31 ==> Python coveragepy not found 10:26:31 ==> Searching for coverage reports in: 10:26:31 + . 10:26:31 -> Found 1 reports 10:26:31 ==> Detecting git/mercurial file structure 10:26:31 ==> Reading reports 10:26:31 + ./coverage.out bytes=92292 10:26:31 ==> Appending adjustments 10:26:31 https://docs.codecov.io/docs/fixing-reports 10:26:31 + Found adjustments 10:26:31 ==> Gzipping contents 10:26:31 12K /tmp/codecov.nhvlkg.gz 10:26:31 ==> Uploading reports 10:26:31 url: https://codecov.io 10:26:31 query: branch=main&commit=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F206%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:26:31 -> Pinging Codecov 10:26:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F206%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:26:32 -> Uploading to 10:26:32 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b/b0c0ea5e-0720-4b30-89a7-8bc81c06a6cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T102632Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4a1c81f1e62ea537d3f145cff4a5b7fcfd8ec341a3f1de97bcf18472c0bdb5c4 10:26:32 % Total % Received % Xferd Average Speed Time Time Time Current 10:26:32 Dload Upload Total Spent Left Speed 10:26:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 50061 --:--:-- --:--:-- --:--:-- 50061 10:26:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] } 10:26:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:26:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:26:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:26:32 10:26:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:26:33 latest: Pulling from edgex-devops/edgex-snyk-go 10:26:33 43c4264eed91: Already exists 10:26:33 4cc291be95ef: Already exists 10:26:33 2ac1f1163629: Already exists 10:26:33 5c3c966382ef: Already exists 10:26:33 4f4fb700ef54: Already exists 10:26:33 d9c7d2e4e75e: Pulling fs layer 10:26:33 9c3e1370e548: Pulling fs layer 10:26:33 d9c7d2e4e75e: Download complete 10:26:33 d9c7d2e4e75e: Pull complete 10:26:34 9c3e1370e548: Download complete 10:26:37 9c3e1370e548: Pull complete 10:26:37 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:26:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:37 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:26:37 $ 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 10:26:39 $ docker top b6b34f4461d90eb0710f9178bffa564f8a684f7d0996a3476dba36a79ac173e4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:40 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 10:26:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 10:26:40 + set -o pipefail 10:26:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 10:26:50 10:26:50 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 10:26:50 10:26:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/6f2bf2cc-d24f-46fe-b9ed-9017bba3bd6d 10:26:50 10:26:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:26:50 10:26:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:26:50 10:26:50 10:26:50 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 10:26:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:26:50 $ docker stop --time=1 b6b34f4461d90eb0710f9178bffa564f8a684f7d0996a3476dba36a79ac173e4 10:26:55 $ docker rm -f --volumes b6b34f4461d90eb0710f9178bffa564f8a684f7d0996a3476dba36a79ac173e4 [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 10:26:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:56 provisioning config files... 10:26:56 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config165586101225238903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:56 --> edgex-publish-swagger.sh 10:26:56 === Publish doc/openapi/v3 API === 10:26:56 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 10:26:56 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 10:26:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:26:56 Dload Upload Total Spent Left Speed 10:26:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 292 909k --:--:-- --:--:-- --:--:-- 907k 100 485k 100 156 100 485k 291 907k --:--:-- --:--:-- --:--:-- 906k 10:26:56 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 10:26:56 [Pipeline] } 10:26:56 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 10:26:57 + git log --format=format:%s -1 ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b [Pipeline] sh 10:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:58 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:26:58 $ 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 10:26:58 $ docker top 35c8fef3584398779654c0160b357891b10c845270e883b42dffd4488d79d574 -eo pid,comm 10:26:58 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). 10:26:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:58 [ssh-agent] Looking for ssh-agent implementation... 10:26:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:58 $ docker exec 35c8fef3584398779654c0160b357891b10c845270e883b42dffd4488d79d574 ssh-agent 10:26:58 SSH_AUTH_SOCK=/tmp/ssh-Vg6lKyGSPKw3/agent.32 10:26:58 SSH_AGENT_PID=38 10:26:58 Running ssh-add (command line suppressed) 10:26:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15197226306845616273.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15197226306845616273.key) 10:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:59 + git semver tag 10:26:59 2024-10-04 10:26:59,573 [run_tag] DEBUG tag force:False 10:26:59 2024-10-04 10:26:59,573 [check_head_tag] DEBUG check head tag 10:26:59 2024-10-04 10:26:59,574 [execute] INFO git cat-file --batch-check 10:26:59 2024-10-04 10:26:59,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:26:59 2024-10-04 10:26:59,579 [execute] INFO git cat-file --batch 10:26:59 2024-10-04 10:26:59,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:26:59 2024-10-04 10:26:59,601 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:26:59 2024-10-04 10:26:59,601 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 10:26:59 2024-10-04 10:26:59,601 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 10:26:59 2024-10-04 10:26:59,605 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:26:59 3.2.0-dev.20 [Pipeline] } 10:26:59 $ docker exec --env ******** --env ******** 35c8fef3584398779654c0160b357891b10c845270e883b42dffd4488d79d574 ssh-agent -k 10:26:59 unset SSH_AUTH_SOCK; 10:26:59 unset SSH_AGENT_PID; 10:26:59 echo Agent pid 38 killed; 10:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:00 + git semver [Pipeline] } 10:27:00 $ docker stop --time=1 35c8fef3584398779654c0160b357891b10c845270e883b42dffd4488d79d574 10:27:01 $ docker rm -f --volumes 35c8fef3584398779654c0160b357891b10c845270e883b42dffd4488d79d574 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:02 10:27:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:02 0.23.1-centos7: Pulling from edgex-lftools 10:27:02 ab5ef0e58194: Pulling fs layer 10:27:02 9712f1f96733: Pulling fs layer 10:27:02 63f879dbbcfc: Pulling fs layer 10:27:02 0d9ebad4ef96: Pulling fs layer 10:27:02 e9a5061849ea: Pulling fs layer 10:27:02 d747dcd14b5f: Pulling fs layer 10:27:02 2de7ff778b66: Pulling fs layer 10:27:02 e9a5061849ea: Waiting 10:27:02 0d9ebad4ef96: Waiting 10:27:02 d747dcd14b5f: Waiting 10:27:02 9712f1f96733: Download complete 10:27:02 63f879dbbcfc: Verifying Checksum 10:27:02 63f879dbbcfc: Download complete 10:27:02 e9a5061849ea: Verifying Checksum 10:27:02 e9a5061849ea: Download complete 10:27:02 0d9ebad4ef96: Verifying Checksum 10:27:02 0d9ebad4ef96: Download complete 10:27:02 d747dcd14b5f: Verifying Checksum 10:27:02 d747dcd14b5f: Download complete 10:27:02 ab5ef0e58194: Verifying Checksum 10:27:02 ab5ef0e58194: Download complete 10:27:03 2de7ff778b66: Download complete 10:27:05 ab5ef0e58194: Pull complete 10:27:05 9712f1f96733: Pull complete 10:27:06 63f879dbbcfc: Pull complete 10:27:10 0d9ebad4ef96: Pull complete 10:27:10 e9a5061849ea: Pull complete 10:27:10 d747dcd14b5f: Pull complete 10:27:11 2de7ff778b66: Pull complete 10:27:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:11 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:27:17 $ docker top 1188980c9d1ee56dd4ca05d9aa6891e8b1eb4affd3fa7a3d41a43b60c4e0dcaa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:27:17 provisioning config files... 10:27:17 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6855321965749061628tmp 10:27:17 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2347136888704665970tmp 10:27:17 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5752895669681630325tmp [Pipeline] { [Pipeline] echo 10:27:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:27:17 ---> sigul-configuration.sh 10:27:17 gpg: directory `/root/.gnupg' created 10:27:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:27:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:27:17 gpg: keyring `/root/.gnupg/secring.gpg' created 10:27:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:27:17 gpg: CAST5 encrypted data 10:27:17 gpg: encrypted with 1 passphrase 10:27:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:27:18 + mkdir /home/jenkins 10:27:18 + mkdir /home/jenkins/sigul [Pipeline] sh 10:27:18 + 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 10:27:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:27:18 ---> sigul-install.sh 10:27:18 Sigul already installed; skipping installation. [Pipeline] sh 10:27:18 + git tag --list 10:27:18 v0.0.0 10:27:18 v2.2.0 10:27:18 v2.3.0 10:27:18 v2.3.1 10:27:18 v3.0 10:27:18 v3.0.0 10:27:18 v3.1 10:27:18 v3.1.0 10:27:18 v3.1.0-dev.1 10:27:18 v3.1.0-dev.10 10:27:18 v3.1.0-dev.11 10:27:18 v3.1.0-dev.12 10:27:18 v3.1.0-dev.13 10:27:18 v3.1.0-dev.14 10:27:18 v3.1.0-dev.15 10:27:18 v3.1.0-dev.16 10:27:18 v3.1.0-dev.17 10:27:18 v3.1.0-dev.18 10:27:18 v3.1.0-dev.19 10:27:18 v3.1.0-dev.2 10:27:18 v3.1.0-dev.20 10:27:18 v3.1.0-dev.21 10:27:18 v3.1.0-dev.22 10:27:18 v3.1.0-dev.23 10:27:18 v3.1.0-dev.24 10:27:18 v3.1.0-dev.25 10:27:18 v3.1.0-dev.26 10:27:18 v3.1.0-dev.27 10:27:18 v3.1.0-dev.28 10:27:18 v3.1.0-dev.3 10:27:18 v3.1.0-dev.4 10:27:18 v3.1.0-dev.5 10:27:18 v3.1.0-dev.6 10:27:18 v3.1.0-dev.7 10:27:18 v3.1.0-dev.8 10:27:18 v3.1.0-dev.9 10:27:18 v3.1.1 10:27:18 v3.2.0-dev.1 10:27:18 v3.2.0-dev.10 10:27:18 v3.2.0-dev.11 10:27:18 v3.2.0-dev.12 10:27:18 v3.2.0-dev.13 10:27:18 v3.2.0-dev.14 10:27:18 v3.2.0-dev.15 10:27:18 v3.2.0-dev.16 10:27:18 v3.2.0-dev.17 10:27:18 v3.2.0-dev.18 10:27:18 v3.2.0-dev.19 10:27:18 v3.2.0-dev.2 10:27:18 v3.2.0-dev.20 10:27:18 v3.2.0-dev.3 10:27:18 v3.2.0-dev.4 10:27:18 v3.2.0-dev.5 10:27:18 v3.2.0-dev.6 10:27:18 v3.2.0-dev.7 10:27:18 v3.2.0-dev.8 10:27:18 v3.2.0-dev.9 [Pipeline] sh 10:27:19 + lftools sign git-tag v3.2.0-dev.20 10:27:19 Signing Git tag with Sigul... 10:27:19 Signing v3.2.0-dev.20 [Pipeline] echo 10:27:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:27:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:27:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:27:20 $ docker stop --time=1 1188980c9d1ee56dd4ca05d9aa6891e8b1eb4affd3fa7a3d41a43b60c4e0dcaa 10:27:21 $ docker rm -f --volumes 1188980c9d1ee56dd4ca05d9aa6891e8b1eb4affd3fa7a3d41a43b60c4e0dcaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:27:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:22 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:22 $ docker top ba6ea73dc5c8f21775021d55c1527afa499214dccc3454688d06f3ff16a99c0c -eo pid,comm 10:27:22 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). 10:27:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:23 [ssh-agent] Looking for ssh-agent implementation... 10:27:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:23 $ docker exec ba6ea73dc5c8f21775021d55c1527afa499214dccc3454688d06f3ff16a99c0c ssh-agent 10:27:23 SSH_AUTH_SOCK=/tmp/ssh-xuyjbcvWjd4S/agent.32 10:27:23 SSH_AGENT_PID=38 10:27:23 Running ssh-add (command line suppressed) 10:27:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1840615070265276384.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1840615070265276384.key) 10:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:23 + git semver bump pre 10:27:23 2024-10-04 10:27:23,853 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:27:23 2024-10-04 10:27:23,853 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev 10:27:23 2024-10-04 10:27:23,853 [bump_version] DEBUG bumped version:3.2.0-dev.21 10:27:23 2024-10-04 10:27:23,853 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 10:27:23 2024-10-04 10:27:23,854 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:27:23 2024-10-04 10:27:23,854 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 10:27:23 2024-10-04 10:27:23,857 [execute] INFO git cat-file --batch-check 10:27:23 2024-10-04 10:27:23,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:23 2024-10-04 10:27:23,863 [execute] INFO git cat-file --batch 10:27:23 2024-10-04 10:27:23,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:23 2024-10-04 10:27:23,868 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:27:23 3.2.0-dev.21 [Pipeline] } 10:27:23 $ docker exec --env ******** --env ******** ba6ea73dc5c8f21775021d55c1527afa499214dccc3454688d06f3ff16a99c0c ssh-agent -k 10:27:24 unset SSH_AUTH_SOCK; 10:27:24 unset SSH_AGENT_PID; 10:27:24 echo Agent pid 38 killed; 10:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:24 + git semver [Pipeline] } 10:27:24 $ docker stop --time=1 ba6ea73dc5c8f21775021d55c1527afa499214dccc3454688d06f3ff16a99c0c 10:27:25 $ docker rm -f --volumes ba6ea73dc5c8f21775021d55c1527afa499214dccc3454688d06f3ff16a99c0c [Pipeline] // withDockerContainer [Pipeline] sh 10:27:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:26 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:27:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:27 $ docker top b5e40dc262f9830a1ce853cac9df83162f2d2980b8ec576c3a38edd3ff95ea1c -eo pid,comm 10:27:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:27:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:27 [ssh-agent] Looking for ssh-agent implementation... 10:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:27 $ docker exec b5e40dc262f9830a1ce853cac9df83162f2d2980b8ec576c3a38edd3ff95ea1c ssh-agent 10:27:27 SSH_AUTH_SOCK=/tmp/ssh-O85Crm2fLGIS/agent.31 10:27:27 SSH_AGENT_PID=37 10:27:27 Running ssh-add (command line suppressed) 10:27:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7233052022031928434.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7233052022031928434.key) 10:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:27 + git semver push 10:27:28 2024-10-04 10:27:27,991 [run_push] DEBUG push 10:27:28 2024-10-04 10:27:27,991 [execute] INFO git cat-file --batch-check 10:27:28 2024-10-04 10:27:27,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:28 2024-10-04 10:27:27,996 [execute] INFO git rev-list 6c34f9fa4d43c3d6a3d087ba1defc489cb6ee9e9 -- 10:27:28 2024-10-04 10:27:27,996 [execute] DEBUG Popen(['git', 'rev-list', '6c34f9fa4d43c3d6a3d087ba1defc489cb6ee9e9', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:27:28 2024-10-04 10:27:28,005 [execute] INFO git fetch -v origin 10:27:28 2024-10-04 10:27:28,005 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 10:27:28 2024-10-04 10:27:28,467 [run_push] DEBUG no remote changes detected 10:27:28 2024-10-04 10:27:28,467 [execute] INFO git push origin semver 10:27:28 2024-10-04 10:27:28,468 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:27:29 2024-10-04 10:27:29,239 [run_push] DEBUG push all version tags 10:27:29 2024-10-04 10:27:29,240 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:27:29 2024-10-04 10:27:29,240 [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) 10:27:30 2024-10-04 10:27:29,885 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:27:30 3.2.0-dev.21 [Pipeline] } 10:27:30 $ docker exec --env ******** --env ******** b5e40dc262f9830a1ce853cac9df83162f2d2980b8ec576c3a38edd3ff95ea1c ssh-agent -k 10:27:30 unset SSH_AUTH_SOCK; 10:27:30 unset SSH_AGENT_PID; 10:27:30 echo Agent pid 37 killed; 10:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:30 + git semver [Pipeline] } 10:27:30 $ docker stop --time=1 b5e40dc262f9830a1ce853cac9df83162f2d2980b8ec576c3a38edd3ff95ea1c 10:27:32 $ docker rm -f --volumes b5e40dc262f9830a1ce853cac9df83162f2d2980b8ec576c3a38edd3ff95ea1c [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 10:27:32 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 10:27:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:27:32 total 16 10:27:32 drwxr-xr-x 3 root root 4096 Oct 4 08:23 . 10:27:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 10:27 .. 10:27:32 drwxr-xr-x 2 root root 4096 Oct 4 08:23 cost 10:27:32 -rw-r--r-- 1 root root 91 Oct 4 08:23 cost.csv 10:27:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 10:27:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:27:32 total 16 10:27:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:23 . 10:27:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 10:27 .. 10:27:32 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 08:23 cost 10:27:32 -rw-r--r-- 1 jenkins jenkins 91 Oct 4 08:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:27:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:34 ---> package-listing.sh 10:27:34 ++ facter osfamily 10:27:34 ++ tr '[:upper:]' '[:lower:]' 10:27:34 + OS_FAMILY=debian 10:27:34 + workspace=/w/workspace/foundry_device-onvif-camera_main 10:27:34 + START_PACKAGES=/tmp/packages_start.txt 10:27:34 + END_PACKAGES=/tmp/packages_end.txt 10:27:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:34 + PACKAGES=/tmp/packages_start.txt 10:27:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:27:34 + PACKAGES=/tmp/packages_end.txt 10:27:34 + case "${OS_FAMILY}" in 10:27:34 + dpkg -l 10:27:34 + grep '^ii' 10:27:34 + '[' -f /tmp/packages_start.txt ']' 10:27:34 + '[' -f /tmp/packages_end.txt ']' 10:27:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:27:34 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 10:27:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 10:27:34 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 10:27:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:35 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 10:27:35 $ 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 10:27:35 $ docker top 1a0689bace8552ba64eb81d902de92db1a1c222984a6e76340c361b17f01ca41 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:36 + mkdir -p /var/log/sysstat [Pipeline] sh 10:27:36 + ls /var/log/sa-host 10:27:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:36 provisioning config files... 10:27:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12050672969438186556tmp [Pipeline] { [Pipeline] echo 10:27:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:36 ---> create-netrc.sh [Pipeline] } 10:27:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:27:37 ---> python-tools-install.sh [Pipeline] echo 10:27:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:37 ---> sudo-logs.sh 10:27:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:37 ---> job-cost.sh 10:27:37 lf-activate-venv: SKIPPING 10:27:37 DEBUG: total: 0.2199999988079071 10:27:37 INFO: Retrieving Stack Cost... 10:27:38 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:38 INFO: Archiving Costs [Pipeline] echo 10:27:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:38 ---> logs-deploy.sh 10:27:38 lf-activate-venv: SKIPPING 10:27:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/206 10:27:38 INFO: archiving workspace using pattern(s): 10:27:39 Archives upload complete. 10:27:39 INFO: archiving logs to Nexus