Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 163d81e496ee931b2d3d9b2549810c1b7a8df380 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-ssh17505389628820301519.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18293095294342097750.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13566676736664422253.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2027716563455572567.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-ssh18307172149799518885.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/v2]] ========================================================= [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.20 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-6234’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6236 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 163d81e496ee931b2d3d9b2549810c1b7a8df380 (main) Commit message: "refactor!: Changed configuration and provision watcher file format to YAML (#281)" > git config core.sparsecheckout # timeout=10 > git checkout -f 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 > git rev-list --no-walk e03c6e991c633265ca57616196638541aa716f8b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:46:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:46:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:46:13 ========================================================= 19:46:13 EdgeX Global Pipelines Version Info 19:46:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:46:14 ------------------- 19:46:14 stable info: 19:46:14 ------------------- 19:46:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:46:14 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:46:14 Message: update stable to v1.0.245 19:46:14 ------------------- 19:46:14 experimental info: 19:46:14 ------------------- 19:46:14 Commited By: **** collab-it+edgex@linuxfoundation.org 19:46:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:46:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 163d81e [Pipeline] echo 19:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:15 provisioning config files... 19:46:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4069842852075669527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:15 ---> docker-login.sh 19:46:15 nexus3.edgexfoundry.org:10001 19:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:17 Configure a credential helper to remove this warning. See 19:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:17 19:46:17 Login Succeeded 19:46:17 nexus3.edgexfoundry.org:10002 19:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:18 Configure a credential helper to remove this warning. See 19:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:18 19:46:18 Login Succeeded 19:46:18 nexus3.edgexfoundry.org:10003 19:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:18 Configure a credential helper to remove this warning. See 19:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:18 19:46:18 Login Succeeded 19:46:18 nexus3.edgexfoundry.org:10004 19:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:18 Configure a credential helper to remove this warning. See 19:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:18 19:46:18 Login Succeeded 19:46:18 docker.io 19:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:18 Configure a credential helper to remove this warning. See 19:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:18 19:46:18 Login Succeeded 19:46:18 ---> docker-login.sh ends [Pipeline] } 19:46:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:46:19 + git rev-list -1 --merges 163d81e496ee931b2d3d9b2549810c1b7a8df380~1..163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] echo 19:46:19 -----------> git rev-list -1 --merges 163d81e496ee931b2d3d9b2549810c1b7a8df380~1..163d81e496ee931b2d3d9b2549810c1b7a8df380 163d81e496ee931b2d3d9b2549810c1b7a8df380 [false] [Pipeline] sh 19:46:19 + git log --format=format:%s -1 163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] echo 19:46:19 ========================================================= 19:46:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:46:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:46:19 + git log --format=format:%s -1 163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] echo 19:46:19 [semverPrep] GIT_COMMIT: 163d81e496ee931b2d3d9b2549810c1b7a8df380, Commit Message: refactor!: Changed configuration and provision watcher file format to YAML (#281) [Pipeline] echo 19:46:19 [semverPrep] This is not a build commit. [Pipeline] sh 19:46:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:46:20 + grep -v github /etc/ssh/ssh_known_hosts 19:46:20 + [ -e /tmp/ssh_known_hosts ] 19:46:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:46:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:46:20 + sudo tee -a /etc/ssh/ssh_known_hosts 19:46:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:46:20 19:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:46:24 0.1.4: Pulling from edgex-devops/py-git-semver 19:46:24 b85a868b505f: Pulling fs layer 19:46:24 e2be974225ed: Pulling fs layer 19:46:24 339a4e72a1f5: Pulling fs layer 19:46:24 988bab9f4d93: Pulling fs layer 19:46:24 1469e6f7b9e6: Pulling fs layer 19:46:24 eaf3925da568: Pulling fs layer 19:46:24 bab4dde63d76: Pulling fs layer 19:46:24 bde34c3a00c8: Pulling fs layer 19:46:24 b352a97aabf1: Pulling fs layer 19:46:24 4872d77fe225: Pulling fs layer 19:46:24 5851b861e8e6: Pulling fs layer 19:46:24 988bab9f4d93: Waiting 19:46:24 bde34c3a00c8: Waiting 19:46:24 1469e6f7b9e6: Waiting 19:46:24 eaf3925da568: Waiting 19:46:24 bab4dde63d76: Waiting 19:46:24 b352a97aabf1: Waiting 19:46:24 4872d77fe225: Waiting 19:46:24 5851b861e8e6: Waiting 19:46:24 e2be974225ed: Verifying Checksum 19:46:24 988bab9f4d93: Verifying Checksum 19:46:24 988bab9f4d93: Download complete 19:46:24 1469e6f7b9e6: Verifying Checksum 19:46:24 1469e6f7b9e6: Download complete 19:46:24 339a4e72a1f5: Verifying Checksum 19:46:24 339a4e72a1f5: Download complete 19:46:24 eaf3925da568: Verifying Checksum 19:46:24 eaf3925da568: Download complete 19:46:24 bde34c3a00c8: Download complete 19:46:24 b352a97aabf1: Verifying Checksum 19:46:24 b352a97aabf1: Download complete 19:46:24 4872d77fe225: Verifying Checksum 19:46:24 4872d77fe225: Download complete 19:46:24 5851b861e8e6: Verifying Checksum 19:46:24 5851b861e8e6: Download complete 19:46:24 b85a868b505f: Download complete 19:46:24 bab4dde63d76: Download complete 19:46:27 b85a868b505f: Pull complete 19:46:32 e2be974225ed: Pull complete 19:46:36 339a4e72a1f5: Pull complete 19:46:39 988bab9f4d93: Pull complete 19:46:47 1469e6f7b9e6: Pull complete 19:46:51 eaf3925da568: Pull complete 19:47:06 bab4dde63d76: Pull complete 19:47:13 bde34c3a00c8: Pull complete 19:47:14 b352a97aabf1: Pull complete 19:47:17 4872d77fe225: Pull complete 19:47:19 5851b861e8e6: Pull complete 19:47:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:22 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 19:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:47:31 $ docker top cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 -eo pid,comm 19:47:31 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). 19:47:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:47:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:31 [ssh-agent] Looking for ssh-agent implementation... 19:47:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:31 $ docker exec cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 ssh-agent 19:47:31 SSH_AUTH_SOCK=/tmp/ssh-Uy4dAzCRNofW/agent.32 19:47:31 SSH_AGENT_PID=38 19:47:31 Running ssh-add (command line suppressed) 19:47:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1536075725709523585.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1536075725709523585.key) 19:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:32 + git tag --points-at HEAD [Pipeline] } 19:47:32 $ docker exec --env ******** --env ******** cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 ssh-agent -k 19:47:32 unset SSH_AUTH_SOCK; 19:47:32 unset SSH_AGENT_PID; 19:47:32 echo Agent pid 38 killed; 19:47:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:47:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:32 [ssh-agent] Looking for ssh-agent implementation... 19:47:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:32 $ docker exec cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 ssh-agent 19:47:32 SSH_AUTH_SOCK=/tmp/ssh-hAt3NRPsbrcS/agent.71 19:47:32 SSH_AGENT_PID=77 19:47:32 Running ssh-add (command line suppressed) 19:47:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15398827280206662627.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15398827280206662627.key) 19:47:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:33 + git semver init 19:47:33 2023-03-29 19:47:33,364 [run_init] DEBUG init version:0.0.0 force:False 19:47:33 2023-03-29 19:47:33,365 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 19:47:33 2023-03-29 19:47:33,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 19:47:33 2023-03-29 19:47:33,366 [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) 19:47:34 2023-03-29 19:47:34,313 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 19:47:34 2023-03-29 19:47:34,314 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 19:47:34 2023-03-29 19:47:34,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:47:34 2023-03-29 19:47:34,314 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:47:34 3.0.0-dev.25 [Pipeline] } 19:47:34 $ docker exec --env ******** --env ******** cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 ssh-agent -k 19:47:34 unset SSH_AUTH_SOCK; 19:47:34 unset SSH_AGENT_PID; 19:47:34 echo Agent pid 77 killed; 19:47:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:47:34 + git semver [Pipeline] } 19:47:35 $ docker stop --time=1 cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 19:47:36 $ docker rm -f --volumes cf62510d8f5bda2beff9024e7f6b3f3ed9867e1b17dce030c9376b1be47d83f7 [Pipeline] // withDockerContainer [Pipeline] sh 19:47:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:47:36 Stashed 1 file(s) [Pipeline] echo 19:47:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [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 19:47:37 provisioning config files... 19:47:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14544772973828450605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:37 ---> docker-login.sh 19:47:37 nexus3.edgexfoundry.org:10001 19:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:37 Configure a credential helper to remove this warning. See 19:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:37 19:47:37 Login Succeeded 19:47:37 nexus3.edgexfoundry.org:10002 19:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:37 Configure a credential helper to remove this warning. See 19:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:37 19:47:37 Login Succeeded 19:47:37 nexus3.edgexfoundry.org:10003 19:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:37 Configure a credential helper to remove this warning. See 19:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:37 19:47:37 Login Succeeded 19:47:37 nexus3.edgexfoundry.org:10004 19:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:37 Configure a credential helper to remove this warning. See 19:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:37 19:47:37 Login Succeeded 19:47:37 docker.io 19:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:38 Configure a credential helper to remove this warning. See 19:47:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:38 19:47:38 Login Succeeded 19:47:38 ---> docker-login.sh ends [Pipeline] } 19:47:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:47:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:47:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:47:38 ========================================================= 19:47:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:47:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:47:38 Sending build context to Docker daemon 27.02MB 19:47:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:47:38 Step 2/13 : FROM ${BASE} AS builder 19:47:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:47:38 63b65145d645: Pulling fs layer 19:47:38 a2d21d5440eb: Pulling fs layer 19:47:38 935e6c44a52c: Pulling fs layer 19:47:38 94cc34f8dd06: Pulling fs layer 19:47:38 30dea6a524f1: Pulling fs layer 19:47:38 a2aff8979fd8: Pulling fs layer 19:47:38 6808be2612f2: Pulling fs layer 19:47:38 f25807f1079a: Pulling fs layer 19:47:38 94cc34f8dd06: Waiting 19:47:38 30dea6a524f1: Waiting 19:47:38 f25807f1079a: Waiting 19:47:38 6808be2612f2: Waiting 19:47:38 a2aff8979fd8: Waiting 19:47:38 a2d21d5440eb: Download complete 19:47:38 94cc34f8dd06: Verifying Checksum 19:47:38 94cc34f8dd06: Download complete 19:47:38 30dea6a524f1: Verifying Checksum 19:47:38 30dea6a524f1: Download complete 19:47:38 63b65145d645: Verifying Checksum 19:47:38 63b65145d645: Download complete 19:47:38 a2aff8979fd8: Verifying Checksum 19:47:38 a2aff8979fd8: Download complete 19:47:38 63b65145d645: Pull complete 19:47:39 a2d21d5440eb: Pull complete 19:47:39 f25807f1079a: Verifying Checksum 19:47:39 f25807f1079a: Download complete 19:47:39 935e6c44a52c: Download complete 19:47:39 6808be2612f2: Verifying Checksum 19:47:39 6808be2612f2: Download complete 19:47:42 935e6c44a52c: Pull complete 19:47:42 94cc34f8dd06: Pull complete 19:47:42 30dea6a524f1: Pull complete 19:47:42 a2aff8979fd8: Pull complete 19:47:45 6808be2612f2: Pull complete 19:47:46 f25807f1079a: Pull complete 19:47:46 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:47:46 ---> 3b553350e43f 19:47:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:47:52 Still waiting to schedule task 19:47:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:47:54 ---> Running in 5dbe0b7d4968 19:47:55 Removing intermediate container 5dbe0b7d4968 19:47:55 ---> e9824e9fbca7 19:47:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:47:55 ---> Running in 5b5a9330417f 19:47:55 Removing intermediate container 5b5a9330417f 19:47:55 ---> 2791596f3648 19:47:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:47:56 ---> Running in b5ee5d53f8b9 19:47:56 Removing intermediate container b5ee5d53f8b9 19:47:56 ---> a72a9d41dd1b 19:47:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:47:56 ---> Running in 898218507d46 19:47:56 Removing intermediate container 898218507d46 19:47:56 ---> 3ebd1bf44918 19:47:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:47:57 ---> Running in 8863957e328f 19:47:57 Removing intermediate container 8863957e328f 19:47:57 ---> 0f632331b35c 19:47:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:47:58 ---> Running in ed2a15e0056d 19:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:47:58 OK: 265 MiB in 53 packages 19:47:59 Removing intermediate container ed2a15e0056d 19:47:59 ---> 7ba7c9f2d234 19:47:59 Step 9/13 : WORKDIR /device-onvif-camera 19:47:59 ---> Running in 699b8d0ec13c 19:47:59 Removing intermediate container 699b8d0ec13c 19:47:59 ---> 339051bdafda 19:47:59 Step 10/13 : COPY go.mod vendor* ./ 19:47:59 ---> 31e2b5951b67 19:47:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:00 ---> Running in 672db2220c65 19:48:46 Removing intermediate container 672db2220c65 19:48:46 ---> 725fb74705f1 19:48:46 Step 12/13 : COPY . . 19:48:46 ---> 1d1c8389f335 19:48:46 Step 13/13 : RUN ${MAKE} 19:48:46 ---> Running in 80f60592b393 19:48:46 noop 19:48:46 Removing intermediate container 80f60592b393 19:48:46 ---> bfd903a82bdb 19:48:46 Successfully built bfd903a82bdb 19:48:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:47 + docker inspect -f . ci-base-image-x86_64 19:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:47 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 19:48:47 $ 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 19:48:47 $ docker top 23113a4cd7c78ac2aa8fceb1f0c00d7cba6c07880c4a7d334c4af48e7ea1a943 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:48 + go version 19:48:48 go version go1.20.2 linux/amd64 [Pipeline] } 19:48:48 $ docker stop --time=1 23113a4cd7c78ac2aa8fceb1f0c00d7cba6c07880c4a7d334c4af48e7ea1a943 19:48:49 $ docker rm -f --volumes 23113a4cd7c78ac2aa8fceb1f0c00d7cba6c07880c4a7d334c4af48e7ea1a943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:49 + docker inspect -f . ci-base-image-x86_64 19:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:49 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 19:48:50 $ 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 19:48:50 $ docker top 28db5c0a583e382c9ea77480e1a9a0b636f501587e809983970a5d4a73e0e33f -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:50 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 19:48:51 + make test 19:48:51 go test ./... -coverprofile=coverage.out ./... 19:48:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:49:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:49:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:49:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.7% of statements 19:49:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.957s coverage: 86.5% of statements 19:49:20 go vet ./... 19:49:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:23 ./bin/test-attribution-txt.sh [Pipeline] echo 19:49:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:23 $ docker stop --time=1 28db5c0a583e382c9ea77480e1a9a0b636f501587e809983970a5d4a73e0e33f 19:49:25 $ docker rm -f --volumes 28db5c0a583e382c9ea77480e1a9a0b636f501587e809983970a5d4a73e0e33f [Pipeline] // withDockerContainer [Pipeline] sh 19:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:27 + ls -al . 19:49:27 total 232 19:49:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 19:48 . 19:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:46 .. 19:49:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:47 .git 19:49:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:46 .github 19:49:27 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:46 .gitignore 19:49:27 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:46 .golangci.yml 19:49:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:47 .semver 19:49:27 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:46 Attribution.txt 19:49:27 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:46 CHANGELOG.md 19:49:27 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:46 Dockerfile 19:49:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:46 GOVERNANCE.md 19:49:27 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:46 Jenkinsfile 19:49:27 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:46 LICENSE 19:49:27 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:46 Makefile 19:49:27 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:46 OWNERS.md 19:49:27 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:46 README.md 19:49:27 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 19:47 VERSION 19:49:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:46 bin 19:49:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:46 cmd 19:49:27 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:49 coverage.out 19:49:27 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:46 doc 19:49:27 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:46 go.mod 19:49:27 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:46 go.sum 19:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:46 internal 19:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:46 snap 19:49:27 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:27 + 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=163d81e496ee931b2d3d9b2549810c1b7a8df380 --label arch=amd64 --label version=3.0.0-dev.25 . 19:49:27 Sending build context to Docker daemon 27.1MB 19:49:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:49:27 Step 2/26 : FROM ${BASE} AS builder 19:49:27 ---> bfd903a82bdb 19:49:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:49:28 ---> Running in a8858de9dc7c 19:49:28 Removing intermediate container a8858de9dc7c 19:49:28 ---> 2af3790496ac 19:49:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:49:28 ---> Running in 9ff285ceafa3 19:49:28 Removing intermediate container 9ff285ceafa3 19:49:28 ---> ab3051f7035b 19:49:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:49:28 ---> Running in b44d3be6fdc4 19:49:28 Removing intermediate container b44d3be6fdc4 19:49:28 ---> 01f72084782e 19:49:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:49:28 ---> Running in c644ec3c5ab3 19:49:29 Removing intermediate container c644ec3c5ab3 19:49:29 ---> c94d89e1ae5c 19:49:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:49:29 ---> Running in 2f025eb90f8b 19:49:29 Removing intermediate container 2f025eb90f8b 19:49:29 ---> 47d38436ab16 19:49:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:29 ---> Running in 64235410961f 19:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:30 OK: 265 MiB in 53 packages 19:49:30 Removing intermediate container 64235410961f 19:49:30 ---> 880c50e3cb85 19:49:30 Step 9/26 : WORKDIR /device-onvif-camera 19:49:30 ---> Running in e02b012c68c7 19:49:30 Removing intermediate container e02b012c68c7 19:49:30 ---> 4a85b01d8da6 19:49:30 Step 10/26 : COPY go.mod vendor* ./ 19:49:30 ---> eaa905207b77 19:49:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:49:30 ---> Running in 900f822d7fa1 19:49:32 Removing intermediate container 900f822d7fa1 19:49:32 ---> d2b2a4c887bb 19:49:32 Step 12/26 : COPY . . 19:49:34 ---> cb8dedd03cdc 19:49:34 Step 13/26 : RUN ${MAKE} 19:49:34 ---> Running in 7d34c7721d34 19:49:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:49:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6241 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 19:49:37 Running in /w/workspace/device-onvif-camera/119 [Pipeline] { [Pipeline] checkout 19:49:37 The recommended git tool is: git 19:49:44 using credential edgex-jenkins-ssh 19:49:44 Cloning the remote Git repository 19:49:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:49:44 > git init /w/workspace/device-onvif-camera/119 # timeout=10 19:49:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:49:44 > git --version # timeout=10 19:49:44 > git --version # 'git version 2.25.1' 19:49:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:49:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:49:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:49:47 Avoid second fetch 19:49:47 Checking out Revision 163d81e496ee931b2d3d9b2549810c1b7a8df380 (main) 19:49:47 Commit message: "refactor!: Changed configuration and provision watcher file format to YAML (#281)" 19:49:47 > git config core.sparsecheckout # timeout=10 19:49:47 > git checkout -f 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:49:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:49:48 % Total % Received % Xferd Average Speed Time Time Time Current 19:49:48 Dload Upload Total Spent Left Speed 19:49:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 19:49:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:49:49 + sudo tee /etc/docker/daemon.new 19:49:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:49:49 { 19:49:49 "registry-mirrors": [ 19:49:49 "https://nexus3.edgexfoundry.org:10001" 19:49:49 ], 19:49:49 "bip": "10.250.0.254/24", 19:49:49 "hosts": [ 19:49:49 "tcp://0.0.0.0:5555", 19:49:49 "unix:///var/run/docker.sock" 19:49:49 ], 19:49:49 "mtu": 1458, 19:49:49 "selinux-enabled": true, 19:49:49 "seccomp-profile": "/etc/docker/seccomp.json" 19:49:49 } [Pipeline] sh 19:49:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:49:50 + sudo service docker restart 19:49:56 Removing intermediate container 7d34c7721d34 19:49:56 ---> 95eae99bc72c 19:49:56 Step 14/26 : FROM alpine:3.17 19:49:56 3.17: Pulling from library/alpine 19:49:56 f56be85fc22e: Pulling fs layer 19:49:56 f56be85fc22e: Verifying Checksum 19:49:56 f56be85fc22e: Download complete 19:49:56 f56be85fc22e: Pull complete 19:49:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:49:56 Status: Downloaded newer image for alpine:3.17 19:49:56 ---> 9ed4aefc74f6 19:49:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:49:56 ---> Running in 692fffb6046b 19:49:56 Removing intermediate container 692fffb6046b 19:49:56 ---> ec534ceb14c0 19:49:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:49:56 ---> Running in 3226d43d1915 19:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:56 (1/1) Installing dumb-init (1.2.5-r2) 19:49:56 Executing busybox-1.35.0-r29.trigger 19:49:56 OK: 7 MiB in 16 packages 19:49:57 Removing intermediate container 3226d43d1915 19:49:57 ---> 88be64cadd13 19:49:57 Step 17/26 : WORKDIR / 19:49:57 ---> Running in 8ffadd25707d 19:49:57 Removing intermediate container 8ffadd25707d 19:49:57 ---> fe9b13ce5d70 19:49:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:49:58 ---> 7ebe1d6831b6 19:49:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:49:58 ---> d20327f4ba10 19:49:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:49:58 ---> 222d57a0b7ea 19:49:58 Step 21/26 : EXPOSE 59984 19:49:58 ---> Running in 474025c3f710 19:49:58 Removing intermediate container 474025c3f710 19:49:58 ---> 1453f3694ae8 19:49:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:49:58 ---> Running in 8806b0775d00 19:49:58 Removing intermediate container 8806b0775d00 19:49:58 ---> 97f49dceb3f9 19:49:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:49:58 ---> Running in 35a1bf1dc7af 19:49:58 Removing intermediate container 35a1bf1dc7af 19:49:58 ---> f4202f6fcdbb 19:49:58 Step 24/26 : LABEL arch=amd64 19:49:58 ---> Running in 48dec7709214 19:49:58 Removing intermediate container 48dec7709214 19:49:58 ---> 473e05c1e74b 19:49:58 Step 25/26 : LABEL git_sha=163d81e496ee931b2d3d9b2549810c1b7a8df380 19:49:58 ---> Running in b89e2f53dd31 19:49:58 Removing intermediate container b89e2f53dd31 19:49:58 ---> bdc496cbe178 19:49:58 Step 26/26 : LABEL version=3.0.0-dev.25 19:49:58 ---> Running in 488caf3bcf12 19:49:59 Removing intermediate container 488caf3bcf12 19:49:59 ---> f445226dfc16 19:49:59 [Warning] One or more build-args [ARCH] were not consumed 19:49:59 Successfully built f445226dfc16 19:49:59 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 19:49:59 provisioning config files... 19:49:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16196412865864316071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:49:59 ---> docker-login.sh 19:49:59 nexus3.edgexfoundry.org:10001 19:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:59 Configure a credential helper to remove this warning. See 19:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:59 19:49:59 Login Succeeded 19:49:59 nexus3.edgexfoundry.org:10002 19:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:59 Configure a credential helper to remove this warning. See 19:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:59 19:49:59 Login Succeeded 19:49:59 nexus3.edgexfoundry.org:10003 19:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:59 Configure a credential helper to remove this warning. See 19:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:59 19:49:59 Login Succeeded 19:49:59 nexus3.edgexfoundry.org:10004 19:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:49:59 Configure a credential helper to remove this warning. See 19:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:49:59 19:49:59 Login Succeeded 19:49:59 docker.io 19:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:00 Configure a credential helper to remove this warning. See 19:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:00 19:50:00 Login Succeeded 19:50:00 ---> docker-login.sh ends [Pipeline] } 19:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:50:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:00 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 19:50:00 163d81e496ee931b2d3d9b2549810c1b7a8df380 19:50:00 latest 19:50:00 3.0.0-dev.25 19:50:00 163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:50:00 main 19:50:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380 19:50:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:00 c1a772e462b0: Preparing 19:50:00 55c4d6468b30: Preparing 19:50:00 5b6e09a675ed: Preparing 19:50:00 a5a044684ed1: Preparing 19:50:00 f1417ff83b31: Preparing 19:50:00 a5a044684ed1: Pushed 19:50:00 c1a772e462b0: Pushed 19:50:00 55c4d6468b30: Pushed 19:50:01 f1417ff83b31: Pushed 19:50:03 5b6e09a675ed: Pushed 19:50:03 163d81e496ee931b2d3d9b2549810c1b7a8df380: digest: sha256:ff56bbd4e5ceca2b9fc4645e5d406fa6be7305c6bd83fa195176352a13d99b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:04 c1a772e462b0: Preparing 19:50:04 55c4d6468b30: Preparing 19:50:04 5b6e09a675ed: Preparing 19:50:04 a5a044684ed1: Preparing 19:50:04 f1417ff83b31: Preparing 19:50:04 a5a044684ed1: Layer already exists 19:50:04 f1417ff83b31: Layer already exists 19:50:04 55c4d6468b30: Layer already exists 19:50:04 5b6e09a675ed: Layer already exists 19:50:04 c1a772e462b0: Layer already exists 19:50:04 latest: digest: sha256:ff56bbd4e5ceca2b9fc4645e5d406fa6be7305c6bd83fa195176352a13d99b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.25 19:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:05 c1a772e462b0: Preparing 19:50:05 55c4d6468b30: Preparing 19:50:05 5b6e09a675ed: Preparing 19:50:05 a5a044684ed1: Preparing 19:50:05 f1417ff83b31: Preparing 19:50:05 5b6e09a675ed: Layer already exists 19:50:05 c1a772e462b0: Layer already exists 19:50:05 55c4d6468b30: Layer already exists 19:50:05 a5a044684ed1: Layer already exists 19:50:05 f1417ff83b31: Layer already exists 19:50:05 3.0.0-dev.25: digest: sha256:ff56bbd4e5ceca2b9fc4645e5d406fa6be7305c6bd83fa195176352a13d99b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:05 c1a772e462b0: Preparing 19:50:05 55c4d6468b30: Preparing 19:50:05 5b6e09a675ed: Preparing 19:50:05 a5a044684ed1: Preparing 19:50:05 f1417ff83b31: Preparing 19:50:05 5b6e09a675ed: Layer already exists 19:50:05 f1417ff83b31: Layer already exists 19:50:05 c1a772e462b0: Layer already exists 19:50:05 a5a044684ed1: Layer already exists 19:50:05 55c4d6468b30: Layer already exists 19:50:05 163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25: digest: sha256:ff56bbd4e5ceca2b9fc4645e5d406fa6be7305c6bd83fa195176352a13d99b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 19:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:06 c1a772e462b0: Preparing 19:50:06 55c4d6468b30: Preparing 19:50:06 5b6e09a675ed: Preparing 19:50:06 a5a044684ed1: Preparing 19:50:06 f1417ff83b31: Preparing 19:50:06 55c4d6468b30: Layer already exists 19:50:06 c1a772e462b0: Layer already exists 19:50:06 f1417ff83b31: Layer already exists 19:50:06 5b6e09a675ed: Layer already exists 19:50:06 a5a044684ed1: Layer already exists 19:50:06 main: digest: sha256:ff56bbd4e5ceca2b9fc4645e5d406fa6be7305c6bd83fa195176352a13d99b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:50:06 ===================================================== [Pipeline] echo 19:50:06 taggedImages: 19:50:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380 19:50:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:50:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.25 19:50:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:50:06 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:06 19:50:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:07 latest: Pulling from edgex-lftools-log-publisher 19:50:07 5eb5b503b376: Pulling fs layer 19:50:07 5c69ac0246d0: Pulling fs layer 19:50:07 ec43610c2a17: Pulling fs layer 19:50:07 3a2ae6a8a46f: Pulling fs layer 19:50:07 33b1e0a273af: Pulling fs layer 19:50:07 5d3b04190fa2: Pulling fs layer 19:50:07 3a2ae6a8a46f: Waiting 19:50:07 33b1e0a273af: Waiting 19:50:07 2f39f015ded8: Pulling fs layer 19:50:07 5d3b04190fa2: Waiting 19:50:07 5c69ac0246d0: Verifying Checksum 19:50:07 5c69ac0246d0: Download complete 19:50:07 3a2ae6a8a46f: Download complete 19:50:07 33b1e0a273af: Verifying Checksum 19:50:07 33b1e0a273af: Download complete 19:50:07 5d3b04190fa2: Verifying Checksum 19:50:07 5d3b04190fa2: Download complete 19:50:07 ec43610c2a17: Verifying Checksum 19:50:07 ec43610c2a17: Download complete 19:50:07 5eb5b503b376: Verifying Checksum 19:50:07 5eb5b503b376: Download complete 19:50:07 2f39f015ded8: Download complete 19:50:08 5eb5b503b376: Pull complete 19:50:08 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:50:08 provisioning config files... 19:50:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/119@tmp/config10583826455734597496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:08 ec43610c2a17: Pull complete 19:50:08 3a2ae6a8a46f: Pull complete 19:50:09 ---> docker-login.sh 19:50:09 nexus3.edgexfoundry.org:10001 19:50:09 33b1e0a273af: Pull complete 19:50:09 5d3b04190fa2: Pull complete 19:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:09 Configure a credential helper to remove this warning. See 19:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:09 19:50:09 Login Succeeded 19:50:09 nexus3.edgexfoundry.org:10002 19:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:10 Configure a credential helper to remove this warning. See 19:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:10 19:50:10 Login Succeeded 19:50:10 nexus3.edgexfoundry.org:10003 19:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:10 Configure a credential helper to remove this warning. See 19:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:10 19:50:10 Login Succeeded 19:50:10 nexus3.edgexfoundry.org:10004 19:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:11 Configure a credential helper to remove this warning. See 19:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:11 19:50:11 Login Succeeded 19:50:11 docker.io 19:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:11 Configure a credential helper to remove this warning. See 19:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:11 19:50:11 Login Succeeded 19:50:11 ---> docker-login.sh ends [Pipeline] } 19:50:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:11 ========================================================= 19:50:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:50:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:50:12 Sending build context to Docker daemon 19.7MB 19:50:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:50:12 Step 2/13 : FROM ${BASE} AS builder 19:50:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:50:13 af6eaf76a39c: Pulling fs layer 19:50:13 55522c791124: Pulling fs layer 19:50:13 ce5c4a1c91eb: Pulling fs layer 19:50:13 169dfbe0d373: Pulling fs layer 19:50:13 e1ff8fa3b103: Pulling fs layer 19:50:13 52ebb69f0ebf: Pulling fs layer 19:50:13 5abe8eddf0d5: Pulling fs layer 19:50:13 e1ff8fa3b103: Waiting 19:50:13 52ebb69f0ebf: Waiting 19:50:13 5abe8eddf0d5: Waiting 19:50:13 169dfbe0d373: Waiting 19:50:13 55522c791124: Verifying Checksum 19:50:13 55522c791124: Download complete 19:50:13 169dfbe0d373: Verifying Checksum 19:50:13 169dfbe0d373: Download complete 19:50:13 e1ff8fa3b103: Verifying Checksum 19:50:13 e1ff8fa3b103: Download complete 19:50:13 2f39f015ded8: Pull complete 19:50:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:13 af6eaf76a39c: Verifying Checksum 19:50:13 af6eaf76a39c: Download complete 19:50:13 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 19:50:13 $ 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 19:50:14 af6eaf76a39c: Pull complete 19:50:14 5abe8eddf0d5: Verifying Checksum 19:50:14 5abe8eddf0d5: Download complete 19:50:15 55522c791124: Pull complete 19:50:16 ce5c4a1c91eb: Verifying Checksum 19:50:16 ce5c4a1c91eb: Download complete 19:50:16 52ebb69f0ebf: Verifying Checksum 19:50:16 52ebb69f0ebf: Download complete 19:50:18 $ docker top bbff4a74764419337edf66191dcc933b8cc4c39470261db547af77a424afd2ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:18 ---> job-cost.sh 19:50:18 lf-activate-venv: SKIPPING 19:50:18 INFO: No Stack... 19:50:19 INFO: Retrieving Pricing Info for: v3-standard-8 19:50:19 INFO: Archiving Costs [Pipeline] sh 19:50:20 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 19:50:20 + cut -d, -f6 [Pipeline] lock 19:50:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] 19:50:20 Resource [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] did not exist. Created. 19:50:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:50:20 + echo total: 0.2199999988079071 [Pipeline] stash 19:50:20 Stashed 1 file(s) [Pipeline] } 19:50:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 19:50:20 $ docker stop --time=1 bbff4a74764419337edf66191dcc933b8cc4c39470261db547af77a424afd2ed 19:50:21 $ docker rm -f --volumes bbff4a74764419337edf66191dcc933b8cc4c39470261db547af77a424afd2ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:50:26 ce5c4a1c91eb: Pull complete 19:50:26 169dfbe0d373: Pull complete 19:50:26 e1ff8fa3b103: Pull complete 19:50:33 52ebb69f0ebf: Pull complete 19:50:34 5abe8eddf0d5: Pull complete 19:50:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:50:34 ---> 6cb57ee374ae 19:50:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:50:36 ---> Running in be7b52e54bae 19:50:37 Removing intermediate container be7b52e54bae 19:50:37 ---> 7eb689425b52 19:50:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:50:37 ---> Running in 2d45da253ea1 19:50:37 Removing intermediate container 2d45da253ea1 19:50:37 ---> 8e116e97e9b8 19:50:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:50:37 ---> Running in b378ed5efe89 19:50:37 Removing intermediate container b378ed5efe89 19:50:37 ---> 5a13b9bad806 19:50:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:50:38 ---> Running in b5b74aeea6ff 19:50:38 Removing intermediate container b5b74aeea6ff 19:50:38 ---> afe1f29fada6 19:50:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:50:38 ---> Running in de98c69de40b 19:50:39 Removing intermediate container de98c69de40b 19:50:39 ---> 17e30e68846a 19:50:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:50:39 ---> Running in 344ac9e4736c 19:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:50:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:50:42 OK: 263 MiB in 53 packages 19:50:43 Removing intermediate container 344ac9e4736c 19:50:43 ---> 5c552b272beb 19:50:43 Step 9/13 : WORKDIR /device-onvif-camera 19:50:43 ---> Running in 8bfafae875f4 19:50:43 Removing intermediate container 8bfafae875f4 19:50:43 ---> 642d536cd57b 19:50:43 Step 10/13 : COPY go.mod vendor* ./ 19:50:43 ---> 2997c9b890bf 19:50:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:50:44 ---> Running in 340a8e4875dc 19:51:52 Removing intermediate container 340a8e4875dc 19:51:52 ---> 22199330aea6 19:51:52 Step 12/13 : COPY . . 19:51:52 ---> b9bfb56a6f64 19:51:52 Step 13/13 : RUN ${MAKE} 19:51:52 ---> Running in 2d5377a11c83 19:51:52 noop 19:51:52 Removing intermediate container 2d5377a11c83 19:51:52 ---> e839f6bb7ac2 19:51:52 Successfully built e839f6bb7ac2 19:51:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:52 + docker inspect -f . ci-base-image-arm64 19:51:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:52 prd-ubuntu20.04-docker-arm64-4c-16g-6241 does not seem to be running inside a container 19:51:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/119 -v /w/workspace/device-onvif-camera/119:/w/workspace/device-onvif-camera/119:rw,z -v /w/workspace/device-onvif-camera/119@tmp:/w/workspace/device-onvif-camera/119@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 19:51:54 $ docker top b175a5579de0717799396c2dbce09622f85d20dad92040d3993178925246968c -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:54 + go version 19:51:54 go version go1.20.2 linux/arm64 [Pipeline] } 19:51:55 $ docker stop --time=1 b175a5579de0717799396c2dbce09622f85d20dad92040d3993178925246968c 19:51:56 $ docker rm -f --volumes b175a5579de0717799396c2dbce09622f85d20dad92040d3993178925246968c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:57 + docker inspect -f . ci-base-image-arm64 19:51:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:57 prd-ubuntu20.04-docker-arm64-4c-16g-6241 does not seem to be running inside a container 19:51:57 $ 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/119 -v /w/workspace/device-onvif-camera/119:/w/workspace/device-onvif-camera/119:rw,z -v /w/workspace/device-onvif-camera/119@tmp:/w/workspace/device-onvif-camera/119@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 19:51:58 $ docker top f906468af1bb49b496d6112c5d225ff034f7fa60b8bfdd712de750d46f0f88bf -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/119 [Pipeline] fileExists [Pipeline] sh 19:52:00 + make test 19:52:00 go test ./... -coverprofile=coverage.out ./... 19:52:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:55:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:55:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:55:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.244s coverage: 31.7% of statements 19:55:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.432s coverage: 86.5% of statements 19:55:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:55:38 go vet ./... 19:56:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:56:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:56:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:56:17 $ docker stop --time=1 f906468af1bb49b496d6112c5d225ff034f7fa60b8bfdd712de750d46f0f88bf 19:56:19 $ docker rm -f --volumes f906468af1bb49b496d6112c5d225ff034f7fa60b8bfdd712de750d46f0f88bf [Pipeline] // withDockerContainer [Pipeline] sh 19:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:56:20 Warning: overwriting stash ‘coverage-report’ 19:56:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:22 + ls -al . 19:56:22 total 228 19:56:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:52 . 19:56:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:49 .. 19:56:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:49 .git 19:56:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:49 .github 19:56:22 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:49 .gitignore 19:56:22 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:49 .golangci.yml 19:56:22 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:49 Attribution.txt 19:56:22 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:49 CHANGELOG.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:49 Dockerfile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:49 GOVERNANCE.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:49 Jenkinsfile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:49 LICENSE 19:56:22 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:49 Makefile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:49 OWNERS.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:49 README.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 19:47 VERSION 19:56:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:49 bin 19:56:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:49 cmd 19:56:22 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:55 coverage.out 19:56:22 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:49 doc 19:56:22 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:49 go.mod 19:56:22 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:49 go.sum 19:56:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:49 internal 19:56:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:49 snap 19:56:22 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:22 + 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=163d81e496ee931b2d3d9b2549810c1b7a8df380 --label arch=arm64 --label version=3.0.0-dev.25 . 19:56:23 Sending build context to Docker daemon 19.78MB 19:56:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:56:23 Step 2/26 : FROM ${BASE} AS builder 19:56:23 ---> e839f6bb7ac2 19:56:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:56:23 ---> Running in 4f396833b622 19:56:23 Removing intermediate container 4f396833b622 19:56:23 ---> d86ecd3a6e48 19:56:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:56:23 ---> Running in 96e15365f151 19:56:24 Removing intermediate container 96e15365f151 19:56:24 ---> 4356d0763038 19:56:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:56:24 ---> Running in 9f9754f7b101 19:56:24 Removing intermediate container 9f9754f7b101 19:56:24 ---> a12c136e2ad0 19:56:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:56:24 ---> Running in 9b131a2bd06c 19:56:25 Removing intermediate container 9b131a2bd06c 19:56:25 ---> fb432ecff863 19:56:25 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:56:25 ---> Running in 6e85f4e31b96 19:56:25 Removing intermediate container 6e85f4e31b96 19:56:25 ---> 24dcbfcc338d 19:56:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:56:25 ---> Running in f81e8b59bad6 19:56:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:56:28 OK: 263 MiB in 53 packages 19:56:29 Removing intermediate container f81e8b59bad6 19:56:29 ---> 37c87ce1c439 19:56:29 Step 9/26 : WORKDIR /device-onvif-camera 19:56:29 ---> Running in 9236ba63b7b8 19:56:30 Removing intermediate container 9236ba63b7b8 19:56:30 ---> 9b29e9aa17b9 19:56:30 Step 10/26 : COPY go.mod vendor* ./ 19:56:30 ---> 7d4e271d312d 19:56:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:56:30 ---> Running in e1e80093e8d7 19:56:34 Removing intermediate container e1e80093e8d7 19:56:34 ---> e47876b7e693 19:56:34 Step 12/26 : COPY . . 19:56:36 ---> f078587c8718 19:56:36 Step 13/26 : RUN ${MAKE} 19:56:36 ---> Running in 9f0e5fb0bf25 19:56:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:59:28 Removing intermediate container 9f0e5fb0bf25 19:59:28 ---> fbc4d26c1d21 19:59:28 Step 14/26 : FROM alpine:3.17 19:59:28 3.17: Pulling from library/alpine 19:59:28 c41833b44d91: Pulling fs layer 19:59:28 c41833b44d91: Verifying Checksum 19:59:28 c41833b44d91: Download complete 19:59:28 c41833b44d91: Pull complete 19:59:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:59:28 Status: Downloaded newer image for alpine:3.17 19:59:28 ---> 51e60588ff2c 19:59:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:59:28 ---> Running in d1ac7fc8b164 19:59:28 Removing intermediate container d1ac7fc8b164 19:59:28 ---> 9002b1a3de77 19:59:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:59:28 ---> Running in aa5115007bee 19:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:59:28 (1/1) Installing dumb-init (1.2.5-r2) 19:59:28 Executing busybox-1.35.0-r29.trigger 19:59:28 OK: 8 MiB in 16 packages 19:59:28 Removing intermediate container aa5115007bee 19:59:28 ---> 4bc4c61d7f60 19:59:28 Step 17/26 : WORKDIR / 19:59:28 ---> Running in c07574bb24d9 19:59:28 Removing intermediate container c07574bb24d9 19:59:28 ---> a6a9dbfe9931 19:59:28 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:59:28 ---> c516798c7c13 19:59:28 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:59:28 ---> 5af9276b1230 19:59:28 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:59:28 ---> df1b48326b81 19:59:28 Step 21/26 : EXPOSE 59984 19:59:28 ---> Running in 26ac8db738da 19:59:28 Removing intermediate container 26ac8db738da 19:59:28 ---> 8e860f699ff2 19:59:28 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:59:28 ---> Running in 49fe8ffccca0 19:59:28 Removing intermediate container 49fe8ffccca0 19:59:28 ---> e491669d6533 19:59:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:59:28 ---> Running in 6e6d267a7512 19:59:29 Removing intermediate container 6e6d267a7512 19:59:29 ---> 6d379698f290 19:59:29 Step 24/26 : LABEL arch=arm64 19:59:29 ---> Running in 400431431d02 19:59:29 Removing intermediate container 400431431d02 19:59:29 ---> 1487b674835c 19:59:29 Step 25/26 : LABEL git_sha=163d81e496ee931b2d3d9b2549810c1b7a8df380 19:59:29 ---> Running in 8da4cc85ca1a 19:59:29 Removing intermediate container 8da4cc85ca1a 19:59:29 ---> 9ceb6fcf2fd3 19:59:29 Step 26/26 : LABEL version=3.0.0-dev.25 19:59:29 ---> Running in 395abb08a9e0 19:59:30 Removing intermediate container 395abb08a9e0 19:59:30 ---> b69e2861e085 19:59:30 [Warning] One or more build-args [ARCH] were not consumed 19:59:30 Successfully built b69e2861e085 19:59:30 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 19:59:30 provisioning config files... 19:59:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/119@tmp/config1645840221803873578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:30 ---> docker-login.sh 19:59:30 nexus3.edgexfoundry.org:10001 19:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:30 Configure a credential helper to remove this warning. See 19:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:30 19:59:30 Login Succeeded 19:59:30 nexus3.edgexfoundry.org:10002 19:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:31 Configure a credential helper to remove this warning. See 19:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:31 19:59:31 Login Succeeded 19:59:31 nexus3.edgexfoundry.org:10003 19:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:31 Configure a credential helper to remove this warning. See 19:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:31 19:59:31 Login Succeeded 19:59:31 nexus3.edgexfoundry.org:10004 19:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:32 Configure a credential helper to remove this warning. See 19:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:32 19:59:32 Login Succeeded 19:59:32 docker.io 19:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:59:32 Configure a credential helper to remove this warning. See 19:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:59:32 19:59:32 Login Succeeded 19:59:32 ---> docker-login.sh ends [Pipeline] } 19:59:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:59:32 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 19:59:32 163d81e496ee931b2d3d9b2549810c1b7a8df380 19:59:32 latest 19:59:32 3.0.0-dev.25 19:59:32 163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:59:32 main 19:59:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380 19:59:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:59:33 c1c33b972963: Preparing 19:59:33 d711167c7c35: Preparing 19:59:33 4eb96427f285: Preparing 19:59:33 c16125769f6d: Preparing 19:59:33 26cbea5cba74: Preparing 19:59:33 c1c33b972963: Pushed 19:59:33 c16125769f6d: Pushed 19:59:33 d711167c7c35: Pushed 19:59:35 26cbea5cba74: Pushed 19:59:38 4eb96427f285: Pushed 19:59:38 163d81e496ee931b2d3d9b2549810c1b7a8df380: digest: sha256:b52ea48b96911fb7b2962b484dc54bf670763ce08e841edddee1f111cd7a6f32 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:39 + 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 19:59:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:59:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:59:39 c1c33b972963: Preparing 19:59:39 d711167c7c35: Preparing 19:59:39 4eb96427f285: Preparing 19:59:39 c16125769f6d: Preparing 19:59:39 26cbea5cba74: Preparing 19:59:39 26cbea5cba74: Layer already exists 19:59:39 4eb96427f285: Layer already exists 19:59:39 c16125769f6d: Layer already exists 19:59:39 d711167c7c35: Layer already exists 19:59:39 c1c33b972963: Layer already exists 19:59:39 latest: digest: sha256:b52ea48b96911fb7b2962b484dc54bf670763ce08e841edddee1f111cd7a6f32 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.25 19:59:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:59:40 c1c33b972963: Preparing 19:59:40 d711167c7c35: Preparing 19:59:40 4eb96427f285: Preparing 19:59:40 c16125769f6d: Preparing 19:59:40 26cbea5cba74: Preparing 19:59:40 4eb96427f285: Layer already exists 19:59:40 c1c33b972963: Layer already exists 19:59:40 c16125769f6d: Layer already exists 19:59:40 26cbea5cba74: Layer already exists 19:59:40 d711167c7c35: Layer already exists 19:59:40 3.0.0-dev.25: digest: sha256:b52ea48b96911fb7b2962b484dc54bf670763ce08e841edddee1f111cd7a6f32 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:59:41 c1c33b972963: Preparing 19:59:41 d711167c7c35: Preparing 19:59:41 4eb96427f285: Preparing 19:59:41 c16125769f6d: Preparing 19:59:41 26cbea5cba74: Preparing 19:59:41 26cbea5cba74: Layer already exists 19:59:41 d711167c7c35: Layer already exists 19:59:41 c16125769f6d: Layer already exists 19:59:41 c1c33b972963: Layer already exists 19:59:41 4eb96427f285: Layer already exists 19:59:41 163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25: digest: sha256:b52ea48b96911fb7b2962b484dc54bf670763ce08e841edddee1f111cd7a6f32 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:41 + 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 19:59:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 19:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:59:42 c1c33b972963: Preparing 19:59:42 d711167c7c35: Preparing 19:59:42 4eb96427f285: Preparing 19:59:42 c16125769f6d: Preparing 19:59:42 26cbea5cba74: Preparing 19:59:42 4eb96427f285: Layer already exists 19:59:42 d711167c7c35: Layer already exists 19:59:42 c1c33b972963: Layer already exists 19:59:42 c16125769f6d: Layer already exists 19:59:42 26cbea5cba74: Layer already exists 19:59:42 main: digest: sha256:b52ea48b96911fb7b2962b484dc54bf670763ce08e841edddee1f111cd7a6f32 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:59:42 ===================================================== [Pipeline] echo 19:59:42 taggedImages: 19:59:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380 19:59:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:59:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.25 19:59:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:163d81e496ee931b2d3d9b2549810c1b7a8df380-3.0.0-dev.25 19:59:42 - 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 19:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:59:43 19:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:59:43 arm64: Pulling from edgex-lftools-log-publisher 19:59:43 8998bd30e6a1: Pulling fs layer 19:59:43 04944245beec: Pulling fs layer 19:59:43 699f458cf7ca: Pulling fs layer 19:59:43 765212b225bb: Pulling fs layer 19:59:43 f23df028b6ca: Pulling fs layer 19:59:43 d65c8cfc05b1: Pulling fs layer 19:59:43 2437ff75d9bd: Pulling fs layer 19:59:43 f23df028b6ca: Waiting 19:59:43 d65c8cfc05b1: Waiting 19:59:43 2437ff75d9bd: Waiting 19:59:43 765212b225bb: Waiting 19:59:43 04944245beec: Verifying Checksum 19:59:43 04944245beec: Download complete 19:59:43 765212b225bb: Verifying Checksum 19:59:43 765212b225bb: Download complete 19:59:43 f23df028b6ca: Verifying Checksum 19:59:43 f23df028b6ca: Download complete 19:59:43 d65c8cfc05b1: Verifying Checksum 19:59:43 d65c8cfc05b1: Download complete 19:59:43 699f458cf7ca: Verifying Checksum 19:59:43 699f458cf7ca: Download complete 19:59:44 8998bd30e6a1: Verifying Checksum 19:59:44 8998bd30e6a1: Download complete 19:59:46 2437ff75d9bd: Verifying Checksum 19:59:46 2437ff75d9bd: Download complete 19:59:48 8998bd30e6a1: Pull complete 19:59:48 04944245beec: Pull complete 19:59:50 699f458cf7ca: Pull complete 19:59:50 765212b225bb: Pull complete 19:59:51 f23df028b6ca: Pull complete 19:59:51 d65c8cfc05b1: Pull complete 20:00:06 2437ff75d9bd: Pull complete 20:00:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:06 prd-ubuntu20.04-docker-arm64-4c-16g-6241 does not seem to be running inside a container 20:00:06 $ 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/119 -v /w/workspace/device-onvif-camera/119:/w/workspace/device-onvif-camera/119:rw,z -v /w/workspace/device-onvif-camera/119@tmp:/w/workspace/device-onvif-camera/119@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 20:00:09 $ docker top 5e17bdfead8c105e9b093d5b33f60bd0c5246e400b6fa4af938c7fa431ec6584 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:10 ---> job-cost.sh 20:00:10 lf-activate-venv: SKIPPING 20:00:10 INFO: No Stack... 20:00:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:00:11 INFO: Archiving Costs [Pipeline] sh 20:00:12 + cat /w/workspace/device-onvif-camera/119/archives/cost.csv 20:00:12 + cut -d, -f6 [Pipeline] lock 20:00:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] 20:00:12 Resource [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] did not exist. Created. 20:00:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:00:13 /w/workspace/device-onvif-camera/119@tmp/durable-ab7fdf0b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:00:13 + echo total: 0.10999999940395355 [Pipeline] stash 20:00:13 Warning: overwriting stash ‘stack-cost’ 20:00:13 Stashed 1 file(s) [Pipeline] } 20:00:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 20:00:13 $ docker stop --time=1 5e17bdfead8c105e9b093d5b33f60bd0c5246e400b6fa4af938c7fa431ec6584 20:00:15 $ docker rm -f --volumes 5e17bdfead8c105e9b093d5b33f60bd0c5246e400b6fa4af938c7fa431ec6584 [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 20:00:15 provisioning config files... 20:00:15 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17021616866519953093tmp [Pipeline] { [Pipeline] sh 20:00:16 + set +x 20:00:16 + curl -s https://codecov.io/bash 20:00:16 + bash -s -- 20:00:16 20:00:16 _____ _ 20:00:16 / ____| | | 20:00:16 | | ___ __| | ___ ___ _____ __ 20:00:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:00:16 | |___| (_) | (_| | __/ (_| (_) \ V / 20:00:16 \_____\___/ \__,_|\___|\___\___/ \_/ 20:00:16 Bash-1.0.6 20:00:16 20:00:16 20:00:16 ==> git version 2.25.1 found 20:00:16 ==> 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 20:00:16 Release-Date: 2020-01-08 20:00:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:00:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:00:16 ==> Jenkins CI detected. 20:00:16 current dir:  /w/workspace/foundry_device-onvif-camera_main 20:00:16 project root: . 20:00:16 --> token set from env 20:00:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:00:16 ==> Running gcov in . (disable via -X gcov) 20:00:16 ==> Python coveragepy not found 20:00:16 ==> Searching for coverage reports in: 20:00:16 + . 20:00:16 -> Found 1 reports 20:00:16 ==> Detecting git/mercurial file structure 20:00:16 ==> Reading reports 20:00:16 + ./coverage.out bytes=78487 20:00:16 ==> Appending adjustments 20:00:16 https://docs.codecov.io/docs/fixing-reports 20:00:16 + Found adjustments 20:00:16 ==> Gzipping contents 20:00:16 12K /tmp/codecov.MIJHDv.gz 20:00:16 ==> Uploading reports 20:00:16 url: https://codecov.io 20:00:16 query: branch=main&commit=163d81e496ee931b2d3d9b2549810c1b7a8df380&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:16 -> Pinging Codecov 20:00:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=163d81e496ee931b2d3d9b2549810c1b7a8df380&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:00:16 -> Uploading to 20:00:16 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/F29A59C45E3A92E06B3E522C9905F8EF/163d81e496ee931b2d3d9b2549810c1b7a8df380/e35c7245-fbb6-4d58-b249-d6a689fdbacf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T200016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=332fc6a3bf1b863bdbb1126e7a2beeb3f75093971688ca6d994fed9b6b464600 20:00:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:00:16 Dload Upload Total Spent Left Speed 20:00:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 47261 --:--:-- --:--:-- --:--:-- 47049 100 10492 0 0 100 10492 0 34857 --:--:-- --:--:-- --:--:-- 34741 20:00:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] } 20:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:00:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:00:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:00:17 20:00:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:00:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:00:17 df9b9388f04a: Pulling fs layer 20:00:17 52dc419b0ee2: Pulling fs layer 20:00:17 25bc292e5bac: Pulling fs layer 20:00:17 114826534d7a: Pulling fs layer 20:00:17 4657fd5d0bcf: Pulling fs layer 20:00:17 6ad1cebc031e: Pulling fs layer 20:00:17 8a3aa393b2d8: Pulling fs layer 20:00:17 114826534d7a: Waiting 20:00:17 4657fd5d0bcf: Waiting 20:00:17 6ad1cebc031e: Waiting 20:00:17 8a3aa393b2d8: Waiting 20:00:17 25bc292e5bac: Download complete 20:00:18 52dc419b0ee2: Verifying Checksum 20:00:18 52dc419b0ee2: Download complete 20:00:18 4657fd5d0bcf: Verifying Checksum 20:00:18 4657fd5d0bcf: Download complete 20:00:18 df9b9388f04a: Verifying Checksum 20:00:18 df9b9388f04a: Download complete 20:00:18 df9b9388f04a: Pull complete 20:00:18 6ad1cebc031e: Verifying Checksum 20:00:18 6ad1cebc031e: Download complete 20:00:18 52dc419b0ee2: Pull complete 20:00:18 25bc292e5bac: Pull complete 20:00:18 114826534d7a: Verifying Checksum 20:00:18 114826534d7a: Download complete 20:00:18 8a3aa393b2d8: Verifying Checksum 20:00:18 8a3aa393b2d8: Download complete 20:00:22 114826534d7a: Pull complete 20:00:22 4657fd5d0bcf: Pull complete 20:00:22 6ad1cebc031e: Pull complete 20:00:24 8a3aa393b2d8: Pull complete 20:00:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:00:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:00:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:24 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:00:24 $ 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:1.410.4 cat 20:00:36 $ docker top 9655e02c5fc6da2762a5f8383af52f36aa9b7bdd52684c569efcf822f3a5d681 -eo pid,comm [Pipeline] { [Pipeline] echo 20:00:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 20:00:36 + set -o pipefail 20:00:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 20:00:41 20:00:41 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 20:00:41 20:00:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/077ef22e-ada0-44ff-8150-a50ebf37d63d 20:00:41 20:00:41 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:00:41 20:00:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:00:41 20:00:41 20:00:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:00:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:00:41 More details here: https://snyk.co/ue1NS [Pipeline] } 20:00:41 $ docker stop --time=1 9655e02c5fc6da2762a5f8383af52f36aa9b7bdd52684c569efcf822f3a5d681 20:00:47 $ docker rm -f --volumes 9655e02c5fc6da2762a5f8383af52f36aa9b7bdd52684c569efcf822f3a5d681 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 20:00:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:48 provisioning config files... 20:00:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7445466649803296409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:48 --> edgex-publish-swagger.sh 20:00:48 === Publish doc/openapi/v2 API === 20:00:48 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 20:00:48 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 20:00:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:00:48 Dload Upload Total Spent Left Speed 20:00:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 643k --:--:-- --:--:-- --:--:-- 642k 100 469k 0 0 100 469k 0 643k --:--:-- --:--:-- --:--:-- 642k 20:00:49 20:00:49 [Pipeline] } 20:00:49 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 20:00:49 + git log --format=format:%s -1 163d81e496ee931b2d3d9b2549810c1b7a8df380 [Pipeline] sh 20:00:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:00:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:50 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:00:50 $ 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 20:00:50 $ docker top 101cc2f3cb5868d37cc7b22c597e0bea23c206ed1952ab1de116acee13c0008e -eo pid,comm 20:00:50 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). 20:00:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:00:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:50 [ssh-agent] Looking for ssh-agent implementation... 20:00:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:50 $ docker exec 101cc2f3cb5868d37cc7b22c597e0bea23c206ed1952ab1de116acee13c0008e ssh-agent 20:00:51 SSH_AUTH_SOCK=/tmp/ssh-YFVcABBg2l4i/agent.32 20:00:51 SSH_AGENT_PID=38 20:00:51 Running ssh-add (command line suppressed) 20:00:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2111797577718796004.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2111797577718796004.key) 20:00:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:51 + git semver tag 20:00:51 2023-03-29 20:00:51,603 [run_tag] DEBUG tag force:False 20:00:51 2023-03-29 20:00:51,604 [check_head_tag] DEBUG check head tag 20:00:51 2023-03-29 20:00:51,607 [execute] INFO git cat-file --batch-check 20:00:51 2023-03-29 20:00:51,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:00:51 2023-03-29 20:00:51,611 [execute] INFO git cat-file --batch 20:00:51 2023-03-29 20:00:51,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:00:51 2023-03-29 20:00:51,639 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:00:51 2023-03-29 20:00:51,639 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 20:00:51 2023-03-29 20:00:51,639 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 20:00:51 2023-03-29 20:00:51,644 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:00:51 3.0.0-dev.25 [Pipeline] } 20:00:51 $ docker exec --env ******** --env ******** 101cc2f3cb5868d37cc7b22c597e0bea23c206ed1952ab1de116acee13c0008e ssh-agent -k 20:00:51 unset SSH_AUTH_SOCK; 20:00:51 unset SSH_AGENT_PID; 20:00:51 echo Agent pid 38 killed; 20:00:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:52 + git semver [Pipeline] } 20:00:52 $ docker stop --time=1 101cc2f3cb5868d37cc7b22c597e0bea23c206ed1952ab1de116acee13c0008e 20:00:53 $ docker rm -f --volumes 101cc2f3cb5868d37cc7b22c597e0bea23c206ed1952ab1de116acee13c0008e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:00:54 20:00:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:00:54 0.23.1-centos7: Pulling from edgex-lftools 20:00:54 ab5ef0e58194: Pulling fs layer 20:00:54 9712f1f96733: Pulling fs layer 20:00:54 63f879dbbcfc: Pulling fs layer 20:00:54 0d9ebad4ef96: Pulling fs layer 20:00:54 e9a5061849ea: Pulling fs layer 20:00:54 d747dcd14b5f: Pulling fs layer 20:00:54 2de7ff778b66: Pulling fs layer 20:00:54 0d9ebad4ef96: Waiting 20:00:54 e9a5061849ea: Waiting 20:00:54 d747dcd14b5f: Waiting 20:00:54 2de7ff778b66: Waiting 20:00:54 9712f1f96733: Verifying Checksum 20:00:54 9712f1f96733: Download complete 20:00:55 63f879dbbcfc: Verifying Checksum 20:00:55 63f879dbbcfc: Download complete 20:00:55 e9a5061849ea: Verifying Checksum 20:00:55 e9a5061849ea: Download complete 20:00:55 0d9ebad4ef96: Verifying Checksum 20:00:55 0d9ebad4ef96: Download complete 20:00:55 d747dcd14b5f: Download complete 20:00:55 ab5ef0e58194: Verifying Checksum 20:00:55 ab5ef0e58194: Download complete 20:00:55 2de7ff778b66: Download complete 20:00:58 ab5ef0e58194: Pull complete 20:00:58 9712f1f96733: Pull complete 20:00:58 63f879dbbcfc: Pull complete 20:01:03 0d9ebad4ef96: Pull complete 20:01:03 e9a5061849ea: Pull complete 20:01:03 d747dcd14b5f: Pull complete 20:01:03 2de7ff778b66: Pull complete 20:01:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:03 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:01:03 $ 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 20:01:10 $ docker top 4946137e623937703696d2f42776c27e579f09b8efc9ae96402dfee8b9deb39f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:01:11 provisioning config files... 20:01:11 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12919031632762841040tmp 20:01:11 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4198932824628903632tmp 20:01:11 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8311315675856087976tmp [Pipeline] { [Pipeline] echo 20:01:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:01:11 ---> sigul-configuration.sh 20:01:11 gpg: directory `/root/.gnupg' created 20:01:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:01:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:01:11 gpg: keyring `/root/.gnupg/secring.gpg' created 20:01:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:01:11 gpg: CAST5 encrypted data 20:01:11 gpg: encrypted with 1 passphrase 20:01:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:01:11 + mkdir /home/jenkins 20:01:11 + mkdir /home/jenkins/sigul [Pipeline] sh 20:01:11 + 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 20:01:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:01:12 ---> sigul-install.sh 20:01:12 Sigul already installed; skipping installation. [Pipeline] sh 20:01:12 + git tag --list 20:01:12 v0.0.0 20:01:12 v0.0.1-dev.1 20:01:12 v0.0.1-dev.10 20:01:12 v0.0.1-dev.11 20:01:12 v0.0.1-dev.12 20:01:12 v0.0.1-dev.13 20:01:12 v0.0.1-dev.14 20:01:12 v0.0.1-dev.15 20:01:12 v0.0.1-dev.16 20:01:12 v0.0.1-dev.17 20:01:12 v0.0.1-dev.18 20:01:12 v0.0.1-dev.19 20:01:12 v0.0.1-dev.2 20:01:12 v0.0.1-dev.20 20:01:12 v0.0.1-dev.21 20:01:12 v0.0.1-dev.22 20:01:12 v0.0.1-dev.23 20:01:12 v0.0.1-dev.24 20:01:12 v0.0.1-dev.25 20:01:12 v0.0.1-dev.26 20:01:12 v0.0.1-dev.27 20:01:12 v0.0.1-dev.28 20:01:12 v0.0.1-dev.3 20:01:12 v0.0.1-dev.4 20:01:12 v0.0.1-dev.5 20:01:12 v0.0.1-dev.6 20:01:12 v0.0.1-dev.7 20:01:12 v0.0.1-dev.8 20:01:12 v0.0.1-dev.9 20:01:12 v2.2.0 20:01:12 v2.2.0-dev.29 20:01:12 v2.2.0-dev.30 20:01:12 v2.2.0-dev.31 20:01:12 v2.2.0-dev.32 20:01:12 v2.2.0-dev.33 20:01:12 v2.2.0-dev.34 20:01:12 v2.2.0-dev.35 20:01:12 v2.3.0 20:01:12 v2.3.0-dev.1 20:01:12 v2.3.0-dev.10 20:01:12 v2.3.0-dev.11 20:01:12 v2.3.0-dev.12 20:01:12 v2.3.0-dev.13 20:01:12 v2.3.0-dev.14 20:01:12 v2.3.0-dev.15 20:01:12 v2.3.0-dev.16 20:01:12 v2.3.0-dev.17 20:01:12 v2.3.0-dev.18 20:01:12 v2.3.0-dev.19 20:01:12 v2.3.0-dev.2 20:01:12 v2.3.0-dev.20 20:01:12 v2.3.0-dev.21 20:01:12 v2.3.0-dev.22 20:01:12 v2.3.0-dev.23 20:01:12 v2.3.0-dev.24 20:01:12 v2.3.0-dev.25 20:01:12 v2.3.0-dev.26 20:01:12 v2.3.0-dev.27 20:01:12 v2.3.0-dev.28 20:01:12 v2.3.0-dev.29 20:01:12 v2.3.0-dev.3 20:01:12 v2.3.0-dev.30 20:01:12 v2.3.0-dev.31 20:01:12 v2.3.0-dev.32 20:01:12 v2.3.0-dev.33 20:01:12 v2.3.0-dev.34 20:01:12 v2.3.0-dev.35 20:01:12 v2.3.0-dev.36 20:01:12 v2.3.0-dev.37 20:01:12 v2.3.0-dev.38 20:01:12 v2.3.0-dev.39 20:01:12 v2.3.0-dev.4 20:01:12 v2.3.0-dev.40 20:01:12 v2.3.0-dev.41 20:01:12 v2.3.0-dev.42 20:01:12 v2.3.0-dev.43 20:01:12 v2.3.0-dev.44 20:01:12 v2.3.0-dev.45 20:01:12 v2.3.0-dev.5 20:01:12 v2.3.0-dev.6 20:01:12 v2.3.0-dev.7 20:01:12 v2.3.0-dev.8 20:01:12 v2.3.0-dev.9 20:01:12 v2.3.1 20:01:12 v2.3.1-dev.1 20:01:12 v2.3.1-dev.4 20:01:12 v2.3.1-dev.5 20:01:12 v3.0.0-dev.1 20:01:12 v3.0.0-dev.10 20:01:12 v3.0.0-dev.11 20:01:12 v3.0.0-dev.12 20:01:12 v3.0.0-dev.13 20:01:12 v3.0.0-dev.14 20:01:12 v3.0.0-dev.15 20:01:12 v3.0.0-dev.16 20:01:12 v3.0.0-dev.17 20:01:12 v3.0.0-dev.18 20:01:12 v3.0.0-dev.19 20:01:12 v3.0.0-dev.2 20:01:12 v3.0.0-dev.20 20:01:12 v3.0.0-dev.21 20:01:12 v3.0.0-dev.22 20:01:12 v3.0.0-dev.23 20:01:12 v3.0.0-dev.24 20:01:12 v3.0.0-dev.25 20:01:12 v3.0.0-dev.3 20:01:12 v3.0.0-dev.4 20:01:12 v3.0.0-dev.5 20:01:12 v3.0.0-dev.6 20:01:12 v3.0.0-dev.7 20:01:12 v3.0.0-dev.8 20:01:12 v3.0.0-dev.9 [Pipeline] sh 20:01:12 + lftools sign git-tag v3.0.0-dev.25 20:01:13 Signing Git tag with Sigul... 20:01:13 Signing v3.0.0-dev.25 [Pipeline] echo 20:01:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:01:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:01:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:01:13 $ docker stop --time=1 4946137e623937703696d2f42776c27e579f09b8efc9ae96402dfee8b9deb39f 20:01:15 $ docker rm -f --volumes 4946137e623937703696d2f42776c27e579f09b8efc9ae96402dfee8b9deb39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:01:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:01:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:16 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:01:16 $ 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 20:01:16 $ docker top c66e9788af3e9bf0933d59abbe7decb88af4300194585ab033409e813371193c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:16 [ssh-agent] Looking for ssh-agent implementation... 20:01:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:16 $ docker exec c66e9788af3e9bf0933d59abbe7decb88af4300194585ab033409e813371193c ssh-agent 20:01:16 SSH_AUTH_SOCK=/tmp/ssh-7XBYYHKA5fmh/agent.31 20:01:16 SSH_AGENT_PID=37 20:01:16 Running ssh-add (command line suppressed) 20:01:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17821464678429015029.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17821464678429015029.key) 20:01:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:17 + git semver bump pre 20:01:17 2023-03-29 20:01:17,303 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:17 2023-03-29 20:01:17,303 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev 20:01:17 2023-03-29 20:01:17,304 [bump_version] DEBUG bumped version:3.0.0-dev.26 20:01:17 2023-03-29 20:01:17,304 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 20:01:17 2023-03-29 20:01:17,304 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:17 2023-03-29 20:01:17,304 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:17 2023-03-29 20:01:17,305 [execute] INFO git cat-file --batch-check 20:01:17 2023-03-29 20:01:17,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:01:17 2023-03-29 20:01:17,311 [execute] INFO git cat-file --batch 20:01:17 2023-03-29 20:01:17,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:01:17 2023-03-29 20:01:17,316 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:17 3.0.0-dev.26 [Pipeline] } 20:01:17 $ docker exec --env ******** --env ******** c66e9788af3e9bf0933d59abbe7decb88af4300194585ab033409e813371193c ssh-agent -k 20:01:17 unset SSH_AUTH_SOCK; 20:01:17 unset SSH_AGENT_PID; 20:01:17 echo Agent pid 37 killed; 20:01:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:17 + git semver [Pipeline] } 20:01:18 $ docker stop --time=1 c66e9788af3e9bf0933d59abbe7decb88af4300194585ab033409e813371193c 20:01:19 $ docker rm -f --volumes c66e9788af3e9bf0933d59abbe7decb88af4300194585ab033409e813371193c [Pipeline] // withDockerContainer [Pipeline] sh 20:01:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:01:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:20 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:01:20 $ 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 20:01:20 $ docker top 9e8be5c5f10db6555a6419161b317303d3b290fabb6eedaccdcac9d7e6b27414 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:20 [ssh-agent] Looking for ssh-agent implementation... 20:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:20 $ docker exec 9e8be5c5f10db6555a6419161b317303d3b290fabb6eedaccdcac9d7e6b27414 ssh-agent 20:01:20 SSH_AUTH_SOCK=/tmp/ssh-ZJysuumjtd0z/agent.33 20:01:20 SSH_AGENT_PID=39 20:01:20 Running ssh-add (command line suppressed) 20:01:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13820660865357577530.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13820660865357577530.key) 20:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:21 + git semver push 20:01:21 2023-03-29 20:01:21,402 [run_push] DEBUG push 20:01:21 2023-03-29 20:01:21,403 [execute] INFO git cat-file --batch-check 20:01:21 2023-03-29 20:01:21,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:01:21 2023-03-29 20:01:21,407 [execute] INFO git rev-list 36e8e301e4633125fc16846a251231b08169e471 -- 20:01:21 2023-03-29 20:01:21,407 [execute] DEBUG Popen(['git', 'rev-list', '36e8e301e4633125fc16846a251231b08169e471', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:01:21 2023-03-29 20:01:21,413 [execute] INFO git fetch -v origin 20:01:21 2023-03-29 20:01:21,414 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:01:22 2023-03-29 20:01:21,877 [run_push] DEBUG no remote changes detected 20:01:22 2023-03-29 20:01:21,878 [execute] INFO git push origin semver 20:01:22 2023-03-29 20:01:21,878 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:01:22 2023-03-29 20:01:22,686 [run_push] DEBUG push all version tags 20:01:22 2023-03-29 20:01:22,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:01:22 2023-03-29 20:01:22,687 [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) 20:01:23 2023-03-29 20:01:23,446 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:23 3.0.0-dev.26 [Pipeline] } 20:01:23 $ docker exec --env ******** --env ******** 9e8be5c5f10db6555a6419161b317303d3b290fabb6eedaccdcac9d7e6b27414 ssh-agent -k 20:01:23 unset SSH_AUTH_SOCK; 20:01:23 unset SSH_AGENT_PID; 20:01:23 echo Agent pid 39 killed; 20:01:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:24 + git semver [Pipeline] } 20:01:24 $ docker stop --time=1 9e8be5c5f10db6555a6419161b317303d3b290fabb6eedaccdcac9d7e6b27414 20:01:25 $ docker rm -f --volumes 9e8be5c5f10db6555a6419161b317303d3b290fabb6eedaccdcac9d7e6b27414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:01:26 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 20:01:26 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:01:26 total 16 20:01:26 drwxr-xr-x 3 root root 4096 Mar 29 19:50 . 20:01:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 20:01 .. 20:01:26 drwxr-xr-x 2 root root 4096 Mar 29 19:50 cost 20:01:26 -rw-r--r-- 1 root root 91 Mar 29 19:50 cost.csv 20:01:26 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 20:01:26 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:01:26 total 16 20:01:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:50 . 20:01:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 20:01 .. 20:01:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:50 cost 20:01:26 -rw-r--r-- 1 jenkins jenkins 91 Mar 29 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:01:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:01:27 ---> package-listing.sh 20:01:27 ++ facter osfamily 20:01:27 ++ tr '[:upper:]' '[:lower:]' 20:01:27 + OS_FAMILY=debian 20:01:27 + workspace=/w/workspace/foundry_device-onvif-camera_main 20:01:27 + START_PACKAGES=/tmp/packages_start.txt 20:01:27 + END_PACKAGES=/tmp/packages_end.txt 20:01:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:01:27 + PACKAGES=/tmp/packages_start.txt 20:01:27 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:01:27 + PACKAGES=/tmp/packages_end.txt 20:01:27 + case "${OS_FAMILY}" in 20:01:27 + dpkg -l 20:01:27 + grep '^ii' 20:01:27 + '[' -f /tmp/packages_start.txt ']' 20:01:27 + '[' -f /tmp/packages_end.txt ']' 20:01:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:01:27 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:01:27 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 20:01:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 20:01:27 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 20:01:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:28 prd-ubuntu20.04-docker-8c-8g-6236 does not seem to be running inside a container 20:01:28 $ 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 20:01:28 $ docker top 35255309ef3f2da4293ee8a2c890e2b732565f0fcf6d88bd792fc434169df2bb -eo pid,comm [Pipeline] { [Pipeline] sh 20:01:29 + touch /tmp/pre-build-complete [Pipeline] sh 20:01:29 + mkdir -p /var/log/sysstat [Pipeline] sh 20:01:29 + ls /var/log/sa-host 20:01:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:29 provisioning config files... 20:01:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11315417070621001136tmp [Pipeline] { [Pipeline] echo 20:01:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:01:29 ---> create-netrc.sh [Pipeline] } 20:01:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:01:30 ---> python-tools-install.sh [Pipeline] echo 20:01:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:01:30 ---> sudo-logs.sh 20:01:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:01:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:01:30 ---> job-cost.sh 20:01:30 lf-activate-venv: SKIPPING 20:01:30 DEBUG: total: 0.2199999988079071 20:01:30 INFO: Retrieving Stack Cost... 20:01:31 INFO: Retrieving Pricing Info for: v3-standard-8 20:01:31 INFO: Archiving Costs [Pipeline] echo 20:01:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:01:32 ---> logs-deploy.sh 20:01:32 lf-activate-venv: SKIPPING 20:01:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/119 20:01:32 INFO: archiving workspace using pattern(s): 20:01:32 Archives upload complete. 20:01:32 INFO: archiving logs to Nexus