Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 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-ssh4580222959809567978.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-ssh12574219097231608089.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-ssh16184312916931266571.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-ssh15350947811629460489.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-ssh2095512934343231044.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24290 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c (main) Commit message: "Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" > git config core.sparsecheckout # timeout=10 > git checkout -f b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 > git rev-list --no-walk 5a55ed7656ccfe987556a747055649824b1de131 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:37:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:37:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:37:13 ========================================================= 07:37:13 EdgeX Global Pipelines Version Info 07:37:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:37:14 ------------------- 07:37:14 stable info: 07:37:14 ------------------- 07:37:14 Commited By: Ginny Guan ginny@iotechsys.com 07:37:14 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:37:14 Message: update stable to v1.0.265 07:37:14 ------------------- 07:37:14 experimental info: 07:37:14 ------------------- 07:37:14 Commited By: Cherry Wang cherry@iotechsys.com 07:37:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:37:14 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:37:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1923ec [Pipeline] echo 07:37:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:15 provisioning config files... 07:37:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12502594401222160577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:15 ---> ****-login.sh 07:37:15 nexus3.edgexfoundry.org:10001 07:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:16 Configure a credential helper to remove this warning. See 07:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:16 07:37:16 Login Succeeded 07:37:16 nexus3.edgexfoundry.org:10002 07:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:16 Configure a credential helper to remove this warning. See 07:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:16 07:37:16 Login Succeeded 07:37:16 nexus3.edgexfoundry.org:10003 07:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:16 Configure a credential helper to remove this warning. See 07:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:16 07:37:16 Login Succeeded 07:37:16 nexus3.edgexfoundry.org:10004 07:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:16 Configure a credential helper to remove this warning. See 07:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:16 07:37:16 Login Succeeded 07:37:16 ****.io 07:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:16 Configure a credential helper to remove this warning. See 07:37:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:16 07:37:16 Login Succeeded 07:37:16 ---> ****-login.sh ends [Pipeline] } 07:37:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:37:17 + git rev-list -1 --merges b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c~1..b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] echo 07:37:17 -----------> git rev-list -1 --merges b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c~1..b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:37:17 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [false] [Pipeline] sh 07:37:17 + git log --format=format:%s -1 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] echo 07:37:17 ========================================================= 07:37:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:37:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:18 + git log --format=format:%s -1 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] echo 07:37:18 [semverPrep] GIT_COMMIT: b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c, Commit Message: Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2 [Pipeline] echo 07:37:18 [semverPrep] This is not a build commit. [Pipeline] sh 07:37:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:37:18 + grep -v github /etc/ssh/ssh_known_hosts 07:37:18 + [ -e /tmp/ssh_known_hosts ] 07:37:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:37:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:37:18 + sudo tee -a /etc/ssh/ssh_known_hosts 07:37:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:18 07:37:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:19 0.1.4: Pulling from edgex-devops/py-git-semver 07:37:19 b85a868b505f: Pulling fs layer 07:37:19 e2be974225ed: Pulling fs layer 07:37:19 339a4e72a1f5: Pulling fs layer 07:37:19 988bab9f4d93: Pulling fs layer 07:37:19 1469e6f7b9e6: Pulling fs layer 07:37:19 eaf3925da568: Pulling fs layer 07:37:19 bab4dde63d76: Pulling fs layer 07:37:19 bde34c3a00c8: Pulling fs layer 07:37:19 b352a97aabf1: Pulling fs layer 07:37:19 4872d77fe225: Pulling fs layer 07:37:19 5851b861e8e6: Pulling fs layer 07:37:19 988bab9f4d93: Waiting 07:37:19 b352a97aabf1: Waiting 07:37:19 1469e6f7b9e6: Waiting 07:37:19 4872d77fe225: Waiting 07:37:19 5851b861e8e6: Waiting 07:37:19 bab4dde63d76: Waiting 07:37:19 bde34c3a00c8: Waiting 07:37:19 e2be974225ed: Verifying Checksum 07:37:19 988bab9f4d93: Verifying Checksum 07:37:19 988bab9f4d93: Download complete 07:37:19 1469e6f7b9e6: Verifying Checksum 07:37:19 1469e6f7b9e6: Download complete 07:37:19 eaf3925da568: Verifying Checksum 07:37:19 eaf3925da568: Download complete 07:37:19 339a4e72a1f5: Verifying Checksum 07:37:19 339a4e72a1f5: Download complete 07:37:19 bde34c3a00c8: Download complete 07:37:19 b352a97aabf1: Verifying Checksum 07:37:19 b352a97aabf1: Download complete 07:37:19 4872d77fe225: Download complete 07:37:19 5851b861e8e6: Verifying Checksum 07:37:19 5851b861e8e6: Download complete 07:37:19 b85a868b505f: Verifying Checksum 07:37:19 b85a868b505f: Download complete 07:37:19 bab4dde63d76: Verifying Checksum 07:37:19 bab4dde63d76: Download complete 07:37:20 b85a868b505f: Pull complete 07:37:20 e2be974225ed: Pull complete 07:37:21 339a4e72a1f5: Pull complete 07:37:21 988bab9f4d93: Pull complete 07:37:21 1469e6f7b9e6: Pull complete 07:37:21 eaf3925da568: Pull complete 07:37:23 bab4dde63d76: Pull complete 07:37:23 bde34c3a00c8: Pull complete 07:37:23 b352a97aabf1: Pull complete 07:37:23 4872d77fe225: Pull complete 07:37:23 5851b861e8e6: Pull complete 07:37:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:24 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:37:26 $ docker top 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 -eo pid,comm 07:37: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). 07:37:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:37:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:27 [ssh-agent] Looking for ssh-agent implementation... 07:37:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:27 $ docker exec 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 ssh-agent 07:37:27 SSH_AUTH_SOCK=/tmp/ssh-oOlU5jD71N4j/agent.31 07:37:27 SSH_AGENT_PID=37 07:37:27 Running ssh-add (command line suppressed) 07:37:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10057257296738506631.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10057257296738506631.key) 07:37:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:27 + git tag --points-at HEAD [Pipeline] } 07:37:27 $ docker exec --env ******** --env ******** 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 ssh-agent -k 07:37:27 unset SSH_AUTH_SOCK; 07:37:27 unset SSH_AGENT_PID; 07:37:27 echo Agent pid 37 killed; 07:37:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:37:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:27 [ssh-agent] Looking for ssh-agent implementation... 07:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:28 $ docker exec 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 ssh-agent 07:37:28 SSH_AUTH_SOCK=/tmp/ssh-g5Wz8lBFWi90/agent.70 07:37:28 SSH_AGENT_PID=76 07:37:28 Running ssh-add (command line suppressed) 07:37:28 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18357714211979170943.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18357714211979170943.key) 07:37:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:28 + git semver init 07:37:28 2024-11-01 07:37:28,784 [run_init] DEBUG init version:0.0.0 force:False 07:37:28 2024-11-01 07:37:28,785 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 07:37:28 2024-11-01 07:37:28,785 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 07:37:28 2024-11-01 07:37:28,786 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:37:30 2024-11-01 07:37:30,013 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 07:37:30 2024-11-01 07:37:30,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 07:37:30 2024-11-01 07:37:30,014 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:37:30 2024-11-01 07:37:30,014 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:37:30 4.0.0-dev.2 [Pipeline] } 07:37:30 $ docker exec --env ******** --env ******** 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 ssh-agent -k 07:37:30 unset SSH_AUTH_SOCK; 07:37:30 unset SSH_AGENT_PID; 07:37:30 echo Agent pid 76 killed; 07:37:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:30 + git semver [Pipeline] } 07:37:30 $ docker stop --time=1 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 07:37:32 $ docker rm -f --volumes 33bf8e5efb599a24083707399198192400e0d1fa7a899c98a362dd888e299f95 [Pipeline] // withDockerContainer [Pipeline] sh 07:37:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:37:32 Stashed 1 file(s) [Pipeline] echo 07:37:32 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:32 provisioning config files... 07:37:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12651637209082450798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:33 ---> ****-login.sh 07:37:33 nexus3.edgexfoundry.org:10001 07:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:33 Configure a credential helper to remove this warning. See 07:37:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:33 07:37:33 Login Succeeded 07:37:33 nexus3.edgexfoundry.org:10002 07:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:33 Configure a credential helper to remove this warning. See 07:37:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:33 07:37:33 Login Succeeded 07:37:33 nexus3.edgexfoundry.org:10003 07:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:33 Configure a credential helper to remove this warning. See 07:37:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:33 07:37:33 Login Succeeded 07:37:33 nexus3.edgexfoundry.org:10004 07:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:33 Configure a credential helper to remove this warning. See 07:37:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:33 07:37:33 Login Succeeded 07:37:33 ****.io 07:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:33 Configure a credential helper to remove this warning. See 07:37:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:33 07:37:33 Login Succeeded 07:37:33 ---> ****-login.sh ends [Pipeline] } 07:37:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:33 ========================================================= 07:37:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:37:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:37:34 Sending build context to Docker daemon 36.81MB 07:37:34 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:37:34 Step 2/13 : FROM ${BASE} AS builder 07:37:34 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:37:34 43c4264eed91: Pulling fs layer 07:37:34 4cc291be95ef: Pulling fs layer 07:37:34 2ac1f1163629: Pulling fs layer 07:37:34 5c3c966382ef: Pulling fs layer 07:37:34 4f4fb700ef54: Pulling fs layer 07:37:34 5d5c8e513c77: Pulling fs layer 07:37:34 5c3c966382ef: Waiting 07:37:34 9f66e0745190: Pulling fs layer 07:37:34 4f4fb700ef54: Waiting 07:37:34 5d5c8e513c77: Waiting 07:37:34 f49a43e4bbc0: Pulling fs layer 07:37:34 561ebcabdf7f: Pulling fs layer 07:37:34 f49a43e4bbc0: Waiting 07:37:34 4cc291be95ef: Download complete 07:37:34 5c3c966382ef: Download complete 07:37:34 4f4fb700ef54: Verifying Checksum 07:37:34 4f4fb700ef54: Download complete 07:37:34 5d5c8e513c77: Verifying Checksum 07:37:34 5d5c8e513c77: Download complete 07:37:34 43c4264eed91: Verifying Checksum 07:37:34 43c4264eed91: Download complete 07:37:34 9f66e0745190: Verifying Checksum 07:37:34 9f66e0745190: Download complete 07:37:34 43c4264eed91: Pull complete 07:37:34 561ebcabdf7f: Verifying Checksum 07:37:34 561ebcabdf7f: Download complete 07:37:35 4cc291be95ef: Pull complete 07:37:35 2ac1f1163629: Verifying Checksum 07:37:35 2ac1f1163629: Download complete 07:37:35 f49a43e4bbc0: Verifying Checksum 07:37:35 f49a43e4bbc0: Download complete 07:37:38 2ac1f1163629: Pull complete 07:37:38 5c3c966382ef: Pull complete 07:37:38 4f4fb700ef54: Pull complete 07:37:38 5d5c8e513c77: Pull complete 07:37:38 9f66e0745190: Pull complete 07:37:40 f49a43e4bbc0: Pull complete 07:37:41 561ebcabdf7f: Pull complete 07:37:41 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:37:41 ---> 3a752c3f9dda 07:37:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:37:45 ---> Running in 623eb2ea615c 07:37:45 Removing intermediate container 623eb2ea615c 07:37:45 ---> e4dfbf88e222 07:37:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:45 ---> Running in b31dd7c71da6 07:37:45 Removing intermediate container b31dd7c71da6 07:37:45 ---> 566f7908ca5d 07:37:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:37:45 ---> Running in ba83f78ee74a 07:37:45 Removing intermediate container ba83f78ee74a 07:37:45 ---> fefc0b66ef30 07:37:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:37:45 ---> Running in 84ffe31bb262 07:37:45 Removing intermediate container 84ffe31bb262 07:37:45 ---> b6f58bc3cf47 07:37:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:37:45 ---> Running in 9d3d8390209a 07:37:45 Removing intermediate container 9d3d8390209a 07:37:45 ---> d28dd13ac77c 07:37:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:37:45 ---> Running in 045b6bbe9a1e 07:37:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:37:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:37:46 OK: 246 MiB in 54 packages 07:37:46 Removing intermediate container 045b6bbe9a1e 07:37:46 ---> 50ec57bbe2c4 07:37:46 Step 9/13 : WORKDIR /device-onvif-camera 07:37:46 ---> Running in c851256d8849 07:37:47 Removing intermediate container c851256d8849 07:37:47 ---> 8107b50f9eb1 07:37:47 Step 10/13 : COPY go.mod vendor* ./ 07:37:47 ---> e545be1f97e3 07:37:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:47 ---> Running in 9d12000f1347 07:37:47 Still waiting to schedule task 07:37:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:38:43 Removing intermediate container 9d12000f1347 07:38:43 ---> eeacf6225fd9 07:38:43 Step 12/13 : COPY . . 07:38:43 ---> b4911c0f8602 07:38:43 Step 13/13 : RUN ${MAKE} 07:38:43 ---> Running in 0bc929f11a00 07:38:43 noop 07:38:43 Removing intermediate container 0bc929f11a00 07:38:43 ---> f6bd9b7c4c2e 07:38:43 Successfully built f6bd9b7c4c2e 07:38:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:43 + docker inspect -f . ci-base-image-x86_64 07:38:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:43 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:38:44 $ docker top bae1cfcdff1db312f7f8d222116ef28334c28fb8ca4d44c5585b1692fdf03c14 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:44 + go version 07:38:44 go version go1.23.2 linux/amd64 [Pipeline] } 07:38:44 $ docker stop --time=1 bae1cfcdff1db312f7f8d222116ef28334c28fb8ca4d44c5585b1692fdf03c14 07:38:45 $ docker rm -f --volumes bae1cfcdff1db312f7f8d222116ef28334c28fb8ca4d44c5585b1692fdf03c14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:46 + docker inspect -f . ci-base-image-x86_64 07:38:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:46 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:38:46 $ docker top 04367a918ce6fee74e32c3a561c844ee0b384f9fcee8415d2856b741392573c4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:47 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 07:38:47 + make test 07:38:47 go test ./... -coverprofile=coverage.out ./... 07:38:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:39:06 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:39:06 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:39:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements 07:39:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.292s coverage: 86.5% of statements 07:39:21 go vet ./... 07:39:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24292 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 07:39:22 Running in /w/workspace/device-onvif-camera/211 [Pipeline] { [Pipeline] checkout 07:39:25 The recommended git tool is: git 07:39:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:39:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:39:28 ./bin/test-attribution-txt.sh [Pipeline] echo 07:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:39:28 $ docker stop --time=1 04367a918ce6fee74e32c3a561c844ee0b384f9fcee8415d2856b741392573c4 07:39:30 $ docker rm -f --volumes 04367a918ce6fee74e32c3a561c844ee0b384f9fcee8415d2856b741392573c4 [Pipeline] // withDockerContainer [Pipeline] sh 07:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:39:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:39:32 + ls -al . 07:39:32 total 316 07:39:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 07:38 . 07:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:37 .. 07:39:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:39 .git 07:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:37 .github 07:39:32 -rw-rw-r-- 1 jenkins jenkins 493 Nov 1 07:37 .gitignore 07:39:32 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 07:37 .golangci.yml 07:39:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:37 .semver 07:39:32 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 1 07:37 Attribution.txt 07:39:32 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 1 07:37 CHANGELOG.md 07:39:32 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 1 07:37 Dockerfile 07:39:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:37 GOVERNANCE.md 07:39:32 -rw-rw-r-- 1 jenkins jenkins 739 Nov 1 07:37 Jenkinsfile 07:39:32 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 07:37 LICENSE 07:39:32 -rw-rw-r-- 1 jenkins jenkins 3420 Nov 1 07:37 Makefile 07:39:32 -rw-rw-r-- 1 jenkins jenkins 625 Nov 1 07:37 OWNERS.md 07:39:32 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 1 07:37 README.md 07:39:32 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:37 VERSION 07:39:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:37 bin 07:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:37 cmd 07:39:32 -rw-r--r-- 1 jenkins jenkins 92292 Nov 1 07:39 coverage.out 07:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:37 doc 07:39:32 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 1 07:37 go.mod 07:39:32 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 1 07:37 go.sum 07:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:37 internal 07:39:32 -rw-rw-r-- 1 jenkins jenkins 236 Nov 1 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:32 + 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=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c --label arch=amd64 --label version=4.0.0-dev.2 . 07:39:32 Sending build context to Docker daemon 36.9MB 07:39:32 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:39:32 Step 2/27 : FROM ${BASE} AS builder 07:39:32 ---> f6bd9b7c4c2e 07:39:32 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:39:32 ---> Running in b1b151382f50 07:39:32 Removing intermediate container b1b151382f50 07:39:32 ---> 29ce3717e920 07:39:32 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:32 ---> Running in 8df604fb6d27 07:39:32 Removing intermediate container 8df604fb6d27 07:39:32 ---> fc0c0af79d2e 07:39:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:39:32 ---> Running in c18aee96f748 07:39:32 Removing intermediate container c18aee96f748 07:39:32 ---> 96707bd24457 07:39:32 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:39:33 ---> Running in 75bb6ad3f57a 07:39:33 Removing intermediate container 75bb6ad3f57a 07:39:33 ---> 50eb08d07b54 07:39:33 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:39:33 ---> Running in a8b78f745b34 07:39:33 Removing intermediate container a8b78f745b34 07:39:33 ---> b66e3ab9c3b8 07:39:33 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:33 ---> Running in 1e2fe562bc28 07:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:33 OK: 246 MiB in 54 packages 07:39:34 Removing intermediate container 1e2fe562bc28 07:39:34 ---> 0edc71e78d71 07:39:34 Step 9/27 : WORKDIR /device-onvif-camera 07:39:34 ---> Running in b28e374b0d2e 07:39:34 Removing intermediate container b28e374b0d2e 07:39:34 ---> cdf79f38be74 07:39:34 Step 10/27 : COPY go.mod vendor* ./ 07:39:34 using credential edgex-jenkins-ssh 07:39:34 Cloning the remote Git repository 07:39:34 ---> 6f0f7e02deb8 07:39:34 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:34 ---> Running in 10f929604d4c 07:39:34 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:39:34 > git init /w/workspace/device-onvif-camera/211 # timeout=10 07:39:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:39:34 > git --version # timeout=10 07:39:34 > git --version # 'git version 2.25.1' 07:39:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:35 Removing intermediate container 10f929604d4c 07:39:35 ---> f94cf3db1e9d 07:39:35 Step 12/27 : COPY . . 07:39:35 ---> 33138715a2e3 07:39:35 Step 13/27 : RUN ${MAKE} 07:39:35 ---> Running in 51b72a777a29 07:39:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:39:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:39:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:39 Avoid second fetch 07:39:39 Checking out Revision b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c (main) 07:39:40 Commit message: "Merge pull request #470 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" 07:39:39 > git config core.sparsecheckout # timeout=10 07:39:39 > git checkout -f b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:39:45 % Total % Received % Xferd Average Speed Time Time Time Current 07:39:45 Dload Upload Total Spent Left Speed 07:39:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81707 0 --:--:-- --:--:-- --:--:-- 81707 [Pipeline] sh 07:39:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:39:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:39:46 + sudo tee /etc/docker/daemon.new 07:39:46 { 07:39:46 "registry-mirrors": [ 07:39:46 "https://nexus3.edgexfoundry.org:10001" 07:39:46 ], 07:39:46 "bip": "10.250.0.254/24", 07:39:46 "hosts": [ 07:39:46 "tcp://0.0.0.0:5555", 07:39:46 "unix:///var/run/docker.sock" 07:39:46 ], 07:39:46 "mtu": 1458, 07:39:46 "selinux-enabled": true, 07:39:46 "seccomp-profile": "/etc/docker/seccomp.json" 07:39:46 } [Pipeline] sh 07:39:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:39:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:05 provisioning config files... 07:40:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/211@tmp/config15826043784863144912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:05 ---> ****-login.sh 07:40:05 nexus3.edgexfoundry.org:10001 07:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:06 Configure a credential helper to remove this warning. See 07:40:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:06 07:40:06 Login Succeeded 07:40:06 nexus3.edgexfoundry.org:10002 07:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:06 Configure a credential helper to remove this warning. See 07:40:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:06 07:40:06 Login Succeeded 07:40:06 nexus3.edgexfoundry.org:10003 07:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:06 Configure a credential helper to remove this warning. See 07:40:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:06 07:40:06 Login Succeeded 07:40:07 nexus3.edgexfoundry.org:10004 07:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:07 Configure a credential helper to remove this warning. See 07:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:07 07:40:07 Login Succeeded 07:40:07 ****.io 07:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:07 Configure a credential helper to remove this warning. See 07:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:07 07:40:07 Login Succeeded 07:40:07 ---> ****-login.sh ends [Pipeline] } 07:40:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:07 ========================================================= 07:40:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:40:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:40:08 Sending build context to Docker daemon 21.81MB 07:40:08 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 07:40:08 Step 2/13 : FROM ${BASE} AS builder 07:40:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:40:09 cf04c63912e1: Pulling fs layer 07:40:09 55b35a11ae5e: Pulling fs layer 07:40:09 a37a00ec5f00: Pulling fs layer 07:40:09 50b3750afda1: Pulling fs layer 07:40:09 4f4fb700ef54: Pulling fs layer 07:40:09 80978eb59214: Pulling fs layer 07:40:09 c9f46d7d2bd2: Pulling fs layer 07:40:09 50b3750afda1: Waiting 07:40:09 c5a475d317c9: Pulling fs layer 07:40:09 4f4fb700ef54: Waiting 07:40:09 80978eb59214: Waiting 07:40:09 c9f46d7d2bd2: Waiting 07:40:09 c5a475d317c9: Waiting 07:40:09 55b35a11ae5e: Verifying Checksum 07:40:09 55b35a11ae5e: Download complete 07:40:09 50b3750afda1: Verifying Checksum 07:40:09 50b3750afda1: Download complete 07:40:09 4f4fb700ef54: Verifying Checksum 07:40:09 4f4fb700ef54: Download complete 07:40:09 80978eb59214: Verifying Checksum 07:40:09 80978eb59214: Download complete 07:40:09 cf04c63912e1: Verifying Checksum 07:40:09 cf04c63912e1: Download complete 07:40:09 c5a475d317c9: Verifying Checksum 07:40:09 c5a475d317c9: Download complete 07:40:09 cf04c63912e1: Pull complete 07:40:10 55b35a11ae5e: Pull complete 07:40:11 a37a00ec5f00: Verifying Checksum 07:40:11 a37a00ec5f00: Download complete 07:40:11 c9f46d7d2bd2: Verifying Checksum 07:40:11 c9f46d7d2bd2: Download complete 07:40:14 Removing intermediate container 51b72a777a29 07:40:14 ---> 148b808b11f0 07:40:14 Step 14/27 : FROM alpine:3.20 07:40:14 3.20: Pulling from library/alpine 07:40:14 43c4264eed91: Already exists 07:40:14 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:40:14 Status: Downloaded newer image for alpine:3.20 07:40:14 ---> 91ef0af61f39 07:40:14 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:40:14 ---> Running in e85e0430df2c 07:40:14 Removing intermediate container e85e0430df2c 07:40:14 ---> 33277ab9c50b 07:40:14 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:40:14 ---> Running in 8784544c6a9f 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:14 (1/1) Installing dumb-init (1.2.5-r3) 07:40:14 Executing busybox-1.36.1-r29.trigger 07:40:14 OK: 8 MiB in 15 packages 07:40:14 Removing intermediate container 8784544c6a9f 07:40:14 ---> 1c86a48e667b 07:40:14 Step 17/27 : RUN apk --no-cache upgrade 07:40:14 ---> Running in 4d96ed322f10 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:14 Upgrading critical system libraries and apk-tools: 07:40:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:40:14 Executing busybox-1.36.1-r29.trigger 07:40:14 Continuing the upgrade transaction with new apk-tools: 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:40:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:40:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:40:14 OK: 8 MiB in 15 packages 07:40:14 Removing intermediate container 4d96ed322f10 07:40:14 ---> 32976303e2ec 07:40:14 Step 18/27 : WORKDIR / 07:40:14 ---> Running in 1b3a453c360d 07:40:14 Removing intermediate container 1b3a453c360d 07:40:14 ---> 989f9e2807a5 07:40:14 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:40:14 ---> e919c603ba6d 07:40:14 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:40:14 ---> 40c7fd9fd221 07:40:14 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:40:14 ---> 29405efc2843 07:40:14 Step 22/27 : EXPOSE 59984 07:40:14 ---> Running in 882a4afa86b5 07:40:14 Removing intermediate container 882a4afa86b5 07:40:14 ---> 78d77455d8ff 07:40:14 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:40:14 ---> Running in 199d4fd61593 07:40:14 Removing intermediate container 199d4fd61593 07:40:14 ---> 28515334598d 07:40:14 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:40:14 ---> Running in ba95e7d7a4a0 07:40:14 Removing intermediate container ba95e7d7a4a0 07:40:14 ---> 0d853858c2c8 07:40:14 Step 25/27 : LABEL arch=amd64 07:40:14 ---> Running in 23ad9d74df42 07:40:14 Removing intermediate container 23ad9d74df42 07:40:14 ---> e59c6db5e883 07:40:14 Step 26/27 : LABEL git_sha=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:40:14 ---> Running in f027e716ce26 07:40:14 Removing intermediate container f027e716ce26 07:40:14 ---> 6d9fef5b57ef 07:40:14 Step 27/27 : LABEL version=4.0.0-dev.2 07:40:14 ---> Running in d12c5b00a591 07:40:14 Removing intermediate container d12c5b00a591 07:40:14 ---> 6b75ad33007a 07:40:14 [Warning] One or more build-args [ARCH] were not consumed 07:40:14 Successfully built 6b75ad33007a 07:40:14 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:15 provisioning config files... 07:40:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6145348740656647931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:15 ---> ****-login.sh 07:40:15 nexus3.edgexfoundry.org:10001 07:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:15 Configure a credential helper to remove this warning. See 07:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:15 07:40:15 Login Succeeded 07:40:15 nexus3.edgexfoundry.org:10002 07:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:15 Configure a credential helper to remove this warning. See 07:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:15 07:40:15 Login Succeeded 07:40:15 nexus3.edgexfoundry.org:10003 07:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:15 Configure a credential helper to remove this warning. See 07:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:15 07:40:15 Login Succeeded 07:40:15 nexus3.edgexfoundry.org:10004 07:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:15 Configure a credential helper to remove this warning. See 07:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:15 07:40:15 Login Succeeded 07:40:15 ****.io 07:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:15 Configure a credential helper to remove this warning. See 07:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:15 07:40:15 Login Succeeded 07:40:15 ---> ****-login.sh ends [Pipeline] } 07:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:15 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 07:40:15 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:40:15 latest 07:40:15 4.0.0-dev.2 07:40:15 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:40:15 main 07:40:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:40:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:40:16 2745ca1c1052: Preparing 07:40:16 fe0256f74daf: Preparing 07:40:16 df564ddf1aa9: Preparing 07:40:16 865e28c1e4bf: Preparing 07:40:16 d990a3455884: Preparing 07:40:16 63ca1fbb43ae: Preparing 07:40:16 63ca1fbb43ae: Waiting 07:40:16 fe0256f74daf: Pushed 07:40:16 d990a3455884: Pushed 07:40:16 2745ca1c1052: Pushed 07:40:16 63ca1fbb43ae: Layer already exists 07:40:17 865e28c1e4bf: Pushed 07:40:21 df564ddf1aa9: Pushed 07:40:21 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c: digest: sha256:14e64eb987307d0a8fe0d291f41a9145b09f50e648ea2da48d780f34f0b1fe5b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:40:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:40:22 2745ca1c1052: Preparing 07:40:22 fe0256f74daf: Preparing 07:40:22 df564ddf1aa9: Preparing 07:40:22 865e28c1e4bf: Preparing 07:40:22 d990a3455884: Preparing 07:40:22 63ca1fbb43ae: Preparing 07:40:22 63ca1fbb43ae: Waiting 07:40:22 d990a3455884: Layer already exists 07:40:22 df564ddf1aa9: Layer already exists 07:40:22 865e28c1e4bf: Layer already exists 07:40:22 2745ca1c1052: Layer already exists 07:40:22 fe0256f74daf: Layer already exists 07:40:22 63ca1fbb43ae: Layer already exists 07:40:22 latest: digest: sha256:14e64eb987307d0a8fe0d291f41a9145b09f50e648ea2da48d780f34f0b1fe5b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.2 07:40:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:40:22 2745ca1c1052: Preparing 07:40:22 fe0256f74daf: Preparing 07:40:22 df564ddf1aa9: Preparing 07:40:22 865e28c1e4bf: Preparing 07:40:22 d990a3455884: Preparing 07:40:22 63ca1fbb43ae: Preparing 07:40:22 63ca1fbb43ae: Waiting 07:40:22 2745ca1c1052: Layer already exists 07:40:22 fe0256f74daf: Layer already exists 07:40:22 865e28c1e4bf: Layer already exists 07:40:22 d990a3455884: Layer already exists 07:40:22 df564ddf1aa9: Layer already exists 07:40:22 63ca1fbb43ae: Layer already exists 07:40:22 4.0.0-dev.2: digest: sha256:14e64eb987307d0a8fe0d291f41a9145b09f50e648ea2da48d780f34f0b1fe5b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:40:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:40:23 2745ca1c1052: Preparing 07:40:23 fe0256f74daf: Preparing 07:40:23 df564ddf1aa9: Preparing 07:40:23 865e28c1e4bf: Preparing 07:40:23 d990a3455884: Preparing 07:40:23 63ca1fbb43ae: Preparing 07:40:23 63ca1fbb43ae: Waiting 07:40:23 865e28c1e4bf: Layer already exists 07:40:23 d990a3455884: Layer already exists 07:40:23 fe0256f74daf: Layer already exists 07:40:23 df564ddf1aa9: Layer already exists 07:40:23 2745ca1c1052: Layer already exists 07:40:23 63ca1fbb43ae: Layer already exists 07:40:23 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2: digest: sha256:14e64eb987307d0a8fe0d291f41a9145b09f50e648ea2da48d780f34f0b1fe5b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 07:40:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:40:24 2745ca1c1052: Preparing 07:40:24 fe0256f74daf: Preparing 07:40:24 df564ddf1aa9: Preparing 07:40:24 865e28c1e4bf: Preparing 07:40:24 d990a3455884: Preparing 07:40:24 63ca1fbb43ae: Preparing 07:40:24 63ca1fbb43ae: Waiting 07:40:24 865e28c1e4bf: Layer already exists 07:40:24 2745ca1c1052: Layer already exists 07:40:24 df564ddf1aa9: Layer already exists 07:40:24 d990a3455884: Layer already exists 07:40:24 fe0256f74daf: Layer already exists 07:40:24 63ca1fbb43ae: Layer already exists 07:40:24 main: digest: sha256:14e64eb987307d0a8fe0d291f41a9145b09f50e648ea2da48d780f34f0b1fe5b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:24 ===================================================== [Pipeline] echo 07:40:24 taggedImages: 07:40:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:40:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:40:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.2 07:40:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:40:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:24 07:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:24 latest: Pulling from edgex-lftools-log-publisher 07:40:24 5eb5b503b376: Pulling fs layer 07:40:24 5c69ac0246d0: Pulling fs layer 07:40:24 ec43610c2a17: Pulling fs layer 07:40:24 3a2ae6a8a46f: Pulling fs layer 07:40:24 33b1e0a273af: Pulling fs layer 07:40:24 5d3b04190fa2: Pulling fs layer 07:40:24 2f39f015ded8: Pulling fs layer 07:40:24 33b1e0a273af: Waiting 07:40:24 5d3b04190fa2: Waiting 07:40:24 2f39f015ded8: Waiting 07:40:24 3a2ae6a8a46f: Waiting 07:40:24 5c69ac0246d0: Verifying Checksum 07:40:24 5c69ac0246d0: Download complete 07:40:24 3a2ae6a8a46f: Download complete 07:40:24 33b1e0a273af: Verifying Checksum 07:40:24 33b1e0a273af: Download complete 07:40:24 5d3b04190fa2: Verifying Checksum 07:40:24 5d3b04190fa2: Download complete 07:40:24 ec43610c2a17: Verifying Checksum 07:40:24 ec43610c2a17: Download complete 07:40:25 5eb5b503b376: Verifying Checksum 07:40:25 5eb5b503b376: Download complete 07:40:25 2f39f015ded8: Download complete 07:40:26 5eb5b503b376: Pull complete 07:40:26 5c69ac0246d0: Pull complete 07:40:26 a37a00ec5f00: Pull complete 07:40:26 50b3750afda1: Pull complete 07:40:26 4f4fb700ef54: Pull complete 07:40:26 80978eb59214: Pull complete 07:40:26 ec43610c2a17: Pull complete 07:40:26 3a2ae6a8a46f: Pull complete 07:40:27 33b1e0a273af: Pull complete 07:40:27 5d3b04190fa2: Pull complete 07:40:31 2f39f015ded8: Pull complete 07:40:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:31 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:40:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:40:33 c9f46d7d2bd2: Pull complete 07:40:34 $ docker top 69f88f66b4837bc67808ca6428010b78495db9ce1fd24abc1441afa6d6bf837f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:35 ---> job-cost.sh 07:40:35 lf-activate-venv: SKIPPING 07:40:35 INFO: No Stack... 07:40:35 c5a475d317c9: Pull complete 07:40:35 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:40:35 ---> be29e6b0f0d4 07:40:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:40:35 INFO: Retrieving Pricing Info for: v3-standard-8 07:40:35 INFO: Archiving Costs [Pipeline] sh 07:40:36 ---> Running in 08ea10d0b49f 07:40:36 Removing intermediate container 08ea10d0b49f 07:40:36 ---> 2de07f05bcaa 07:40:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:36 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 07:40:36 + cut -d, -f6 [Pipeline] lock 07:40:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] 07:40:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] did not exist. Created. 07:40:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:40:36 ---> Running in b5f83c11bc83 07:40:36 + echo total: 0.2199999988079071 [Pipeline] stash 07:40:36 Removing intermediate container b5f83c11bc83 07:40:36 ---> 89841acbde2a 07:40:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:40:36 ---> Running in fc6e628e5733 07:40:36 Stashed 1 file(s) [Pipeline] } 07:40:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] [Pipeline] // lock [Pipeline] } 07:40:36 $ docker stop --time=1 69f88f66b4837bc67808ca6428010b78495db9ce1fd24abc1441afa6d6bf837f 07:40:36 Removing intermediate container fc6e628e5733 07:40:36 ---> 16dea2cabba2 07:40:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:40:37 ---> Running in c97e5989bb16 07:40:37 Removing intermediate container c97e5989bb16 07:40:37 ---> 26bcf90dc4e4 07:40:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:40:37 ---> Running in 8b201c55dccc 07:40:37 Removing intermediate container 8b201c55dccc 07:40:37 ---> a451f1af3c91 07:40:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:37 $ docker rm -f --volumes 69f88f66b4837bc67808ca6428010b78495db9ce1fd24abc1441afa6d6bf837f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 07:40:37 ---> Running in 531af55bc8e6 [Pipeline] } 07:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:40:41 OK: 238 MiB in 54 packages 07:40:42 Removing intermediate container 531af55bc8e6 07:40:42 ---> 0159509d1a03 07:40:42 Step 9/13 : WORKDIR /device-onvif-camera 07:40:42 ---> Running in 4b368037fd94 07:40:44 Removing intermediate container 4b368037fd94 07:40:44 ---> 7b898596aac3 07:40:44 Step 10/13 : COPY go.mod vendor* ./ 07:40:44 ---> de9f3e9cb21f 07:40:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:44 ---> Running in 9c3ac278ea25 07:42:36 Removing intermediate container 9c3ac278ea25 07:42:36 ---> 703a27466b9b 07:42:36 Step 12/13 : COPY . . 07:42:36 ---> 6101537d1ac3 07:42:36 Step 13/13 : RUN ${MAKE} 07:42:36 ---> Running in a26f0eddac49 07:42:36 noop 07:42:36 Removing intermediate container a26f0eddac49 07:42:36 ---> 4fd78cd6bcf4 07:42:36 Successfully built 4fd78cd6bcf4 07:42:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:36 + docker inspect -f . ci-base-image-arm64 07:42:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:37 prd-ubuntu20.04-docker-arm64-4c-16g-24292 does not seem to be running inside a container 07:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/211 -v /w/workspace/device-onvif-camera/211:/w/workspace/device-onvif-camera/211:rw,z -v /w/workspace/device-onvif-camera/211@tmp:/w/workspace/device-onvif-camera/211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:42:38 $ docker top 0087c8c9e20c0ba6d1832f1dbc2ab8bbaa64db2c8bc322947d850500254d9cde -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:39 + go version 07:42:39 go version go1.23.2 linux/arm64 [Pipeline] } 07:42:39 $ docker stop --time=1 0087c8c9e20c0ba6d1832f1dbc2ab8bbaa64db2c8bc322947d850500254d9cde 07:42:41 $ docker rm -f --volumes 0087c8c9e20c0ba6d1832f1dbc2ab8bbaa64db2c8bc322947d850500254d9cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:42 + docker inspect -f . ci-base-image-arm64 07:42:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:42 prd-ubuntu20.04-docker-arm64-4c-16g-24292 does not seem to be running inside a container 07:42:42 $ 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/211 -v /w/workspace/device-onvif-camera/211:/w/workspace/device-onvif-camera/211:rw,z -v /w/workspace/device-onvif-camera/211@tmp:/w/workspace/device-onvif-camera/211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:42:43 $ docker top 4b8e6cb9bb70beb3260255e96dd37c5ba5857e28e202f4894d0375950bd86d7c -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:44 + git config --global --add safe.directory /w/workspace/device-onvif-camera/211 [Pipeline] fileExists [Pipeline] sh 07:42:45 + make test 07:42:45 go test ./... -coverprofile=coverage.out ./... 07:42:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:46:28 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 07:46:28 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 07:46:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.174s coverage: 31.4% of statements 07:46:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.204s coverage: 86.5% of statements 07:46:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:46:50 go vet ./... 07:47:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:47 ./bin/test-attribution-txt.sh [Pipeline] echo 07:47:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:47:47 $ docker stop --time=1 4b8e6cb9bb70beb3260255e96dd37c5ba5857e28e202f4894d0375950bd86d7c 07:47:49 $ docker rm -f --volumes 4b8e6cb9bb70beb3260255e96dd37c5ba5857e28e202f4894d0375950bd86d7c [Pipeline] // withDockerContainer [Pipeline] sh 07:47:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:47:51 Warning: overwriting stash ‘coverage-report’ 07:47:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:47:52 + ls -al . 07:47:52 total 312 07:47:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:42 . 07:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:39 .. 07:47:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:39 .git 07:47:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:39 .github 07:47:52 -rw-rw-r-- 1 jenkins jenkins 493 Nov 1 07:39 .gitignore 07:47:52 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 07:39 .golangci.yml 07:47:52 -rw-rw-r-- 1 jenkins jenkins 19973 Nov 1 07:39 Attribution.txt 07:47:52 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 1 07:39 CHANGELOG.md 07:47:52 -rw-rw-r-- 1 jenkins jenkins 1715 Nov 1 07:39 Dockerfile 07:47:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:39 GOVERNANCE.md 07:47:52 -rw-rw-r-- 1 jenkins jenkins 739 Nov 1 07:39 Jenkinsfile 07:47:52 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 1 07:39 LICENSE 07:47:52 -rw-rw-r-- 1 jenkins jenkins 3420 Nov 1 07:39 Makefile 07:47:52 -rw-rw-r-- 1 jenkins jenkins 625 Nov 1 07:39 OWNERS.md 07:47:52 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 1 07:39 README.md 07:47:52 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:37 VERSION 07:47:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:39 bin 07:47:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:39 cmd 07:47:52 -rw-r--r-- 1 jenkins jenkins 92292 Nov 1 07:46 coverage.out 07:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:39 doc 07:47:52 -rw-rw-r-- 1 jenkins jenkins 6636 Nov 1 07:39 go.mod 07:47:52 -rw-rw-r-- 1 jenkins jenkins 88824 Nov 1 07:39 go.sum 07:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:39 internal 07:47:52 -rw-rw-r-- 1 jenkins jenkins 236 Nov 1 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:52 + 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=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c --label arch=arm64 --label version=4.0.0-dev.2 . 07:47:53 Sending build context to Docker daemon 21.91MB 07:47:53 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 07:47:53 Step 2/27 : FROM ${BASE} AS builder 07:47:53 ---> 4fd78cd6bcf4 07:47:53 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:47:53 ---> Running in bddbf5bff410 07:47:53 Removing intermediate container bddbf5bff410 07:47:53 ---> 3a2abdd34204 07:47:53 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:53 ---> Running in 8e7d89669bdb 07:47:54 Removing intermediate container 8e7d89669bdb 07:47:54 ---> 865de6c38ab8 07:47:54 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:47:54 ---> Running in 1079d539d8ba 07:47:54 Removing intermediate container 1079d539d8ba 07:47:54 ---> 9842ff2adf5f 07:47:54 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:47:54 ---> Running in 9dbff120f4a6 07:47:55 Removing intermediate container 9dbff120f4a6 07:47:55 ---> 58eadbaea2e4 07:47:55 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:47:55 ---> Running in d2fe747c7950 07:47:55 Removing intermediate container d2fe747c7950 07:47:55 ---> 2dd243da4f14 07:47:55 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:47:55 ---> Running in 89f8a72894cc 07:47:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:47:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:47:58 OK: 238 MiB in 54 packages 07:47:59 Removing intermediate container 89f8a72894cc 07:47:59 ---> 5f8f3136eb39 07:47:59 Step 9/27 : WORKDIR /device-onvif-camera 07:47:59 ---> Running in 5f9fdc9d3e64 07:47:59 Removing intermediate container 5f9fdc9d3e64 07:47:59 ---> 2da49942f444 07:47:59 Step 10/27 : COPY go.mod vendor* ./ 07:48:00 ---> b4c54ea66ec5 07:48:00 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:00 ---> Running in 5ad320a09d2e 07:48:03 Removing intermediate container 5ad320a09d2e 07:48:03 ---> 13c58bb5cb86 07:48:03 Step 12/27 : COPY . . 07:48:05 ---> 104ddf4fa2d6 07:48:05 Step 13/27 : RUN ${MAKE} 07:48:05 ---> Running in 9417b285cede 07:48:06 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:51:57 Removing intermediate container 9417b285cede 07:51:57 ---> e2b326afa7e5 07:51:57 Step 14/27 : FROM alpine:3.20 07:51:57 3.20: Pulling from library/alpine 07:51:57 cf04c63912e1: Already exists 07:51:57 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:51:57 Status: Downloaded newer image for alpine:3.20 07:51:57 ---> c157a85ed455 07:51:57 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:51:57 ---> Running in 111b6fe4f4f8 07:51:57 Removing intermediate container 111b6fe4f4f8 07:51:57 ---> e6f107e5f298 07:51:57 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:51:57 ---> Running in bae8407d16dc 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:51:57 (1/1) Installing dumb-init (1.2.5-r3) 07:51:57 Executing busybox-1.36.1-r29.trigger 07:51:57 OK: 9 MiB in 15 packages 07:51:57 Removing intermediate container bae8407d16dc 07:51:57 ---> b3a368babc58 07:51:57 Step 17/27 : RUN apk --no-cache upgrade 07:51:57 ---> Running in 63b7e3049115 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:51:57 Upgrading critical system libraries and apk-tools: 07:51:57 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:51:57 Executing busybox-1.36.1-r29.trigger 07:51:57 Continuing the upgrade transaction with new apk-tools: 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:51:57 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:51:57 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:51:57 OK: 9 MiB in 15 packages 07:51:57 Removing intermediate container 63b7e3049115 07:51:57 ---> 17685481c525 07:51:57 Step 18/27 : WORKDIR / 07:51:57 ---> Running in d2a2dc33acfa 07:51:58 Removing intermediate container d2a2dc33acfa 07:51:58 ---> dba8e8b9f7c7 07:51:58 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:52:00 ---> d192166238fa 07:52:00 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:52:00 ---> fa6c0673f635 07:52:00 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:52:01 ---> 71eeeb6803dc 07:52:01 Step 22/27 : EXPOSE 59984 07:52:01 ---> Running in cf8d2590b994 07:52:01 Removing intermediate container cf8d2590b994 07:52:01 ---> eed488a2e11f 07:52:01 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:52:01 ---> Running in bdf382f665b0 07:52:01 Removing intermediate container bdf382f665b0 07:52:01 ---> 636d92869954 07:52:01 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:52:02 ---> Running in d1d265442dae 07:52:02 Removing intermediate container d1d265442dae 07:52:02 ---> 0584d251d879 07:52:02 Step 25/27 : LABEL arch=arm64 07:52:02 ---> Running in bafe1b420a57 07:52:02 Removing intermediate container bafe1b420a57 07:52:02 ---> a5b9bb602a75 07:52:02 Step 26/27 : LABEL git_sha=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:52:02 ---> Running in 025164cb1c1d 07:52:02 Removing intermediate container 025164cb1c1d 07:52:02 ---> f473712aaa9a 07:52:02 Step 27/27 : LABEL version=4.0.0-dev.2 07:52:03 ---> Running in 5b136f32f92b 07:52:03 Removing intermediate container 5b136f32f92b 07:52:03 ---> 29bc3bdc1d8d 07:52:03 [Warning] One or more build-args [ARCH] were not consumed 07:52:03 Successfully built 29bc3bdc1d8d 07:52:03 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:03 provisioning config files... 07:52:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/211@tmp/config14987863171136867165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:04 ---> ****-login.sh 07:52:04 nexus3.edgexfoundry.org:10001 07:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:04 Configure a credential helper to remove this warning. See 07:52:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:04 07:52:04 Login Succeeded 07:52:04 nexus3.edgexfoundry.org:10002 07:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:04 Configure a credential helper to remove this warning. See 07:52:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:04 07:52:04 Login Succeeded 07:52:04 nexus3.edgexfoundry.org:10003 07:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:05 Configure a credential helper to remove this warning. See 07:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:05 07:52:05 Login Succeeded 07:52:05 nexus3.edgexfoundry.org:10004 07:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:05 Configure a credential helper to remove this warning. See 07:52:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:05 07:52:05 Login Succeeded 07:52:05 ****.io 07:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:06 Configure a credential helper to remove this warning. See 07:52:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:06 07:52:06 Login Succeeded 07:52:06 ---> ****-login.sh ends [Pipeline] } 07:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:52:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:52:06 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 07:52:06 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:52:06 latest 07:52:06 4.0.0-dev.2 07:52:06 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:52:06 main 07:52:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:52:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:52:07 2bcd8da3cc42: Preparing 07:52:07 2e966d75fe11: Preparing 07:52:07 5070551039e8: Preparing 07:52:07 cc0303316e18: Preparing 07:52:07 479ba978e5b5: Preparing 07:52:07 16113d51b718: Preparing 07:52:07 16113d51b718: Waiting 07:52:07 2e966d75fe11: Pushed 07:52:07 2bcd8da3cc42: Pushed 07:52:07 479ba978e5b5: Pushed 07:52:07 16113d51b718: Layer already exists 07:52:08 cc0303316e18: Pushed 07:52:18 5070551039e8: Pushed 07:52:18 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c: digest: sha256:04d35d6fcdb3e9b771aee5c74693cfbcefc0bd09c7837c9ed394c6bade3359e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:52:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:52:19 2bcd8da3cc42: Preparing 07:52:19 2e966d75fe11: Preparing 07:52:19 5070551039e8: Preparing 07:52:19 cc0303316e18: Preparing 07:52:19 479ba978e5b5: Preparing 07:52:19 16113d51b718: Preparing 07:52:19 16113d51b718: Waiting 07:52:19 5070551039e8: Layer already exists 07:52:19 2bcd8da3cc42: Layer already exists 07:52:19 2e966d75fe11: Layer already exists 07:52:19 cc0303316e18: Layer already exists 07:52:19 479ba978e5b5: Layer already exists 07:52:19 16113d51b718: Layer already exists 07:52:19 latest: digest: sha256:04d35d6fcdb3e9b771aee5c74693cfbcefc0bd09c7837c9ed394c6bade3359e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.2 07:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:52:20 2bcd8da3cc42: Preparing 07:52:20 2e966d75fe11: Preparing 07:52:20 5070551039e8: Preparing 07:52:20 cc0303316e18: Preparing 07:52:20 479ba978e5b5: Preparing 07:52:20 16113d51b718: Preparing 07:52:20 16113d51b718: Waiting 07:52:20 5070551039e8: Layer already exists 07:52:20 2e966d75fe11: Layer already exists 07:52:20 2bcd8da3cc42: Layer already exists 07:52:20 479ba978e5b5: Layer already exists 07:52:20 cc0303316e18: Layer already exists 07:52:20 16113d51b718: Layer already exists 07:52:20 4.0.0-dev.2: digest: sha256:04d35d6fcdb3e9b771aee5c74693cfbcefc0bd09c7837c9ed394c6bade3359e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:21 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:52:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:52:21 2bcd8da3cc42: Preparing 07:52:21 2e966d75fe11: Preparing 07:52:21 5070551039e8: Preparing 07:52:21 cc0303316e18: Preparing 07:52:21 479ba978e5b5: Preparing 07:52:21 16113d51b718: Preparing 07:52:21 16113d51b718: Waiting 07:52:21 479ba978e5b5: Layer already exists 07:52:21 5070551039e8: Layer already exists 07:52:21 2bcd8da3cc42: Layer already exists 07:52:21 cc0303316e18: Layer already exists 07:52:21 2e966d75fe11: Layer already exists 07:52:21 16113d51b718: Layer already exists 07:52:21 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2: digest: sha256:04d35d6fcdb3e9b771aee5c74693cfbcefc0bd09c7837c9ed394c6bade3359e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 07:52:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:52:22 2bcd8da3cc42: Preparing 07:52:22 2e966d75fe11: Preparing 07:52:22 5070551039e8: Preparing 07:52:22 cc0303316e18: Preparing 07:52:22 479ba978e5b5: Preparing 07:52:22 16113d51b718: Preparing 07:52:22 479ba978e5b5: Layer already exists 07:52:22 2e966d75fe11: Layer already exists 07:52:22 5070551039e8: Layer already exists 07:52:22 2bcd8da3cc42: Layer already exists 07:52:22 cc0303316e18: Layer already exists 07:52:22 16113d51b718: Layer already exists 07:52:22 main: digest: sha256:04d35d6fcdb3e9b771aee5c74693cfbcefc0bd09c7837c9ed394c6bade3359e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:52:22 ===================================================== [Pipeline] echo 07:52:22 taggedImages: 07:52:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c 07:52:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:52:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.2 07:52:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c-4.0.0-dev.2 07:52:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:23 07:52:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:23 arm64: Pulling from edgex-lftools-log-publisher 07:52:23 8998bd30e6a1: Pulling fs layer 07:52:23 04944245beec: Pulling fs layer 07:52:23 699f458cf7ca: Pulling fs layer 07:52:23 765212b225bb: Pulling fs layer 07:52:23 f23df028b6ca: Pulling fs layer 07:52:23 d65c8cfc05b1: Pulling fs layer 07:52:23 2437ff75d9bd: Pulling fs layer 07:52:23 765212b225bb: Waiting 07:52:23 f23df028b6ca: Waiting 07:52:23 d65c8cfc05b1: Waiting 07:52:23 2437ff75d9bd: Waiting 07:52:23 04944245beec: Verifying Checksum 07:52:23 04944245beec: Download complete 07:52:23 765212b225bb: Verifying Checksum 07:52:23 765212b225bb: Download complete 07:52:23 f23df028b6ca: Verifying Checksum 07:52:23 f23df028b6ca: Download complete 07:52:23 d65c8cfc05b1: Verifying Checksum 07:52:23 d65c8cfc05b1: Download complete 07:52:24 699f458cf7ca: Verifying Checksum 07:52:24 699f458cf7ca: Download complete 07:52:24 8998bd30e6a1: Verifying Checksum 07:52:24 8998bd30e6a1: Download complete 07:52:26 2437ff75d9bd: Verifying Checksum 07:52:26 2437ff75d9bd: Download complete 07:52:29 8998bd30e6a1: Pull complete 07:52:29 04944245beec: Pull complete 07:52:31 699f458cf7ca: Pull complete 07:52:31 765212b225bb: Pull complete 07:52:32 f23df028b6ca: Pull complete 07:52:32 d65c8cfc05b1: Pull complete 07:52:51 2437ff75d9bd: Pull complete 07:52:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-24292 does not seem to be running inside a container 07:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/211 -v /w/workspace/device-onvif-camera/211:/w/workspace/device-onvif-camera/211:rw,z -v /w/workspace/device-onvif-camera/211@tmp:/w/workspace/device-onvif-camera/211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:52:54 $ docker top 3cf7098874d78ce742a0446b1c2ca30494da4d067bc345523ccf687839f8f4f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:55 ---> job-cost.sh 07:52:55 lf-activate-venv: SKIPPING 07:52:55 INFO: No Stack... 07:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 07:52:56 INFO: Archiving Costs [Pipeline] sh 07:52:56 + cat /w/workspace/device-onvif-camera/211/archives/cost.csv 07:52:56 + cut -d, -f6 [Pipeline] lock 07:52:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] 07:52:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] did not exist. Created. 07:52:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:57 /w/workspace/device-onvif-camera/211@tmp/durable-142a9050/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:52:58 + echo total: 0.10999999940395355 [Pipeline] stash 07:52:58 Warning: overwriting stash ‘stack-cost’ 07:52:58 Stashed 1 file(s) [Pipeline] } 07:52:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-211-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:58 $ docker stop --time=1 3cf7098874d78ce742a0446b1c2ca30494da4d067bc345523ccf687839f8f4f1 07:52:59 $ docker rm -f --volumes 3cf7098874d78ce742a0446b1c2ca30494da4d067bc345523ccf687839f8f4f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:53:00 provisioning config files... 07:53:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17176945854880334644tmp [Pipeline] { [Pipeline] sh 07:53:00 + set +x 07:53:00 + curl -s https://codecov.io/bash 07:53:00 + bash -s -- 07:53:01 07:53:01 _____ _ 07:53:01 / ____| | | 07:53:01 | | ___ __| | ___ ___ _____ __ 07:53:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:53:01 | |___| (_) | (_| | __/ (_| (_) \ V / 07:53:01 \_____\___/ \__,_|\___|\___\___/ \_/ 07:53:01 Bash-1.0.6 07:53:01 07:53:01 07:53:01 ==> git version 2.25.1 found 07:53:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:53:01 Release-Date: 2020-01-08 07:53:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:53:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:53:01 ==> Jenkins CI detected. 07:53:01 current dir:  /w/workspace/foundry_device-onvif-camera_main 07:53:01 project root: . 07:53:01 --> token set from env 07:53:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:53:01 ==> Running gcov in . (disable via -X gcov) 07:53:01 ==> Python coveragepy not found 07:53:01 ==> Searching for coverage reports in: 07:53:01 + . 07:53:01 -> Found 1 reports 07:53:01 ==> Detecting git/mercurial file structure 07:53:01 ==> Reading reports 07:53:01 + ./coverage.out bytes=92292 07:53:01 ==> Appending adjustments 07:53:01 https://docs.codecov.io/docs/fixing-reports 07:53:01 + Found adjustments 07:53:01 ==> Gzipping contents 07:53:01 12K /tmp/codecov.HOfRqc.gz 07:53:01 ==> Uploading reports 07:53:01 url: https://codecov.io 07:53:01 query: branch=main&commit=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c&build=211&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F211%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:53:01 -> Pinging Codecov 07:53:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c&build=211&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F211%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:53:01 -> Uploading to 07:53:01 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c/c5555af9-036b-4fd0-88bd-8160af875aa0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T075301Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8990ed096e0a50694e51b0135f1b2f3768b648d668702d144474b0ea99a0af21 07:53:01 % Total % Received % Xferd Average Speed Time Time Time Current 07:53:01 Dload Upload Total Spent Left Speed 07:53:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 47360 --:--:-- --:--:-- --:--:-- 47165 100 11414 0 0 100 11414 0 47360 --:--:-- --:--:-- --:--:-- 47165 07:53:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] } 07:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:53:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:53:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:53:02 07:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:53:02 latest: Pulling from edgex-devops/edgex-snyk-go 07:53:02 43c4264eed91: Already exists 07:53:02 4cc291be95ef: Already exists 07:53:02 2ac1f1163629: Already exists 07:53:02 5c3c966382ef: Already exists 07:53:02 4f4fb700ef54: Already exists 07:53:02 d9c7d2e4e75e: Pulling fs layer 07:53:02 9c3e1370e548: Pulling fs layer 07:53:02 d9c7d2e4e75e: Verifying Checksum 07:53:02 d9c7d2e4e75e: Download complete 07:53:03 d9c7d2e4e75e: Pull complete 07:53:03 9c3e1370e548: Verifying Checksum 07:53:03 9c3e1370e548: Download complete 07:53:06 9c3e1370e548: Pull complete 07:53:06 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:53:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:06 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53:06 $ 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 07:53:08 $ docker top c0470feca7cf6d4acce53f8ac8349d38ad3fd21bceca58e6d500cd2d5c6f5802 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:09 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 07:53:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 07:53:09 + set -o pipefail 07:53:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 07:53:15 07:53:15 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 07:53:15 07:53:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/db9f0f04-7f92-4fc5-a39f-ae289ff89799 07:53:15 07:53:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:53:15 07:53:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:53:15 [Pipeline] } 07:53:16 $ docker stop --time=1 c0470feca7cf6d4acce53f8ac8349d38ad3fd21bceca58e6d500cd2d5c6f5802 07:53:20 $ docker rm -f --volumes c0470feca7cf6d4acce53f8ac8349d38ad3fd21bceca58e6d500cd2d5c6f5802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 07:53:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:20 provisioning config files... 07:53:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1100120858440458238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:20 --> edgex-publish-swagger.sh 07:53:20 === Publish doc/openapi/v3 API === 07:53:20 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 07:53:20 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 07:53:20 % Total % Received % Xferd Average Speed Time Time Time Current 07:53:20 Dload Upload Total Spent Left Speed 07:53:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 318 990k --:--:-- --:--:-- --:--:-- 991k 07:53:21 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 07:53:21 [Pipeline] } 07:53:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:53:21 + git log --format=format:%s -1 b1923ec64e6b9a9b41abf8e9f2f9b5cf0237d74c [Pipeline] sh 07:53:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:22 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53: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 07:53:22 $ docker top 191d72330e06fd585ebfc9f70c1703b55ad6dc0f3b2de75df0a26ac4f03ce2f8 -eo pid,comm 07:53: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). 07:53:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:22 [ssh-agent] Looking for ssh-agent implementation... 07:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:23 $ docker exec 191d72330e06fd585ebfc9f70c1703b55ad6dc0f3b2de75df0a26ac4f03ce2f8 ssh-agent 07:53:23 SSH_AUTH_SOCK=/tmp/ssh-9v0JyGGxnMgb/agent.33 07:53:23 SSH_AGENT_PID=39 07:53:23 Running ssh-add (command line suppressed) 07:53:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5724543856132429404.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5724543856132429404.key) 07:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:23 + git semver tag 07:53:23 2024-11-01 07:53:23,683 [run_tag] DEBUG tag force:False 07:53:23 2024-11-01 07:53:23,683 [check_head_tag] DEBUG check head tag 07:53:23 2024-11-01 07:53:23,684 [execute] INFO git cat-file --batch-check 07:53:23 2024-11-01 07:53:23,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:53:23 2024-11-01 07:53:23,687 [execute] INFO git cat-file --batch 07:53:23 2024-11-01 07:53:23,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:53:23 2024-11-01 07:53:23,704 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:23 2024-11-01 07:53:23,704 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 07:53:23 2024-11-01 07:53:23,704 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:53:23 2024-11-01 07:53:23,708 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:23 4.0.0-dev.2 [Pipeline] } 07:53:23 $ docker exec --env ******** --env ******** 191d72330e06fd585ebfc9f70c1703b55ad6dc0f3b2de75df0a26ac4f03ce2f8 ssh-agent -k 07:53:23 unset SSH_AUTH_SOCK; 07:53:23 unset SSH_AGENT_PID; 07:53:23 echo Agent pid 39 killed; 07:53:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:24 + git semver [Pipeline] } 07:53:24 $ docker stop --time=1 191d72330e06fd585ebfc9f70c1703b55ad6dc0f3b2de75df0a26ac4f03ce2f8 07:53:25 $ docker rm -f --volumes 191d72330e06fd585ebfc9f70c1703b55ad6dc0f3b2de75df0a26ac4f03ce2f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:26 07:53:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:26 0.23.1-centos7: Pulling from edgex-lftools 07:53:26 ab5ef0e58194: Pulling fs layer 07:53:26 9712f1f96733: Pulling fs layer 07:53:26 63f879dbbcfc: Pulling fs layer 07:53:26 0d9ebad4ef96: Pulling fs layer 07:53:26 e9a5061849ea: Pulling fs layer 07:53:26 d747dcd14b5f: Pulling fs layer 07:53:26 2de7ff778b66: Pulling fs layer 07:53:26 0d9ebad4ef96: Waiting 07:53:26 d747dcd14b5f: Waiting 07:53:26 e9a5061849ea: Waiting 07:53:26 2de7ff778b66: Waiting 07:53:26 9712f1f96733: Verifying Checksum 07:53:26 9712f1f96733: Download complete 07:53:26 63f879dbbcfc: Verifying Checksum 07:53:26 63f879dbbcfc: Download complete 07:53:27 e9a5061849ea: Verifying Checksum 07:53:27 e9a5061849ea: Download complete 07:53:27 d747dcd14b5f: Verifying Checksum 07:53:27 d747dcd14b5f: Download complete 07:53:27 ab5ef0e58194: Verifying Checksum 07:53:27 ab5ef0e58194: Download complete 07:53:27 0d9ebad4ef96: Verifying Checksum 07:53:27 0d9ebad4ef96: Download complete 07:53:27 2de7ff778b66: Verifying Checksum 07:53:27 2de7ff778b66: Download complete 07:53:29 ab5ef0e58194: Pull complete 07:53:29 9712f1f96733: Pull complete 07:53:30 63f879dbbcfc: Pull complete 07:53:33 0d9ebad4ef96: Pull complete 07:53:33 e9a5061849ea: Pull complete 07:53:33 d747dcd14b5f: Pull complete 07:53:34 2de7ff778b66: Pull complete 07:53:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:53:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:34 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53:34 $ 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 07:53:38 $ docker top a156f042440b1ce42d87c9dac1170eabf1f8b1fdb25fed05a44ab8a21c6d70f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:53:38 provisioning config files... 07:53:38 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4866176846021282574tmp 07:53:38 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18050827900292263600tmp 07:53:38 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1727248281329506972tmp [Pipeline] { [Pipeline] echo 07:53:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:53:38 ---> sigul-configuration.sh 07:53:38 gpg: directory `/root/.gnupg' created 07:53:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:53:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:53:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:53:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:53:38 gpg: CAST5 encrypted data 07:53:38 gpg: encrypted with 1 passphrase 07:53:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:53:38 + mkdir /home/jenkins 07:53:38 + mkdir /home/jenkins/sigul [Pipeline] sh 07:53:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:53:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:53:39 ---> sigul-install.sh 07:53:39 Sigul already installed; skipping installation. [Pipeline] sh 07:53:39 + git tag --list 07:53:39 v0.0.0 07:53:39 v2.2.0 07:53:39 v2.3.0 07:53:39 v2.3.1 07:53:39 v3.0 07:53:39 v3.0.0 07:53:39 v3.1 07:53:39 v3.1.0 07:53:39 v3.1.0-dev.1 07:53:39 v3.1.0-dev.10 07:53:39 v3.1.0-dev.11 07:53:39 v3.1.0-dev.12 07:53:39 v3.1.0-dev.13 07:53:39 v3.1.0-dev.14 07:53:39 v3.1.0-dev.15 07:53:39 v3.1.0-dev.16 07:53:39 v3.1.0-dev.17 07:53:39 v3.1.0-dev.18 07:53:39 v3.1.0-dev.19 07:53:39 v3.1.0-dev.2 07:53:39 v3.1.0-dev.20 07:53:39 v3.1.0-dev.21 07:53:39 v3.1.0-dev.22 07:53:39 v3.1.0-dev.23 07:53:39 v3.1.0-dev.24 07:53:39 v3.1.0-dev.25 07:53:39 v3.1.0-dev.26 07:53:39 v3.1.0-dev.27 07:53:39 v3.1.0-dev.28 07:53:39 v3.1.0-dev.3 07:53:39 v3.1.0-dev.4 07:53:39 v3.1.0-dev.5 07:53:39 v3.1.0-dev.6 07:53:39 v3.1.0-dev.7 07:53:39 v3.1.0-dev.8 07:53:39 v3.1.0-dev.9 07:53:39 v3.1.1 07:53:39 v3.2.0-dev.1 07:53:39 v3.2.0-dev.10 07:53:39 v3.2.0-dev.11 07:53:39 v3.2.0-dev.12 07:53:39 v3.2.0-dev.13 07:53:39 v3.2.0-dev.14 07:53:39 v3.2.0-dev.15 07:53:39 v3.2.0-dev.16 07:53:39 v3.2.0-dev.17 07:53:39 v3.2.0-dev.18 07:53:39 v3.2.0-dev.19 07:53:39 v3.2.0-dev.2 07:53:39 v3.2.0-dev.20 07:53:39 v3.2.0-dev.21 07:53:39 v3.2.0-dev.22 07:53:39 v3.2.0-dev.23 07:53:39 v3.2.0-dev.3 07:53:39 v3.2.0-dev.4 07:53:39 v3.2.0-dev.5 07:53:39 v3.2.0-dev.6 07:53:39 v3.2.0-dev.7 07:53:39 v3.2.0-dev.8 07:53:39 v3.2.0-dev.9 07:53:39 v4.0.0-dev.1 07:53:39 v4.0.0-dev.2 [Pipeline] sh 07:53:40 + lftools sign git-tag v4.0.0-dev.2 07:53:40 Signing Git tag with Sigul... 07:53:40 Signing v4.0.0-dev.2 [Pipeline] echo 07:53:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:53:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:53:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:53:41 $ docker stop --time=1 a156f042440b1ce42d87c9dac1170eabf1f8b1fdb25fed05a44ab8a21c6d70f0 07:53:42 $ docker rm -f --volumes a156f042440b1ce42d87c9dac1170eabf1f8b1fdb25fed05a44ab8a21c6d70f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:53:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:43 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53:43 $ 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 07:53:43 $ docker top 0add400381b86c216783c2a68084db4a7630f32bc1f455e8c4975a2a18fc9a50 -eo pid,comm 07:53:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:53:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:43 [ssh-agent] Looking for ssh-agent implementation... 07:53:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:43 $ docker exec 0add400381b86c216783c2a68084db4a7630f32bc1f455e8c4975a2a18fc9a50 ssh-agent 07:53:44 SSH_AUTH_SOCK=/tmp/ssh-AyKCCZ2wDekG/agent.32 07:53:44 SSH_AGENT_PID=38 07:53:44 Running ssh-add (command line suppressed) 07:53:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1284149188071873465.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1284149188071873465.key) 07:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:44 + git semver bump pre 07:53:44 2024-11-01 07:53:44,634 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:44 2024-11-01 07:53:44,634 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 07:53:44 2024-11-01 07:53:44,634 [bump_version] DEBUG bumped version:4.0.0-dev.3 07:53:44 2024-11-01 07:53:44,634 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 07:53:44 2024-11-01 07:53:44,635 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:44 2024-11-01 07:53:44,635 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:44 2024-11-01 07:53:44,637 [execute] INFO git cat-file --batch-check 07:53:44 2024-11-01 07:53:44,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:53:44 2024-11-01 07:53:44,643 [execute] INFO git cat-file --batch 07:53:44 2024-11-01 07:53:44,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:53:44 2024-11-01 07:53:44,648 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:44 4.0.0-dev.3 [Pipeline] } 07:53:44 $ docker exec --env ******** --env ******** 0add400381b86c216783c2a68084db4a7630f32bc1f455e8c4975a2a18fc9a50 ssh-agent -k 07:53:44 unset SSH_AUTH_SOCK; 07:53:44 unset SSH_AGENT_PID; 07:53:44 echo Agent pid 38 killed; 07:53:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:45 + git semver [Pipeline] } 07:53:45 $ docker stop --time=1 0add400381b86c216783c2a68084db4a7630f32bc1f455e8c4975a2a18fc9a50 07:53:46 $ docker rm -f --volumes 0add400381b86c216783c2a68084db4a7630f32bc1f455e8c4975a2a18fc9a50 [Pipeline] // withDockerContainer [Pipeline] sh 07:53:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:47 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53:47 $ 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 07:53:47 $ docker top 6b1bb97b594e948acf3c29e24d5371a8168f3326eef117b08061c57d66ce644b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:47 [ssh-agent] Looking for ssh-agent implementation... 07:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:47 $ docker exec 6b1bb97b594e948acf3c29e24d5371a8168f3326eef117b08061c57d66ce644b ssh-agent 07:53:48 SSH_AUTH_SOCK=/tmp/ssh-iVzSnMaSUpA0/agent.30 07:53:48 SSH_AGENT_PID=36 07:53:48 Running ssh-add (command line suppressed) 07:53:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11883389451127351848.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11883389451127351848.key) 07:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:48 + git semver push 07:53:48 2024-11-01 07:53:48,667 [run_push] DEBUG push 07:53:48 2024-11-01 07:53:48,668 [execute] INFO git cat-file --batch-check 07:53:48 2024-11-01 07:53:48,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:53:48 2024-11-01 07:53:48,671 [execute] INFO git rev-list cd9ca8c2d0b6f3ac6708adf20e6710cb73923fb0 -- 07:53:48 2024-11-01 07:53:48,672 [execute] DEBUG Popen(['git', 'rev-list', 'cd9ca8c2d0b6f3ac6708adf20e6710cb73923fb0', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:53:48 2024-11-01 07:53:48,680 [execute] INFO git fetch -v origin 07:53:48 2024-11-01 07:53:48,680 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 07:53:49 2024-11-01 07:53:49,131 [run_push] DEBUG no remote changes detected 07:53:49 2024-11-01 07:53:49,131 [execute] INFO git push origin semver 07:53:49 2024-11-01 07:53:49,132 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:53:49 2024-11-01 07:53:49,775 [run_push] DEBUG push all version tags 07:53:49 2024-11-01 07:53:49,776 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:53:49 2024-11-01 07:53:49,776 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:53:50 2024-11-01 07:53:50,384 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:53:50 4.0.0-dev.3 [Pipeline] } 07:53:50 $ docker exec --env ******** --env ******** 6b1bb97b594e948acf3c29e24d5371a8168f3326eef117b08061c57d66ce644b ssh-agent -k 07:53:50 unset SSH_AUTH_SOCK; 07:53:50 unset SSH_AGENT_PID; 07:53:50 echo Agent pid 36 killed; 07:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:50 + git semver [Pipeline] } 07:53:51 $ docker stop --time=1 6b1bb97b594e948acf3c29e24d5371a8168f3326eef117b08061c57d66ce644b 07:53:52 $ docker rm -f --volumes 6b1bb97b594e948acf3c29e24d5371a8168f3326eef117b08061c57d66ce644b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:53:53 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 07:53:53 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:53:53 total 16 07:53:53 drwxr-xr-x 3 root root 4096 Nov 1 07:40 . 07:53:53 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:53 .. 07:53:53 drwxr-xr-x 2 root root 4096 Nov 1 07:40 cost 07:53:53 -rw-r--r-- 1 root root 91 Nov 1 07:40 cost.csv 07:53:53 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 07:53:53 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:53:53 total 16 07:53:53 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:40 . 07:53:53 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:53 .. 07:53:53 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 07:40 cost 07:53:53 -rw-r--r-- 1 jenkins jenkins 91 Nov 1 07:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:53:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:54 ---> package-listing.sh 07:53:54 ++ facter osfamily 07:53:54 ++ tr '[:upper:]' '[:lower:]' 07:53:55 + OS_FAMILY=debian 07:53:55 + workspace=/w/workspace/foundry_device-onvif-camera_main 07:53:55 + START_PACKAGES=/tmp/packages_start.txt 07:53:55 + END_PACKAGES=/tmp/packages_end.txt 07:53:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:55 + PACKAGES=/tmp/packages_start.txt 07:53:55 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:53:55 + PACKAGES=/tmp/packages_end.txt 07:53:55 + case "${OS_FAMILY}" in 07:53:55 + dpkg -l 07:53:55 + grep '^ii' 07:53:55 + '[' -f /tmp/packages_start.txt ']' 07:53:55 + '[' -f /tmp/packages_end.txt ']' 07:53:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:55 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:53:55 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 07:53:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 07:53:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:53:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:55 prd-ubuntu20.04-docker-8c-8g-24290 does not seem to be running inside a container 07:53:55 $ 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 07:53:56 $ docker top 1c4ba226b61ca093b89494b96aa4413fa6542acde9139c776406084d7f63ffb6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:56 + touch /tmp/pre-build-complete [Pipeline] sh 07:53:56 + mkdir -p /var/log/sysstat [Pipeline] sh 07:53:57 + ls /var/log/sa-host 07:53:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:57 provisioning config files... 07:53:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1836670317801763362tmp [Pipeline] { [Pipeline] echo 07:53:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:53:57 ---> create-netrc.sh [Pipeline] } 07:53:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:53:57 ---> python-tools-install.sh [Pipeline] echo 07:53:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:53:58 ---> sudo-logs.sh 07:53:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:53:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:53:58 ---> job-cost.sh 07:53:58 lf-activate-venv: SKIPPING 07:53:58 DEBUG: total: 0.2199999988079071 07:53:58 INFO: Retrieving Stack Cost... 07:53:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:59 INFO: Archiving Costs [Pipeline] echo 07:53:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:53:59 ---> logs-deploy.sh 07:53:59 lf-activate-venv: SKIPPING 07:53:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/211 07:53:59 INFO: archiving workspace using pattern(s): 07:54:00 Archives upload complete. 07:54:00 INFO: archiving logs to Nexus