Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71e0e48ceeb97099740467347434efc97fecf137 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-ssh7919408544637641054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh771632005037601873.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9746604373514829886.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh6591364280827967720.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh14259600979237954.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20749 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 71e0e48ceeb97099740467347434efc97fecf137 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 Commit message: "fix: convert MACAddress and FriendlyName to string type (#115)" > git rev-list --no-walk 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:34:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:35:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:35:00 ========================================================= 01:35:00 EdgeX Global Pipelines Version Info 01:35:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:35:00 ------------------- 01:35:00 stable info: 01:35:00 ------------------- 01:35:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:35:00 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:35:00 Message: update stable to v1.0.238 01:35:01 ------------------- 01:35:01 experimental info: 01:35:01 ------------------- 01:35:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:35:01 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:35:01 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e0e48 [Pipeline] echo 01:35:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:02 provisioning config files... 01:35:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8691959041648891388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:02 ---> docker-login.sh 01:35:02 nexus3.edgexfoundry.org:10001 01:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:02 Configure a credential helper to remove this warning. See 01:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:02 01:35:02 Login Succeeded 01:35:02 nexus3.edgexfoundry.org:10002 01:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:02 Configure a credential helper to remove this warning. See 01:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:02 01:35:02 Login Succeeded 01:35:02 nexus3.edgexfoundry.org:10003 01:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:03 Configure a credential helper to remove this warning. See 01:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:03 01:35:03 Login Succeeded 01:35:03 nexus3.edgexfoundry.org:10004 01:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:03 Configure a credential helper to remove this warning. See 01:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:03 01:35:03 Login Succeeded 01:35:03 docker.io 01:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:03 Configure a credential helper to remove this warning. See 01:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:03 01:35:03 Login Succeeded 01:35:03 ---> docker-login.sh ends [Pipeline] } 01:35:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:35:04 + git rev-list -1 --merges 71e0e48ceeb97099740467347434efc97fecf137~1..71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo 01:35:04 -----------> git rev-list -1 --merges 71e0e48ceeb97099740467347434efc97fecf137~1..71e0e48ceeb97099740467347434efc97fecf137 71e0e48ceeb97099740467347434efc97fecf137 [false] [Pipeline] sh 01:35:04 + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo 01:35:04 ========================================================= 01:35:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:35:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:04 + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] echo 01:35:04 [semverPrep] GIT_COMMIT: 71e0e48ceeb97099740467347434efc97fecf137, Commit Message: fix: convert MACAddress and FriendlyName to string type (#115) [Pipeline] echo 01:35:04 [semverPrep] This is not a build commit. [Pipeline] sh 01:35:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:35:05 + grep -v github /etc/ssh/ssh_known_hosts 01:35:05 + [ -e /tmp/ssh_known_hosts ] 01:35:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:35:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:35:05 + sudo tee -a /etc/ssh/ssh_known_hosts 01:35:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:05 01:35:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:05 0.1.4: Pulling from edgex-devops/py-git-semver 01:35:05 b85a868b505f: Pulling fs layer 01:35:05 e2be974225ed: Pulling fs layer 01:35:05 339a4e72a1f5: Pulling fs layer 01:35:05 988bab9f4d93: Pulling fs layer 01:35:05 1469e6f7b9e6: Pulling fs layer 01:35:05 eaf3925da568: Pulling fs layer 01:35:05 bab4dde63d76: Pulling fs layer 01:35:05 bde34c3a00c8: Pulling fs layer 01:35:05 b352a97aabf1: Pulling fs layer 01:35:05 4872d77fe225: Pulling fs layer 01:35:05 5851b861e8e6: Pulling fs layer 01:35:05 bab4dde63d76: Waiting 01:35:05 1469e6f7b9e6: Waiting 01:35:05 eaf3925da568: Waiting 01:35:05 4872d77fe225: Waiting 01:35:05 bde34c3a00c8: Waiting 01:35:05 5851b861e8e6: Waiting 01:35:05 b352a97aabf1: Waiting 01:35:05 988bab9f4d93: Waiting 01:35:05 e2be974225ed: Verifying Checksum 01:35:05 e2be974225ed: Download complete 01:35:05 988bab9f4d93: Verifying Checksum 01:35:05 988bab9f4d93: Download complete 01:35:06 339a4e72a1f5: Verifying Checksum 01:35:06 339a4e72a1f5: Download complete 01:35:06 1469e6f7b9e6: Verifying Checksum 01:35:06 1469e6f7b9e6: Download complete 01:35:06 eaf3925da568: Verifying Checksum 01:35:06 eaf3925da568: Download complete 01:35:06 bde34c3a00c8: Verifying Checksum 01:35:06 bde34c3a00c8: Download complete 01:35:06 b352a97aabf1: Verifying Checksum 01:35:06 b352a97aabf1: Download complete 01:35:06 4872d77fe225: Download complete 01:35:06 5851b861e8e6: Verifying Checksum 01:35:06 5851b861e8e6: Download complete 01:35:06 b85a868b505f: Verifying Checksum 01:35:06 b85a868b505f: Download complete 01:35:06 bab4dde63d76: Verifying Checksum 01:35:06 bab4dde63d76: Download complete 01:35:07 b85a868b505f: Pull complete 01:35:07 e2be974225ed: Pull complete 01:35:08 339a4e72a1f5: Pull complete 01:35:08 988bab9f4d93: Pull complete 01:35:08 1469e6f7b9e6: Pull complete 01:35:08 eaf3925da568: Pull complete 01:35:10 bab4dde63d76: Pull complete 01:35:10 bde34c3a00c8: Pull complete 01:35:11 b352a97aabf1: Pull complete 01:35:11 4872d77fe225: Pull complete 01:35:11 5851b861e8e6: Pull complete 01:35:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:35:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:11 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:35:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:35:12 $ docker top c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b -eo pid,comm 01:35:13 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). 01:35:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:35:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:35:13 [ssh-agent] Looking for ssh-agent implementation... 01:35:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:35:13 $ docker exec c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent 01:35:13 SSH_AUTH_SOCK=/tmp/ssh-MBuqDryDnUVK/agent.32 01:35:13 SSH_AGENT_PID=38 01:35:13 Running ssh-add (command line suppressed) 01:35:13 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7746675442744868503.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7746675442744868503.key) 01:35:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:35:13 + git tag --points-at HEAD [Pipeline] } 01:35:13 $ docker exec --env ******** --env ******** c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent -k 01:35:13 unset SSH_AUTH_SOCK; 01:35:13 unset SSH_AGENT_PID; 01:35:13 echo Agent pid 38 killed; 01:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:35:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:35:13 [ssh-agent] Looking for ssh-agent implementation... 01:35:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:35:14 $ docker exec c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent 01:35:14 SSH_AUTH_SOCK=/tmp/ssh-fOviQSOStsZf/agent.70 01:35:14 SSH_AGENT_PID=76 01:35:14 Running ssh-add (command line suppressed) 01:35:14 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5381700054289380810.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5381700054289380810.key) 01:35:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:35:14 + git semver init 01:35:14 2022-07-22 01:35:14,888 [run_init] DEBUG init version:0.0.0 force:False 01:35:14 2022-07-22 01:35:14,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 01:35:14 2022-07-22 01:35:14,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 01:35:14 2022-07-22 01:35:14,890 [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) 01:35:15 2022-07-22 01:35:15,671 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 01:35:15 2022-07-22 01:35:15,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 01:35:15 2022-07-22 01:35:15,671 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:35:15 2022-07-22 01:35:15,672 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:35:15 2.2.0-dev.30 [Pipeline] } 01:35:15 $ docker exec --env ******** --env ******** c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b ssh-agent -k 01:35:16 unset SSH_AUTH_SOCK; 01:35:16 unset SSH_AGENT_PID; 01:35:16 echo Agent pid 76 killed; 01:35:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:35:16 + git semver [Pipeline] } 01:35:16 $ docker stop --time=1 c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b 01:35:17 $ docker rm -f c5f865d9397c5cfed7b4e90f78d77e32693a36425f34fc2bac5cbd1fb38c617b [Pipeline] // withDockerContainer [Pipeline] sh 01:35:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:35:18 Stashed 1 file(s) [Pipeline] echo 01:35:18 [edgeXSemver]: initialized semver on version 2.2.0-dev.30 [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 01:35:18 provisioning config files... 01:35:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9053094850246229226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:19 ---> docker-login.sh 01:35:19 nexus3.edgexfoundry.org:10001 01:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:19 Configure a credential helper to remove this warning. See 01:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:19 01:35:19 Login Succeeded 01:35:19 nexus3.edgexfoundry.org:10002 01:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:19 Configure a credential helper to remove this warning. See 01:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:19 01:35:19 Login Succeeded 01:35:19 nexus3.edgexfoundry.org:10003 01:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:19 Configure a credential helper to remove this warning. See 01:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:19 01:35:19 Login Succeeded 01:35:19 nexus3.edgexfoundry.org:10004 01:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:19 Configure a credential helper to remove this warning. See 01:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:19 01:35:19 Login Succeeded 01:35:19 docker.io 01:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:20 Configure a credential helper to remove this warning. See 01:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:20 01:35:20 Login Succeeded 01:35:20 ---> docker-login.sh ends [Pipeline] } 01:35:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:20 ========================================================= 01:35:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:35:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:20 + 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 . 01:35:20 Sending build context to Docker daemon 19.96MB 01:35:20 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 01:35:20 Step 2/13 : FROM ${BASE} AS builder 01:35:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:35:20 2408cc74d12b: Pulling fs layer 01:35:20 ea60b727a1ce: Pulling fs layer 01:35:20 30c4a7721957: Pulling fs layer 01:35:20 370296b7ddb6: Pulling fs layer 01:35:20 7c6cee850709: Pulling fs layer 01:35:20 39a5fcdaea64: Pulling fs layer 01:35:20 d94ebbe4e438: Pulling fs layer 01:35:20 bcfd1f05c69d: Pulling fs layer 01:35:20 370296b7ddb6: Waiting 01:35:20 59ccb84bbe0f: Pulling fs layer 01:35:20 d94ebbe4e438: Waiting 01:35:20 59ccb84bbe0f: Waiting 01:35:20 bcfd1f05c69d: Waiting 01:35:20 39a5fcdaea64: Waiting 01:35:20 30c4a7721957: Verifying Checksum 01:35:20 30c4a7721957: Download complete 01:35:20 ea60b727a1ce: Verifying Checksum 01:35:20 ea60b727a1ce: Download complete 01:35:20 7c6cee850709: Verifying Checksum 01:35:20 7c6cee850709: Download complete 01:35:20 39a5fcdaea64: Verifying Checksum 01:35:20 39a5fcdaea64: Download complete 01:35:20 2408cc74d12b: Verifying Checksum 01:35:20 2408cc74d12b: Download complete 01:35:20 d94ebbe4e438: Download complete 01:35:20 2408cc74d12b: Pull complete 01:35:21 ea60b727a1ce: Pull complete 01:35:21 30c4a7721957: Pull complete 01:35:21 59ccb84bbe0f: Verifying Checksum 01:35:21 59ccb84bbe0f: Download complete 01:35:21 bcfd1f05c69d: Verifying Checksum 01:35:21 bcfd1f05c69d: Download complete 01:35:21 370296b7ddb6: Verifying Checksum 01:35:21 370296b7ddb6: Download complete 01:35:26 370296b7ddb6: Pull complete 01:35:26 7c6cee850709: Pull complete 01:35:26 39a5fcdaea64: Pull complete 01:35:26 d94ebbe4e438: Pull complete 01:35:28 bcfd1f05c69d: Pull complete 01:35:29 59ccb84bbe0f: Pull complete 01:35:29 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:35:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:35:29 ---> a4fb48ad2a94 01:35:29 Step 3/13 : ARG MAKE="make build" 01:35:31 ---> Running in 1c13d92b8b79 01:35:31 Removing intermediate container 1c13d92b8b79 01:35:31 ---> 9e4cab33d1a5 01:35:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:35:31 ---> Running in b53178f7b476 01:35:31 Removing intermediate container b53178f7b476 01:35:31 ---> 98da61b9983a 01:35:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 01:35:31 ---> Running in 157ff79b53ba 01:35:31 Removing intermediate container 157ff79b53ba 01:35:31 ---> 05abb8fc7c56 01:35:31 Step 6/13 : LABEL Name=edgex-device-onvif-camera 01:35:31 ---> Running in 827c4ab0dffa 01:35:31 Removing intermediate container 827c4ab0dffa 01:35:31 ---> 2b540fce38ac 01:35:31 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:32 ---> Running in 6fdda0a65cc0 01:35:32 Removing intermediate container 6fdda0a65cc0 01:35:32 ---> d6db5c939ce6 01:35:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:32 ---> Running in c9a093fbdd5b 01:35:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:35:33 Still waiting to schedule task 01:35:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:35:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:35:34 OK: 211 MiB in 51 packages 01:35:34 Removing intermediate container c9a093fbdd5b 01:35:34 ---> 2a5521472193 01:35:34 Step 9/13 : WORKDIR /device-onvif-camera 01:35:34 ---> Running in 58e6db946c58 01:35:34 Removing intermediate container 58e6db946c58 01:35:34 ---> d153cfec76b4 01:35:34 Step 10/13 : COPY go.mod vendor* ./ 01:35:34 ---> 54ee930e3363 01:35:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:34 ---> Running in 198f1bec4a12 01:35:52 Removing intermediate container 198f1bec4a12 01:35:52 ---> dd1349d4fdb7 01:35:52 Step 12/13 : COPY . . 01:35:52 ---> e3f8a1799599 01:35:52 Step 13/13 : RUN ${MAKE} 01:35:52 ---> Running in cb242fd78ab3 01:35:52 noop 01:35:52 Removing intermediate container cb242fd78ab3 01:35:52 ---> 20a3a3320091 01:35:52 Successfully built 20a3a3320091 01:35:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:53 + docker inspect -f . ci-base-image-x86_64 01:35:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:53 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:35: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 ******** ci-base-image-x86_64 cat 01:35:53 $ docker top 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:54 + go version 01:35:54 go version go1.18.3 linux/amd64 [Pipeline] } 01:35:54 $ docker stop --time=1 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 01:35:55 $ docker rm -f 0649d724dd98efc701c2401d1eb0c2bc2d16ccba0af07158bea71b90111d58b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:56 + docker inspect -f . ci-base-image-x86_64 01:35:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:56 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:35:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:35:56 $ docker top 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:56 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 01:35:57 + make test 01:35:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:35:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:36:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:36:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.7% of statements 01:36:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:36:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.691s coverage: 13.8% of statements 01:36:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:36:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:36:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:36:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:36:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:36:25 $ docker stop --time=1 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 01:36:27 $ docker rm -f 70b8f1513f26c91fee45581d5d8bdf0303220e4d1ff59034b151936d394d0c11 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:36:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:36:28 + ls -al . 01:36:28 total 232 01:36:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:36 . 01:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 .. 01:36:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:36 .git 01:36:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:34 .github 01:36:28 -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:34 .gitignore 01:36:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:34 .golangci.yml 01:36:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:35 .semver 01:36:28 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:34 Attribution.txt 01:36:28 -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:34 CHANGELOG.md 01:36:28 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:34 Dockerfile 01:36:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:34 GOVERNANCE.md 01:36:28 -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:34 Jenkinsfile 01:36:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:34 LICENSE 01:36:28 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:34 Makefile 01:36:28 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:34 OWNERS.md 01:36:28 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:34 README.md 01:36:28 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 01:35 VERSION 01:36:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:34 bin 01:36:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:34 cmd 01:36:28 -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:36 coverage.out 01:36:28 drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:34 doc 01:36:28 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:34 go.mod 01:36:28 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:34 go.sum 01:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 internal 01:36:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:34 snap 01:36:28 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:28 + 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=71e0e48ceeb97099740467347434efc97fecf137 --label arch=amd64 --label version=2.2.0-dev.30 . 01:36:28 Sending build context to Docker daemon 20.04MB 01:36:28 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:36:28 Step 2/26 : FROM ${BASE} AS builder 01:36:28 ---> 20a3a3320091 01:36:28 Step 3/26 : ARG MAKE="make build" 01:36:28 ---> Running in eec7ace82586 01:36:28 Removing intermediate container eec7ace82586 01:36:28 ---> 0f16df394426 01:36:28 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:36:28 ---> Running in 167d58b3f537 01:36:29 Removing intermediate container 167d58b3f537 01:36:29 ---> 2dc23ad0fd28 01:36:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:36:29 ---> Running in c8e901268e48 01:36:29 Removing intermediate container c8e901268e48 01:36:29 ---> 2080255a8c16 01:36:29 Step 6/26 : LABEL Name=edgex-device-onvif-camera 01:36:29 ---> Running in 8cc7752ff2da 01:36:29 Removing intermediate container 8cc7752ff2da 01:36:29 ---> 24a8d962ead1 01:36:29 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:29 ---> Running in d971258ba3e3 01:36:30 Removing intermediate container d971258ba3e3 01:36:30 ---> 8a8b14310951 01:36:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:30 ---> Running in 096b274d910a 01:36:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:36:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:36:31 OK: 211 MiB in 51 packages 01:36:32 Removing intermediate container 096b274d910a 01:36:32 ---> f5d28ea2934e 01:36:32 Step 9/26 : WORKDIR /device-onvif-camera 01:36:32 ---> Running in af805e6bbf16 01:36:32 Removing intermediate container af805e6bbf16 01:36:32 ---> 76089a5e7014 01:36:32 Step 10/26 : COPY go.mod vendor* ./ 01:36:32 ---> 47bd8324ea91 01:36:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:32 ---> Running in ade737c0fa2d 01:36:33 Removing intermediate container ade737c0fa2d 01:36:33 ---> 243cbcea7f30 01:36:33 Step 12/26 : COPY . . 01:36:33 ---> 0600d47e968f 01:36:33 Step 13/26 : RUN ${MAKE} 01:36:33 ---> Running in c220419b9792 01:36:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:36:56 Removing intermediate container c220419b9792 01:36:56 ---> a0ec53382b00 01:36:56 Step 14/26 : FROM alpine:3.15 01:36:56 3.15: Pulling from library/alpine 01:36:56 ab6db1bc80d0: Pulling fs layer 01:36:56 ab6db1bc80d0: Verifying Checksum 01:36:56 ab6db1bc80d0: Download complete 01:36:56 ab6db1bc80d0: Pull complete 01:36:56 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 01:36:56 Status: Downloaded newer image for alpine:3.15 01:36:56 ---> 2720e26172a0 01:36:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:36:57 ---> Running in 8cf233496ca7 01:36:57 Removing intermediate container 8cf233496ca7 01:36:57 ---> bc404ebfe6bc 01:36:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:36:57 ---> Running in 7e8ea82f13bc 01:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:36:57 (1/6) Installing dumb-init (1.2.5-r1) 01:36:57 (2/6) Installing libgcc (10.3.1_git20211027-r0) 01:36:57 (3/6) Installing libsodium (1.0.18-r0) 01:36:57 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 01:36:57 (5/6) Installing libzmq (4.3.4-r0) 01:36:57 (6/6) Installing zeromq (4.3.4-r0) 01:36:57 Executing busybox-1.34.1-r7.trigger 01:36:57 OK: 8 MiB in 20 packages 01:36:58 Removing intermediate container 7e8ea82f13bc 01:36:58 ---> c3d3cf6868c7 01:36:58 Step 17/26 : WORKDIR / 01:36:58 ---> Running in f096ee36da55 01:36:58 Removing intermediate container f096ee36da55 01:36:58 ---> 959aa51c3f60 01:36:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:36:58 ---> 205d27345055 01:36:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:36:58 ---> c7c92bf7f2e8 01:36:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:36:59 ---> 9c900d4b4bc2 01:36:59 Step 21/26 : EXPOSE 59984 01:36:59 ---> Running in df166b2ae885 01:36:59 Removing intermediate container df166b2ae885 01:36:59 ---> 061bbc15d8bb 01:36:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:36:59 ---> Running in 8921de58fc54 01:36:59 Removing intermediate container 8921de58fc54 01:36:59 ---> aa5f57b08144 01:36:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:36:59 ---> Running in ee000f97621d 01:36:59 Removing intermediate container ee000f97621d 01:36:59 ---> 64a580014344 01:36:59 Step 24/26 : LABEL arch=amd64 01:36:59 ---> Running in c6c5c4dece63 01:36:59 Removing intermediate container c6c5c4dece63 01:36:59 ---> ec442ef17a71 01:36:59 Step 25/26 : LABEL git_sha=71e0e48ceeb97099740467347434efc97fecf137 01:36:59 ---> Running in 2cf579343166 01:37:00 Removing intermediate container 2cf579343166 01:37:00 ---> 1aba836b42cc 01:37:00 Step 26/26 : LABEL version=2.2.0-dev.30 01:37:00 ---> Running in f60a39b427a9 01:37:00 Removing intermediate container f60a39b427a9 01:37:00 ---> b828ea21a30e 01:37:00 [Warning] One or more build-args [ARCH] were not consumed 01:37:00 Successfully built b828ea21a30e 01:37:00 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 01:37:00 provisioning config files... 01:37:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7112107952167985269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:00 ---> docker-login.sh 01:37:00 nexus3.edgexfoundry.org:10001 01:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:00 Configure a credential helper to remove this warning. See 01:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:00 01:37:00 Login Succeeded 01:37:00 nexus3.edgexfoundry.org:10002 01:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:00 Configure a credential helper to remove this warning. See 01:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:00 01:37:00 Login Succeeded 01:37:00 nexus3.edgexfoundry.org:10003 01:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:00 Configure a credential helper to remove this warning. See 01:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:00 01:37:00 Login Succeeded 01:37:00 nexus3.edgexfoundry.org:10004 01:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:01 Configure a credential helper to remove this warning. See 01:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:01 01:37:01 Login Succeeded 01:37:01 docker.io 01:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:01 Configure a credential helper to remove this warning. See 01:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:01 01:37:01 Login Succeeded 01:37:01 ---> docker-login.sh ends [Pipeline] } 01:37:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:37:01 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 01:37:01 71e0e48ceeb97099740467347434efc97fecf137 01:37:01 latest 01:37:01 2.2.0-dev.30 01:37:01 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:37:01 main 01:37:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 01:37:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:37:02 9d1f13ff310d: Preparing 01:37:02 41df11fadd6f: Preparing 01:37:02 394fc17aba9e: Preparing 01:37:02 ffe97daab2d0: Preparing 01:37:02 ad543cd673bd: Preparing 01:37:02 ad543cd673bd: Layer already exists 01:37:02 9d1f13ff310d: Pushed 01:37:02 41df11fadd6f: Pushed 01:37:02 ffe97daab2d0: Pushed 01:37:04 394fc17aba9e: Pushed 01:37:05 71e0e48ceeb97099740467347434efc97fecf137: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:37:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:37:05 9d1f13ff310d: Preparing 01:37:05 41df11fadd6f: Preparing 01:37:05 394fc17aba9e: Preparing 01:37:05 ffe97daab2d0: Preparing 01:37:05 ad543cd673bd: Preparing 01:37:05 ffe97daab2d0: Layer already exists 01:37:05 9d1f13ff310d: Layer already exists 01:37:05 41df11fadd6f: Layer already exists 01:37:05 394fc17aba9e: Layer already exists 01:37:05 ad543cd673bd: Layer already exists 01:37:05 latest: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 01:37:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:37:06 9d1f13ff310d: Preparing 01:37:06 41df11fadd6f: Preparing 01:37:06 394fc17aba9e: Preparing 01:37:06 ffe97daab2d0: Preparing 01:37:06 ad543cd673bd: Preparing 01:37:06 ad543cd673bd: Layer already exists 01:37:06 9d1f13ff310d: Layer already exists 01:37:06 41df11fadd6f: Layer already exists 01:37:06 394fc17aba9e: Layer already exists 01:37:06 ffe97daab2d0: Layer already exists 01:37:06 2.2.0-dev.30: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:37:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:37:07 9d1f13ff310d: Preparing 01:37:07 41df11fadd6f: Preparing 01:37:07 394fc17aba9e: Preparing 01:37:07 ffe97daab2d0: Preparing 01:37:07 ad543cd673bd: Preparing 01:37:07 ad543cd673bd: Layer already exists 01:37:07 ffe97daab2d0: Layer already exists 01:37:07 394fc17aba9e: Layer already exists 01:37:07 9d1f13ff310d: Layer already exists 01:37:07 41df11fadd6f: Layer already exists 01:37:07 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 01:37:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:37:07 9d1f13ff310d: Preparing 01:37:07 41df11fadd6f: Preparing 01:37:07 394fc17aba9e: Preparing 01:37:07 ffe97daab2d0: Preparing 01:37:07 ad543cd673bd: Preparing 01:37:07 ad543cd673bd: Layer already exists 01:37:07 394fc17aba9e: Layer already exists 01:37:07 41df11fadd6f: Layer already exists 01:37:07 9d1f13ff310d: Layer already exists 01:37:07 ffe97daab2d0: Layer already exists 01:37:07 main: digest: sha256:4d5baaef625a87767682613b1a97549cdd57985e81f91144e552c105e35b76da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:37:07 ===================================================== [Pipeline] echo 01:37:07 taggedImages: 01:37:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137 01:37:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:37:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.30 01:37:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:37:07 - 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 01:37:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:08 01:37:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:08 latest: Pulling from edgex-lftools-log-publisher 01:37:08 5eb5b503b376: Pulling fs layer 01:37:08 5c69ac0246d0: Pulling fs layer 01:37:08 ec43610c2a17: Pulling fs layer 01:37:08 3a2ae6a8a46f: Pulling fs layer 01:37:08 33b1e0a273af: Pulling fs layer 01:37:08 5d3b04190fa2: Pulling fs layer 01:37:08 2f39f015ded8: Pulling fs layer 01:37:08 3a2ae6a8a46f: Waiting 01:37:08 5d3b04190fa2: Waiting 01:37:08 5c69ac0246d0: Verifying Checksum 01:37:08 5c69ac0246d0: Download complete 01:37:08 3a2ae6a8a46f: Verifying Checksum 01:37:08 3a2ae6a8a46f: Download complete 01:37:08 33b1e0a273af: Verifying Checksum 01:37:08 33b1e0a273af: Download complete 01:37:08 ec43610c2a17: Verifying Checksum 01:37:08 ec43610c2a17: Download complete 01:37:08 5d3b04190fa2: Verifying Checksum 01:37:08 5d3b04190fa2: Download complete 01:37:08 5eb5b503b376: Verifying Checksum 01:37:08 5eb5b503b376: Download complete 01:37:09 2f39f015ded8: Download complete 01:37:10 5eb5b503b376: Pull complete 01:37:10 5c69ac0246d0: Pull complete 01:37:10 ec43610c2a17: Pull complete 01:37:10 3a2ae6a8a46f: Pull complete 01:37:11 33b1e0a273af: Pull complete 01:37:11 5d3b04190fa2: Pull complete 01:37:16 2f39f015ded8: Pull complete 01:37:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:37:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:16 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:37:18 $ docker top 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:18 ---> job-cost.sh 01:37:18 lf-activate-venv: SKIPPING 01:37:18 INFO: No Stack... 01:37:19 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:19 INFO: Archiving Costs [Pipeline] sh 01:37:19 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 01:37:19 + cut -d, -f6 [Pipeline] lock 01:37:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] 01:37:19 Resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] did not exist. Created. 01:37:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:37:20 + echo total: 0.2199999988079071 [Pipeline] stash 01:37:20 Stashed 1 file(s) [Pipeline] } 01:37:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 01:37:20 $ docker stop --time=1 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead 01:37:21 $ docker rm -f 3b0d809b25264ac673c0cf0fc547fd2529525f34090f5d0f0b3463d2b4f5fead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:39:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20750 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 01:39:30 Running in /w/workspace/device-onvif-camera/33 [Pipeline] { [Pipeline] checkout 01:39:30 Selected Git installation does not exist. Using Default 01:39:30 The recommended git tool is: NONE 01:39:37 using credential edgex-jenkins-ssh 01:39:37 Cloning the remote Git repository 01:39:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 01:39:37 > git init /w/workspace/device-onvif-camera/33 # timeout=10 01:39:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:39:37 > git --version # timeout=10 01:39:37 > git --version # 'git version 2.25.1' 01:39:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:39 Avoid second fetch 01:39:39 Checking out Revision 71e0e48ceeb97099740467347434efc97fecf137 (main) 01:39:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:39:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:39:39 > git config core.sparsecheckout # timeout=10 01:39:39 > git checkout -f 71e0e48ceeb97099740467347434efc97fecf137 # timeout=10 01:39:43 Commit message: "fix: convert MACAddress and FriendlyName to string type (#115)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:39:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:39:44 Dload Upload Total Spent Left Speed 01:39:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 62598 0 --:--:-- --:--:-- --:--:-- 62598 [Pipeline] sh 01:39:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:39:45 + sudo tee /etc/docker/daemon.new 01:39:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:39:45 { 01:39:45 "registry-mirrors": [ 01:39:45 "https://nexus3.edgexfoundry.org:10001" 01:39:45 ], 01:39:45 "bip": "10.250.0.254/24", 01:39:45 "hosts": [ 01:39:45 "tcp://0.0.0.0:5555", 01:39:45 "unix:///var/run/docker.sock" 01:39:45 ], 01:39:45 "mtu": 1458, 01:39:45 "selinux-enabled": true, 01:39:45 "seccomp-profile": "/etc/docker/seccomp.json" 01:39:45 } [Pipeline] sh 01:39:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:39:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:04 provisioning config files... 01:40:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config5593448487116498599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:05 ---> docker-login.sh 01:40:05 nexus3.edgexfoundry.org:10001 01:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:06 Configure a credential helper to remove this warning. See 01:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:06 01:40:06 Login Succeeded 01:40:06 nexus3.edgexfoundry.org:10002 01:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:06 Configure a credential helper to remove this warning. See 01:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:06 01:40:06 Login Succeeded 01:40:06 nexus3.edgexfoundry.org:10003 01:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:06 Configure a credential helper to remove this warning. See 01:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:06 01:40:07 Login Succeeded 01:40:07 nexus3.edgexfoundry.org:10004 01:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:07 Configure a credential helper to remove this warning. See 01:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:07 01:40:07 Login Succeeded 01:40:07 docker.io 01:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:08 Configure a credential helper to remove this warning. See 01:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:08 01:40:08 Login Succeeded 01:40:08 ---> docker-login.sh ends [Pipeline] } 01:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:08 ========================================================= 01:40:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:40:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:09 + 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 . 01:40:09 Sending build context to Docker daemon 13.61MB 01:40:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 01:40:09 Step 2/13 : FROM ${BASE} AS builder 01:40:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:40:10 b3c136eddcbf: Pulling fs layer 01:40:10 c0a3192eca97: Pulling fs layer 01:40:10 a050256f5b6f: Pulling fs layer 01:40:10 656be50a0ddc: Pulling fs layer 01:40:10 2bbca73fdf42: Pulling fs layer 01:40:10 46d945488cbd: Pulling fs layer 01:40:10 8a5474983e97: Pulling fs layer 01:40:10 329c88fbcd65: Pulling fs layer 01:40:10 46d945488cbd: Waiting 01:40:10 8a5474983e97: Waiting 01:40:10 656be50a0ddc: Waiting 01:40:10 329c88fbcd65: Waiting 01:40:10 2bbca73fdf42: Waiting 01:40:10 a050256f5b6f: Verifying Checksum 01:40:10 a050256f5b6f: Download complete 01:40:10 c0a3192eca97: Verifying Checksum 01:40:10 c0a3192eca97: Download complete 01:40:10 2bbca73fdf42: Verifying Checksum 01:40:10 2bbca73fdf42: Download complete 01:40:10 46d945488cbd: Verifying Checksum 01:40:10 46d945488cbd: Download complete 01:40:10 b3c136eddcbf: Download complete 01:40:10 b3c136eddcbf: Pull complete 01:40:11 329c88fbcd65: Verifying Checksum 01:40:11 329c88fbcd65: Download complete 01:40:11 c0a3192eca97: Pull complete 01:40:11 a050256f5b6f: Pull complete 01:40:12 8a5474983e97: Verifying Checksum 01:40:12 8a5474983e97: Download complete 01:40:13 656be50a0ddc: Verifying Checksum 01:40:13 656be50a0ddc: Download complete 01:40:28 656be50a0ddc: Pull complete 01:40:28 2bbca73fdf42: Pull complete 01:40:28 46d945488cbd: Pull complete 01:40:32 8a5474983e97: Pull complete 01:40:35 329c88fbcd65: Pull complete 01:40:35 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:40:35 ---> ff4287adb874 01:40:35 Step 3/13 : ARG MAKE="make build" 01:40:36 ---> Running in 1727e46bd44c 01:40:36 Removing intermediate container 1727e46bd44c 01:40:36 ---> 1519c5d567f7 01:40:36 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:40:36 ---> Running in dabb22c0c686 01:40:37 Removing intermediate container dabb22c0c686 01:40:37 ---> dcfc0a600c8f 01:40:37 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 01:40:37 ---> Running in 9411429deada 01:40:37 Removing intermediate container 9411429deada 01:40:37 ---> f79737b7b3e3 01:40:37 Step 6/13 : LABEL Name=edgex-device-onvif-camera 01:40:37 ---> Running in 1a79f39e7586 01:40:37 Removing intermediate container 1a79f39e7586 01:40:37 ---> d4590bdab4f5 01:40:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:37 ---> Running in 5fdc9a901228 01:40:39 Removing intermediate container 5fdc9a901228 01:40:39 ---> f87c676bfa16 01:40:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:39 ---> Running in 7c840445c328 01:40:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:40:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:40:43 OK: 221 MiB in 51 packages 01:40:44 Removing intermediate container 7c840445c328 01:40:44 ---> 33c8e6f0d942 01:40:44 Step 9/13 : WORKDIR /device-onvif-camera 01:40:44 ---> Running in 4d7e14d5d492 01:40:44 Removing intermediate container 4d7e14d5d492 01:40:44 ---> ba8a4bd30e53 01:40:44 Step 10/13 : COPY go.mod vendor* ./ 01:40:45 ---> e55d0d2a6863 01:40:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:45 ---> Running in b7f5726786c0 01:41:32 Removing intermediate container b7f5726786c0 01:41:32 ---> 3353fe5fa044 01:41:32 Step 12/13 : COPY . . 01:41:32 ---> 30a414f6dba0 01:41:32 Step 13/13 : RUN ${MAKE} 01:41:32 ---> Running in aa521b649248 01:41:32 noop 01:41:32 Removing intermediate container aa521b649248 01:41:32 ---> cb710c57bed7 01:41:32 Successfully built cb710c57bed7 01:41:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:33 + docker inspect -f . ci-base-image-arm64 01:41:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:33 prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container 01:41:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@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 01:41:34 $ docker top b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:35 + go version 01:41:35 go version go1.18.3 linux/arm64 [Pipeline] } 01:41:35 $ docker stop --time=1 b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 01:41:37 $ docker rm -f b1e04ad93997993ac2c5736983959b3f1beb6448d9517f4a7f151a3aa61de794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:37 + docker inspect -f . ci-base-image-arm64 01:41:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:38 prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container 01:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@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 01:41:39 $ docker top d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/33 [Pipeline] fileExists [Pipeline] sh 01:41:41 + make test 01:41:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:41:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:43:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:43:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.116s coverage: 10.7% of statements 01:43:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:43:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.145s coverage: 13.8% of statements 01:43:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:43:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:43:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:43:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:43:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:44:00 $ docker stop --time=1 d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de 01:44:02 $ docker rm -f d5211854e55c82c60f126c7499eaca8002522b31e5e2febe0e7d63ca8728e0de [Pipeline] // withDockerContainer [Pipeline] sh 01:44:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:44:03 Warning: overwriting stash ‘coverage-report’ 01:44:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:44:04 + ls -al . 01:44:04 total 228 01:44:04 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 01:44 . 01:44:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 .. 01:44:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:39 .git 01:44:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:39 .github 01:44:04 -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 01:39 .gitignore 01:44:04 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 01:39 .golangci.yml 01:44:04 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 01:39 Attribution.txt 01:44:04 -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 01:39 CHANGELOG.md 01:44:04 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 01:39 Dockerfile 01:44:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:39 GOVERNANCE.md 01:44:04 -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 01:39 Jenkinsfile 01:44:04 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 01:39 LICENSE 01:44:04 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 01:39 Makefile 01:44:04 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 01:39 OWNERS.md 01:44:04 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 01:39 README.md 01:44:04 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 01:35 VERSION 01:44:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:39 bin 01:44:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:39 cmd 01:44:04 -rw-r--r-- 1 jenkins jenkins 76665 Jul 22 01:43 coverage.out 01:44:04 drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 01:39 doc 01:44:04 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 01:39 go.mod 01:44:04 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 01:39 go.sum 01:44:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 internal 01:44:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:39 snap 01:44:04 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:05 + 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=71e0e48ceeb97099740467347434efc97fecf137 --label arch=arm64 --label version=2.2.0-dev.30 . 01:44:05 Sending build context to Docker daemon 13.69MB 01:44:05 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 01:44:05 Step 2/26 : FROM ${BASE} AS builder 01:44:05 ---> cb710c57bed7 01:44:05 Step 3/26 : ARG MAKE="make build" 01:44:05 ---> Running in 471a140c861a 01:44:06 Removing intermediate container 471a140c861a 01:44:06 ---> d18394cdb0db 01:44:06 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:44:06 ---> Running in 6fa6dfe6634a 01:44:06 Removing intermediate container 6fa6dfe6634a 01:44:06 ---> 0c3d916ea70e 01:44:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:44:06 ---> Running in d60b5f3aeb91 01:44:07 Removing intermediate container d60b5f3aeb91 01:44:07 ---> c459e505d9cf 01:44:07 Step 6/26 : LABEL Name=edgex-device-onvif-camera 01:44:07 ---> Running in a4df95e31d9c 01:44:07 Removing intermediate container a4df95e31d9c 01:44:07 ---> 2d4261b5f9e9 01:44:07 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:44:07 ---> Running in 6c33a991a123 01:44:09 Removing intermediate container 6c33a991a123 01:44:09 ---> 9155fedba12b 01:44:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:44:09 ---> Running in 2e515b30e527 01:44:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:44:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:44:12 OK: 221 MiB in 51 packages 01:44:13 Removing intermediate container 2e515b30e527 01:44:13 ---> 61d5dde90550 01:44:13 Step 9/26 : WORKDIR /device-onvif-camera 01:44:13 ---> Running in 1862a44c0cbf 01:44:13 Removing intermediate container 1862a44c0cbf 01:44:13 ---> 3a0c598ffed9 01:44:13 Step 10/26 : COPY go.mod vendor* ./ 01:44:14 ---> e293c7fa588d 01:44:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:44:14 ---> Running in 54bdadaaa9f7 01:44:16 Removing intermediate container 54bdadaaa9f7 01:44:16 ---> 8cba9931b789 01:44:16 Step 12/26 : COPY . . 01:44:18 ---> a1eed6fea958 01:44:18 Step 13/26 : RUN ${MAKE} 01:44:18 ---> Running in 117d53246f3f 01:44:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:46:41 Removing intermediate container 117d53246f3f 01:46:41 ---> bd7095e5cf7f 01:46:41 Step 14/26 : FROM alpine:3.15 01:46:41 3.15: Pulling from library/alpine 01:46:41 e0295fd11fe2: Pulling fs layer 01:46:41 e0295fd11fe2: Verifying Checksum 01:46:41 e0295fd11fe2: Download complete 01:46:41 e0295fd11fe2: Pull complete 01:46:41 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 01:46:41 Status: Downloaded newer image for alpine:3.15 01:46:41 ---> 60f2846fe774 01:46:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:46:41 ---> Running in 5f5c0222d15d 01:46:41 Removing intermediate container 5f5c0222d15d 01:46:41 ---> a2e52699d177 01:46:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:46:41 ---> Running in a578127f669c 01:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:46:42 (1/6) Installing dumb-init (1.2.5-r1) 01:46:42 (2/6) Installing libgcc (10.3.1_git20211027-r0) 01:46:42 (3/6) Installing libsodium (1.0.18-r0) 01:46:42 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 01:46:42 (5/6) Installing libzmq (4.3.4-r0) 01:46:42 (6/6) Installing zeromq (4.3.4-r0) 01:46:42 Executing busybox-1.34.1-r7.trigger 01:46:42 OK: 8 MiB in 20 packages 01:46:43 Removing intermediate container a578127f669c 01:46:43 ---> 253e0a40dcdd 01:46:43 Step 17/26 : WORKDIR / 01:46:43 ---> Running in 1c463c9de7fc 01:46:44 Removing intermediate container 1c463c9de7fc 01:46:44 ---> eda83325ada8 01:46:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:46:45 ---> e25a3a257702 01:46:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:46:46 ---> 0b83a026b571 01:46:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:46:47 ---> 4119e4cd63f0 01:46:47 Step 21/26 : EXPOSE 59984 01:46:47 ---> Running in 5119d5081d48 01:46:47 Removing intermediate container 5119d5081d48 01:46:47 ---> c43d95374c66 01:46:47 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:46:47 ---> Running in f6a0618aa3af 01:46:48 Removing intermediate container f6a0618aa3af 01:46:48 ---> c938f283cbe7 01:46:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:46:48 ---> Running in 1049b639a9a8 01:46:48 Removing intermediate container 1049b639a9a8 01:46:48 ---> e1a71f184f0d 01:46:48 Step 24/26 : LABEL arch=arm64 01:46:48 ---> Running in 2b399c126b6c 01:46:48 Removing intermediate container 2b399c126b6c 01:46:48 ---> 1e613a2c8edb 01:46:48 Step 25/26 : LABEL git_sha=71e0e48ceeb97099740467347434efc97fecf137 01:46:48 ---> Running in 3d4d9171498e 01:46:49 Removing intermediate container 3d4d9171498e 01:46:49 ---> b5ed37d06ecf 01:46:49 Step 26/26 : LABEL version=2.2.0-dev.30 01:46:49 ---> Running in 095e2fc1ee70 01:46:49 Removing intermediate container 095e2fc1ee70 01:46:49 ---> c02b08263230 01:46:49 [Warning] One or more build-args [ARCH] were not consumed 01:46:49 Successfully built c02b08263230 01:46:49 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 01:46:49 provisioning config files... 01:46:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config2671190851180673250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:46:50 ---> docker-login.sh 01:46:50 nexus3.edgexfoundry.org:10001 01:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:50 Configure a credential helper to remove this warning. See 01:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:50 01:46:50 Login Succeeded 01:46:50 nexus3.edgexfoundry.org:10002 01:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:51 Configure a credential helper to remove this warning. See 01:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:51 01:46:51 Login Succeeded 01:46:51 nexus3.edgexfoundry.org:10003 01:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:51 Configure a credential helper to remove this warning. See 01:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:51 01:46:51 Login Succeeded 01:46:51 nexus3.edgexfoundry.org:10004 01:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:52 Configure a credential helper to remove this warning. See 01:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:52 01:46:52 Login Succeeded 01:46:52 docker.io 01:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:46:52 Configure a credential helper to remove this warning. See 01:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:46:52 01:46:52 Login Succeeded 01:46:53 ---> docker-login.sh ends [Pipeline] } 01:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:46:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:46:53 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 01:46:53 71e0e48ceeb97099740467347434efc97fecf137 01:46:53 latest 01:46:53 2.2.0-dev.30 01:46:53 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:46:53 main 01:46:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 01:46:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:46:53 8c4d7e0d2936: Preparing 01:46:53 a0a644cb2a74: Preparing 01:46:53 7f570a158fe8: Preparing 01:46:53 c484190f1442: Preparing 01:46:53 eb54b7b7991f: Preparing 01:46:54 eb54b7b7991f: Layer already exists 01:46:54 8c4d7e0d2936: Pushed 01:46:54 a0a644cb2a74: Pushed 01:46:54 c484190f1442: Pushed 01:47:00 7f570a158fe8: Pushed 01:47:00 71e0e48ceeb97099740467347434efc97fecf137: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:00 + 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 01:47:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 01:47:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:47:00 8c4d7e0d2936: Preparing 01:47:00 a0a644cb2a74: Preparing 01:47:00 7f570a158fe8: Preparing 01:47:00 c484190f1442: Preparing 01:47:00 eb54b7b7991f: Preparing 01:47:00 8c4d7e0d2936: Layer already exists 01:47:00 eb54b7b7991f: Layer already exists 01:47:00 c484190f1442: Layer already exists 01:47:00 7f570a158fe8: Layer already exists 01:47:00 a0a644cb2a74: Layer already exists 01:47:01 latest: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 01:47:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:47:02 8c4d7e0d2936: Preparing 01:47:02 a0a644cb2a74: Preparing 01:47:02 7f570a158fe8: Preparing 01:47:02 c484190f1442: Preparing 01:47:02 eb54b7b7991f: Preparing 01:47:02 a0a644cb2a74: Layer already exists 01:47:02 eb54b7b7991f: Layer already exists 01:47:02 8c4d7e0d2936: Layer already exists 01:47:02 c484190f1442: Layer already exists 01:47:02 7f570a158fe8: Layer already exists 01:47:02 2.2.0-dev.30: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:02 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:47:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:47:03 8c4d7e0d2936: Preparing 01:47:03 a0a644cb2a74: Preparing 01:47:03 7f570a158fe8: Preparing 01:47:03 c484190f1442: Preparing 01:47:03 eb54b7b7991f: Preparing 01:47:03 a0a644cb2a74: Layer already exists 01:47:03 eb54b7b7991f: Layer already exists 01:47:03 8c4d7e0d2936: Layer already exists 01:47:03 7f570a158fe8: Layer already exists 01:47:03 c484190f1442: Layer already exists 01:47:03 71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:03 + 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 01:47:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 01:47:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:47:04 8c4d7e0d2936: Preparing 01:47:04 a0a644cb2a74: Preparing 01:47:04 7f570a158fe8: Preparing 01:47:04 c484190f1442: Preparing 01:47:04 eb54b7b7991f: Preparing 01:47:04 eb54b7b7991f: Layer already exists 01:47:04 a0a644cb2a74: Layer already exists 01:47:04 7f570a158fe8: Layer already exists 01:47:04 8c4d7e0d2936: Layer already exists 01:47:04 c484190f1442: Layer already exists 01:47:04 main: digest: sha256:f585cb0a1c2bf3afb1c5d7e749ff2fdffe1a19a13603e2dca98330b4904bcd46 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:47:04 ===================================================== [Pipeline] echo 01:47:04 taggedImages: 01:47:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137 01:47:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 01:47:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.30 01:47:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:71e0e48ceeb97099740467347434efc97fecf137-2.2.0-dev.30 01:47:04 - 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 01:47:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:04 01:47:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:05 arm64: Pulling from edgex-lftools-log-publisher 01:47:05 8998bd30e6a1: Pulling fs layer 01:47:05 04944245beec: Pulling fs layer 01:47:05 699f458cf7ca: Pulling fs layer 01:47:05 765212b225bb: Pulling fs layer 01:47:05 f23df028b6ca: Pulling fs layer 01:47:05 d65c8cfc05b1: Pulling fs layer 01:47:05 2437ff75d9bd: Pulling fs layer 01:47:05 765212b225bb: Waiting 01:47:05 f23df028b6ca: Waiting 01:47:05 d65c8cfc05b1: Waiting 01:47:05 2437ff75d9bd: Waiting 01:47:05 04944245beec: Verifying Checksum 01:47:05 04944245beec: Download complete 01:47:05 765212b225bb: Verifying Checksum 01:47:05 765212b225bb: Download complete 01:47:05 f23df028b6ca: Verifying Checksum 01:47:05 f23df028b6ca: Download complete 01:47:05 d65c8cfc05b1: Verifying Checksum 01:47:05 d65c8cfc05b1: Download complete 01:47:05 699f458cf7ca: Verifying Checksum 01:47:05 699f458cf7ca: Download complete 01:47:06 8998bd30e6a1: Verifying Checksum 01:47:06 8998bd30e6a1: Download complete 01:47:08 2437ff75d9bd: Verifying Checksum 01:47:08 2437ff75d9bd: Download complete 01:47:10 8998bd30e6a1: Pull complete 01:47:10 04944245beec: Pull complete 01:47:12 699f458cf7ca: Pull complete 01:47:12 765212b225bb: Pull complete 01:47:13 f23df028b6ca: Pull complete 01:47:13 d65c8cfc05b1: Pull complete 01:47:29 2437ff75d9bd: Pull complete 01:47:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-20750 does not seem to be running inside a container 01:47:29 $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@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 01:47:32 $ docker top 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:33 ---> job-cost.sh 01:47:33 lf-activate-venv: SKIPPING 01:47:33 INFO: No Stack... 01:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:47:34 INFO: Archiving Costs [Pipeline] sh 01:47:35 + cat /w/workspace/device-onvif-camera/33/archives/cost.csv 01:47:35 + cut -d, -f6 [Pipeline] lock 01:47:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] 01:47:35 Resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] did not exist. Created. 01:47:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:47:35 /w/workspace/device-onvif-camera/33@tmp/durable-9fd7d4d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:47:36 + echo total: 0.10999999940395355 [Pipeline] stash 01:47:36 Warning: overwriting stash ‘stack-cost’ 01:47:36 Stashed 1 file(s) [Pipeline] } 01:47:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 01:47:36 $ docker stop --time=1 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c 01:47:38 $ docker rm -f 0073dd4ebfee315af0724bfe65daaf2e6f00976c2e9b3bc408149189673ff04c [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 01:47:38 provisioning config files... 01:47:38 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5633029073039408994tmp [Pipeline] { [Pipeline] sh 01:47:38 + set +x 01:47:38 + curl -s https://codecov.io/bash 01:47:38 + bash -s -- 01:47:38 01:47:38 _____ _ 01:47:38 / ____| | | 01:47:38 | | ___ __| | ___ ___ _____ __ 01:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:47:38 Bash-1.0.6 01:47:38 01:47:38 01:47:38 ==> git version 2.25.1 found 01:47:38 ==> 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 01:47:38 Release-Date: 2020-01-08 01:47:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:47:38 ==> Jenkins CI detected. 01:47:38 current dir:  /w/workspace/foundry_device-onvif-camera_main 01:47:38 project root: . 01:47:38 --> token set from env 01:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:47:38 ==> Running gcov in . (disable via -X gcov) 01:47:38 ==> Python coveragepy not found 01:47:38 ==> Searching for coverage reports in: 01:47:38 + . 01:47:38 -> Found 1 reports 01:47:38 ==> Detecting git/mercurial file structure 01:47:38 ==> Reading reports 01:47:38 + ./coverage.out bytes=76665 01:47:38 ==> Appending adjustments 01:47:38 https://docs.codecov.io/docs/fixing-reports 01:47:39 + Found adjustments 01:47:39 ==> Gzipping contents 01:47:39 12K /tmp/codecov.Rprmrv.gz 01:47:39 ==> Uploading reports 01:47:39 url: https://codecov.io 01:47:39 query: branch=main&commit=71e0e48ceeb97099740467347434efc97fecf137&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:47:39 -> Pinging Codecov 01:47:39 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=71e0e48ceeb97099740467347434efc97fecf137&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:47:39 -> Uploading to 01:47:39 https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/71e0e48ceeb97099740467347434efc97fecf137/68cc21aa-70fd-4bca-be8f-525532497534.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T014739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab33d572b8da17e0ffd32d3303843ad48f769327892caf1e9cc1d3b8a9edbe20 01:47:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:47:39 Dload Upload Total Spent Left Speed 01:47:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10379 0 0 100 10379 0 46542 --:--:-- --:--:-- --:--:-- 46542 100 10379 0 0 100 10379 0 42191 --:--:-- --:--:-- --:--:-- 42020 01:47:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] } 01:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:47:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:47:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:40 01:47:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:47:40 df9b9388f04a: Pulling fs layer 01:47:40 52dc419b0ee2: Pulling fs layer 01:47:40 25bc292e5bac: Pulling fs layer 01:47:40 114826534d7a: Pulling fs layer 01:47:40 4657fd5d0bcf: Pulling fs layer 01:47:40 6ad1cebc031e: Pulling fs layer 01:47:40 8a3aa393b2d8: Pulling fs layer 01:47:40 114826534d7a: Waiting 01:47:40 4657fd5d0bcf: Waiting 01:47:40 8a3aa393b2d8: Waiting 01:47:40 6ad1cebc031e: Waiting 01:47:40 25bc292e5bac: Verifying Checksum 01:47:40 25bc292e5bac: Download complete 01:47:40 52dc419b0ee2: Download complete 01:47:40 4657fd5d0bcf: Verifying Checksum 01:47:40 4657fd5d0bcf: Download complete 01:47:40 df9b9388f04a: Verifying Checksum 01:47:40 df9b9388f04a: Download complete 01:47:40 6ad1cebc031e: Verifying Checksum 01:47:40 6ad1cebc031e: Download complete 01:47:40 df9b9388f04a: Pull complete 01:47:40 52dc419b0ee2: Pull complete 01:47:41 25bc292e5bac: Pull complete 01:47:41 114826534d7a: Verifying Checksum 01:47:41 114826534d7a: Download complete 01:47:41 8a3aa393b2d8: Verifying Checksum 01:47:41 8a3aa393b2d8: Download complete 01:47:45 114826534d7a: Pull complete 01:47:45 4657fd5d0bcf: Pull complete 01:47:45 6ad1cebc031e: Pull complete 01:47:48 8a3aa393b2d8: Pull complete 01:47:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:47:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:48 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:47:50 $ docker top fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a -eo pid,comm [Pipeline] { [Pipeline] echo 01:47:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 01:47:51 + set -o pipefail 01:47:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 01:47:59 01:47:59 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 01:47:59 01:47:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9a036211-69ca-4f3f-bc31-5b3ade11ec11 01:47:59 01:47:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:47:59 01:47:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:47:59 01:47:59 [Pipeline] } 01:47:59 $ docker stop --time=1 fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a 01:48:01 $ docker rm -f fde0028c815c1a9ea29005b4e62904b08d250dc76ac66514d45fb8313ba2c87a [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:02 + git log --format=format:%s -1 71e0e48ceeb97099740467347434efc97fecf137 [Pipeline] sh 01:48:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:03 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:03 $ docker top 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:03 [ssh-agent] Looking for ssh-agent implementation... 01:48:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:03 $ docker exec 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 ssh-agent 01:48:03 SSH_AUTH_SOCK=/tmp/ssh-zrx5EPTIqMh8/agent.34 01:48:03 SSH_AGENT_PID=40 01:48:03 Running ssh-add (command line suppressed) 01:48:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2555058744948634587.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2555058744948634587.key) 01:48:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:04 + git semver tag 01:48:04 2022-07-22 01:48:04,546 [run_tag] DEBUG tag force:False 01:48:04 2022-07-22 01:48:04,546 [check_head_tag] DEBUG check head tag 01:48:04 2022-07-22 01:48:04,547 [execute] INFO git cat-file --batch-check 01:48:04 2022-07-22 01:48:04,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 01:48:04 2022-07-22 01:48:04,551 [execute] INFO git cat-file --batch 01:48:04 2022-07-22 01:48:04,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 01:48:04 2022-07-22 01:48:04,566 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:04 2022-07-22 01:48:04,567 [execute] INFO git tag -a v2.2.0-dev.30 -m v2.2.0-dev.30 01:48:04 2022-07-22 01:48:04,567 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.30', '-m', 'v2.2.0-dev.30'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 01:48:04 2022-07-22 01:48:04,572 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:04 2.2.0-dev.30 [Pipeline] } 01:48:04 $ docker exec --env ******** --env ******** 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 ssh-agent -k 01:48:04 unset SSH_AUTH_SOCK; 01:48:04 unset SSH_AGENT_PID; 01:48:04 echo Agent pid 40 killed; 01:48:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:05 + git semver [Pipeline] } 01:48:05 $ docker stop --time=1 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 01:48:06 $ docker rm -f 913f48076069675d9a75a4517ef810c5dc399e091e98b76dabd11a25f7f35198 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:48:07 01:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:48:07 0.23.1-centos7: Pulling from edgex-lftools 01:48:07 ab5ef0e58194: Pulling fs layer 01:48:07 9712f1f96733: Pulling fs layer 01:48:07 63f879dbbcfc: Pulling fs layer 01:48:07 0d9ebad4ef96: Pulling fs layer 01:48:07 e9a5061849ea: Pulling fs layer 01:48:07 d747dcd14b5f: Pulling fs layer 01:48:07 2de7ff778b66: Pulling fs layer 01:48:07 e9a5061849ea: Waiting 01:48:07 2de7ff778b66: Waiting 01:48:07 d747dcd14b5f: Waiting 01:48:07 0d9ebad4ef96: Waiting 01:48:07 9712f1f96733: Verifying Checksum 01:48:07 9712f1f96733: Download complete 01:48:07 63f879dbbcfc: Verifying Checksum 01:48:07 63f879dbbcfc: Download complete 01:48:07 e9a5061849ea: Verifying Checksum 01:48:07 e9a5061849ea: Download complete 01:48:07 d747dcd14b5f: Verifying Checksum 01:48:07 d747dcd14b5f: Download complete 01:48:07 0d9ebad4ef96: Download complete 01:48:08 ab5ef0e58194: Verifying Checksum 01:48:08 ab5ef0e58194: Download complete 01:48:08 2de7ff778b66: Verifying Checksum 01:48:08 2de7ff778b66: Download complete 01:48:11 ab5ef0e58194: Pull complete 01:48:11 9712f1f96733: Pull complete 01:48:12 63f879dbbcfc: Pull complete 01:48:16 0d9ebad4ef96: Pull complete 01:48:16 e9a5061849ea: Pull complete 01:48:16 d747dcd14b5f: Pull complete 01:48:17 2de7ff778b66: Pull complete 01:48:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:48:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:48:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:17 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:48:20 $ docker top 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:48:20 provisioning config files... 01:48:20 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3094113772479632231tmp 01:48:20 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4879537802496126442tmp 01:48:20 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4740694551971910203tmp [Pipeline] { [Pipeline] echo 01:48:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:48:20 ---> sigul-configuration.sh 01:48:20 gpg: directory `/root/.gnupg' created 01:48:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:48:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:48:20 gpg: keyring `/root/.gnupg/secring.gpg' created 01:48:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:48:20 gpg: CAST5 encrypted data 01:48:20 gpg: encrypted with 1 passphrase 01:48:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:48:21 + mkdir /home/jenkins 01:48:21 + mkdir /home/jenkins/sigul [Pipeline] sh 01:48:21 + 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 01:48:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:48:21 ---> sigul-install.sh 01:48:21 Sigul already installed; skipping installation. [Pipeline] sh 01:48:21 + git tag --list 01:48:21 v0.0.0 01:48:21 v0.0.1-dev.1 01:48:21 v0.0.1-dev.10 01:48:21 v0.0.1-dev.11 01:48:21 v0.0.1-dev.12 01:48:21 v0.0.1-dev.13 01:48:21 v0.0.1-dev.14 01:48:21 v0.0.1-dev.15 01:48:21 v0.0.1-dev.16 01:48:21 v0.0.1-dev.17 01:48:21 v0.0.1-dev.18 01:48:21 v0.0.1-dev.19 01:48:21 v0.0.1-dev.2 01:48:21 v0.0.1-dev.20 01:48:21 v0.0.1-dev.21 01:48:21 v0.0.1-dev.22 01:48:21 v0.0.1-dev.23 01:48:21 v0.0.1-dev.24 01:48:21 v0.0.1-dev.25 01:48:21 v0.0.1-dev.26 01:48:21 v0.0.1-dev.27 01:48:21 v0.0.1-dev.28 01:48:21 v0.0.1-dev.3 01:48:21 v0.0.1-dev.4 01:48:21 v0.0.1-dev.5 01:48:21 v0.0.1-dev.6 01:48:21 v0.0.1-dev.7 01:48:21 v0.0.1-dev.8 01:48:21 v0.0.1-dev.9 01:48:21 v2.2.0-dev.29 01:48:21 v2.2.0-dev.30 [Pipeline] sh 01:48:22 + lftools sign git-tag v2.2.0-dev.30 01:48:22 Signing Git tag with Sigul... 01:48:22 Signing v2.2.0-dev.30 [Pipeline] echo 01:48:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:48:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:48:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:48:23 $ docker stop --time=1 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a 01:48:25 $ docker rm -f 4f334ece835433f39c29f21903a8141a1d7bb515f74e6d537e77a7ade284767a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:48:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:25 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:48:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:26 $ docker top f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:26 [ssh-agent] Looking for ssh-agent implementation... 01:48:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:26 $ docker exec f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 ssh-agent 01:48:26 SSH_AUTH_SOCK=/tmp/ssh-7iHJtfEMe0BZ/agent.33 01:48:26 SSH_AGENT_PID=39 01:48:26 Running ssh-add (command line suppressed) 01:48:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3864654930985638296.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3864654930985638296.key) 01:48:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:27 + git semver bump pre 01:48:27 2022-07-22 01:48:27,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:27 2022-07-22 01:48:27,308 [bump_version] DEBUG bumping version:2.2.0-dev.30 on axis:pre with prefix:dev 01:48:27 2022-07-22 01:48:27,308 [bump_version] DEBUG bumped version:2.2.0-dev.31 01:48:27 2022-07-22 01:48:27,308 [write_version] DEBUG write version:2.2.0-dev.31 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 01:48:27 2022-07-22 01:48:27,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:27 2022-07-22 01:48:27,308 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:27 2022-07-22 01:48:27,310 [execute] INFO git cat-file --batch-check 01:48:27 2022-07-22 01:48:27,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:27 2022-07-22 01:48:27,318 [execute] INFO git cat-file --batch 01:48:27 2022-07-22 01:48:27,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:27 2022-07-22 01:48:27,324 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:27 2.2.0-dev.31 [Pipeline] } 01:48:27 $ docker exec --env ******** --env ******** f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 ssh-agent -k 01:48:27 unset SSH_AUTH_SOCK; 01:48:27 unset SSH_AGENT_PID; 01:48:27 echo Agent pid 39 killed; 01:48:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:27 + git semver [Pipeline] } 01:48:28 $ docker stop --time=1 f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 01:48:29 $ docker rm -f f3799b84015cd93994b44a46f5934f1313dc1f014583e7a16af0cd2d8178b461 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:30 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:30 $ docker top 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:30 [ssh-agent] Looking for ssh-agent implementation... 01:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:30 $ docker exec 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 ssh-agent 01:48:30 SSH_AUTH_SOCK=/tmp/ssh-HDSiA4otOWqG/agent.33 01:48:30 SSH_AGENT_PID=39 01:48:31 Running ssh-add (command line suppressed) 01:48:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4118841333836465642.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4118841333836465642.key) 01:48:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:31 + git semver push 01:48:31 2022-07-22 01:48:31,611 [run_push] DEBUG push 01:48:31 2022-07-22 01:48:31,611 [execute] INFO git cat-file --batch-check 01:48:31 2022-07-22 01:48:31,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:48:31 2022-07-22 01:48:31,615 [execute] INFO git rev-list cba64115b58c958a1ca4a16795328d6ecc0fd268 -- 01:48:31 2022-07-22 01:48:31,616 [execute] DEBUG Popen(['git', 'rev-list', 'cba64115b58c958a1ca4a16795328d6ecc0fd268', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:48:31 2022-07-22 01:48:31,621 [execute] INFO git fetch -v origin 01:48:31 2022-07-22 01:48:31,622 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 01:48:32 2022-07-22 01:48:32,085 [run_push] DEBUG no remote changes detected 01:48:32 2022-07-22 01:48:32,085 [execute] INFO git push origin semver 01:48:32 2022-07-22 01:48:32,086 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:48:32 2022-07-22 01:48:32,725 [run_push] DEBUG push all version tags 01:48:32 2022-07-22 01:48:32,725 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:48:32 2022-07-22 01:48:32,726 [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) 01:48:33 2022-07-22 01:48:33,335 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:48:33 2.2.0-dev.31 [Pipeline] } 01:48:33 $ docker exec --env ******** --env ******** 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 ssh-agent -k 01:48:33 unset SSH_AUTH_SOCK; 01:48:33 unset SSH_AGENT_PID; 01:48:33 echo Agent pid 39 killed; 01:48:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:33 + git semver [Pipeline] } 01:48:34 $ docker stop --time=1 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 01:48:35 $ docker rm -f 72451c52ba92f1dec460873fbd2671117efb7b20195e2649b62f2a1a4fd76898 [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 01:48:36 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 01:48:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:48:36 total 16 01:48:36 drwxr-xr-x 3 root root 4096 Jul 22 01:37 . 01:48:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:48 .. 01:48:36 drwxr-xr-x 2 root root 4096 Jul 22 01:37 cost 01:48:36 -rw-r--r-- 1 root root 89 Jul 22 01:37 cost.csv 01:48:36 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 01:48:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:48:36 total 16 01:48:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:37 . 01:48:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 01:48 .. 01:48:36 drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 01:37 cost 01:48:36 -rw-r--r-- 1 jenkins jenkins 89 Jul 22 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:37 ---> package-listing.sh 01:48:37 ++ facter osfamily 01:48:37 ++ tr '[:upper:]' '[:lower:]' 01:48:37 + OS_FAMILY=debian 01:48:37 + workspace=/w/workspace/foundry_device-onvif-camera_main 01:48:37 + START_PACKAGES=/tmp/packages_start.txt 01:48:37 + END_PACKAGES=/tmp/packages_end.txt 01:48:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:37 + PACKAGES=/tmp/packages_start.txt 01:48:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:48:37 + PACKAGES=/tmp/packages_end.txt 01:48:37 + case "${OS_FAMILY}" in 01:48:37 + dpkg -l 01:48:37 + grep '^ii' 01:48:37 + '[' -f /tmp/packages_start.txt ']' 01:48:37 + '[' -f /tmp/packages_end.txt ']' 01:48:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:48:37 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 01:48:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 01:48:37 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 01:48:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:38 prd-ubuntu20.04-docker-8c-8g-20749 does not seem to be running inside a container 01:48:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:48:38 $ docker top 091ba6aa0cc6a58fbe76749c3e9d6d862af28649d6ab07d7049dce4aaf42e562 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:39 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:39 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:39 + ls /var/log/sa-host 01:48:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:39 provisioning config files... 01:48:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3759489800315264723tmp [Pipeline] { [Pipeline] echo 01:48:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:40 ---> create-netrc.sh [Pipeline] } 01:48:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:40 ---> python-tools-install.sh [Pipeline] echo 01:48:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:40 ---> sudo-logs.sh 01:48:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:41 ---> job-cost.sh 01:48:41 lf-activate-venv: SKIPPING 01:48:41 DEBUG: total: 0.2199999988079071 01:48:41 INFO: Retrieving Stack Cost... 01:48:41 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:41 INFO: Archiving Costs [Pipeline] echo 01:48:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:42 ---> logs-deploy.sh 01:48:42 lf-activate-venv: SKIPPING 01:48:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/33 01:48:42 INFO: archiving workspace using pattern(s): 01:48:43 Archives upload complete. 01:48:43 INFO: archiving logs to Nexus