Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a55ed7656ccfe987556a747055649824b1de131 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-ssh7632751079908488091.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-ssh7166755589222172040.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-ssh6858306662473018955.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-ssh8770974092197357660.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-ssh13851943868340065849.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 Running on prd-ubuntu20.04-docker-8c-8g-24071 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5a55ed7656ccfe987556a747055649824b1de131 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a55ed7656ccfe987556a747055649824b1de131 # timeout=10 Commit message: "Merge pull request #469 from weichou1229/v4-module" > git rev-list --no-walk 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:15:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:15:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:15:33 ========================================================= 04:15:33 EdgeX Global Pipelines Version Info 04:15:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:15:34 ------------------- 04:15:34 stable info: 04:15:34 ------------------- 04:15:34 Commited By: Ginny Guan ginny@iotechsys.com 04:15:34 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:15:34 Message: update stable to v1.0.265 04:15:34 ------------------- 04:15:34 experimental info: 04:15:34 ------------------- 04:15:34 Commited By: Cherry Wang cherry@iotechsys.com 04:15:34 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:15:34 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a55ed7 [Pipeline] echo 04:15:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:35 provisioning config files... 04:15:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18088737008625585150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:35 ---> ****-login.sh 04:15:35 nexus3.edgexfoundry.org:10001 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 nexus3.edgexfoundry.org:10002 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 nexus3.edgexfoundry.org:10003 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 nexus3.edgexfoundry.org:10004 04:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 ****.io 04:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 ---> ****-login.sh ends [Pipeline] } 04:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:15:36 + git rev-list -1 --merges 5a55ed7656ccfe987556a747055649824b1de131~1..5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] echo 04:15:36 -----------> git rev-list -1 --merges 5a55ed7656ccfe987556a747055649824b1de131~1..5a55ed7656ccfe987556a747055649824b1de131 5a55ed7656ccfe987556a747055649824b1de131 04:15:36 5a55ed7656ccfe987556a747055649824b1de131 [false] [Pipeline] sh 04:15:37 + git log --format=format:%s -1 5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] echo 04:15:37 ========================================================= 04:15:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:37 + git log --format=format:%s -1 5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] echo 04:15:37 [semverPrep] GIT_COMMIT: 5a55ed7656ccfe987556a747055649824b1de131, Commit Message: Merge pull request #469 from weichou1229/v4-module [Pipeline] echo 04:15:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:15:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:38 + grep -v github /etc/ssh/ssh_known_hosts 04:15:38 + [ -e /tmp/ssh_known_hosts ] 04:15:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:15:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:15:38 + sudo tee -a /etc/ssh/ssh_known_hosts 04:15:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:38 04:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:15:38 b85a868b505f: Pulling fs layer 04:15:38 e2be974225ed: Pulling fs layer 04:15:38 339a4e72a1f5: Pulling fs layer 04:15:38 988bab9f4d93: Pulling fs layer 04:15:38 1469e6f7b9e6: Pulling fs layer 04:15:38 eaf3925da568: Pulling fs layer 04:15:38 bab4dde63d76: Pulling fs layer 04:15:38 bde34c3a00c8: Pulling fs layer 04:15:38 b352a97aabf1: Pulling fs layer 04:15:38 4872d77fe225: Pulling fs layer 04:15:38 5851b861e8e6: Pulling fs layer 04:15:38 1469e6f7b9e6: Waiting 04:15:38 eaf3925da568: Waiting 04:15:38 bab4dde63d76: Waiting 04:15:38 bde34c3a00c8: Waiting 04:15:38 4872d77fe225: Waiting 04:15:38 b352a97aabf1: Waiting 04:15:38 5851b861e8e6: Waiting 04:15:38 988bab9f4d93: Waiting 04:15:38 e2be974225ed: Verifying Checksum 04:15:38 e2be974225ed: Download complete 04:15:38 988bab9f4d93: Verifying Checksum 04:15:38 988bab9f4d93: Download complete 04:15:38 1469e6f7b9e6: Verifying Checksum 04:15:38 1469e6f7b9e6: Download complete 04:15:38 eaf3925da568: Download complete 04:15:38 339a4e72a1f5: Verifying Checksum 04:15:38 339a4e72a1f5: Download complete 04:15:38 bde34c3a00c8: Download complete 04:15:38 b352a97aabf1: Download complete 04:15:38 4872d77fe225: Verifying Checksum 04:15:38 4872d77fe225: Download complete 04:15:38 5851b861e8e6: Verifying Checksum 04:15:38 5851b861e8e6: Download complete 04:15:38 b85a868b505f: Verifying Checksum 04:15:38 b85a868b505f: Download complete 04:15:39 bab4dde63d76: Verifying Checksum 04:15:39 bab4dde63d76: Download complete 04:15:40 b85a868b505f: Pull complete 04:15:40 e2be974225ed: Pull complete 04:15:40 339a4e72a1f5: Pull complete 04:15:40 988bab9f4d93: Pull complete 04:15:40 1469e6f7b9e6: Pull complete 04:15:40 eaf3925da568: Pull complete 04:15:42 bab4dde63d76: Pull complete 04:15:42 bde34c3a00c8: Pull complete 04:15:43 b352a97aabf1: Pull complete 04:15:43 4872d77fe225: Pull complete 04:15:43 5851b861e8e6: Pull complete 04:15:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:43 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:15:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:15:46 $ docker top cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f -eo pid,comm 04:15:46 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). 04:15:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:46 [ssh-agent] Looking for ssh-agent implementation... 04:15:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:46 $ docker exec cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f ssh-agent 04:15:47 SSH_AUTH_SOCK=/tmp/ssh-r7Z6d1L2DGmR/agent.31 04:15:47 SSH_AGENT_PID=37 04:15:47 Running ssh-add (command line suppressed) 04:15:47 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7144591920706834021.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7144591920706834021.key) 04:15:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:47 + git tag --points-at HEAD [Pipeline] } 04:15:47 $ docker exec --env ******** --env ******** cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f ssh-agent -k 04:15:47 unset SSH_AUTH_SOCK; 04:15:47 unset SSH_AGENT_PID; 04:15:47 echo Agent pid 37 killed; 04:15:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:47 [ssh-agent] Looking for ssh-agent implementation... 04:15:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:47 $ docker exec cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f ssh-agent 04:15:47 SSH_AUTH_SOCK=/tmp/ssh-jd2pG3Ze605x/agent.70 04:15:47 SSH_AGENT_PID=76 04:15:47 Running ssh-add (command line suppressed) 04:15:47 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11519106746758373248.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11519106746758373248.key) 04:15:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:48 + git semver init 04:15:48 2024-10-30 04:15:48,430 [run_init] DEBUG init version:0.0.0 force:False 04:15:48 2024-10-30 04:15:48,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:15:48 2024-10-30 04:15:48,431 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:15:48 2024-10-30 04:15:48,432 [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) 04:15:49 2024-10-30 04:15:49,692 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:15:49 2024-10-30 04:15:49,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:15:49 2024-10-30 04:15:49,693 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:15:49 2024-10-30 04:15:49,693 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:15:49 4.0.0-dev.1 [Pipeline] } 04:15:49 $ docker exec --env ******** --env ******** cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f ssh-agent -k 04:15:50 unset SSH_AUTH_SOCK; 04:15:50 unset SSH_AGENT_PID; 04:15:50 echo Agent pid 76 killed; 04:15:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:50 + git semver [Pipeline] } 04:15:50 $ docker stop --time=1 cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f 04:15:51 $ docker rm -f --volumes cb5050a6a6ad1bea02bc90e0aada3cbbaf0a2ff24d0e6a7c56bacbae8e413b1f [Pipeline] // withDockerContainer [Pipeline] sh 04:15:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:52 Stashed 1 file(s) [Pipeline] echo 04:15:52 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [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 04:15:52 provisioning config files... 04:15:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13953525108235606764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:53 ---> ****-login.sh 04:15:53 nexus3.edgexfoundry.org:10001 04:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:53 Configure a credential helper to remove this warning. See 04:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:53 04:15:53 Login Succeeded 04:15:53 nexus3.edgexfoundry.org:10002 04:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:53 Configure a credential helper to remove this warning. See 04:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:53 04:15:53 Login Succeeded 04:15:53 nexus3.edgexfoundry.org:10003 04:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:53 Configure a credential helper to remove this warning. See 04:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:53 04:15:53 Login Succeeded 04:15:53 nexus3.edgexfoundry.org:10004 04:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:53 Configure a credential helper to remove this warning. See 04:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:53 04:15:53 Login Succeeded 04:15:53 ****.io 04:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:15:53 Configure a credential helper to remove this warning. See 04:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:15:53 04:15:53 Login Succeeded 04:15:53 ---> ****-login.sh ends [Pipeline] } 04:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:15:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:15:53 ========================================================= 04:15:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:15:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:54 + 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 . 04:15:54 Sending build context to Docker daemon 36.82MB 04:15:54 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 04:15:54 Step 2/13 : FROM ${BASE} AS builder 04:15:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:15:54 43c4264eed91: Pulling fs layer 04:15:54 4cc291be95ef: Pulling fs layer 04:15:54 2ac1f1163629: Pulling fs layer 04:15:54 5c3c966382ef: Pulling fs layer 04:15:54 4f4fb700ef54: Pulling fs layer 04:15:54 5d5c8e513c77: Pulling fs layer 04:15:54 9f66e0745190: Pulling fs layer 04:15:54 f49a43e4bbc0: Pulling fs layer 04:15:54 561ebcabdf7f: Pulling fs layer 04:15:54 5c3c966382ef: Waiting 04:15:54 4f4fb700ef54: Waiting 04:15:54 f49a43e4bbc0: Waiting 04:15:54 5d5c8e513c77: Waiting 04:15:54 561ebcabdf7f: Waiting 04:15:54 9f66e0745190: Waiting 04:15:54 4cc291be95ef: Verifying Checksum 04:15:54 4cc291be95ef: Download complete 04:15:54 5c3c966382ef: Verifying Checksum 04:15:54 5c3c966382ef: Download complete 04:15:54 4f4fb700ef54: Download complete 04:15:54 5d5c8e513c77: Download complete 04:15:54 43c4264eed91: Download complete 04:15:54 9f66e0745190: Verifying Checksum 04:15:54 9f66e0745190: Download complete 04:15:54 43c4264eed91: Pull complete 04:15:54 561ebcabdf7f: Verifying Checksum 04:15:54 561ebcabdf7f: Download complete 04:15:54 4cc291be95ef: Pull complete 04:15:54 2ac1f1163629: Verifying Checksum 04:15:54 2ac1f1163629: Download complete 04:15:55 f49a43e4bbc0: Verifying Checksum 04:15:55 f49a43e4bbc0: Download complete 04:15:58 2ac1f1163629: Pull complete 04:15:58 5c3c966382ef: Pull complete 04:15:58 4f4fb700ef54: Pull complete 04:15:58 5d5c8e513c77: Pull complete 04:15:58 9f66e0745190: Pull complete 04:16:00 f49a43e4bbc0: Pull complete 04:16:01 561ebcabdf7f: Pull complete 04:16:01 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:16:01 ---> 3a752c3f9dda 04:16:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:16:06 ---> Running in 2dbcb36418a9 04:16:06 Removing intermediate container 2dbcb36418a9 04:16:06 ---> 18c4e626ec0c 04:16:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:16:06 ---> Running in cdf525b8b68e 04:16:06 Removing intermediate container cdf525b8b68e 04:16:06 ---> 5186b3c8ef47 04:16:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:16:06 ---> Running in 2d66b821db7c 04:16:06 Removing intermediate container 2d66b821db7c 04:16:06 ---> f7e8366100e1 04:16:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:16:06 ---> Running in 5e344c0fde52 04:16:06 Removing intermediate container 5e344c0fde52 04:16:06 ---> 4f1dda98f83c 04:16:06 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:16:06 ---> Running in e749a7892072 04:16:06 Removing intermediate container e749a7892072 04:16:06 ---> f7305d511801 04:16:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:16:06 ---> Running in debac8b1576f 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:16:07 OK: 246 MiB in 54 packages 04:16:07 Still waiting to schedule task 04:16:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24072’ 04:16:07 Removing intermediate container debac8b1576f 04:16:07 ---> 40fa1a07b583 04:16:07 Step 9/13 : WORKDIR /device-onvif-camera 04:16:07 ---> Running in 151c59de2d53 04:16:07 Removing intermediate container 151c59de2d53 04:16:07 ---> 496b55c98781 04:16:07 Step 10/13 : COPY go.mod vendor* ./ 04:16:07 ---> 0b4e711644d2 04:16:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:07 ---> Running in 3988296468a6 04:17:05 Removing intermediate container 3988296468a6 04:17:05 ---> c8f681cae3ac 04:17:05 Step 12/13 : COPY . . 04:17:05 ---> 01a4d13d0582 04:17:05 Step 13/13 : RUN ${MAKE} 04:17:05 ---> Running in a0779659c4fd 04:17:05 noop 04:17:05 Removing intermediate container a0779659c4fd 04:17:05 ---> cb31be708d99 04:17:05 Successfully built cb31be708d99 04:17:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:05 + docker inspect -f . ci-base-image-x86_64 04:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:05 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:17:05 $ 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 04:17:05 $ docker top 38272d5843c23b938662d9c68f78343b5fac440be6b48039002f5bfd473ce3d9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:06 + go version 04:17:06 go version go1.23.2 linux/amd64 [Pipeline] } 04:17:06 $ docker stop --time=1 38272d5843c23b938662d9c68f78343b5fac440be6b48039002f5bfd473ce3d9 04:17:07 $ docker rm -f --volumes 38272d5843c23b938662d9c68f78343b5fac440be6b48039002f5bfd473ce3d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:07 + docker inspect -f . ci-base-image-x86_64 04:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:07 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:17:07 $ 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 04:17:08 $ docker top 04346de75f4f5d624375195aaaea7cf7a2fa7d04a4c985306042a7a7479fdfb3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:08 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:17:09 + make test 04:17:09 go test ./... -coverprofile=coverage.out ./... 04:17:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:17:28 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 04:17:28 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 04:17:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.4% of statements 04:17:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.216s coverage: 86.5% of statements 04:17:40 go vet ./... 04:17:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:45 ./bin/test-attribution-txt.sh [Pipeline] echo 04:17:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:17:45 $ docker stop --time=1 04346de75f4f5d624375195aaaea7cf7a2fa7d04a4c985306042a7a7479fdfb3 04:17:49 $ docker rm -f --volumes 04346de75f4f5d624375195aaaea7cf7a2fa7d04a4c985306042a7a7479fdfb3 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:50 + ls -al . 04:17:50 total 328 04:17:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 04:17 . 04:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:15 .. 04:17:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:17 .git 04:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:15 .github 04:17:50 -rw-rw-r-- 1 jenkins jenkins 493 Oct 30 04:15 .gitignore 04:17:50 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 04:15 .golangci.yml 04:17:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 04:15 .semver 04:17:50 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 30 04:15 Attribution.txt 04:17:50 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 30 04:15 CHANGELOG.md 04:17:50 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 30 04:15 Dockerfile 04:17:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 04:15 GOVERNANCE.md 04:17:50 -rw-rw-r-- 1 jenkins jenkins 739 Oct 30 04:15 Jenkinsfile 04:17:50 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 30 04:15 LICENSE 04:17:50 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 30 04:15 Makefile 04:17:50 -rw-rw-r-- 1 jenkins jenkins 625 Oct 30 04:15 OWNERS.md 04:17:50 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 30 04:15 README.md 04:17:50 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 04:15 VERSION 04:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:15 bin 04:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:15 cmd 04:17:50 -rw-r--r-- 1 jenkins jenkins 92292 Oct 30 04:17 coverage.out 04:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:15 doc 04:17:50 -rw-rw-r-- 1 jenkins jenkins 7296 Oct 30 04:15 go.mod 04:17:50 -rw-rw-r-- 1 jenkins jenkins 100902 Oct 30 04:15 go.sum 04:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:15 internal 04:17:50 -rw-rw-r-- 1 jenkins jenkins 236 Oct 30 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:51 + 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=5a55ed7656ccfe987556a747055649824b1de131 --label arch=amd64 --label version=4.0.0-dev.1 . 04:17:51 Sending build context to Docker daemon 36.92MB 04:17:51 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 04:17:51 Step 2/27 : FROM ${BASE} AS builder 04:17:51 ---> cb31be708d99 04:17:51 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:17:51 ---> Running in 31c8cbd4f660 04:17:51 Removing intermediate container 31c8cbd4f660 04:17:51 ---> 77bc68fd437a 04:17:51 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:17:51 ---> Running in dbbeebb0c775 04:17:51 Removing intermediate container dbbeebb0c775 04:17:51 ---> 78c8e5860cdc 04:17:51 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:17:51 ---> Running in c7707c1e8e5f 04:17:51 Removing intermediate container c7707c1e8e5f 04:17:51 ---> 9b946183784b 04:17:51 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:17:51 ---> Running in d75eb2a3757e 04:17:51 Removing intermediate container d75eb2a3757e 04:17:51 ---> 1cadbfbad39f 04:17:51 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:17:51 ---> Running in 059bccf9f9fd 04:17:52 Removing intermediate container 059bccf9f9fd 04:17:52 ---> 8fa99599d823 04:17:52 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:17:52 ---> Running in 6ea6eca8ca4d 04:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:17:52 OK: 246 MiB in 54 packages 04:17:53 Removing intermediate container 6ea6eca8ca4d 04:17:53 ---> c6ebdecd28d5 04:17:53 Step 9/27 : WORKDIR /device-onvif-camera 04:17:53 ---> Running in f0efbf001384 04:17:53 Removing intermediate container f0efbf001384 04:17:53 ---> bbb8701e350d 04:17:53 Step 10/27 : COPY go.mod vendor* ./ 04:17:53 ---> 4f7ab5b575b2 04:17:53 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:53 ---> Running in f0d177a20751 04:17:54 Removing intermediate container f0d177a20751 04:17:54 ---> 0302b896f12c 04:17:54 Step 12/27 : COPY . . 04:17:55 ---> ea8d74b4acd7 04:17:55 Step 13/27 : RUN ${MAKE} 04:17:55 ---> Running in 58d508d95079 04:17:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:18:27 Removing intermediate container 58d508d95079 04:18:27 ---> bf2966b097b2 04:18:27 Step 14/27 : FROM alpine:3.20 04:18:27 3.20: Pulling from library/alpine 04:18:27 43c4264eed91: Already exists 04:18:27 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:18:27 Status: Downloaded newer image for alpine:3.20 04:18:27 ---> 91ef0af61f39 04:18:27 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:18:27 ---> Running in f575371a159a 04:18:27 Removing intermediate container f575371a159a 04:18:27 ---> 07717cacf068 04:18:27 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:18:27 ---> Running in cb965f3a7039 04:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:18:27 (1/1) Installing dumb-init (1.2.5-r3) 04:18:27 Executing busybox-1.36.1-r29.trigger 04:18:27 OK: 8 MiB in 15 packages 04:18:27 Removing intermediate container cb965f3a7039 04:18:27 ---> fa5b7d7f1aae 04:18:27 Step 17/27 : RUN apk --no-cache upgrade 04:18:27 ---> Running in 618bf410f9ed 04:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:18:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:18:28 Upgrading critical system libraries and apk-tools: 04:18:28 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:18:28 Executing busybox-1.36.1-r29.trigger 04:18:28 Continuing the upgrade transaction with new apk-tools: 04:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:18:28 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:18:28 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:18:28 OK: 8 MiB in 15 packages 04:18:29 Removing intermediate container 618bf410f9ed 04:18:29 ---> 4fd07107fc14 04:18:29 Step 18/27 : WORKDIR / 04:18:29 ---> Running in ed12a8320c37 04:18:29 Removing intermediate container ed12a8320c37 04:18:29 ---> 8b687d17a017 04:18:29 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:18:30 ---> e3cbab245d4f 04:18:30 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:18:30 ---> e0e5cfc751cd 04:18:30 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:18:30 ---> 2d820b79a21b 04:18:30 Step 22/27 : EXPOSE 59984 04:18:30 ---> Running in 6f1917ab4126 04:18:30 Removing intermediate container 6f1917ab4126 04:18:30 ---> ed5a0b55cc83 04:18:30 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:18:30 ---> Running in 996cd771c99f 04:18:30 Removing intermediate container 996cd771c99f 04:18:30 ---> 3b1d6a31015b 04:18:30 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 04:18:30 ---> Running in 21f74eb03c53 04:18:30 Removing intermediate container 21f74eb03c53 04:18:30 ---> ed6e154d3fa1 04:18:30 Step 25/27 : LABEL arch=amd64 04:18:30 ---> Running in 26dacaa76b16 04:18:30 Removing intermediate container 26dacaa76b16 04:18:30 ---> 125857a16ceb 04:18:30 Step 26/27 : LABEL git_sha=5a55ed7656ccfe987556a747055649824b1de131 04:18:31 ---> Running in a9afbdad15f3 04:18:31 Removing intermediate container a9afbdad15f3 04:18:31 ---> 3677ff016b6f 04:18:31 Step 27/27 : LABEL version=4.0.0-dev.1 04:18:31 ---> Running in fb18a3a1c060 04:18:31 Removing intermediate container fb18a3a1c060 04:18:31 ---> a7132360f1c9 04:18:31 [Warning] One or more build-args [ARCH] were not consumed 04:18:31 Successfully built a7132360f1c9 04:18:31 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 04:18:31 provisioning config files... 04:18:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17950584474538197501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:31 ---> ****-login.sh 04:18:31 nexus3.edgexfoundry.org:10001 04:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:31 Configure a credential helper to remove this warning. See 04:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:31 04:18:31 Login Succeeded 04:18:31 nexus3.edgexfoundry.org:10002 04:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:31 Configure a credential helper to remove this warning. See 04:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:31 04:18:31 Login Succeeded 04:18:31 nexus3.edgexfoundry.org:10003 04:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:31 Configure a credential helper to remove this warning. See 04:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:31 04:18:31 Login Succeeded 04:18:31 nexus3.edgexfoundry.org:10004 04:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:31 Configure a credential helper to remove this warning. See 04:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:31 04:18:31 Login Succeeded 04:18:31 ****.io 04:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:18:32 Configure a credential helper to remove this warning. See 04:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:18:32 04:18:32 Login Succeeded 04:18:32 ---> ****-login.sh ends [Pipeline] } 04:18:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:18:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:18:32 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:18:32 5a55ed7656ccfe987556a747055649824b1de131 04:18:32 latest 04:18:32 4.0.0-dev.1 04:18:32 5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:18:32 main 04:18:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:32 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131 04:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:18:32 7ee3cf0f7243: Preparing 04:18:32 0299f90a30af: Preparing 04:18:32 864f3709579a: Preparing 04:18:32 90fddbff2cd9: Preparing 04:18:32 8d93f09ce20d: Preparing 04:18:32 63ca1fbb43ae: Preparing 04:18:32 8d93f09ce20d: Pushed 04:18:32 0299f90a30af: Pushed 04:18:32 7ee3cf0f7243: Pushed 04:18:32 63ca1fbb43ae: Layer already exists 04:18:33 90fddbff2cd9: Pushed 04:18:37 864f3709579a: Pushed 04:18:37 5a55ed7656ccfe987556a747055649824b1de131: digest: sha256:76e986e803f69771032988f090ba3b0ff6b455cb5aeeab6364de513366c3e0e9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:18:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:18:38 7ee3cf0f7243: Preparing 04:18:38 0299f90a30af: Preparing 04:18:38 864f3709579a: Preparing 04:18:38 90fddbff2cd9: Preparing 04:18:38 8d93f09ce20d: Preparing 04:18:38 63ca1fbb43ae: Preparing 04:18:38 63ca1fbb43ae: Waiting 04:18:38 0299f90a30af: Layer already exists 04:18:38 7ee3cf0f7243: Layer already exists 04:18:38 864f3709579a: Layer already exists 04:18:38 90fddbff2cd9: Layer already exists 04:18:38 8d93f09ce20d: Layer already exists 04:18:38 63ca1fbb43ae: Layer already exists 04:18:38 latest: digest: sha256:76e986e803f69771032988f090ba3b0ff6b455cb5aeeab6364de513366c3e0e9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.1 04:18:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:18:38 7ee3cf0f7243: Preparing 04:18:38 0299f90a30af: Preparing 04:18:38 864f3709579a: Preparing 04:18:38 90fddbff2cd9: Preparing 04:18:38 8d93f09ce20d: Preparing 04:18:38 63ca1fbb43ae: Preparing 04:18:38 7ee3cf0f7243: Layer already exists 04:18:38 0299f90a30af: Layer already exists 04:18:38 90fddbff2cd9: Layer already exists 04:18:38 8d93f09ce20d: Layer already exists 04:18:38 864f3709579a: Layer already exists 04:18:38 63ca1fbb43ae: Layer already exists 04:18:38 4.0.0-dev.1: digest: sha256:76e986e803f69771032988f090ba3b0ff6b455cb5aeeab6364de513366c3e0e9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:18:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:18:39 7ee3cf0f7243: Preparing 04:18:39 0299f90a30af: Preparing 04:18:39 864f3709579a: Preparing 04:18:39 90fddbff2cd9: Preparing 04:18:39 8d93f09ce20d: Preparing 04:18:39 63ca1fbb43ae: Preparing 04:18:39 63ca1fbb43ae: Waiting 04:18:39 864f3709579a: Layer already exists 04:18:39 8d93f09ce20d: Layer already exists 04:18:39 0299f90a30af: Layer already exists 04:18:39 7ee3cf0f7243: Layer already exists 04:18:39 90fddbff2cd9: Layer already exists 04:18:39 63ca1fbb43ae: Layer already exists 04:18:39 5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1: digest: sha256:76e986e803f69771032988f090ba3b0ff6b455cb5aeeab6364de513366c3e0e9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:18:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:18:40 7ee3cf0f7243: Preparing 04:18:40 0299f90a30af: Preparing 04:18:40 864f3709579a: Preparing 04:18:40 90fddbff2cd9: Preparing 04:18:40 8d93f09ce20d: Preparing 04:18:40 63ca1fbb43ae: Preparing 04:18:40 864f3709579a: Layer already exists 04:18:40 7ee3cf0f7243: Layer already exists 04:18:40 90fddbff2cd9: Layer already exists 04:18:40 8d93f09ce20d: Layer already exists 04:18:40 0299f90a30af: Layer already exists 04:18:40 63ca1fbb43ae: Layer already exists 04:18:40 main: digest: sha256:76e986e803f69771032988f090ba3b0ff6b455cb5aeeab6364de513366c3e0e9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:18:40 ===================================================== [Pipeline] echo 04:18:40 taggedImages: 04:18:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131 04:18:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:18:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4.0.0-dev.1 04:18:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:18:40 - 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 04:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:40 04:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:41 latest: Pulling from edgex-lftools-log-publisher 04:18:41 5eb5b503b376: Pulling fs layer 04:18:41 5c69ac0246d0: Pulling fs layer 04:18:41 ec43610c2a17: Pulling fs layer 04:18:41 3a2ae6a8a46f: Pulling fs layer 04:18:41 33b1e0a273af: Pulling fs layer 04:18:41 5d3b04190fa2: Pulling fs layer 04:18:41 2f39f015ded8: Pulling fs layer 04:18:41 33b1e0a273af: Waiting 04:18:41 5d3b04190fa2: Waiting 04:18:41 2f39f015ded8: Waiting 04:18:41 3a2ae6a8a46f: Waiting 04:18:41 5c69ac0246d0: Download complete 04:18:41 3a2ae6a8a46f: Download complete 04:18:41 33b1e0a273af: Verifying Checksum 04:18:41 33b1e0a273af: Download complete 04:18:41 5d3b04190fa2: Download complete 04:18:41 ec43610c2a17: Verifying Checksum 04:18:41 ec43610c2a17: Download complete 04:18:41 5eb5b503b376: Verifying Checksum 04:18:41 5eb5b503b376: Download complete 04:18:42 2f39f015ded8: Download complete 04:18:42 5eb5b503b376: Pull complete 04:18:42 5c69ac0246d0: Pull complete 04:18:43 ec43610c2a17: Pull complete 04:18:43 3a2ae6a8a46f: Pull complete 04:18:43 33b1e0a273af: Pull complete 04:18:43 5d3b04190fa2: Pull complete 04:18:47 2f39f015ded8: Pull complete 04:18:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:18:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:47 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:18:47 $ 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 04:18:52 $ docker top 5328ac0466565a9be80c65416bcea7e25283994e14c2dd34c073de33f386bea9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:53 ---> job-cost.sh 04:18:53 lf-activate-venv: SKIPPING 04:18:53 INFO: No Stack... 04:18:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:53 INFO: Archiving Costs [Pipeline] sh 04:18:53 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:18:53 + cut -d, -f6 [Pipeline] lock 04:18:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] 04:18:53 Resource [jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] did not exist. Created. 04:18:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:54 + echo total: 0.2199999988079071 [Pipeline] stash 04:18:54 Stashed 1 file(s) [Pipeline] } 04:18:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:54 $ docker stop --time=1 5328ac0466565a9be80c65416bcea7e25283994e14c2dd34c073de33f386bea9 04:18:55 $ docker rm -f --volumes 5328ac0466565a9be80c65416bcea7e25283994e14c2dd34c073de33f386bea9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:19:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24073 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:19:29 Running in /w/workspace/device-onvif-camera/210 [Pipeline] { [Pipeline] checkout 04:19:32 The recommended git tool is: git 04:19:37 using credential edgex-jenkins-ssh 04:19:37 Cloning the remote Git repository 04:19:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:19:37 > git init /w/workspace/device-onvif-camera/210 # timeout=10 04:19:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:19:38 > git --version # timeout=10 04:19:38 > git --version # 'git version 2.25.1' 04:19:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:19:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:42 Avoid second fetch 04:19:42 Checking out Revision 5a55ed7656ccfe987556a747055649824b1de131 (main) 04:19:42 > git config core.sparsecheckout # timeout=10 04:19:42 > git checkout -f 5a55ed7656ccfe987556a747055649824b1de131 # timeout=10 04:19:43 Commit message: "Merge pull request #469 from weichou1229/v4-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:47 Dload Upload Total Spent Left Speed 04:19:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 04:19:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:19:48 + sudo tee /etc/docker/daemon.new 04:19:48 { 04:19:48 "registry-mirrors": [ 04:19:48 "https://nexus3.edgexfoundry.org:10001" 04:19:48 ], 04:19:48 "bip": "10.250.0.254/24", 04:19:48 "hosts": [ 04:19:48 "tcp://0.0.0.0:5555", 04:19:48 "unix:///var/run/docker.sock" 04:19:48 ], 04:19:48 "mtu": 1458, 04:19:48 "selinux-enabled": true, 04:19:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:48 } [Pipeline] sh 04:19:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:19:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:07 provisioning config files... 04:20:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/210@tmp/config50633019403435636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:08 ---> ****-login.sh 04:20:08 nexus3.edgexfoundry.org:10001 04:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:08 Configure a credential helper to remove this warning. See 04:20:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:08 04:20:08 Login Succeeded 04:20:08 nexus3.edgexfoundry.org:10002 04:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:09 Configure a credential helper to remove this warning. See 04:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:09 04:20:09 Login Succeeded 04:20:09 nexus3.edgexfoundry.org:10003 04:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:09 Configure a credential helper to remove this warning. See 04:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:09 04:20:09 Login Succeeded 04:20:09 nexus3.edgexfoundry.org:10004 04:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:09 Configure a credential helper to remove this warning. See 04:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:09 04:20:09 Login Succeeded 04:20:09 ****.io 04:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:20:10 Configure a credential helper to remove this warning. See 04:20:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:20:10 04:20:10 Login Succeeded 04:20:10 ---> ****-login.sh ends [Pipeline] } 04:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:20:10 ========================================================= 04:20:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:20:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:11 + 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 . 04:20:11 Sending build context to Docker daemon 21.82MB 04:20:11 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 04:20:11 Step 2/13 : FROM ${BASE} AS builder 04:20:12 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:20:12 cf04c63912e1: Pulling fs layer 04:20:12 55b35a11ae5e: Pulling fs layer 04:20:12 a37a00ec5f00: Pulling fs layer 04:20:12 50b3750afda1: Pulling fs layer 04:20:12 4f4fb700ef54: Pulling fs layer 04:20:12 80978eb59214: Pulling fs layer 04:20:12 c9f46d7d2bd2: Pulling fs layer 04:20:12 c5a475d317c9: Pulling fs layer 04:20:12 4f4fb700ef54: Waiting 04:20:12 80978eb59214: Waiting 04:20:12 c9f46d7d2bd2: Waiting 04:20:12 c5a475d317c9: Waiting 04:20:12 55b35a11ae5e: Download complete 04:20:12 50b3750afda1: Verifying Checksum 04:20:12 50b3750afda1: Download complete 04:20:12 4f4fb700ef54: Verifying Checksum 04:20:12 4f4fb700ef54: Download complete 04:20:12 80978eb59214: Verifying Checksum 04:20:12 80978eb59214: Download complete 04:20:12 cf04c63912e1: Verifying Checksum 04:20:12 cf04c63912e1: Download complete 04:20:12 c5a475d317c9: Verifying Checksum 04:20:12 c5a475d317c9: Download complete 04:20:13 cf04c63912e1: Pull complete 04:20:13 55b35a11ae5e: Pull complete 04:20:14 a37a00ec5f00: Verifying Checksum 04:20:14 a37a00ec5f00: Download complete 04:20:15 c9f46d7d2bd2: Verifying Checksum 04:20:15 c9f46d7d2bd2: Download complete 04:20:30 a37a00ec5f00: Pull complete 04:20:30 50b3750afda1: Pull complete 04:20:30 4f4fb700ef54: Pull complete 04:20:30 80978eb59214: Pull complete 04:20:38 c9f46d7d2bd2: Pull complete 04:20:38 c5a475d317c9: Pull complete 04:20:38 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:20:38 ---> be29e6b0f0d4 04:20:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:20:39 ---> Running in 23ed78a3278a 04:20:40 Removing intermediate container 23ed78a3278a 04:20:40 ---> ee46a031770b 04:20:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:20:40 ---> Running in 24aa1976c686 04:20:40 Removing intermediate container 24aa1976c686 04:20:40 ---> 4fc940ecd88a 04:20:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:20:40 ---> Running in ff515d7c5551 04:20:40 Removing intermediate container ff515d7c5551 04:20:40 ---> e25f12c42838 04:20:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:20:40 ---> Running in 15d13a4d158a 04:20:41 Removing intermediate container 15d13a4d158a 04:20:41 ---> 67964dd34a1f 04:20:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:20:41 ---> Running in a6158204396f 04:20:41 Removing intermediate container a6158204396f 04:20:41 ---> 335ff38f969b 04:20:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:20:41 ---> Running in 81c9523c8195 04:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:20:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:20:44 OK: 238 MiB in 54 packages 04:20:45 Removing intermediate container 81c9523c8195 04:20:45 ---> 777329f37b30 04:20:45 Step 9/13 : WORKDIR /device-onvif-camera 04:20:45 ---> Running in ebb613258e49 04:20:46 Removing intermediate container ebb613258e49 04:20:46 ---> e6d56c0111fd 04:20:46 Step 10/13 : COPY go.mod vendor* ./ 04:20:46 ---> 6ad19ff102ad 04:20:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:46 ---> Running in 48ffc0710510 04:22:53 Removing intermediate container 48ffc0710510 04:22:53 ---> ca02ecd6c384 04:22:53 Step 12/13 : COPY . . 04:22:53 ---> 2b4d5945118a 04:22:53 Step 13/13 : RUN ${MAKE} 04:22:53 ---> Running in d00f115e83b7 04:22:53 noop 04:22:53 Removing intermediate container d00f115e83b7 04:22:53 ---> 17e19f11e4c8 04:22:53 Successfully built 17e19f11e4c8 04:22:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:53 + docker inspect -f . ci-base-image-arm64 04:22:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:54 prd-ubuntu20.04-docker-arm64-4c-16g-24073 does not seem to be running inside a container 04:22:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/210 -v /w/workspace/device-onvif-camera/210:/w/workspace/device-onvif-camera/210:rw,z -v /w/workspace/device-onvif-camera/210@tmp:/w/workspace/device-onvif-camera/210@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 04:22:55 $ docker top 11daa82884082c5cb7402ee2ee3eda68a6f7882b4d3e97a010e6e680a0fd523f -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:56 + go version 04:22:56 go version go1.23.2 linux/arm64 [Pipeline] } 04:22:56 $ docker stop --time=1 11daa82884082c5cb7402ee2ee3eda68a6f7882b4d3e97a010e6e680a0fd523f 04:22:57 $ docker rm -f --volumes 11daa82884082c5cb7402ee2ee3eda68a6f7882b4d3e97a010e6e680a0fd523f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:58 + docker inspect -f . ci-base-image-arm64 04:22:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:58 prd-ubuntu20.04-docker-arm64-4c-16g-24073 does not seem to be running inside a container 04:22:58 $ 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/210 -v /w/workspace/device-onvif-camera/210:/w/workspace/device-onvif-camera/210:rw,z -v /w/workspace/device-onvif-camera/210@tmp:/w/workspace/device-onvif-camera/210@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 04:22:59 $ docker top 57027d2f69947d958ccae995d3137baa298d5f2f46ee26cfa47053aa72b02295 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/210 [Pipeline] fileExists [Pipeline] sh 04:23:01 + make test 04:23:01 go test ./... -coverprofile=coverage.out ./... 04:23:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:26:59 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 04:26:59 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 04:27:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.185s coverage: 31.4% of statements 04:27:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.571s coverage: 86.5% of statements 04:27:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:27:20 go vet ./... 04:28:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:16 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:28:16 $ docker stop --time=1 57027d2f69947d958ccae995d3137baa298d5f2f46ee26cfa47053aa72b02295 04:28:18 $ docker rm -f --volumes 57027d2f69947d958ccae995d3137baa298d5f2f46ee26cfa47053aa72b02295 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:20 Warning: overwriting stash ‘coverage-report’ 04:28:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:21 + ls -al . 04:28:21 total 324 04:28:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:23 . 04:28:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:19 .. 04:28:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:19 .git 04:28:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:19 .github 04:28:21 -rw-rw-r-- 1 jenkins jenkins 493 Oct 30 04:19 .gitignore 04:28:21 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 04:19 .golangci.yml 04:28:21 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 30 04:19 Attribution.txt 04:28:21 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 30 04:19 CHANGELOG.md 04:28:21 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 30 04:19 Dockerfile 04:28:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 04:19 GOVERNANCE.md 04:28:21 -rw-rw-r-- 1 jenkins jenkins 739 Oct 30 04:19 Jenkinsfile 04:28:21 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 30 04:19 LICENSE 04:28:21 -rw-rw-r-- 1 jenkins jenkins 3420 Oct 30 04:19 Makefile 04:28:21 -rw-rw-r-- 1 jenkins jenkins 625 Oct 30 04:19 OWNERS.md 04:28:21 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 30 04:19 README.md 04:28:21 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 04:15 VERSION 04:28:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:19 bin 04:28:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:19 cmd 04:28:21 -rw-r--r-- 1 jenkins jenkins 92292 Oct 30 04:27 coverage.out 04:28:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:19 doc 04:28:21 -rw-rw-r-- 1 jenkins jenkins 7296 Oct 30 04:19 go.mod 04:28:21 -rw-rw-r-- 1 jenkins jenkins 100902 Oct 30 04:19 go.sum 04:28:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:19 internal 04:28:21 -rw-rw-r-- 1 jenkins jenkins 236 Oct 30 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:21 + 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=5a55ed7656ccfe987556a747055649824b1de131 --label arch=arm64 --label version=4.0.0-dev.1 . 04:28:22 Sending build context to Docker daemon 21.91MB 04:28:22 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 04:28:22 Step 2/27 : FROM ${BASE} AS builder 04:28:22 ---> 17e19f11e4c8 04:28:22 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:28:22 ---> Running in f83e8c3b3b49 04:28:23 Removing intermediate container f83e8c3b3b49 04:28:23 ---> 6d5305f45f87 04:28:23 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:23 ---> Running in 5a1ff82b671c 04:28:23 Removing intermediate container 5a1ff82b671c 04:28:23 ---> 11c7739e6c3a 04:28:23 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:28:23 ---> Running in eef49bd5e0a6 04:28:23 Removing intermediate container eef49bd5e0a6 04:28:23 ---> f287f83b5eaf 04:28:23 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:28:23 ---> Running in b0b06b04a54b 04:28:24 Removing intermediate container b0b06b04a54b 04:28:24 ---> 1721b62742a3 04:28:24 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:28:24 ---> Running in f5cba45f5e7e 04:28:24 Removing intermediate container f5cba45f5e7e 04:28:24 ---> 3af31d224a55 04:28:24 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:24 ---> Running in aa4a4bdbc930 04:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:28:27 OK: 238 MiB in 54 packages 04:28:28 Removing intermediate container aa4a4bdbc930 04:28:28 ---> 16f9ae9b41a0 04:28:28 Step 9/27 : WORKDIR /device-onvif-camera 04:28:28 ---> Running in d41f61564857 04:28:28 Removing intermediate container d41f61564857 04:28:28 ---> b81bc0e94b9a 04:28:28 Step 10/27 : COPY go.mod vendor* ./ 04:28:29 ---> ede8f56bc355 04:28:29 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:29 ---> Running in 29fcd2b20738 04:28:32 Removing intermediate container 29fcd2b20738 04:28:32 ---> 9caac2d466f7 04:28:32 Step 12/27 : COPY . . 04:28:33 ---> 2ac7d6ac3f9d 04:28:33 Step 13/27 : RUN ${MAKE} 04:28:33 ---> Running in dcecadaf84dc 04:28:34 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:32:11 Removing intermediate container dcecadaf84dc 04:32:11 ---> da78a7864627 04:32:11 Step 14/27 : FROM alpine:3.20 04:32:11 3.20: Pulling from library/alpine 04:32:11 cf04c63912e1: Already exists 04:32:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:32:11 Status: Downloaded newer image for alpine:3.20 04:32:11 ---> c157a85ed455 04:32:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:32:11 ---> Running in 3a457291df55 04:32:11 Removing intermediate container 3a457291df55 04:32:11 ---> bbd351e66680 04:32:11 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:32:11 ---> Running in 62d56434b410 04:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:32:11 (1/1) Installing dumb-init (1.2.5-r3) 04:32:11 Executing busybox-1.36.1-r29.trigger 04:32:11 OK: 9 MiB in 15 packages 04:32:12 Removing intermediate container 62d56434b410 04:32:12 ---> d03f00b9db3e 04:32:12 Step 17/27 : RUN apk --no-cache upgrade 04:32:12 ---> Running in 893f4ef6cab4 04:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:32:15 Upgrading critical system libraries and apk-tools: 04:32:15 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:32:15 Executing busybox-1.36.1-r29.trigger 04:32:15 Continuing the upgrade transaction with new apk-tools: 04:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:32:17 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:32:17 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:32:17 OK: 9 MiB in 15 packages 04:32:18 Removing intermediate container 893f4ef6cab4 04:32:18 ---> 7c460d69a603 04:32:18 Step 18/27 : WORKDIR / 04:32:18 ---> Running in af65fe89eaf7 04:32:18 Removing intermediate container af65fe89eaf7 04:32:18 ---> e207f116d897 04:32:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:32:21 ---> 97bdb73a7b22 04:32:21 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:32:22 ---> 739cfc8a016a 04:32:22 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:32:23 ---> ad79f000dbfa 04:32:23 Step 22/27 : EXPOSE 59984 04:32:23 ---> Running in 3198352d82c6 04:32:23 Removing intermediate container 3198352d82c6 04:32:23 ---> 782ae52b73fd 04:32:23 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:32:23 ---> Running in f3c126db0b88 04:32:23 Removing intermediate container f3c126db0b88 04:32:23 ---> d553466b2960 04:32:23 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 04:32:23 ---> Running in 069e46da8442 04:32:23 Removing intermediate container 069e46da8442 04:32:23 ---> 813de31eb490 04:32:23 Step 25/27 : LABEL arch=arm64 04:32:23 ---> Running in 21b72d99064a 04:32:23 Removing intermediate container 21b72d99064a 04:32:23 ---> 90c722b828c2 04:32:23 Step 26/27 : LABEL git_sha=5a55ed7656ccfe987556a747055649824b1de131 04:32:24 ---> Running in 1fa118a26522 04:32:24 Removing intermediate container 1fa118a26522 04:32:24 ---> 969ebcc13f3b 04:32:24 Step 27/27 : LABEL version=4.0.0-dev.1 04:32:24 ---> Running in cdc4434079f7 04:32:24 Removing intermediate container cdc4434079f7 04:32:24 ---> 6d69d73cd9d3 04:32:24 [Warning] One or more build-args [ARCH] were not consumed 04:32:24 Successfully built 6d69d73cd9d3 04:32:24 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 04:32:24 provisioning config files... 04:32:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/210@tmp/config2451331246347177299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:25 ---> ****-login.sh 04:32:25 nexus3.edgexfoundry.org:10001 04:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:32:25 Configure a credential helper to remove this warning. See 04:32:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:32:25 04:32:25 Login Succeeded 04:32:25 nexus3.edgexfoundry.org:10002 04:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:32:25 Configure a credential helper to remove this warning. See 04:32:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:32:25 04:32:25 Login Succeeded 04:32:25 nexus3.edgexfoundry.org:10003 04:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:32:26 Configure a credential helper to remove this warning. See 04:32:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:32:26 04:32:26 Login Succeeded 04:32:26 nexus3.edgexfoundry.org:10004 04:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:32:26 Configure a credential helper to remove this warning. See 04:32:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:32:26 04:32:26 Login Succeeded 04:32:26 ****.io 04:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:32:27 Configure a credential helper to remove this warning. See 04:32:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:32:27 04:32:27 Login Succeeded 04:32:27 ---> ****-login.sh ends [Pipeline] } 04:32:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:32:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:32:27 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:32:27 5a55ed7656ccfe987556a747055649824b1de131 04:32:27 latest 04:32:27 4.0.0-dev.1 04:32:27 5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:32:27 main 04:32:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131 04:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:32:27 eac77b1e9ca1: Preparing 04:32:27 78b9f30e097f: Preparing 04:32:27 aad1d9492bee: Preparing 04:32:27 904c0682d929: Preparing 04:32:27 05208b0b21f0: Preparing 04:32:27 16113d51b718: Preparing 04:32:27 16113d51b718: Waiting 04:32:28 05208b0b21f0: Pushed 04:32:28 eac77b1e9ca1: Pushed 04:32:28 78b9f30e097f: Pushed 04:32:28 16113d51b718: Layer already exists 04:32:29 904c0682d929: Pushed 04:32:39 aad1d9492bee: Pushed 04:32:39 5a55ed7656ccfe987556a747055649824b1de131: digest: sha256:dd231fa74a7d9db28a6a79c7c373fbd7ef3d71499ebabb7c8f54d0cfed7081ff size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:40 + 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 04:32:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:32:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:32:40 eac77b1e9ca1: Preparing 04:32:40 78b9f30e097f: Preparing 04:32:40 aad1d9492bee: Preparing 04:32:40 904c0682d929: Preparing 04:32:40 05208b0b21f0: Preparing 04:32:40 16113d51b718: Preparing 04:32:40 16113d51b718: Waiting 04:32:40 aad1d9492bee: Layer already exists 04:32:40 eac77b1e9ca1: Layer already exists 04:32:40 904c0682d929: Layer already exists 04:32:40 05208b0b21f0: Layer already exists 04:32:40 78b9f30e097f: Layer already exists 04:32:40 16113d51b718: Layer already exists 04:32:40 latest: digest: sha256:dd231fa74a7d9db28a6a79c7c373fbd7ef3d71499ebabb7c8f54d0cfed7081ff size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.1 04:32:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:32:41 eac77b1e9ca1: Preparing 04:32:41 78b9f30e097f: Preparing 04:32:41 aad1d9492bee: Preparing 04:32:41 904c0682d929: Preparing 04:32:41 05208b0b21f0: Preparing 04:32:41 16113d51b718: Preparing 04:32:41 16113d51b718: Waiting 04:32:41 aad1d9492bee: Layer already exists 04:32:41 78b9f30e097f: Layer already exists 04:32:41 904c0682d929: Layer already exists 04:32:41 05208b0b21f0: Layer already exists 04:32:41 eac77b1e9ca1: Layer already exists 04:32:41 16113d51b718: Layer already exists 04:32:41 4.0.0-dev.1: digest: sha256:dd231fa74a7d9db28a6a79c7c373fbd7ef3d71499ebabb7c8f54d0cfed7081ff size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:32:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:32:42 eac77b1e9ca1: Preparing 04:32:42 78b9f30e097f: Preparing 04:32:42 aad1d9492bee: Preparing 04:32:42 904c0682d929: Preparing 04:32:42 05208b0b21f0: Preparing 04:32:42 16113d51b718: Preparing 04:32:42 16113d51b718: Waiting 04:32:42 aad1d9492bee: Layer already exists 04:32:42 78b9f30e097f: Layer already exists 04:32:42 904c0682d929: Layer already exists 04:32:42 05208b0b21f0: Layer already exists 04:32:42 eac77b1e9ca1: Layer already exists 04:32:42 16113d51b718: Layer already exists 04:32:42 5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1: digest: sha256:dd231fa74a7d9db28a6a79c7c373fbd7ef3d71499ebabb7c8f54d0cfed7081ff size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:42 + 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 04:32:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:32:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:32:42 eac77b1e9ca1: Preparing 04:32:42 78b9f30e097f: Preparing 04:32:42 aad1d9492bee: Preparing 04:32:42 904c0682d929: Preparing 04:32:42 05208b0b21f0: Preparing 04:32:42 16113d51b718: Preparing 04:32:42 16113d51b718: Waiting 04:32:42 eac77b1e9ca1: Layer already exists 04:32:42 78b9f30e097f: Layer already exists 04:32:42 aad1d9492bee: Layer already exists 04:32:42 904c0682d929: Layer already exists 04:32:42 05208b0b21f0: Layer already exists 04:32:42 16113d51b718: Layer already exists 04:32:43 main: digest: sha256:dd231fa74a7d9db28a6a79c7c373fbd7ef3d71499ebabb7c8f54d0cfed7081ff size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:32:43 ===================================================== [Pipeline] echo 04:32:43 taggedImages: 04:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131 04:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4.0.0-dev.1 04:32:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5a55ed7656ccfe987556a747055649824b1de131-4.0.0-dev.1 04:32:43 - 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 04:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:43 04:32:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:43 arm64: Pulling from edgex-lftools-log-publisher 04:32:43 8998bd30e6a1: Pulling fs layer 04:32:43 04944245beec: Pulling fs layer 04:32:43 699f458cf7ca: Pulling fs layer 04:32:43 765212b225bb: Pulling fs layer 04:32:43 f23df028b6ca: Pulling fs layer 04:32:43 d65c8cfc05b1: Pulling fs layer 04:32:43 2437ff75d9bd: Pulling fs layer 04:32:43 f23df028b6ca: Waiting 04:32:43 d65c8cfc05b1: Waiting 04:32:43 2437ff75d9bd: Waiting 04:32:43 765212b225bb: Waiting 04:32:44 04944245beec: Verifying Checksum 04:32:44 04944245beec: Download complete 04:32:44 765212b225bb: Verifying Checksum 04:32:44 765212b225bb: Download complete 04:32:44 f23df028b6ca: Download complete 04:32:44 d65c8cfc05b1: Verifying Checksum 04:32:44 d65c8cfc05b1: Download complete 04:32:44 699f458cf7ca: Verifying Checksum 04:32:44 699f458cf7ca: Download complete 04:32:44 8998bd30e6a1: Download complete 04:32:47 2437ff75d9bd: Verifying Checksum 04:32:47 2437ff75d9bd: Download complete 04:32:49 8998bd30e6a1: Pull complete 04:32:49 04944245beec: Pull complete 04:32:51 699f458cf7ca: Pull complete 04:32:51 765212b225bb: Pull complete 04:32:52 f23df028b6ca: Pull complete 04:32:52 d65c8cfc05b1: Pull complete 04:33:10 2437ff75d9bd: Pull complete 04:33:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:11 prd-ubuntu20.04-docker-arm64-4c-16g-24073 does not seem to be running inside a container 04:33:11 $ 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/210 -v /w/workspace/device-onvif-camera/210:/w/workspace/device-onvif-camera/210:rw,z -v /w/workspace/device-onvif-camera/210@tmp:/w/workspace/device-onvif-camera/210@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 04:33:14 $ docker top 18a0d2d22a777769f198c85eb30887fa4f949bffdff1ea51da01e62c1ec499d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:14 ---> job-cost.sh 04:33:14 lf-activate-venv: SKIPPING 04:33:14 INFO: No Stack... 04:33:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:33:16 INFO: Archiving Costs [Pipeline] sh 04:33:17 + cat /w/workspace/device-onvif-camera/210/archives/cost.csv 04:33:17 + cut -d, -f6 [Pipeline] lock 04:33:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] 04:33:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] did not exist. Created. 04:33:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:33:18 /w/workspace/device-onvif-camera/210@tmp/durable-88f98e30/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:33:18 + echo total: 0.10999999940395355 [Pipeline] stash 04:33:18 Warning: overwriting stash ‘stack-cost’ 04:33:18 Stashed 1 file(s) [Pipeline] } 04:33:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-210-stack-cost] [Pipeline] // lock [Pipeline] } 04:33:18 $ docker stop --time=1 18a0d2d22a777769f198c85eb30887fa4f949bffdff1ea51da01e62c1ec499d5 04:33:20 $ docker rm -f --volumes 18a0d2d22a777769f198c85eb30887fa4f949bffdff1ea51da01e62c1ec499d5 [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 04:33:20 provisioning config files... 04:33:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8260719934524849117tmp [Pipeline] { [Pipeline] sh 04:33:21 + set +x 04:33:21 + + curl -s https://codecov.io/bash 04:33:21 bash -s -- 04:33:21 04:33:21 _____ _ 04:33:21 / ____| | | 04:33:21 | | ___ __| | ___ ___ _____ __ 04:33:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:33:21 | |___| (_) | (_| | __/ (_| (_) \ V / 04:33:21 \_____\___/ \__,_|\___|\___\___/ \_/ 04:33:21 Bash-1.0.6 04:33:21 04:33:21 04:33:21 ==> git version 2.25.1 found 04:33:21 ==> 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 04:33:21 Release-Date: 2020-01-08 04:33:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:33:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:33:21 ==> Jenkins CI detected. 04:33:21 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:33:21 project root: . 04:33:21 --> token set from env 04:33:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:33:21 ==> Running gcov in . (disable via -X gcov) 04:33:21 ==> Python coveragepy not found 04:33:21 ==> Searching for coverage reports in: 04:33:21 + . 04:33:21 -> Found 1 reports 04:33:21 ==> Detecting git/mercurial file structure 04:33:21 ==> Reading reports 04:33:21 + ./coverage.out bytes=92292 04:33:21 ==> Appending adjustments 04:33:21 https://docs.codecov.io/docs/fixing-reports 04:33:21 + Found adjustments 04:33:21 ==> Gzipping contents 04:33:21 12K /tmp/codecov.IpBAfQ.gz 04:33:21 ==> Uploading reports 04:33:21 url: https://codecov.io 04:33:21 query: branch=main&commit=5a55ed7656ccfe987556a747055649824b1de131&build=210&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F210%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:33:21 -> Pinging Codecov 04:33:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5a55ed7656ccfe987556a747055649824b1de131&build=210&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F210%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:33:21 -> Uploading to 04:33:21 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/5a55ed7656ccfe987556a747055649824b1de131/7d9516b3-bdf8-44f1-a070-d2f1a17c8176.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T043321Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f8580991d6a5f98cd0f3df75dfb1ec8a0e951b73ed3db86dfa17595b21e2a56d 04:33:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:33:21 Dload Upload Total Spent Left Speed 04:33:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 48570 --:--:-- --:--:-- --:--:-- 48570 04:33:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] } 04:33:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:33:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:33:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:33:22 04:33:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:33:22 latest: Pulling from edgex-devops/edgex-snyk-go 04:33:22 43c4264eed91: Already exists 04:33:22 4cc291be95ef: Already exists 04:33:22 2ac1f1163629: Already exists 04:33:22 5c3c966382ef: Already exists 04:33:22 4f4fb700ef54: Already exists 04:33:22 d9c7d2e4e75e: Pulling fs layer 04:33:22 9c3e1370e548: Pulling fs layer 04:33:22 d9c7d2e4e75e: Download complete 04:33:23 d9c7d2e4e75e: Pull complete 04:33:23 9c3e1370e548: Verifying Checksum 04:33:23 9c3e1370e548: Download complete 04:33:26 9c3e1370e548: Pull complete 04:33:26 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 04:33:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:33:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:27 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:33:27 $ 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 04:33:29 $ docker top 285e963e088c7aa3340c67ec7cb4d824a30912f3aacd506a230f975f348760ac -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:29 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 04:33:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:33:29 + set -o pipefail 04:33:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:33:37 04:33:37 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:33:37 04:33:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/eec6db63-76db-4a60-a964-52227ba1145d 04:33:37 04:33:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:33:37 04:33:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:33:37 [Pipeline] } 04:33:38 $ docker stop --time=1 285e963e088c7aa3340c67ec7cb4d824a30912f3aacd506a230f975f348760ac 04:33:43 $ docker rm -f --volumes 285e963e088c7aa3340c67ec7cb4d824a30912f3aacd506a230f975f348760ac [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 04:33:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:43 provisioning config files... 04:33:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12757512087241689161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:44 --> edgex-publish-swagger.sh 04:33:44 === Publish doc/openapi/v3 API === 04:33:44 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:33:44 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:33:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:33:44 Dload Upload Total Spent Left Speed 04:33:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 333 1037k --:--:-- --:--:-- --:--:-- 1035k 100 485k 100 156 100 485k 333 1037k --:--:-- --:--:-- --:--:-- 1035k 04:33:44 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:33:44 [Pipeline] } 04:33:44 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 04:33:44 + git log --format=format:%s -1 5a55ed7656ccfe987556a747055649824b1de131 [Pipeline] sh 04:33:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:45 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:33:45 $ 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 04:33:46 $ docker top 27d98392826d7632d769535cddd9afe92cb808b568b23aa00e95c23d215dac68 -eo pid,comm 04:33:46 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). 04:33:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:46 [ssh-agent] Looking for ssh-agent implementation... 04:33:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:46 $ docker exec 27d98392826d7632d769535cddd9afe92cb808b568b23aa00e95c23d215dac68 ssh-agent 04:33:46 SSH_AUTH_SOCK=/tmp/ssh-sAiEBjegUG6f/agent.32 04:33:46 SSH_AGENT_PID=38 04:33:46 Running ssh-add (command line suppressed) 04:33:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12584802972241465728.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12584802972241465728.key) 04:33:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:46 + git semver tag 04:33:47 2024-10-30 04:33:46,984 [run_tag] DEBUG tag force:False 04:33:47 2024-10-30 04:33:46,984 [check_head_tag] DEBUG check head tag 04:33:47 2024-10-30 04:33:46,985 [execute] INFO git cat-file --batch-check 04:33:47 2024-10-30 04:33:46,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:33:47 2024-10-30 04:33:46,989 [execute] INFO git cat-file --batch 04:33:47 2024-10-30 04:33:46,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:33:47 2024-10-30 04:33:47,004 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:33:47 2024-10-30 04:33:47,004 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 04:33:47 2024-10-30 04:33:47,004 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:33:47 2024-10-30 04:33:47,009 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:33:47 4.0.0-dev.1 [Pipeline] } 04:33:47 $ docker exec --env ******** --env ******** 27d98392826d7632d769535cddd9afe92cb808b568b23aa00e95c23d215dac68 ssh-agent -k 04:33:47 unset SSH_AUTH_SOCK; 04:33:47 unset SSH_AGENT_PID; 04:33:47 echo Agent pid 38 killed; 04:33:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:47 + git semver [Pipeline] } 04:33:47 $ docker stop --time=1 27d98392826d7632d769535cddd9afe92cb808b568b23aa00e95c23d215dac68 04:33:49 $ docker rm -f --volumes 27d98392826d7632d769535cddd9afe92cb808b568b23aa00e95c23d215dac68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:49 04:33:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:49 0.23.1-centos7: Pulling from edgex-lftools 04:33:49 ab5ef0e58194: Pulling fs layer 04:33:49 9712f1f96733: Pulling fs layer 04:33:49 63f879dbbcfc: Pulling fs layer 04:33:49 0d9ebad4ef96: Pulling fs layer 04:33:49 e9a5061849ea: Pulling fs layer 04:33:49 d747dcd14b5f: Pulling fs layer 04:33:49 2de7ff778b66: Pulling fs layer 04:33:49 0d9ebad4ef96: Waiting 04:33:49 d747dcd14b5f: Waiting 04:33:49 e9a5061849ea: Waiting 04:33:49 2de7ff778b66: Waiting 04:33:49 9712f1f96733: Verifying Checksum 04:33:49 9712f1f96733: Download complete 04:33:50 63f879dbbcfc: Verifying Checksum 04:33:50 63f879dbbcfc: Download complete 04:33:50 ab5ef0e58194: Verifying Checksum 04:33:50 ab5ef0e58194: Download complete 04:33:50 d747dcd14b5f: Verifying Checksum 04:33:50 d747dcd14b5f: Download complete 04:33:50 e9a5061849ea: Verifying Checksum 04:33:50 e9a5061849ea: Download complete 04:33:50 0d9ebad4ef96: Verifying Checksum 04:33:50 0d9ebad4ef96: Download complete 04:33:50 2de7ff778b66: Verifying Checksum 04:33:50 2de7ff778b66: Download complete 04:33:53 ab5ef0e58194: Pull complete 04:33:53 9712f1f96733: Pull complete 04:33:54 63f879dbbcfc: Pull complete 04:33:57 0d9ebad4ef96: Pull complete 04:33:57 e9a5061849ea: Pull complete 04:33:57 d747dcd14b5f: Pull complete 04:33:58 2de7ff778b66: Pull complete 04:33:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:33:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:58 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:33:58 $ 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 04:34:04 $ docker top 8def673f5a40bf5d2df94c775063e281fa20bd619437fffbac3595feb9fd0fe9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:34:04 provisioning config files... 04:34:04 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7899578915867722915tmp 04:34:04 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11691370351198697950tmp 04:34:04 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4348549730043987529tmp [Pipeline] { [Pipeline] echo 04:34:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:34:04 ---> sigul-configuration.sh 04:34:04 gpg: directory `/root/.gnupg' created 04:34:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:34:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:34:04 gpg: keyring `/root/.gnupg/secring.gpg' created 04:34:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:34:04 gpg: CAST5 encrypted data 04:34:04 gpg: encrypted with 1 passphrase 04:34:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:34:05 + mkdir /home/jenkins 04:34:05 + mkdir /home/jenkins/sigul [Pipeline] sh 04:34:05 + 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 04:34:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:34:05 ---> sigul-install.sh 04:34:05 Sigul already installed; skipping installation. [Pipeline] sh 04:34:05 + git tag --list 04:34:05 v0.0.0 04:34:05 v2.2.0 04:34:05 v2.3.0 04:34:05 v2.3.1 04:34:05 v3.0 04:34:05 v3.0.0 04:34:05 v3.1 04:34:05 v3.1.0 04:34:05 v3.1.0-dev.1 04:34:05 v3.1.0-dev.10 04:34:05 v3.1.0-dev.11 04:34:05 v3.1.0-dev.12 04:34:05 v3.1.0-dev.13 04:34:05 v3.1.0-dev.14 04:34:05 v3.1.0-dev.15 04:34:05 v3.1.0-dev.16 04:34:05 v3.1.0-dev.17 04:34:05 v3.1.0-dev.18 04:34:05 v3.1.0-dev.19 04:34:05 v3.1.0-dev.2 04:34:05 v3.1.0-dev.20 04:34:05 v3.1.0-dev.21 04:34:05 v3.1.0-dev.22 04:34:05 v3.1.0-dev.23 04:34:05 v3.1.0-dev.24 04:34:05 v3.1.0-dev.25 04:34:05 v3.1.0-dev.26 04:34:05 v3.1.0-dev.27 04:34:05 v3.1.0-dev.28 04:34:05 v3.1.0-dev.3 04:34:05 v3.1.0-dev.4 04:34:05 v3.1.0-dev.5 04:34:05 v3.1.0-dev.6 04:34:05 v3.1.0-dev.7 04:34:05 v3.1.0-dev.8 04:34:05 v3.1.0-dev.9 04:34:05 v3.1.1 04:34:05 v3.2.0-dev.1 04:34:05 v3.2.0-dev.10 04:34:05 v3.2.0-dev.11 04:34:05 v3.2.0-dev.12 04:34:05 v3.2.0-dev.13 04:34:05 v3.2.0-dev.14 04:34:05 v3.2.0-dev.15 04:34:05 v3.2.0-dev.16 04:34:05 v3.2.0-dev.17 04:34:05 v3.2.0-dev.18 04:34:05 v3.2.0-dev.19 04:34:05 v3.2.0-dev.2 04:34:05 v3.2.0-dev.20 04:34:05 v3.2.0-dev.21 04:34:05 v3.2.0-dev.22 04:34:05 v3.2.0-dev.23 04:34:05 v3.2.0-dev.3 04:34:05 v3.2.0-dev.4 04:34:05 v3.2.0-dev.5 04:34:05 v3.2.0-dev.6 04:34:05 v3.2.0-dev.7 04:34:05 v3.2.0-dev.8 04:34:05 v3.2.0-dev.9 04:34:05 v4.0.0-dev.1 [Pipeline] sh 04:34:06 + lftools sign git-tag v4.0.0-dev.1 04:34:06 Signing Git tag with Sigul... 04:34:06 Signing v4.0.0-dev.1 [Pipeline] echo 04:34:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:34:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:34:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:34:07 $ docker stop --time=1 8def673f5a40bf5d2df94c775063e281fa20bd619437fffbac3595feb9fd0fe9 04:34:08 $ docker rm -f --volumes 8def673f5a40bf5d2df94c775063e281fa20bd619437fffbac3595feb9fd0fe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:34:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:34:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:09 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:34:09 $ 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 04:34:09 $ docker top 6e9751a6f07203588bf78705c547ef9172771b36685384d21edb982ebe7b0ab1 -eo pid,comm 04:34:09 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). 04:34:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:10 [ssh-agent] Looking for ssh-agent implementation... 04:34:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:10 $ docker exec 6e9751a6f07203588bf78705c547ef9172771b36685384d21edb982ebe7b0ab1 ssh-agent 04:34:10 SSH_AUTH_SOCK=/tmp/ssh-BjEVzUA9vLG0/agent.33 04:34:10 SSH_AGENT_PID=39 04:34:10 Running ssh-add (command line suppressed) 04:34:10 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14083123902171279600.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14083123902171279600.key) 04:34:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:10 + git semver bump pre 04:34:10 2024-10-30 04:34:10,821 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:10 2024-10-30 04:34:10,821 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 04:34:10 2024-10-30 04:34:10,821 [bump_version] DEBUG bumped version:4.0.0-dev.2 04:34:10 2024-10-30 04:34:10,821 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:34:10 2024-10-30 04:34:10,821 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:10 2024-10-30 04:34:10,821 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:10 2024-10-30 04:34:10,823 [execute] INFO git cat-file --batch-check 04:34:10 2024-10-30 04:34:10,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:34:10 2024-10-30 04:34:10,828 [execute] INFO git cat-file --batch 04:34:10 2024-10-30 04:34:10,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:34:10 2024-10-30 04:34:10,834 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:10 4.0.0-dev.2 [Pipeline] } 04:34:10 $ docker exec --env ******** --env ******** 6e9751a6f07203588bf78705c547ef9172771b36685384d21edb982ebe7b0ab1 ssh-agent -k 04:34:11 unset SSH_AUTH_SOCK; 04:34:11 unset SSH_AGENT_PID; 04:34:11 echo Agent pid 39 killed; 04:34:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:11 + git semver [Pipeline] } 04:34:11 $ docker stop --time=1 6e9751a6f07203588bf78705c547ef9172771b36685384d21edb982ebe7b0ab1 04:34:13 $ docker rm -f --volumes 6e9751a6f07203588bf78705c547ef9172771b36685384d21edb982ebe7b0ab1 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:34:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:15 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:34:15 $ 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 04:34:16 $ docker top 92db33743520470455f5c463f561b8a704a5a6a5eeee34ea1fd263354e4ecb6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:16 [ssh-agent] Looking for ssh-agent implementation... 04:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:16 $ docker exec 92db33743520470455f5c463f561b8a704a5a6a5eeee34ea1fd263354e4ecb6c ssh-agent 04:34:16 SSH_AUTH_SOCK=/tmp/ssh-eon9ikE5CcKb/agent.32 04:34:16 SSH_AGENT_PID=38 04:34:16 Running ssh-add (command line suppressed) 04:34:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12046336705968197077.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12046336705968197077.key) 04:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:16 + git semver push 04:34:16 2024-10-30 04:34:16,935 [run_push] DEBUG push 04:34:16 2024-10-30 04:34:16,935 [execute] INFO git cat-file --batch-check 04:34:16 2024-10-30 04:34:16,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:34:16 2024-10-30 04:34:16,938 [execute] INFO git rev-list c076da386aa781a4a9d13594155e77db537fb1f5 -- 04:34:16 2024-10-30 04:34:16,938 [execute] DEBUG Popen(['git', 'rev-list', 'c076da386aa781a4a9d13594155e77db537fb1f5', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:34:16 2024-10-30 04:34:16,946 [execute] INFO git fetch -v origin 04:34:16 2024-10-30 04:34:16,947 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:34:17 2024-10-30 04:34:17,402 [run_push] DEBUG no remote changes detected 04:34:17 2024-10-30 04:34:17,403 [execute] INFO git push origin semver 04:34:17 2024-10-30 04:34:17,403 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:34:18 2024-10-30 04:34:18,089 [run_push] DEBUG push all version tags 04:34:18 2024-10-30 04:34:18,090 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:34:18 2024-10-30 04:34:18,090 [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) 04:34:18 2024-10-30 04:34:18,732 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:18 4.0.0-dev.2 [Pipeline] } 04:34:19 $ docker exec --env ******** --env ******** 92db33743520470455f5c463f561b8a704a5a6a5eeee34ea1fd263354e4ecb6c ssh-agent -k 04:34:19 unset SSH_AUTH_SOCK; 04:34:19 unset SSH_AGENT_PID; 04:34:19 echo Agent pid 38 killed; 04:34:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:19 + git semver [Pipeline] } 04:34:19 $ docker stop --time=1 92db33743520470455f5c463f561b8a704a5a6a5eeee34ea1fd263354e4ecb6c 04:34:20 $ docker rm -f --volumes 92db33743520470455f5c463f561b8a704a5a6a5eeee34ea1fd263354e4ecb6c [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 04:34:21 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:34:21 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:34:21 total 16 04:34:21 drwxr-xr-x 3 root root 4096 Oct 30 04:18 . 04:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 04:34 .. 04:34:21 drwxr-xr-x 2 root root 4096 Oct 30 04:18 cost 04:34:21 -rw-r--r-- 1 root root 91 Oct 30 04:18 cost.csv 04:34:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:34:21 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:34:21 total 16 04:34:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 04:18 . 04:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 04:34 .. 04:34:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 04:18 cost 04:34:21 -rw-r--r-- 1 jenkins jenkins 91 Oct 30 04:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:34:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:34:22 ---> package-listing.sh 04:34:22 ++ facter osfamily 04:34:22 ++ tr '[:upper:]' '[:lower:]' 04:34:23 + OS_FAMILY=debian 04:34:23 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:34:23 + START_PACKAGES=/tmp/packages_start.txt 04:34:23 + END_PACKAGES=/tmp/packages_end.txt 04:34:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:34:23 + PACKAGES=/tmp/packages_start.txt 04:34:23 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:34:23 + PACKAGES=/tmp/packages_end.txt 04:34:23 + case "${OS_FAMILY}" in 04:34:23 + dpkg -l 04:34:23 + grep '^ii' 04:34:23 + '[' -f /tmp/packages_start.txt ']' 04:34:23 + '[' -f /tmp/packages_end.txt ']' 04:34:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:34:23 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:34:23 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:34:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:34:23 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 04:34:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:23 prd-ubuntu20.04-docker-8c-8g-24071 does not seem to be running inside a container 04:34:24 $ 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 04:34:24 $ docker top 7dcec66f756f535dcdbd981105638ba6dc7a404b6e9add8251b137a61847b565 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:24 + touch /tmp/pre-build-complete [Pipeline] sh 04:34:24 + mkdir -p /var/log/sysstat [Pipeline] sh 04:34:25 + ls /var/log/sa-host 04:34:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:25 provisioning config files... 04:34:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13517708642717264501tmp [Pipeline] { [Pipeline] echo 04:34:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:34:25 ---> create-netrc.sh [Pipeline] } 04:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:34:25 ---> python-tools-install.sh [Pipeline] echo 04:34:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:34:26 ---> sudo-logs.sh 04:34:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:34:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:34:26 ---> job-cost.sh 04:34:26 lf-activate-venv: SKIPPING 04:34:26 DEBUG: total: 0.2199999988079071 04:34:26 INFO: Retrieving Stack Cost... 04:34:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:27 INFO: Archiving Costs [Pipeline] echo 04:34:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:34:27 ---> logs-deploy.sh 04:34:27 lf-activate-venv: SKIPPING 04:34:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/210 04:34:27 INFO: archiving workspace using pattern(s): 04:34:28 Archives upload complete. 04:34:28 INFO: archiving logs to Nexus