Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f65ca887385793521c5f561c8b8ec0758ab43644 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-ssh5350177329710789901.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7952785759114477357.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18288294131132837687.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh7373427493515602138.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-ssh10405847674123225774.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.18 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-8687’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8689 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f65ca887385793521c5f561c8b8ec0758ab43644 (main) Commit message: "Merge pull request #245 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.6" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f65ca887385793521c5f561c8b8ec0758ab43644 # timeout=10 > git rev-list --no-walk 650149e901bbd1d5d542720a605977f5c38beceb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:36 ========================================================= 23:57:36 EdgeX Global Pipelines Version Info 23:57:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:36 ------------------- 23:57:36 stable info: 23:57:36 ------------------- 23:57:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:57:36 Message: update stable to v1.0.244 23:57:37 ------------------- 23:57:37 experimental info: 23:57:37 ------------------- 23:57:37 Commited By: **** collab-it+edgex@linuxfoundation.org 23:57:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:57:37 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f65ca88 [Pipeline] echo 23:57:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:38 provisioning config files... 23:57:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16300056458003317712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:38 ---> docker-login.sh 23:57:38 nexus3.edgexfoundry.org:10001 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 nexus3.edgexfoundry.org:10002 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 nexus3.edgexfoundry.org:10003 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 nexus3.edgexfoundry.org:10004 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 docker.io 23:57:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:39 Configure a credential helper to remove this warning. See 23:57:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:39 23:57:39 Login Succeeded 23:57:39 ---> docker-login.sh ends [Pipeline] } 23:57:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:57:39 + git rev-list -1 --merges f65ca887385793521c5f561c8b8ec0758ab43644~1..f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] echo 23:57:39 -----------> git rev-list -1 --merges f65ca887385793521c5f561c8b8ec0758ab43644~1..f65ca887385793521c5f561c8b8ec0758ab43644 f65ca887385793521c5f561c8b8ec0758ab43644 23:57:39 f65ca887385793521c5f561c8b8ec0758ab43644 [false] [Pipeline] sh 23:57:40 + git log --format=format:%s -1 f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] echo 23:57:40 ========================================================= 23:57:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:57:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:40 + git log --format=format:%s -1 f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] echo 23:57:40 [semverPrep] GIT_COMMIT: f65ca887385793521c5f561c8b8ec0758ab43644, Commit Message: Merge pull request #245 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.6 [Pipeline] echo 23:57:40 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:40 + grep -v github /etc/ssh/ssh_known_hosts 23:57:40 + [ -e /tmp/ssh_known_hosts ] 23:57:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:57:40 + sudo tee -a /etc/ssh/ssh_known_hosts 23:57:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:41 23:57:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:41 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:41 b85a868b505f: Pulling fs layer 23:57:41 e2be974225ed: Pulling fs layer 23:57:41 339a4e72a1f5: Pulling fs layer 23:57:41 988bab9f4d93: Pulling fs layer 23:57:41 1469e6f7b9e6: Pulling fs layer 23:57:41 eaf3925da568: Pulling fs layer 23:57:41 bab4dde63d76: Pulling fs layer 23:57:41 bde34c3a00c8: Pulling fs layer 23:57:41 b352a97aabf1: Pulling fs layer 23:57:41 4872d77fe225: Pulling fs layer 23:57:41 5851b861e8e6: Pulling fs layer 23:57:41 1469e6f7b9e6: Waiting 23:57:41 eaf3925da568: Waiting 23:57:41 b352a97aabf1: Waiting 23:57:41 4872d77fe225: Waiting 23:57:41 5851b861e8e6: Waiting 23:57:41 bde34c3a00c8: Waiting 23:57:41 bab4dde63d76: Waiting 23:57:41 988bab9f4d93: Waiting 23:57:41 e2be974225ed: Verifying Checksum 23:57:41 e2be974225ed: Download complete 23:57:41 988bab9f4d93: Verifying Checksum 23:57:41 988bab9f4d93: Download complete 23:57:41 1469e6f7b9e6: Verifying Checksum 23:57:41 1469e6f7b9e6: Download complete 23:57:41 eaf3925da568: Verifying Checksum 23:57:41 eaf3925da568: Download complete 23:57:41 339a4e72a1f5: Verifying Checksum 23:57:41 339a4e72a1f5: Download complete 23:57:41 bde34c3a00c8: Verifying Checksum 23:57:41 bde34c3a00c8: Download complete 23:57:41 b352a97aabf1: Verifying Checksum 23:57:41 b352a97aabf1: Download complete 23:57:41 4872d77fe225: Download complete 23:57:41 5851b861e8e6: Verifying Checksum 23:57:41 5851b861e8e6: Download complete 23:57:41 b85a868b505f: Verifying Checksum 23:57:41 b85a868b505f: Download complete 23:57:42 bab4dde63d76: Verifying Checksum 23:57:42 bab4dde63d76: Download complete 23:57:43 b85a868b505f: Pull complete 23:57:43 e2be974225ed: Pull complete 23:57:43 339a4e72a1f5: Pull complete 23:57:43 988bab9f4d93: Pull complete 23:57:44 1469e6f7b9e6: Pull complete 23:57:44 eaf3925da568: Pull complete 23:57:46 bab4dde63d76: Pull complete 23:57:46 bde34c3a00c8: Pull complete 23:57:46 b352a97aabf1: Pull complete 23:57:46 4872d77fe225: Pull complete 23:57:46 5851b861e8e6: Pull complete 23:57:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:46 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 23:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:57:50 $ docker top bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 -eo pid,comm 23:57: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). 23:57:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:57:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:50 [ssh-agent] Looking for ssh-agent implementation... 23:57:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:50 $ docker exec bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 ssh-agent 23:57:50 SSH_AUTH_SOCK=/tmp/ssh-8PR5Q4KFX0ZO/agent.32 23:57:50 SSH_AGENT_PID=38 23:57:50 Running ssh-add (command line suppressed) 23:57:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9094633747202006547.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9094633747202006547.key) 23:57:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:50 + git tag --points-at HEAD [Pipeline] } 23:57:50 $ docker exec --env ******** --env ******** bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 ssh-agent -k 23:57:50 unset SSH_AUTH_SOCK; 23:57:50 unset SSH_AGENT_PID; 23:57:50 echo Agent pid 38 killed; 23:57:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:57:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:50 [ssh-agent] Looking for ssh-agent implementation... 23:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:51 $ docker exec bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 ssh-agent 23:57:51 SSH_AUTH_SOCK=/tmp/ssh-IVZUEQTC20ni/agent.70 23:57:51 SSH_AGENT_PID=76 23:57:51 Running ssh-add (command line suppressed) 23:57:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16471330974557779308.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16471330974557779308.key) 23:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:51 + git semver init 23:57:51 2023-03-07 23:57:51,863 [run_init] DEBUG init version:0.0.0 force:False 23:57:51 2023-03-07 23:57:51,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:57:51 2023-03-07 23:57:51,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:57:51 2023-03-07 23:57:51,865 [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) 23:57:52 2023-03-07 23:57:52,820 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:57:52 2023-03-07 23:57:52,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:57:52 2023-03-07 23:57:52,820 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:57:52 2023-03-07 23:57:52,821 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:57:52 3.0.0-dev.19 [Pipeline] } 23:57:52 $ docker exec --env ******** --env ******** bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 ssh-agent -k 23:57:52 unset SSH_AUTH_SOCK; 23:57:52 unset SSH_AGENT_PID; 23:57:52 echo Agent pid 76 killed; 23:57:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:53 + git semver [Pipeline] } 23:57:53 $ docker stop --time=1 bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 23:57:54 $ docker rm -f --volumes bd3021effee361d84a0f85f4fbb9edaf3744f408dd0cf7472546b8e592156339 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:57:55 Stashed 1 file(s) [Pipeline] echo 23:57:55 [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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 23:57:55 provisioning config files... 23:57:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9316801921063000524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:55 ---> docker-login.sh 23:57:55 nexus3.edgexfoundry.org:10001 23:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:55 Configure a credential helper to remove this warning. See 23:57:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:55 23:57:55 Login Succeeded 23:57:55 nexus3.edgexfoundry.org:10002 23:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:55 Configure a credential helper to remove this warning. See 23:57:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:55 23:57:55 Login Succeeded 23:57:55 nexus3.edgexfoundry.org:10003 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 nexus3.edgexfoundry.org:10004 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 docker.io 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 ---> docker-login.sh ends [Pipeline] } 23:57:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:56 ========================================================= 23:57:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:57:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:57:56 Sending build context to Docker daemon 27.83MB 23:57:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:57:56 Step 2/13 : FROM ${BASE} AS builder 23:57:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:57:57 213ec9aee27d: Pulling fs layer 23:57:57 4583459ba037: Pulling fs layer 23:57:57 93c1e223e6f2: Pulling fs layer 23:57:57 53926ce57604: Pulling fs layer 23:57:57 21b2b0c7a3f4: Pulling fs layer 23:57:57 22ff95d597cd: Pulling fs layer 23:57:57 12d6caf4c0d1: Pulling fs layer 23:57:57 96b7cbca73a9: Pulling fs layer 23:57:57 a7acece74701: Pulling fs layer 23:57:57 53926ce57604: Waiting 23:57:57 21b2b0c7a3f4: Waiting 23:57:57 22ff95d597cd: Waiting 23:57:57 12d6caf4c0d1: Waiting 23:57:57 96b7cbca73a9: Waiting 23:57:57 93c1e223e6f2: Verifying Checksum 23:57:57 93c1e223e6f2: Download complete 23:57:57 4583459ba037: Download complete 23:57:57 21b2b0c7a3f4: Verifying Checksum 23:57:57 21b2b0c7a3f4: Download complete 23:57:57 22ff95d597cd: Verifying Checksum 23:57:57 22ff95d597cd: Download complete 23:57:57 213ec9aee27d: Download complete 23:57:57 12d6caf4c0d1: Download complete 23:57:57 213ec9aee27d: Pull complete 23:57:57 4583459ba037: Pull complete 23:57:57 93c1e223e6f2: Pull complete 23:57:57 a7acece74701: Verifying Checksum 23:57:57 a7acece74701: Download complete 23:57:57 96b7cbca73a9: Verifying Checksum 23:57:57 96b7cbca73a9: Download complete 23:57:57 53926ce57604: Verifying Checksum 23:57:57 53926ce57604: Download complete 23:58:02 53926ce57604: Pull complete 23:58:02 21b2b0c7a3f4: Pull complete 23:58:02 22ff95d597cd: Pull complete 23:58:02 12d6caf4c0d1: Pull complete 23:58:04 96b7cbca73a9: Pull complete 23:58:05 a7acece74701: Pull complete 23:58:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:58:05 ---> db6d94c90886 23:58:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:58:10 Still waiting to schedule task 23:58:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:58:10 ---> Running in 415b2e3bc026 23:58:10 Removing intermediate container 415b2e3bc026 23:58:10 ---> 70edd8145f72 23:58:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:58:10 ---> Running in 9f989fa59d46 23:58:10 Removing intermediate container 9f989fa59d46 23:58:10 ---> c6065bf7d7c9 23:58:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:58:10 ---> Running in fe9bb806b666 23:58:10 Removing intermediate container fe9bb806b666 23:58:10 ---> 1381a9af4c3d 23:58:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:58:10 ---> Running in c582ed36301a 23:58:11 Removing intermediate container c582ed36301a 23:58:11 ---> 45659fdc3934 23:58:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:58:11 ---> Running in 288ce30906d1 23:58:11 Removing intermediate container 288ce30906d1 23:58:11 ---> b791d9242d34 23:58:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:11 ---> Running in c51684f37e38 23:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:58:11 OK: 211 MiB in 51 packages 23:58:12 Removing intermediate container c51684f37e38 23:58:12 ---> bf9644675d06 23:58:12 Step 9/13 : WORKDIR /device-onvif-camera 23:58:12 ---> Running in c1ce0ff329e0 23:58:12 Removing intermediate container c1ce0ff329e0 23:58:12 ---> c4e48b20f84a 23:58:12 Step 10/13 : COPY go.mod vendor* ./ 23:58:12 ---> 90eee4fd1b10 23:58:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:12 ---> Running in af3faa9ba653 23:58:51 Removing intermediate container af3faa9ba653 23:58:51 ---> 55bc5ca80e65 23:58:51 Step 12/13 : COPY . . 23:58:51 ---> 803285698d1e 23:58:51 Step 13/13 : RUN ${MAKE} 23:58:51 ---> Running in 5f7dc1080345 23:58:51 noop 23:58:51 Removing intermediate container 5f7dc1080345 23:58:51 ---> ee27432e8b90 23:58:51 Successfully built ee27432e8b90 23:58:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:51 + docker inspect -f . ci-base-image-x86_64 23:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:51 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 23:58:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:58:52 $ docker top 9ea3c5c37bcdc3bd5097fb0c08f10153ca33570ae6e03f9e25d1b90d481332b3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:52 + go version 23:58:52 go version go1.18.7 linux/amd64 [Pipeline] } 23:58:52 $ docker stop --time=1 9ea3c5c37bcdc3bd5097fb0c08f10153ca33570ae6e03f9e25d1b90d481332b3 23:58:53 $ docker rm -f --volumes 9ea3c5c37bcdc3bd5097fb0c08f10153ca33570ae6e03f9e25d1b90d481332b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:54 + docker inspect -f . ci-base-image-x86_64 23:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:54 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 23:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:58:54 $ docker top 9eb3bc152390689ed151f6fd331621113743326ef9fd63344c13afd2a9aff9a0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:55 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:58:55 + make test 23:58:55 go test ./... -coverprofile=coverage.out ./... 23:58:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:59:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:59:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 30.5% of statements 23:59:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:59:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.381s coverage: 86.5% of statements 23:59:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:59:17 go vet ./... 23:59:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:21 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:21 $ docker stop --time=1 9eb3bc152390689ed151f6fd331621113743326ef9fd63344c13afd2a9aff9a0 23:59:25 $ docker rm -f --volumes 9eb3bc152390689ed151f6fd331621113743326ef9fd63344c13afd2a9aff9a0 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:26 + ls -al . 23:59:26 total 232 23:59:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:58 . 23:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:57 .. 23:59:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:59 .git 23:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:57 .github 23:59:26 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 23:57 .gitignore 23:59:26 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 23:57 .golangci.yml 23:59:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:57 .semver 23:59:26 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 23:57 Attribution.txt 23:59:26 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 23:57 CHANGELOG.md 23:59:26 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 23:57 Dockerfile 23:59:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:57 GOVERNANCE.md 23:59:26 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 23:57 Jenkinsfile 23:59:26 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 23:57 LICENSE 23:59:26 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 23:57 Makefile 23:59:26 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 23:57 OWNERS.md 23:59:26 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 23:57 README.md 23:59:26 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 23:57 VERSION 23:59:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:57 bin 23:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:57 cmd 23:59:26 -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 23:59 coverage.out 23:59:26 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 23:57 doc 23:59:26 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 23:57 go.mod 23:59:26 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 23:57 go.sum 23:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:57 internal 23:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:57 snap 23:59:26 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:26 + 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=f65ca887385793521c5f561c8b8ec0758ab43644 --label arch=amd64 --label version=3.0.0-dev.19 . 23:59:26 Sending build context to Docker daemon 27.91MB 23:59:26 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:59:26 Step 2/26 : FROM ${BASE} AS builder 23:59:26 ---> ee27432e8b90 23:59:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:59:27 ---> Running in 18d3432a6a92 23:59:27 Removing intermediate container 18d3432a6a92 23:59:27 ---> f7dc632661f1 23:59:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:27 ---> Running in c08080f10e01 23:59:27 Removing intermediate container c08080f10e01 23:59:27 ---> 391f5701552d 23:59:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:59:27 ---> Running in 560e4bdb659d 23:59:27 Removing intermediate container 560e4bdb659d 23:59:27 ---> d630786a6c18 23:59:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:59:27 ---> Running in f91f018e6f56 23:59:27 Removing intermediate container f91f018e6f56 23:59:27 ---> bf3cdfbcd3ec 23:59:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:59:27 ---> Running in 69944abb535f 23:59:27 Removing intermediate container 69944abb535f 23:59:27 ---> 04db67a31ca5 23:59:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:27 ---> Running in 65a126fbc2f9 23:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:59:28 OK: 211 MiB in 51 packages 23:59:28 Removing intermediate container 65a126fbc2f9 23:59:28 ---> 54ce9c5918e3 23:59:28 Step 9/26 : WORKDIR /device-onvif-camera 23:59:28 ---> Running in ad7c923d3529 23:59:28 Removing intermediate container ad7c923d3529 23:59:28 ---> 582c959be8ff 23:59:28 Step 10/26 : COPY go.mod vendor* ./ 23:59:29 ---> 0b1546a009d0 23:59:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:29 ---> Running in ce850959e3f1 23:59:30 Removing intermediate container ce850959e3f1 23:59:30 ---> 954bba10fa67 23:59:30 Step 12/26 : COPY . . 23:59:30 ---> 3e83232713e2 23:59:30 Step 13/26 : RUN ${MAKE} 23:59:30 ---> Running in b69853374afd 23:59:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:59:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8692 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:59:38 Running in /w/workspace/device-onvif-camera/109 [Pipeline] { [Pipeline] checkout 23:59:38 The recommended git tool is: git 23:59:43 using credential edgex-jenkins-ssh 23:59:43 Cloning the remote Git repository 23:59:43 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:59:43 > git init /w/workspace/device-onvif-camera/109 # timeout=10 23:59:43 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:59:43 > git --version # timeout=10 23:59:43 > git --version # 'git version 2.25.1' 23:59:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:45 Avoid second fetch 23:59:45 Checking out Revision f65ca887385793521c5f561c8b8ec0758ab43644 (main) 23:59:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:59:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:45 > git config core.sparsecheckout # timeout=10 23:59:46 Commit message: "Merge pull request #245 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:45 > git checkout -f f65ca887385793521c5f561c8b8ec0758ab43644 # timeout=10 23:59:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:59:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:47 Dload Upload Total Spent Left Speed 23:59:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh 23:59:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:59:48 + sudo tee /etc/docker/daemon.new 23:59:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:59:48 { 23:59:48 "registry-mirrors": [ 23:59:48 "https://nexus3.edgexfoundry.org:10001" 23:59:48 ], 23:59:48 "bip": "10.250.0.254/24", 23:59:48 "hosts": [ 23:59:48 "tcp://0.0.0.0:5555", 23:59:48 "unix:///var/run/docker.sock" 23:59:48 ], 23:59:48 "mtu": 1458, 23:59:48 "selinux-enabled": true, 23:59:48 "seccomp-profile": "/etc/docker/seccomp.json" 23:59:48 } [Pipeline] sh 23:59:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:59:48 + sudo service docker restart 23:59:57 Removing intermediate container b69853374afd 23:59:57 ---> 53259a0e8ae9 23:59:57 Step 14/26 : FROM alpine:3.16 23:59:57 3.16: Pulling from library/alpine 23:59:57 ef5531b6e74e: Pulling fs layer 23:59:57 ef5531b6e74e: Verifying Checksum 23:59:57 ef5531b6e74e: Download complete 23:59:57 ef5531b6e74e: Pull complete 23:59:57 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 23:59:57 Status: Downloaded newer image for alpine:3.16 23:59:57 ---> dfd21b5a31f5 23:59:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:59:57 ---> Running in ccd92c7dd576 23:59:57 Removing intermediate container ccd92c7dd576 23:59:57 ---> 94f9c66a6d3f 23:59:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:59:57 ---> Running in 8c5d5ea329e5 23:59:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:59:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:59:57 (1/1) Installing dumb-init (1.2.5-r1) 23:59:57 Executing busybox-1.35.0-r17.trigger 23:59:57 OK: 6 MiB in 15 packages 23:59:57 Removing intermediate container 8c5d5ea329e5 23:59:57 ---> 6d5ead5be37a 23:59:57 Step 17/26 : WORKDIR / 23:59:57 ---> Running in f19b805a11bb 23:59:57 Removing intermediate container f19b805a11bb 23:59:57 ---> 0ff63444b9ef 23:59:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:59:57 ---> 3df5d023d439 23:59:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:59:57 ---> ccf2f2f91b97 23:59:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:59:57 ---> 1d87e160705f 23:59:57 Step 21/26 : EXPOSE 59984 23:59:57 ---> Running in a16607ffff88 23:59:57 Removing intermediate container a16607ffff88 23:59:57 ---> a074722031fc 23:59:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:59:57 ---> Running in c2f8471ad7d2 23:59:57 Removing intermediate container c2f8471ad7d2 23:59:57 ---> 92cad57c6f2c 23:59:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:59:57 ---> Running in 1b7395b67901 23:59:57 Removing intermediate container 1b7395b67901 23:59:57 ---> acd9916a827f 23:59:57 Step 24/26 : LABEL arch=amd64 23:59:57 ---> Running in 0ae2b01c7eff 23:59:57 Removing intermediate container 0ae2b01c7eff 23:59:57 ---> f119c31fa584 23:59:57 Step 25/26 : LABEL git_sha=f65ca887385793521c5f561c8b8ec0758ab43644 23:59:57 ---> Running in 79662283b534 23:59:57 Removing intermediate container 79662283b534 23:59:57 ---> b1db527f2437 23:59:57 Step 26/26 : LABEL version=3.0.0-dev.19 23:59:57 ---> Running in 3adbfc3f113d 23:59:57 Removing intermediate container 3adbfc3f113d 23:59:57 ---> b2748e76d33d 23:59:57 [Warning] One or more build-args [ARCH] were not consumed 23:59:57 Successfully built b2748e76d33d 23:59:57 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 23:59:57 provisioning config files... 23:59:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6080900856581485535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:58 ---> docker-login.sh 23:59:58 nexus3.edgexfoundry.org:10001 23:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:58 Configure a credential helper to remove this warning. See 23:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:58 23:59:58 Login Succeeded 23:59:58 nexus3.edgexfoundry.org:10002 23:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:58 Configure a credential helper to remove this warning. See 23:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:58 23:59:58 Login Succeeded 23:59:58 nexus3.edgexfoundry.org:10003 23:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:58 Configure a credential helper to remove this warning. See 23:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:58 23:59:58 Login Succeeded 23:59:58 nexus3.edgexfoundry.org:10004 23:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:58 Configure a credential helper to remove this warning. See 23:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:58 23:59:58 Login Succeeded 23:59:58 docker.io 23:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:58 Configure a credential helper to remove this warning. See 23:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:58 23:59:58 Login Succeeded 23:59:58 ---> docker-login.sh ends [Pipeline] } 23:59:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:58 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:59:58 f65ca887385793521c5f561c8b8ec0758ab43644 23:59:58 latest 23:59:58 3.0.0-dev.19 23:59:58 f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 23:59:58 main 23:59:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644 23:59:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:59:59 b3c7bc191d7d: Preparing 23:59:59 5b76779ea3ee: Preparing 23:59:59 7a4645f0c4fb: Preparing 23:59:59 4c9891e3d7f4: Preparing 23:59:59 aa5968d388b8: Preparing 23:59:59 aa5968d388b8: Layer already exists 23:59:59 5b76779ea3ee: Pushed 23:59:59 b3c7bc191d7d: Pushed 23:59:59 4c9891e3d7f4: Pushed 00:00:01 7a4645f0c4fb: Pushed 00:00:01 f65ca887385793521c5f561c8b8ec0758ab43644: digest: sha256:d9ef80ae312e91c4eb571561b820416e1cc119cc318420c939ef4c64ed59221c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:00:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:00:02 b3c7bc191d7d: Preparing 00:00:02 5b76779ea3ee: Preparing 00:00:02 7a4645f0c4fb: Preparing 00:00:02 4c9891e3d7f4: Preparing 00:00:02 aa5968d388b8: Preparing 00:00:02 5b76779ea3ee: Layer already exists 00:00:02 b3c7bc191d7d: Layer already exists 00:00:02 4c9891e3d7f4: Layer already exists 00:00:02 aa5968d388b8: Layer already exists 00:00:02 7a4645f0c4fb: Layer already exists 00:00:02 latest: digest: sha256:d9ef80ae312e91c4eb571561b820416e1cc119cc318420c939ef4c64ed59221c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.19 00:00:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:00:03 b3c7bc191d7d: Preparing 00:00:03 5b76779ea3ee: Preparing 00:00:03 7a4645f0c4fb: Preparing 00:00:03 4c9891e3d7f4: Preparing 00:00:03 aa5968d388b8: Preparing 00:00:03 aa5968d388b8: Layer already exists 00:00:03 4c9891e3d7f4: Layer already exists 00:00:03 b3c7bc191d7d: Layer already exists 00:00:03 5b76779ea3ee: Layer already exists 00:00:03 7a4645f0c4fb: Layer already exists 00:00:03 3.0.0-dev.19: digest: sha256:d9ef80ae312e91c4eb571561b820416e1cc119cc318420c939ef4c64ed59221c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 00:00:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:00:03 b3c7bc191d7d: Preparing 00:00:03 5b76779ea3ee: Preparing 00:00:03 7a4645f0c4fb: Preparing 00:00:03 4c9891e3d7f4: Preparing 00:00:03 aa5968d388b8: Preparing 00:00:03 7a4645f0c4fb: Layer already exists 00:00:03 5b76779ea3ee: Layer already exists 00:00:03 b3c7bc191d7d: Layer already exists 00:00:03 4c9891e3d7f4: Layer already exists 00:00:03 aa5968d388b8: Layer already exists 00:00:03 f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19: digest: sha256:d9ef80ae312e91c4eb571561b820416e1cc119cc318420c939ef4c64ed59221c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:00:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:00:04 b3c7bc191d7d: Preparing 00:00:04 5b76779ea3ee: Preparing 00:00:04 7a4645f0c4fb: Preparing 00:00:04 4c9891e3d7f4: Preparing 00:00:04 aa5968d388b8: Preparing 00:00:04 5b76779ea3ee: Layer already exists 00:00:04 7a4645f0c4fb: Layer already exists 00:00:04 4c9891e3d7f4: Layer already exists 00:00:04 aa5968d388b8: Layer already exists 00:00:04 b3c7bc191d7d: Layer already exists 00:00:04 main: digest: sha256:d9ef80ae312e91c4eb571561b820416e1cc119cc318420c939ef4c64ed59221c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:04 ===================================================== [Pipeline] echo 00:00:04 taggedImages: 00:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644 00:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.19 00:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 00:00:04 - 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 00:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:04 00:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:05 latest: Pulling from edgex-lftools-log-publisher 00:00:05 5eb5b503b376: Pulling fs layer 00:00:05 5c69ac0246d0: Pulling fs layer 00:00:05 ec43610c2a17: Pulling fs layer 00:00:05 3a2ae6a8a46f: Pulling fs layer 00:00:05 33b1e0a273af: Pulling fs layer 00:00:05 5d3b04190fa2: Pulling fs layer 00:00:05 2f39f015ded8: Pulling fs layer 00:00:05 3a2ae6a8a46f: Waiting 00:00:05 33b1e0a273af: Waiting 00:00:05 2f39f015ded8: Waiting 00:00:05 5d3b04190fa2: Waiting 00:00:05 5c69ac0246d0: Download complete 00:00:05 3a2ae6a8a46f: Download complete 00:00:05 33b1e0a273af: Verifying Checksum 00:00:05 33b1e0a273af: Download complete 00:00:05 5d3b04190fa2: Verifying Checksum 00:00:05 5d3b04190fa2: Download complete 00:00:05 ec43610c2a17: Download complete 00:00:05 5eb5b503b376: Verifying Checksum 00:00:05 5eb5b503b376: Download complete 00:00:05 2f39f015ded8: Download complete 00:00:06 5eb5b503b376: Pull complete 00:00:06 5c69ac0246d0: Pull complete 00:00:06 ec43610c2a17: Pull complete 00:00:06 3a2ae6a8a46f: Pull complete 00:00:07 33b1e0a273af: Pull complete 00:00:07 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:10 provisioning config files... 00:00:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/109@tmp/config4138420298813161532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:11 ---> docker-login.sh 00:00:11 nexus3.edgexfoundry.org:10001 00:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:11 2f39f015ded8: Pull complete 00:00:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:00:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:11 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:00:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:11 Configure a credential helper to remove this warning. See 00:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:11 00:00:11 Login Succeeded 00:00:11 nexus3.edgexfoundry.org:10002 00:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:12 Configure a credential helper to remove this warning. See 00:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:12 00:00:12 Login Succeeded 00:00:12 nexus3.edgexfoundry.org:10003 00:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:12 Configure a credential helper to remove this warning. See 00:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:12 00:00:12 Login Succeeded 00:00:12 nexus3.edgexfoundry.org:10004 00:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:12 Configure a credential helper to remove this warning. See 00:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:12 00:00:12 Login Succeeded 00:00:12 docker.io 00:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:14 Configure a credential helper to remove this warning. See 00:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:14 00:00:14 Login Succeeded 00:00:14 ---> docker-login.sh ends 00:00:16 $ docker top 9674c65f3f016a332e0ecec5a596542e3a0606dc5a261b222e885340baa277e6 -eo pid,comm [Pipeline] { [Pipeline] } 00:00:16 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 00:00:16 ---> job-cost.sh 00:00:16 lf-activate-venv: SKIPPING 00:00:16 INFO: No Stack... [Pipeline] echo 00:00:16 ========================================================= 00:00:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:00:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:00:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:00:17 INFO: Archiving Costs [Pipeline] sh 00:00:17 Sending build context to Docker daemon 20.6MB 00:00:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:00:17 Step 2/13 : FROM ${BASE} AS builder 00:00:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:00:17 9b18e9b68314: Pulling fs layer 00:00:17 35d82f9e3411: Pulling fs layer 00:00:17 e16973657156: Pulling fs layer 00:00:17 fc693d55d65f: Pulling fs layer 00:00:17 7e9fc2657dce: Pulling fs layer 00:00:17 dda99020689f: Pulling fs layer 00:00:17 db1c61fa0a46: Pulling fs layer 00:00:17 891c053d2c06: Pulling fs layer 00:00:17 fc693d55d65f: Waiting 00:00:17 7e9fc2657dce: Waiting 00:00:17 dda99020689f: Waiting 00:00:17 db1c61fa0a46: Waiting 00:00:17 891c053d2c06: Waiting 00:00:17 e16973657156: Download complete 00:00:17 35d82f9e3411: Verifying Checksum 00:00:17 35d82f9e3411: Download complete 00:00:17 7e9fc2657dce: Verifying Checksum 00:00:17 7e9fc2657dce: Download complete 00:00:17 dda99020689f: Verifying Checksum 00:00:17 dda99020689f: Download complete 00:00:17 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:00:17 + cut -d, -f6 [Pipeline] lock 00:00:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] 00:00:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] did not exist. Created. 00:00:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:00:17 9b18e9b68314: Verifying Checksum 00:00:17 9b18e9b68314: Download complete 00:00:18 + echo total: 0.2199999988079071 [Pipeline] stash 00:00:18 Stashed 1 file(s) [Pipeline] } 00:00:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:00:18 $ docker stop --time=1 9674c65f3f016a332e0ecec5a596542e3a0606dc5a261b222e885340baa277e6 00:00:18 891c053d2c06: Verifying Checksum 00:00:18 891c053d2c06: Download complete 00:00:19 $ docker rm -f --volumes 9674c65f3f016a332e0ecec5a596542e3a0606dc5a261b222e885340baa277e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:19 db1c61fa0a46: Verifying Checksum 00:00:19 db1c61fa0a46: Download complete 00:00:20 fc693d55d65f: Download complete 00:00:20 9b18e9b68314: Pull complete 00:00:20 35d82f9e3411: Pull complete 00:00:21 e16973657156: Pull complete 00:00:31 fc693d55d65f: Pull complete 00:00:31 7e9fc2657dce: Pull complete 00:00:31 dda99020689f: Pull complete 00:00:37 db1c61fa0a46: Pull complete 00:00:38 891c053d2c06: Pull complete 00:00:38 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:00:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:00:38 ---> f96f9c87975a 00:00:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:00:40 ---> Running in 968fb6764aac 00:00:40 Removing intermediate container 968fb6764aac 00:00:40 ---> f7a5c48d00af 00:00:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:00:40 ---> Running in 88f0d09c20a5 00:00:41 Removing intermediate container 88f0d09c20a5 00:00:41 ---> 3439e2b5fa02 00:00:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:00:41 ---> Running in bf5f8707e92a 00:00:41 Removing intermediate container bf5f8707e92a 00:00:41 ---> 91932d74ae95 00:00:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:00:41 ---> Running in c8e34b6b9cb1 00:00:41 Removing intermediate container c8e34b6b9cb1 00:00:41 ---> 3e67f9dc4258 00:00:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:00:41 ---> Running in fb425d839cbd 00:00:42 Removing intermediate container fb425d839cbd 00:00:42 ---> 21e22aaf7d55 00:00:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:42 ---> Running in 5cd4b9c50d5c 00:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:00:44 OK: 221 MiB in 51 packages 00:00:47 Removing intermediate container 5cd4b9c50d5c 00:00:47 ---> faf38c84dea4 00:00:47 Step 9/13 : WORKDIR /device-onvif-camera 00:00:47 ---> Running in 520255d13317 00:00:47 Removing intermediate container 520255d13317 00:00:47 ---> 85aa510b758c 00:00:47 Step 10/13 : COPY go.mod vendor* ./ 00:00:48 ---> bc80e23efd09 00:00:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:48 ---> Running in df9afdbe8b7d 00:01:56 Removing intermediate container df9afdbe8b7d 00:01:56 ---> e0c057a0a201 00:01:56 Step 12/13 : COPY . . 00:01:56 ---> 934357320f1b 00:01:56 Step 13/13 : RUN ${MAKE} 00:01:56 ---> Running in 46019f97d61f 00:01:56 noop 00:01:56 Removing intermediate container 46019f97d61f 00:01:56 ---> d62c676eb3fc 00:01:56 Successfully built d62c676eb3fc 00:01:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:56 + docker inspect -f . ci-base-image-arm64 00:01:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:56 prd-ubuntu20.04-docker-arm64-4c-16g-8692 does not seem to be running inside a container 00:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/109 -v /w/workspace/device-onvif-camera/109:/w/workspace/device-onvif-camera/109:rw,z -v /w/workspace/device-onvif-camera/109@tmp:/w/workspace/device-onvif-camera/109@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 00:01:57 $ docker top ac8f92434f6c3838b17c77560a0ee003a199be65ce6d7269273c3c7d6315c8cf -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:58 + go version 00:01:58 go version go1.18.7 linux/arm64 [Pipeline] } 00:01:58 $ docker stop --time=1 ac8f92434f6c3838b17c77560a0ee003a199be65ce6d7269273c3c7d6315c8cf 00:02:00 $ docker rm -f --volumes ac8f92434f6c3838b17c77560a0ee003a199be65ce6d7269273c3c7d6315c8cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:00 + docker inspect -f . ci-base-image-arm64 00:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:01 prd-ubuntu20.04-docker-arm64-4c-16g-8692 does not seem to be running inside a container 00:02:01 $ 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/109 -v /w/workspace/device-onvif-camera/109:/w/workspace/device-onvif-camera/109:rw,z -v /w/workspace/device-onvif-camera/109@tmp:/w/workspace/device-onvif-camera/109@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 00:02:02 $ docker top d9e613aeca119604c31ee96bd3130a7817e3e8b02ed7fcd1ae1e4a2c8feaabc3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:02 + git config --global --add safe.directory /w/workspace/device-onvif-camera/109 [Pipeline] fileExists [Pipeline] sh 00:02:03 + make test 00:02:03 go test ./... -coverprofile=coverage.out ./... 00:02:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:03:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:03:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.164s coverage: 30.5% of statements 00:03:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:03:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.070s coverage: 86.5% of statements 00:03:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:56 go vet ./... 00:04:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:28 ./bin/test-attribution-txt.sh [Pipeline] echo 00:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:28 $ docker stop --time=1 d9e613aeca119604c31ee96bd3130a7817e3e8b02ed7fcd1ae1e4a2c8feaabc3 00:04:30 $ docker rm -f --volumes d9e613aeca119604c31ee96bd3130a7817e3e8b02ed7fcd1ae1e4a2c8feaabc3 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:31 Warning: overwriting stash ‘coverage-report’ 00:04:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:33 + ls -al . 00:04:33 total 228 00:04:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 00:02 . 00:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:59 .. 00:04:33 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:59 .git 00:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:59 .github 00:04:33 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 23:59 .gitignore 00:04:33 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 23:59 .golangci.yml 00:04:33 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 23:59 Attribution.txt 00:04:33 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 23:59 CHANGELOG.md 00:04:33 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 23:59 Dockerfile 00:04:33 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:59 GOVERNANCE.md 00:04:33 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 23:59 Jenkinsfile 00:04:33 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 23:59 LICENSE 00:04:33 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 23:59 Makefile 00:04:33 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 23:59 OWNERS.md 00:04:33 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 23:59 README.md 00:04:33 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 23:57 VERSION 00:04:33 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:59 bin 00:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:59 cmd 00:04:33 -rw-r--r-- 1 jenkins jenkins 76650 Mar 8 00:03 coverage.out 00:04:33 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 23:59 doc 00:04:33 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 23:59 go.mod 00:04:33 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 23:59 go.sum 00:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:59 internal 00:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:59 snap 00:04:33 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:33 + 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=f65ca887385793521c5f561c8b8ec0758ab43644 --label arch=arm64 --label version=3.0.0-dev.19 . 00:04:34 Sending build context to Docker daemon 20.68MB 00:04:34 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:04:34 Step 2/26 : FROM ${BASE} AS builder 00:04:34 ---> d62c676eb3fc 00:04:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:04:34 ---> Running in 34b67a7d4f4e 00:04:34 Removing intermediate container 34b67a7d4f4e 00:04:34 ---> 6aff3c111c1e 00:04:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:04:34 ---> Running in 205d8284742a 00:04:35 Removing intermediate container 205d8284742a 00:04:35 ---> d9faa9374f56 00:04:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:04:35 ---> Running in cf8e9ce7b797 00:04:35 Removing intermediate container cf8e9ce7b797 00:04:35 ---> 76b88c8168a4 00:04:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:04:35 ---> Running in be193c37cf9d 00:04:35 Removing intermediate container be193c37cf9d 00:04:35 ---> 8923835a6ada 00:04:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:04:35 ---> Running in 32d96b632be9 00:04:37 Removing intermediate container 32d96b632be9 00:04:37 ---> 1a52054b519c 00:04:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:37 ---> Running in 2c290ea7577f 00:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:04:39 OK: 221 MiB in 51 packages 00:04:40 Removing intermediate container 2c290ea7577f 00:04:40 ---> e48e55d5e2e2 00:04:40 Step 9/26 : WORKDIR /device-onvif-camera 00:04:40 ---> Running in e0d4ea5f22a0 00:04:41 Removing intermediate container e0d4ea5f22a0 00:04:41 ---> 56526f14568a 00:04:41 Step 10/26 : COPY go.mod vendor* ./ 00:04:41 ---> df5c405dc057 00:04:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:41 ---> Running in 0b058906ece9 00:04:45 Removing intermediate container 0b058906ece9 00:04:45 ---> e2d9364efc1e 00:04:45 Step 12/26 : COPY . . 00:04:47 ---> b0149b6f0d67 00:04:47 Step 13/26 : RUN ${MAKE} 00:04:47 ---> Running in 52e4c311f056 00:04:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:07:24 Removing intermediate container 52e4c311f056 00:07:24 ---> 9cc762e09b96 00:07:24 Step 14/26 : FROM alpine:3.16 00:07:24 3.16: Pulling from library/alpine 00:07:24 3760b48202b3: Pulling fs layer 00:07:24 3760b48202b3: Verifying Checksum 00:07:24 3760b48202b3: Download complete 00:07:24 3760b48202b3: Pull complete 00:07:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:07:24 Status: Downloaded newer image for alpine:3.16 00:07:24 ---> 4c81e5bf8899 00:07:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:07:24 ---> Running in 8c98d59d9433 00:07:24 Removing intermediate container 8c98d59d9433 00:07:24 ---> b6ac97cb2c3d 00:07:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:07:24 ---> Running in 4b78651ebb67 00:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:07:24 (1/1) Installing dumb-init (1.2.5-r1) 00:07:24 Executing busybox-1.35.0-r17.trigger 00:07:24 OK: 5 MiB in 15 packages 00:07:24 Removing intermediate container 4b78651ebb67 00:07:24 ---> 7d3450e2e9e6 00:07:24 Step 17/26 : WORKDIR / 00:07:24 ---> Running in 2ddc323aca5a 00:07:24 Removing intermediate container 2ddc323aca5a 00:07:24 ---> 6176f6e53193 00:07:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:07:24 ---> 6036099c8627 00:07:24 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:07:24 ---> c1d3e4b1c15d 00:07:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:07:24 ---> b413ec16ac30 00:07:24 Step 21/26 : EXPOSE 59984 00:07:24 ---> Running in 9b2626a9573a 00:07:24 Removing intermediate container 9b2626a9573a 00:07:24 ---> a3885af5f024 00:07:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:07:24 ---> Running in be6a52c5eb54 00:07:24 Removing intermediate container be6a52c5eb54 00:07:24 ---> 73fb39b69d48 00:07:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:07:24 ---> Running in cde202f30489 00:07:24 Removing intermediate container cde202f30489 00:07:24 ---> 2cd9c9f9c6f8 00:07:24 Step 24/26 : LABEL arch=arm64 00:07:24 ---> Running in 7affdf0987dc 00:07:24 Removing intermediate container 7affdf0987dc 00:07:24 ---> c43b56f7a75f 00:07:24 Step 25/26 : LABEL git_sha=f65ca887385793521c5f561c8b8ec0758ab43644 00:07:24 ---> Running in 0b36127820be 00:07:24 Removing intermediate container 0b36127820be 00:07:24 ---> 277fc284e6b3 00:07:24 Step 26/26 : LABEL version=3.0.0-dev.19 00:07:24 ---> Running in a47efbf64063 00:07:24 Removing intermediate container a47efbf64063 00:07:24 ---> 1e62aa186434 00:07:24 [Warning] One or more build-args [ARCH] were not consumed 00:07:24 Successfully built 1e62aa186434 00:07:24 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:25 provisioning config files... 00:07:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/109@tmp/config3767864184441362424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:25 ---> docker-login.sh 00:07:25 nexus3.edgexfoundry.org:10001 00:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:25 Configure a credential helper to remove this warning. See 00:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:25 00:07:25 Login Succeeded 00:07:25 nexus3.edgexfoundry.org:10002 00:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:25 Configure a credential helper to remove this warning. See 00:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:25 00:07:25 Login Succeeded 00:07:25 nexus3.edgexfoundry.org:10003 00:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:26 Configure a credential helper to remove this warning. See 00:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:26 00:07:26 Login Succeeded 00:07:26 nexus3.edgexfoundry.org:10004 00:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:26 Configure a credential helper to remove this warning. See 00:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:26 00:07:26 Login Succeeded 00:07:26 docker.io 00:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:27 Configure a credential helper to remove this warning. See 00:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:27 00:07:27 Login Succeeded 00:07:27 ---> docker-login.sh ends [Pipeline] } 00:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:27 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:07:27 f65ca887385793521c5f561c8b8ec0758ab43644 00:07:27 latest 00:07:27 3.0.0-dev.19 00:07:27 f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 00:07:27 main 00:07:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644 00:07:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:07:28 84458a2c3ca1: Preparing 00:07:28 e57b9fc28b7b: Preparing 00:07:28 bb06113f0130: Preparing 00:07:28 92b7ceb0a5aa: Preparing 00:07:28 f70ee36035b9: Preparing 00:07:28 f70ee36035b9: Layer already exists 00:07:28 e57b9fc28b7b: Pushed 00:07:28 84458a2c3ca1: Pushed 00:07:28 92b7ceb0a5aa: Pushed 00:07:34 bb06113f0130: Pushed 00:07:34 f65ca887385793521c5f561c8b8ec0758ab43644: digest: sha256:4e7e7777416d04e4889fff30950adc985d5da31b0ee803e2f56b5c1ae06f8d3a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:35 + 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 00:07:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:07:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:07:35 84458a2c3ca1: Preparing 00:07:35 e57b9fc28b7b: Preparing 00:07:35 bb06113f0130: Preparing 00:07:35 92b7ceb0a5aa: Preparing 00:07:35 f70ee36035b9: Preparing 00:07:35 bb06113f0130: Layer already exists 00:07:35 f70ee36035b9: Layer already exists 00:07:35 84458a2c3ca1: Layer already exists 00:07:35 e57b9fc28b7b: Layer already exists 00:07:35 92b7ceb0a5aa: Layer already exists 00:07:35 latest: digest: sha256:4e7e7777416d04e4889fff30950adc985d5da31b0ee803e2f56b5c1ae06f8d3a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.19 00:07:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:07:36 84458a2c3ca1: Preparing 00:07:36 e57b9fc28b7b: Preparing 00:07:36 bb06113f0130: Preparing 00:07:36 92b7ceb0a5aa: Preparing 00:07:36 f70ee36035b9: Preparing 00:07:36 f70ee36035b9: Layer already exists 00:07:36 92b7ceb0a5aa: Layer already exists 00:07:36 e57b9fc28b7b: Layer already exists 00:07:36 84458a2c3ca1: Layer already exists 00:07:36 bb06113f0130: Layer already exists 00:07:36 3.0.0-dev.19: digest: sha256:4e7e7777416d04e4889fff30950adc985d5da31b0ee803e2f56b5c1ae06f8d3a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 00:07:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:07:37 84458a2c3ca1: Preparing 00:07:37 e57b9fc28b7b: Preparing 00:07:37 bb06113f0130: Preparing 00:07:37 92b7ceb0a5aa: Preparing 00:07:37 f70ee36035b9: Preparing 00:07:37 e57b9fc28b7b: Layer already exists 00:07:37 84458a2c3ca1: Layer already exists 00:07:37 92b7ceb0a5aa: Layer already exists 00:07:37 f70ee36035b9: Layer already exists 00:07:37 bb06113f0130: Layer already exists 00:07:37 f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19: digest: sha256:4e7e7777416d04e4889fff30950adc985d5da31b0ee803e2f56b5c1ae06f8d3a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:38 + 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 00:07:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:07:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:07:38 84458a2c3ca1: Preparing 00:07:38 e57b9fc28b7b: Preparing 00:07:38 bb06113f0130: Preparing 00:07:38 92b7ceb0a5aa: Preparing 00:07:38 f70ee36035b9: Preparing 00:07:38 f70ee36035b9: Layer already exists 00:07:38 84458a2c3ca1: Layer already exists 00:07:38 e57b9fc28b7b: Layer already exists 00:07:38 bb06113f0130: Layer already exists 00:07:38 92b7ceb0a5aa: Layer already exists 00:07:38 main: digest: sha256:4e7e7777416d04e4889fff30950adc985d5da31b0ee803e2f56b5c1ae06f8d3a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:07:38 ===================================================== [Pipeline] echo 00:07:38 taggedImages: 00:07:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644 00:07:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:07:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.19 00:07:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f65ca887385793521c5f561c8b8ec0758ab43644-3.0.0-dev.19 00:07:38 - 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 00:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:39 00:07:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:39 arm64: Pulling from edgex-lftools-log-publisher 00:07:39 8998bd30e6a1: Pulling fs layer 00:07:39 04944245beec: Pulling fs layer 00:07:39 699f458cf7ca: Pulling fs layer 00:07:39 765212b225bb: Pulling fs layer 00:07:39 f23df028b6ca: Pulling fs layer 00:07:39 d65c8cfc05b1: Pulling fs layer 00:07:39 2437ff75d9bd: Pulling fs layer 00:07:39 f23df028b6ca: Waiting 00:07:39 d65c8cfc05b1: Waiting 00:07:39 2437ff75d9bd: Waiting 00:07:39 765212b225bb: Waiting 00:07:39 04944245beec: Verifying Checksum 00:07:39 04944245beec: Download complete 00:07:39 765212b225bb: Verifying Checksum 00:07:39 765212b225bb: Download complete 00:07:39 f23df028b6ca: Verifying Checksum 00:07:39 f23df028b6ca: Download complete 00:07:39 d65c8cfc05b1: Download complete 00:07:40 699f458cf7ca: Verifying Checksum 00:07:40 699f458cf7ca: Download complete 00:07:40 8998bd30e6a1: Download complete 00:07:43 2437ff75d9bd: Verifying Checksum 00:07:43 2437ff75d9bd: Download complete 00:07:45 8998bd30e6a1: Pull complete 00:07:45 04944245beec: Pull complete 00:07:46 699f458cf7ca: Pull complete 00:07:47 765212b225bb: Pull complete 00:07:47 f23df028b6ca: Pull complete 00:07:47 d65c8cfc05b1: Pull complete 00:08:02 2437ff75d9bd: Pull complete 00:08:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:03 prd-ubuntu20.04-docker-arm64-4c-16g-8692 does not seem to be running inside a container 00:08:03 $ 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/109 -v /w/workspace/device-onvif-camera/109:/w/workspace/device-onvif-camera/109:rw,z -v /w/workspace/device-onvif-camera/109@tmp:/w/workspace/device-onvif-camera/109@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 00:08:05 $ docker top 4e195c9ef074656c0ebf4338a6d45917a6580a0c0a8a82b16381d33af4603ade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:06 ---> job-cost.sh 00:08:06 lf-activate-venv: SKIPPING 00:08:06 INFO: No Stack... 00:08:06 INFO: Retrieving Pricing Info for: v3-standard-4 00:08:07 INFO: Archiving Costs [Pipeline] sh 00:08:08 + cat /w/workspace/device-onvif-camera/109/archives/cost.csv 00:08:08 + cut -d, -f6 [Pipeline] lock 00:08:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] 00:08:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] did not exist. Created. 00:08:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:09 /w/workspace/device-onvif-camera/109@tmp/durable-251c79d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:08:09 + echo total: 0.10999999940395355 [Pipeline] stash 00:08:09 Warning: overwriting stash ‘stack-cost’ 00:08:10 Stashed 1 file(s) [Pipeline] } 00:08:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:10 $ docker stop --time=1 4e195c9ef074656c0ebf4338a6d45917a6580a0c0a8a82b16381d33af4603ade 00:08:11 $ docker rm -f --volumes 4e195c9ef074656c0ebf4338a6d45917a6580a0c0a8a82b16381d33af4603ade [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 00:08:11 provisioning config files... 00:08:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16443182041172286696tmp [Pipeline] { [Pipeline] sh 00:08:12 + set +x 00:08:12 + curl -s https://codecov.io/bash 00:08:12 + bash -s -- 00:08:12 00:08:12 _____ _ 00:08:12 / ____| | | 00:08:12 | | ___ __| | ___ ___ _____ __ 00:08:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:08:12 | |___| (_) | (_| | __/ (_| (_) \ V / 00:08:12 \_____\___/ \__,_|\___|\___\___/ \_/ 00:08:12 Bash-1.0.6 00:08:12 00:08:12 00:08:12 ==> git version 2.25.1 found 00:08:12 ==> 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 00:08:12 Release-Date: 2020-01-08 00:08:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:08:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:08:12 ==> Jenkins CI detected. 00:08:12 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:08:12 project root: . 00:08:12 --> token set from env 00:08:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:08:12 ==> Running gcov in . (disable via -X gcov) 00:08:12 ==> Python coveragepy not found 00:08:12 ==> Searching for coverage reports in: 00:08:12 + . 00:08:12 -> Found 1 reports 00:08:12 ==> Detecting git/mercurial file structure 00:08:12 ==> Reading reports 00:08:12 + ./coverage.out bytes=76650 00:08:12 ==> Appending adjustments 00:08:12 https://docs.codecov.io/docs/fixing-reports 00:08:12 + Found adjustments 00:08:12 ==> Gzipping contents 00:08:12 12K /tmp/codecov.VO7lsN.gz 00:08:12 ==> Uploading reports 00:08:12 url: https://codecov.io 00:08:12 query: branch=main&commit=f65ca887385793521c5f561c8b8ec0758ab43644&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:12 -> Pinging Codecov 00:08:12 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=f65ca887385793521c5f561c8b8ec0758ab43644&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:12 -> Uploading to 00:08:12 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/F29A59C45E3A92E06B3E522C9905F8EF/f65ca887385793521c5f561c8b8ec0758ab43644/d5447adc-f6a3-4267-adc5-00a6bcf0b6da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T000812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c2b5bdd21aa90247ddbb1952f6f8483bf1884c841379dcc2779c4546916de9d 00:08:12 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:12 Dload Upload Total Spent Left Speed 00:08:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10528 0 0 100 10528 0 35447 --:--:-- --:--:-- --:--:-- 35447 00:08:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] } 00:08:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:08:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:08:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:13 00:08:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:08:13 df9b9388f04a: Pulling fs layer 00:08:13 52dc419b0ee2: Pulling fs layer 00:08:13 25bc292e5bac: Pulling fs layer 00:08:13 114826534d7a: Pulling fs layer 00:08:13 4657fd5d0bcf: Pulling fs layer 00:08:13 6ad1cebc031e: Pulling fs layer 00:08:13 8a3aa393b2d8: Pulling fs layer 00:08:13 114826534d7a: Waiting 00:08:13 6ad1cebc031e: Waiting 00:08:13 4657fd5d0bcf: Waiting 00:08:13 8a3aa393b2d8: Waiting 00:08:13 25bc292e5bac: Verifying Checksum 00:08:13 25bc292e5bac: Download complete 00:08:13 52dc419b0ee2: Verifying Checksum 00:08:13 52dc419b0ee2: Download complete 00:08:13 4657fd5d0bcf: Verifying Checksum 00:08:13 4657fd5d0bcf: Download complete 00:08:13 df9b9388f04a: Download complete 00:08:14 df9b9388f04a: Pull complete 00:08:14 6ad1cebc031e: Verifying Checksum 00:08:14 6ad1cebc031e: Download complete 00:08:14 52dc419b0ee2: Pull complete 00:08:14 25bc292e5bac: Pull complete 00:08:14 114826534d7a: Verifying Checksum 00:08:14 114826534d7a: Download complete 00:08:14 8a3aa393b2d8: Verifying Checksum 00:08:14 8a3aa393b2d8: Download complete 00:08:18 114826534d7a: Pull complete 00:08:18 4657fd5d0bcf: Pull complete 00:08:18 6ad1cebc031e: Pull complete 00:08:21 8a3aa393b2d8: Pull complete 00:08:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:08:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:21 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:08:28 $ docker top c54fd93734edb44f2359375d7809c27ba19f77af512940bb9182e4dcd07c6ba1 -eo pid,comm [Pipeline] { [Pipeline] echo 00:08:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:08:28 + set -o pipefail 00:08:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:08:34 00:08:34 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:08:34 00:08:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f84f9880-2e30-4998-a8f9-7f679ca75420 00:08:34 00:08:34 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:08:34 00:08:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:08:34 00:08:34 00:08:34 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:08:34 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:08:34 More details here: https://snyk.co/ue1NS [Pipeline] } 00:08:34 $ docker stop --time=1 c54fd93734edb44f2359375d7809c27ba19f77af512940bb9182e4dcd07c6ba1 00:08:37 $ docker rm -f --volumes c54fd93734edb44f2359375d7809c27ba19f77af512940bb9182e4dcd07c6ba1 [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 00:08:37 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:37 provisioning config files... 00:08:37 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config492716173126713655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:38 --> edgex-publish-swagger.sh 00:08:38 === Publish doc/openapi/v2 API === 00:08:38 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 00:08:38 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 00:08:38 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:38 Dload Upload Total Spent Left Speed 00:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 641k --:--:-- --:--:-- --:--:-- 641k 00:08:38 00:08:38 [Pipeline] } 00:08:38 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 00:08:39 + git log --format=format:%s -1 f65ca887385793521c5f561c8b8ec0758ab43644 [Pipeline] sh 00:08:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:39 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:40 $ docker top b3cbba9071739bae3bcc292730435ec62550a04d1ad3b28ad637f4e7d976eefa -eo pid,comm 00:08:40 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). 00:08:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:40 [ssh-agent] Looking for ssh-agent implementation... 00:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:40 $ docker exec b3cbba9071739bae3bcc292730435ec62550a04d1ad3b28ad637f4e7d976eefa ssh-agent 00:08:40 SSH_AUTH_SOCK=/tmp/ssh-YNQ2TK7kVOWN/agent.32 00:08:40 SSH_AGENT_PID=38 00:08:40 Running ssh-add (command line suppressed) 00:08:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5454335608647630300.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5454335608647630300.key) 00:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:41 + git semver tag 00:08:41 2023-03-08 00:08:41,236 [run_tag] DEBUG tag force:False 00:08:41 2023-03-08 00:08:41,236 [check_head_tag] DEBUG check head tag 00:08:41 2023-03-08 00:08:41,237 [execute] INFO git cat-file --batch-check 00:08:41 2023-03-08 00:08:41,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:08:41 2023-03-08 00:08:41,242 [execute] INFO git cat-file --batch 00:08:41 2023-03-08 00:08:41,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:08:41 2023-03-08 00:08:41,272 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:08:41 2023-03-08 00:08:41,272 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 00:08:41 2023-03-08 00:08:41,272 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:08:41 2023-03-08 00:08:41,277 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:08:41 3.0.0-dev.19 [Pipeline] } 00:08:41 $ docker exec --env ******** --env ******** b3cbba9071739bae3bcc292730435ec62550a04d1ad3b28ad637f4e7d976eefa ssh-agent -k 00:08:41 unset SSH_AUTH_SOCK; 00:08:41 unset SSH_AGENT_PID; 00:08:41 echo Agent pid 38 killed; 00:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:41 + git semver [Pipeline] } 00:08:41 $ docker stop --time=1 b3cbba9071739bae3bcc292730435ec62550a04d1ad3b28ad637f4e7d976eefa 00:08:43 $ docker rm -f --volumes b3cbba9071739bae3bcc292730435ec62550a04d1ad3b28ad637f4e7d976eefa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:43 00:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:43 0.23.1-centos7: Pulling from edgex-lftools 00:08:43 ab5ef0e58194: Pulling fs layer 00:08:43 9712f1f96733: Pulling fs layer 00:08:43 63f879dbbcfc: Pulling fs layer 00:08:43 0d9ebad4ef96: Pulling fs layer 00:08:43 e9a5061849ea: Pulling fs layer 00:08:43 d747dcd14b5f: Pulling fs layer 00:08:43 2de7ff778b66: Pulling fs layer 00:08:43 0d9ebad4ef96: Waiting 00:08:43 d747dcd14b5f: Waiting 00:08:43 2de7ff778b66: Waiting 00:08:43 9712f1f96733: Verifying Checksum 00:08:43 9712f1f96733: Download complete 00:08:44 63f879dbbcfc: Verifying Checksum 00:08:44 63f879dbbcfc: Download complete 00:08:44 e9a5061849ea: Verifying Checksum 00:08:44 e9a5061849ea: Download complete 00:08:44 ab5ef0e58194: Verifying Checksum 00:08:44 ab5ef0e58194: Download complete 00:08:44 d747dcd14b5f: Verifying Checksum 00:08:44 d747dcd14b5f: Download complete 00:08:44 0d9ebad4ef96: Verifying Checksum 00:08:44 0d9ebad4ef96: Download complete 00:08:44 2de7ff778b66: Verifying Checksum 00:08:44 2de7ff778b66: Download complete 00:08:48 ab5ef0e58194: Pull complete 00:08:48 9712f1f96733: Pull complete 00:08:48 63f879dbbcfc: Pull complete 00:08:52 0d9ebad4ef96: Pull complete 00:08:52 e9a5061849ea: Pull complete 00:08:52 d747dcd14b5f: Pull complete 00:08:53 2de7ff778b66: Pull complete 00:08:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:53 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:08:59 $ docker top 25818eec71151869bebcbe11b484eb4db94e0aa2868d50741a04e2ed392a56e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:08:59 provisioning config files... 00:08:59 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1851464191239731580tmp 00:08:59 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8662196224019374737tmp 00:08:59 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5549148500218846709tmp [Pipeline] { [Pipeline] echo 00:08:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:08:59 ---> sigul-configuration.sh 00:08:59 gpg: directory `/root/.gnupg' created 00:08:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:08:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:08:59 gpg: keyring `/root/.gnupg/secring.gpg' created 00:08:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:08:59 gpg: CAST5 encrypted data 00:08:59 gpg: encrypted with 1 passphrase 00:08:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:09:00 + mkdir /home/jenkins 00:09:00 + mkdir /home/jenkins/sigul [Pipeline] sh 00:09:00 + 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 00:09:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:09:00 ---> sigul-install.sh 00:09:00 Sigul already installed; skipping installation. [Pipeline] sh 00:09:00 + git tag --list 00:09:00 v0.0.0 00:09:00 v0.0.1-dev.1 00:09:00 v0.0.1-dev.10 00:09:00 v0.0.1-dev.11 00:09:00 v0.0.1-dev.12 00:09:00 v0.0.1-dev.13 00:09:00 v0.0.1-dev.14 00:09:00 v0.0.1-dev.15 00:09:00 v0.0.1-dev.16 00:09:00 v0.0.1-dev.17 00:09:00 v0.0.1-dev.18 00:09:00 v0.0.1-dev.19 00:09:00 v0.0.1-dev.2 00:09:00 v0.0.1-dev.20 00:09:00 v0.0.1-dev.21 00:09:00 v0.0.1-dev.22 00:09:00 v0.0.1-dev.23 00:09:00 v0.0.1-dev.24 00:09:00 v0.0.1-dev.25 00:09:00 v0.0.1-dev.26 00:09:00 v0.0.1-dev.27 00:09:00 v0.0.1-dev.28 00:09:00 v0.0.1-dev.3 00:09:00 v0.0.1-dev.4 00:09:00 v0.0.1-dev.5 00:09:00 v0.0.1-dev.6 00:09:00 v0.0.1-dev.7 00:09:00 v0.0.1-dev.8 00:09:00 v0.0.1-dev.9 00:09:00 v2.2.0 00:09:00 v2.2.0-dev.29 00:09:00 v2.2.0-dev.30 00:09:00 v2.2.0-dev.31 00:09:00 v2.2.0-dev.32 00:09:00 v2.2.0-dev.33 00:09:00 v2.2.0-dev.34 00:09:00 v2.2.0-dev.35 00:09:00 v2.3.0 00:09:00 v2.3.0-dev.1 00:09:00 v2.3.0-dev.10 00:09:00 v2.3.0-dev.11 00:09:00 v2.3.0-dev.12 00:09:00 v2.3.0-dev.13 00:09:00 v2.3.0-dev.14 00:09:00 v2.3.0-dev.15 00:09:00 v2.3.0-dev.16 00:09:00 v2.3.0-dev.17 00:09:00 v2.3.0-dev.18 00:09:00 v2.3.0-dev.19 00:09:00 v2.3.0-dev.2 00:09:00 v2.3.0-dev.20 00:09:00 v2.3.0-dev.21 00:09:00 v2.3.0-dev.22 00:09:00 v2.3.0-dev.23 00:09:00 v2.3.0-dev.24 00:09:00 v2.3.0-dev.25 00:09:00 v2.3.0-dev.26 00:09:00 v2.3.0-dev.27 00:09:00 v2.3.0-dev.28 00:09:00 v2.3.0-dev.29 00:09:00 v2.3.0-dev.3 00:09:00 v2.3.0-dev.30 00:09:00 v2.3.0-dev.31 00:09:00 v2.3.0-dev.32 00:09:00 v2.3.0-dev.33 00:09:00 v2.3.0-dev.34 00:09:00 v2.3.0-dev.35 00:09:00 v2.3.0-dev.36 00:09:00 v2.3.0-dev.37 00:09:00 v2.3.0-dev.38 00:09:00 v2.3.0-dev.39 00:09:00 v2.3.0-dev.4 00:09:00 v2.3.0-dev.40 00:09:00 v2.3.0-dev.41 00:09:00 v2.3.0-dev.42 00:09:00 v2.3.0-dev.43 00:09:00 v2.3.0-dev.44 00:09:00 v2.3.0-dev.45 00:09:00 v2.3.0-dev.5 00:09:00 v2.3.0-dev.6 00:09:00 v2.3.0-dev.7 00:09:00 v2.3.0-dev.8 00:09:00 v2.3.0-dev.9 00:09:00 v2.3.1-dev.1 00:09:00 v3.0.0-dev.1 00:09:00 v3.0.0-dev.10 00:09:00 v3.0.0-dev.11 00:09:00 v3.0.0-dev.12 00:09:00 v3.0.0-dev.13 00:09:00 v3.0.0-dev.14 00:09:00 v3.0.0-dev.15 00:09:00 v3.0.0-dev.16 00:09:00 v3.0.0-dev.17 00:09:00 v3.0.0-dev.18 00:09:00 v3.0.0-dev.19 00:09:00 v3.0.0-dev.2 00:09:00 v3.0.0-dev.3 00:09:00 v3.0.0-dev.4 00:09:00 v3.0.0-dev.5 00:09:00 v3.0.0-dev.6 00:09:00 v3.0.0-dev.7 00:09:00 v3.0.0-dev.8 00:09:00 v3.0.0-dev.9 [Pipeline] sh 00:09:01 + lftools sign git-tag v3.0.0-dev.19 00:09:01 Signing Git tag with Sigul... 00:09:01 Signing v3.0.0-dev.19 [Pipeline] echo 00:09:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:09:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:09:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:09:02 $ docker stop --time=1 25818eec71151869bebcbe11b484eb4db94e0aa2868d50741a04e2ed392a56e1 00:09:04 $ docker rm -f --volumes 25818eec71151869bebcbe11b484eb4db94e0aa2868d50741a04e2ed392a56e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:09:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:04 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:05 $ docker top 0de96af7c840dba11e65db6f12fdbbea200fec2ceb70bc2e82bdf7d0a7fdb578 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:05 [ssh-agent] Looking for ssh-agent implementation... 00:09:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:05 $ docker exec 0de96af7c840dba11e65db6f12fdbbea200fec2ceb70bc2e82bdf7d0a7fdb578 ssh-agent 00:09:05 SSH_AUTH_SOCK=/tmp/ssh-51tMT4unTwal/agent.32 00:09:05 SSH_AGENT_PID=38 00:09:05 Running ssh-add (command line suppressed) 00:09:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5248785524558166588.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5248785524558166588.key) 00:09:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:05 + git semver bump pre 00:09:06 2023-03-08 00:09:06,066 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:09:06 2023-03-08 00:09:06,066 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev 00:09:06 2023-03-08 00:09:06,066 [bump_version] DEBUG bumped version:3.0.0-dev.20 00:09:06 2023-03-08 00:09:06,066 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:09:06 2023-03-08 00:09:06,066 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:09:06 2023-03-08 00:09:06,066 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:09:06 2023-03-08 00:09:06,068 [execute] INFO git cat-file --batch-check 00:09:06 2023-03-08 00:09:06,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:06 2023-03-08 00:09:06,073 [execute] INFO git cat-file --batch 00:09:06 2023-03-08 00:09:06,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:06 2023-03-08 00:09:06,078 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:09:06 3.0.0-dev.20 [Pipeline] } 00:09:06 $ docker exec --env ******** --env ******** 0de96af7c840dba11e65db6f12fdbbea200fec2ceb70bc2e82bdf7d0a7fdb578 ssh-agent -k 00:09:06 unset SSH_AUTH_SOCK; 00:09:06 unset SSH_AGENT_PID; 00:09:06 echo Agent pid 38 killed; 00:09:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:06 + git semver [Pipeline] } 00:09:06 $ docker stop --time=1 0de96af7c840dba11e65db6f12fdbbea200fec2ceb70bc2e82bdf7d0a7fdb578 00:09:08 $ docker rm -f --volumes 0de96af7c840dba11e65db6f12fdbbea200fec2ceb70bc2e82bdf7d0a7fdb578 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:09 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:09:10 $ docker top fd00a4176b75c24b01b1608ba4741ad6a5896b9c139e89f23a9efaaa20d3e37c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:10 [ssh-agent] Looking for ssh-agent implementation... 00:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:10 $ docker exec fd00a4176b75c24b01b1608ba4741ad6a5896b9c139e89f23a9efaaa20d3e37c ssh-agent 00:09:10 SSH_AUTH_SOCK=/tmp/ssh-9dWk4eCrJXl6/agent.32 00:09:10 SSH_AGENT_PID=38 00:09:10 Running ssh-add (command line suppressed) 00:09:10 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11582654912689733767.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11582654912689733767.key) 00:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:10 + git semver push 00:09:11 2023-03-08 00:09:11,134 [run_push] DEBUG push 00:09:11 2023-03-08 00:09:11,134 [execute] INFO git cat-file --batch-check 00:09:11 2023-03-08 00:09:11,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:11 2023-03-08 00:09:11,139 [execute] INFO git rev-list d55717d0e4713e22ceb12c16e50d6e0f328f2f7c -- 00:09:11 2023-03-08 00:09:11,139 [execute] DEBUG Popen(['git', 'rev-list', 'd55717d0e4713e22ceb12c16e50d6e0f328f2f7c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:09:11 2023-03-08 00:09:11,146 [execute] INFO git fetch -v origin 00:09:11 2023-03-08 00:09:11,147 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:09:11 2023-03-08 00:09:11,664 [run_push] DEBUG no remote changes detected 00:09:11 2023-03-08 00:09:11,665 [execute] INFO git push origin semver 00:09:11 2023-03-08 00:09:11,665 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:09:12 2023-03-08 00:09:12,627 [run_push] DEBUG push all version tags 00:09:12 2023-03-08 00:09:12,628 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:09:12 2023-03-08 00:09:12,628 [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) 00:09:13 2023-03-08 00:09:13,363 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:09:13 3.0.0-dev.20 [Pipeline] } 00:09:13 $ docker exec --env ******** --env ******** fd00a4176b75c24b01b1608ba4741ad6a5896b9c139e89f23a9efaaa20d3e37c ssh-agent -k 00:09:13 unset SSH_AUTH_SOCK; 00:09:13 unset SSH_AGENT_PID; 00:09:13 echo Agent pid 38 killed; 00:09:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:14 + git semver [Pipeline] } 00:09:14 $ docker stop --time=1 fd00a4176b75c24b01b1608ba4741ad6a5896b9c139e89f23a9efaaa20d3e37c 00:09:15 $ docker rm -f --volumes fd00a4176b75c24b01b1608ba4741ad6a5896b9c139e89f23a9efaaa20d3e37c [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 00:09:16 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:09:16 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:09:16 total 16 00:09:16 drwxr-xr-x 3 root root 4096 Mar 8 00:00 . 00:09:16 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 00:09 .. 00:09:16 drwxr-xr-x 2 root root 4096 Mar 8 00:00 cost 00:09:16 -rw-r--r-- 1 root root 91 Mar 8 00:00 cost.csv 00:09:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:09:16 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:09:16 total 16 00:09:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 00:00 . 00:09:16 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 00:09 .. 00:09:16 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 00:00 cost 00:09:16 -rw-r--r-- 1 jenkins jenkins 91 Mar 8 00:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:09:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:09:17 ---> package-listing.sh 00:09:17 ++ facter osfamily 00:09:17 ++ tr '[:upper:]' '[:lower:]' 00:09:17 + OS_FAMILY=debian 00:09:17 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:09:17 + START_PACKAGES=/tmp/packages_start.txt 00:09:17 + END_PACKAGES=/tmp/packages_end.txt 00:09:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:09:17 + PACKAGES=/tmp/packages_start.txt 00:09:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:09:17 + PACKAGES=/tmp/packages_end.txt 00:09:17 + case "${OS_FAMILY}" in 00:09:17 + dpkg -l 00:09:17 + grep '^ii' 00:09:17 + '[' -f /tmp/packages_start.txt ']' 00:09:17 + '[' -f /tmp/packages_end.txt ']' 00:09:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:09:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:09:17 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:09:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 00:09:17 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 00:09:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:18 prd-ubuntu20.04-docker-8c-8g-8689 does not seem to be running inside a container 00:09:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:18 $ docker top 20900ce04cd7713610f4e06b9d1ab612872d234ca41603c9341a6a71c0fef250 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:19 + touch /tmp/pre-build-complete [Pipeline] sh 00:09:19 + mkdir -p /var/log/sysstat [Pipeline] sh 00:09:19 + ls /var/log/sa-host 00:09:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:19 provisioning config files... 00:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9412191447134096636tmp [Pipeline] { [Pipeline] echo 00:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:09:20 ---> create-netrc.sh [Pipeline] } 00:09:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:09:20 ---> python-tools-install.sh [Pipeline] echo 00:09:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:09:20 ---> sudo-logs.sh 00:09:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:09:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:09:21 ---> job-cost.sh 00:09:21 lf-activate-venv: SKIPPING 00:09:21 DEBUG: total: 0.2199999988079071 00:09:21 INFO: Retrieving Stack Cost... 00:09:21 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:21 INFO: Archiving Costs [Pipeline] echo 00:09:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:22 ---> logs-deploy.sh 00:09:22 lf-activate-venv: SKIPPING 00:09:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/109 00:09:22 INFO: archiving workspace using pattern(s): 00:09:23 Archives upload complete. 00:09:23 INFO: archiving logs to Nexus