Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85736546429b6e185e62d2ea9cd21cb915ee509b+82843687bcf82fd8ddbc6870f1be613a828c9679 (d0a114b95ccb838afac28286c34ecd467edf3b57) 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-ssh17172615360411270594.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3516423545171432708.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-100/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-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10215873088917349600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh3579718693601046080.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-100/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-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10291757142481724385.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.17 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-17128’ Running on prd-ubuntu20.04-docker-8c-8g-17130 in /w/workspace/undry_device-onvif-camera_PR-100 [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-100 # 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 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 85736546429b6e185e62d2ea9cd21cb915ee509b Merge succeeded, producing 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 Checking out Revision 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 (PR-100) > 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/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85736546429b6e185e62d2ea9cd21cb915ee509b # 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 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 # timeout=10 Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" > git rev-list --no-walk 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:12:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:12:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:12:05 ========================================================= 10:12:05 EdgeX Global Pipelines Version Info 10:12:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:12:05 ------------------- 10:12:05 stable info: 10:12:05 ------------------- 10:12:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:12:05 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:12:05 Message: update stable to v1.0.234 10:12:06 ------------------- 10:12:06 experimental info: 10:12:06 ------------------- 10:12:06 Commited By: **** collab-it+edgex@linuxfoundation.org 10:12:06 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 10:12:06 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:12:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c6486b [Pipeline] echo 10:12:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:12:07 provisioning config files... 10:12:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config9002900000171089707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:07 ---> docker-login.sh 10:12:07 nexus3.edgexfoundry.org:10001 10:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 nexus3.edgexfoundry.org:10002 10:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 nexus3.edgexfoundry.org:10003 10:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 nexus3.edgexfoundry.org:10004 10:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 docker.io 10:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:08 Configure a credential helper to remove this warning. See 10:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:08 10:12:08 Login Succeeded 10:12:08 ---> docker-login.sh ends [Pipeline] } 10:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:12:09 + git rev-list -1 --merges 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1~1..5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo 10:12:09 -----------> git rev-list -1 --merges 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1~1..5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 10:12:09 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [false] [Pipeline] sh 10:12:09 + git log --format=format:%s -1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo 10:12:09 ========================================================= 10:12:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:12:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:09 + git log --format=format:%s -1 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] echo 10:12:09 [semverPrep] GIT_COMMIT: 5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1, Commit Message: Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD [Pipeline] echo 10:12:09 [semverPrep] This is not a build commit. [Pipeline] sh 10:12:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:12:10 + grep -v github /etc/ssh/ssh_known_hosts 10:12:10 + [ -e /tmp/ssh_known_hosts ] 10:12:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:12:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:12:10 + sudo tee -a /etc/ssh/ssh_known_hosts 10:12:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:10 10:12:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:10 0.1.4: Pulling from edgex-devops/py-git-semver 10:12:10 42c077c10790: Pulling fs layer 10:12:10 f63e77b7563a: Pulling fs layer 10:12:10 bd5fdadae976: Pulling fs layer 10:12:10 205491f53016: Pulling fs layer 10:12:10 df18705c85c3: Pulling fs layer 10:12:10 bdb3f477010e: Pulling fs layer 10:12:10 c8a8fc8e1c8f: Pulling fs layer 10:12:10 2c6e9b1d212d: Pulling fs layer 10:12:10 bdb8f0575790: Pulling fs layer 10:12:10 386e3cb2ff24: Pulling fs layer 10:12:10 2343380bae48: Pulling fs layer 10:12:10 c8a8fc8e1c8f: Waiting 10:12:10 bdb8f0575790: Waiting 10:12:10 386e3cb2ff24: Waiting 10:12:10 205491f53016: Waiting 10:12:10 df18705c85c3: Waiting 10:12:10 bdb3f477010e: Waiting 10:12:10 2c6e9b1d212d: Waiting 10:12:10 f63e77b7563a: Verifying Checksum 10:12:10 f63e77b7563a: Download complete 10:12:10 205491f53016: Verifying Checksum 10:12:10 205491f53016: Download complete 10:12:10 df18705c85c3: Verifying Checksum 10:12:10 df18705c85c3: Download complete 10:12:11 bd5fdadae976: Verifying Checksum 10:12:11 bd5fdadae976: Download complete 10:12:11 bdb3f477010e: Verifying Checksum 10:12:11 bdb3f477010e: Download complete 10:12:11 2c6e9b1d212d: Verifying Checksum 10:12:11 2c6e9b1d212d: Download complete 10:12:11 bdb8f0575790: Download complete 10:12:11 386e3cb2ff24: Download complete 10:12:11 2343380bae48: Verifying Checksum 10:12:11 2343380bae48: Download complete 10:12:11 42c077c10790: Verifying Checksum 10:12:11 42c077c10790: Download complete 10:12:11 c8a8fc8e1c8f: Download complete 10:12:12 42c077c10790: Pull complete 10:12:12 f63e77b7563a: Pull complete 10:12:13 bd5fdadae976: Pull complete 10:12:13 205491f53016: Pull complete 10:12:13 df18705c85c3: Pull complete 10:12:13 bdb3f477010e: Pull complete 10:12:15 c8a8fc8e1c8f: Pull complete 10:12:15 2c6e9b1d212d: Pull complete 10:12:15 bdb8f0575790: Pull complete 10:12:15 386e3cb2ff24: Pull complete 10:12:15 2343380bae48: Pull complete 10:12:15 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:16 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 10:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:12:17 $ docker top 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e -eo pid,comm 10:12:17 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:12:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:12:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:17 [ssh-agent] Looking for ssh-agent implementation... 10:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:18 $ docker exec 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent 10:12:18 SSH_AUTH_SOCK=/tmp/ssh-62M57L5w6mDt/agent.34 10:12:18 SSH_AGENT_PID=41 10:12:18 Running ssh-add (command line suppressed) 10:12:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8328982653038092795.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_8328982653038092795.key) 10:12:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:18 + git tag --points-at HEAD [Pipeline] } 10:12:18 $ docker exec --env ******** --env ******** 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent -k 10:12:18 unset SSH_AUTH_SOCK; 10:12:18 unset SSH_AGENT_PID; 10:12:18 echo Agent pid 41 killed; 10:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:12:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:18 [ssh-agent] Looking for ssh-agent implementation... 10:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:18 $ docker exec 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent 10:12:19 SSH_AUTH_SOCK=/tmp/ssh-YdVjLqrgBQgb/agent.73 10:12:19 SSH_AGENT_PID=79 10:12:19 Running ssh-add (command line suppressed) 10:12:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_2489580787215751981.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_2489580787215751981.key) 10:12:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:19 + git semver init 10:12:19 2022-07-07 10:12:19,779 [run_init] DEBUG init version:0.0.0 force:False 10:12:19 2022-07-07 10:12:19,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver 10:12:19 2022-07-07 10:12:19,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver 10:12:19 2022-07-07 10:12:19,781 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) 10:12:20 2022-07-07 10:12:20,444 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude 10:12:20 2022-07-07 10:12:20,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False 10:12:20 2022-07-07 10:12:20,445 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 10:12:20 2022-07-07 10:12:20,447 [execute] INFO git cat-file --batch-check 10:12:20 2022-07-07 10:12:20,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) 10:12:20 2022-07-07 10:12:20,455 [execute] INFO git cat-file --batch 10:12:20 2022-07-07 10:12:20,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) 10:12:20 2022-07-07 10:12:20,461 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 10:12:20 0.0.0 [Pipeline] } 10:12:20 $ docker exec --env ******** --env ******** 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e ssh-agent -k 10:12:20 unset SSH_AUTH_SOCK; 10:12:20 unset SSH_AGENT_PID; 10:12:20 echo Agent pid 79 killed; 10:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:12:21 + git semver [Pipeline] } 10:12:21 $ docker stop --time=1 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e 10:12:22 $ docker rm -f 393fcb6a78ff677366d2c7d0eea1eb13f0950a134524a38a57eb8c329f09db2e [Pipeline] // withDockerContainer [Pipeline] sh 10:12:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:12:23 Stashed 1 file(s) [Pipeline] echo 10:12:23 [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:12:23 provisioning config files... 10:12:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config5248547372931294651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:23 ---> docker-login.sh 10:12:23 nexus3.edgexfoundry.org:10001 10:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:23 Configure a credential helper to remove this warning. See 10:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:23 10:12:23 Login Succeeded 10:12:23 nexus3.edgexfoundry.org:10002 10:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:24 Configure a credential helper to remove this warning. See 10:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:24 10:12:24 Login Succeeded 10:12:24 nexus3.edgexfoundry.org:10003 10:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:24 Configure a credential helper to remove this warning. See 10:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:24 10:12:24 Login Succeeded 10:12:24 nexus3.edgexfoundry.org:10004 10:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:24 Configure a credential helper to remove this warning. See 10:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:24 10:12:24 Login Succeeded 10:12:24 docker.io 10:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:24 Configure a credential helper to remove this warning. See 10:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:24 10:12:24 Login Succeeded 10:12:24 ---> docker-login.sh ends [Pipeline] } 10:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:24 ========================================================= 10:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:12:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:12:25 Sending build context to Docker daemon 9.328MB 10:12:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:12:25 Step 2/13 : FROM ${BASE} AS builder 10:12:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:12:25 59bf1c3509f3: Pulling fs layer 10:12:25 666ba61612fd: Pulling fs layer 10:12:25 8ed8ca486205: Pulling fs layer 10:12:25 cc1cd167ecdc: Pulling fs layer 10:12:25 c516ae0d96e1: Pulling fs layer 10:12:25 684cea983483: Pulling fs layer 10:12:25 dd3240ac7de5: Pulling fs layer 10:12:25 b1e948a4e11c: Pulling fs layer 10:12:25 a8fd76ee1af6: Pulling fs layer 10:12:25 646ad004c059: Pulling fs layer 10:12:25 cc1cd167ecdc: Waiting 10:12:25 b1e948a4e11c: Waiting 10:12:25 c516ae0d96e1: Waiting 10:12:25 a8fd76ee1af6: Waiting 10:12:25 646ad004c059: Waiting 10:12:25 dd3240ac7de5: Waiting 10:12:25 684cea983483: Waiting 10:12:25 8ed8ca486205: Verifying Checksum 10:12:25 8ed8ca486205: Download complete 10:12:25 666ba61612fd: Download complete 10:12:25 c516ae0d96e1: Verifying Checksum 10:12:25 c516ae0d96e1: Download complete 10:12:25 684cea983483: Download complete 10:12:25 59bf1c3509f3: Verifying Checksum 10:12:25 59bf1c3509f3: Download complete 10:12:25 dd3240ac7de5: Verifying Checksum 10:12:25 dd3240ac7de5: Download complete 10:12:25 b1e948a4e11c: Verifying Checksum 10:12:25 b1e948a4e11c: Download complete 10:12:25 59bf1c3509f3: Pull complete 10:12:25 666ba61612fd: Pull complete 10:12:25 8ed8ca486205: Pull complete 10:12:26 a8fd76ee1af6: Verifying Checksum 10:12:26 a8fd76ee1af6: Download complete 10:12:26 cc1cd167ecdc: Verifying Checksum 10:12:26 cc1cd167ecdc: Download complete 10:12:26 646ad004c059: Verifying Checksum 10:12:26 646ad004c059: Download complete 10:12:30 cc1cd167ecdc: Pull complete 10:12:30 c516ae0d96e1: Pull complete 10:12:30 684cea983483: Pull complete 10:12:30 dd3240ac7de5: Pull complete 10:12:30 b1e948a4e11c: Pull complete 10:12:32 a8fd76ee1af6: Pull complete 10:12:32 646ad004c059: Pull complete 10:12:32 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:12:32 ---> 8f69c11f6b0c 10:12:32 Step 3/13 : ARG MAKE="make build" 10:12:34 ---> Running in 15623adfa1f9 10:12:34 Removing intermediate container 15623adfa1f9 10:12:34 ---> f143bcb13a48 10:12:34 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:12:34 ---> Running in d8a18c354103 10:12:34 Removing intermediate container d8a18c354103 10:12:34 ---> 86593d59dd6d 10:12:34 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:12:34 ---> Running in a55f4a8770fd 10:12:34 Removing intermediate container a55f4a8770fd 10:12:34 ---> 05bc835a65c7 10:12:34 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:12:34 ---> Running in f3877312b1ab 10:12:35 Removing intermediate container f3877312b1ab 10:12:35 ---> aa34d907e81c 10:12:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:35 ---> Running in cdf17fafb3bc 10:12:35 Removing intermediate container cdf17fafb3bc 10:12:35 ---> 16ff123565a3 10:12:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:35 ---> Running in 390d9d36c67b 10:12:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:12:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:12:37 OK: 221 MiB in 52 packages 10:12:37 Removing intermediate container 390d9d36c67b 10:12:37 ---> 8ef5a5c6a55f 10:12:37 Step 9/13 : WORKDIR /device-onvif-camera 10:12:37 ---> Running in f931c4bc6b06 10:12:37 Removing intermediate container f931c4bc6b06 10:12:37 ---> 1ce6aed4a4e8 10:12:37 Step 10/13 : COPY go.mod vendor* ./ 10:12:37 ---> 54bf30dc1825 10:12:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:37 ---> Running in fb1af381b326 10:12:38 Still waiting to schedule task 10:12:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17129’ 10:12:56 Removing intermediate container fb1af381b326 10:12:56 ---> 2e3c2e712897 10:12:56 Step 12/13 : COPY . . 10:12:56 ---> 5810b58f0079 10:12:56 Step 13/13 : RUN ${MAKE} 10:12:56 ---> Running in 36f3350ba303 10:12:56 noop 10:12:56 Removing intermediate container 36f3350ba303 10:12:56 ---> a7396681052d 10:12:56 Successfully built a7396681052d 10:12:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:56 + docker inspect -f . ci-base-image-x86_64 10:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:56 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 10:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** -e ******** ci-base-image-x86_64 cat 10:12:57 $ docker top 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:57 + go version 10:12:57 go version go1.17.7 linux/amd64 [Pipeline] } 10:12:57 $ docker stop --time=1 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c 10:12:59 $ docker rm -f 6bd16f5ac96af238ed28bc6ae52ea1f416d5bfea592d5b12f3b7fb7df2f08c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:59 + docker inspect -f . ci-base-image-x86_64 10:12:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:59 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 10:12:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** -e ******** ci-base-image-x86_64 cat 10:13:00 $ docker top f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:13:00 + make test 10:13:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:13:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:13:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:13:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 7.0% of statements 10:13:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:13:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.882s coverage: 13.8% of statements 10:13:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:13:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:13:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:13:25 ./bin/test-attribution-txt.sh [Pipeline] echo 10:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:13:25 $ docker stop --time=1 f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b 10:13:27 $ docker rm -f f96b37e70968ee7abf011f594d18cab28ee9cc387fead2ece19a614dfedbed8b [Pipeline] // withDockerContainer [Pipeline] sh 10:13:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:13:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:13:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:13:28 + ls -al . 10:13:28 total 248 10:13:28 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:13 . 10:13:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:11 .. 10:13:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:12 .git 10:13:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:12 .github 10:13:28 -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 10:12 .gitignore 10:13:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 10:12 .golangci.yml 10:13:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:12 .semver 10:13:28 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 10:12 Attribution.txt 10:13:28 -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 10:12 CHANGELOG.md 10:13:28 -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 10:12 Dockerfile 10:13:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:12 GOVERNANCE.md 10:13:28 -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 10:12 Jenkinsfile 10:13:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 10:12 LICENSE 10:13:28 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 10:12 Makefile 10:13:28 -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 10:12 OWNERS.md 10:13:28 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 10:12 README.md 10:13:28 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:12 VERSION 10:13:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:12 bin 10:13:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:12 cmd 10:13:28 -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 10:13 coverage.out 10:13:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:12 doc 10:13:28 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 10:12 go.mod 10:13:28 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 10:12 go.sum 10:13:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:12 internal 10:13:28 -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:29 + 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=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 --label arch=amd64 --label version=0.0.0 . 10:13:29 Sending build context to Docker daemon 9.399MB 10:13:29 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:13:29 Step 2/26 : FROM ${BASE} AS builder 10:13:29 ---> a7396681052d 10:13:29 Step 3/26 : ARG MAKE="make build" 10:13:29 ---> Running in f48ae5e631ad 10:13:29 Removing intermediate container f48ae5e631ad 10:13:29 ---> b40ad2f3ebaa 10:13:29 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:13:29 ---> Running in 0980f9ee8b77 10:13:29 Removing intermediate container 0980f9ee8b77 10:13:29 ---> 7701836921ee 10:13:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:13:29 ---> Running in 14ee1a9446d0 10:13:29 Removing intermediate container 14ee1a9446d0 10:13:29 ---> 4ca816b9013f 10:13:29 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:13:29 ---> Running in 4834c046f183 10:13:29 Removing intermediate container 4834c046f183 10:13:29 ---> 3c53355ce160 10:13:29 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:29 ---> Running in fe22662c6dff 10:13:30 Removing intermediate container fe22662c6dff 10:13:30 ---> d5bf695e2407 10:13:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:30 ---> Running in e4808d5a3f4a 10:13:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:13:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:13:31 OK: 221 MiB in 52 packages 10:13:32 Removing intermediate container e4808d5a3f4a 10:13:32 ---> dd1d8dfa547a 10:13:32 Step 9/26 : WORKDIR /device-onvif-camera 10:13:32 ---> Running in c39f7a37ed6d 10:13:32 Removing intermediate container c39f7a37ed6d 10:13:32 ---> 76d47907685d 10:13:32 Step 10/26 : COPY go.mod vendor* ./ 10:13:32 ---> 49742a08bb21 10:13:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:32 ---> Running in ec4a40bad68c 10:13:33 Removing intermediate container ec4a40bad68c 10:13:33 ---> b39d59cdea64 10:13:33 Step 12/26 : COPY . . 10:13:33 ---> 10eea9b7fbd7 10:13:33 Step 13/26 : RUN ${MAKE} 10:13:33 ---> Running in e2e23ab39c3b 10:13:33 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:55 Removing intermediate container e2e23ab39c3b 10:13:55 ---> 09e23e699e3b 10:13:55 Step 14/26 : FROM alpine:3.15 10:13:55 3.15: Pulling from library/alpine 10:13:55 df9b9388f04a: Pulling fs layer 10:13:55 df9b9388f04a: Verifying Checksum 10:13:55 df9b9388f04a: Download complete 10:13:55 df9b9388f04a: Pull complete 10:13:55 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:13:55 Status: Downloaded newer image for alpine:3.15 10:13:55 ---> 0ac33e5f5afa 10:13:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:13:55 ---> Running in 6258632e4153 10:13:55 Removing intermediate container 6258632e4153 10:13:55 ---> 64aa3ff7e850 10:13:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:13:55 ---> Running in 3369c5abc726 10:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:13:55 (1/6) Installing dumb-init (1.2.5-r1) 10:13:55 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:13:55 (3/6) Installing libsodium (1.0.18-r0) 10:13:55 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:13:55 (5/6) Installing libzmq (4.3.4-r0) 10:13:55 (6/6) Installing zeromq (4.3.4-r0) 10:13:55 Executing busybox-1.34.1-r5.trigger 10:13:55 OK: 8 MiB in 20 packages 10:13:55 Removing intermediate container 3369c5abc726 10:13:55 ---> 41a7110b107f 10:13:55 Step 17/26 : WORKDIR / 10:13:56 ---> Running in fe62f55c5bc6 10:13:56 Removing intermediate container fe62f55c5bc6 10:13:56 ---> ec878bd1371d 10:13:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:13:56 ---> bdff095df844 10:13:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:13:56 ---> ad47f886e6fb 10:13:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:13:56 ---> 68775b846553 10:13:56 Step 21/26 : EXPOSE 59984 10:13:56 ---> Running in d6dce12823b0 10:13:57 Removing intermediate container d6dce12823b0 10:13:57 ---> ebcaaab32d7f 10:13:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:13:57 ---> Running in bb8e4725e338 10:13:57 Removing intermediate container bb8e4725e338 10:13:57 ---> fbe63a2701bd 10:13:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:13:57 ---> Running in 269c1f9e4b39 10:13:57 Removing intermediate container 269c1f9e4b39 10:13:57 ---> 81c8e8611cfd 10:13:57 Step 24/26 : LABEL arch=amd64 10:13:57 ---> Running in 88817bfb51a6 10:13:57 Removing intermediate container 88817bfb51a6 10:13:57 ---> fa42163009e6 10:13:57 Step 25/26 : LABEL git_sha=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 10:13:57 ---> Running in 9b34ffd19a61 10:13:57 Removing intermediate container 9b34ffd19a61 10:13:57 ---> 1af0298fb6d5 10:13:57 Step 26/26 : LABEL version=0.0.0 10:13:57 ---> Running in 11c9824ed33e 10:13:58 Removing intermediate container 11c9824ed33e 10:13:58 ---> 3abf723dacd2 10:13:58 [Warning] One or more build-args [ARCH] were not consumed 10:13:58 Successfully built 3abf723dacd2 10:13:58 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:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:58 10:13:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:58 latest: Pulling from edgex-lftools-log-publisher 10:13:58 5eb5b503b376: Pulling fs layer 10:13:58 5c69ac0246d0: Pulling fs layer 10:13:58 ec43610c2a17: Pulling fs layer 10:13:58 3a2ae6a8a46f: Pulling fs layer 10:13:58 33b1e0a273af: Pulling fs layer 10:13:58 5d3b04190fa2: Pulling fs layer 10:13:58 2f39f015ded8: Pulling fs layer 10:13:58 5d3b04190fa2: Waiting 10:13:58 2f39f015ded8: Waiting 10:13:58 3a2ae6a8a46f: Waiting 10:13:58 5c69ac0246d0: Download complete 10:13:58 3a2ae6a8a46f: Verifying Checksum 10:13:58 33b1e0a273af: Verifying Checksum 10:13:58 33b1e0a273af: Download complete 10:13:58 5d3b04190fa2: Verifying Checksum 10:13:58 5d3b04190fa2: Download complete 10:13:58 ec43610c2a17: Verifying Checksum 10:13:58 ec43610c2a17: Download complete 10:13:58 5eb5b503b376: Verifying Checksum 10:13:58 5eb5b503b376: Download complete 10:13:59 2f39f015ded8: Download complete 10:14:00 5eb5b503b376: Pull complete 10:14:00 5c69ac0246d0: Pull complete 10:14:00 ec43610c2a17: Pull complete 10:14:00 3a2ae6a8a46f: Pull complete 10:14:01 33b1e0a273af: Pull complete 10:14:01 5d3b04190fa2: Pull complete 10:14:05 2f39f015ded8: Pull complete 10:14:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:14:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:14:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:05 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 10:14:05 $ 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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:14:07 $ docker top baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:07 ---> job-cost.sh 10:14:07 lf-activate-venv: SKIPPING 10:14:07 INFO: No Stack... 10:14:07 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:08 INFO: Archiving Costs [Pipeline] sh 10:14:08 + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv 10:14:08 + cut -d, -f6 [Pipeline] lock 10:14:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] 10:14:08 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] did not exist. Created. 10:14:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:14:09 + echo total: 0.2199999988079071 [Pipeline] stash 10:14:09 Stashed 1 file(s) [Pipeline] } 10:14:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:14:09 $ docker stop --time=1 baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d 10:14:10 $ docker rm -f baf0a275e244a963b4e3fdc31011cfb143284ba5c31e8eefbca0be908f35322d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:16:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17131 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws 10:16:09 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 10:16:09 Selected Git installation does not exist. Using Default 10:16:09 The recommended git tool is: NONE 10:16:15 using credential edgex-jenkins-ssh 10:16:15 Cloning the remote Git repository 10:16:15 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:16:15 > git init /w/workspace/device-onvif-camera/2 # timeout=10 10:16:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:16:15 > git --version # timeout=10 10:16:15 > git --version # 'git version 2.25.1' 10:16:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:16:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:16:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:16:16 Merging remotes/origin/main commit 82843687bcf82fd8ddbc6870f1be613a828c9679 into PR head commit 85736546429b6e185e62d2ea9cd21cb915ee509b 10:16:17 Merge succeeded, producing 7b222b914089066313216176c812b10eda6d83c6 10:16:17 Checking out Revision 7b222b914089066313216176c812b10eda6d83c6 (PR-100) 10:16:16 > git config core.sparsecheckout # timeout=10 10:16:16 > git checkout -f 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 10:16:17 > git remote # timeout=10 10:16:17 > git config --get remote.origin.url # timeout=10 10:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:17 > git merge 82843687bcf82fd8ddbc6870f1be613a828c9679 # timeout=10 10:16:17 > git rev-parse HEAD^{commit} # timeout=10 10:16:17 > git config core.sparsecheckout # timeout=10 10:16:17 > git checkout -f 7b222b914089066313216176c812b10eda6d83c6 # timeout=10 10:16:21 Commit message: "Merge commit '82843687bcf82fd8ddbc6870f1be613a828c9679' into HEAD" 10:16:21 > git rev-list --no-walk 85736546429b6e185e62d2ea9cd21cb915ee509b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:16:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:16:22 % Total % Received % Xferd Average Speed Time Time Time Current 10:16:22 Dload Upload Total Spent Left Speed 10:16:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 10:16:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:16:23 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 10:16:23 10:16:23 { 10:16:23 "registry-mirrors": [ 10:16:23 "https://nexus3.edgexfoundry.org:10001" 10:16:23 ], 10:16:23 "bip": "10.250.0.254/24", 10:16:23 "hosts": [ 10:16:23 "tcp://0.0.0.0:5555", 10:16:23 "unix:///var/run/docker.sock" 10:16:23 ], 10:16:23 "mtu": 1458, 10:16:23 "selinux-enabled": true, 10:16:23 "seccomp-profile": "/etc/docker/seccomp.json" 10:16:23 } [Pipeline] sh 10:16:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:16:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:16:42 provisioning config files... 10:16:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7588651897941423451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:43 ---> docker-login.sh 10:16:43 nexus3.edgexfoundry.org:10001 10:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:43 Configure a credential helper to remove this warning. See 10:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:43 10:16:43 Login Succeeded 10:16:43 nexus3.edgexfoundry.org:10002 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10003 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10004 10:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:45 Configure a credential helper to remove this warning. See 10:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:45 10:16:45 Login Succeeded 10:16:45 docker.io 10:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:45 Configure a credential helper to remove this warning. See 10:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:45 10:16:45 Login Succeeded 10:16:45 ---> docker-login.sh ends [Pipeline] } 10:16:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:16:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:16:46 ========================================================= 10:16:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:16:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:16:46 Sending build context to Docker daemon 6.404MB 10:16:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:16:46 Step 2/13 : FROM ${BASE} AS builder 10:16:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:16:47 9b3977197b4f: Pulling fs layer 10:16:47 1a89e8eeedd5: Pulling fs layer 10:16:47 94645a83ff95: Pulling fs layer 10:16:47 e6fb740bc735: Pulling fs layer 10:16:47 3a77bd46dcc9: Pulling fs layer 10:16:47 e6fb740bc735: Waiting 10:16:47 355e64cbe906: Pulling fs layer 10:16:47 3a77bd46dcc9: Waiting 10:16:47 63ab81a10011: Pulling fs layer 10:16:47 355e64cbe906: Waiting 10:16:47 555d1d1c4555: Pulling fs layer 10:16:47 7d9057610161: Pulling fs layer 10:16:47 555d1d1c4555: Waiting 10:16:47 63ab81a10011: Waiting 10:16:47 7d9057610161: Waiting 10:16:47 94645a83ff95: Verifying Checksum 10:16:47 94645a83ff95: Download complete 10:16:47 1a89e8eeedd5: Verifying Checksum 10:16:47 1a89e8eeedd5: Download complete 10:16:47 3a77bd46dcc9: Verifying Checksum 10:16:47 3a77bd46dcc9: Download complete 10:16:47 355e64cbe906: Download complete 10:16:47 9b3977197b4f: Download complete 10:16:47 63ab81a10011: Verifying Checksum 10:16:47 63ab81a10011: Download complete 10:16:48 9b3977197b4f: Pull complete 10:16:48 7d9057610161: Verifying Checksum 10:16:48 7d9057610161: Download complete 10:16:48 1a89e8eeedd5: Pull complete 10:16:48 94645a83ff95: Pull complete 10:16:49 555d1d1c4555: Verifying Checksum 10:16:49 555d1d1c4555: Download complete 10:16:50 e6fb740bc735: Download complete 10:17:02 e6fb740bc735: Pull complete 10:17:02 3a77bd46dcc9: Pull complete 10:17:02 355e64cbe906: Pull complete 10:17:02 63ab81a10011: Pull complete 10:17:09 555d1d1c4555: Pull complete 10:17:11 7d9057610161: Pull complete 10:17:11 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:17:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:17:11 ---> 819e984ddca1 10:17:11 Step 3/13 : ARG MAKE="make build" 10:17:11 ---> Running in a85f811f53b7 10:17:12 Removing intermediate container a85f811f53b7 10:17:12 ---> 984ac36b5494 10:17:12 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:17:12 ---> Running in ea54517dfd61 10:17:12 Removing intermediate container ea54517dfd61 10:17:12 ---> 311da927d14b 10:17:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:17:12 ---> Running in fada5dfbedc9 10:17:12 Removing intermediate container fada5dfbedc9 10:17:12 ---> 90b75b8d1b51 10:17:12 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:17:12 ---> Running in b82e2398b5e1 10:17:13 Removing intermediate container b82e2398b5e1 10:17:13 ---> 958caba1d783 10:17:13 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:13 ---> Running in f800630200cb 10:17:15 Removing intermediate container f800630200cb 10:17:15 ---> 79128e775cc3 10:17:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:15 ---> Running in c3dd2757db28 10:17:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:17:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:17:18 OK: 220 MiB in 52 packages 10:17:18 Removing intermediate container c3dd2757db28 10:17:18 ---> 2cfd1f41442f 10:17:18 Step 9/13 : WORKDIR /device-onvif-camera 10:17:18 ---> Running in 7aff34bae65d 10:17:19 Removing intermediate container 7aff34bae65d 10:17:19 ---> 70daadd1a826 10:17:19 Step 10/13 : COPY go.mod vendor* ./ 10:17:19 ---> e42e6604ddd2 10:17:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:19 ---> Running in cecafa6264b2 10:18:06 Removing intermediate container cecafa6264b2 10:18:06 ---> bd81ddedbf29 10:18:06 Step 12/13 : COPY . . 10:18:06 ---> 653a42bb5ffd 10:18:06 Step 13/13 : RUN ${MAKE} 10:18:06 ---> Running in 75c6005fc7e8 10:18:07 noop 10:18:07 Removing intermediate container 75c6005fc7e8 10:18:07 ---> 0cc666c45471 10:18:07 Successfully built 0cc666c45471 10:18:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:08 + docker inspect -f . ci-base-image-arm64 10:18:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:08 prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container 10:18:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat 10:18:09 $ docker top 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:10 + go version 10:18:10 go version go1.17.7 linux/arm64 [Pipeline] } 10:18:10 $ docker stop --time=1 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 10:18:12 $ docker rm -f 8d6773b479fe226689c72186090e5f439787d45029733990afc5f6c262153f79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:12 + docker inspect -f . ci-base-image-arm64 10:18:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:13 prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container 10:18:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** ci-base-image-arm64 cat 10:18:14 $ docker top e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:18:15 + make test 10:18:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:18:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:19:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:19:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements 10:19:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:20:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.659s coverage: 13.8% of statements 10:20:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:20:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:20:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:20:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:20:31 ./bin/test-attribution-txt.sh [Pipeline] echo 10:20:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:20:33 $ docker stop --time=1 e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b 10:20:35 $ docker rm -f e8c8e9c02d520c05e49a5adb7c82c1a685d58992169f59c6fc787a92c7a5f11b [Pipeline] // withDockerContainer [Pipeline] sh 10:20:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:20:36 Warning: overwriting stash ‘coverage-report’ 10:20:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:20:37 + ls -al . 10:20:37 total 244 10:20:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:20 . 10:20:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 .. 10:20:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:16 .git 10:20:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:16 .github 10:20:37 -rw-rw-r-- 1 jenkins jenkins 352 Jul 7 10:16 .gitignore 10:20:37 -rw-rw-r-- 1 jenkins jenkins 42 Jul 7 10:16 .golangci.yml 10:20:37 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 7 10:16 Attribution.txt 10:20:37 -rw-rw-r-- 1 jenkins jenkins 189 Jul 7 10:16 CHANGELOG.md 10:20:37 -rw-rw-r-- 1 jenkins jenkins 1667 Jul 7 10:16 Dockerfile 10:20:37 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:16 GOVERNANCE.md 10:20:37 -rw-rw-r-- 1 jenkins jenkins 660 Jul 7 10:16 Jenkinsfile 10:20:37 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 7 10:16 LICENSE 10:20:37 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 7 10:16 Makefile 10:20:37 -rw-rw-r-- 1 jenkins jenkins 625 Jul 7 10:16 OWNERS.md 10:20:37 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 7 10:16 README.md 10:20:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:12 VERSION 10:20:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:16 bin 10:20:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:16 cmd 10:20:37 -rw-r--r-- 1 jenkins jenkins 70262 Jul 7 10:20 coverage.out 10:20:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 doc 10:20:37 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 7 10:16 go.mod 10:20:37 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 7 10:16 go.sum 10:20:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:16 internal 10:20:37 -rw-rw-r-- 1 jenkins jenkins 236 Jul 7 10:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:38 + 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=7b222b914089066313216176c812b10eda6d83c6 --label arch=arm64 --label version=0.0.0 . 10:20:38 Sending build context to Docker daemon 6.475MB 10:20:38 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:20:38 Step 2/26 : FROM ${BASE} AS builder 10:20:38 ---> 0cc666c45471 10:20:38 Step 3/26 : ARG MAKE="make build" 10:20:38 ---> Running in 219cd909b1ff 10:20:39 Removing intermediate container 219cd909b1ff 10:20:39 ---> d6384472560f 10:20:39 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:20:39 ---> Running in d137a5f395ad 10:20:39 Removing intermediate container d137a5f395ad 10:20:39 ---> 2ee73cf231ea 10:20:39 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:20:39 ---> Running in ca4f8add18c3 10:20:39 Removing intermediate container ca4f8add18c3 10:20:39 ---> 36af95cb94f0 10:20:39 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:20:39 ---> Running in 7c3214476b93 10:20:40 Removing intermediate container 7c3214476b93 10:20:40 ---> cedf600afdc6 10:20:40 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:20:40 ---> Running in 34b53b1e6c6a 10:20:42 Removing intermediate container 34b53b1e6c6a 10:20:42 ---> d566dd4376d0 10:20:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:42 ---> Running in 0ebbd87d997c 10:20:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:20:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:20:44 OK: 220 MiB in 52 packages 10:20:45 Removing intermediate container 0ebbd87d997c 10:20:45 ---> d0cd84c0ab90 10:20:45 Step 9/26 : WORKDIR /device-onvif-camera 10:20:45 ---> Running in 49d3c446555a 10:20:45 Removing intermediate container 49d3c446555a 10:20:45 ---> 3841aab6a5bb 10:20:45 Step 10/26 : COPY go.mod vendor* ./ 10:20:46 ---> c105399e9ae2 10:20:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:46 ---> Running in 70804656279a 10:20:48 Removing intermediate container 70804656279a 10:20:48 ---> b63b703276a1 10:20:48 Step 12/26 : COPY . . 10:20:49 ---> 3f41c17c4cd1 10:20:49 Step 13/26 : RUN ${MAKE} 10:20:49 ---> Running in ce55ce224715 10:20:50 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:22:57 Removing intermediate container ce55ce224715 10:22:57 ---> 32191a3299df 10:22:57 Step 14/26 : FROM alpine:3.15 10:22:57 3.15: Pulling from library/alpine 10:22:57 9981e73032c8: Pulling fs layer 10:22:57 9981e73032c8: Verifying Checksum 10:22:57 9981e73032c8: Download complete 10:22:57 9981e73032c8: Pull complete 10:22:57 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:22:57 Status: Downloaded newer image for alpine:3.15 10:22:57 ---> 3fb3c9af89a9 10:22:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:22:57 ---> Running in 3e6ab0172c50 10:22:57 Removing intermediate container 3e6ab0172c50 10:22:57 ---> 734607babeee 10:22:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:22:57 ---> Running in fbd6ab84ff45 10:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:22:57 (1/6) Installing dumb-init (1.2.5-r1) 10:22:57 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:22:57 (3/6) Installing libsodium (1.0.18-r0) 10:22:57 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:22:57 (5/6) Installing libzmq (4.3.4-r0) 10:22:57 (6/6) Installing zeromq (4.3.4-r0) 10:22:57 Executing busybox-1.34.1-r5.trigger 10:22:57 OK: 8 MiB in 20 packages 10:22:57 Removing intermediate container fbd6ab84ff45 10:22:57 ---> 2779f5b707f7 10:22:57 Step 17/26 : WORKDIR / 10:22:57 ---> Running in 260ebc74fc91 10:22:57 Removing intermediate container 260ebc74fc91 10:22:57 ---> 2d94bd5875b6 10:22:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:22:57 ---> 4d7636e6daa5 10:22:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:22:57 ---> becfdeb31978 10:22:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:22:57 ---> 2042df81dcb7 10:22:57 Step 21/26 : EXPOSE 59984 10:22:57 ---> Running in 7162d107471d 10:22:58 Removing intermediate container 7162d107471d 10:22:58 ---> 1e17d33da40e 10:22:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:22:58 ---> Running in 54acbcf08040 10:22:58 Removing intermediate container 54acbcf08040 10:22:58 ---> ad1ccab28014 10:22:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:22:58 ---> Running in 142939e11b51 10:22:59 Removing intermediate container 142939e11b51 10:22:59 ---> 3f9d50d9a54c 10:22:59 Step 24/26 : LABEL arch=arm64 10:22:59 ---> Running in f984bdb6454a 10:22:59 Removing intermediate container f984bdb6454a 10:22:59 ---> 512b1d813eae 10:22:59 Step 25/26 : LABEL git_sha=7b222b914089066313216176c812b10eda6d83c6 10:22:59 ---> Running in 8b7a3c2baf97 10:22:59 Removing intermediate container 8b7a3c2baf97 10:22:59 ---> 8890cf12c138 10:22:59 Step 26/26 : LABEL version=0.0.0 10:22:59 ---> Running in 5d5584b14a06 10:23:00 Removing intermediate container 5d5584b14a06 10:23:00 ---> 183dcd4ddef2 10:23:00 [Warning] One or more build-args [ARCH] were not consumed 10:23:00 Successfully built 183dcd4ddef2 10:23:00 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:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:00 10:23:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:01 arm64: Pulling from edgex-lftools-log-publisher 10:23:01 8998bd30e6a1: Pulling fs layer 10:23:01 04944245beec: Pulling fs layer 10:23:01 699f458cf7ca: Pulling fs layer 10:23:01 765212b225bb: Pulling fs layer 10:23:01 f23df028b6ca: Pulling fs layer 10:23:01 d65c8cfc05b1: Pulling fs layer 10:23:01 2437ff75d9bd: Pulling fs layer 10:23:01 f23df028b6ca: Waiting 10:23:01 765212b225bb: Waiting 10:23:01 2437ff75d9bd: Waiting 10:23:01 d65c8cfc05b1: Waiting 10:23:01 04944245beec: Verifying Checksum 10:23:01 04944245beec: Download complete 10:23:01 765212b225bb: Verifying Checksum 10:23:01 765212b225bb: Download complete 10:23:01 f23df028b6ca: Verifying Checksum 10:23:01 f23df028b6ca: Download complete 10:23:01 d65c8cfc05b1: Verifying Checksum 10:23:01 d65c8cfc05b1: Download complete 10:23:01 699f458cf7ca: Verifying Checksum 10:23:01 699f458cf7ca: Download complete 10:23:01 8998bd30e6a1: Download complete 10:23:04 2437ff75d9bd: Verifying Checksum 10:23:04 2437ff75d9bd: Download complete 10:23:06 8998bd30e6a1: Pull complete 10:23:06 04944245beec: Pull complete 10:23:08 699f458cf7ca: Pull complete 10:23:08 765212b225bb: Pull complete 10:23:09 f23df028b6ca: Pull complete 10:23:09 d65c8cfc05b1: Pull complete 10:23:24 2437ff75d9bd: Pull complete 10:23:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:23:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:24 prd-ubuntu20.04-docker-arm64-4c-16g-17131 does not seem to be running inside a container 10:23:24 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:23:27 $ docker top c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:28 ---> job-cost.sh 10:23:28 lf-activate-venv: SKIPPING 10:23:28 INFO: No Stack... 10:23:28 INFO: Retrieving Pricing Info for: v3-standard-4 10:23:29 INFO: Archiving Costs [Pipeline] sh 10:23:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 10:23:30 + cut -d, -f6 [Pipeline] lock 10:23:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] 10:23:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] did not exist. Created. 10:23:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:30 /w/workspace/device-onvif-camera/2@tmp/durable-708abe54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:23:31 + echo total: 0.10999999940395355 [Pipeline] stash 10:23:31 Warning: overwriting stash ‘stack-cost’ 10:23:31 Stashed 1 file(s) [Pipeline] } 10:23:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:31 $ docker stop --time=1 c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 10:23:33 $ docker rm -f c5e2d5b0ad823b3929118de5e954f0859954f8b0cc467365606ec4ca6ad77cb2 [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:23:33 provisioning config files... 10:23:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config545296997553963955tmp [Pipeline] { [Pipeline] sh 10:23:34 + set +x 10:23:34 + curl -s https://codecov.io/bash 10:23:34 + bash -s -- 10:23:34 10:23:34 _____ _ 10:23:34 / ____| | | 10:23:34 | | ___ __| | ___ ___ _____ __ 10:23:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:23:34 | |___| (_) | (_| | __/ (_| (_) \ V / 10:23:34 \_____\___/ \__,_|\___|\___\___/ \_/ 10:23:34 Bash-1.0.6 10:23:34 10:23:34 10:23:34 ==> git version 2.25.1 found 10:23:34 ==> 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:23:34 Release-Date: 2020-01-08 10:23:34 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:23:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:23:34 ==> Jenkins CI detected. 10:23:34 current dir:  /w/workspace/undry_device-onvif-camera_PR-100 10:23:34 project root: . 10:23:34 --> token set from env 10:23:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:23:34 ==> Running gcov in . (disable via -X gcov) 10:23:34 ==> Python coveragepy not found 10:23:34 ==> Searching for coverage reports in: 10:23:34 + . 10:23:34 -> Found 1 reports 10:23:34 ==> Detecting git/mercurial file structure 10:23:34 ==> Reading reports 10:23:34 + ./coverage.out bytes=70262 10:23:34 ==> Appending adjustments 10:23:34 https://docs.codecov.io/docs/fixing-reports 10:23:34 + Found adjustments 10:23:34 ==> Gzipping contents 10:23:34 12K /tmp/codecov.udSmSi.gz 10:23:34 ==> Uploading reports 10:23:34 url: https://codecov.io 10:23:34 query: branch=PR-100&commit=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= 10:23:34 -> Pinging Codecov 10:23:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= 10:23:34 -> Uploading to 10:23:34 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/F29A59C45E3A92E06B3E522C9905F8EF/5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1/c89fb6e8-41ae-4c27-81d6-fd9c97ae7bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T102334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a7f3ace579c9049963b07ded1aab475077d2e5d54ccdeaf15faa5cecdf150ce 10:23:34 % Total % Received % Xferd Average Speed Time Time Time Current 10:23:34 Dload Upload Total Spent Left Speed 10:23:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9301 0 0 100 9301 0 30003 --:--:-- --:--:-- --:--:-- 30003 10:23:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5c6486b0e80a20ddc1d190bc735f3b7f4bea90a1 [Pipeline] } 10:23:34 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:23:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] 10:23:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives 10:23:35 total 16 10:23:35 drwxr-xr-x 3 root root 4096 Jul 7 10:14 . 10:23:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:14 .. 10:23:35 drwxr-xr-x 2 root root 4096 Jul 7 10:14 cost 10:23:35 -rw-r--r-- 1 root root 90 Jul 7 10:14 cost.csv 10:23:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives 10:23:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives 10:23:35 total 16 10:23:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:14 . 10:23:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:14 .. 10:23:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:14 cost 10:23:35 -rw-r--r-- 1 jenkins jenkins 90 Jul 7 10:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:23:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:23:36 ---> package-listing.sh 10:23:36 ++ facter osfamily 10:23:36 ++ tr '[:upper:]' '[:lower:]' 10:23:36 + OS_FAMILY=debian 10:23:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-100 10:23:36 + START_PACKAGES=/tmp/packages_start.txt 10:23:36 + END_PACKAGES=/tmp/packages_end.txt 10:23:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:23:36 + PACKAGES=/tmp/packages_start.txt 10:23:36 + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' 10:23:36 + PACKAGES=/tmp/packages_end.txt 10:23:36 + case "${OS_FAMILY}" in 10:23:36 + dpkg -l 10:23:36 + grep '^ii' 10:23:36 + '[' -f /tmp/packages_start.txt ']' 10:23:36 + '[' -f /tmp/packages_end.txt ']' 10:23:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:23:36 + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' 10:23:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ 10:23:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo 10:23:36 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-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:23:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:37 prd-ubuntu20.04-docker-8c-8g-17130 does not seem to be running inside a container 10:23:37 $ 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-100/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-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@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:23:38 $ docker top 90533b66a1eb528eafce061042dcbe73b87b8ab6327a749551b9d1f75682c3c2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:38 + touch /tmp/pre-build-complete [Pipeline] sh 10:23:38 + mkdir -p /var/log/sysstat [Pipeline] sh 10:23:39 + ls /var/log/sa-host 10:23:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:39 provisioning config files... 10:23:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config1681456892356748738tmp [Pipeline] { [Pipeline] echo 10:23:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:23:39 ---> create-netrc.sh [Pipeline] } 10:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:23:39 ---> python-tools-install.sh [Pipeline] echo 10:23:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:23:40 ---> sudo-logs.sh 10:23:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:23:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:23:40 ---> job-cost.sh 10:23:40 lf-activate-venv: SKIPPING 10:23:40 DEBUG: total: 0.2199999988079071 10:23:40 INFO: Retrieving Stack Cost... 10:23:40 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:41 INFO: Archiving Costs [Pipeline] echo 10:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:23:41 ---> logs-deploy.sh 10:23:41 lf-activate-venv: SKIPPING 10:23:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/2 10:23:41 INFO: archiving workspace using pattern(s): 10:23:42 Archives upload complete. 10:23:42 INFO: archiving logs to Nexus 10:23:43 ---> uname -a: 10:23:43 Linux prd-ubuntu20-04-docker-8c-8g-17130 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:23:43 10:23:43 10:23:43 ---> lscpu: 10:23:43 Architecture: x86_64 10:23:43 CPU op-mode(s): 32-bit, 64-bit 10:23:43 Byte Order: Little Endian 10:23:43 Address sizes: 40 bits physical, 48 bits virtual 10:23:43 CPU(s): 8 10:23:43 On-line CPU(s) list: 0-7 10:23:43 Thread(s) per core: 1 10:23:43 Core(s) per socket: 1 10:23:43 Socket(s): 8 10:23:43 NUMA node(s): 1 10:23:43 Vendor ID: AuthenticAMD 10:23:43 CPU family: 23 10:23:43 Model: 49 10:23:43 Model name: AMD EPYC-Rome Processor 10:23:43 Stepping: 0 10:23:43 CPU MHz: 2800.000 10:23:43 BogoMIPS: 5600.00 10:23:43 Virtualization: AMD-V 10:23:43 Hypervisor vendor: KVM 10:23:43 Virtualization type: full 10:23:43 L1d cache: 256 KiB 10:23:43 L1i cache: 256 KiB 10:23:43 L2 cache: 4 MiB 10:23:43 L3 cache: 128 MiB 10:23:43 NUMA node0 CPU(s): 0-7 10:23:43 Vulnerability Itlb multihit: Not affected 10:23:43 Vulnerability L1tf: Not affected 10:23:43 Vulnerability Mds: Not affected 10:23:43 Vulnerability Meltdown: Not affected 10:23:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:23:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:23:43 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:23:43 Vulnerability Srbds: Not affected 10:23:43 Vulnerability Tsx async abort: Not affected 10:23:43 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:23:43 10:23:43 10:23:43 ---> nproc: 10:23:43 8 10:23:43 10:23:43 10:23:43 ---> df -h: 10:23:43 Filesystem Size Used Avail Use% Mounted on 10:23:43 overlay 155G 11G 145G 7% / 10:23:43 tmpfs 64M 0 64M 0% /dev 10:23:43 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:23:43 shm 64M 0 64M 0% /dev/shm 10:23:43 /dev/vda1 155G 11G 145G 7% /facter-os 10:23:43 10:23:43 10:23:43 ---> sar -b -r -n DEV: 10:23:43 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17130) 07/07/22 _x86_64_ (8 CPU) 10:23:43 10:23:43 10:11:29 LINUX RESTART (8 CPU) 10:23:43 10:23:43 10:12:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:23:43 10:13:01 347.58 12.58 335.00 0.00 2078.24 125862.78 0.00 10:23:43 10:14:01 162.29 0.12 162.17 0.00 7.20 24685.75 0.00 10:23:43 10:15:01 32.47 0.03 32.44 0.00 3.87 16434.92 0.00 10:23:43 10:16:01 1.47 0.00 1.47 0.00 0.00 17.61 0.00 10:23:43 10:17:01 1.82 0.05 1.77 0.00 0.53 32.79 0.00 10:23:43 10:18:01 1.68 0.00 1.68 0.00 0.00 19.73 0.00 10:23:43 10:19:01 1.15 0.00 1.15 0.00 0.00 13.86 0.00 10:23:43 10:20:01 0.88 0.00 0.88 0.00 0.00 11.60 0.00 10:23:43 10:21:01 1.13 0.00 1.13 0.00 0.00 12.53 0.00 10:23:43 10:22:01 1.23 0.00 1.23 0.00 0.00 19.20 0.00 10:23:43 10:23:01 1.05 0.00 1.05 0.00 0.00 12.13 0.00 10:23:43 Average: 49.79 1.14 48.65 0.00 187.08 15022.74 0.00 10:23:43 10:23:43 10:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:23:43 10:13:01 28412356 31681280 603340 1.83 151964 3338548 2138036 6.30 1241924 2783772 23876 10:23:43 10:14:01 27930712 31718276 567608 1.73 161280 3817676 2167712 6.39 1334472 3142104 262960 10:23:43 10:15:01 27751404 31769960 514216 1.56 166964 4012092 1731840 5.10 1298204 3324256 292 10:23:43 10:16:01 27753040 31771680 512300 1.56 167004 4012092 1731840 5.10 1296356 3324256 152 10:23:43 10:17:01 27753916 31772560 511424 1.56 167072 4012104 1731840 5.10 1296356 3324264 16 10:23:43 10:18:01 27754644 31773388 510380 1.55 167104 4012112 1731840 5.10 1295628 3324276 20 10:23:43 10:19:01 27762912 31781700 502020 1.53 167132 4012120 1731840 5.10 1287292 3324280 180 10:23:43 10:20:01 27766172 31784964 498676 1.52 167152 4012124 1731840 5.10 1283960 3324284 260 10:23:43 10:21:01 27766196 31785024 498640 1.52 167160 4012124 1731840 5.10 1283356 3324284 12 10:23:43 10:22:01 27766776 31785628 497852 1.51 167200 4012104 1731840 5.10 1283328 3324268 280 10:23:43 10:23:01 27766776 31785632 497824 1.51 167208 4012104 1731840 5.10 1282584 3324268 20 10:23:43 Average: 27834991 31764554 519480 1.58 165204 3933200 1808392 5.33 1289405 3258574 26188 10:23:43 10:23:43 10:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:23:43 10:13:01 docker0 119.25 151.20 9.61 1141.75 0.00 0.00 0.00 0.00 10:23:43 10:13:01 lo 6.37 6.37 0.62 0.62 0.00 0.00 0.00 0.00 10:23:43 10:13:01 veth92fd5b0 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 10:23:43 10:13:01 ens3 512.14 374.31 6871.78 117.21 0.00 0.00 0.00 0.00 10:23:43 10:14:01 docker0 8.53 13.30 0.51 91.79 0.00 0.00 0.00 0.00 10:23:43 10:14:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 10:23:43 10:14:01 ens3 143.49 85.34 2672.89 19.08 0.00 0.00 0.00 0.00 10:23:43 10:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:15:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:15:01 ens3 14.18 8.16 13.19 4.78 0.00 0.00 0.00 0.00 10:23:43 10:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:16:01 ens3 16.28 11.40 9.44 11.64 0.00 0.00 0.00 0.00 10:23:43 10:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:17:01 ens3 6.11 6.78 0.69 14.03 0.00 0.00 0.00 0.00 10:23:43 10:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:18:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:19:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:20:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:21:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:23:43 10:22:01 ens3 4.50 8.63 0.36 7.61 0.00 0.00 0.00 0.00 10:23:43 10:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 10:23:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:23:43 Average: docker0 11.45 14.74 0.91 110.56 0.00 0.00 0.00 0.00 10:23:43 Average: lo 0.83 0.83 0.08 0.08 0.00 0.00 0.00 0.00 10:23:43 Average: ens3 62.68 44.48 860.60 15.70 0.00 0.00 0.00 0.00 10:23:43 10:23:43 10:23:43 ---> sar -P ALL: 10:23:43 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17130) 07/07/22 _x86_64_ (8 CPU) 10:23:43 10:23:43 10:11:29 LINUX RESTART (8 CPU) 10:23:43 10:23:43 10:12:02 CPU %user %nice %system %iowait %steal %idle 10:23:43 10:13:01 all 11.98 0.00 5.18 2.11 0.09 80.64 10:23:43 10:13:01 0 13.45 0.00 5.79 3.19 0.09 77.48 10:23:43 10:13:01 1 12.49 0.00 5.25 1.03 0.09 81.15 10:23:43 10:13:01 2 11.41 0.00 4.47 2.06 0.07 81.99 10:23:43 10:13:01 3 12.52 0.00 5.80 3.66 0.10 77.92 10:23:43 10:13:01 4 11.26 0.00 4.87 3.11 0.07 80.69 10:23:43 10:13:01 5 11.05 0.00 4.32 1.12 0.09 83.43 10:23:43 10:13:01 6 11.20 0.00 5.42 0.55 0.07 82.76 10:23:43 10:13:01 7 12.45 0.00 5.54 2.19 0.12 79.70 10:23:43 10:14:01 all 36.72 0.00 5.90 1.13 0.10 56.15 10:23:43 10:14:01 0 39.56 0.00 5.61 0.37 0.10 54.36 10:23:43 10:14:01 1 36.88 0.00 6.51 3.33 0.12 53.16 10:23:43 10:14:01 2 40.38 0.00 5.84 0.67 0.10 53.00 10:23:43 10:14:01 3 35.99 0.00 6.32 0.17 0.08 57.43 10:23:43 10:14:01 4 32.12 0.00 5.53 1.37 0.10 60.87 10:23:43 10:14:01 5 35.82 0.00 5.49 1.15 0.10 57.44 10:23:43 10:14:01 6 34.85 0.00 5.78 0.55 0.10 58.72 10:23:43 10:14:01 7 38.15 0.00 6.11 1.41 0.12 54.22 10:23:43 10:15:01 all 1.66 0.00 0.75 0.31 0.01 97.28 10:23:43 10:15:01 0 1.66 0.00 0.62 0.00 0.02 97.71 10:23:43 10:15:01 1 1.62 0.00 0.77 0.02 0.00 97.59 10:23:43 10:15:01 2 1.62 0.00 0.95 0.00 0.02 97.41 10:23:43 10:15:01 3 1.75 0.00 0.70 0.00 0.02 97.53 10:23:43 10:15:01 4 1.62 0.00 0.50 0.52 0.00 97.36 10:23:43 10:15:01 5 1.51 0.00 1.10 1.51 0.02 95.86 10:23:43 10:15:01 6 1.73 0.00 0.60 0.00 0.00 97.67 10:23:43 10:15:01 7 1.79 0.00 0.72 0.42 0.00 97.07 10:23:43 10:16:01 all 0.05 0.00 0.02 0.01 0.01 99.92 10:23:43 10:16:01 0 0.07 0.00 0.02 0.00 0.02 99.90 10:23:43 10:16:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:23:43 10:16:01 2 0.10 0.00 0.02 0.00 0.00 99.88 10:23:43 10:16:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:16:01 4 0.02 0.00 0.00 0.02 0.00 99.97 10:23:43 10:16:01 5 0.07 0.00 0.02 0.03 0.00 99.88 10:23:43 10:16:01 6 0.02 0.00 0.03 0.00 0.02 99.93 10:23:43 10:16:01 7 0.08 0.00 0.02 0.00 0.02 99.88 10:23:43 10:17:01 all 0.03 0.00 0.02 0.00 0.01 99.94 10:23:43 10:17:01 0 0.08 0.00 0.02 0.00 0.00 99.90 10:23:43 10:17:01 1 0.03 0.00 0.02 0.00 0.02 99.93 10:23:43 10:17:01 2 0.00 0.00 0.02 0.00 0.02 99.97 10:23:43 10:17:01 3 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:17:01 4 0.00 0.00 0.03 0.03 0.00 99.93 10:23:43 10:17:01 5 0.05 0.00 0.02 0.00 0.02 99.92 10:23:43 10:17:01 6 0.05 0.00 0.00 0.00 0.00 99.95 10:23:43 10:17:01 7 0.03 0.00 0.02 0.00 0.00 99.95 10:23:43 10:18:01 all 0.01 0.00 0.01 0.01 0.01 99.96 10:23:43 10:18:01 0 0.05 0.00 0.03 0.00 0.02 99.90 10:23:43 10:18:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:18:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:18:01 4 0.00 0.00 0.00 0.02 0.02 99.97 10:23:43 10:18:01 5 0.02 0.00 0.03 0.05 0.00 99.90 10:23:43 10:18:01 6 0.00 0.00 0.02 0.00 0.02 99.97 10:23:43 10:18:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:19:01 all 0.02 0.00 0.02 0.00 0.00 99.96 10:23:43 10:19:01 0 0.03 0.00 0.05 0.00 0.02 99.90 10:23:43 10:19:01 1 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:19:01 2 0.02 0.00 0.03 0.00 0.00 99.95 10:23:43 10:19:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:19:01 4 0.02 0.00 0.00 0.02 0.00 99.97 10:23:43 10:19:01 5 0.03 0.00 0.00 0.02 0.00 99.95 10:23:43 10:19:01 6 0.02 0.00 0.03 0.00 0.00 99.95 10:23:43 10:19:01 7 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:20:01 all 0.00 0.00 0.01 0.00 0.00 99.98 10:23:43 10:20:01 0 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:20:01 1 0.02 0.00 0.03 0.00 0.00 99.95 10:23:43 10:20:01 2 0.00 0.00 0.02 0.00 0.00 99.98 10:23:43 10:20:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:20:01 4 0.00 0.00 0.00 0.02 0.00 99.98 10:23:43 10:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:20:01 6 0.00 0.00 0.02 0.00 0.00 99.98 10:23:43 10:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:21:01 all 0.02 0.00 0.01 0.00 0.00 99.97 10:23:43 10:21:01 0 0.03 0.00 0.03 0.00 0.00 99.93 10:23:43 10:21:01 1 0.03 0.00 0.02 0.00 0.00 99.95 10:23:43 10:21:01 2 0.03 0.00 0.02 0.00 0.00 99.95 10:23:43 10:21:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:21:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:21:01 5 0.02 0.00 0.02 0.02 0.00 99.95 10:23:43 10:21:01 6 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:21:01 7 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:22:01 all 0.01 0.00 0.02 0.00 0.00 99.96 10:23:43 10:22:01 0 0.02 0.00 0.05 0.00 0.02 99.92 10:23:43 10:22:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:23:43 10:22:01 2 0.03 0.00 0.05 0.00 0.00 99.92 10:23:43 10:22:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:22:01 4 0.00 0.00 0.02 0.03 0.00 99.95 10:23:43 10:22:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:22:01 6 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:23:01 all 0.02 0.00 0.01 0.00 0.00 99.97 10:23:43 10:23:01 0 0.07 0.00 0.03 0.02 0.00 99.88 10:23:43 10:23:01 1 0.03 0.00 0.00 0.00 0.00 99.97 10:23:43 10:23:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:23:43 10:23:01 3 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:23:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:23:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:23:01 6 0.00 0.00 0.00 0.00 0.00 100.00 10:23:43 10:23:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:23:43 10:23:43 Average: CPU %user %nice %system %iowait %steal %idle 10:23:43 Average: all 4.54 0.00 1.07 0.32 0.02 94.05 10:23:43 Average: 0 4.95 0.00 1.10 0.32 0.02 93.60 10:23:43 Average: 1 4.59 0.00 1.13 0.39 0.02 93.86 10:23:43 Average: 2 4.83 0.00 1.03 0.24 0.02 93.88 10:23:43 Average: 3 4.51 0.00 1.15 0.34 0.02 93.98 10:23:43 Average: 4 4.04 0.00 0.98 0.46 0.02 94.51 10:23:43 Average: 5 4.37 0.00 0.99 0.35 0.02 94.28 10:23:43 Average: 6 4.33 0.00 1.07 0.10 0.02 94.49 10:23:43 Average: 7 4.70 0.00 1.11 0.36 0.02 93.82 10:23:43 10:23:43 10:23:43