Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16264642506173878953.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17958514317347428330.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13196949707121733569.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5446175559381874995.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3650860381216837508.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23244’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23245 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 (main) Commit message: "Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" > git config core.sparsecheckout # timeout=10 > git checkout -f 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 > git rev-list --no-walk a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-18T07:19:04.228Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-18T07:19:04.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-18T07:19:04.332Z] ========================================================= [2024-10-18T07:19:04.332Z] EdgeX Global Pipelines Version Info [2024-10-18T07:19:04.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:19:05.123Z] ------------------- [2024-10-18T07:19:05.123Z] stable info: [2024-10-18T07:19:05.123Z] ------------------- [2024-10-18T07:19:05.123Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-18T07:19:05.124Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-18T07:19:05.124Z] Message: update stable to v1.0.265 [2024-10-18T07:19:05.694Z] ------------------- [2024-10-18T07:19:05.694Z] experimental info: [2024-10-18T07:19:05.694Z] ------------------- [2024-10-18T07:19:05.694Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-18T07:19:05.694Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-18T07:19:05.694Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-18T07:19:05.777Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-18T07:19:05.803Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-18T07:19:05.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-18T07:19:05.851Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-18T07:19:05.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-18T07:19:05.902Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-18T07:19:05.930Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-18T07:19:05.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-18T07:19:05.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-18T07:19:06.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-18T07:19:06.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-18T07:19:06.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-18T07:19:06.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-18T07:19:06.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-18T07:19:06.144Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T07:19:06.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T07:19:06.203Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T07:19:06.226Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T07:19:06.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-18T07:19:06.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-18T07:19:06.294Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-18T07:19:06.314Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-18T07:19:06.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-18T07:19:06.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-18T07:19:06.378Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-18T07:19:06.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-18T07:19:06.425Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-18T07:19:06.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-10-18T07:19:06.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-10-18T07:19:06.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-10-18T07:19:06.523Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo [2024-10-18T07:19:06.544Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39018d7 [Pipeline] echo [2024-10-18T07:19:06.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:19:06.607Z] provisioning config files... [2024-10-18T07:19:06.618Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config892034448732432252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:19:06.950Z] ---> ****-login.sh [2024-10-18T07:19:06.950Z] nexus3.edgexfoundry.org:10001 [2024-10-18T07:19:07.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:07.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:07.211Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:07.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:07.211Z] [2024-10-18T07:19:07.211Z] Login Succeeded [2024-10-18T07:19:07.211Z] nexus3.edgexfoundry.org:10002 [2024-10-18T07:19:07.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:07.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:07.211Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:07.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:07.211Z] [2024-10-18T07:19:07.211Z] Login Succeeded [2024-10-18T07:19:07.212Z] nexus3.edgexfoundry.org:10003 [2024-10-18T07:19:07.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:07.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:07.471Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:07.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:07.471Z] [2024-10-18T07:19:07.471Z] Login Succeeded [2024-10-18T07:19:07.471Z] nexus3.edgexfoundry.org:10004 [2024-10-18T07:19:07.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:07.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:07.471Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:07.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:07.471Z] [2024-10-18T07:19:07.471Z] Login Succeeded [2024-10-18T07:19:07.471Z] ****.io [2024-10-18T07:19:07.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:07.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:07.731Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:07.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:07.731Z] [2024-10-18T07:19:07.731Z] Login Succeeded [2024-10-18T07:19:07.731Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T07:19:07.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-18T07:19:08.142Z] + git rev-list -1 --merges 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6~1..39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo [2024-10-18T07:19:08.176Z] -----------> git rev-list -1 --merges 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6~1..39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:19:08.176Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [false] [Pipeline] sh [2024-10-18T07:19:08.472Z] + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo [2024-10-18T07:19:08.488Z] ========================================================= [2024-10-18T07:19:08.488Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-18T07:19:08.488Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T07:19:08.825Z] + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] echo [2024-10-18T07:19:08.837Z] [semverPrep] GIT_COMMIT: 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6, Commit Message: Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47 [Pipeline] echo [2024-10-18T07:19:08.854Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-18T07:19:09.212Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T07:19:09.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-18T07:19:09.212Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-18T07:19:09.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-18T07:19:09.212Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-18T07:19:09.212Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-18T07:19:09.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:19:09.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:19:09.573Z] [2024-10-18T07:19:09.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:19:09.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:19:09.877Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-18T07:19:09.877Z] b85a868b505f: Pulling fs layer [2024-10-18T07:19:09.877Z] e2be974225ed: Pulling fs layer [2024-10-18T07:19:09.877Z] 339a4e72a1f5: Pulling fs layer [2024-10-18T07:19:09.877Z] 988bab9f4d93: Pulling fs layer [2024-10-18T07:19:09.877Z] 1469e6f7b9e6: Pulling fs layer [2024-10-18T07:19:09.877Z] eaf3925da568: Pulling fs layer [2024-10-18T07:19:09.877Z] bab4dde63d76: Pulling fs layer [2024-10-18T07:19:09.877Z] bde34c3a00c8: Pulling fs layer [2024-10-18T07:19:09.877Z] b352a97aabf1: Pulling fs layer [2024-10-18T07:19:09.877Z] 4872d77fe225: Pulling fs layer [2024-10-18T07:19:09.877Z] 5851b861e8e6: Pulling fs layer [2024-10-18T07:19:09.877Z] 988bab9f4d93: Waiting [2024-10-18T07:19:09.877Z] 1469e6f7b9e6: Waiting [2024-10-18T07:19:09.877Z] bab4dde63d76: Waiting [2024-10-18T07:19:09.877Z] bde34c3a00c8: Waiting [2024-10-18T07:19:09.877Z] 5851b861e8e6: Waiting [2024-10-18T07:19:09.877Z] eaf3925da568: Waiting [2024-10-18T07:19:09.877Z] b352a97aabf1: Waiting [2024-10-18T07:19:09.877Z] 4872d77fe225: Waiting [2024-10-18T07:19:09.877Z] e2be974225ed: Download complete [2024-10-18T07:19:09.877Z] 988bab9f4d93: Verifying Checksum [2024-10-18T07:19:09.877Z] 988bab9f4d93: Download complete [2024-10-18T07:19:09.877Z] 339a4e72a1f5: Verifying Checksum [2024-10-18T07:19:09.877Z] 339a4e72a1f5: Download complete [2024-10-18T07:19:09.877Z] 1469e6f7b9e6: Verifying Checksum [2024-10-18T07:19:09.877Z] 1469e6f7b9e6: Download complete [2024-10-18T07:19:09.877Z] eaf3925da568: Verifying Checksum [2024-10-18T07:19:09.877Z] eaf3925da568: Download complete [2024-10-18T07:19:09.877Z] bde34c3a00c8: Verifying Checksum [2024-10-18T07:19:09.877Z] bde34c3a00c8: Download complete [2024-10-18T07:19:10.138Z] b352a97aabf1: Download complete [2024-10-18T07:19:10.138Z] 4872d77fe225: Verifying Checksum [2024-10-18T07:19:10.138Z] 4872d77fe225: Download complete [2024-10-18T07:19:10.138Z] 5851b861e8e6: Verifying Checksum [2024-10-18T07:19:10.138Z] 5851b861e8e6: Download complete [2024-10-18T07:19:10.138Z] b85a868b505f: Download complete [2024-10-18T07:19:10.439Z] bab4dde63d76: Verifying Checksum [2024-10-18T07:19:10.439Z] bab4dde63d76: Download complete [2024-10-18T07:19:11.377Z] b85a868b505f: Pull complete [2024-10-18T07:19:11.636Z] e2be974225ed: Pull complete [2024-10-18T07:19:12.205Z] 339a4e72a1f5: Pull complete [2024-10-18T07:19:12.205Z] 988bab9f4d93: Pull complete [2024-10-18T07:19:12.465Z] 1469e6f7b9e6: Pull complete [2024-10-18T07:19:12.465Z] eaf3925da568: Pull complete [2024-10-18T07:19:14.372Z] bab4dde63d76: Pull complete [2024-10-18T07:19:14.372Z] bde34c3a00c8: Pull complete [2024-10-18T07:19:14.372Z] b352a97aabf1: Pull complete [2024-10-18T07:19:14.372Z] 4872d77fe225: Pull complete [2024-10-18T07:19:14.372Z] 5851b861e8e6: Pull complete [2024-10-18T07:19:14.372Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-18T07:19:14.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:19:14.372Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:19:14.516Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:19:14.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T07:19:17.901Z] $ docker top f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 -eo pid,comm [2024-10-18T07:19:17.955Z] 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). [2024-10-18T07:19:17.955Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T07:19:18.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T07:19:18.018Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T07:19:18.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T07:19:18.132Z] $ docker exec f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent [2024-10-18T07:19:18.231Z] SSH_AUTH_SOCK=/tmp/ssh-lxX0sn5fBe6A/agent.33 [2024-10-18T07:19:18.231Z] SSH_AGENT_PID=39 [2024-10-18T07:19:18.236Z] Running ssh-add (command line suppressed) [2024-10-18T07:19:18.339Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16828346813353262744.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16828346813353262744.key) [2024-10-18T07:19:18.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T07:19:18.647Z] + git tag --points-at HEAD [Pipeline] } [2024-10-18T07:19:18.657Z] $ docker exec --env ******** --env ******** f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent -k [2024-10-18T07:19:18.758Z] unset SSH_AUTH_SOCK; [2024-10-18T07:19:18.758Z] unset SSH_AGENT_PID; [2024-10-18T07:19:18.758Z] echo Agent pid 39 killed; [2024-10-18T07:19:18.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-18T07:19:18.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T07:19:18.811Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T07:19:18.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T07:19:18.924Z] $ docker exec f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent [2024-10-18T07:19:19.034Z] SSH_AUTH_SOCK=/tmp/ssh-FizMkq1s28Sc/agent.72 [2024-10-18T07:19:19.034Z] SSH_AGENT_PID=78 [2024-10-18T07:19:19.040Z] Running ssh-add (command line suppressed) [2024-10-18T07:19:19.139Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1554680550003609804.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1554680550003609804.key) [2024-10-18T07:19:19.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T07:19:19.445Z] + git semver init [2024-10-18T07:19:19.704Z] 2024-10-18 07:19:19,609 [run_init] DEBUG init version:0.0.0 force:False [2024-10-18T07:19:19.704Z] 2024-10-18 07:19:19,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2024-10-18T07:19:19.704Z] 2024-10-18 07:19:19,610 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2024-10-18T07:19:19.705Z] 2024-10-18 07:19:19,610 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2024-10-18T07:19:21.083Z] 2024-10-18 07:19:20,869 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2024-10-18T07:19:21.084Z] 2024-10-18 07:19:20,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2024-10-18T07:19:21.084Z] 2024-10-18 07:19:20,870 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:19:21.084Z] 2024-10-18 07:19:20,870 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:19:21.084Z] 3.2.0-dev.23 [Pipeline] } [2024-10-18T07:19:21.092Z] $ docker exec --env ******** --env ******** f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 ssh-agent -k [2024-10-18T07:19:21.183Z] unset SSH_AUTH_SOCK; [2024-10-18T07:19:21.183Z] unset SSH_AGENT_PID; [2024-10-18T07:19:21.185Z] echo Agent pid 78 killed; [2024-10-18T07:19:21.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T07:19:21.521Z] + git semver [Pipeline] } [2024-10-18T07:19:21.793Z] $ docker stop --time=1 f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 [2024-10-18T07:19:23.094Z] $ docker rm -f --volumes f9939d0e1302ca09caa6f38da3ac44612f27955ef1758d6cb4da78dcfe5f4bc8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T07:19:23.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-18T07:19:23.660Z] Stashed 1 file(s) [Pipeline] echo [2024-10-18T07:19:23.665Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:19:23.857Z] provisioning config files... [2024-10-18T07:19:23.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7121138225203965906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:19:24.163Z] ---> ****-login.sh [2024-10-18T07:19:24.163Z] nexus3.edgexfoundry.org:10001 [2024-10-18T07:19:24.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:24.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:24.163Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:24.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:24.163Z] [2024-10-18T07:19:24.163Z] Login Succeeded [2024-10-18T07:19:24.163Z] nexus3.edgexfoundry.org:10002 [2024-10-18T07:19:24.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:24.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:24.163Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:24.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:24.163Z] [2024-10-18T07:19:24.163Z] Login Succeeded [2024-10-18T07:19:24.164Z] nexus3.edgexfoundry.org:10003 [2024-10-18T07:19:24.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:24.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:24.424Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:24.424Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:24.424Z] [2024-10-18T07:19:24.424Z] Login Succeeded [2024-10-18T07:19:24.424Z] nexus3.edgexfoundry.org:10004 [2024-10-18T07:19:24.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:24.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:24.424Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:24.424Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:24.424Z] [2024-10-18T07:19:24.424Z] Login Succeeded [2024-10-18T07:19:24.424Z] ****.io [2024-10-18T07:19:24.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:19:24.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:19:24.683Z] Configure a credential helper to remove this warning. See [2024-10-18T07:19:24.683Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:19:24.683Z] [2024-10-18T07:19:24.683Z] Login Succeeded [2024-10-18T07:19:24.683Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T07:19:24.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-18T07:19:24.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:19:24.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:19:24.822Z] ========================================================= [2024-10-18T07:19:24.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-18T07:19:24.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:19:25.160Z] + 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 . [2024-10-18T07:19:25.160Z] Sending build context to Docker daemon 36.74MB [2024-10-18T07:19:25.160Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T07:19:25.160Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-18T07:19:25.417Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-18T07:19:25.417Z] 43c4264eed91: Pulling fs layer [2024-10-18T07:19:25.417Z] 4cc291be95ef: Pulling fs layer [2024-10-18T07:19:25.417Z] 2ac1f1163629: Pulling fs layer [2024-10-18T07:19:25.417Z] 5c3c966382ef: Pulling fs layer [2024-10-18T07:19:25.417Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T07:19:25.417Z] 5c3c966382ef: Waiting [2024-10-18T07:19:25.417Z] 5d5c8e513c77: Pulling fs layer [2024-10-18T07:19:25.417Z] 9f66e0745190: Pulling fs layer [2024-10-18T07:19:25.417Z] f49a43e4bbc0: Pulling fs layer [2024-10-18T07:19:25.417Z] 561ebcabdf7f: Pulling fs layer [2024-10-18T07:19:25.417Z] 4f4fb700ef54: Waiting [2024-10-18T07:19:25.417Z] 561ebcabdf7f: Waiting [2024-10-18T07:19:25.417Z] f49a43e4bbc0: Waiting [2024-10-18T07:19:25.417Z] 9f66e0745190: Waiting [2024-10-18T07:19:25.417Z] 4cc291be95ef: Verifying Checksum [2024-10-18T07:19:25.417Z] 4cc291be95ef: Download complete [2024-10-18T07:19:25.417Z] 5c3c966382ef: Verifying Checksum [2024-10-18T07:19:25.417Z] 5c3c966382ef: Download complete [2024-10-18T07:19:25.417Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T07:19:25.417Z] 4f4fb700ef54: Download complete [2024-10-18T07:19:25.417Z] 5d5c8e513c77: Verifying Checksum [2024-10-18T07:19:25.417Z] 5d5c8e513c77: Download complete [2024-10-18T07:19:25.417Z] 43c4264eed91: Verifying Checksum [2024-10-18T07:19:25.417Z] 43c4264eed91: Download complete [2024-10-18T07:19:25.417Z] 9f66e0745190: Verifying Checksum [2024-10-18T07:19:25.418Z] 9f66e0745190: Download complete [2024-10-18T07:19:25.679Z] 43c4264eed91: Pull complete [2024-10-18T07:19:25.679Z] 561ebcabdf7f: Verifying Checksum [2024-10-18T07:19:25.679Z] 561ebcabdf7f: Download complete [2024-10-18T07:19:25.679Z] 4cc291be95ef: Pull complete [2024-10-18T07:19:25.947Z] 2ac1f1163629: Verifying Checksum [2024-10-18T07:19:25.947Z] 2ac1f1163629: Download complete [2024-10-18T07:19:26.204Z] f49a43e4bbc0: Verifying Checksum [2024-10-18T07:19:29.489Z] 2ac1f1163629: Pull complete [2024-10-18T07:19:29.489Z] 5c3c966382ef: Pull complete [2024-10-18T07:19:29.489Z] 4f4fb700ef54: Pull complete [2024-10-18T07:19:29.489Z] 5d5c8e513c77: Pull complete [2024-10-18T07:19:29.489Z] 9f66e0745190: Pull complete [2024-10-18T07:19:31.389Z] f49a43e4bbc0: Pull complete [2024-10-18T07:19:31.959Z] 561ebcabdf7f: Pull complete [2024-10-18T07:19:31.959Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-18T07:19:31.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-18T07:19:31.959Z] ---> 3a752c3f9dda [2024-10-18T07:19:31.959Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-18T07:19:37.283Z] ---> Running in 0d1e34b19dca [2024-10-18T07:19:37.283Z] Removing intermediate container 0d1e34b19dca [2024-10-18T07:19:37.283Z] ---> 455bd1633529 [2024-10-18T07:19:37.283Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T07:19:37.283Z] ---> Running in 77b9906bdeee [2024-10-18T07:19:37.541Z] Removing intermediate container 77b9906bdeee [2024-10-18T07:19:37.541Z] ---> 9026d236dab3 [2024-10-18T07:19:37.541Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T07:19:37.541Z] ---> Running in 99ca57e37c0f [2024-10-18T07:19:37.541Z] Removing intermediate container 99ca57e37c0f [2024-10-18T07:19:37.541Z] ---> e3d0ad2e45fb [2024-10-18T07:19:37.541Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T07:19:37.541Z] ---> Running in cd9857a830d9 [2024-10-18T07:19:37.541Z] Removing intermediate container cd9857a830d9 [2024-10-18T07:19:37.541Z] ---> 5aa01ca0266f [2024-10-18T07:19:37.541Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-18T07:19:37.799Z] ---> Running in a46af906c13a [2024-10-18T07:19:37.799Z] Removing intermediate container a46af906c13a [2024-10-18T07:19:37.799Z] ---> bef45455d3b0 [2024-10-18T07:19:37.799Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T07:19:37.799Z] ---> Running in 7b568d6b2bbb [2024-10-18T07:19:38.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T07:19:38.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T07:19:38.629Z] OK: 246 MiB in 54 packages [2024-10-18T07:19:38.805Z] Still waiting to schedule task [2024-10-18T07:19:38.806Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-23246’ is offline [2024-10-18T07:19:38.888Z] Removing intermediate container 7b568d6b2bbb [2024-10-18T07:19:38.888Z] ---> d16aa73a84a0 [2024-10-18T07:19:38.888Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-18T07:19:38.888Z] ---> Running in 7fd89f273d3c [2024-10-18T07:19:38.888Z] Removing intermediate container 7fd89f273d3c [2024-10-18T07:19:38.888Z] ---> a66d2a594644 [2024-10-18T07:19:38.888Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-18T07:19:39.147Z] ---> 6fd2cf0fb9a5 [2024-10-18T07:19:39.147Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T07:19:39.147Z] ---> Running in 640eb6e6c180 [2024-10-18T07:20:49.071Z] Removing intermediate container 640eb6e6c180 [2024-10-18T07:20:49.071Z] ---> 02e22539210b [2024-10-18T07:20:49.071Z] Step 12/13 : COPY . . [2024-10-18T07:20:49.071Z] ---> fb939783aa8d [2024-10-18T07:20:49.071Z] Step 13/13 : RUN ${MAKE} [2024-10-18T07:20:49.071Z] ---> Running in 937473846eee [2024-10-18T07:20:49.071Z] noop [2024-10-18T07:20:49.071Z] Removing intermediate container 937473846eee [2024-10-18T07:20:49.071Z] ---> 3839714a50ee [2024-10-18T07:20:49.071Z] Successfully built 3839714a50ee [2024-10-18T07:20:49.071Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:20:49.411Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T07:20:49.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:20:49.495Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:20:49.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T07:20:49.858Z] $ docker top b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:20:50.214Z] + go version [2024-10-18T07:20:50.214Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-18T07:20:50.224Z] $ docker stop --time=1 b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 [2024-10-18T07:20:51.471Z] $ docker rm -f --volumes b613864b89bd233c3fe5a2de0b429ce6d7459b26fcb544ea2664aaccc2068c48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:20:51.919Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T07:20:51.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:20:52.018Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:20:52.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T07:20:52.386Z] $ docker top bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:20:52.741Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2024-10-18T07:20:53.048Z] + make test [2024-10-18T07:20:53.048Z] go test ./... -coverprofile=coverage.out ./... [2024-10-18T07:20:54.951Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-18T07:21:13.026Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-18T07:21:13.027Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-18T07:21:14.923Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements [2024-10-18T07:21:15.490Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.355s coverage: 86.5% of statements [2024-10-18T07:21:25.459Z] go vet ./... [2024-10-18T07:21:32.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T07:21:32.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T07:21:32.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-18T07:21:32.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T07:21:32.047Z] $ docker stop --time=1 bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c [2024-10-18T07:21:36.872Z] $ docker rm -f --volumes bb66321d1dfab8975a7821bde09c32bae301a3d778e741165b4352db9b002c8c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T07:21:37.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T07:21:37.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-18T07:21:38.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-18T07:21:38.438Z] + ls -al . [2024-10-18T07:21:38.438Z] total 328 [2024-10-18T07:21:38.438Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 07:20 . [2024-10-18T07:21:38.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:18 .. [2024-10-18T07:21:38.438Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:21 .git [2024-10-18T07:21:38.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:19 .github [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 07:19 .gitignore [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 07:19 .golangci.yml [2024-10-18T07:21:38.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 07:19 .semver [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 07:19 Attribution.txt [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 07:19 CHANGELOG.md [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 07:19 Dockerfile [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 07:19 GOVERNANCE.md [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 07:19 Jenkinsfile [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 07:19 LICENSE [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 07:19 Makefile [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 07:19 OWNERS.md [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 07:19 README.md [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 07:19 VERSION [2024-10-18T07:21:38.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 07:19 bin [2024-10-18T07:21:38.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:19 cmd [2024-10-18T07:21:38.438Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 07:21 coverage.out [2024-10-18T07:21:38.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:19 doc [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 07:19 go.mod [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 07:19 go.sum [2024-10-18T07:21:38.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:19 internal [2024-10-18T07:21:38.438Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:21:38.767Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 --label arch=amd64 --label version=3.2.0-dev.23 . [2024-10-18T07:21:38.767Z] Sending build context to Docker daemon 36.84MB [2024-10-18T07:21:38.767Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T07:21:38.767Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T07:21:38.767Z] ---> 3839714a50ee [2024-10-18T07:21:38.767Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T07:21:39.712Z] ---> Running in ecbd923d003f [2024-10-18T07:21:39.712Z] Removing intermediate container ecbd923d003f [2024-10-18T07:21:39.712Z] ---> cb73b729a725 [2024-10-18T07:21:39.712Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T07:21:39.712Z] ---> Running in fda5ff33884f [2024-10-18T07:21:39.971Z] Removing intermediate container fda5ff33884f [2024-10-18T07:21:39.971Z] ---> f265cddd6123 [2024-10-18T07:21:39.971Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T07:21:39.971Z] ---> Running in c605d6c9b1a3 [2024-10-18T07:21:39.971Z] Removing intermediate container c605d6c9b1a3 [2024-10-18T07:21:39.971Z] ---> e40d878c936c [2024-10-18T07:21:39.971Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T07:21:39.971Z] ---> Running in 4bf5f174872d [2024-10-18T07:21:39.971Z] Removing intermediate container 4bf5f174872d [2024-10-18T07:21:39.971Z] ---> 6e7051bf0ff9 [2024-10-18T07:21:39.971Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-18T07:21:39.971Z] ---> Running in 128eadca68c1 [2024-10-18T07:21:40.232Z] Removing intermediate container 128eadca68c1 [2024-10-18T07:21:40.232Z] ---> c863bd34fd12 [2024-10-18T07:21:40.232Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T07:21:40.232Z] ---> Running in f3a9df3503dc [2024-10-18T07:21:40.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T07:21:40.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T07:21:40.752Z] OK: 246 MiB in 54 packages [2024-10-18T07:21:41.012Z] Removing intermediate container f3a9df3503dc [2024-10-18T07:21:41.012Z] ---> 6757756c8530 [2024-10-18T07:21:41.012Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-18T07:21:41.012Z] ---> Running in a8e8b910eb27 [2024-10-18T07:21:41.273Z] Removing intermediate container a8e8b910eb27 [2024-10-18T07:21:41.273Z] ---> a17b6e5bcce1 [2024-10-18T07:21:41.273Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-18T07:21:41.273Z] ---> b04d62897576 [2024-10-18T07:21:41.273Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T07:21:41.273Z] ---> Running in 9dd3b66528b1 [2024-10-18T07:21:42.211Z] Removing intermediate container 9dd3b66528b1 [2024-10-18T07:21:42.211Z] ---> 0a4592fa474f [2024-10-18T07:21:42.211Z] Step 12/27 : COPY . . [2024-10-18T07:21:43.148Z] ---> 4ca82e941735 [2024-10-18T07:21:43.148Z] Step 13/27 : RUN ${MAKE} [2024-10-18T07:21:43.148Z] ---> Running in 7dc6e3f1dcc4 [2024-10-18T07:21:43.717Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-18T07:21:52.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23247 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2024-10-18T07:21:52.628Z] Running in /w/workspace/device-onvif-camera/209 [Pipeline] { [Pipeline] checkout [2024-10-18T07:21:55.681Z] The recommended git tool is: git [2024-10-18T07:22:00.478Z] using credential edgex-jenkins-ssh [2024-10-18T07:22:00.503Z] Cloning the remote Git repository [2024-10-18T07:22:00.538Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-18T07:22:00.638Z] > git init /w/workspace/device-onvif-camera/209 # timeout=10 [2024-10-18T07:22:00.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-18T07:22:00.801Z] > git --version # timeout=10 [2024-10-18T07:22:00.821Z] > git --version # 'git version 2.25.1' [2024-10-18T07:22:00.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T07:22:00.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T07:22:03.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-18T07:22:03.565Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T07:22:04.513Z] Avoid second fetch [2024-10-18T07:22:04.513Z] Checking out Revision 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 (main) [2024-10-18T07:22:05.261Z] Commit message: "Merge pull request #467 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.47" [2024-10-18T07:22:04.522Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T07:22:04.591Z] > git checkout -f 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T07:22:09.976Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-18T07:22:09.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T07:22:09.976Z] Dload Upload Total Spent Left Speed [2024-10-18T07:22:09.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-10-18T07:22:10.312Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-18T07:22:10.641Z] + sudo tee /etc/docker/daemon.new [2024-10-18T07:22:10.641Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-18T07:22:10.641Z] { [2024-10-18T07:22:10.641Z] "registry-mirrors": [ [2024-10-18T07:22:10.641Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-18T07:22:10.641Z] ], [2024-10-18T07:22:10.641Z] "bip": "10.250.0.254/24", [2024-10-18T07:22:10.641Z] "hosts": [ [2024-10-18T07:22:10.641Z] "tcp://0.0.0.0:5555", [2024-10-18T07:22:10.641Z] "unix:///var/run/docker.sock" [2024-10-18T07:22:10.641Z] ], [2024-10-18T07:22:10.641Z] "mtu": 1458, [2024-10-18T07:22:10.641Z] "selinux-enabled": true, [2024-10-18T07:22:10.641Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-18T07:22:10.641Z] } [Pipeline] sh [2024-10-18T07:22:10.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-18T07:22:11.299Z] + sudo service docker restart [2024-10-18T07:22:22.466Z] Removing intermediate container 7dc6e3f1dcc4 [2024-10-18T07:22:22.466Z] ---> 5bdda244d3b2 [2024-10-18T07:22:22.466Z] Step 14/27 : FROM alpine:3.20 [2024-10-18T07:22:22.466Z] 3.20: Pulling from library/alpine [2024-10-18T07:22:22.466Z] 43c4264eed91: Already exists [2024-10-18T07:22:22.466Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T07:22:22.466Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T07:22:22.466Z] ---> 91ef0af61f39 [2024-10-18T07:22:22.466Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-18T07:22:22.466Z] ---> Running in 311b1611e48a [2024-10-18T07:22:22.466Z] Removing intermediate container 311b1611e48a [2024-10-18T07:22:22.466Z] ---> be2c003a70a4 [2024-10-18T07:22:22.466Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-18T07:22:22.466Z] ---> Running in 0f4973b045f9 [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-18T07:22:22.466Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T07:22:22.466Z] OK: 8 MiB in 15 packages [2024-10-18T07:22:22.466Z] Removing intermediate container 0f4973b045f9 [2024-10-18T07:22:22.466Z] ---> 360027552fc9 [2024-10-18T07:22:22.466Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T07:22:22.466Z] ---> Running in c9c1a73bf3c6 [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] Upgrading critical system libraries and apk-tools: [2024-10-18T07:22:22.466Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T07:22:22.466Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T07:22:22.466Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T07:22:22.466Z] OK: 8 MiB in 15 packages [2024-10-18T07:22:22.466Z] Removing intermediate container c9c1a73bf3c6 [2024-10-18T07:22:22.466Z] ---> 32c00580cd68 [2024-10-18T07:22:22.466Z] Step 18/27 : WORKDIR / [2024-10-18T07:22:22.466Z] ---> Running in a366d1641d64 [2024-10-18T07:22:22.466Z] Removing intermediate container a366d1641d64 [2024-10-18T07:22:22.466Z] ---> 2bb068825dfb [2024-10-18T07:22:22.466Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-18T07:22:22.466Z] ---> 35eb85bf743e [2024-10-18T07:22:22.466Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-18T07:22:22.466Z] ---> 05e7596d97ce [2024-10-18T07:22:22.466Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-18T07:22:22.466Z] ---> 8106d4fd4719 [2024-10-18T07:22:22.466Z] Step 22/27 : EXPOSE 59984 [2024-10-18T07:22:22.466Z] ---> Running in b75a0db60cc0 [2024-10-18T07:22:22.466Z] Removing intermediate container b75a0db60cc0 [2024-10-18T07:22:22.466Z] ---> 939e066784eb [2024-10-18T07:22:22.466Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-18T07:22:22.466Z] ---> Running in 867e8b618375 [2024-10-18T07:22:22.466Z] Removing intermediate container 867e8b618375 [2024-10-18T07:22:22.466Z] ---> adc92f92877d [2024-10-18T07:22:22.466Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T07:22:22.466Z] ---> Running in 2550c70d2fc0 [2024-10-18T07:22:22.725Z] Removing intermediate container 2550c70d2fc0 [2024-10-18T07:22:22.725Z] ---> ed20b3e17a6c [2024-10-18T07:22:22.725Z] Step 25/27 : LABEL arch=amd64 [2024-10-18T07:22:22.725Z] ---> Running in 9cbea8b6bdc0 [2024-10-18T07:22:22.725Z] Removing intermediate container 9cbea8b6bdc0 [2024-10-18T07:22:22.725Z] ---> 4006ebce7d3b [2024-10-18T07:22:22.725Z] Step 26/27 : LABEL git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:22:22.725Z] ---> Running in fcada2f78618 [2024-10-18T07:22:22.725Z] Removing intermediate container fcada2f78618 [2024-10-18T07:22:22.726Z] ---> 20d0bbc7ba8b [2024-10-18T07:22:22.726Z] Step 27/27 : LABEL version=3.2.0-dev.23 [2024-10-18T07:22:22.726Z] ---> Running in 60a7e7b225c1 [2024-10-18T07:22:22.726Z] Removing intermediate container 60a7e7b225c1 [2024-10-18T07:22:22.726Z] ---> 636ed08b0a22 [2024-10-18T07:22:22.726Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T07:22:22.986Z] Successfully built 636ed08b0a22 [2024-10-18T07:22:22.986Z] 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 [2024-10-18T07:22:23.123Z] provisioning config files... [2024-10-18T07:22:23.132Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2437704402244872424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:22:23.430Z] ---> ****-login.sh [2024-10-18T07:22:23.430Z] nexus3.edgexfoundry.org:10001 [2024-10-18T07:22:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:23.431Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:23.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:23.431Z] [2024-10-18T07:22:23.431Z] Login Succeeded [2024-10-18T07:22:23.431Z] nexus3.edgexfoundry.org:10002 [2024-10-18T07:22:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:23.431Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:23.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:23.431Z] [2024-10-18T07:22:23.431Z] Login Succeeded [2024-10-18T07:22:23.431Z] nexus3.edgexfoundry.org:10003 [2024-10-18T07:22:23.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:23.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:23.692Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:23.692Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:23.692Z] [2024-10-18T07:22:23.692Z] Login Succeeded [2024-10-18T07:22:23.692Z] nexus3.edgexfoundry.org:10004 [2024-10-18T07:22:23.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:23.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:23.693Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:23.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:23.693Z] [2024-10-18T07:22:23.693Z] Login Succeeded [2024-10-18T07:22:23.693Z] ****.io [2024-10-18T07:22:23.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:23.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:23.952Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:23.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:23.952Z] [2024-10-18T07:22:23.952Z] Login Succeeded [2024-10-18T07:22:23.952Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T07:22:23.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-18T07:22:24.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:22:24.032Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2024-10-18T07:22:24.032Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:22:24.032Z] latest [2024-10-18T07:22:24.032Z] 3.2.0-dev.23 [2024-10-18T07:22:24.032Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:22:24.032Z] main [2024-10-18T07:22:24.032Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:25.780Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:26.106Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:22:26.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-10-18T07:22:26.106Z] 370740e437a8: Preparing [2024-10-18T07:22:26.106Z] 16d2d80b3ecd: Preparing [2024-10-18T07:22:26.106Z] 9cce6d0fc301: Preparing [2024-10-18T07:22:26.106Z] a3cb51c7d595: Preparing [2024-10-18T07:22:26.106Z] aaa8471266a2: Preparing [2024-10-18T07:22:26.106Z] 63ca1fbb43ae: Preparing [2024-10-18T07:22:26.106Z] 63ca1fbb43ae: Waiting [2024-10-18T07:22:26.106Z] aaa8471266a2: Pushed [2024-10-18T07:22:26.106Z] a3cb51c7d595: Pushed [2024-10-18T07:22:26.106Z] 370740e437a8: Pushed [2024-10-18T07:22:26.106Z] 63ca1fbb43ae: Layer already exists [2024-10-18T07:22:26.106Z] 16d2d80b3ecd: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:22:29.562Z] provisioning config files... [2024-10-18T07:22:29.589Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/209@tmp/config3604376887294865327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:22:30.077Z] ---> ****-login.sh [2024-10-18T07:22:30.077Z] nexus3.edgexfoundry.org:10001 [2024-10-18T07:22:30.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:30.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:30.661Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:30.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:30.661Z] [2024-10-18T07:22:30.661Z] Login Succeeded [2024-10-18T07:22:30.661Z] nexus3.edgexfoundry.org:10002 [2024-10-18T07:22:30.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:30.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:30.929Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:30.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:30.930Z] [2024-10-18T07:22:30.930Z] Login Succeeded [2024-10-18T07:22:31.200Z] nexus3.edgexfoundry.org:10003 [2024-10-18T07:22:31.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:31.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:31.469Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:31.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:31.469Z] [2024-10-18T07:22:31.477Z] 9cce6d0fc301: Pushed [2024-10-18T07:22:31.477Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:31.740Z] Login Succeeded [2024-10-18T07:22:31.740Z] nexus3.edgexfoundry.org:10004 [2024-10-18T07:22:31.807Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:32.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:32.134Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2024-10-18T07:22:32.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-10-18T07:22:32.134Z] 370740e437a8: Preparing [2024-10-18T07:22:32.134Z] 16d2d80b3ecd: Preparing [2024-10-18T07:22:32.134Z] 9cce6d0fc301: Preparing [2024-10-18T07:22:32.134Z] a3cb51c7d595: Preparing [2024-10-18T07:22:32.134Z] aaa8471266a2: Preparing [2024-10-18T07:22:32.134Z] 63ca1fbb43ae: Preparing [2024-10-18T07:22:32.134Z] 16d2d80b3ecd: Layer already exists [2024-10-18T07:22:32.134Z] aaa8471266a2: Layer already exists [2024-10-18T07:22:32.134Z] 370740e437a8: Layer already exists [2024-10-18T07:22:32.134Z] 9cce6d0fc301: Layer already exists [2024-10-18T07:22:32.134Z] a3cb51c7d595: Layer already exists [2024-10-18T07:22:32.134Z] 63ca1fbb43ae: Layer already exists [2024-10-18T07:22:32.134Z] latest: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:32.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:32.275Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:32.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:32.275Z] [2024-10-18T07:22:32.275Z] Login Succeeded [2024-10-18T07:22:32.275Z] ****.io [2024-10-18T07:22:32.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:22:32.460Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:32.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:22:32.542Z] Configure a credential helper to remove this warning. See [2024-10-18T07:22:32.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:22:32.542Z] [2024-10-18T07:22:32.542Z] Login Succeeded [2024-10-18T07:22:32.542Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T07:22:32.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-18T07:22:32.783Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 [2024-10-18T07:22:32.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-10-18T07:22:32.783Z] 370740e437a8: Preparing [2024-10-18T07:22:32.783Z] 16d2d80b3ecd: Preparing [2024-10-18T07:22:32.783Z] 9cce6d0fc301: Preparing [2024-10-18T07:22:32.783Z] a3cb51c7d595: Preparing [2024-10-18T07:22:32.783Z] aaa8471266a2: Preparing [2024-10-18T07:22:32.783Z] 63ca1fbb43ae: Preparing [2024-10-18T07:22:32.783Z] 63ca1fbb43ae: Waiting [2024-10-18T07:22:32.783Z] 370740e437a8: Layer already exists [2024-10-18T07:22:32.783Z] 16d2d80b3ecd: Layer already exists [2024-10-18T07:22:32.783Z] aaa8471266a2: Layer already exists [2024-10-18T07:22:32.783Z] 9cce6d0fc301: Layer already exists [2024-10-18T07:22:32.783Z] a3cb51c7d595: Layer already exists [2024-10-18T07:22:32.783Z] 63ca1fbb43ae: Layer already exists [2024-10-18T07:22:32.783Z] 3.2.0-dev.23: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2024-10-18T07:22:32.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:22:32.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:22:32.904Z] ========================================================= [2024-10-18T07:22:32.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-18T07:22:32.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:33.107Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:33.270Z] + 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 . [2024-10-18T07:22:33.433Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:22:33.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-10-18T07:22:33.433Z] 370740e437a8: Preparing [2024-10-18T07:22:33.433Z] 16d2d80b3ecd: Preparing [2024-10-18T07:22:33.433Z] 9cce6d0fc301: Preparing [2024-10-18T07:22:33.433Z] a3cb51c7d595: Preparing [2024-10-18T07:22:33.433Z] aaa8471266a2: Preparing [2024-10-18T07:22:33.433Z] 63ca1fbb43ae: Preparing [2024-10-18T07:22:33.433Z] 63ca1fbb43ae: Waiting [2024-10-18T07:22:33.433Z] 9cce6d0fc301: Layer already exists [2024-10-18T07:22:33.433Z] 16d2d80b3ecd: Layer already exists [2024-10-18T07:22:33.433Z] a3cb51c7d595: Layer already exists [2024-10-18T07:22:33.433Z] aaa8471266a2: Layer already exists [2024-10-18T07:22:33.433Z] 370740e437a8: Layer already exists [2024-10-18T07:22:33.433Z] 63ca1fbb43ae: Layer already exists [2024-10-18T07:22:33.433Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:33.765Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:33.856Z] Sending build context to Docker daemon 21.79MB [2024-10-18T07:22:33.856Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T07:22:33.856Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-18T07:22:34.093Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2024-10-18T07:22:34.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-10-18T07:22:34.093Z] 370740e437a8: Preparing [2024-10-18T07:22:34.093Z] 16d2d80b3ecd: Preparing [2024-10-18T07:22:34.093Z] 9cce6d0fc301: Preparing [2024-10-18T07:22:34.093Z] a3cb51c7d595: Preparing [2024-10-18T07:22:34.093Z] aaa8471266a2: Preparing [2024-10-18T07:22:34.093Z] 63ca1fbb43ae: Preparing [2024-10-18T07:22:34.093Z] 63ca1fbb43ae: Waiting [2024-10-18T07:22:34.093Z] 9cce6d0fc301: Layer already exists [2024-10-18T07:22:34.093Z] 370740e437a8: Layer already exists [2024-10-18T07:22:34.093Z] 16d2d80b3ecd: Layer already exists [2024-10-18T07:22:34.093Z] a3cb51c7d595: Layer already exists [2024-10-18T07:22:34.093Z] aaa8471266a2: Layer already exists [2024-10-18T07:22:34.093Z] 63ca1fbb43ae: Layer already exists [2024-10-18T07:22:34.093Z] main: digest: sha256:e873bc39e171bc70d6d9103e5f8159c2b804e4e967a16aa135eaa82b4553126d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-10-18T07:22:34.128Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-18T07:22:34.128Z] cf04c63912e1: Pulling fs layer [2024-10-18T07:22:34.128Z] 55b35a11ae5e: Pulling fs layer [2024-10-18T07:22:34.128Z] a37a00ec5f00: Pulling fs layer [2024-10-18T07:22:34.128Z] 50b3750afda1: Pulling fs layer [2024-10-18T07:22:34.128Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T07:22:34.128Z] 80978eb59214: Pulling fs layer [2024-10-18T07:22:34.128Z] c9f46d7d2bd2: Pulling fs layer [2024-10-18T07:22:34.128Z] c5a475d317c9: Pulling fs layer [2024-10-18T07:22:34.128Z] 50b3750afda1: Waiting [2024-10-18T07:22:34.128Z] 4f4fb700ef54: Waiting [2024-10-18T07:22:34.128Z] 80978eb59214: Waiting [2024-10-18T07:22:34.128Z] c9f46d7d2bd2: Waiting [2024-10-18T07:22:34.128Z] c5a475d317c9: Waiting [2024-10-18T07:22:34.128Z] 55b35a11ae5e: Verifying Checksum [2024-10-18T07:22:34.128Z] 55b35a11ae5e: Download complete [2024-10-18T07:22:34.128Z] 50b3750afda1: Verifying Checksum [2024-10-18T07:22:34.128Z] 50b3750afda1: Download complete [2024-10-18T07:22:34.128Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T07:22:34.128Z] 4f4fb700ef54: Download complete [2024-10-18T07:22:34.128Z] 80978eb59214: Verifying Checksum [2024-10-18T07:22:34.128Z] 80978eb59214: Download complete [2024-10-18T07:22:34.128Z] cf04c63912e1: Verifying Checksum [2024-10-18T07:22:34.128Z] cf04c63912e1: Download complete [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-18T07:22:34.167Z] ===================================================== [Pipeline] echo [2024-10-18T07:22:34.176Z] taggedImages: [2024-10-18T07:22:34.176Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:22:34.176Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2024-10-18T07:22:34.176Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.23 [2024-10-18T07:22:34.176Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:22:34.176Z] - 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 [2024-10-18T07:22:34.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T07:22:34.579Z] [2024-10-18T07:22:34.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:22:34.722Z] c5a475d317c9: Verifying Checksum [2024-10-18T07:22:34.722Z] c5a475d317c9: Download complete [2024-10-18T07:22:34.880Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T07:22:34.880Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-18T07:22:34.880Z] 5eb5b503b376: Pulling fs layer [2024-10-18T07:22:34.880Z] 5c69ac0246d0: Pulling fs layer [2024-10-18T07:22:34.880Z] ec43610c2a17: Pulling fs layer [2024-10-18T07:22:34.880Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-18T07:22:34.880Z] 33b1e0a273af: Pulling fs layer [2024-10-18T07:22:34.880Z] 5d3b04190fa2: Pulling fs layer [2024-10-18T07:22:34.880Z] 2f39f015ded8: Pulling fs layer [2024-10-18T07:22:34.880Z] 3a2ae6a8a46f: Waiting [2024-10-18T07:22:34.880Z] 33b1e0a273af: Waiting [2024-10-18T07:22:34.880Z] 5d3b04190fa2: Waiting [2024-10-18T07:22:34.880Z] 2f39f015ded8: Waiting [2024-10-18T07:22:34.880Z] 5c69ac0246d0: Verifying Checksum [2024-10-18T07:22:34.880Z] 5c69ac0246d0: Download complete [2024-10-18T07:22:34.880Z] 3a2ae6a8a46f: Download complete [2024-10-18T07:22:34.880Z] 33b1e0a273af: Verifying Checksum [2024-10-18T07:22:34.880Z] 33b1e0a273af: Download complete [2024-10-18T07:22:34.880Z] 5d3b04190fa2: Verifying Checksum [2024-10-18T07:22:34.880Z] 5d3b04190fa2: Download complete [2024-10-18T07:22:34.880Z] ec43610c2a17: Verifying Checksum [2024-10-18T07:22:34.880Z] ec43610c2a17: Download complete [2024-10-18T07:22:35.138Z] 5eb5b503b376: Verifying Checksum [2024-10-18T07:22:35.138Z] 5eb5b503b376: Download complete [2024-10-18T07:22:35.316Z] cf04c63912e1: Pull complete [2024-10-18T07:22:35.707Z] 2f39f015ded8: Download complete [2024-10-18T07:22:35.902Z] 55b35a11ae5e: Pull complete [2024-10-18T07:22:36.169Z] a37a00ec5f00: Verifying Checksum [2024-10-18T07:22:36.169Z] a37a00ec5f00: Download complete [2024-10-18T07:22:36.275Z] 5eb5b503b376: Pull complete [2024-10-18T07:22:36.275Z] 5c69ac0246d0: Pull complete [2024-10-18T07:22:36.750Z] c9f46d7d2bd2: Verifying Checksum [2024-10-18T07:22:36.750Z] c9f46d7d2bd2: Download complete [2024-10-18T07:22:36.841Z] ec43610c2a17: Pull complete [2024-10-18T07:22:36.841Z] 3a2ae6a8a46f: Pull complete [2024-10-18T07:22:37.100Z] 33b1e0a273af: Pull complete [2024-10-18T07:22:37.100Z] 5d3b04190fa2: Pull complete [2024-10-18T07:22:41.286Z] 2f39f015ded8: Pull complete [2024-10-18T07:22:41.286Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-18T07:22:41.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T07:22:41.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:22:41.390Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:22:41.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T07:22:47.351Z] $ docker top 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:22:47.741Z] ---> job-cost.sh [2024-10-18T07:22:47.741Z] lf-activate-venv: SKIPPING [2024-10-18T07:22:47.741Z] INFO: No Stack... [2024-10-18T07:22:48.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T07:22:48.567Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T07:22:48.853Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2024-10-18T07:22:48.853Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T07:22:48.866Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [2024-10-18T07:22:48.875Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] did not exist. Created. [2024-10-18T07:22:48.881Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T07:22:49.189Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-18T07:22:49.226Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T07:22:49.234Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T07:22:49.257Z] $ docker stop --time=1 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb [2024-10-18T07:22:50.409Z] $ docker rm -f --volumes 3b141944645f1a1f67786a0933d8df81c2bf2ab4732bb48444fc4acf4ec362cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-18T07:22:51.733Z] a37a00ec5f00: Pull complete [2024-10-18T07:22:51.734Z] 50b3750afda1: Pull complete [2024-10-18T07:22:51.734Z] 4f4fb700ef54: Pull complete [2024-10-18T07:22:51.734Z] 80978eb59214: Pull complete [2024-10-18T07:22:58.399Z] c9f46d7d2bd2: Pull complete [2024-10-18T07:23:00.341Z] c5a475d317c9: Pull complete [2024-10-18T07:23:00.341Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-18T07:23:00.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-18T07:23:00.341Z] ---> be29e6b0f0d4 [2024-10-18T07:23:00.341Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-18T07:23:01.751Z] ---> Running in e2432803335b [2024-10-18T07:23:02.331Z] Removing intermediate container e2432803335b [2024-10-18T07:23:02.331Z] ---> d7132010a406 [2024-10-18T07:23:02.331Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T07:23:02.331Z] ---> Running in 098d87198490 [2024-10-18T07:23:02.598Z] Removing intermediate container 098d87198490 [2024-10-18T07:23:02.598Z] ---> bdb6aab68173 [2024-10-18T07:23:02.598Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T07:23:02.598Z] ---> Running in d75651d065bd [2024-10-18T07:23:02.865Z] Removing intermediate container d75651d065bd [2024-10-18T07:23:02.865Z] ---> 3b0bf489a1bc [2024-10-18T07:23:02.865Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T07:23:03.132Z] ---> Running in 4d9c2dd07469 [2024-10-18T07:23:03.400Z] Removing intermediate container 4d9c2dd07469 [2024-10-18T07:23:03.400Z] ---> 9d4354ae8ee3 [2024-10-18T07:23:03.400Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-18T07:23:03.400Z] ---> Running in 011156fc8cdc [2024-10-18T07:23:03.673Z] Removing intermediate container 011156fc8cdc [2024-10-18T07:23:03.673Z] ---> 27b843effcfd [2024-10-18T07:23:03.673Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T07:23:03.673Z] ---> Running in f76023fe372c [2024-10-18T07:23:05.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T07:23:05.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T07:23:06.766Z] OK: 238 MiB in 54 packages [2024-10-18T07:23:07.352Z] Removing intermediate container f76023fe372c [2024-10-18T07:23:07.352Z] ---> 799283e44267 [2024-10-18T07:23:07.352Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-18T07:23:07.628Z] ---> Running in 9f74b3edfab6 [2024-10-18T07:23:07.898Z] Removing intermediate container 9f74b3edfab6 [2024-10-18T07:23:07.898Z] ---> 3d0e2180f624 [2024-10-18T07:23:07.898Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-18T07:23:08.491Z] ---> be30ae86f299 [2024-10-18T07:23:08.491Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T07:23:08.491Z] ---> Running in afb5f7a02611 [2024-10-18T07:25:00.152Z] Removing intermediate container afb5f7a02611 [2024-10-18T07:25:00.152Z] ---> c553ea11dd5c [2024-10-18T07:25:00.152Z] Step 12/13 : COPY . . [2024-10-18T07:25:00.152Z] ---> 9ebea333277b [2024-10-18T07:25:00.152Z] Step 13/13 : RUN ${MAKE} [2024-10-18T07:25:00.152Z] ---> Running in e926f0c31aa4 [2024-10-18T07:25:00.152Z] noop [2024-10-18T07:25:00.152Z] Removing intermediate container e926f0c31aa4 [2024-10-18T07:25:00.152Z] ---> 98036fb76682 [2024-10-18T07:25:00.152Z] Successfully built 98036fb76682 [2024-10-18T07:25:00.152Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:25:00.523Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T07:25:00.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:25:00.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container [2024-10-18T07:25:00.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-18T07:25:03.009Z] $ docker top 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:25:03.851Z] + go version [2024-10-18T07:25:03.851Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-18T07:25:03.880Z] $ docker stop --time=1 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d [2024-10-18T07:25:05.544Z] $ docker rm -f --volumes 02e6128285d8ca68617c4cab460acb868047ce82eb230521acee85b8c40d100d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:25:06.143Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T07:25:06.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:25:06.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container [2024-10-18T07:25:06.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-18T07:25:07.595Z] $ docker top 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:25:09.039Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/209 [Pipeline] fileExists [Pipeline] sh [2024-10-18T07:25:09.684Z] + make test [2024-10-18T07:25:09.684Z] go test ./... -coverprofile=coverage.out ./... [2024-10-18T07:25:15.724Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-18T07:29:24.498Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-18T07:29:24.498Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-18T07:29:24.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.176s coverage: 31.4% of statements [2024-10-18T07:29:46.561Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.827s coverage: 86.5% of statements [2024-10-18T07:29:46.561Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-18T07:29:46.561Z] go vet ./... [2024-10-18T07:30:42.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T07:30:42.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T07:30:42.942Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-18T07:30:42.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T07:30:42.989Z] $ docker stop --time=1 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 [2024-10-18T07:30:44.792Z] $ docker rm -f --volumes 25859b04456063256484593bf80e75636705a0a66e4b39eecba91c7f805156a4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T07:30:46.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T07:30:46.339Z] Warning: overwriting stash ‘coverage-report’ [2024-10-18T07:30:46.868Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T07:30:47.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-18T07:30:47.754Z] + ls -al . [2024-10-18T07:30:47.754Z] total 324 [2024-10-18T07:30:47.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:25 . [2024-10-18T07:30:47.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 .. [2024-10-18T07:30:47.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 07:22 .git [2024-10-18T07:30:47.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:22 .github [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 07:22 .gitignore [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 07:22 .golangci.yml [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 07:22 Attribution.txt [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 07:22 CHANGELOG.md [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 07:22 Dockerfile [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 07:22 GOVERNANCE.md [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 07:22 Jenkinsfile [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 07:22 LICENSE [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 07:22 Makefile [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 07:22 OWNERS.md [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 07:22 README.md [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 18 07:19 VERSION [2024-10-18T07:30:47.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 07:22 bin [2024-10-18T07:30:47.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 07:22 cmd [2024-10-18T07:30:47.754Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 07:29 coverage.out [2024-10-18T07:30:47.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 doc [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 07:22 go.mod [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 07:22 go.sum [2024-10-18T07:30:47.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 07:22 internal [2024-10-18T07:30:47.754Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:30:48.091Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 --label arch=arm64 --label version=3.2.0-dev.23 . [2024-10-18T07:30:48.671Z] Sending build context to Docker daemon 21.88MB [2024-10-18T07:30:48.671Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T07:30:48.671Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T07:30:48.671Z] ---> 98036fb76682 [2024-10-18T07:30:48.671Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T07:30:48.936Z] ---> Running in 1c5b740c2c59 [2024-10-18T07:30:49.205Z] Removing intermediate container 1c5b740c2c59 [2024-10-18T07:30:49.205Z] ---> 69ffbc1b0f93 [2024-10-18T07:30:49.205Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T07:30:49.205Z] ---> Running in da681b24cd54 [2024-10-18T07:30:49.480Z] Removing intermediate container da681b24cd54 [2024-10-18T07:30:49.480Z] ---> dc219da8c3ec [2024-10-18T07:30:49.480Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T07:30:49.747Z] ---> Running in 03b411fad929 [2024-10-18T07:30:50.014Z] Removing intermediate container 03b411fad929 [2024-10-18T07:30:50.014Z] ---> de474b2bbfbe [2024-10-18T07:30:50.014Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T07:30:50.014Z] ---> Running in 0dfe9017e8b4 [2024-10-18T07:30:50.282Z] Removing intermediate container 0dfe9017e8b4 [2024-10-18T07:30:50.282Z] ---> b84281125b7e [2024-10-18T07:30:50.282Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-18T07:30:50.282Z] ---> Running in d4576c1033ac [2024-10-18T07:30:50.868Z] Removing intermediate container d4576c1033ac [2024-10-18T07:30:50.868Z] ---> 4e702e03ca69 [2024-10-18T07:30:50.868Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T07:30:50.868Z] ---> Running in 73f338e6dcff [2024-10-18T07:30:51.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T07:30:52.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T07:30:54.066Z] OK: 238 MiB in 54 packages [2024-10-18T07:30:54.653Z] Removing intermediate container 73f338e6dcff [2024-10-18T07:30:54.653Z] ---> db58a9796647 [2024-10-18T07:30:54.653Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-18T07:30:54.920Z] ---> Running in d882b122fac7 [2024-10-18T07:30:55.187Z] Removing intermediate container d882b122fac7 [2024-10-18T07:30:55.187Z] ---> 310f012a1448 [2024-10-18T07:30:55.187Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-18T07:30:55.769Z] ---> 705e66dd86cb [2024-10-18T07:30:55.769Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T07:30:55.769Z] ---> Running in 65048eec3daf [2024-10-18T07:30:58.353Z] Removing intermediate container 65048eec3daf [2024-10-18T07:30:58.353Z] ---> af0d5c29c1ab [2024-10-18T07:30:58.353Z] Step 12/27 : COPY . . [2024-10-18T07:30:59.776Z] ---> bc29b716d4ea [2024-10-18T07:30:59.776Z] Step 13/27 : RUN ${MAKE} [2024-10-18T07:31:00.043Z] ---> Running in 79a289647357 [2024-10-18T07:31:01.001Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-18T07:34:37.917Z] Removing intermediate container 79a289647357 [2024-10-18T07:34:37.917Z] ---> f65a07223268 [2024-10-18T07:34:37.917Z] Step 14/27 : FROM alpine:3.20 [2024-10-18T07:34:37.917Z] 3.20: Pulling from library/alpine [2024-10-18T07:34:37.917Z] cf04c63912e1: Already exists [2024-10-18T07:34:37.917Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T07:34:37.917Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T07:34:37.917Z] ---> c157a85ed455 [2024-10-18T07:34:37.917Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-18T07:34:37.917Z] ---> Running in eb07333df461 [2024-10-18T07:34:37.917Z] Removing intermediate container eb07333df461 [2024-10-18T07:34:37.917Z] ---> 1d1b1304cee8 [2024-10-18T07:34:37.917Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-18T07:34:37.917Z] ---> Running in c2ecac3e6f19 [2024-10-18T07:34:38.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:38.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:39.857Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-18T07:34:39.857Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T07:34:39.857Z] OK: 9 MiB in 15 packages [2024-10-18T07:34:40.816Z] Removing intermediate container c2ecac3e6f19 [2024-10-18T07:34:40.816Z] ---> 108a58877504 [2024-10-18T07:34:40.816Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T07:34:40.816Z] ---> Running in 843332dab2e5 [2024-10-18T07:34:41.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:42.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:43.445Z] Upgrading critical system libraries and apk-tools: [2024-10-18T07:34:43.445Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T07:34:43.445Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T07:34:43.445Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T07:34:43.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:43.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T07:34:45.063Z] OK: 9 MiB in 15 packages [2024-10-18T07:34:45.644Z] Removing intermediate container 843332dab2e5 [2024-10-18T07:34:45.644Z] ---> 1a6be6a28e3e [2024-10-18T07:34:45.644Z] Step 18/27 : WORKDIR / [2024-10-18T07:34:45.910Z] ---> Running in 2c9736b14f4d [2024-10-18T07:34:46.175Z] Removing intermediate container 2c9736b14f4d [2024-10-18T07:34:46.175Z] ---> d0b14a190d73 [2024-10-18T07:34:46.175Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-18T07:34:48.743Z] ---> 73f5ea3c7621 [2024-10-18T07:34:48.743Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-18T07:34:48.743Z] ---> 7e785d2da8bc [2024-10-18T07:34:48.743Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-18T07:34:49.322Z] ---> c85aa8c1c9a2 [2024-10-18T07:34:49.322Z] Step 22/27 : EXPOSE 59984 [2024-10-18T07:34:49.322Z] ---> Running in ff3dd3a686b6 [2024-10-18T07:34:49.587Z] Removing intermediate container ff3dd3a686b6 [2024-10-18T07:34:49.587Z] ---> 2ea91ea46aa7 [2024-10-18T07:34:49.587Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-18T07:34:49.587Z] ---> Running in f9b38d95d581 [2024-10-18T07:34:49.851Z] Removing intermediate container f9b38d95d581 [2024-10-18T07:34:49.851Z] ---> 0637288510ac [2024-10-18T07:34:49.851Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T07:34:50.115Z] ---> Running in ba9842ab9771 [2024-10-18T07:34:50.379Z] Removing intermediate container ba9842ab9771 [2024-10-18T07:34:50.379Z] ---> 12b05ff0750d [2024-10-18T07:34:50.379Z] Step 25/27 : LABEL arch=arm64 [2024-10-18T07:34:50.379Z] ---> Running in 7f6d4cfeb5bf [2024-10-18T07:34:50.644Z] Removing intermediate container 7f6d4cfeb5bf [2024-10-18T07:34:50.644Z] ---> 4865ecc23e36 [2024-10-18T07:34:50.644Z] Step 26/27 : LABEL git_sha=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:34:50.644Z] ---> Running in c9e22e2f1e0e [2024-10-18T07:34:50.908Z] Removing intermediate container c9e22e2f1e0e [2024-10-18T07:34:50.908Z] ---> 58f1f7cf5ab3 [2024-10-18T07:34:50.908Z] Step 27/27 : LABEL version=3.2.0-dev.23 [2024-10-18T07:34:50.908Z] ---> Running in 3d3165918cd5 [2024-10-18T07:34:51.172Z] Removing intermediate container 3d3165918cd5 [2024-10-18T07:34:51.172Z] ---> 9121bb5fb45d [2024-10-18T07:34:51.172Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T07:34:51.436Z] Successfully built 9121bb5fb45d [2024-10-18T07:34:51.436Z] 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 [2024-10-18T07:34:51.590Z] provisioning config files... [2024-10-18T07:34:51.607Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/209@tmp/config216498324583649380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:34:51.956Z] ---> ****-login.sh [2024-10-18T07:34:51.956Z] nexus3.edgexfoundry.org:10001 [2024-10-18T07:34:51.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:34:52.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:34:52.282Z] Configure a credential helper to remove this warning. See [2024-10-18T07:34:52.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:34:52.282Z] [2024-10-18T07:34:52.282Z] Login Succeeded [2024-10-18T07:34:52.282Z] nexus3.edgexfoundry.org:10002 [2024-10-18T07:34:52.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:34:53.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:34:53.580Z] Configure a credential helper to remove this warning. See [2024-10-18T07:34:53.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:34:53.580Z] [2024-10-18T07:34:53.580Z] Login Succeeded [2024-10-18T07:34:53.580Z] nexus3.edgexfoundry.org:10003 [2024-10-18T07:34:53.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:34:53.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:34:53.845Z] Configure a credential helper to remove this warning. See [2024-10-18T07:34:53.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:34:53.845Z] [2024-10-18T07:34:53.845Z] Login Succeeded [2024-10-18T07:34:53.845Z] nexus3.edgexfoundry.org:10004 [2024-10-18T07:34:54.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:34:54.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:34:54.109Z] Configure a credential helper to remove this warning. See [2024-10-18T07:34:54.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:34:54.109Z] [2024-10-18T07:34:54.109Z] Login Succeeded [2024-10-18T07:34:54.109Z] ****.io [2024-10-18T07:34:54.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T07:34:54.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T07:34:54.638Z] Configure a credential helper to remove this warning. See [2024-10-18T07:34:54.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T07:34:54.638Z] [2024-10-18T07:34:54.638Z] Login Succeeded [2024-10-18T07:34:54.638Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T07:34:54.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-18T07:34:54.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T07:34:54.718Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2024-10-18T07:34:54.718Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:34:54.718Z] latest [2024-10-18T07:34:54.718Z] 3.2.0-dev.23 [2024-10-18T07:34:54.718Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:34:54.718Z] main [2024-10-18T07:34:54.718Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:34:55.069Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:34:55.410Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:34:55.410Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-10-18T07:34:55.410Z] 68426573f278: Preparing [2024-10-18T07:34:55.410Z] 21ff49b6e875: Preparing [2024-10-18T07:34:55.410Z] e6f2eaa5d42b: Preparing [2024-10-18T07:34:55.410Z] 7158230c60ce: Preparing [2024-10-18T07:34:55.410Z] 174331cd719c: Preparing [2024-10-18T07:34:55.410Z] 16113d51b718: Preparing [2024-10-18T07:34:55.410Z] 16113d51b718: Waiting [2024-10-18T07:34:55.675Z] 68426573f278: Pushed [2024-10-18T07:34:55.675Z] 174331cd719c: Pushed [2024-10-18T07:34:55.675Z] 21ff49b6e875: Pushed [2024-10-18T07:34:55.675Z] 16113d51b718: Layer already exists [2024-10-18T07:34:55.675Z] 7158230c60ce: Pushed [2024-10-18T07:35:10.519Z] e6f2eaa5d42b: Pushed [2024-10-18T07:35:10.519Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:10.887Z] + 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 [2024-10-18T07:35:11.235Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2024-10-18T07:35:11.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-10-18T07:35:11.235Z] 68426573f278: Preparing [2024-10-18T07:35:11.235Z] 21ff49b6e875: Preparing [2024-10-18T07:35:11.235Z] e6f2eaa5d42b: Preparing [2024-10-18T07:35:11.235Z] 7158230c60ce: Preparing [2024-10-18T07:35:11.235Z] 174331cd719c: Preparing [2024-10-18T07:35:11.235Z] 16113d51b718: Preparing [2024-10-18T07:35:11.235Z] 16113d51b718: Waiting [2024-10-18T07:35:11.235Z] e6f2eaa5d42b: Layer already exists [2024-10-18T07:35:11.235Z] 68426573f278: Layer already exists [2024-10-18T07:35:11.235Z] 7158230c60ce: Layer already exists [2024-10-18T07:35:11.235Z] 174331cd719c: Layer already exists [2024-10-18T07:35:11.235Z] 21ff49b6e875: Layer already exists [2024-10-18T07:35:11.235Z] 16113d51b718: Layer already exists [2024-10-18T07:35:11.502Z] latest: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:11.863Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:12.230Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 [2024-10-18T07:35:12.230Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-10-18T07:35:12.230Z] 68426573f278: Preparing [2024-10-18T07:35:12.230Z] 21ff49b6e875: Preparing [2024-10-18T07:35:12.230Z] e6f2eaa5d42b: Preparing [2024-10-18T07:35:12.230Z] 7158230c60ce: Preparing [2024-10-18T07:35:12.230Z] 174331cd719c: Preparing [2024-10-18T07:35:12.230Z] 16113d51b718: Preparing [2024-10-18T07:35:12.230Z] 16113d51b718: Waiting [2024-10-18T07:35:12.230Z] 21ff49b6e875: Layer already exists [2024-10-18T07:35:12.230Z] 7158230c60ce: Layer already exists [2024-10-18T07:35:12.230Z] 68426573f278: Layer already exists [2024-10-18T07:35:12.230Z] 174331cd719c: Layer already exists [2024-10-18T07:35:12.230Z] e6f2eaa5d42b: Layer already exists [2024-10-18T07:35:12.230Z] 16113d51b718: Layer already exists [2024-10-18T07:35:12.494Z] 3.2.0-dev.23: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:12.859Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:13.228Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:35:13.228Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-10-18T07:35:13.228Z] 68426573f278: Preparing [2024-10-18T07:35:13.228Z] 21ff49b6e875: Preparing [2024-10-18T07:35:13.228Z] e6f2eaa5d42b: Preparing [2024-10-18T07:35:13.228Z] 7158230c60ce: Preparing [2024-10-18T07:35:13.228Z] 174331cd719c: Preparing [2024-10-18T07:35:13.228Z] 16113d51b718: Preparing [2024-10-18T07:35:13.228Z] 16113d51b718: Waiting [2024-10-18T07:35:13.228Z] 21ff49b6e875: Layer already exists [2024-10-18T07:35:13.228Z] 174331cd719c: Layer already exists [2024-10-18T07:35:13.228Z] 7158230c60ce: Layer already exists [2024-10-18T07:35:13.228Z] e6f2eaa5d42b: Layer already exists [2024-10-18T07:35:13.228Z] 68426573f278: Layer already exists [2024-10-18T07:35:13.228Z] 16113d51b718: Layer already exists [2024-10-18T07:35:13.495Z] 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:13.858Z] + 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 [2024-10-18T07:35:14.212Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2024-10-18T07:35:14.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-10-18T07:35:14.213Z] 68426573f278: Preparing [2024-10-18T07:35:14.213Z] 21ff49b6e875: Preparing [2024-10-18T07:35:14.213Z] e6f2eaa5d42b: Preparing [2024-10-18T07:35:14.213Z] 7158230c60ce: Preparing [2024-10-18T07:35:14.213Z] 174331cd719c: Preparing [2024-10-18T07:35:14.213Z] 16113d51b718: Preparing [2024-10-18T07:35:14.213Z] 16113d51b718: Waiting [2024-10-18T07:35:14.213Z] e6f2eaa5d42b: Layer already exists [2024-10-18T07:35:14.213Z] 174331cd719c: Layer already exists [2024-10-18T07:35:14.213Z] 21ff49b6e875: Layer already exists [2024-10-18T07:35:14.213Z] 68426573f278: Layer already exists [2024-10-18T07:35:14.213Z] 7158230c60ce: Layer already exists [2024-10-18T07:35:14.213Z] 16113d51b718: Layer already exists [2024-10-18T07:35:14.478Z] main: digest: sha256:a93d4919da8fc50c9a5b81094564dccc14fc2a4f914e4064ee3a54500b371fd9 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-18T07:35:14.549Z] ===================================================== [Pipeline] echo [2024-10-18T07:35:14.567Z] taggedImages: [2024-10-18T07:35:14.567Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [2024-10-18T07:35:14.567Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2024-10-18T07:35:14.567Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.23 [2024-10-18T07:35:14.567Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:39018d7ded4a28dbd8d8757660121fa1d6e0fcb6-3.2.0-dev.23 [2024-10-18T07:35:14.567Z] - 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 [2024-10-18T07:35:15.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T07:35:15.031Z] [2024-10-18T07:35:15.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:15.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T07:35:15.386Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-18T07:35:15.386Z] 8998bd30e6a1: Pulling fs layer [2024-10-18T07:35:15.386Z] 04944245beec: Pulling fs layer [2024-10-18T07:35:15.386Z] 699f458cf7ca: Pulling fs layer [2024-10-18T07:35:15.386Z] 765212b225bb: Pulling fs layer [2024-10-18T07:35:15.386Z] f23df028b6ca: Pulling fs layer [2024-10-18T07:35:15.386Z] d65c8cfc05b1: Pulling fs layer [2024-10-18T07:35:15.386Z] 2437ff75d9bd: Pulling fs layer [2024-10-18T07:35:15.386Z] f23df028b6ca: Waiting [2024-10-18T07:35:15.386Z] d65c8cfc05b1: Waiting [2024-10-18T07:35:15.386Z] 2437ff75d9bd: Waiting [2024-10-18T07:35:15.386Z] 765212b225bb: Waiting [2024-10-18T07:35:15.666Z] 04944245beec: Verifying Checksum [2024-10-18T07:35:15.666Z] 04944245beec: Download complete [2024-10-18T07:35:15.666Z] 765212b225bb: Verifying Checksum [2024-10-18T07:35:15.666Z] 765212b225bb: Download complete [2024-10-18T07:35:15.666Z] f23df028b6ca: Download complete [2024-10-18T07:35:15.666Z] d65c8cfc05b1: Verifying Checksum [2024-10-18T07:35:15.666Z] d65c8cfc05b1: Download complete [2024-10-18T07:35:15.941Z] 699f458cf7ca: Verifying Checksum [2024-10-18T07:35:15.941Z] 699f458cf7ca: Download complete [2024-10-18T07:35:16.217Z] 8998bd30e6a1: Verifying Checksum [2024-10-18T07:35:16.217Z] 8998bd30e6a1: Download complete [2024-10-18T07:35:18.810Z] 2437ff75d9bd: Verifying Checksum [2024-10-18T07:35:18.810Z] 2437ff75d9bd: Download complete [2024-10-18T07:35:20.752Z] 8998bd30e6a1: Pull complete [2024-10-18T07:35:21.018Z] 04944245beec: Pull complete [2024-10-18T07:35:22.961Z] 699f458cf7ca: Pull complete [2024-10-18T07:35:22.961Z] 765212b225bb: Pull complete [2024-10-18T07:35:23.544Z] f23df028b6ca: Pull complete [2024-10-18T07:35:23.811Z] d65c8cfc05b1: Pull complete [2024-10-18T07:35:42.021Z] 2437ff75d9bd: Pull complete [2024-10-18T07:35:42.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-18T07:35:42.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T07:35:42.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:35:42.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-23247 does not seem to be running inside a container [2024-10-18T07:35:42.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/209 -v /w/workspace/device-onvif-camera/209:/w/workspace/device-onvif-camera/209:rw,z -v /w/workspace/device-onvif-camera/209@tmp:/w/workspace/device-onvif-camera/209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-18T07:35:45.089Z] $ docker top 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:35:45.930Z] ---> job-cost.sh [2024-10-18T07:35:45.930Z] lf-activate-venv: SKIPPING [2024-10-18T07:35:45.930Z] INFO: No Stack... [2024-10-18T07:35:46.508Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-18T07:35:47.088Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T07:35:47.729Z] + cat /w/workspace/device-onvif-camera/209/archives/cost.csv [2024-10-18T07:35:47.729Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T07:35:47.767Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [2024-10-18T07:35:47.776Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] did not exist. Created. [2024-10-18T07:35:47.783Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T07:35:48.453Z] /w/workspace/device-onvif-camera/209@tmp/durable-db4c8504/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-18T07:35:49.097Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-18T07:35:49.124Z] Warning: overwriting stash ‘stack-cost’ [2024-10-18T07:35:49.179Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T07:35:49.187Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-209-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T07:35:49.224Z] $ docker stop --time=1 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd [2024-10-18T07:35:50.743Z] $ docker rm -f --volumes 3aeffef2196bf2e4d00361c26ae8046536c651954456a94c2f0f484122082edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-18T07:35:51.321Z] provisioning config files... [2024-10-18T07:35:51.350Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18360720863206928943tmp [Pipeline] { [Pipeline] sh [2024-10-18T07:35:51.662Z] + set +x [2024-10-18T07:35:51.662Z] + curl -s https://codecov.io/bash [2024-10-18T07:35:51.662Z] + bash -s -- [2024-10-18T07:35:51.921Z] [2024-10-18T07:35:51.921Z] _____ _ [2024-10-18T07:35:51.921Z] / ____| | | [2024-10-18T07:35:51.921Z] | | ___ __| | ___ ___ _____ __ [2024-10-18T07:35:51.921Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-18T07:35:51.921Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-18T07:35:51.921Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-18T07:35:51.921Z] Bash-1.0.6 [2024-10-18T07:35:51.921Z] [2024-10-18T07:35:51.921Z] [2024-10-18T07:35:51.921Z] ==> git version 2.25.1 found [2024-10-18T07:35:51.921Z] ==> 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 [2024-10-18T07:35:51.921Z] Release-Date: 2020-01-08 [2024-10-18T07:35:51.922Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-18T07:35:51.922Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-18T07:35:51.922Z] ==> Jenkins CI detected. [2024-10-18T07:35:51.922Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2024-10-18T07:35:51.922Z] project root: . [2024-10-18T07:35:51.922Z] --> token set from env [2024-10-18T07:35:51.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-18T07:35:51.922Z] ==> Running gcov in . (disable via -X gcov) [2024-10-18T07:35:51.922Z] ==> Python coveragepy not found [2024-10-18T07:35:51.922Z] ==> Searching for coverage reports in: [2024-10-18T07:35:51.922Z] + . [2024-10-18T07:35:51.922Z] -> Found 1 reports [2024-10-18T07:35:51.922Z] ==> Detecting git/mercurial file structure [2024-10-18T07:35:51.922Z] ==> Reading reports [2024-10-18T07:35:51.922Z] + ./coverage.out bytes=92292 [2024-10-18T07:35:51.922Z] ==> Appending adjustments [2024-10-18T07:35:51.922Z] https://docs.codecov.io/docs/fixing-reports [2024-10-18T07:35:52.188Z] + Found adjustments [2024-10-18T07:35:52.188Z] ==> Gzipping contents [2024-10-18T07:35:52.188Z] 12K /tmp/codecov.StNPej.gz [2024-10-18T07:35:52.188Z] ==> Uploading reports [2024-10-18T07:35:52.188Z] url: https://codecov.io [2024-10-18T07:35:52.188Z] query: branch=main&commit=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F209%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-18T07:35:52.188Z] -> Pinging Codecov [2024-10-18T07:35:52.188Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=39018d7ded4a28dbd8d8757660121fa1d6e0fcb6&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F209%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-18T07:35:52.447Z] -> Uploading to [2024-10-18T07:35:52.447Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/39018d7ded4a28dbd8d8757660121fa1d6e0fcb6/030e5c70-0d9b-4829-9fd4-0e2f4ba8b04a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T073552Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=68ad6b1ddf879a970a039a9f4ce1016abfef6ab2375e2417b2aae7d173ff3852 [2024-10-18T07:35:52.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T07:35:52.447Z] Dload Upload Total Spent Left Speed [2024-10-18T07:35:52.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 53088 --:--:-- --:--:-- --:--:-- 53088 [2024-10-18T07:35:52.447Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] } [2024-10-18T07:35:52.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-10-18T07:35:52.810Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-10-18T07:35:52.829Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:53.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-18T07:35:53.131Z] [2024-10-18T07:35:53.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:35:53.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-18T07:35:53.432Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-10-18T07:35:53.432Z] 43c4264eed91: Already exists [2024-10-18T07:35:53.432Z] 4cc291be95ef: Already exists [2024-10-18T07:35:53.432Z] 2ac1f1163629: Already exists [2024-10-18T07:35:53.432Z] 5c3c966382ef: Already exists [2024-10-18T07:35:53.432Z] 4f4fb700ef54: Already exists [2024-10-18T07:35:53.432Z] d9c7d2e4e75e: Pulling fs layer [2024-10-18T07:35:53.432Z] 9c3e1370e548: Pulling fs layer [2024-10-18T07:35:53.691Z] d9c7d2e4e75e: Verifying Checksum [2024-10-18T07:35:53.691Z] d9c7d2e4e75e: Download complete [2024-10-18T07:35:53.950Z] d9c7d2e4e75e: Pull complete [2024-10-18T07:35:54.518Z] 9c3e1370e548: Verifying Checksum [2024-10-18T07:35:54.518Z] 9c3e1370e548: Download complete [2024-10-18T07:35:57.803Z] 9c3e1370e548: Pull complete [2024-10-18T07:35:57.803Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2024-10-18T07:35:57.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-18T07:35:57.803Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:35:57.903Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:35:57.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-10-18T07:36:00.608Z] $ docker top 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:36:00.966Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo [2024-10-18T07:36:00.978Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2024-10-18T07:36:01.259Z] + set -o pipefail [2024-10-18T07:36:01.259Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/49133dab-6900-4176-8d87-a428ebe5e0cc [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] [2024-10-18T07:36:09.491Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-10-18T07:36:09.491Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-10-18T07:36:09.484Z] $ docker stop --time=1 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 [2024-10-18T07:36:15.380Z] $ docker rm -f --volumes 1eb41fd1aac0915f6c339b54e80dee9ccc6cc1115ef80d10c7fe8669d4fb1b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2024-10-18T07:36:15.955Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:36:15.972Z] provisioning config files... [2024-10-18T07:36:15.978Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14887553929956878947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:16.281Z] --> edgex-publish-swagger.sh [2024-10-18T07:36:16.281Z] === Publish doc/openapi/v3 API === [2024-10-18T07:36:16.281Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2024-10-18T07:36:16.281Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2024-10-18T07:36:16.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T07:36:16.281Z] Dload Upload Total Spent Left Speed [2024-10-18T07:36:16.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 257 802k --:--:-- --:--:-- --:--:-- 802k [2024-10-18T07:36:16.850Z] {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} [2024-10-18T07:36:16.850Z] [Pipeline] } [2024-10-18T07:36:16.858Z] 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 [2024-10-18T07:36:17.292Z] + git log --format=format:%s -1 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 [Pipeline] sh [2024-10-18T07:36:17.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T07:36:17.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:17.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:36:17.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:36:17.971Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:36:17.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T07:36:18.621Z] $ docker top 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 -eo pid,comm [2024-10-18T07:36:18.686Z] 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). [2024-10-18T07:36:18.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T07:36:18.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T07:36:18.743Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T07:36:18.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T07:36:18.832Z] $ docker exec 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 ssh-agent [2024-10-18T07:36:18.956Z] SSH_AUTH_SOCK=/tmp/ssh-BAFWKOIN2mfz/agent.32 [2024-10-18T07:36:18.956Z] SSH_AGENT_PID=38 [2024-10-18T07:36:18.961Z] Running ssh-add (command line suppressed) [2024-10-18T07:36:19.054Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9363851767263798184.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9363851767263798184.key) [2024-10-18T07:36:19.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T07:36:19.375Z] + git semver tag [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,563 [run_tag] DEBUG tag force:False [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,563 [check_head_tag] DEBUG check head tag [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,565 [execute] INFO git cat-file --batch-check [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,569 [execute] INFO git cat-file --batch [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,588 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,588 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,589 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2024-10-18T07:36:19.635Z] 2024-10-18 07:36:19,593 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:19.635Z] 3.2.0-dev.23 [Pipeline] } [2024-10-18T07:36:19.626Z] $ docker exec --env ******** --env ******** 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 ssh-agent -k [2024-10-18T07:36:19.709Z] unset SSH_AUTH_SOCK; [2024-10-18T07:36:19.710Z] unset SSH_AGENT_PID; [2024-10-18T07:36:19.710Z] echo Agent pid 38 killed; [2024-10-18T07:36:19.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T07:36:20.058Z] + git semver [Pipeline] } [2024-10-18T07:36:20.311Z] $ docker stop --time=1 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 [2024-10-18T07:36:21.594Z] $ docker rm -f --volumes 014eea2ca23873fbb67a99d70496dcd3b60adff3c5ae2d1b11e6adb526fd27d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:22.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-18T07:36:22.025Z] [2024-10-18T07:36:22.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:22.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-18T07:36:22.329Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-10-18T07:36:22.329Z] ab5ef0e58194: Pulling fs layer [2024-10-18T07:36:22.329Z] 9712f1f96733: Pulling fs layer [2024-10-18T07:36:22.329Z] 63f879dbbcfc: Pulling fs layer [2024-10-18T07:36:22.329Z] 0d9ebad4ef96: Pulling fs layer [2024-10-18T07:36:22.329Z] e9a5061849ea: Pulling fs layer [2024-10-18T07:36:22.329Z] d747dcd14b5f: Pulling fs layer [2024-10-18T07:36:22.329Z] 2de7ff778b66: Pulling fs layer [2024-10-18T07:36:22.329Z] e9a5061849ea: Waiting [2024-10-18T07:36:22.329Z] d747dcd14b5f: Waiting [2024-10-18T07:36:22.329Z] 2de7ff778b66: Waiting [2024-10-18T07:36:22.329Z] 0d9ebad4ef96: Waiting [2024-10-18T07:36:22.329Z] 9712f1f96733: Verifying Checksum [2024-10-18T07:36:22.588Z] 63f879dbbcfc: Verifying Checksum [2024-10-18T07:36:22.588Z] 63f879dbbcfc: Download complete [2024-10-18T07:36:22.588Z] e9a5061849ea: Verifying Checksum [2024-10-18T07:36:22.588Z] e9a5061849ea: Download complete [2024-10-18T07:36:22.847Z] d747dcd14b5f: Verifying Checksum [2024-10-18T07:36:22.847Z] d747dcd14b5f: Download complete [2024-10-18T07:36:22.847Z] 0d9ebad4ef96: Verifying Checksum [2024-10-18T07:36:22.847Z] 0d9ebad4ef96: Download complete [2024-10-18T07:36:22.847Z] ab5ef0e58194: Verifying Checksum [2024-10-18T07:36:22.847Z] ab5ef0e58194: Download complete [2024-10-18T07:36:22.847Z] 2de7ff778b66: Verifying Checksum [2024-10-18T07:36:22.847Z] 2de7ff778b66: Download complete [2024-10-18T07:36:26.133Z] ab5ef0e58194: Pull complete [2024-10-18T07:36:26.133Z] 9712f1f96733: Pull complete [2024-10-18T07:36:26.391Z] 63f879dbbcfc: Pull complete [2024-10-18T07:36:30.707Z] 0d9ebad4ef96: Pull complete [2024-10-18T07:36:30.707Z] e9a5061849ea: Pull complete [2024-10-18T07:36:30.707Z] d747dcd14b5f: Pull complete [2024-10-18T07:36:31.643Z] 2de7ff778b66: Pull complete [2024-10-18T07:36:31.643Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-10-18T07:36:31.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-18T07:36:31.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:36:31.740Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:36:31.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-10-18T07:36:39.390Z] $ docker top c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:36:39.490Z] provisioning config files... [2024-10-18T07:36:39.497Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11355503279742740872tmp [2024-10-18T07:36:39.505Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8633189317955463615tmp [2024-10-18T07:36:39.514Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14151328356583298317tmp [Pipeline] { [Pipeline] echo [2024-10-18T07:36:39.544Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:39.836Z] ---> sigul-configuration.sh [2024-10-18T07:36:39.836Z] gpg: directory `/root/.gnupg' created [2024-10-18T07:36:39.836Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-10-18T07:36:39.836Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-10-18T07:36:39.836Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-10-18T07:36:39.836Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-10-18T07:36:39.836Z] gpg: CAST5 encrypted data [2024-10-18T07:36:39.836Z] gpg: encrypted with 1 passphrase [2024-10-18T07:36:39.836Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-10-18T07:36:40.134Z] + mkdir /home/jenkins [2024-10-18T07:36:40.134Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-10-18T07:36:40.432Z] + 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 [2024-10-18T07:36:40.445Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:40.741Z] ---> sigul-install.sh [2024-10-18T07:36:40.741Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-10-18T07:36:41.030Z] + git tag --list [2024-10-18T07:36:41.030Z] v0.0.0 [2024-10-18T07:36:41.030Z] v2.2.0 [2024-10-18T07:36:41.030Z] v2.3.0 [2024-10-18T07:36:41.030Z] v2.3.1 [2024-10-18T07:36:41.030Z] v3.0 [2024-10-18T07:36:41.030Z] v3.0.0 [2024-10-18T07:36:41.030Z] v3.1 [2024-10-18T07:36:41.030Z] v3.1.0 [2024-10-18T07:36:41.030Z] v3.1.0-dev.1 [2024-10-18T07:36:41.030Z] v3.1.0-dev.10 [2024-10-18T07:36:41.030Z] v3.1.0-dev.11 [2024-10-18T07:36:41.030Z] v3.1.0-dev.12 [2024-10-18T07:36:41.030Z] v3.1.0-dev.13 [2024-10-18T07:36:41.030Z] v3.1.0-dev.14 [2024-10-18T07:36:41.030Z] v3.1.0-dev.15 [2024-10-18T07:36:41.030Z] v3.1.0-dev.16 [2024-10-18T07:36:41.030Z] v3.1.0-dev.17 [2024-10-18T07:36:41.030Z] v3.1.0-dev.18 [2024-10-18T07:36:41.030Z] v3.1.0-dev.19 [2024-10-18T07:36:41.030Z] v3.1.0-dev.2 [2024-10-18T07:36:41.030Z] v3.1.0-dev.20 [2024-10-18T07:36:41.030Z] v3.1.0-dev.21 [2024-10-18T07:36:41.030Z] v3.1.0-dev.22 [2024-10-18T07:36:41.030Z] v3.1.0-dev.23 [2024-10-18T07:36:41.030Z] v3.1.0-dev.24 [2024-10-18T07:36:41.030Z] v3.1.0-dev.25 [2024-10-18T07:36:41.030Z] v3.1.0-dev.26 [2024-10-18T07:36:41.030Z] v3.1.0-dev.27 [2024-10-18T07:36:41.030Z] v3.1.0-dev.28 [2024-10-18T07:36:41.030Z] v3.1.0-dev.3 [2024-10-18T07:36:41.030Z] v3.1.0-dev.4 [2024-10-18T07:36:41.030Z] v3.1.0-dev.5 [2024-10-18T07:36:41.030Z] v3.1.0-dev.6 [2024-10-18T07:36:41.030Z] v3.1.0-dev.7 [2024-10-18T07:36:41.030Z] v3.1.0-dev.8 [2024-10-18T07:36:41.030Z] v3.1.0-dev.9 [2024-10-18T07:36:41.030Z] v3.1.1 [2024-10-18T07:36:41.030Z] v3.2.0-dev.1 [2024-10-18T07:36:41.030Z] v3.2.0-dev.10 [2024-10-18T07:36:41.030Z] v3.2.0-dev.11 [2024-10-18T07:36:41.030Z] v3.2.0-dev.12 [2024-10-18T07:36:41.030Z] v3.2.0-dev.13 [2024-10-18T07:36:41.030Z] v3.2.0-dev.14 [2024-10-18T07:36:41.030Z] v3.2.0-dev.15 [2024-10-18T07:36:41.030Z] v3.2.0-dev.16 [2024-10-18T07:36:41.030Z] v3.2.0-dev.17 [2024-10-18T07:36:41.030Z] v3.2.0-dev.18 [2024-10-18T07:36:41.030Z] v3.2.0-dev.19 [2024-10-18T07:36:41.030Z] v3.2.0-dev.2 [2024-10-18T07:36:41.030Z] v3.2.0-dev.20 [2024-10-18T07:36:41.030Z] v3.2.0-dev.21 [2024-10-18T07:36:41.030Z] v3.2.0-dev.22 [2024-10-18T07:36:41.030Z] v3.2.0-dev.23 [2024-10-18T07:36:41.030Z] v3.2.0-dev.3 [2024-10-18T07:36:41.030Z] v3.2.0-dev.4 [2024-10-18T07:36:41.030Z] v3.2.0-dev.5 [2024-10-18T07:36:41.030Z] v3.2.0-dev.6 [2024-10-18T07:36:41.030Z] v3.2.0-dev.7 [2024-10-18T07:36:41.030Z] v3.2.0-dev.8 [2024-10-18T07:36:41.030Z] v3.2.0-dev.9 [Pipeline] sh [2024-10-18T07:36:41.323Z] + lftools sign git-tag v3.2.0-dev.23 [2024-10-18T07:36:41.890Z] Signing Git tag with Sigul... [2024-10-18T07:36:41.890Z] Signing v3.2.0-dev.23 [Pipeline] echo [2024-10-18T07:36:42.162Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:42.464Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-10-18T07:36:42.471Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-10-18T07:36:42.478Z] $ docker stop --time=1 c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb [2024-10-18T07:36:43.740Z] $ docker rm -f --volumes c61e4b322e1698b254fc7956ccdbcf891c9c93be54ad2f342048a6bd076bd8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-10-18T07:36:44.208Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T07:36:44.208Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:44.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:36:44.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:36:44.589Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:36:44.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T07:36:44.922Z] $ docker top de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 -eo pid,comm [2024-10-18T07:36:44.986Z] 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). [2024-10-18T07:36:44.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T07:36:45.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T07:36:45.045Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T07:36:45.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T07:36:45.144Z] $ docker exec de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 ssh-agent [2024-10-18T07:36:45.262Z] SSH_AUTH_SOCK=/tmp/ssh-hjTpDwlW8i9U/agent.32 [2024-10-18T07:36:45.262Z] SSH_AGENT_PID=38 [2024-10-18T07:36:45.266Z] Running ssh-add (command line suppressed) [2024-10-18T07:36:45.338Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16194128167570345261.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16194128167570345261.key) [2024-10-18T07:36:45.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T07:36:45.675Z] + git semver bump pre [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [bump_version] DEBUG bumped version:3.2.0-dev.24 [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,811 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,813 [execute] INFO git cat-file --batch-check [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,819 [execute] INFO git cat-file --batch [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T07:36:45.934Z] 2024-10-18 07:36:45,824 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:45.934Z] 3.2.0-dev.24 [Pipeline] } [2024-10-18T07:36:45.924Z] $ docker exec --env ******** --env ******** de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 ssh-agent -k [2024-10-18T07:36:46.016Z] unset SSH_AUTH_SOCK; [2024-10-18T07:36:46.016Z] unset SSH_AGENT_PID; [2024-10-18T07:36:46.017Z] echo Agent pid 38 killed; [2024-10-18T07:36:46.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T07:36:46.375Z] + git semver [Pipeline] } [2024-10-18T07:36:46.628Z] $ docker stop --time=1 de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 [2024-10-18T07:36:47.889Z] $ docker rm -f --volumes de0de0e70b60248b70c1e8e36f75220d8943f5f44e31975dd0c4de4aa55d7311 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T07:36:48.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T07:36:48.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:48.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T07:36:48.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:36:48.634Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:36:48.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T07:36:48.963Z] $ docker top 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 -eo pid,comm [2024-10-18T07:36:49.028Z] 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). [2024-10-18T07:36:49.028Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T07:36:49.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T07:36:49.075Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T07:36:49.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T07:36:49.161Z] $ docker exec 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 ssh-agent [2024-10-18T07:36:49.281Z] SSH_AUTH_SOCK=/tmp/ssh-bwRbRuc2mEKk/agent.32 [2024-10-18T07:36:49.281Z] SSH_AGENT_PID=39 [2024-10-18T07:36:49.285Z] Running ssh-add (command line suppressed) [2024-10-18T07:36:49.368Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9766807196625061378.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9766807196625061378.key) [2024-10-18T07:36:49.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T07:36:49.688Z] + git semver push [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,965 [run_push] DEBUG push [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,966 [execute] INFO git cat-file --batch-check [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,973 [execute] INFO git rev-list 424aaec24431e47d93c0bae65254344d1e70dbc2 -- [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,973 [execute] DEBUG Popen(['git', 'rev-list', '424aaec24431e47d93c0bae65254344d1e70dbc2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,984 [execute] INFO git fetch -v origin [2024-10-18T07:36:50.257Z] 2024-10-18 07:36:49,984 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-10-18T07:36:50.516Z] 2024-10-18 07:36:50,434 [run_push] DEBUG no remote changes detected [2024-10-18T07:36:50.517Z] 2024-10-18 07:36:50,435 [execute] INFO git push origin semver [2024-10-18T07:36:50.517Z] 2024-10-18 07:36:50,435 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-18T07:36:51.458Z] 2024-10-18 07:36:51,235 [run_push] DEBUG push all version tags [2024-10-18T07:36:51.459Z] 2024-10-18 07:36:51,236 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-10-18T07:36:51.459Z] 2024-10-18 07:36:51,236 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2024-10-18T07:36:52.032Z] 2024-10-18 07:36:51,875 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2024-10-18T07:36:52.032Z] 3.2.0-dev.24 [Pipeline] } [2024-10-18T07:36:52.021Z] $ docker exec --env ******** --env ******** 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 ssh-agent -k [2024-10-18T07:36:52.122Z] unset SSH_AUTH_SOCK; [2024-10-18T07:36:52.126Z] unset SSH_AGENT_PID; [2024-10-18T07:36:52.126Z] echo Agent pid 39 killed; [2024-10-18T07:36:52.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T07:36:52.473Z] + git semver [Pipeline] } [2024-10-18T07:36:52.728Z] $ docker stop --time=1 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 [2024-10-18T07:36:54.017Z] $ docker rm -f --volumes 7d2a74227d9de18a0acab41579011194fbbe1f0e7ad29bdd0fe7e42ac4862213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-18T07:36:54.669Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2024-10-18T07:36:54.669Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2024-10-18T07:36:54.669Z] total 16 [2024-10-18T07:36:54.669Z] drwxr-xr-x 3 root root 4096 Oct 18 07:22 . [2024-10-18T07:36:54.669Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 07:36 .. [2024-10-18T07:36:54.669Z] drwxr-xr-x 2 root root 4096 Oct 18 07:22 cost [2024-10-18T07:36:54.669Z] -rw-r--r-- 1 root root 91 Oct 18 07:22 cost.csv [2024-10-18T07:36:54.669Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2024-10-18T07:36:54.669Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2024-10-18T07:36:54.669Z] total 16 [2024-10-18T07:36:54.669Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 07:22 . [2024-10-18T07:36:54.669Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 07:36 .. [2024-10-18T07:36:54.669Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 07:22 cost [2024-10-18T07:36:54.669Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 18 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:54.962Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:36:55.824Z] ---> package-listing.sh [2024-10-18T07:36:55.824Z] ++ facter osfamily [2024-10-18T07:36:55.824Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-18T07:36:56.085Z] + OS_FAMILY=debian [2024-10-18T07:36:56.085Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2024-10-18T07:36:56.085Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-18T07:36:56.085Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-18T07:36:56.085Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-18T07:36:56.085Z] + PACKAGES=/tmp/packages_start.txt [2024-10-18T07:36:56.085Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2024-10-18T07:36:56.085Z] + PACKAGES=/tmp/packages_end.txt [2024-10-18T07:36:56.085Z] + case "${OS_FAMILY}" in [2024-10-18T07:36:56.085Z] + dpkg -l [2024-10-18T07:36:56.085Z] + grep '^ii' [2024-10-18T07:36:56.085Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-18T07:36:56.085Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-18T07:36:56.085Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-18T07:36:56.085Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2024-10-18T07:36:56.085Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2024-10-18T07:36:56.085Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2024-10-18T07:36:56.096Z] 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 [2024-10-18T07:36:56.374Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T07:36:56.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T07:36:56.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T07:36:57.035Z] prd-ubuntu20.04-docker-8c-8g-23245 does not seem to be running inside a container [2024-10-18T07:36:57.053Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T07:36:58.342Z] $ docker top 9876578b1450b86b943d3473fe3d8cd177cea54252c50c5a96f495ce3d518821 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T07:36:59.478Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-18T07:36:59.766Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-18T07:37:00.052Z] + ls /var/log/sa-host [2024-10-18T07:37:00.052Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T07:37:00.128Z] provisioning config files... [2024-10-18T07:37:00.137Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4959345410713084812tmp [Pipeline] { [Pipeline] echo [2024-10-18T07:37:00.157Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:37:00.442Z] ---> create-netrc.sh [Pipeline] } [2024-10-18T07:37:00.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:37:00.794Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-18T07:37:00.804Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:37:01.087Z] ---> sudo-logs.sh [2024-10-18T07:37:01.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-18T07:37:01.116Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:37:01.399Z] ---> job-cost.sh [2024-10-18T07:37:01.399Z] lf-activate-venv: SKIPPING [2024-10-18T07:37:01.399Z] DEBUG: total: 0.2199999988079071 [2024-10-18T07:37:01.399Z] INFO: Retrieving Stack Cost... [2024-10-18T07:37:01.968Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T07:37:02.226Z] INFO: Archiving Costs [Pipeline] echo [2024-10-18T07:37:02.240Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T07:37:02.522Z] ---> logs-deploy.sh [2024-10-18T07:37:02.522Z] lf-activate-venv: SKIPPING [2024-10-18T07:37:02.522Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/209 [2024-10-18T07:37:02.522Z] INFO: archiving workspace using pattern(s): [2024-10-18T07:37:03.457Z] Archives upload complete. [2024-10-18T07:37:03.457Z] INFO: archiving logs to Nexus