Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 201cf242bae9e183bc4bdc133a26c0afb244aa26+a761beb27065a69935e8288e1ea85e5d9ee20b97 (a038bfd78ec4958f2cf67b9bfe218dabd2bae60e) 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-ssh732523917729424552.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-ssh16943627784496756891.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/PR-111/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/PR-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7956288335527537110.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-ssh6495521596082713238.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/PR-111/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/PR-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16137778379107812079.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 ‘prd-ubuntu20.04-docker-8c-8g-20572’ Running on prd-ubuntu20.04-docker-8c-8g-20575 in /w/workspace/undry_device-onvif-camera_PR-111 [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/undry_device-onvif-camera_PR-111 # 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 Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 Merge succeeded, producing 6146b101b345b3ce66b83fcf28dc6d39dc835a01 Checking out Revision 6146b101b345b3ce66b83fcf28dc6d39dc835a01 (PR-111) > 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 remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6146b101b345b3ce66b83fcf28dc6d39dc835a01 # timeout=10 Commit message: "Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:11:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 9f21df807ec71b5ed2d90c5962930d3467358c37 # timeout=10 [Pipeline] withCredentials 10:11:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:11:14 ========================================================= 10:11:14 EdgeX Global Pipelines Version Info 10:11:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:11:15 ------------------- 10:11:15 stable info: 10:11:15 ------------------- 10:11:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:15 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:11:15 Message: update stable to v1.0.238 10:11:15 ------------------- 10:11:15 experimental info: 10:11:15 ------------------- 10:11:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:15 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:11:15 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6146b101b345b3ce66b83fcf28dc6d39dc835a01 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6146b10 [Pipeline] echo 10:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:16 provisioning config files... 10:11:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config8249815461412559716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:16 ---> docker-login.sh 10:11:16 nexus3.edgexfoundry.org:10001 10:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:17 Configure a credential helper to remove this warning. See 10:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:17 10:11:17 Login Succeeded 10:11:17 nexus3.edgexfoundry.org:10002 10:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:17 Configure a credential helper to remove this warning. See 10:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:17 10:11:17 Login Succeeded 10:11:17 nexus3.edgexfoundry.org:10003 10:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:17 Configure a credential helper to remove this warning. See 10:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:17 10:11:17 Login Succeeded 10:11:17 nexus3.edgexfoundry.org:10004 10:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:17 Configure a credential helper to remove this warning. See 10:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:17 10:11:17 Login Succeeded 10:11:17 docker.io 10:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:18 Configure a credential helper to remove this warning. See 10:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:18 10:11:18 Login Succeeded 10:11:18 ---> docker-login.sh ends [Pipeline] } 10:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:11:18 + git rev-list -1 --merges 6146b101b345b3ce66b83fcf28dc6d39dc835a01~1..6146b101b345b3ce66b83fcf28dc6d39dc835a01 [Pipeline] echo 10:11:18 -----------> git rev-list -1 --merges 6146b101b345b3ce66b83fcf28dc6d39dc835a01~1..6146b101b345b3ce66b83fcf28dc6d39dc835a01 6146b101b345b3ce66b83fcf28dc6d39dc835a01 10:11:18 6146b101b345b3ce66b83fcf28dc6d39dc835a01 [false] [Pipeline] sh 10:11:19 + git log --format=format:%s -1 6146b101b345b3ce66b83fcf28dc6d39dc835a01 [Pipeline] echo 10:11:19 ========================================================= 10:11:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:11:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:19 + git log --format=format:%s -1 6146b101b345b3ce66b83fcf28dc6d39dc835a01 [Pipeline] echo 10:11:19 [semverPrep] GIT_COMMIT: 6146b101b345b3ce66b83fcf28dc6d39dc835a01, Commit Message: Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD [Pipeline] echo 10:11:19 [semverPrep] This is not a build commit. [Pipeline] sh 10:11:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:11:19 + grep -v github /etc/ssh/ssh_known_hosts 10:11:19 + [ -e /tmp/ssh_known_hosts ] 10:11:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:11:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:11:19 + sudo tee -a /etc/ssh/ssh_known_hosts 10:11:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:20 10:11:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:20 0.1.4: Pulling from edgex-devops/py-git-semver 10:11:20 b85a868b505f: Pulling fs layer 10:11:20 e2be974225ed: Pulling fs layer 10:11:20 339a4e72a1f5: Pulling fs layer 10:11:20 988bab9f4d93: Pulling fs layer 10:11:20 1469e6f7b9e6: Pulling fs layer 10:11:20 eaf3925da568: Pulling fs layer 10:11:20 bab4dde63d76: Pulling fs layer 10:11:20 bde34c3a00c8: Pulling fs layer 10:11:20 b352a97aabf1: Pulling fs layer 10:11:20 4872d77fe225: Pulling fs layer 10:11:20 5851b861e8e6: Pulling fs layer 10:11:20 b352a97aabf1: Waiting 10:11:20 bab4dde63d76: Waiting 10:11:20 4872d77fe225: Waiting 10:11:20 988bab9f4d93: Waiting 10:11:20 bde34c3a00c8: Waiting 10:11:20 eaf3925da568: Waiting 10:11:20 5851b861e8e6: Waiting 10:11:20 e2be974225ed: Download complete 10:11:20 988bab9f4d93: Verifying Checksum 10:11:20 988bab9f4d93: Download complete 10:11:20 1469e6f7b9e6: Verifying Checksum 10:11:20 1469e6f7b9e6: Download complete 10:11:20 339a4e72a1f5: Verifying Checksum 10:11:20 339a4e72a1f5: Download complete 10:11:20 eaf3925da568: Verifying Checksum 10:11:20 eaf3925da568: Download complete 10:11:20 bde34c3a00c8: Verifying Checksum 10:11:20 bde34c3a00c8: Download complete 10:11:20 b352a97aabf1: Download complete 10:11:20 4872d77fe225: Verifying Checksum 10:11:20 4872d77fe225: Download complete 10:11:20 5851b861e8e6: Verifying Checksum 10:11:20 5851b861e8e6: Download complete 10:11:20 b85a868b505f: Verifying Checksum 10:11:20 b85a868b505f: Download complete 10:11:20 bab4dde63d76: Verifying Checksum 10:11:20 bab4dde63d76: Download complete 10:11:22 b85a868b505f: Pull complete 10:11:22 e2be974225ed: Pull complete 10:11:22 339a4e72a1f5: Pull complete 10:11:22 988bab9f4d93: Pull complete 10:11:23 1469e6f7b9e6: Pull complete 10:11:23 eaf3925da568: Pull complete 10:11:25 bab4dde63d76: Pull complete 10:11:25 bde34c3a00c8: Pull complete 10:11:25 b352a97aabf1: Pull complete 10:11:25 4872d77fe225: Pull complete 10:11:25 5851b861e8e6: Pull complete 10:11:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:25 prd-ubuntu20.04-docker-8c-8g-20575 does not seem to be running inside a container 10:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:11:27 $ docker top a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf -eo pid,comm 10:11:27 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). 10:11:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:27 [ssh-agent] Looking for ssh-agent implementation... 10:11:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:27 $ docker exec a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf ssh-agent 10:11:27 SSH_AUTH_SOCK=/tmp/ssh-dboBpWPJGvbS/agent.32 10:11:27 SSH_AGENT_PID=39 10:11:27 Running ssh-add (command line suppressed) 10:11:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_333225895127365741.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_333225895127365741.key) 10:11:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:28 + git tag --points-at HEAD [Pipeline] } 10:11:28 $ docker exec --env ******** --env ******** a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf ssh-agent -k 10:11:28 unset SSH_AUTH_SOCK; 10:11:28 unset SSH_AGENT_PID; 10:11:28 echo Agent pid 39 killed; 10:11:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:28 [ssh-agent] Looking for ssh-agent implementation... 10:11:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:28 $ docker exec a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf ssh-agent 10:11:28 SSH_AUTH_SOCK=/tmp/ssh-D3kczWv3vlDo/agent.72 10:11:28 SSH_AGENT_PID=78 10:11:28 Running ssh-add (command line suppressed) 10:11:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_2994049682796177589.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_2994049682796177589.key) 10:11:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:29 + git semver init 10:11:29 2022-07-20 10:11:29,430 [run_init] DEBUG init version:0.0.0 force:False 10:11:29 2022-07-20 10:11:29,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-111/.semver 10:11:29 2022-07-20 10:11:29,432 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-111/.semver 10:11:29 2022-07-20 10:11:29,432 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-111/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-111, universal_newlines=False, shell=None, istream=None) 10:11:30 2022-07-20 10:11:30,184 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-111/.git/info/exclude 10:11:30 2022-07-20 10:11:30,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 with force:False 10:11:30 2022-07-20 10:11:30,185 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 10:11:30 2022-07-20 10:11:30,188 [execute] INFO git cat-file --batch-check 10:11:30 2022-07-20 10:11:30,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) 10:11:30 2022-07-20 10:11:30,196 [execute] INFO git cat-file --batch 10:11:30 2022-07-20 10:11:30,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) 10:11:30 2022-07-20 10:11:30,202 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 10:11:30 0.0.0 [Pipeline] } 10:11:30 $ docker exec --env ******** --env ******** a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf ssh-agent -k 10:11:30 unset SSH_AUTH_SOCK; 10:11:30 unset SSH_AGENT_PID; 10:11:30 echo Agent pid 78 killed; 10:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:30 + git semver [Pipeline] } 10:11:31 $ docker stop --time=1 a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf 10:11:32 $ docker rm -f a0fd4d2a063a0d67359c35c58903f87822e0df28c4ef9f55e82309e7e76629cf [Pipeline] // withDockerContainer [Pipeline] sh 10:11:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:33 Stashed 1 file(s) [Pipeline] echo 10:11:33 [edgeXSemver]: initialized semver on version 0.0.0 [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 10:11:33 provisioning config files... 10:11:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config4600286632445098657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:33 ---> docker-login.sh 10:11:33 nexus3.edgexfoundry.org:10001 10:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:33 Configure a credential helper to remove this warning. See 10:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:33 10:11:33 Login Succeeded 10:11:33 nexus3.edgexfoundry.org:10002 10:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:33 Configure a credential helper to remove this warning. See 10:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:33 10:11:33 Login Succeeded 10:11:33 nexus3.edgexfoundry.org:10003 10:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:33 Configure a credential helper to remove this warning. See 10:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:33 10:11:33 Login Succeeded 10:11:33 nexus3.edgexfoundry.org:10004 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 docker.io 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 ---> docker-login.sh ends [Pipeline] } 10:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:34 ========================================================= 10:11:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:11:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:34 + 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 . 10:11:34 Sending build context to Docker daemon 18.93MB 10:11:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:11:34 Step 2/13 : FROM ${BASE} AS builder 10:11:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:35 2408cc74d12b: Pulling fs layer 10:11:35 ea60b727a1ce: Pulling fs layer 10:11:35 30c4a7721957: Pulling fs layer 10:11:35 370296b7ddb6: Pulling fs layer 10:11:35 7c6cee850709: Pulling fs layer 10:11:35 39a5fcdaea64: Pulling fs layer 10:11:35 d94ebbe4e438: Pulling fs layer 10:11:35 370296b7ddb6: Waiting 10:11:35 7c6cee850709: Waiting 10:11:35 39a5fcdaea64: Waiting 10:11:35 bcfd1f05c69d: Pulling fs layer 10:11:35 59ccb84bbe0f: Pulling fs layer 10:11:35 bcfd1f05c69d: Waiting 10:11:35 30c4a7721957: Verifying Checksum 10:11:35 30c4a7721957: Download complete 10:11:35 ea60b727a1ce: Verifying Checksum 10:11:35 ea60b727a1ce: Download complete 10:11:35 7c6cee850709: Verifying Checksum 10:11:35 7c6cee850709: Download complete 10:11:35 39a5fcdaea64: Verifying Checksum 10:11:35 39a5fcdaea64: Download complete 10:11:35 2408cc74d12b: Verifying Checksum 10:11:35 d94ebbe4e438: Verifying Checksum 10:11:35 d94ebbe4e438: Download complete 10:11:35 2408cc74d12b: Pull complete 10:11:35 ea60b727a1ce: Pull complete 10:11:35 30c4a7721957: Pull complete 10:11:35 59ccb84bbe0f: Verifying Checksum 10:11:35 59ccb84bbe0f: Download complete 10:11:35 370296b7ddb6: Verifying Checksum 10:11:35 370296b7ddb6: Download complete 10:11:35 bcfd1f05c69d: Verifying Checksum 10:11:35 bcfd1f05c69d: Download complete 10:11:40 370296b7ddb6: Pull complete 10:11:40 7c6cee850709: Pull complete 10:11:40 39a5fcdaea64: Pull complete 10:11:40 d94ebbe4e438: Pull complete 10:11:42 bcfd1f05c69d: Pull complete 10:11:43 59ccb84bbe0f: Pull complete 10:11:43 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:11:43 ---> a4fb48ad2a94 10:11:43 Step 3/13 : ARG MAKE="make build" 10:11:45 ---> Running in d304c0ea6810 10:11:45 Removing intermediate container d304c0ea6810 10:11:45 ---> df62fcbcfd43 10:11:45 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:45 ---> Running in 5cf9dac4adde 10:11:45 Removing intermediate container 5cf9dac4adde 10:11:45 ---> ba368ffd927f 10:11:45 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:45 ---> Running in c073f4682627 10:11:45 Removing intermediate container c073f4682627 10:11:45 ---> e6dd1345943b 10:11:45 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:45 ---> Running in 6985353f6533 10:11:45 Removing intermediate container 6985353f6533 10:11:45 ---> ad4652156f1f 10:11:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:45 ---> Running in 7a4c799aa109 10:11:46 Removing intermediate container 7a4c799aa109 10:11:46 ---> f3e5b0d03273 10:11:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:46 ---> Running in 3deb930e2791 10:11:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:47 OK: 211 MiB in 51 packages 10:11:48 Still waiting to schedule task 10:11:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20573’ is offline 10:11:48 Removing intermediate container 3deb930e2791 10:11:48 ---> 385d254c1c83 10:11:48 Step 9/13 : WORKDIR /device-onvif-camera 10:11:48 ---> Running in d49d2e670a4d 10:11:48 Removing intermediate container d49d2e670a4d 10:11:48 ---> 93351709c1df 10:11:48 Step 10/13 : COPY go.mod vendor* ./ 10:11:48 ---> 536d0850a0f9 10:11:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:48 ---> Running in 37fb455f8615 10:12:03 Removing intermediate container 37fb455f8615 10:12:03 ---> e1ecc07a1569 10:12:03 Step 12/13 : COPY . . 10:12:03 ---> e1f0bb053ea9 10:12:03 Step 13/13 : RUN ${MAKE} 10:12:03 ---> Running in d7aff55082ce 10:12:03 noop 10:12:03 Removing intermediate container d7aff55082ce 10:12:03 ---> 269ebd776e9c 10:12:03 Successfully built 269ebd776e9c 10:12:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:04 + docker inspect -f . ci-base-image-x86_64 10:12:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:04 prd-ubuntu20.04-docker-8c-8g-20575 does not seem to be running inside a container 10:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:12:04 $ docker top 19bc004152c7b92931bb836aec1196f5b69dc00a2bbb6f16b126952bce2ab3c0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:05 + go version 10:12:05 go version go1.18.3 linux/amd64 [Pipeline] } 10:12:05 $ docker stop --time=1 19bc004152c7b92931bb836aec1196f5b69dc00a2bbb6f16b126952bce2ab3c0 10:12:06 $ docker rm -f 19bc004152c7b92931bb836aec1196f5b69dc00a2bbb6f16b126952bce2ab3c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:06 + docker inspect -f . ci-base-image-x86_64 10:12:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:06 prd-ubuntu20.04-docker-8c-8g-20575 does not seem to be running inside a container 10:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:12:07 $ docker top 62c69ec401cfdc9840f6a86fd347e1bd782a5c9e5f4b26833e1fda5167abc73b -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] fileExists [Pipeline] sh 10:12:08 + make test 10:12:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:12:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:12:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:12:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements 10:12:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:12:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.221s coverage: 13.8% of statements 10:12:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:12:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:34 ./bin/test-attribution-txt.sh [Pipeline] echo 10:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:12:35 $ docker stop --time=1 62c69ec401cfdc9840f6a86fd347e1bd782a5c9e5f4b26833e1fda5167abc73b 10:12:37 $ docker rm -f 62c69ec401cfdc9840f6a86fd347e1bd782a5c9e5f4b26833e1fda5167abc73b [Pipeline] // withDockerContainer [Pipeline] sh 10:12:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:38 + ls -al . 10:12:38 total 228 10:12:38 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 10:12 . 10:12:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 .. 10:12:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:12 .git 10:12:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:11 .github 10:12:38 -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 10:11 .gitignore 10:12:38 -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 10:11 .golangci.yml 10:12:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:11 .semver 10:12:38 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 10:11 Attribution.txt 10:12:38 -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 10:11 CHANGELOG.md 10:12:38 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 10:11 Dockerfile 10:12:38 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:11 GOVERNANCE.md 10:12:38 -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 10:11 Jenkinsfile 10:12:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 10:11 LICENSE 10:12:38 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 10:11 Makefile 10:12:38 -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 10:11 OWNERS.md 10:12:38 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 10:11 README.md 10:12:38 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:11 VERSION 10:12:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:11 bin 10:12:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:11 cmd 10:12:38 -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 10:12 coverage.out 10:12:38 drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 10:11 doc 10:12:38 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 10:11 go.mod 10:12:38 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 10:11 go.sum 10:12:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 internal 10:12:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:11 snap 10:12:38 -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:38 + 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=6146b101b345b3ce66b83fcf28dc6d39dc835a01 --label arch=amd64 --label version=0.0.0 . 10:12:38 Sending build context to Docker daemon 19MB 10:12:38 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:12:38 Step 2/26 : FROM ${BASE} AS builder 10:12:38 ---> 269ebd776e9c 10:12:38 Step 3/26 : ARG MAKE="make build" 10:12:38 ---> Running in 27b363fa270f 10:12:38 Removing intermediate container 27b363fa270f 10:12:38 ---> 61b499c715b4 10:12:38 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:12:38 ---> Running in 6ff2fcd1857c 10:12:38 Removing intermediate container 6ff2fcd1857c 10:12:38 ---> 453cf3abda51 10:12:38 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:12:39 ---> Running in 3967b8170d00 10:12:39 Removing intermediate container 3967b8170d00 10:12:39 ---> 1ab5fe1c5883 10:12:39 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:12:39 ---> Running in 85783a1d2595 10:12:39 Removing intermediate container 85783a1d2595 10:12:39 ---> 6676292cf8bb 10:12:39 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:39 ---> Running in 68b1d5f104f0 10:12:39 Removing intermediate container 68b1d5f104f0 10:12:39 ---> 6e187fe70429 10:12:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:39 ---> Running in 27cae1631683 10:12:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:41 OK: 211 MiB in 51 packages 10:12:41 Removing intermediate container 27cae1631683 10:12:41 ---> 308e4bcafa32 10:12:41 Step 9/26 : WORKDIR /device-onvif-camera 10:12:41 ---> Running in 4ec41e31e3d4 10:12:41 Removing intermediate container 4ec41e31e3d4 10:12:41 ---> c503ba84c549 10:12:41 Step 10/26 : COPY go.mod vendor* ./ 10:12:41 ---> 67995b0edbf1 10:12:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:41 ---> Running in 53fbace012bf 10:12:42 Removing intermediate container 53fbace012bf 10:12:42 ---> 564bc6a8add3 10:12:42 Step 12/26 : COPY . . 10:12:43 ---> de5462bf1024 10:12:43 Step 13/26 : RUN ${MAKE} 10:12:43 ---> Running in d42af7c440d4 10:12:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -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 10:13:05 Removing intermediate container d42af7c440d4 10:13:05 ---> 021575bb877c 10:13:05 Step 14/26 : FROM alpine:3.15 10:13:05 3.15: Pulling from library/alpine 10:13:05 ab6db1bc80d0: Pulling fs layer 10:13:05 ab6db1bc80d0: Verifying Checksum 10:13:05 ab6db1bc80d0: Download complete 10:13:05 ab6db1bc80d0: Pull complete 10:13:05 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 10:13:05 Status: Downloaded newer image for alpine:3.15 10:13:05 ---> 2720e26172a0 10:13:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:13:05 ---> Running in 2de3b70bead6 10:13:05 Removing intermediate container 2de3b70bead6 10:13:05 ---> e8a151528762 10:13:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:13:05 ---> Running in cc865feef4c4 10:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:13:05 (1/6) Installing dumb-init (1.2.5-r1) 10:13:05 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:13:05 (3/6) Installing libsodium (1.0.18-r0) 10:13:05 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:13:05 (5/6) Installing libzmq (4.3.4-r0) 10:13:05 (6/6) Installing zeromq (4.3.4-r0) 10:13:05 Executing busybox-1.34.1-r7.trigger 10:13:05 OK: 8 MiB in 20 packages 10:13:05 Removing intermediate container cc865feef4c4 10:13:05 ---> a27a8cc73047 10:13:05 Step 17/26 : WORKDIR / 10:13:05 ---> Running in 52cee6c997dd 10:13:06 Removing intermediate container 52cee6c997dd 10:13:06 ---> ab3a1d12d956 10:13:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:13:06 ---> ddc455fa2634 10:13:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:13:06 ---> 373d41f06ac9 10:13:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:13:06 ---> fe89b13785ee 10:13:06 Step 21/26 : EXPOSE 59984 10:13:06 ---> Running in f28427879071 10:13:06 Removing intermediate container f28427879071 10:13:06 ---> 255f77441c17 10:13:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:13:06 ---> Running in d0a0fc592a56 10:13:07 Removing intermediate container d0a0fc592a56 10:13:07 ---> 1d6839ca399d 10:13:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:13:07 ---> Running in d714284d7ba1 10:13:07 Removing intermediate container d714284d7ba1 10:13:07 ---> 902253bedb4d 10:13:07 Step 24/26 : LABEL arch=amd64 10:13:07 ---> Running in 86216d3c7a57 10:13:07 Removing intermediate container 86216d3c7a57 10:13:07 ---> 816c52546b8b 10:13:07 Step 25/26 : LABEL git_sha=6146b101b345b3ce66b83fcf28dc6d39dc835a01 10:13:07 ---> Running in 92ba27f9acb4 10:13:07 Removing intermediate container 92ba27f9acb4 10:13:07 ---> fc3f2516caff 10:13:07 Step 26/26 : LABEL version=0.0.0 10:13:07 ---> Running in 55ca999ded1a 10:13:07 Removing intermediate container 55ca999ded1a 10:13:07 ---> 2e82af7fb49c 10:13:07 [Warning] One or more build-args [ARCH] were not consumed 10:13:07 Successfully built 2e82af7fb49c 10:13:07 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 10:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:08 10:13:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:08 latest: Pulling from edgex-lftools-log-publisher 10:13:08 5eb5b503b376: Pulling fs layer 10:13:08 5c69ac0246d0: Pulling fs layer 10:13:08 ec43610c2a17: Pulling fs layer 10:13:08 3a2ae6a8a46f: Pulling fs layer 10:13:08 33b1e0a273af: Pulling fs layer 10:13:08 5d3b04190fa2: Pulling fs layer 10:13:08 2f39f015ded8: Pulling fs layer 10:13:08 33b1e0a273af: Waiting 10:13:08 5d3b04190fa2: Waiting 10:13:08 2f39f015ded8: Waiting 10:13:08 3a2ae6a8a46f: Waiting 10:13:08 5c69ac0246d0: Download complete 10:13:08 3a2ae6a8a46f: Download complete 10:13:08 33b1e0a273af: Verifying Checksum 10:13:08 33b1e0a273af: Download complete 10:13:08 ec43610c2a17: Verifying Checksum 10:13:08 ec43610c2a17: Download complete 10:13:08 5d3b04190fa2: Verifying Checksum 10:13:08 5d3b04190fa2: Download complete 10:13:08 5eb5b503b376: Verifying Checksum 10:13:08 5eb5b503b376: Download complete 10:13:09 2f39f015ded8: Download complete 10:13:09 5eb5b503b376: Pull complete 10:13:10 5c69ac0246d0: Pull complete 10:13:10 ec43610c2a17: Pull complete 10:13:10 3a2ae6a8a46f: Pull complete 10:13:10 33b1e0a273af: Pull complete 10:13:10 5d3b04190fa2: Pull complete 10:13:16 2f39f015ded8: Pull complete 10:13:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:16 prd-ubuntu20.04-docker-8c-8g-20575 does not seem to be running inside a container 10:13: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/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:18 $ docker top 065f4566967e7656f433417994653b7d44aeebdc7140fea9398996c220fc6386 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:18 ---> job-cost.sh 10:13:18 lf-activate-venv: SKIPPING 10:13:18 INFO: No Stack... 10:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:19 INFO: Archiving Costs [Pipeline] sh 10:13:19 + cat /w/workspace/undry_device-onvif-camera_PR-111/archives/cost.csv 10:13:19 + cut -d, -f6 [Pipeline] lock 10:13:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] 10:13:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] did not exist. Created. 10:13:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:20 + echo total: 0.2199999988079071 [Pipeline] stash 10:13:20 Stashed 1 file(s) [Pipeline] } 10:13:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:20 $ docker stop --time=1 065f4566967e7656f433417994653b7d44aeebdc7140fea9398996c220fc6386 10:13:21 $ docker rm -f 065f4566967e7656f433417994653b7d44aeebdc7140fea9398996c220fc6386 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:13:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20577 in /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] { [Pipeline] ws 10:13:32 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 10:13:32 Selected Git installation does not exist. Using Default 10:13:32 The recommended git tool is: NONE 10:13:37 using credential edgex-jenkins-ssh 10:13:37 Cloning the remote Git repository 10:13:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:13:37 > git init /w/workspace/device-onvif-camera/3 # timeout=10 10:13:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:13:37 > git --version # timeout=10 10:13:37 > git --version # 'git version 2.25.1' 10:13:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:13:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:13:39 Merging remotes/origin/main commit a761beb27065a69935e8288e1ea85e5d9ee20b97 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 10:13:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:13:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:13:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:13:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:13:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:13:39 > git config core.sparsecheckout # timeout=10 10:13:39 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 10:13:39 > git remote # timeout=10 10:13:39 > git config --get remote.origin.url # timeout=10 10:13:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:13:39 > git merge a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 10:13:40 Merge succeeded, producing 6116ce538caacee4f4dc8a8719b60ad3653f7bd3 10:13:40 Checking out Revision 6116ce538caacee4f4dc8a8719b60ad3653f7bd3 (PR-111) 10:13:40 > git rev-parse HEAD^{commit} # timeout=10 10:13:40 > git config core.sparsecheckout # timeout=10 10:13:40 > git checkout -f 6116ce538caacee4f4dc8a8719b60ad3653f7bd3 # timeout=10 10:13:44 Commit message: "Merge commit 'a761beb27065a69935e8288e1ea85e5d9ee20b97' into HEAD" 10:13:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:13:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:13:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:13:45 Dload Upload Total Spent Left Speed 10:13:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 95596 10:13:44 > git rev-list --no-walk 9f21df807ec71b5ed2d90c5962930d3467358c37 # timeout=10 [Pipeline] sh 10:13:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:13:46 + sudo tee /etc/docker/daemon.new 10:13:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:13:46 { 10:13:46 "registry-mirrors": [ 10:13:46 "https://nexus3.edgexfoundry.org:10001" 10:13:46 ], 10:13:46 "bip": "10.250.0.254/24", 10:13:46 "hosts": [ 10:13:46 "tcp://0.0.0.0:5555", 10:13:46 "unix:///var/run/docker.sock" 10:13:46 ], 10:13:46 "mtu": 1458, 10:13:46 "selinux-enabled": true, 10:13:46 "seccomp-profile": "/etc/docker/seccomp.json" 10:13:46 } [Pipeline] sh 10:13:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:13:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:05 provisioning config files... 10:14:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config7434572746977962203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:05 ---> docker-login.sh 10:14:05 nexus3.edgexfoundry.org:10001 10:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:06 Configure a credential helper to remove this warning. See 10:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:06 10:14:06 Login Succeeded 10:14:06 nexus3.edgexfoundry.org:10002 10:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:07 Configure a credential helper to remove this warning. See 10:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:07 10:14:07 Login Succeeded 10:14:07 nexus3.edgexfoundry.org:10003 10:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:07 Configure a credential helper to remove this warning. See 10:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:07 10:14:07 Login Succeeded 10:14:07 nexus3.edgexfoundry.org:10004 10:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:07 Configure a credential helper to remove this warning. See 10:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:07 10:14:07 Login Succeeded 10:14:07 docker.io 10:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:08 Configure a credential helper to remove this warning. See 10:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:08 10:14:08 Login Succeeded 10:14:08 ---> docker-login.sh ends [Pipeline] } 10:14:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:14:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:09 ========================================================= 10:14:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:14:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14: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 . 10:14:10 Sending build context to Docker daemon 12.89MB 10:14:10 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:14:10 Step 2/13 : FROM ${BASE} AS builder 10:14:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:14:10 b3c136eddcbf: Pulling fs layer 10:14:10 c0a3192eca97: Pulling fs layer 10:14:10 a050256f5b6f: Pulling fs layer 10:14:10 656be50a0ddc: Pulling fs layer 10:14:10 2bbca73fdf42: Pulling fs layer 10:14:10 46d945488cbd: Pulling fs layer 10:14:10 8a5474983e97: Pulling fs layer 10:14:10 329c88fbcd65: Pulling fs layer 10:14:10 2bbca73fdf42: Waiting 10:14:10 46d945488cbd: Waiting 10:14:10 8a5474983e97: Waiting 10:14:10 329c88fbcd65: Waiting 10:14:10 656be50a0ddc: Waiting 10:14:10 a050256f5b6f: Download complete 10:14:10 c0a3192eca97: Verifying Checksum 10:14:10 c0a3192eca97: Download complete 10:14:10 2bbca73fdf42: Verifying Checksum 10:14:10 2bbca73fdf42: Download complete 10:14:10 46d945488cbd: Verifying Checksum 10:14:10 46d945488cbd: Download complete 10:14:10 b3c136eddcbf: Download complete 10:14:11 b3c136eddcbf: Pull complete 10:14:11 329c88fbcd65: Verifying Checksum 10:14:11 329c88fbcd65: Download complete 10:14:11 c0a3192eca97: Pull complete 10:14:12 a050256f5b6f: Pull complete 10:14:12 8a5474983e97: Verifying Checksum 10:14:12 8a5474983e97: Download complete 10:14:13 656be50a0ddc: Verifying Checksum 10:14:13 656be50a0ddc: Download complete 10:14:25 656be50a0ddc: Pull complete 10:14:25 2bbca73fdf42: Pull complete 10:14:26 46d945488cbd: Pull complete 10:14:31 8a5474983e97: Pull complete 10:14:33 329c88fbcd65: Pull complete 10:14:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:14:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:14:33 ---> ff4287adb874 10:14:33 Step 3/13 : ARG MAKE="make build" 10:14:34 ---> Running in 3708690f6ae7 10:14:35 Removing intermediate container 3708690f6ae7 10:14:35 ---> 1614c66ac51b 10:14:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:14:35 ---> Running in 622c1b9a03d0 10:14:35 Removing intermediate container 622c1b9a03d0 10:14:35 ---> 527bc899bdb8 10:14:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:14:35 ---> Running in d6a03dec9a14 10:14:36 Removing intermediate container d6a03dec9a14 10:14:36 ---> 45d8e82a6fbb 10:14:36 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:14:36 ---> Running in c5bb35a2a84c 10:14:37 Removing intermediate container c5bb35a2a84c 10:14:37 ---> f5d953722b77 10:14:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:37 ---> Running in 1a209ab0ac0f 10:14:39 Removing intermediate container 1a209ab0ac0f 10:14:39 ---> 0035f48b097b 10:14:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:39 ---> Running in 25044bfc9e92 10:14:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:14:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:14:42 OK: 221 MiB in 51 packages 10:14:42 Removing intermediate container 25044bfc9e92 10:14:42 ---> 42a3ff0d8cd1 10:14:42 Step 9/13 : WORKDIR /device-onvif-camera 10:14:42 ---> Running in 1583aa1a7783 10:14:43 Removing intermediate container 1583aa1a7783 10:14:43 ---> 24be71b189f2 10:14:43 Step 10/13 : COPY go.mod vendor* ./ 10:14:43 ---> 7872964b5c27 10:14:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:43 ---> Running in 92815403fca2 10:15:30 Removing intermediate container 92815403fca2 10:15:30 ---> 64daf692329b 10:15:30 Step 12/13 : COPY . . 10:15:30 ---> a82a74a31b67 10:15:30 Step 13/13 : RUN ${MAKE} 10:15:30 ---> Running in b44476b28346 10:15:30 noop 10:15:30 Removing intermediate container b44476b28346 10:15:30 ---> 9d480f38ce77 10:15:30 Successfully built 9d480f38ce77 10:15:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:31 + docker inspect -f . ci-base-image-arm64 10:15:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-20577 does not seem to be running inside a container 10:15:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:15:32 $ docker top 3ae8ac1c6a227c111b5f5ad8e122c898758d52be97a3cb40bde251698069814a -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:33 + go version 10:15:33 go version go1.18.3 linux/arm64 [Pipeline] } 10:15:33 $ docker stop --time=1 3ae8ac1c6a227c111b5f5ad8e122c898758d52be97a3cb40bde251698069814a 10:15:35 $ docker rm -f 3ae8ac1c6a227c111b5f5ad8e122c898758d52be97a3cb40bde251698069814a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:36 + docker inspect -f . ci-base-image-arm64 10:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:36 prd-ubuntu20.04-docker-arm64-4c-16g-20577 does not seem to be running inside a container 10:15:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:15:37 $ docker top cabdd1f42e0d3750b839eaecf1f0c67fb819e31ece6d8cdd177f38e60f334865 -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 10:15:39 + make test 10:15:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:15:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:17:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:17:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements 10:17:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:17:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.871s coverage: 13.8% of statements 10:17:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:17:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:18:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:18:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:18:02 ./bin/test-attribution-txt.sh [Pipeline] echo 10:18:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:18:04 $ docker stop --time=1 cabdd1f42e0d3750b839eaecf1f0c67fb819e31ece6d8cdd177f38e60f334865 10:18:05 $ docker rm -f cabdd1f42e0d3750b839eaecf1f0c67fb819e31ece6d8cdd177f38e60f334865 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:18:07 Warning: overwriting stash ‘coverage-report’ 10:18:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:18:08 + ls -al . 10:18:08 total 224 10:18:08 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 10:18 . 10:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:13 .. 10:18:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 10:13 .git 10:18:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:13 .github 10:18:08 -rw-rw-r-- 1 jenkins jenkins 418 Jul 20 10:13 .gitignore 10:18:08 -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 10:13 .golangci.yml 10:18:08 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 20 10:13 Attribution.txt 10:18:08 -rw-rw-r-- 1 jenkins jenkins 189 Jul 20 10:13 CHANGELOG.md 10:18:08 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 20 10:13 Dockerfile 10:18:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 10:13 GOVERNANCE.md 10:18:08 -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 10:13 Jenkinsfile 10:18:08 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 10:13 LICENSE 10:18:08 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 20 10:13 Makefile 10:18:08 -rw-rw-r-- 1 jenkins jenkins 625 Jul 20 10:13 OWNERS.md 10:18:08 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 20 10:13 README.md 10:18:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 10:11 VERSION 10:18:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 10:13 bin 10:18:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 10:13 cmd 10:18:08 -rw-r--r-- 1 jenkins jenkins 70262 Jul 20 10:17 coverage.out 10:18:08 drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 10:13 doc 10:18:08 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 20 10:13 go.mod 10:18:08 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 20 10:13 go.sum 10:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:13 internal 10:18:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 10:13 snap 10:18:08 -rw-rw-r-- 1 jenkins jenkins 236 Jul 20 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:08 + 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=6116ce538caacee4f4dc8a8719b60ad3653f7bd3 --label arch=arm64 --label version=0.0.0 . 10:18:09 Sending build context to Docker daemon 12.97MB 10:18:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:18:09 Step 2/26 : FROM ${BASE} AS builder 10:18:09 ---> 9d480f38ce77 10:18:09 Step 3/26 : ARG MAKE="make build" 10:18:09 ---> Running in ef680d26581c 10:18:10 Removing intermediate container ef680d26581c 10:18:10 ---> b99f18a76d3e 10:18:10 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:18:10 ---> Running in 6cc74cd13b3a 10:18:10 Removing intermediate container 6cc74cd13b3a 10:18:10 ---> ed9d5ea9fa06 10:18:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:18:10 ---> Running in 9f19b53c3faa 10:18:10 Removing intermediate container 9f19b53c3faa 10:18:10 ---> e0983de44bab 10:18:10 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:18:10 ---> Running in 58c95cbe0c87 10:18:11 Removing intermediate container 58c95cbe0c87 10:18:11 ---> c5fe13246f63 10:18:11 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:11 ---> Running in 4db0465b4892 10:18:13 Removing intermediate container 4db0465b4892 10:18:13 ---> aa081f7ec4d3 10:18:13 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:13 ---> Running in c28094e2843d 10:18:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:18:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:18:16 OK: 221 MiB in 51 packages 10:18:17 Removing intermediate container c28094e2843d 10:18:17 ---> e3622ebf485b 10:18:17 Step 9/26 : WORKDIR /device-onvif-camera 10:18:17 ---> Running in ff0eba7785e7 10:18:17 Removing intermediate container ff0eba7785e7 10:18:17 ---> 27183eec581e 10:18:17 Step 10/26 : COPY go.mod vendor* ./ 10:18:18 ---> 95d6b9cf4906 10:18:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:18 ---> Running in 9a9adae16ebd 10:18:20 Removing intermediate container 9a9adae16ebd 10:18:20 ---> a0d1863eef1a 10:18:20 Step 12/26 : COPY . . 10:18:21 ---> 764cc4cda753 10:18:21 Step 13/26 : RUN ${MAKE} 10:18:21 ---> Running in e6d74148e3d4 10:18:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -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 10:20:44 Removing intermediate container e6d74148e3d4 10:20:44 ---> 85ddf8190686 10:20:44 Step 14/26 : FROM alpine:3.15 10:20:44 3.15: Pulling from library/alpine 10:20:44 e0295fd11fe2: Pulling fs layer 10:20:44 e0295fd11fe2: Verifying Checksum 10:20:44 e0295fd11fe2: Download complete 10:20:44 e0295fd11fe2: Pull complete 10:20:44 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 10:20:44 Status: Downloaded newer image for alpine:3.15 10:20:44 ---> 60f2846fe774 10:20:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:20:44 ---> Running in 4d1552718f18 10:20:44 Removing intermediate container 4d1552718f18 10:20:44 ---> 85894363335b 10:20:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:20:44 ---> Running in 6c80981ee9ca 10:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:20:44 (1/6) Installing dumb-init (1.2.5-r1) 10:20:44 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:20:44 (3/6) Installing libsodium (1.0.18-r0) 10:20:44 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:20:44 (5/6) Installing libzmq (4.3.4-r0) 10:20:44 (6/6) Installing zeromq (4.3.4-r0) 10:20:44 Executing busybox-1.34.1-r7.trigger 10:20:44 OK: 8 MiB in 20 packages 10:20:44 Removing intermediate container 6c80981ee9ca 10:20:44 ---> a505f7aac857 10:20:44 Step 17/26 : WORKDIR / 10:20:44 ---> Running in 445b46669691 10:20:44 Removing intermediate container 445b46669691 10:20:44 ---> 32a77bcbb7a9 10:20:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:20:44 ---> 0b951dcad32c 10:20:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:20:45 ---> f2ed62d5512a 10:20:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:20:46 ---> dedfe07064f8 10:20:46 Step 21/26 : EXPOSE 59984 10:20:46 ---> Running in 40b8c70c4fa8 10:20:46 Removing intermediate container 40b8c70c4fa8 10:20:46 ---> 23f95e36a156 10:20:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:20:46 ---> Running in e77d03e23038 10:20:46 Removing intermediate container e77d03e23038 10:20:46 ---> 535cd49c0bbc 10:20:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:20:46 ---> Running in 660307655b48 10:20:47 Removing intermediate container 660307655b48 10:20:47 ---> 4d704892b915 10:20:47 Step 24/26 : LABEL arch=arm64 10:20:47 ---> Running in 633a4407f721 10:20:47 Removing intermediate container 633a4407f721 10:20:47 ---> f02e31657010 10:20:47 Step 25/26 : LABEL git_sha=6116ce538caacee4f4dc8a8719b60ad3653f7bd3 10:20:47 ---> Running in 6d6a3a285e45 10:20:48 Removing intermediate container 6d6a3a285e45 10:20:48 ---> a8892e2c24e2 10:20:48 Step 26/26 : LABEL version=0.0.0 10:20:48 ---> Running in 62f82aa9c38b 10:20:48 Removing intermediate container 62f82aa9c38b 10:20:48 ---> 9d82e22e2f79 10:20:48 [Warning] One or more build-args [ARCH] were not consumed 10:20:48 Successfully built 9d82e22e2f79 10:20:48 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:48 10:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:49 arm64: Pulling from edgex-lftools-log-publisher 10:20:49 8998bd30e6a1: Pulling fs layer 10:20:49 04944245beec: Pulling fs layer 10:20:49 699f458cf7ca: Pulling fs layer 10:20:49 765212b225bb: Pulling fs layer 10:20:49 f23df028b6ca: Pulling fs layer 10:20:49 d65c8cfc05b1: Pulling fs layer 10:20:49 2437ff75d9bd: Pulling fs layer 10:20:49 765212b225bb: Waiting 10:20:49 d65c8cfc05b1: Waiting 10:20:49 2437ff75d9bd: Waiting 10:20:49 f23df028b6ca: Waiting 10:20:49 04944245beec: Verifying Checksum 10:20:49 04944245beec: Download complete 10:20:49 765212b225bb: Verifying Checksum 10:20:49 765212b225bb: Download complete 10:20:49 f23df028b6ca: Download complete 10:20:49 d65c8cfc05b1: Verifying Checksum 10:20:49 d65c8cfc05b1: Download complete 10:20:49 699f458cf7ca: Verifying Checksum 10:20:49 699f458cf7ca: Download complete 10:20:49 8998bd30e6a1: Verifying Checksum 10:20:49 8998bd30e6a1: Download complete 10:20:52 2437ff75d9bd: Verifying Checksum 10:20:52 2437ff75d9bd: Download complete 10:20:54 8998bd30e6a1: Pull complete 10:20:54 04944245beec: Pull complete 10:20:56 699f458cf7ca: Pull complete 10:20:56 765212b225bb: Pull complete 10:20:57 f23df028b6ca: Pull complete 10:20:57 d65c8cfc05b1: Pull complete 10:21:12 2437ff75d9bd: Pull complete 10:21:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:13 prd-ubuntu20.04-docker-arm64-4c-16g-20577 does not seem to be running inside a container 10:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:21:15 $ docker top dc2b0bc1967ccf3d3c69da48c0f22606744bbac542ecea8b02ad4deb21ece077 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:16 ---> job-cost.sh 10:21:16 lf-activate-venv: SKIPPING 10:21:16 INFO: No Stack... 10:21:16 INFO: Retrieving Pricing Info for: v3-standard-4 10:21:17 INFO: Archiving Costs [Pipeline] sh 10:21:18 + cut -d, -f6 10:21:18 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 10:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] 10:21:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] did not exist. Created. 10:21:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:19 /w/workspace/device-onvif-camera/3@tmp/durable-feec464a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:21:20 + echo total: 0.10999999940395355 [Pipeline] stash 10:21:20 Warning: overwriting stash ‘stack-cost’ 10:21:20 Stashed 1 file(s) [Pipeline] } 10:21:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:20 $ docker stop --time=1 dc2b0bc1967ccf3d3c69da48c0f22606744bbac542ecea8b02ad4deb21ece077 10:21:21 $ docker rm -f dc2b0bc1967ccf3d3c69da48c0f22606744bbac542ecea8b02ad4deb21ece077 [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 10:21:22 provisioning config files... 10:21:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config2036449683461672894tmp [Pipeline] { [Pipeline] sh 10:21:22 + set +x 10:21:22 + curl -s https://codecov.io/bash 10:21:22 + bash -s -- 10:21:22 10:21:22 _____ _ 10:21:22 / ____| | | 10:21:22 | | ___ __| | ___ ___ _____ __ 10:21:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:21:22 | |___| (_) | (_| | __/ (_| (_) \ V / 10:21:22 \_____\___/ \__,_|\___|\___\___/ \_/ 10:21:22 Bash-1.0.6 10:21:22 10:21:22 10:21:22 ==> git version 2.25.1 found 10:21:22 ==> 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 10:21:22 Release-Date: 2020-01-08 10:21:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:21:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:21:22 ==> Jenkins CI detected. 10:21:22 current dir:  /w/workspace/undry_device-onvif-camera_PR-111 10:21:22 project root: . 10:21:22 --> token set from env 10:21:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:21:22 ==> Running gcov in . (disable via -X gcov) 10:21:22 ==> Python coveragepy not found 10:21:22 ==> Searching for coverage reports in: 10:21:22 + . 10:21:22 -> Found 1 reports 10:21:22 ==> Detecting git/mercurial file structure 10:21:22 ==> Reading reports 10:21:22 + ./coverage.out bytes=70262 10:21:22 ==> Appending adjustments 10:21:22 https://docs.codecov.io/docs/fixing-reports 10:21:22 + Found adjustments 10:21:22 ==> Gzipping contents 10:21:22 12K /tmp/codecov.w46Prf.gz 10:21:22 ==> Uploading reports 10:21:22 url: https://codecov.io 10:21:22 query: branch=PR-111&commit=6146b101b345b3ce66b83fcf28dc6d39dc835a01&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= 10:21:22 -> Pinging Codecov 10:21:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-111&commit=6146b101b345b3ce66b83fcf28dc6d39dc835a01&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= 10:21:23 -> Uploading to 10:21:23 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/F29A59C45E3A92E06B3E522C9905F8EF/6146b101b345b3ce66b83fcf28dc6d39dc835a01/afb713a9-3253-476d-a914-052f005c14b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T102123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08f25ab885375603e497c05e605365f180f0fbc9cc46b8d44a64071097938227 10:21:23 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:23 Dload Upload Total Spent Left Speed 10:21:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9567 0 0 100 9567 0 39533 --:--:-- --:--:-- --:--:-- 39697 10:21:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/6146b101b345b3ce66b83fcf28dc6d39dc835a01 [Pipeline] } 10:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 10:21:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-111/archives ] 10:21:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives 10:21:24 total 16 10:21:24 drwxr-xr-x 3 root root 4096 Jul 20 10:13 . 10:21:24 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 10:13 .. 10:21:24 drwxr-xr-x 2 root root 4096 Jul 20 10:13 cost 10:21:24 -rw-r--r-- 1 root root 90 Jul 20 10:13 cost.csv 10:21:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-111/archives 10:21:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives 10:21:24 total 16 10:21:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 10:13 . 10:21:24 drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 10:13 .. 10:21:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 10:13 cost 10:21:24 -rw-r--r-- 1 jenkins jenkins 90 Jul 20 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:25 ---> package-listing.sh 10:21:25 ++ facter osfamily 10:21:25 ++ tr '[:upper:]' '[:lower:]' 10:21:25 + OS_FAMILY=debian 10:21:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-111 10:21:25 + START_PACKAGES=/tmp/packages_start.txt 10:21:25 + END_PACKAGES=/tmp/packages_end.txt 10:21:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:25 + PACKAGES=/tmp/packages_start.txt 10:21:25 + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' 10:21:25 + PACKAGES=/tmp/packages_end.txt 10:21:25 + case "${OS_FAMILY}" in 10:21:25 + dpkg -l 10:21:25 + grep '^ii' 10:21:25 + '[' -f /tmp/packages_start.txt ']' 10:21:25 + '[' -f /tmp/packages_end.txt ']' 10:21:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:25 + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' 10:21:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-111/archives/ 10:21:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-111/archives/ [Pipeline] echo 10:21:25 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/undry_device-onvif-camera_PR-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:21:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:26 prd-ubuntu20.04-docker-8c-8g-20575 does not seem to be running inside a container 10:21:26 $ 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/undry_device-onvif-camera_PR-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:26 $ docker top 131afe8c3bc8acc7591fc5e13391ea8e6df74063d10e1d25a70b7179738dd8d7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:27 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:27 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:27 + ls /var/log/sa-host 10:21:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:27 provisioning config files... 10:21:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config5934920679684473704tmp [Pipeline] { [Pipeline] echo 10:21:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> create-netrc.sh [Pipeline] } 10:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> python-tools-install.sh [Pipeline] echo 10:21:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:28 ---> sudo-logs.sh 10:21:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:29 ---> job-cost.sh 10:21:29 lf-activate-venv: SKIPPING 10:21:29 DEBUG: total: 0.2199999988079071 10:21:29 INFO: Retrieving Stack Cost... 10:21:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:29 INFO: Archiving Costs [Pipeline] echo 10:21:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:30 ---> logs-deploy.sh 10:21:30 lf-activate-venv: SKIPPING 10:21:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-111/3 10:21:30 INFO: archiving workspace using pattern(s): 10:21:31 Archives upload complete. 10:21:31 INFO: archiving logs to Nexus 10:21:32 ---> uname -a: 10:21:32 Linux prd-ubuntu20-04-docker-8c-8g-20575 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:21:32 10:21:32 10:21:32 ---> lscpu: 10:21:32 Architecture: x86_64 10:21:32 CPU op-mode(s): 32-bit, 64-bit 10:21:32 Byte Order: Little Endian 10:21:32 Address sizes: 40 bits physical, 48 bits virtual 10:21:32 CPU(s): 8 10:21:32 On-line CPU(s) list: 0-7 10:21:32 Thread(s) per core: 1 10:21:32 Core(s) per socket: 1 10:21:32 Socket(s): 8 10:21:32 NUMA node(s): 1 10:21:32 Vendor ID: AuthenticAMD 10:21:32 CPU family: 23 10:21:32 Model: 49 10:21:32 Model name: AMD EPYC-Rome Processor 10:21:32 Stepping: 0 10:21:32 CPU MHz: 2799.998 10:21:32 BogoMIPS: 5599.99 10:21:32 Virtualization: AMD-V 10:21:32 Hypervisor vendor: KVM 10:21:32 Virtualization type: full 10:21:32 L1d cache: 256 KiB 10:21:32 L1i cache: 256 KiB 10:21:32 L2 cache: 4 MiB 10:21:32 L3 cache: 128 MiB 10:21:32 NUMA node0 CPU(s): 0-7 10:21:32 Vulnerability Itlb multihit: Not affected 10:21:32 Vulnerability L1tf: Not affected 10:21:32 Vulnerability Mds: Not affected 10:21:32 Vulnerability Meltdown: Not affected 10:21:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:21:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:21:32 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:21:32 Vulnerability Srbds: Not affected 10:21:32 Vulnerability Tsx async abort: Not affected 10:21:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:21:32 10:21:32 10:21:32 ---> nproc: 10:21:32 8 10:21:32 10:21:32 10:21:32 ---> df -h: 10:21:32 Filesystem Size Used Avail Use% Mounted on 10:21:32 overlay 155G 11G 145G 7% / 10:21:32 tmpfs 64M 0 64M 0% /dev 10:21:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:21:32 shm 64M 0 64M 0% /dev/shm 10:21:32 /dev/vda1 155G 11G 145G 7% /facter-os 10:21:32 10:21:32 10:21:32 ---> sar -b -r -n DEV: 10:21:32 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20575) 07/20/22 _x86_64_ (8 CPU) 10:21:32 10:21:32 10:10:33 LINUX RESTART (8 CPU) 10:21:32 10:21:32 10:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:21:32 10:12:01 355.91 19.46 336.45 0.00 2286.97 142204.33 0.00 10:21:32 10:13:01 117.28 0.20 117.08 0.00 14.93 20672.29 0.00 10:21:32 10:14:01 97.93 0.02 97.92 0.00 0.27 26850.52 0.00 10:21:32 10:15:01 2.12 0.00 2.12 0.00 0.00 23.08 0.00 10:21:32 10:16:01 1.10 0.03 1.07 0.00 1.47 11.99 0.00 10:21:32 10:17:02 1.63 0.02 1.62 0.00 0.13 18.26 0.00 10:21:32 10:18:01 1.36 0.00 1.36 0.00 0.00 15.86 0.00 10:21:32 10:19:01 0.93 0.00 0.93 0.00 0.00 12.13 0.00 10:21:32 10:20:01 1.07 0.00 1.07 0.00 0.00 11.86 0.00 10:21:32 10:21:01 1.72 0.00 1.72 0.00 0.00 24.00 0.00 10:21:32 Average: 58.20 1.98 56.22 0.00 230.77 19016.69 0.00 10:21:32 10:21:32 10:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:21:32 10:12:01 27998296 31762048 529868 1.61 158848 3779560 2005016 5.91 1203748 3197612 51416 10:21:32 10:13:01 27967668 31718152 571444 1.74 165284 3778292 2202044 6.49 1390456 3055808 134956 10:21:32 10:14:01 27631584 31767848 519940 1.58 175436 4111164 1803632 5.32 1359828 3376764 324 10:21:32 10:15:01 27632068 31768400 519164 1.58 175476 4111164 1803632 5.32 1359196 3376768 12 10:21:32 10:16:01 27642072 31778300 509144 1.55 175496 4111208 1803632 5.32 1349096 3376768 24 10:21:32 10:17:02 27641976 31778272 509104 1.55 175528 4111208 1803632 5.32 1349816 3376812 16 10:21:32 10:18:01 27647664 31784476 503056 1.53 175564 4111216 1803632 5.32 1342328 3377224 8 10:21:32 10:19:01 27647852 31784768 502608 1.53 175588 4111220 1803632 5.32 1342444 3377244 184 10:21:32 10:20:01 27648024 31784976 502364 1.53 175600 4111220 1803632 5.32 1342668 3377244 12 10:21:32 10:21:01 27647812 31784804 502560 1.53 175660 4111204 1803632 5.32 1342644 3377228 80 10:21:32 Average: 27710502 31771204 516925 1.57 172848 4044746 1863612 5.49 1338222 3326947 18703 10:21:32 10:21:32 10:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:21:32 10:12:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 10:21:32 10:12:01 docker0 108.36 135.97 9.08 1177.68 0.00 0.00 0.00 0.00 10:21:32 10:12:01 ens3 766.46 519.69 7541.68 119.59 0.00 0.00 0.00 0.00 10:21:32 10:13:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 10:21:32 10:13:01 docker0 7.62 9.02 0.45 40.81 0.00 0.00 0.00 0.00 10:21:32 10:13:01 ens3 80.77 65.92 84.11 67.96 0.00 0.00 0.00 0.00 10:21:32 10:14:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 10:21:32 10:14:01 docker0 2.73 5.60 0.18 53.82 0.00 0.00 0.00 0.00 10:21:32 10:14:01 ens3 151.92 108.06 2642.03 60.95 0.00 0.00 0.00 0.00 10:21:32 10:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 10:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:15:01 ens3 0.67 0.48 0.35 0.28 0.00 0.00 0.00 0.00 10:21:32 10:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:16:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:17:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 10:17:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:17:02 ens3 0.25 0.20 0.08 0.07 0.00 0.00 0.00 0.00 10:21:32 10:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:18:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 10:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:19:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 10:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:20:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 10:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:21:32 10:21:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 10:21:32 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 10:21:32 Average: docker0 11.89 15.08 0.97 127.45 0.00 0.00 0.00 0.00 10:21:32 Average: ens3 100.21 69.58 1028.59 24.93 0.00 0.00 0.00 0.00 10:21:32 10:21:32 10:21:32 ---> sar -P ALL: 10:21:32 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20575) 07/20/22 _x86_64_ (8 CPU) 10:21:32 10:21:32 10:10:33 LINUX RESTART (8 CPU) 10:21:32 10:21:32 10:11:01 CPU %user %nice %system %iowait %steal %idle 10:21:32 10:12:01 all 13.31 0.00 5.36 1.94 0.07 79.32 10:21:32 10:12:01 0 13.07 0.00 4.95 0.20 0.07 81.71 10:21:32 10:12:01 1 14.13 0.00 4.48 0.35 0.05 80.98 10:21:32 10:12:01 2 13.38 0.00 5.06 2.23 0.08 79.25 10:21:32 10:12:01 3 14.16 0.00 5.38 1.81 0.05 78.61 10:21:32 10:12:01 4 12.57 0.00 6.22 4.62 0.07 76.52 10:21:32 10:12:01 5 12.94 0.00 4.99 1.08 0.07 80.91 10:21:32 10:12:01 6 13.60 0.00 4.16 0.34 0.07 81.83 10:21:32 10:12:01 7 12.64 0.00 7.61 4.91 0.10 74.73 10:21:32 10:13:01 all 42.99 0.00 7.08 0.62 0.10 49.21 10:21:32 10:13:01 0 45.56 0.00 7.12 0.10 0.10 47.11 10:21:32 10:13:01 1 41.55 0.00 7.07 0.37 0.10 50.90 10:21:32 10:13:01 2 42.90 0.00 7.09 1.12 0.10 48.79 10:21:32 10:13:01 3 45.60 0.00 7.35 0.99 0.10 45.95 10:21:32 10:13:01 4 43.90 0.00 7.15 0.35 0.08 48.51 10:21:32 10:13:01 5 41.96 0.00 6.99 0.07 0.10 50.89 10:21:32 10:13:01 6 41.48 0.00 6.63 0.14 0.08 51.67 10:21:32 10:13:01 7 40.91 0.00 7.27 1.84 0.10 49.89 10:21:32 10:14:01 all 3.76 0.00 1.73 0.69 0.02 93.79 10:21:32 10:14:01 0 3.92 0.00 2.25 0.02 0.03 93.78 10:21:32 10:14:01 1 4.38 0.00 1.59 0.23 0.02 93.79 10:21:32 10:14:01 2 3.85 0.00 1.86 3.83 0.02 90.44 10:21:32 10:14:01 3 3.42 0.00 1.41 0.40 0.03 94.73 10:21:32 10:14:01 4 4.00 0.00 1.45 0.02 0.02 94.52 10:21:32 10:14:01 5 3.62 0.00 1.96 0.40 0.02 94.00 10:21:32 10:14:01 6 3.55 0.00 1.87 0.00 0.02 94.57 10:21:32 10:14:01 7 3.33 0.00 1.48 0.66 0.03 94.50 10:21:32 10:15:01 all 0.02 0.00 0.01 0.01 0.00 99.96 10:21:32 10:15:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:15:01 1 0.02 0.00 0.03 0.00 0.00 99.95 10:21:32 10:15:01 2 0.00 0.00 0.00 0.02 0.00 99.98 10:21:32 10:15:01 3 0.03 0.00 0.02 0.03 0.00 99.92 10:21:32 10:15:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:15:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:15:01 6 0.05 0.00 0.02 0.00 0.02 99.92 10:21:32 10:15:01 7 0.03 0.00 0.02 0.00 0.00 99.95 10:21:32 10:16:01 all 0.03 0.00 0.03 0.00 0.00 99.94 10:21:32 10:16:01 0 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:16:01 1 0.03 0.00 0.02 0.00 0.00 99.95 10:21:32 10:16:01 2 0.05 0.00 0.03 0.02 0.00 99.90 10:21:32 10:16:01 3 0.05 0.00 0.08 0.02 0.00 99.85 10:21:32 10:16:01 4 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:16:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:16:01 6 0.03 0.00 0.03 0.00 0.00 99.93 10:21:32 10:16:01 7 0.05 0.00 0.03 0.00 0.00 99.92 10:21:32 10:17:02 all 0.02 0.00 0.01 0.01 0.00 99.96 10:21:32 10:17:02 0 0.03 0.00 0.02 0.00 0.00 99.95 10:21:32 10:17:02 1 0.03 0.00 0.00 0.00 0.00 99.97 10:21:32 10:17:02 2 0.02 0.00 0.02 0.03 0.00 99.93 10:21:32 10:17:02 3 0.00 0.00 0.00 0.02 0.00 99.98 10:21:32 10:17:02 4 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:17:02 5 0.03 0.00 0.00 0.00 0.00 99.97 10:21:32 10:17:02 6 0.00 0.00 0.03 0.00 0.02 99.95 10:21:32 10:17:02 7 0.03 0.00 0.03 0.00 0.02 99.92 10:21:32 10:18:01 all 0.04 0.00 0.05 0.00 0.01 99.90 10:21:32 10:18:01 0 0.05 0.00 0.14 0.00 0.00 99.81 10:21:32 10:18:01 1 0.07 0.00 0.07 0.00 0.00 99.86 10:21:32 10:18:01 2 0.00 0.00 0.02 0.03 0.00 99.95 10:21:32 10:18:01 3 0.00 0.00 0.00 0.00 0.02 99.98 10:21:32 10:18:01 4 0.00 0.00 0.00 0.00 0.02 99.98 10:21:32 10:18:01 5 0.07 0.00 0.03 0.00 0.02 99.88 10:21:32 10:18:01 6 0.07 0.00 0.10 0.00 0.00 99.83 10:21:32 10:18:01 7 0.05 0.00 0.07 0.00 0.00 99.88 10:21:32 10:19:01 all 0.01 0.00 0.00 0.01 0.00 99.98 10:21:32 10:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 10:21:32 10:19:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:19:01 2 0.00 0.00 0.00 0.03 0.00 99.97 10:21:32 10:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:19:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:19:01 5 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:19:01 7 0.02 0.00 0.00 0.02 0.00 99.97 10:21:32 10:20:01 all 0.01 0.00 0.01 0.00 0.00 99.97 10:21:32 10:20:01 0 0.02 0.00 0.03 0.00 0.02 99.93 10:21:32 10:20:01 1 0.03 0.00 0.02 0.00 0.00 99.95 10:21:32 10:20:01 2 0.02 0.00 0.00 0.02 0.00 99.97 10:21:32 10:20:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 10:21:32 10:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:21:01 all 0.01 0.00 0.01 0.00 0.00 99.97 10:21:32 10:21:01 0 0.03 0.00 0.03 0.00 0.02 99.92 10:21:32 10:21:01 1 0.02 0.00 0.02 0.00 0.02 99.95 10:21:32 10:21:01 2 0.00 0.00 0.00 0.02 0.00 99.98 10:21:32 10:21:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:21:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:21:32 10:21:01 6 0.00 0.00 0.02 0.00 0.00 99.98 10:21:32 10:21:01 7 0.02 0.00 0.02 0.02 0.00 99.95 10:21:32 Average: all 5.97 0.00 1.42 0.33 0.02 92.26 10:21:32 Average: 0 6.23 0.00 1.45 0.03 0.02 92.26 10:21:32 Average: 1 5.98 0.00 1.32 0.10 0.02 92.59 10:21:32 Average: 2 5.97 0.00 1.40 0.73 0.02 91.88 10:21:32 Average: 3 6.30 0.00 1.42 0.33 0.02 91.94 10:21:32 Average: 4 6.00 0.00 1.47 0.50 0.02 92.01 10:21:32 Average: 5 5.82 0.00 1.39 0.15 0.02 92.62 10:21:32 Average: 6 5.82 0.00 1.27 0.05 0.02 92.83 10:21:32 Average: 7 5.63 0.00 1.63 0.73 0.03 91.97 10:21:32 10:21:32 10:21:32