Pull request #103 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than 1194f4c37254434fbe91228c6fb68d2a7544bc72 Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 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-ssh14939554098439777281.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-ssh5193078040172422394.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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4340768760274256238.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-ssh11344170252372219785.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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14276816176525884553.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17226 in /w/workspace/undry_device-onvif-camera_PR-103 [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-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1194f4c37254434fbe91228c6fb68d2a7544bc72 Merge succeeded, producing 62fafca0e5b377d77acc39c9b307c0a8ca38f31b Checking out Revision 62fafca0e5b377d77acc39c9b307c0a8ca38f31b (PR-103) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1194f4c37254434fbe91228c6fb68d2a7544bc72 # 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 e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62fafca0e5b377d77acc39c9b307c0a8ca38f31b # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:21:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:21:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:21:09 ========================================================= 07:21:09 EdgeX Global Pipelines Version Info 07:21:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e3e5aed58f6ea574c589db6419f9187c43430bcf # timeout=10 07:21:10 ------------------- 07:21:10 stable info: 07:21:10 ------------------- 07:21:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:21:10 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 07:21:10 Message: update stable to v1.0.234 07:21:11 ------------------- 07:21:11 experimental info: 07:21:11 ------------------- 07:21:11 Commited By: **** collab-it+edgex@linuxfoundation.org 07:21:11 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 07:21:11 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62fafca0e5b377d77acc39c9b307c0a8ca38f31b [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62fafca [Pipeline] echo 07:21:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:21:11 provisioning config files... 07:21:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config6768917396717889707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:12 ---> docker-login.sh 07:21:12 nexus3.edgexfoundry.org:10001 07:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:12 Configure a credential helper to remove this warning. See 07:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:12 07:21:12 Login Succeeded 07:21:12 nexus3.edgexfoundry.org:10002 07:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:12 Configure a credential helper to remove this warning. See 07:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:12 07:21:12 Login Succeeded 07:21:12 nexus3.edgexfoundry.org:10003 07:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:12 Configure a credential helper to remove this warning. See 07:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:12 07:21:12 Login Succeeded 07:21:12 nexus3.edgexfoundry.org:10004 07:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:13 Configure a credential helper to remove this warning. See 07:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:13 07:21:13 Login Succeeded 07:21:13 docker.io 07:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:13 Configure a credential helper to remove this warning. See 07:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:13 07:21:13 Login Succeeded 07:21:13 ---> docker-login.sh ends [Pipeline] } 07:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:21:13 + git rev-list -1 --merges 62fafca0e5b377d77acc39c9b307c0a8ca38f31b~1..62fafca0e5b377d77acc39c9b307c0a8ca38f31b [Pipeline] echo 07:21:13 -----------> git rev-list -1 --merges 62fafca0e5b377d77acc39c9b307c0a8ca38f31b~1..62fafca0e5b377d77acc39c9b307c0a8ca38f31b 62fafca0e5b377d77acc39c9b307c0a8ca38f31b 07:21:13 62fafca0e5b377d77acc39c9b307c0a8ca38f31b [false] [Pipeline] sh 07:21:14 + git log --format=format:%s -1 62fafca0e5b377d77acc39c9b307c0a8ca38f31b [Pipeline] echo 07:21:14 ========================================================= 07:21:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:21:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:14 + git log --format=format:%s -1 62fafca0e5b377d77acc39c9b307c0a8ca38f31b [Pipeline] echo 07:21:14 [semverPrep] GIT_COMMIT: 62fafca0e5b377d77acc39c9b307c0a8ca38f31b, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo 07:21:14 [semverPrep] This is not a build commit. [Pipeline] sh 07:21:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:21:14 + grep -v github /etc/ssh/ssh_known_hosts 07:21:14 + [ -e /tmp/ssh_known_hosts ] 07:21:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:21:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:21:14 + sudo tee -a /etc/ssh/ssh_known_hosts 07:21:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:21:15 07:21:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:21:15 0.1.4: Pulling from edgex-devops/py-git-semver 07:21:15 42c077c10790: Pulling fs layer 07:21:15 f63e77b7563a: Pulling fs layer 07:21:15 bd5fdadae976: Pulling fs layer 07:21:15 205491f53016: Pulling fs layer 07:21:15 df18705c85c3: Pulling fs layer 07:21:15 bdb3f477010e: Pulling fs layer 07:21:15 c8a8fc8e1c8f: Pulling fs layer 07:21:15 2c6e9b1d212d: Pulling fs layer 07:21:15 bdb8f0575790: Pulling fs layer 07:21:15 386e3cb2ff24: Pulling fs layer 07:21:15 2343380bae48: Pulling fs layer 07:21:15 205491f53016: Waiting 07:21:15 2c6e9b1d212d: Waiting 07:21:15 df18705c85c3: Waiting 07:21:15 2343380bae48: Waiting 07:21:15 bdb8f0575790: Waiting 07:21:15 386e3cb2ff24: Waiting 07:21:15 c8a8fc8e1c8f: Waiting 07:21:15 bdb3f477010e: Waiting 07:21:15 f63e77b7563a: Download complete 07:21:15 205491f53016: Verifying Checksum 07:21:15 205491f53016: Download complete 07:21:15 bd5fdadae976: Verifying Checksum 07:21:15 bd5fdadae976: Download complete 07:21:15 df18705c85c3: Verifying Checksum 07:21:15 df18705c85c3: Download complete 07:21:15 bdb3f477010e: Verifying Checksum 07:21:15 bdb3f477010e: Download complete 07:21:15 2c6e9b1d212d: Verifying Checksum 07:21:15 2c6e9b1d212d: Download complete 07:21:15 bdb8f0575790: Download complete 07:21:15 386e3cb2ff24: Verifying Checksum 07:21:15 386e3cb2ff24: Download complete 07:21:15 2343380bae48: Download complete 07:21:15 42c077c10790: Download complete 07:21:16 c8a8fc8e1c8f: Verifying Checksum 07:21:16 c8a8fc8e1c8f: Download complete 07:21:17 42c077c10790: Pull complete 07:21:17 f63e77b7563a: Pull complete 07:21:17 bd5fdadae976: Pull complete 07:21:18 205491f53016: Pull complete 07:21:18 df18705c85c3: Pull complete 07:21:18 bdb3f477010e: Pull complete 07:21:20 c8a8fc8e1c8f: Pull complete 07:21:20 2c6e9b1d212d: Pull complete 07:21:20 bdb8f0575790: Pull complete 07:21:20 386e3cb2ff24: Pull complete 07:21:20 2343380bae48: Pull complete 07:21:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 07:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:21:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:20 prd-ubuntu20.04-docker-8c-8g-17226 does not seem to be running inside a container 07:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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-devops/py-git-semver:0.1.4 cat 07:21:22 $ docker top 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 -eo pid,comm 07:21:22 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). 07:21:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:21:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:21:23 [ssh-agent] Looking for ssh-agent implementation... 07:21:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:21:23 $ docker exec 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 ssh-agent 07:21:23 SSH_AUTH_SOCK=/tmp/ssh-P22q74zJWBFN/agent.34 07:21:23 SSH_AGENT_PID=40 07:21:23 Running ssh-add (command line suppressed) 07:21:23 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2952550760512563976.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2952550760512563976.key) 07:21:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:21:23 + git tag --points-at HEAD [Pipeline] } 07:21:23 $ docker exec --env ******** --env ******** 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 ssh-agent -k 07:21:23 unset SSH_AUTH_SOCK; 07:21:23 unset SSH_AGENT_PID; 07:21:23 echo Agent pid 40 killed; 07:21:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:21:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:21:23 [ssh-agent] Looking for ssh-agent implementation... 07:21:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:21:24 $ docker exec 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 ssh-agent 07:21:24 SSH_AUTH_SOCK=/tmp/ssh-c03EW5sMDHfS/agent.72 07:21:24 SSH_AGENT_PID=79 07:21:24 Running ssh-add (command line suppressed) 07:21:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_6036340065071463945.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_6036340065071463945.key) 07:21:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:21:24 + git semver init 07:21:24 2022-07-08 07:21:24,847 [run_init] DEBUG init version:0.0.0 force:False 07:21:24 2022-07-08 07:21:24,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver 07:21:24 2022-07-08 07:21:24,849 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver 07:21:24 2022-07-08 07:21:24,849 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) 07:21:25 2022-07-08 07:21:25,552 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude 07:21:25 2022-07-08 07:21:25,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False 07:21:25 2022-07-08 07:21:25,553 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 07:21:25 2022-07-08 07:21:25,557 [execute] INFO git cat-file --batch-check 07:21:25 2022-07-08 07:21:25,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 07:21:25 2022-07-08 07:21:25,564 [execute] INFO git cat-file --batch 07:21:25 2022-07-08 07:21:25,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) 07:21:25 2022-07-08 07:21:25,569 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 07:21:25 0.0.0 [Pipeline] } 07:21:25 $ docker exec --env ******** --env ******** 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 ssh-agent -k 07:21:25 unset SSH_AUTH_SOCK; 07:21:25 unset SSH_AGENT_PID; 07:21:25 echo Agent pid 79 killed; 07:21:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:21:26 + git semver [Pipeline] } 07:21:26 $ docker stop --time=1 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 07:21:27 $ docker rm -f 78f7782815d905d3a0921d4a636a4e5b0d4cb7c65c673f5859bf08c1fc52c3f1 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:21:28 Stashed 1 file(s) [Pipeline] echo 07:21:28 [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 07:21:28 provisioning config files... 07:21:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config4861177936011384678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:28 ---> docker-login.sh 07:21:28 nexus3.edgexfoundry.org:10001 07:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:28 Configure a credential helper to remove this warning. See 07:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:28 07:21:28 Login Succeeded 07:21:28 nexus3.edgexfoundry.org:10002 07:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:29 Configure a credential helper to remove this warning. See 07:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:29 07:21:29 Login Succeeded 07:21:29 nexus3.edgexfoundry.org:10003 07:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:29 Configure a credential helper to remove this warning. See 07:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:29 07:21:29 Login Succeeded 07:21:29 nexus3.edgexfoundry.org:10004 07:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:29 Configure a credential helper to remove this warning. See 07:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:29 07:21:29 Login Succeeded 07:21:29 docker.io 07:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:29 Configure a credential helper to remove this warning. See 07:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:29 07:21:29 Login Succeeded 07:21:29 ---> docker-login.sh ends [Pipeline] } 07:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:21:29 ========================================================= 07:21:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:21:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:30 + 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 . 07:21:30 Sending build context to Docker daemon 9.391MB 07:21:30 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:21:30 Step 2/13 : FROM ${BASE} AS builder 07:21:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:21:30 59bf1c3509f3: Pulling fs layer 07:21:30 666ba61612fd: Pulling fs layer 07:21:30 8ed8ca486205: Pulling fs layer 07:21:30 cc1cd167ecdc: Pulling fs layer 07:21:30 c516ae0d96e1: Pulling fs layer 07:21:30 684cea983483: Pulling fs layer 07:21:30 dd3240ac7de5: Pulling fs layer 07:21:30 b1e948a4e11c: Pulling fs layer 07:21:30 a8fd76ee1af6: Pulling fs layer 07:21:30 646ad004c059: Pulling fs layer 07:21:30 c516ae0d96e1: Waiting 07:21:30 684cea983483: Waiting 07:21:30 dd3240ac7de5: Waiting 07:21:30 b1e948a4e11c: Waiting 07:21:30 a8fd76ee1af6: Waiting 07:21:30 646ad004c059: Waiting 07:21:30 cc1cd167ecdc: Waiting 07:21:30 8ed8ca486205: Verifying Checksum 07:21:30 8ed8ca486205: Download complete 07:21:30 666ba61612fd: Verifying Checksum 07:21:30 666ba61612fd: Download complete 07:21:30 c516ae0d96e1: Verifying Checksum 07:21:30 c516ae0d96e1: Download complete 07:21:30 59bf1c3509f3: Verifying Checksum 07:21:30 59bf1c3509f3: Download complete 07:21:30 684cea983483: Verifying Checksum 07:21:30 684cea983483: Download complete 07:21:30 dd3240ac7de5: Verifying Checksum 07:21:30 dd3240ac7de5: Download complete 07:21:30 b1e948a4e11c: Verifying Checksum 07:21:30 b1e948a4e11c: Download complete 07:21:30 59bf1c3509f3: Pull complete 07:21:30 666ba61612fd: Pull complete 07:21:30 8ed8ca486205: Pull complete 07:21:30 646ad004c059: Verifying Checksum 07:21:30 646ad004c059: Download complete 07:21:31 a8fd76ee1af6: Verifying Checksum 07:21:31 a8fd76ee1af6: Download complete 07:21:31 cc1cd167ecdc: Download complete 07:21:35 cc1cd167ecdc: Pull complete 07:21:35 c516ae0d96e1: Pull complete 07:21:35 684cea983483: Pull complete 07:21:35 dd3240ac7de5: Pull complete 07:21:35 b1e948a4e11c: Pull complete 07:21:37 a8fd76ee1af6: Pull complete 07:21:37 646ad004c059: Pull complete 07:21:37 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 07:21:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:21:37 ---> 8f69c11f6b0c 07:21:37 Step 3/13 : ARG MAKE="make build" 07:21:39 ---> Running in bb405e9c65c2 07:21:39 Removing intermediate container bb405e9c65c2 07:21:39 ---> 2597995aa9d6 07:21:39 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:21:39 ---> Running in 82818a00a0a4 07:21:39 Removing intermediate container 82818a00a0a4 07:21:39 ---> 603e5d0ba760 07:21:39 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 07:21:39 ---> Running in ff674cf7748e 07:21:40 Removing intermediate container ff674cf7748e 07:21:40 ---> e7498c24a352 07:21:40 Step 6/13 : LABEL Name=edgex-device-onvif-camera 07:21:40 ---> Running in 7c08c12f89e8 07:21:40 Removing intermediate container 7c08c12f89e8 07:21:40 ---> d4a444d38a91 07:21:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:40 ---> Running in 051dd871280b 07:21:40 Removing intermediate container 051dd871280b 07:21:40 ---> e75a8a0f3948 07:21:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:40 ---> Running in eeed056b40d8 07:21:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:21:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:21:42 OK: 221 MiB in 52 packages 07:21:42 Removing intermediate container eeed056b40d8 07:21:42 ---> eba9ac0e3198 07:21:42 Step 9/13 : WORKDIR /device-onvif-camera 07:21:42 ---> Running in 2b40cfcf73c0 07:21:42 Removing intermediate container 2b40cfcf73c0 07:21:42 ---> c7561ecf1380 07:21:42 Step 10/13 : COPY go.mod vendor* ./ 07:21:42 ---> 6026a02a5cc4 07:21:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:42 ---> Running in 361480f0a0d6 07:21:43 Still waiting to schedule task 07:21:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:22:01 Removing intermediate container 361480f0a0d6 07:22:01 ---> e43be273ec43 07:22:01 Step 12/13 : COPY . . 07:22:01 ---> 6b4897468a44 07:22:01 Step 13/13 : RUN ${MAKE} 07:22:01 ---> Running in cee86639dcb8 07:22:01 noop 07:22:01 Removing intermediate container cee86639dcb8 07:22:01 ---> 6302c502fb9e 07:22:01 Successfully built 6302c502fb9e 07:22:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:01 + docker inspect -f . ci-base-image-x86_64 07:22:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:01 prd-ubuntu20.04-docker-8c-8g-17226 does not seem to be running inside a container 07:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:22:02 $ docker top 8d4a72b153994d88abbd569e883b348ed276605ec559bf5d38e972deb063512f -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:02 + go version 07:22:02 go version go1.17.7 linux/amd64 [Pipeline] } 07:22:02 $ docker stop --time=1 8d4a72b153994d88abbd569e883b348ed276605ec559bf5d38e972deb063512f 07:22:04 $ docker rm -f 8d4a72b153994d88abbd569e883b348ed276605ec559bf5d38e972deb063512f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:04 + docker inspect -f . ci-base-image-x86_64 07:22:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:04 prd-ubuntu20.04-docker-8c-8g-17226 does not seem to be running inside a container 07:22:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:22:05 $ docker top a3b4a9c891b47e211a80482d891f0380d9d20223b2525aded1c3d86f81804d97 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:22:05 + make test 07:22:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:22:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:22:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:22:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 7.0% of statements 07:22:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:22:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.796s coverage: 13.8% of statements 07:22:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:22:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:22:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:22:29 ./bin/test-attribution-txt.sh [Pipeline] echo 07:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:22:30 $ docker stop --time=1 a3b4a9c891b47e211a80482d891f0380d9d20223b2525aded1c3d86f81804d97 07:22:32 $ docker rm -f a3b4a9c891b47e211a80482d891f0380d9d20223b2525aded1c3d86f81804d97 [Pipeline] // withDockerContainer [Pipeline] sh 07:22:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:22:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:22:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:22:33 + ls -al . 07:22:33 total 252 07:22:33 drwxrwxr-x 10 jenkins jenkins 4096 Jul 8 07:22 . 07:22:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:21 .. 07:22:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 07:21 .git 07:22:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:21 .github 07:22:33 -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 07:21 .gitignore 07:22:33 -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 07:21 .golangci.yml 07:22:33 drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 07:21 .semver 07:22:33 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 07:21 Attribution.txt 07:22:33 -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 07:21 CHANGELOG.md 07:22:33 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 07:21 Dockerfile 07:22:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 07:21 GOVERNANCE.md 07:22:33 -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 07:21 Jenkinsfile 07:22:33 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 07:21 LICENSE 07:22:33 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 07:21 Makefile 07:22:33 -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 07:21 OWNERS.md 07:22:33 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 07:21 README.md 07:22:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 07:21 VERSION 07:22:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:21 bin 07:22:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:21 cmd 07:22:33 -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 07:22 coverage.out 07:22:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:21 doc 07:22:33 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 07:21 go.mod 07:22:33 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 07:21 go.sum 07:22:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:21 internal 07:22:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:21 snap 07:22:33 -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 07:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:34 + 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=62fafca0e5b377d77acc39c9b307c0a8ca38f31b --label arch=amd64 --label version=0.0.0 . 07:22:34 Sending build context to Docker daemon 9.462MB 07:22:34 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:22:34 Step 2/26 : FROM ${BASE} AS builder 07:22:34 ---> 6302c502fb9e 07:22:34 Step 3/26 : ARG MAKE="make build" 07:22:34 ---> Running in fa05c9f62653 07:22:34 Removing intermediate container fa05c9f62653 07:22:34 ---> f261589d74c4 07:22:34 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:22:34 ---> Running in b11fa5543daf 07:22:34 Removing intermediate container b11fa5543daf 07:22:34 ---> c35c4a60df7d 07:22:34 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 07:22:34 ---> Running in 85fa4986a589 07:22:34 Removing intermediate container 85fa4986a589 07:22:34 ---> ec891a676e3d 07:22:34 Step 6/26 : LABEL Name=edgex-device-onvif-camera 07:22:34 ---> Running in 689598cad6f9 07:22:34 Removing intermediate container 689598cad6f9 07:22:34 ---> f754bf5c1c06 07:22:34 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:22:34 ---> Running in b13cbf83d4f0 07:22:35 Removing intermediate container b13cbf83d4f0 07:22:35 ---> 4bd64342307f 07:22:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:22:35 ---> Running in 54aec28cab02 07:22:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:22:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:22:36 OK: 221 MiB in 52 packages 07:22:37 Removing intermediate container 54aec28cab02 07:22:37 ---> d65d145266a9 07:22:37 Step 9/26 : WORKDIR /device-onvif-camera 07:22:37 ---> Running in 069b2fa3c1a3 07:22:37 Removing intermediate container 069b2fa3c1a3 07:22:37 ---> 0512156c94dd 07:22:37 Step 10/26 : COPY go.mod vendor* ./ 07:22:37 ---> 29bc17485fe2 07:22:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:22:37 ---> Running in bb059c27ef7a 07:22:38 Removing intermediate container bb059c27ef7a 07:22:38 ---> b8e7a22289c1 07:22:38 Step 12/26 : COPY . . 07:22:38 ---> afe51c5fdd67 07:22:38 Step 13/26 : RUN ${MAKE} 07:22:38 ---> Running in 71fa25c21e0e 07:22:38 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 07:23:00 Removing intermediate container 71fa25c21e0e 07:23:00 ---> 0768f35829f5 07:23:00 Step 14/26 : FROM alpine:3.15 07:23:00 3.15: Pulling from library/alpine 07:23:00 df9b9388f04a: Pulling fs layer 07:23:00 df9b9388f04a: Download complete 07:23:00 df9b9388f04a: Pull complete 07:23:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 07:23:00 Status: Downloaded newer image for alpine:3.15 07:23:00 ---> 0ac33e5f5afa 07:23:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:23:00 ---> Running in 5541f8232c47 07:23:00 Removing intermediate container 5541f8232c47 07:23:00 ---> 38dc85fb9264 07:23:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:23:00 ---> Running in ab573fe90e9c 07:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:23:00 (1/6) Installing dumb-init (1.2.5-r1) 07:23:00 (2/6) Installing libgcc (10.3.1_git20211027-r0) 07:23:00 (3/6) Installing libsodium (1.0.18-r0) 07:23:00 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 07:23:00 (5/6) Installing libzmq (4.3.4-r0) 07:23:00 (6/6) Installing zeromq (4.3.4-r0) 07:23:00 Executing busybox-1.34.1-r5.trigger 07:23:00 OK: 8 MiB in 20 packages 07:23:00 Removing intermediate container ab573fe90e9c 07:23:00 ---> dc5ce182a05b 07:23:00 Step 17/26 : WORKDIR / 07:23:00 ---> Running in 52f544076110 07:23:00 Removing intermediate container 52f544076110 07:23:00 ---> d835ce941866 07:23:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:23:00 ---> fac22e5b4304 07:23:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:23:00 ---> aeb79d627f5b 07:23:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:23:01 ---> 433e68d426ff 07:23:01 Step 21/26 : EXPOSE 59984 07:23:01 ---> Running in 6e6680d460a9 07:23:01 Removing intermediate container 6e6680d460a9 07:23:01 ---> 7f92242e7c5c 07:23:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:23:01 ---> Running in f2710b0fc7b3 07:23:01 Removing intermediate container f2710b0fc7b3 07:23:01 ---> 468a8830408c 07:23:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:23:01 ---> Running in 2fc6b6bd338f 07:23:01 Removing intermediate container 2fc6b6bd338f 07:23:01 ---> 39b51de0a572 07:23:01 Step 24/26 : LABEL arch=amd64 07:23:01 ---> Running in ea2084504d4f 07:23:01 Removing intermediate container ea2084504d4f 07:23:01 ---> 32e54f44ffae 07:23:01 Step 25/26 : LABEL git_sha=62fafca0e5b377d77acc39c9b307c0a8ca38f31b 07:23:01 ---> Running in 2ef8f15b06b0 07:23:01 Removing intermediate container 2ef8f15b06b0 07:23:01 ---> 2a898ef3c60b 07:23:01 Step 26/26 : LABEL version=0.0.0 07:23:01 ---> Running in 4914df52d41a 07:23:01 Removing intermediate container 4914df52d41a 07:23:01 ---> 1d8ae0ed619a 07:23:01 [Warning] One or more build-args [ARCH] were not consumed 07:23:01 Successfully built 1d8ae0ed619a 07:23:01 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 07:23:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:02 07:23:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:02 latest: Pulling from edgex-lftools-log-publisher 07:23:02 5eb5b503b376: Pulling fs layer 07:23:02 5c69ac0246d0: Pulling fs layer 07:23:02 ec43610c2a17: Pulling fs layer 07:23:02 3a2ae6a8a46f: Pulling fs layer 07:23:02 33b1e0a273af: Pulling fs layer 07:23:02 5d3b04190fa2: Pulling fs layer 07:23:02 2f39f015ded8: Pulling fs layer 07:23:02 3a2ae6a8a46f: Waiting 07:23:02 5d3b04190fa2: Waiting 07:23:02 2f39f015ded8: Waiting 07:23:02 33b1e0a273af: Waiting 07:23:02 5c69ac0246d0: Download complete 07:23:02 3a2ae6a8a46f: Download complete 07:23:02 33b1e0a273af: Verifying Checksum 07:23:02 33b1e0a273af: Download complete 07:23:02 ec43610c2a17: Verifying Checksum 07:23:02 ec43610c2a17: Download complete 07:23:02 5d3b04190fa2: Verifying Checksum 07:23:02 5d3b04190fa2: Download complete 07:23:02 5eb5b503b376: Verifying Checksum 07:23:02 5eb5b503b376: Download complete 07:23:03 2f39f015ded8: Download complete 07:23:04 5eb5b503b376: Pull complete 07:23:04 5c69ac0246d0: Pull complete 07:23:04 ec43610c2a17: Pull complete 07:23:04 3a2ae6a8a46f: Pull complete 07:23:04 33b1e0a273af: Pull complete 07:23:05 5d3b04190fa2: Pull complete 07:23:09 2f39f015ded8: Pull complete 07:23:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:09 prd-ubuntu20.04-docker-8c-8g-17226 does not seem to be running inside a container 07:23:09 $ 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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:23:11 $ docker top c925e801267e68672b577e8cf1207e5a793190706cf95e038402aecb3924dce6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:11 ---> job-cost.sh 07:23:11 lf-activate-venv: SKIPPING 07:23:11 INFO: No Stack... 07:23:12 INFO: Retrieving Pricing Info for: v3-standard-8 07:23:12 INFO: Archiving Costs [Pipeline] sh 07:23:13 + + catcut /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv -d, 07:23:13 -f6 [Pipeline] lock 07:23:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] 07:23:13 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] did not exist. Created. 07:23:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:23:13 + echo total: 0.2199999988079071 [Pipeline] stash 07:23:13 Stashed 1 file(s) [Pipeline] } 07:23:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] [Pipeline] // lock [Pipeline] } 07:23:13 $ docker stop --time=1 c925e801267e68672b577e8cf1207e5a793190706cf95e038402aecb3924dce6 07:23:14 $ docker rm -f c925e801267e68672b577e8cf1207e5a793190706cf95e038402aecb3924dce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:23:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17227 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws 07:23:21 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 07:23:21 Selected Git installation does not exist. Using Default 07:23:21 The recommended git tool is: NONE 07:23:27 using credential edgex-jenkins-ssh 07:23:27 Cloning the remote Git repository 07:23:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:23:27 > git init /w/workspace/device-onvif-camera/4 # timeout=10 07:23:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:23:27 > git --version # timeout=10 07:23:27 > git --version # 'git version 2.25.1' 07:23:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:29 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1194f4c37254434fbe91228c6fb68d2a7544bc72 07:23:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:23:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:23:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:23:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:23:29 > git config core.sparsecheckout # timeout=10 07:23:29 > git checkout -f 1194f4c37254434fbe91228c6fb68d2a7544bc72 # timeout=10 07:23:29 > git remote # timeout=10 07:23:29 > git config --get remote.origin.url # timeout=10 07:23:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:29 > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 07:23:29 > git rev-parse HEAD^{commit} # timeout=10 07:23:29 Merge succeeded, producing 50d7c97abd8ae261e87cf0c13ba7f55166dbaffe 07:23:29 Checking out Revision 50d7c97abd8ae261e87cf0c13ba7f55166dbaffe (PR-103) 07:23:29 > git config core.sparsecheckout # timeout=10 07:23:29 > git checkout -f 50d7c97abd8ae261e87cf0c13ba7f55166dbaffe # timeout=10 07:23:34 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" 07:23:34 First time build. Skipping changelog. 07:23:34 > git rev-list --no-walk e3e5aed58f6ea574c589db6419f9187c43430bcf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:35 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:35 Dload Upload Total Spent Left Speed 07:23:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 93000 0 --:--:-- --:--:-- --:--:-- 93709 [Pipeline] sh 07:23:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:36 + sudo tee /etc/docker/daemon.new 07:23:36 { 07:23:36 "registry-mirrors": [ 07:23:36 "https://nexus3.edgexfoundry.org:10001" 07:23:36 ], 07:23:36 "bip": "10.250.0.254/24", 07:23:36 "hosts": [ 07:23:36 "tcp://0.0.0.0:5555", 07:23:36 "unix:///var/run/docker.sock" 07:23:36 ], 07:23:36 "mtu": 1458, 07:23:36 "selinux-enabled": true, 07:23:36 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:36 } [Pipeline] sh 07:23:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:55 provisioning config files... 07:23:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config3503514813258298348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:55 ---> docker-login.sh 07:23:55 nexus3.edgexfoundry.org:10001 07:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:56 Configure a credential helper to remove this warning. See 07:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:56 07:23:56 Login Succeeded 07:23:56 nexus3.edgexfoundry.org:10002 07:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:57 Configure a credential helper to remove this warning. See 07:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:57 07:23:57 Login Succeeded 07:23:57 nexus3.edgexfoundry.org:10003 07:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:57 Configure a credential helper to remove this warning. See 07:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:57 07:23:57 Login Succeeded 07:23:57 nexus3.edgexfoundry.org:10004 07:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:58 Configure a credential helper to remove this warning. See 07:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:58 07:23:58 Login Succeeded 07:23:58 docker.io 07:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:58 Configure a credential helper to remove this warning. See 07:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:58 07:23:58 Login Succeeded 07:23:58 ---> docker-login.sh ends [Pipeline] } 07:23:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:59 ========================================================= 07:23:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:23:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:59 + 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 . 07:23:59 Sending build context to Docker daemon 6.464MB 07:23:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:23:59 Step 2/13 : FROM ${BASE} AS builder 07:23:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:59 9b3977197b4f: Pulling fs layer 07:23:59 1a89e8eeedd5: Pulling fs layer 07:23:59 94645a83ff95: Pulling fs layer 07:23:59 e6fb740bc735: Pulling fs layer 07:23:59 3a77bd46dcc9: Pulling fs layer 07:23:59 355e64cbe906: Pulling fs layer 07:23:59 63ab81a10011: Pulling fs layer 07:23:59 555d1d1c4555: Pulling fs layer 07:23:59 7d9057610161: Pulling fs layer 07:23:59 355e64cbe906: Waiting 07:23:59 e6fb740bc735: Waiting 07:23:59 63ab81a10011: Waiting 07:23:59 3a77bd46dcc9: Waiting 07:23:59 555d1d1c4555: Waiting 07:23:59 7d9057610161: Waiting 07:23:59 94645a83ff95: Verifying Checksum 07:23:59 94645a83ff95: Download complete 07:23:59 1a89e8eeedd5: Download complete 07:23:59 3a77bd46dcc9: Verifying Checksum 07:23:59 3a77bd46dcc9: Download complete 07:23:59 9b3977197b4f: Download complete 07:23:59 355e64cbe906: Verifying Checksum 07:23:59 355e64cbe906: Download complete 07:24:00 63ab81a10011: Verifying Checksum 07:24:00 63ab81a10011: Download complete 07:24:01 9b3977197b4f: Pull complete 07:24:01 7d9057610161: Verifying Checksum 07:24:01 7d9057610161: Download complete 07:24:01 1a89e8eeedd5: Pull complete 07:24:01 94645a83ff95: Pull complete 07:24:02 555d1d1c4555: Verifying Checksum 07:24:02 555d1d1c4555: Download complete 07:24:03 e6fb740bc735: Verifying Checksum 07:24:03 e6fb740bc735: Download complete 07:24:15 e6fb740bc735: Pull complete 07:24:15 3a77bd46dcc9: Pull complete 07:24:15 355e64cbe906: Pull complete 07:24:15 63ab81a10011: Pull complete 07:24:22 555d1d1c4555: Pull complete 07:24:23 7d9057610161: Pull complete 07:24:23 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 07:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:24:23 ---> 819e984ddca1 07:24:23 Step 3/13 : ARG MAKE="make build" 07:24:25 ---> Running in 464f74e71669 07:24:25 Removing intermediate container 464f74e71669 07:24:25 ---> 263469e84e8d 07:24:25 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:24:25 ---> Running in f5123f225b5e 07:24:25 Removing intermediate container f5123f225b5e 07:24:25 ---> 25ca825a8ce2 07:24:25 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 07:24:25 ---> Running in f62f0af9c8a9 07:24:26 Removing intermediate container f62f0af9c8a9 07:24:26 ---> 175116145144 07:24:26 Step 6/13 : LABEL Name=edgex-device-onvif-camera 07:24:26 ---> Running in 21bf522bb4e5 07:24:26 Removing intermediate container 21bf522bb4e5 07:24:26 ---> 391fe1bf7d30 07:24:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:26 ---> Running in e98963e81c2e 07:24:30 Removing intermediate container e98963e81c2e 07:24:30 ---> 96516f627c4a 07:24:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:30 ---> Running in c705d70d7510 07:24:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:24:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:24:32 OK: 220 MiB in 52 packages 07:24:33 Removing intermediate container c705d70d7510 07:24:33 ---> 9f07b29e1b44 07:24:33 Step 9/13 : WORKDIR /device-onvif-camera 07:24:33 ---> Running in c28f00bd6147 07:24:33 Removing intermediate container c28f00bd6147 07:24:33 ---> 835d45f30b17 07:24:33 Step 10/13 : COPY go.mod vendor* ./ 07:24:33 ---> 1b3ad5cd5dfb 07:24:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:33 ---> Running in 67a73cc20709 07:25:20 Removing intermediate container 67a73cc20709 07:25:20 ---> 2635aea84b8d 07:25:20 Step 12/13 : COPY . . 07:25:21 ---> 53840ec23d36 07:25:21 Step 13/13 : RUN ${MAKE} 07:25:21 ---> Running in c4d8deb518fc 07:25:22 noop 07:25:23 Removing intermediate container c4d8deb518fc 07:25:23 ---> ab6ba72160b9 07:25:23 Successfully built ab6ba72160b9 07:25:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:23 + docker inspect -f . ci-base-image-arm64 07:25:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:23 prd-ubuntu20.04-docker-arm64-4c-16g-17227 does not seem to be running inside a container 07:25:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:25:25 $ docker top a4111581e66b290549135c7397d6233df064bd3c61e82be37271fd60d6cca8cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:26 + go version 07:25:26 go version go1.17.7 linux/arm64 [Pipeline] } 07:25:26 $ docker stop --time=1 a4111581e66b290549135c7397d6233df064bd3c61e82be37271fd60d6cca8cb 07:25:27 $ docker rm -f a4111581e66b290549135c7397d6233df064bd3c61e82be37271fd60d6cca8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:28 + docker inspect -f . ci-base-image-arm64 07:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:28 prd-ubuntu20.04-docker-arm64-4c-16g-17227 does not seem to be running inside a container 07:25:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:25:29 $ docker top 336dd92e44e712560846da13b7adbadebfd1ae018c3bacc042d9994c4613ca8e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:25:30 + make test 07:25:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:25:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:27:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:27:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements 07:27:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:27:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.054s coverage: 13.8% of statements 07:27:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:27:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:27:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:27:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:27:48 ./bin/test-attribution-txt.sh [Pipeline] echo 07:27:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:27:50 $ docker stop --time=1 336dd92e44e712560846da13b7adbadebfd1ae018c3bacc042d9994c4613ca8e 07:27:52 $ docker rm -f 336dd92e44e712560846da13b7adbadebfd1ae018c3bacc042d9994c4613ca8e [Pipeline] // withDockerContainer [Pipeline] sh 07:27:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:27:53 Warning: overwriting stash ‘coverage-report’ 07:27:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:27:54 + ls -al . 07:27:54 total 248 07:27:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 8 07:27 . 07:27:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:23 .. 07:27:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 07:23 .git 07:27:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:23 .github 07:27:54 -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 07:23 .gitignore 07:27:54 -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 07:23 .golangci.yml 07:27:54 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 07:23 Attribution.txt 07:27:54 -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 07:23 CHANGELOG.md 07:27:54 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 07:23 Dockerfile 07:27:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 07:23 GOVERNANCE.md 07:27:54 -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 07:23 Jenkinsfile 07:27:54 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 07:23 LICENSE 07:27:54 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 07:23 Makefile 07:27:54 -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 07:23 OWNERS.md 07:27:54 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 07:23 README.md 07:27:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 07:21 VERSION 07:27:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:23 bin 07:27:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:23 cmd 07:27:54 -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 07:27 coverage.out 07:27:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:23 doc 07:27:54 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 07:23 go.mod 07:27:54 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 07:23 go.sum 07:27:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:23 internal 07:27:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:23 snap 07:27:54 -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:55 + 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=50d7c97abd8ae261e87cf0c13ba7f55166dbaffe --label arch=arm64 --label version=0.0.0 . 07:27:55 Sending build context to Docker daemon 6.535MB 07:27:55 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:27:55 Step 2/26 : FROM ${BASE} AS builder 07:27:55 ---> ab6ba72160b9 07:27:55 Step 3/26 : ARG MAKE="make build" 07:27:55 ---> Running in 52f228559fe8 07:27:56 Removing intermediate container 52f228559fe8 07:27:56 ---> 3b3a33eb42be 07:27:56 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:27:56 ---> Running in fbda26b837a4 07:27:56 Removing intermediate container fbda26b837a4 07:27:56 ---> 269b71e488da 07:27:56 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 07:27:56 ---> Running in a352e1e7051e 07:27:56 Removing intermediate container a352e1e7051e 07:27:56 ---> 4fdbf0468a92 07:27:56 Step 6/26 : LABEL Name=edgex-device-onvif-camera 07:27:56 ---> Running in b9099dbdf15c 07:27:57 Removing intermediate container b9099dbdf15c 07:27:57 ---> fa323d053e91 07:27:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:27:57 ---> Running in c34b1dea8c56 07:27:59 Removing intermediate container c34b1dea8c56 07:27:59 ---> 6e985cbff4e3 07:27:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:27:59 ---> Running in 16ae68eea6f1 07:28:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:28:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:28:01 OK: 220 MiB in 52 packages 07:28:02 Removing intermediate container 16ae68eea6f1 07:28:02 ---> 2587fae6c919 07:28:02 Step 9/26 : WORKDIR /device-onvif-camera 07:28:02 ---> Running in a346f5959af9 07:28:02 Removing intermediate container a346f5959af9 07:28:02 ---> 75b607a293a5 07:28:02 Step 10/26 : COPY go.mod vendor* ./ 07:28:03 ---> a5711ac310fe 07:28:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:03 ---> Running in bd32e4dc9f89 07:28:05 Removing intermediate container bd32e4dc9f89 07:28:05 ---> c09477988643 07:28:05 Step 12/26 : COPY . . 07:28:06 ---> 90035d4f5db8 07:28:06 Step 13/26 : RUN ${MAKE} 07:28:06 ---> Running in c884f7eeaaf3 07:28:07 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 07:30:14 Removing intermediate container c884f7eeaaf3 07:30:14 ---> 2a9ddabb52b8 07:30:14 Step 14/26 : FROM alpine:3.15 07:30:14 3.15: Pulling from library/alpine 07:30:14 9981e73032c8: Pulling fs layer 07:30:14 9981e73032c8: Verifying Checksum 07:30:14 9981e73032c8: Download complete 07:30:14 9981e73032c8: Pull complete 07:30:14 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 07:30:14 Status: Downloaded newer image for alpine:3.15 07:30:14 ---> 3fb3c9af89a9 07:30:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:30:14 ---> Running in 397649481e00 07:30:14 Removing intermediate container 397649481e00 07:30:14 ---> b0e8bc4709cb 07:30:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:30:14 ---> Running in 9a3d7bbb1167 07:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:30:14 (1/6) Installing dumb-init (1.2.5-r1) 07:30:14 (2/6) Installing libgcc (10.3.1_git20211027-r0) 07:30:14 (3/6) Installing libsodium (1.0.18-r0) 07:30:14 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 07:30:14 (5/6) Installing libzmq (4.3.4-r0) 07:30:14 (6/6) Installing zeromq (4.3.4-r0) 07:30:14 Executing busybox-1.34.1-r5.trigger 07:30:14 OK: 8 MiB in 20 packages 07:30:14 Removing intermediate container 9a3d7bbb1167 07:30:14 ---> aed94b34c4f2 07:30:14 Step 17/26 : WORKDIR / 07:30:14 ---> Running in 704c0345d8e6 07:30:14 Removing intermediate container 704c0345d8e6 07:30:14 ---> bd9e66b243ec 07:30:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:30:14 ---> 27d925c61038 07:30:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:30:14 ---> 2824b2e8f2be 07:30:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:30:15 ---> aecfc8efcf3c 07:30:15 Step 21/26 : EXPOSE 59984 07:30:15 ---> Running in 8b755d6da97d 07:30:15 Removing intermediate container 8b755d6da97d 07:30:15 ---> bd40189d057e 07:30:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:30:15 ---> Running in ee36c474db3c 07:30:15 Removing intermediate container ee36c474db3c 07:30:15 ---> 3df61986745c 07:30:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:30:16 ---> Running in 458169476b34 07:30:16 Removing intermediate container 458169476b34 07:30:16 ---> aacc7d0a3cfc 07:30:16 Step 24/26 : LABEL arch=arm64 07:30:16 ---> Running in 95a4cd99e0e9 07:30:16 Removing intermediate container 95a4cd99e0e9 07:30:16 ---> 9edf9f4a6f23 07:30:16 Step 25/26 : LABEL git_sha=50d7c97abd8ae261e87cf0c13ba7f55166dbaffe 07:30:16 ---> Running in ce1bd429b010 07:30:17 Removing intermediate container ce1bd429b010 07:30:17 ---> 55bfde983f4f 07:30:17 Step 26/26 : LABEL version=0.0.0 07:30:17 ---> Running in 7ff7efd89d0f 07:30:17 Removing intermediate container 7ff7efd89d0f 07:30:17 ---> e5ee057aa4d7 07:30:17 [Warning] One or more build-args [ARCH] were not consumed 07:30:17 Successfully built e5ee057aa4d7 07:30:17 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 07:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:30:17 07:30:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:30:18 arm64: Pulling from edgex-lftools-log-publisher 07:30:18 8998bd30e6a1: Pulling fs layer 07:30:18 04944245beec: Pulling fs layer 07:30:18 699f458cf7ca: Pulling fs layer 07:30:18 765212b225bb: Pulling fs layer 07:30:18 f23df028b6ca: Pulling fs layer 07:30:18 d65c8cfc05b1: Pulling fs layer 07:30:18 2437ff75d9bd: Pulling fs layer 07:30:18 f23df028b6ca: Waiting 07:30:18 d65c8cfc05b1: Waiting 07:30:18 2437ff75d9bd: Waiting 07:30:18 765212b225bb: Waiting 07:30:18 04944245beec: Verifying Checksum 07:30:18 04944245beec: Download complete 07:30:18 765212b225bb: Verifying Checksum 07:30:18 765212b225bb: Download complete 07:30:18 f23df028b6ca: Download complete 07:30:18 d65c8cfc05b1: Verifying Checksum 07:30:18 d65c8cfc05b1: Download complete 07:30:18 699f458cf7ca: Verifying Checksum 07:30:18 699f458cf7ca: Download complete 07:30:19 8998bd30e6a1: Verifying Checksum 07:30:19 8998bd30e6a1: Download complete 07:30:21 2437ff75d9bd: Verifying Checksum 07:30:21 2437ff75d9bd: Download complete 07:30:23 8998bd30e6a1: Pull complete 07:30:23 04944245beec: Pull complete 07:30:25 699f458cf7ca: Pull complete 07:30:25 765212b225bb: Pull complete 07:30:26 f23df028b6ca: Pull complete 07:30:26 d65c8cfc05b1: Pull complete 07:30:41 2437ff75d9bd: Pull complete 07:30:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:30:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-17227 does not seem to be running inside a container 07:30:41 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:30:44 $ docker top cb9a3ca02d0c1f6d4585c1ca4ac00ac57898d400381948f6b251084c0ba4342d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:45 ---> job-cost.sh 07:30:45 lf-activate-venv: SKIPPING 07:30:45 INFO: No Stack... 07:30:45 INFO: Retrieving Pricing Info for: v3-standard-4 07:30:46 INFO: Archiving Costs [Pipeline] sh 07:30:47 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 07:30:47 + cut -d, -f6 [Pipeline] lock 07:30:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] 07:30:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] did not exist. Created. 07:30:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:30:47 /w/workspace/device-onvif-camera/4@tmp/durable-a6549e75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:30:48 + echo total: 0.10999999940395355 [Pipeline] stash 07:30:48 Warning: overwriting stash ‘stack-cost’ 07:30:48 Stashed 1 file(s) [Pipeline] } 07:30:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-4-stack-cost] [Pipeline] // lock [Pipeline] } 07:30:48 $ docker stop --time=1 cb9a3ca02d0c1f6d4585c1ca4ac00ac57898d400381948f6b251084c0ba4342d 07:30:50 $ docker rm -f cb9a3ca02d0c1f6d4585c1ca4ac00ac57898d400381948f6b251084c0ba4342d [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 07:30:50 provisioning config files... 07:30:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config6620302272686131862tmp [Pipeline] { [Pipeline] sh 07:30:51 + set +x 07:30:51 + curl -s https://codecov.io/bash 07:30:51 + bash -s -- 07:30:51 07:30:51 _____ _ 07:30:51 / ____| | | 07:30:51 | | ___ __| | ___ ___ _____ __ 07:30:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:30:51 | |___| (_) | (_| | __/ (_| (_) \ V / 07:30:51 \_____\___/ \__,_|\___|\___\___/ \_/ 07:30:51 Bash-1.0.6 07:30:51 07:30:51 07:30:51 ==> git version 2.25.1 found 07:30:51 ==> 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 07:30:51 Release-Date: 2020-01-08 07:30:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:30:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:30:51 ==> Jenkins CI detected. 07:30:51 current dir:  /w/workspace/undry_device-onvif-camera_PR-103 07:30:51 project root: . 07:30:51 --> token set from env 07:30:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:30:51 ==> Running gcov in . (disable via -X gcov) 07:30:51 ==> Python coveragepy not found 07:30:51 ==> Searching for coverage reports in: 07:30:51 + . 07:30:51 -> Found 1 reports 07:30:51 ==> Detecting git/mercurial file structure 07:30:51 ==> Reading reports 07:30:51 + ./coverage.out bytes=70262 07:30:51 ==> Appending adjustments 07:30:51 https://docs.codecov.io/docs/fixing-reports 07:30:51 + Found adjustments 07:30:51 ==> Gzipping contents 07:30:51 12K /tmp/codecov.1FjPgz.gz 07:30:51 ==> Uploading reports 07:30:51 url: https://codecov.io 07:30:51 query: branch=PR-103&commit=62fafca0e5b377d77acc39c9b307c0a8ca38f31b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 07:30:51 -> Pinging Codecov 07:30:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=62fafca0e5b377d77acc39c9b307c0a8ca38f31b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= 07:30:51 -> Uploading to 07:30:51 https://storage.googleapis.com/codecov/v4/raw/2022-07-08/F29A59C45E3A92E06B3E522C9905F8EF/62fafca0e5b377d77acc39c9b307c0a8ca38f31b/6f8078ab-3932-4179-b355-3ad5d0c08e67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220708%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220708T073051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=774c976b4d602e55033080d359fa84ecb0ba1a72b63148c6fe77e6b79b8f7e3a 07:30:51 % Total % Received % Xferd Average Speed Time Time Time Current 07:30:51 Dload Upload Total Spent Left Speed 07:30:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9566 0 0 100 9566 0 43285 --:--:-- --:--:-- --:--:-- 43090 100 9566 0 0 100 9566 0 34659 --:--:-- --:--:-- --:--:-- 34534 07:30:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/62fafca0e5b377d77acc39c9b307c0a8ca38f31b [Pipeline] } 07:30:51 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 07:30:52 + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] 07:30:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 07:30:52 total 16 07:30:52 drwxr-xr-x 3 root root 4096 Jul 8 07:23 . 07:30:52 drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 07:23 .. 07:30:52 drwxr-xr-x 2 root root 4096 Jul 8 07:23 cost 07:30:52 -rw-r--r-- 1 root root 90 Jul 8 07:23 cost.csv 07:30:52 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives 07:30:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives 07:30:52 total 16 07:30:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 07:23 . 07:30:52 drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 07:23 .. 07:30:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 8 07:23 cost 07:30:52 -rw-r--r-- 1 jenkins jenkins 90 Jul 8 07:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:30:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:30:53 ---> package-listing.sh 07:30:53 ++ facter osfamily 07:30:53 ++ tr '[:upper:]' '[:lower:]' 07:30:53 + OS_FAMILY=debian 07:30:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-103 07:30:53 + START_PACKAGES=/tmp/packages_start.txt 07:30:53 + END_PACKAGES=/tmp/packages_end.txt 07:30:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:30:53 + PACKAGES=/tmp/packages_start.txt 07:30:53 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 07:30:53 + PACKAGES=/tmp/packages_end.txt 07:30:53 + case "${OS_FAMILY}" in 07:30:53 + dpkg -l 07:30:53 + grep '^ii' 07:30:53 + '[' -f /tmp/packages_start.txt ']' 07:30:53 + '[' -f /tmp/packages_end.txt ']' 07:30:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:30:53 + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' 07:30:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ 07:30:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo 07:30:53 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:30:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:30:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:54 prd-ubuntu20.04-docker-8c-8g-17226 does not seem to be running inside a container 07:30:54 $ 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-103/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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:30:55 $ docker top 180650a565e1dcc486c4e87253a944b18e59e09c165cb8652b4cf81664187651 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:30:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:30:56 + ls /var/log/sa-host 07:30:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:30:56 provisioning config files... 07:30:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config2455180857657312459tmp [Pipeline] { [Pipeline] echo 07:30:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:30:56 ---> create-netrc.sh [Pipeline] } 07:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:30:56 ---> python-tools-install.sh [Pipeline] echo 07:30:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:30:57 ---> sudo-logs.sh 07:30:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:30:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:30:57 ---> job-cost.sh 07:30:57 lf-activate-venv: SKIPPING 07:30:57 DEBUG: total: 0.2199999988079071 07:30:57 INFO: Retrieving Stack Cost... 07:30:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:30:58 INFO: Archiving Costs [Pipeline] echo 07:30:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:30:58 ---> logs-deploy.sh 07:30:58 lf-activate-venv: SKIPPING 07:30:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/4 07:30:58 INFO: archiving workspace using pattern(s): 07:30:59 Archives upload complete. 07:30:59 INFO: archiving logs to Nexus 07:31:00 ---> uname -a: 07:31:00 Linux prd-ubuntu20-04-docker-8c-8g-17226 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 07:31:00 07:31:00 07:31:00 ---> lscpu: 07:31:00 Architecture: x86_64 07:31:00 CPU op-mode(s): 32-bit, 64-bit 07:31:00 Byte Order: Little Endian 07:31:00 Address sizes: 40 bits physical, 48 bits virtual 07:31:00 CPU(s): 8 07:31:00 On-line CPU(s) list: 0-7 07:31:00 Thread(s) per core: 1 07:31:00 Core(s) per socket: 1 07:31:00 Socket(s): 8 07:31:00 NUMA node(s): 1 07:31:00 Vendor ID: AuthenticAMD 07:31:00 CPU family: 23 07:31:00 Model: 49 07:31:00 Model name: AMD EPYC-Rome Processor 07:31:00 Stepping: 0 07:31:00 CPU MHz: 2799.976 07:31:00 BogoMIPS: 5599.95 07:31:00 Virtualization: AMD-V 07:31:00 Hypervisor vendor: KVM 07:31:00 Virtualization type: full 07:31:00 L1d cache: 256 KiB 07:31:00 L1i cache: 256 KiB 07:31:00 L2 cache: 4 MiB 07:31:00 L3 cache: 128 MiB 07:31:00 NUMA node0 CPU(s): 0-7 07:31:00 Vulnerability Itlb multihit: Not affected 07:31:00 Vulnerability L1tf: Not affected 07:31:00 Vulnerability Mds: Not affected 07:31:00 Vulnerability Meltdown: Not affected 07:31:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:31:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:31:00 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 07:31:00 Vulnerability Srbds: Not affected 07:31:00 Vulnerability Tsx async abort: Not affected 07:31:00 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 07:31:00 07:31:00 07:31:00 ---> nproc: 07:31:00 8 07:31:00 07:31:00 07:31:00 ---> df -h: 07:31:00 Filesystem Size Used Avail Use% Mounted on 07:31:00 overlay 155G 11G 145G 7% / 07:31:00 tmpfs 64M 0 64M 0% /dev 07:31:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:31:00 shm 64M 0 64M 0% /dev/shm 07:31:00 /dev/vda1 155G 11G 145G 7% /facter-os 07:31:00 07:31:00 07:31:00 ---> sar -b -r -n DEV: 07:31:00 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17226) 07/08/22 _x86_64_ (8 CPU) 07:31:00 07:31:00 07:20:30 LINUX RESTART (8 CPU) 07:31:00 07:31:00 07:21:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:31:00 07:22:01 383.27 15.64 367.63 0.00 2244.23 129258.09 0.00 07:31:00 07:23:01 175.90 0.10 175.80 0.00 8.80 24639.23 0.00 07:31:00 07:24:01 36.64 0.02 36.62 0.00 2.27 16737.09 0.00 07:31:00 07:25:01 1.72 0.00 1.72 0.00 0.00 20.28 0.00 07:31:00 07:26:01 1.17 0.02 1.15 0.00 0.13 13.06 0.00 07:31:00 07:27:01 1.17 0.00 1.17 0.00 0.00 13.33 0.00 07:31:00 07:28:01 1.07 0.00 1.07 0.00 0.00 12.26 0.00 07:31:00 07:29:01 1.15 0.00 1.15 0.00 0.00 14.40 0.00 07:31:00 07:30:01 1.08 0.00 1.08 0.00 0.00 12.53 0.00 07:31:00 Average: 66.43 1.73 64.70 0.00 246.90 18763.95 0.00 07:31:00 07:31:00 07:21:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:31:00 07:22:01 28446876 31770724 528116 1.61 160444 3381260 1791492 5.28 1136064 2867652 456 07:31:00 07:23:01 28148796 31746224 547888 1.67 167544 3626852 1804736 5.32 1353924 2915452 520 07:31:00 07:24:01 27651912 31759000 533880 1.62 175540 4078736 1794928 5.29 1362628 3354748 160 07:31:00 07:25:01 27653076 31760160 532580 1.62 175564 4078744 1794928 5.29 1361448 3354752 12 07:31:00 07:26:01 27661140 31768576 524392 1.59 175616 4078752 1812640 5.34 1353008 3355084 60 07:31:00 07:27:01 27661400 31768764 524136 1.59 175648 4078752 1812640 5.34 1352756 3355084 140 07:31:00 07:28:01 27670324 31777780 515256 1.57 175672 4078756 1812640 5.34 1344544 3355168 168 07:31:00 07:29:01 27669968 31777496 515492 1.57 175704 4078764 1812640 5.34 1344572 3355176 140 07:31:00 07:30:01 27670104 31777672 515336 1.57 175724 4078764 1812640 5.34 1344876 3355176 12 07:31:00 Average: 27803733 31767377 526342 1.60 173051 3951042 1805476 5.32 1328202 3252032 185 07:31:00 07:31:00 07:21:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:31:00 07:22:01 lo 6.71 6.71 0.65 0.65 0.00 0.00 0.00 0.00 07:31:00 07:22:01 docker0 113.81 141.54 9.35 1142.17 0.00 0.00 0.00 0.00 07:31:00 07:22:01 ens3 580.12 381.71 7105.50 91.90 0.00 0.00 0.00 0.00 07:31:00 07:23:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 07:31:00 07:23:01 docker0 9.77 14.46 0.57 91.87 0.00 0.00 0.00 0.00 07:31:00 07:23:01 ens3 88.30 63.87 180.11 69.27 0.00 0.00 0.00 0.00 07:31:00 07:24:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 07:31:00 07:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:24:01 ens3 128.46 76.41 2535.62 21.51 0.00 0.00 0.00 0.00 07:31:00 07:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:25:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:26:01 ens3 4.07 8.08 0.33 7.58 0.00 0.00 0.00 0.00 07:31:00 07:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:27:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:28:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:29:01 ens3 0.15 0.15 0.01 0.01 0.00 0.00 0.00 0.00 07:31:00 07:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 07:30:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:31:00 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 07:31:00 Average: docker0 13.54 17.10 1.09 135.25 0.00 0.00 0.00 0.00 07:31:00 Average: ens3 88.13 58.34 1080.14 21.01 0.00 0.00 0.00 0.00 07:31:00 07:31:00 07:31:00 ---> sar -P ALL: 07:31:00 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17226) 07/08/22 _x86_64_ (8 CPU) 07:31:00 07:31:00 07:20:30 LINUX RESTART (8 CPU) 07:31:00 07:31:00 07:21:02 CPU %user %nice %system %iowait %steal %idle 07:31:00 07:22:01 all 11.92 0.00 4.87 2.41 0.08 80.72 07:31:00 07:22:01 0 10.21 0.00 5.00 5.19 0.07 79.53 07:31:00 07:22:01 1 12.40 0.00 4.43 1.03 0.07 82.07 07:31:00 07:22:01 2 12.46 0.00 4.12 2.47 0.07 80.88 07:31:00 07:22:01 3 12.64 0.00 4.96 2.49 0.10 79.82 07:31:00 07:22:01 4 10.41 0.00 4.55 0.33 0.07 84.65 07:31:00 07:22:01 5 12.91 0.00 4.77 0.63 0.07 81.62 07:31:00 07:22:01 6 11.13 0.00 4.84 0.77 0.09 83.18 07:31:00 07:22:01 7 13.25 0.00 6.30 6.43 0.10 73.92 07:31:00 07:23:01 all 36.76 0.00 5.96 0.84 0.11 56.33 07:31:00 07:23:01 0 35.56 0.00 6.36 0.94 0.12 57.02 07:31:00 07:23:01 1 35.99 0.00 5.75 0.20 0.12 57.93 07:31:00 07:23:01 2 35.67 0.00 5.48 0.20 0.10 58.55 07:31:00 07:23:01 3 38.19 0.00 6.44 1.00 0.10 54.27 07:31:00 07:23:01 4 40.89 0.00 5.61 0.22 0.12 53.17 07:31:00 07:23:01 5 35.55 0.00 5.65 1.08 0.10 57.63 07:31:00 07:23:01 6 36.46 0.00 6.16 0.10 0.10 57.18 07:31:00 07:23:01 7 35.76 0.00 6.26 3.02 0.10 54.85 07:31:00 07:24:01 all 2.93 0.00 1.18 0.39 0.02 95.48 07:31:00 07:24:01 0 2.86 0.00 0.77 0.00 0.02 96.35 07:31:00 07:24:01 1 3.11 0.00 1.04 0.35 0.02 95.48 07:31:00 07:24:01 2 2.48 0.00 1.99 0.00 0.02 95.52 07:31:00 07:24:01 3 3.22 0.00 1.16 0.02 0.03 95.58 07:31:00 07:24:01 4 2.16 0.00 0.89 0.02 0.02 96.92 07:31:00 07:24:01 5 3.24 0.00 1.01 2.16 0.02 93.57 07:31:00 07:24:01 6 3.72 0.00 1.19 0.02 0.02 95.06 07:31:00 07:24:01 7 2.61 0.00 1.42 0.55 0.03 95.38 07:31:00 07:25:01 all 0.01 0.00 0.01 0.01 0.00 99.96 07:31:00 07:25:01 0 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:25:01 1 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:25:01 2 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:25:01 3 0.07 0.00 0.02 0.00 0.00 99.92 07:31:00 07:25:01 4 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:25:01 5 0.00 0.00 0.00 0.08 0.00 99.92 07:31:00 07:25:01 6 0.00 0.00 0.03 0.00 0.00 99.97 07:31:00 07:25:01 7 0.00 0.00 0.02 0.02 0.00 99.97 07:31:00 07:26:01 all 0.04 0.00 0.03 0.00 0.00 99.93 07:31:00 07:26:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:26:01 1 0.05 0.00 0.07 0.00 0.00 99.88 07:31:00 07:26:01 2 0.03 0.00 0.03 0.00 0.00 99.93 07:31:00 07:26:01 3 0.03 0.00 0.02 0.00 0.02 99.93 07:31:00 07:26:01 4 0.08 0.00 0.05 0.00 0.00 99.87 07:31:00 07:26:01 5 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:26:01 6 0.03 0.00 0.03 0.00 0.00 99.93 07:31:00 07:26:01 7 0.02 0.00 0.02 0.03 0.00 99.93 07:31:00 07:27:01 all 0.02 0.00 0.01 0.00 0.00 99.97 07:31:00 07:27:01 0 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:27:01 1 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:27:01 2 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:27:01 3 0.03 0.00 0.02 0.02 0.00 99.93 07:31:00 07:27:01 4 0.03 0.00 0.00 0.00 0.02 99.95 07:31:00 07:27:01 5 0.00 0.00 0.02 0.00 0.00 99.98 07:31:00 07:27:01 6 0.05 0.00 0.02 0.00 0.00 99.93 07:31:00 07:27:01 7 0.02 0.00 0.00 0.02 0.00 99.97 07:31:00 07:28:01 all 0.03 0.00 0.01 0.00 0.01 99.95 07:31:00 07:28:01 0 0.05 0.00 0.03 0.00 0.02 99.90 07:31:00 07:28:01 1 0.07 0.00 0.03 0.00 0.02 99.88 07:31:00 07:28:01 2 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:28:01 3 0.05 0.00 0.02 0.02 0.02 99.90 07:31:00 07:28:01 4 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:28:01 5 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:28:01 6 0.03 0.00 0.02 0.00 0.02 99.93 07:31:00 07:28:01 7 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:29:01 all 0.01 0.00 0.01 0.00 0.00 99.98 07:31:00 07:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:29:01 1 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:29:01 2 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:29:01 3 0.02 0.00 0.00 0.02 0.00 99.97 07:31:00 07:29:01 4 0.00 0.00 0.02 0.00 0.00 99.98 07:31:00 07:29:01 5 0.00 0.00 0.00 0.00 0.02 99.98 07:31:00 07:29:01 6 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:29:01 7 0.00 0.00 0.00 0.02 0.00 99.98 07:31:00 07:30:01 all 0.02 0.00 0.01 0.00 0.00 99.97 07:31:00 07:30:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:30:01 1 0.03 0.00 0.02 0.00 0.00 99.95 07:31:00 07:30:01 2 0.02 0.00 0.00 0.00 0.00 99.98 07:31:00 07:30:01 3 0.03 0.00 0.03 0.00 0.02 99.92 07:31:00 07:30:01 4 0.02 0.00 0.02 0.00 0.00 99.97 07:31:00 07:30:01 5 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:30:01 6 0.00 0.00 0.00 0.00 0.00 100.00 07:31:00 07:30:01 7 0.02 0.00 0.00 0.02 0.00 99.97 07:31:00 Average: all 5.69 0.00 1.33 0.40 0.02 92.56 07:31:00 Average: 0 5.36 0.00 1.34 0.67 0.02 92.60 07:31:00 Average: 1 5.69 0.00 1.25 0.17 0.02 92.87 07:31:00 Average: 2 5.57 0.00 1.28 0.29 0.02 92.84 07:31:00 Average: 3 5.97 0.00 1.39 0.39 0.03 92.23 07:31:00 Average: 4 5.90 0.00 1.22 0.06 0.02 92.80 07:31:00 Average: 5 5.70 0.00 1.26 0.44 0.02 92.59 07:31:00 Average: 6 5.66 0.00 1.35 0.10 0.02 92.87 07:31:00 Average: 7 5.67 0.00 1.53 1.10 0.03 91.67 07:31:00 07:31:00 07:31:00