Pull request #124 updated 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 rather than b5457b7698a182682ddca372ebab6950ae4067d3 Obtained Jenkinsfile from 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 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-ssh11586494911721634371.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1948994403313663258.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-124/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-124/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2581662340517142761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1950403342052601681.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-124/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-124/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4660861556706293078.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22151’ Running on prd-ubuntu20.04-docker-8c-8g-22153 in /w/workspace/undry_device-onvif-camera_PR-124 [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-124 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit b5457b7698a182682ddca372ebab6950ae4067d3 Merge succeeded, producing 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 Checking out Revision 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 (PR-124) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5457b7698a182682ddca372ebab6950ae4067d3 # 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 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 # timeout=10 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 547c6a711e974eea37a88ecf1c5f43fcba9fa793 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:58:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:58:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:58:52 ========================================================= 16:58:52 EdgeX Global Pipelines Version Info 16:58:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:58:53 ------------------- 16:58:53 stable info: 16:58:53 ------------------- 16:58:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:58:53 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:58:53 Message: update stable to v1.0.238 16:58:54 ------------------- 16:58:54 experimental info: 16:58:54 ------------------- 16:58:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:58:54 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:58:54 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-124 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-124 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-124 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32832e5 [Pipeline] echo 16:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:54 provisioning config files... 16:58:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config6293304708262404229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:55 ---> docker-login.sh 16:58:55 nexus3.edgexfoundry.org:10001 16:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:55 Configure a credential helper to remove this warning. See 16:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:55 16:58:55 Login Succeeded 16:58:55 nexus3.edgexfoundry.org:10002 16:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:55 Configure a credential helper to remove this warning. See 16:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:55 16:58:55 Login Succeeded 16:58:55 nexus3.edgexfoundry.org:10003 16:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:56 Configure a credential helper to remove this warning. See 16:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:56 16:58:56 Login Succeeded 16:58:56 nexus3.edgexfoundry.org:10004 16:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:56 Configure a credential helper to remove this warning. See 16:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:56 16:58:56 Login Succeeded 16:58:56 docker.io 16:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:56 Configure a credential helper to remove this warning. See 16:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:56 16:58:56 Login Succeeded 16:58:56 ---> docker-login.sh ends [Pipeline] } 16:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:58:57 + git rev-list -1 --merges 32832e577364c1bdc2a7e81f6ddc462d5f9771f1~1..32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [Pipeline] echo 16:58:57 -----------> git rev-list -1 --merges 32832e577364c1bdc2a7e81f6ddc462d5f9771f1~1..32832e577364c1bdc2a7e81f6ddc462d5f9771f1 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 16:58:57 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [false] [Pipeline] sh 16:58:57 + git log --format=format:%s -1 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [Pipeline] echo 16:58:57 ========================================================= 16:58:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:58:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:57 + git log --format=format:%s -1 32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [Pipeline] echo 16:58:57 [semverPrep] GIT_COMMIT: 32832e577364c1bdc2a7e81f6ddc462d5f9771f1, Commit Message: Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD [Pipeline] echo 16:58:57 [semverPrep] This is not a build commit. [Pipeline] sh 16:58:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:58:58 + grep -v github /etc/ssh/ssh_known_hosts 16:58:58 + [ -e /tmp/ssh_known_hosts ] 16:58:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:58:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:58:58 + sudo tee -a /etc/ssh/ssh_known_hosts 16:58:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:58:58 16:58:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:58:59 0.1.4: Pulling from edgex-devops/py-git-semver 16:58:59 b85a868b505f: Pulling fs layer 16:58:59 e2be974225ed: Pulling fs layer 16:58:59 339a4e72a1f5: Pulling fs layer 16:58:59 988bab9f4d93: Pulling fs layer 16:58:59 1469e6f7b9e6: Pulling fs layer 16:58:59 988bab9f4d93: Waiting 16:58:59 eaf3925da568: Pulling fs layer 16:58:59 bab4dde63d76: Pulling fs layer 16:58:59 bde34c3a00c8: Pulling fs layer 16:58:59 b352a97aabf1: Pulling fs layer 16:58:59 4872d77fe225: Pulling fs layer 16:58:59 eaf3925da568: Waiting 16:58:59 bde34c3a00c8: Waiting 16:58:59 5851b861e8e6: Pulling fs layer 16:58:59 b352a97aabf1: Waiting 16:58:59 4872d77fe225: Waiting 16:58:59 5851b861e8e6: Waiting 16:58:59 e2be974225ed: Verifying Checksum 16:58:59 e2be974225ed: Download complete 16:58:59 988bab9f4d93: Verifying Checksum 16:58:59 988bab9f4d93: Download complete 16:58:59 1469e6f7b9e6: Verifying Checksum 16:58:59 1469e6f7b9e6: Download complete 16:58:59 eaf3925da568: Verifying Checksum 16:58:59 eaf3925da568: Download complete 16:58:59 339a4e72a1f5: Verifying Checksum 16:58:59 339a4e72a1f5: Download complete 16:58:59 bde34c3a00c8: Verifying Checksum 16:58:59 bde34c3a00c8: Download complete 16:58:59 b352a97aabf1: Download complete 16:58:59 4872d77fe225: Verifying Checksum 16:58:59 4872d77fe225: Download complete 16:58:59 5851b861e8e6: Verifying Checksum 16:58:59 5851b861e8e6: Download complete 16:58:59 b85a868b505f: Download complete 16:58:59 bab4dde63d76: Verifying Checksum 16:58:59 bab4dde63d76: Download complete 16:59:00 b85a868b505f: Pull complete 16:59:00 e2be974225ed: Pull complete 16:59:01 339a4e72a1f5: Pull complete 16:59:01 988bab9f4d93: Pull complete 16:59:01 1469e6f7b9e6: Pull complete 16:59:01 eaf3925da568: Pull complete 16:59:03 bab4dde63d76: Pull complete 16:59:03 bde34c3a00c8: Pull complete 16:59:03 b352a97aabf1: Pull complete 16:59:03 4872d77fe225: Pull complete 16:59:03 5851b861e8e6: Pull complete 16:59:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:03 prd-ubuntu20.04-docker-8c-8g-22153 does not seem to be running inside a container 16:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:59:06 $ docker top 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 -eo pid,comm 16:59:06 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). 16:59:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:06 [ssh-agent] Looking for ssh-agent implementation... 16:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:07 $ docker exec 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 ssh-agent 16:59:07 SSH_AUTH_SOCK=/tmp/ssh-Q1ypXuKSSRyU/agent.32 16:59:07 SSH_AGENT_PID=39 16:59:07 Running ssh-add (command line suppressed) 16:59:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_8553633042767061525.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_8553633042767061525.key) 16:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:07 + git tag --points-at HEAD [Pipeline] } 16:59:07 $ docker exec --env ******** --env ******** 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 ssh-agent -k 16:59:07 unset SSH_AUTH_SOCK; 16:59:07 unset SSH_AGENT_PID; 16:59:07 echo Agent pid 39 killed; 16:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:07 [ssh-agent] Looking for ssh-agent implementation... 16:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:07 $ docker exec 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 ssh-agent 16:59:08 SSH_AUTH_SOCK=/tmp/ssh-fNEmJSS0zRd3/agent.72 16:59:08 SSH_AGENT_PID=78 16:59:08 Running ssh-add (command line suppressed) 16:59:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_2931959140538521630.key (/w/workspace/undry_device-onvif-camera_PR-124@tmp/private_key_2931959140538521630.key) 16:59:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:08 + git semver init 16:59:08 2022-08-08 16:59:08,739 [run_init] DEBUG init version:0.0.0 force:False 16:59:08 2022-08-08 16:59:08,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-124/.semver 16:59:08 2022-08-08 16:59:08,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-124/.semver 16:59:08 2022-08-08 16:59:08,740 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-124/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-124, universal_newlines=False, shell=None, istream=None) 16:59:09 2022-08-08 16:59:09,545 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-124/.git/info/exclude 16:59:09 2022-08-08 16:59:09,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 with force:False 16:59:09 2022-08-08 16:59:09,546 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 16:59:09 2022-08-08 16:59:09,550 [execute] INFO git cat-file --batch-check 16:59:09 2022-08-08 16:59:09,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) 16:59:09 2022-08-08 16:59:09,556 [execute] INFO git cat-file --batch 16:59:09 2022-08-08 16:59:09,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-124/.semver, universal_newlines=False, shell=None, istream=) 16:59:09 2022-08-08 16:59:09,562 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-124/.semver/PR-124 16:59:09 0.0.0 [Pipeline] } 16:59:09 $ docker exec --env ******** --env ******** 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 ssh-agent -k 16:59:09 unset SSH_AUTH_SOCK; 16:59:09 unset SSH_AGENT_PID; 16:59:09 echo Agent pid 78 killed; 16:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:10 + git semver [Pipeline] } 16:59:10 $ docker stop --time=1 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 16:59:11 $ docker rm -f 4680422c32e4ef9e4573ffca30d432225f0d0f69e873e7e8d92e7c141f0f88d4 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:59:12 Stashed 1 file(s) [Pipeline] echo 16:59:12 [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 16:59:12 provisioning config files... 16:59:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config1317808114412554173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:12 ---> docker-login.sh 16:59:12 nexus3.edgexfoundry.org:10001 16:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:12 Configure a credential helper to remove this warning. See 16:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:12 16:59:12 Login Succeeded 16:59:12 nexus3.edgexfoundry.org:10002 16:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:13 Configure a credential helper to remove this warning. See 16:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:13 16:59:13 Login Succeeded 16:59:13 nexus3.edgexfoundry.org:10003 16:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:13 Configure a credential helper to remove this warning. See 16:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:13 16:59:13 Login Succeeded 16:59:13 nexus3.edgexfoundry.org:10004 16:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:13 Configure a credential helper to remove this warning. See 16:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:13 16:59:13 Login Succeeded 16:59:13 docker.io 16:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:13 Configure a credential helper to remove this warning. See 16:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:13 16:59:13 Login Succeeded 16:59:13 ---> docker-login.sh ends [Pipeline] } 16:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:59:13 ========================================================= 16:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:59:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:59:14 Sending build context to Docker daemon 20.22MB 16:59:14 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:59:14 Step 2/13 : FROM ${BASE} AS builder 16:59:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:59:14 2408cc74d12b: Pulling fs layer 16:59:14 ea60b727a1ce: Pulling fs layer 16:59:14 30c4a7721957: Pulling fs layer 16:59:14 370296b7ddb6: Pulling fs layer 16:59:14 7c6cee850709: Pulling fs layer 16:59:14 39a5fcdaea64: Pulling fs layer 16:59:14 d94ebbe4e438: Pulling fs layer 16:59:14 bcfd1f05c69d: Pulling fs layer 16:59:14 59ccb84bbe0f: Pulling fs layer 16:59:14 370296b7ddb6: Waiting 16:59:14 d94ebbe4e438: Waiting 16:59:14 bcfd1f05c69d: Waiting 16:59:14 59ccb84bbe0f: Waiting 16:59:14 7c6cee850709: Waiting 16:59:14 39a5fcdaea64: Waiting 16:59:14 30c4a7721957: Verifying Checksum 16:59:14 30c4a7721957: Download complete 16:59:14 ea60b727a1ce: Verifying Checksum 16:59:14 ea60b727a1ce: Download complete 16:59:14 7c6cee850709: Verifying Checksum 16:59:14 7c6cee850709: Download complete 16:59:14 39a5fcdaea64: Verifying Checksum 16:59:14 39a5fcdaea64: Download complete 16:59:14 2408cc74d12b: Download complete 16:59:14 d94ebbe4e438: Verifying Checksum 16:59:14 d94ebbe4e438: Download complete 16:59:14 2408cc74d12b: Pull complete 16:59:14 ea60b727a1ce: Pull complete 16:59:14 30c4a7721957: Pull complete 16:59:14 59ccb84bbe0f: Verifying Checksum 16:59:14 59ccb84bbe0f: Download complete 16:59:15 bcfd1f05c69d: Verifying Checksum 16:59:15 bcfd1f05c69d: Download complete 16:59:15 370296b7ddb6: Download complete 16:59:19 370296b7ddb6: Pull complete 16:59:19 7c6cee850709: Pull complete 16:59:19 39a5fcdaea64: Pull complete 16:59:19 d94ebbe4e438: Pull complete 16:59:21 bcfd1f05c69d: Pull complete 16:59:22 59ccb84bbe0f: Pull complete 16:59:22 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:59:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:59:22 ---> a4fb48ad2a94 16:59:22 Step 3/13 : ARG MAKE="make build" 16:59:26 ---> Running in 74d1631db003 16:59:26 Removing intermediate container 74d1631db003 16:59:26 ---> 34a68eeba02d 16:59:26 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:59:26 ---> Running in dd1ad3d5f123 16:59:26 Removing intermediate container dd1ad3d5f123 16:59:26 ---> eb7d7a68cefa 16:59:26 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:59:26 ---> Running in 79a14fa24d0a 16:59:26 Removing intermediate container 79a14fa24d0a 16:59:26 ---> 56c3a3d7f25a 16:59:26 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:59:26 ---> Running in 0f89ed48fb6f 16:59:26 Removing intermediate container 0f89ed48fb6f 16:59:26 ---> b9b3c5e62272 16:59:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:59:26 ---> Running in e276b27336f4 16:59:26 Removing intermediate container e276b27336f4 16:59:26 ---> 56e6e8540143 16:59:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:59:26 ---> Running in d8888af4cd39 16:59:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:59:27 Still waiting to schedule task 16:59:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22152’ 16:59:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:59:28 OK: 211 MiB in 51 packages 16:59:28 Removing intermediate container d8888af4cd39 16:59:28 ---> a4eb07f2c3e8 16:59:28 Step 9/13 : WORKDIR /device-onvif-camera 16:59:28 ---> Running in e534aa71b73a 16:59:28 Removing intermediate container e534aa71b73a 16:59:28 ---> 15fe07d1c802 16:59:28 Step 10/13 : COPY go.mod vendor* ./ 16:59:28 ---> 384fb95b4256 16:59:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:59:28 ---> Running in a1a57580b59e 16:59:47 Removing intermediate container a1a57580b59e 16:59:47 ---> c7ee813ad600 16:59:47 Step 12/13 : COPY . . 16:59:47 ---> d92c2b6a8f03 16:59:47 Step 13/13 : RUN ${MAKE} 16:59:47 ---> Running in 8097d7c6a1e3 16:59:47 noop 16:59:47 Removing intermediate container 8097d7c6a1e3 16:59:47 ---> 3eba6e1b8998 16:59:47 Successfully built 3eba6e1b8998 16:59:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:48 + docker inspect -f . ci-base-image-x86_64 16:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:48 prd-ubuntu20.04-docker-8c-8g-22153 does not seem to be running inside a container 16:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:59:48 $ docker top d7a8070270cd57738a59f67b9487d201a3d8d1e8998b9f5565a6a079bbf620a3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:59:49 + go version 16:59:49 go version go1.18.3 linux/amd64 [Pipeline] } 16:59:49 $ docker stop --time=1 d7a8070270cd57738a59f67b9487d201a3d8d1e8998b9f5565a6a079bbf620a3 16:59:50 $ docker rm -f d7a8070270cd57738a59f67b9487d201a3d8d1e8998b9f5565a6a079bbf620a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:50 + docker inspect -f . ci-base-image-x86_64 16:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:50 prd-ubuntu20.04-docker-8c-8g-22153 does not seem to be running inside a container 16:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:59:51 $ docker top 1ba1aadd6b77c5884d0717f8a2bad6d31396c7da524451a1aafc0a326fe392e2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:59:51 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] fileExists [Pipeline] sh 16:59:51 + make test 16:59:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:59:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:00:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:00:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements 17:00:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:00:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.964s coverage: 13.8% of statements 17:00:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:00:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:00:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:00:15 ./bin/test-attribution-txt.sh [Pipeline] echo 17:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:00:15 $ docker stop --time=1 1ba1aadd6b77c5884d0717f8a2bad6d31396c7da524451a1aafc0a326fe392e2 17:00:18 $ docker rm -f 1ba1aadd6b77c5884d0717f8a2bad6d31396c7da524451a1aafc0a326fe392e2 [Pipeline] // withDockerContainer [Pipeline] sh 17:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:00:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:00:19 + ls -al . 17:00:19 total 232 17:00:19 drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 17:00 . 17:00:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 16:58 .. 17:00:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 17:00 .git 17:00:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 16:58 .github 17:00:19 -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 16:58 .gitignore 17:00:19 -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 16:58 .golangci.yml 17:00:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 16:59 .semver 17:00:19 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 16:58 Attribution.txt 17:00:19 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 16:58 CHANGELOG.md 17:00:19 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 16:58 Dockerfile 17:00:19 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 16:58 GOVERNANCE.md 17:00:19 -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 16:58 Jenkinsfile 17:00:19 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 16:58 LICENSE 17:00:19 -rw-rw-r-- 1 jenkins jenkins 2615 Aug 8 16:58 Makefile 17:00:19 -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 16:58 OWNERS.md 17:00:19 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 16:58 README.md 17:00:19 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 16:59 VERSION 17:00:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 16:58 bin 17:00:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 16:58 cmd 17:00:19 -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 17:00 coverage.out 17:00:19 drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 16:58 doc 17:00:19 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 16:58 go.mod 17:00:19 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 16:58 go.sum 17:00:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 16:58 internal 17:00:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 16:58 snap 17:00:19 -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 16:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:20 + 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=32832e577364c1bdc2a7e81f6ddc462d5f9771f1 --label arch=amd64 --label version=0.0.0 . 17:00:20 Sending build context to Docker daemon 20.3MB 17:00:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:00:20 Step 2/26 : FROM ${BASE} AS builder 17:00:20 ---> 3eba6e1b8998 17:00:20 Step 3/26 : ARG MAKE="make build" 17:00:20 ---> Running in d9c5c98b99d1 17:00:20 Removing intermediate container d9c5c98b99d1 17:00:20 ---> 0da667fb2b44 17:00:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:00:20 ---> Running in 65dd258e991f 17:00:20 Removing intermediate container 65dd258e991f 17:00:20 ---> 1f9985e761d8 17:00:20 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:00:20 ---> Running in cc9b0f0d5a23 17:00:21 Removing intermediate container cc9b0f0d5a23 17:00:21 ---> 5a96b22d6ccf 17:00:21 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:00:21 ---> Running in dffb35ced06e 17:00:21 Removing intermediate container dffb35ced06e 17:00:21 ---> 20fcb237222c 17:00:21 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:21 ---> Running in e03397d3c068 17:00:21 Removing intermediate container e03397d3c068 17:00:21 ---> b8bc3d4b30ed 17:00:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:21 ---> Running in dc533245ff14 17:00:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:00:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:00:23 OK: 211 MiB in 51 packages 17:00:23 Removing intermediate container dc533245ff14 17:00:23 ---> 13184dbd8c8f 17:00:23 Step 9/26 : WORKDIR /device-onvif-camera 17:00:23 ---> Running in 88aa18f1b3c4 17:00:23 Removing intermediate container 88aa18f1b3c4 17:00:23 ---> 6e0dd340d042 17:00:23 Step 10/26 : COPY go.mod vendor* ./ 17:00:23 ---> cc4c0f973320 17:00:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:23 ---> Running in cc4e8b17bfbb 17:00:24 Removing intermediate container cc4e8b17bfbb 17:00:24 ---> 55bded7bb7d1 17:00:24 Step 12/26 : COPY . . 17:00:25 ---> 18308979d148 17:00:25 Step 13/26 : RUN ${MAKE} 17:00:25 ---> Running in 823ce9dd4e5e 17:00:25 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 17:00:47 Removing intermediate container 823ce9dd4e5e 17:00:47 ---> a2821544b0c1 17:00:47 Step 14/26 : FROM alpine:3.15 17:00:47 3.15: Pulling from library/alpine 17:00:47 ab6db1bc80d0: Pulling fs layer 17:00:48 ab6db1bc80d0: Verifying Checksum 17:00:48 ab6db1bc80d0: Download complete 17:00:48 ab6db1bc80d0: Pull complete 17:00:48 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 17:00:48 Status: Downloaded newer image for alpine:3.15 17:00:48 ---> 2720e26172a0 17:00:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:00:48 ---> Running in 244448a8173d 17:00:48 Removing intermediate container 244448a8173d 17:00:48 ---> f1ab584e1d87 17:00:48 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:00:48 ---> Running in c90656dbd2d0 17:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:00:49 (1/6) Installing dumb-init (1.2.5-r1) 17:00:49 (2/6) Installing libgcc (10.3.1_git20211027-r0) 17:00:49 (3/6) Installing libsodium (1.0.18-r0) 17:00:49 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 17:00:49 (5/6) Installing libzmq (4.3.4-r0) 17:00:49 (6/6) Installing zeromq (4.3.4-r0) 17:00:49 Executing busybox-1.34.1-r7.trigger 17:00:49 OK: 8 MiB in 20 packages 17:00:49 Removing intermediate container c90656dbd2d0 17:00:49 ---> c4a528579a49 17:00:49 Step 17/26 : WORKDIR / 17:00:49 ---> Running in 009c3ddd17fb 17:00:49 Removing intermediate container 009c3ddd17fb 17:00:49 ---> e6b3e9853eca 17:00:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:00:50 ---> a352045c905a 17:00:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:00:50 ---> a49c17ab98ef 17:00:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:00:50 ---> 2a27934b7f22 17:00:50 Step 21/26 : EXPOSE 59984 17:00:51 ---> Running in a87f2c9aa45f 17:00:51 Removing intermediate container a87f2c9aa45f 17:00:51 ---> 8febf0f9a6dc 17:00:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:00:51 ---> Running in dfccf49fe329 17:00:51 Removing intermediate container dfccf49fe329 17:00:51 ---> d9fb404700f8 17:00:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:00:51 ---> Running in a9a2d3d8be22 17:00:51 Removing intermediate container a9a2d3d8be22 17:00:51 ---> 101661c82a67 17:00:51 Step 24/26 : LABEL arch=amd64 17:00:51 ---> Running in 2fa2d9f76e00 17:00:51 Removing intermediate container 2fa2d9f76e00 17:00:51 ---> a9aaaf0dda37 17:00:51 Step 25/26 : LABEL git_sha=32832e577364c1bdc2a7e81f6ddc462d5f9771f1 17:00:51 ---> Running in 834949d345b8 17:00:51 Removing intermediate container 834949d345b8 17:00:51 ---> 461d6617a7e4 17:00:51 Step 26/26 : LABEL version=0.0.0 17:00:51 ---> Running in b8476b05a54a 17:00:51 Removing intermediate container b8476b05a54a 17:00:51 ---> ace91ac4b80c 17:00:51 [Warning] One or more build-args [ARCH] were not consumed 17:00:51 Successfully built ace91ac4b80c 17:00:51 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 17:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:00:52 17:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:00:52 latest: Pulling from edgex-lftools-log-publisher 17:00:52 5eb5b503b376: Pulling fs layer 17:00:52 5c69ac0246d0: Pulling fs layer 17:00:52 ec43610c2a17: Pulling fs layer 17:00:52 3a2ae6a8a46f: Pulling fs layer 17:00:52 33b1e0a273af: Pulling fs layer 17:00:52 5d3b04190fa2: Pulling fs layer 17:00:52 2f39f015ded8: Pulling fs layer 17:00:52 33b1e0a273af: Waiting 17:00:52 3a2ae6a8a46f: Waiting 17:00:52 5d3b04190fa2: Waiting 17:00:52 2f39f015ded8: Waiting 17:00:52 5c69ac0246d0: Download complete 17:00:52 3a2ae6a8a46f: Verifying Checksum 17:00:52 3a2ae6a8a46f: Download complete 17:00:52 33b1e0a273af: Verifying Checksum 17:00:52 33b1e0a273af: Download complete 17:00:52 5d3b04190fa2: Download complete 17:00:52 ec43610c2a17: Verifying Checksum 17:00:52 ec43610c2a17: Download complete 17:00:52 5eb5b503b376: Verifying Checksum 17:00:52 5eb5b503b376: Download complete 17:00:53 2f39f015ded8: Download complete 17:00:53 5eb5b503b376: Pull complete 17:00:53 5c69ac0246d0: Pull complete 17:00:54 ec43610c2a17: Pull complete 17:00:54 3a2ae6a8a46f: Pull complete 17:00:54 33b1e0a273af: Pull complete 17:00:54 5d3b04190fa2: Pull complete 17:00:58 2f39f015ded8: Pull complete 17:00:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:00:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:59 prd-ubuntu20.04-docker-8c-8g-22153 does not seem to be running inside a container 17:00:59 $ 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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:01:02 $ docker top b187c85f450c477217f985071e4a7ab64197fbfadb9cbb4671c66e640ff281af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:03 ---> job-cost.sh 17:01:03 lf-activate-venv: SKIPPING 17:01:03 INFO: No Stack... 17:01:03 INFO: Retrieving Pricing Info for: v3-standard-8 17:01:04 INFO: Archiving Costs [Pipeline] sh 17:01:04 + cat /w/workspace/undry_device-onvif-camera_PR-124/archives/cost.csv 17:01:04 + cut -d, -f6 [Pipeline] lock 17:01:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] 17:01:04 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] did not exist. Created. 17:01:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:04 + echo total: 0.2199999988079071 [Pipeline] stash 17:01:04 Stashed 1 file(s) [Pipeline] } 17:01:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:04 $ docker stop --time=1 b187c85f450c477217f985071e4a7ab64197fbfadb9cbb4671c66e640ff281af 17:01:05 $ docker rm -f b187c85f450c477217f985071e4a7ab64197fbfadb9cbb4671c66e640ff281af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:02:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22154 in /w/workspace/undry_device-onvif-camera_PR-124 [Pipeline] { [Pipeline] ws 17:02:58 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 17:02:58 Selected Git installation does not exist. Using Default 17:02:58 The recommended git tool is: NONE 17:03:05 using credential edgex-jenkins-ssh 17:03:05 Cloning the remote Git repository 17:03:06 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:03:06 > git init /w/workspace/device-onvif-camera/3 # timeout=10 17:03:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:03:06 > git --version # timeout=10 17:03:06 > git --version # 'git version 2.25.1' 17:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:08 Merging remotes/origin/main commit 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 into PR head commit b5457b7698a182682ddca372ebab6950ae4067d3 17:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:03:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:03:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/124/head:refs/remotes/origin/PR-124 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:03:08 Merge succeeded, producing 3751f40083781d82111786f3947a4224e20023b5 17:03:08 Checking out Revision 3751f40083781d82111786f3947a4224e20023b5 (PR-124) 17:03:08 > git config core.sparsecheckout # timeout=10 17:03:08 > git checkout -f b5457b7698a182682ddca372ebab6950ae4067d3 # timeout=10 17:03:08 > git remote # timeout=10 17:03:08 > git config --get remote.origin.url # timeout=10 17:03:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:08 > git merge 9bac30ea06e4ebb0f0f10422a9d4eedb1be08404 # timeout=10 17:03:08 > git rev-parse HEAD^{commit} # timeout=10 17:03:08 > git config core.sparsecheckout # timeout=10 17:03:08 > git checkout -f 3751f40083781d82111786f3947a4224e20023b5 # timeout=10 17:03:13 Commit message: "Merge commit '9bac30ea06e4ebb0f0f10422a9d4eedb1be08404' into HEAD" 17:03:13 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:03:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:14 Dload Upload Total Spent Left Speed 17:03:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 17:03:13 > git rev-list --no-walk 547c6a711e974eea37a88ecf1c5f43fcba9fa793 # timeout=10 [Pipeline] sh 17:03:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:03:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:03:15 + sudo tee /etc/docker/daemon.new 17:03:15 { 17:03:15 "registry-mirrors": [ 17:03:15 "https://nexus3.edgexfoundry.org:10001" 17:03:15 ], 17:03:15 "bip": "10.250.0.254/24", 17:03:15 "hosts": [ 17:03:15 "tcp://0.0.0.0:5555", 17:03:15 "unix:///var/run/docker.sock" 17:03:15 ], 17:03:15 "mtu": 1458, 17:03:15 "selinux-enabled": true, 17:03:15 "seccomp-profile": "/etc/docker/seccomp.json" 17:03:15 } [Pipeline] sh 17:03:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:03:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:34 provisioning config files... 17:03:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config732107121935043657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:34 ---> docker-login.sh 17:03:34 nexus3.edgexfoundry.org:10001 17:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:35 Configure a credential helper to remove this warning. See 17:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:35 17:03:35 Login Succeeded 17:03:35 nexus3.edgexfoundry.org:10002 17:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:36 Configure a credential helper to remove this warning. See 17:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:36 17:03:36 Login Succeeded 17:03:36 nexus3.edgexfoundry.org:10003 17:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:36 Configure a credential helper to remove this warning. See 17:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:36 17:03:36 Login Succeeded 17:03:36 nexus3.edgexfoundry.org:10004 17:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:37 Configure a credential helper to remove this warning. See 17:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:37 17:03:37 Login Succeeded 17:03:37 docker.io 17:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:38 Configure a credential helper to remove this warning. See 17:03:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:38 17:03:38 Login Succeeded 17:03:38 ---> docker-login.sh ends [Pipeline] } 17:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:38 ========================================================= 17:03:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:03:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:03:39 Sending build context to Docker daemon 13.84MB 17:03:39 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:03:39 Step 2/13 : FROM ${BASE} AS builder 17:03:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:03:39 b3c136eddcbf: Pulling fs layer 17:03:39 c0a3192eca97: Pulling fs layer 17:03:39 a050256f5b6f: Pulling fs layer 17:03:39 656be50a0ddc: Pulling fs layer 17:03:39 2bbca73fdf42: Pulling fs layer 17:03:39 46d945488cbd: Pulling fs layer 17:03:39 8a5474983e97: Pulling fs layer 17:03:39 329c88fbcd65: Pulling fs layer 17:03:39 46d945488cbd: Waiting 17:03:39 2bbca73fdf42: Waiting 17:03:39 8a5474983e97: Waiting 17:03:39 656be50a0ddc: Waiting 17:03:39 a050256f5b6f: Verifying Checksum 17:03:39 a050256f5b6f: Download complete 17:03:39 c0a3192eca97: Verifying Checksum 17:03:39 c0a3192eca97: Download complete 17:03:39 2bbca73fdf42: Download complete 17:03:39 46d945488cbd: Download complete 17:03:39 b3c136eddcbf: Verifying Checksum 17:03:40 b3c136eddcbf: Pull complete 17:03:40 329c88fbcd65: Verifying Checksum 17:03:40 329c88fbcd65: Download complete 17:03:41 c0a3192eca97: Pull complete 17:03:41 a050256f5b6f: Pull complete 17:03:41 8a5474983e97: Verifying Checksum 17:03:41 8a5474983e97: Download complete 17:03:42 656be50a0ddc: Verifying Checksum 17:03:42 656be50a0ddc: Download complete 17:03:55 656be50a0ddc: Pull complete 17:03:55 2bbca73fdf42: Pull complete 17:03:55 46d945488cbd: Pull complete 17:04:02 8a5474983e97: Pull complete 17:04:03 329c88fbcd65: Pull complete 17:04:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:04:03 ---> ff4287adb874 17:04:03 Step 3/13 : ARG MAKE="make build" 17:04:05 ---> Running in 3764ca9e17e1 17:04:05 Removing intermediate container 3764ca9e17e1 17:04:05 ---> f55fba085943 17:04:05 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:04:05 ---> Running in 75463d293368 17:04:06 Removing intermediate container 75463d293368 17:04:06 ---> 613fdbe68526 17:04:06 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:04:06 ---> Running in 1638d0fde579 17:04:06 Removing intermediate container 1638d0fde579 17:04:06 ---> abe276c3e546 17:04:06 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:04:06 ---> Running in ed08f206b141 17:04:07 Removing intermediate container ed08f206b141 17:04:07 ---> ca13912f1b3b 17:04:07 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:04:07 ---> Running in a8c5d31aad30 17:04:09 Removing intermediate container a8c5d31aad30 17:04:09 ---> 1b37f30046f1 17:04:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:04:09 ---> Running in 01df07f3d528 17:04:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:04:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:04:12 OK: 221 MiB in 51 packages 17:04:13 Removing intermediate container 01df07f3d528 17:04:13 ---> d0a3d8b1639f 17:04:13 Step 9/13 : WORKDIR /device-onvif-camera 17:04:13 ---> Running in 3de1040fbf33 17:04:13 Removing intermediate container 3de1040fbf33 17:04:13 ---> 15d626be301c 17:04:13 Step 10/13 : COPY go.mod vendor* ./ 17:04:14 ---> a346bae57d1c 17:04:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:04:14 ---> Running in 195a77c2dda8 17:05:01 Removing intermediate container 195a77c2dda8 17:05:01 ---> 1c29952098b8 17:05:01 Step 12/13 : COPY . . 17:05:01 ---> 42e0fc47f35c 17:05:01 Step 13/13 : RUN ${MAKE} 17:05:01 ---> Running in afc99f6f9102 17:05:01 noop 17:05:02 Removing intermediate container afc99f6f9102 17:05:02 ---> c7904192125f 17:05:02 Successfully built c7904192125f 17:05:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:02 + docker inspect -f . ci-base-image-arm64 17:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:03 prd-ubuntu20.04-docker-arm64-4c-16g-22154 does not seem to be running inside a container 17:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:05:04 $ docker top 1f1904437c0d49e1b944e57959d5acbfdf27d32561c7cd3c0dd4c57c3e64f023 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:05 + go version 17:05:05 go version go1.18.3 linux/arm64 [Pipeline] } 17:05:05 $ docker stop --time=1 1f1904437c0d49e1b944e57959d5acbfdf27d32561c7cd3c0dd4c57c3e64f023 17:05:06 $ docker rm -f 1f1904437c0d49e1b944e57959d5acbfdf27d32561c7cd3c0dd4c57c3e64f023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:07 + docker inspect -f . ci-base-image-arm64 17:05:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:07 prd-ubuntu20.04-docker-arm64-4c-16g-22154 does not seem to be running inside a container 17:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:05:09 $ docker top 64a6bc00035595d92229992df25590ac4b7a5b432e444cd6013cb21387d411de -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 17:05:10 + make test 17:05:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:05:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:06:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:06:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.118s coverage: 10.6% of statements 17:06:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:07:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 37.703s coverage: 13.8% of statements 17:07:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:07:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:07:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:35 ./bin/test-attribution-txt.sh [Pipeline] echo 17:07:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:07:35 $ docker stop --time=1 64a6bc00035595d92229992df25590ac4b7a5b432e444cd6013cb21387d411de 17:07:37 $ docker rm -f 64a6bc00035595d92229992df25590ac4b7a5b432e444cd6013cb21387d411de [Pipeline] // withDockerContainer [Pipeline] sh 17:07:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:07:38 Warning: overwriting stash ‘coverage-report’ 17:07:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:07:39 + ls -al . 17:07:39 total 228 17:07:39 drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 17:07 . 17:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 17:03 .. 17:07:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 17:03 .git 17:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 17:03 .github 17:07:39 -rw-rw-r-- 1 jenkins jenkins 418 Aug 8 17:03 .gitignore 17:07:39 -rw-rw-r-- 1 jenkins jenkins 42 Aug 8 17:03 .golangci.yml 17:07:39 -rw-rw-r-- 1 jenkins jenkins 9102 Aug 8 17:03 Attribution.txt 17:07:39 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 8 17:03 CHANGELOG.md 17:07:39 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 8 17:03 Dockerfile 17:07:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 17:03 GOVERNANCE.md 17:07:39 -rw-rw-r-- 1 jenkins jenkins 660 Aug 8 17:03 Jenkinsfile 17:07:39 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 8 17:03 LICENSE 17:07:39 -rw-rw-r-- 1 jenkins jenkins 2615 Aug 8 17:03 Makefile 17:07:39 -rw-rw-r-- 1 jenkins jenkins 625 Aug 8 17:03 OWNERS.md 17:07:39 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 8 17:03 README.md 17:07:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 16:59 VERSION 17:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 17:03 bin 17:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 17:03 cmd 17:07:39 -rw-r--r-- 1 jenkins jenkins 76856 Aug 8 17:07 coverage.out 17:07:39 drwxrwxr-x 5 jenkins jenkins 4096 Aug 8 17:03 doc 17:07:39 -rw-rw-r-- 1 jenkins jenkins 3496 Aug 8 17:03 go.mod 17:07:39 -rw-rw-r-- 1 jenkins jenkins 37305 Aug 8 17:03 go.sum 17:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 17:03 internal 17:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 17:03 snap 17:07:39 -rw-rw-r-- 1 jenkins jenkins 236 Aug 8 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:39 + 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=3751f40083781d82111786f3947a4224e20023b5 --label arch=arm64 --label version=0.0.0 . 17:07:40 Sending build context to Docker daemon 13.92MB 17:07:40 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:07:40 Step 2/26 : FROM ${BASE} AS builder 17:07:40 ---> c7904192125f 17:07:40 Step 3/26 : ARG MAKE="make build" 17:07:40 ---> Running in b5f85d37b279 17:07:41 Removing intermediate container b5f85d37b279 17:07:41 ---> fd22e187d71d 17:07:41 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:07:41 ---> Running in 5511cef7ad34 17:07:41 Removing intermediate container 5511cef7ad34 17:07:41 ---> 0761deba65e8 17:07:41 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:07:41 ---> Running in e9fb61f0d662 17:07:41 Removing intermediate container e9fb61f0d662 17:07:41 ---> a1c2a239d5d6 17:07:41 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:07:41 ---> Running in fb89990933bd 17:07:42 Removing intermediate container fb89990933bd 17:07:42 ---> 023cfd90425b 17:07:42 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:42 ---> Running in 620f1a13911c 17:07:44 Removing intermediate container 620f1a13911c 17:07:44 ---> bb0802237194 17:07:44 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:07:44 ---> Running in 4d1909d5570e 17:07:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:07:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:07:46 OK: 221 MiB in 51 packages 17:07:47 Removing intermediate container 4d1909d5570e 17:07:47 ---> 010eb9c90708 17:07:47 Step 9/26 : WORKDIR /device-onvif-camera 17:07:47 ---> Running in b24b592c2de5 17:07:47 Removing intermediate container b24b592c2de5 17:07:47 ---> 2b9dc7e76d93 17:07:47 Step 10/26 : COPY go.mod vendor* ./ 17:07:48 ---> 9e21de7794f6 17:07:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:07:48 ---> Running in f1488f1667ce 17:07:50 Removing intermediate container f1488f1667ce 17:07:50 ---> 5549d8697d40 17:07:50 Step 12/26 : COPY . . 17:07:51 ---> 6bbf646adb31 17:07:51 Step 13/26 : RUN ${MAKE} 17:07:51 ---> Running in 4d3cd002010e 17:07:52 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 17:09:59 Removing intermediate container 4d3cd002010e 17:09:59 ---> 12f290b7b4ee 17:09:59 Step 14/26 : FROM alpine:3.15 17:09:59 3.15: Pulling from library/alpine 17:09:59 e0295fd11fe2: Pulling fs layer 17:09:59 e0295fd11fe2: Verifying Checksum 17:09:59 e0295fd11fe2: Download complete 17:09:59 e0295fd11fe2: Pull complete 17:09:59 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 17:09:59 Status: Downloaded newer image for alpine:3.15 17:09:59 ---> 60f2846fe774 17:09:59 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:09:59 ---> Running in 75adb3c05681 17:09:59 Removing intermediate container 75adb3c05681 17:09:59 ---> fbbe36eed744 17:09:59 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:09:59 ---> Running in b1faea1b30b1 17:10:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:10:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:10:01 (1/6) Installing dumb-init (1.2.5-r1) 17:10:01 (2/6) Installing libgcc (10.3.1_git20211027-r0) 17:10:01 (3/6) Installing libsodium (1.0.18-r0) 17:10:01 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 17:10:01 (5/6) Installing libzmq (4.3.4-r0) 17:10:01 (6/6) Installing zeromq (4.3.4-r0) 17:10:01 Executing busybox-1.34.1-r7.trigger 17:10:01 OK: 8 MiB in 20 packages 17:10:02 Removing intermediate container b1faea1b30b1 17:10:02 ---> 7fcb9d317bd5 17:10:02 Step 17/26 : WORKDIR / 17:10:02 ---> Running in a7faf7c582e4 17:10:02 Removing intermediate container a7faf7c582e4 17:10:02 ---> 1a160528ac6f 17:10:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:10:04 ---> d9ffa67c7c0e 17:10:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:10:04 ---> e39dbf4926d6 17:10:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:10:05 ---> 25ef4f444eb4 17:10:05 Step 21/26 : EXPOSE 59984 17:10:05 ---> Running in 7699883a7925 17:10:05 Removing intermediate container 7699883a7925 17:10:05 ---> 2445bfcd8b2e 17:10:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:10:05 ---> Running in 5a6557dedadc 17:10:06 Removing intermediate container 5a6557dedadc 17:10:06 ---> 04d422dee546 17:10:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:10:06 ---> Running in 71d9a98ad61a 17:10:06 Removing intermediate container 71d9a98ad61a 17:10:06 ---> c0839a049209 17:10:06 Step 24/26 : LABEL arch=arm64 17:10:06 ---> Running in 90d7f7cc924f 17:10:06 Removing intermediate container 90d7f7cc924f 17:10:06 ---> f12791f9841d 17:10:06 Step 25/26 : LABEL git_sha=3751f40083781d82111786f3947a4224e20023b5 17:10:06 ---> Running in d111091cedcb 17:10:07 Removing intermediate container d111091cedcb 17:10:07 ---> 774bfea41156 17:10:07 Step 26/26 : LABEL version=0.0.0 17:10:07 ---> Running in 79d6f3974513 17:10:07 Removing intermediate container 79d6f3974513 17:10:07 ---> 2f587dda394b 17:10:07 [Warning] One or more build-args [ARCH] were not consumed 17:10:07 Successfully built 2f587dda394b 17:10:07 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 17:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:07 17:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:08 arm64: Pulling from edgex-lftools-log-publisher 17:10:08 8998bd30e6a1: Pulling fs layer 17:10:08 04944245beec: Pulling fs layer 17:10:08 699f458cf7ca: Pulling fs layer 17:10:08 765212b225bb: Pulling fs layer 17:10:08 f23df028b6ca: Pulling fs layer 17:10:08 d65c8cfc05b1: Pulling fs layer 17:10:08 2437ff75d9bd: Pulling fs layer 17:10:08 d65c8cfc05b1: Waiting 17:10:08 2437ff75d9bd: Waiting 17:10:08 f23df028b6ca: Waiting 17:10:08 765212b225bb: Waiting 17:10:08 04944245beec: Verifying Checksum 17:10:08 04944245beec: Download complete 17:10:08 765212b225bb: Verifying Checksum 17:10:08 765212b225bb: Download complete 17:10:08 f23df028b6ca: Download complete 17:10:08 d65c8cfc05b1: Verifying Checksum 17:10:08 d65c8cfc05b1: Download complete 17:10:08 699f458cf7ca: Verifying Checksum 17:10:08 699f458cf7ca: Download complete 17:10:09 8998bd30e6a1: Download complete 17:10:11 2437ff75d9bd: Verifying Checksum 17:10:11 2437ff75d9bd: Download complete 17:10:13 8998bd30e6a1: Pull complete 17:10:14 04944245beec: Pull complete 17:10:15 699f458cf7ca: Pull complete 17:10:15 765212b225bb: Pull complete 17:10:16 f23df028b6ca: Pull complete 17:10:16 d65c8cfc05b1: Pull complete 17:10:31 2437ff75d9bd: Pull complete 17:10:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:32 prd-ubuntu20.04-docker-arm64-4c-16g-22154 does not seem to be running inside a container 17:10:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:10:34 $ docker top b10c57b2e16ac86e2ed1eb5dcea5ddabae2eaa0efb166e21633312abd8bae883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:35 ---> job-cost.sh 17:10:35 lf-activate-venv: SKIPPING 17:10:35 INFO: No Stack... 17:10:36 INFO: Retrieving Pricing Info for: v3-standard-4 17:10:36 INFO: Archiving Costs [Pipeline] sh 17:10:37 + cut -d, -f6 17:10:37 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 17:10:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] 17:10:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] did not exist. Created. 17:10:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:10:38 /w/workspace/device-onvif-camera/3@tmp/durable-2c3a34a8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:10:39 + echo total: 0.10999999940395355 [Pipeline] stash 17:10:39 Warning: overwriting stash ‘stack-cost’ 17:10:39 Stashed 1 file(s) [Pipeline] } 17:10:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-124-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:10:39 $ docker stop --time=1 b10c57b2e16ac86e2ed1eb5dcea5ddabae2eaa0efb166e21633312abd8bae883 17:10:40 $ docker rm -f b10c57b2e16ac86e2ed1eb5dcea5ddabae2eaa0efb166e21633312abd8bae883 [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 17:10:41 provisioning config files... 17:10:41 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config5065535398730871677tmp [Pipeline] { [Pipeline] sh 17:10:41 + set +x 17:10:41 + curl -s https://codecov.io/bash 17:10:41 + bash -s -- 17:10:41 17:10:41 _____ _ 17:10:41 / ____| | | 17:10:41 | | ___ __| | ___ ___ _____ __ 17:10:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:10:41 | |___| (_) | (_| | __/ (_| (_) \ V / 17:10:41 \_____\___/ \__,_|\___|\___\___/ \_/ 17:10:41 Bash-1.0.6 17:10:41 17:10:41 17:10:41 ==> git version 2.25.1 found 17:10:41 ==> 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 17:10:41 Release-Date: 2020-01-08 17:10:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:10:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:10:41 ==> Jenkins CI detected. 17:10:41 current dir:  /w/workspace/undry_device-onvif-camera_PR-124 17:10:41 project root: . 17:10:41 --> token set from env 17:10:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:10:41 ==> Running gcov in . (disable via -X gcov) 17:10:41 ==> Python coveragepy not found 17:10:41 ==> Searching for coverage reports in: 17:10:41 + . 17:10:41 -> Found 1 reports 17:10:41 ==> Detecting git/mercurial file structure 17:10:41 ==> Reading reports 17:10:41 + ./coverage.out bytes=76856 17:10:41 ==> Appending adjustments 17:10:41 https://docs.codecov.io/docs/fixing-reports 17:10:41 + Found adjustments 17:10:41 ==> Gzipping contents 17:10:41 12K /tmp/codecov.BIpynZ.gz 17:10:41 ==> Uploading reports 17:10:41 url: https://codecov.io 17:10:41 query: branch=PR-124&commit=32832e577364c1bdc2a7e81f6ddc462d5f9771f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= 17:10:41 -> Pinging Codecov 17:10:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-124&commit=32832e577364c1bdc2a7e81f6ddc462d5f9771f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-124%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=124&job=&cmd_args= 17:10:41 -> Uploading to 17:10:41 https://storage.googleapis.com/codecov/v4/raw/2022-08-08/F29A59C45E3A92E06B3E522C9905F8EF/32832e577364c1bdc2a7e81f6ddc462d5f9771f1/7d398e7c-95d0-4088-bd73-e5094c212eda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220808%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220808T171041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec35b9280b3eb67a8de215fa1cf16864f1aa3510a5abd4eb1471e0ce2f623fb4 17:10:42 % Total % Received % Xferd Average Speed Time Time Time Current 17:10:42 Dload Upload Total Spent Left Speed 17:10:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10407 0 0 100 10407 0 46459 --:--:-- --:--:-- --:--:-- 46459 17:10:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/32832e577364c1bdc2a7e81f6ddc462d5f9771f1 [Pipeline] } 17:10:42 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 17:10:42 + [ -d /w/workspace/undry_device-onvif-camera_PR-124/archives ] 17:10:42 + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives 17:10:42 total 16 17:10:42 drwxr-xr-x 3 root root 4096 Aug 8 17:01 . 17:10:42 drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 17:01 .. 17:10:42 drwxr-xr-x 2 root root 4096 Aug 8 17:01 cost 17:10:42 -rw-r--r-- 1 root root 91 Aug 8 17:01 cost.csv 17:10:42 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-124/archives 17:10:42 + ls -al /w/workspace/undry_device-onvif-camera_PR-124/archives 17:10:42 total 16 17:10:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 17:01 . 17:10:42 drwxrwxr-x 11 jenkins jenkins 4096 Aug 8 17:01 .. 17:10:42 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 17:01 cost 17:10:42 -rw-r--r-- 1 jenkins jenkins 91 Aug 8 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:10:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:10:44 ---> package-listing.sh 17:10:44 ++ facter osfamily 17:10:44 ++ tr '[:upper:]' '[:lower:]' 17:10:44 + OS_FAMILY=debian 17:10:44 + workspace=/w/workspace/undry_device-onvif-camera_PR-124 17:10:44 + START_PACKAGES=/tmp/packages_start.txt 17:10:44 + END_PACKAGES=/tmp/packages_end.txt 17:10:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:10:44 + PACKAGES=/tmp/packages_start.txt 17:10:44 + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' 17:10:44 + PACKAGES=/tmp/packages_end.txt 17:10:44 + case "${OS_FAMILY}" in 17:10:44 + dpkg -l 17:10:44 + grep '^ii' 17:10:44 + '[' -f /tmp/packages_start.txt ']' 17:10:44 + '[' -f /tmp/packages_end.txt ']' 17:10:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:10:44 + '[' /w/workspace/undry_device-onvif-camera_PR-124 ']' 17:10:44 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-124/archives/ 17:10:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-124/archives/ [Pipeline] echo 17:10:44 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-124/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:10:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:45 prd-ubuntu20.04-docker-8c-8g-22153 does not seem to be running inside a container 17:10:45 $ 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-124/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-124 -v /w/workspace/undry_device-onvif-camera_PR-124:/w/workspace/undry_device-onvif-camera_PR-124:rw,z -v /w/workspace/undry_device-onvif-camera_PR-124@tmp:/w/workspace/undry_device-onvif-camera_PR-124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:10:45 $ docker top 2b0ed19c13f329d5064954c1d3f7e745d593833e6977fb6169425cf1e368f63f -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:45 + touch /tmp/pre-build-complete [Pipeline] sh 17:10:46 + mkdir -p /var/log/sysstat [Pipeline] sh 17:10:46 + ls /var/log/sa-host 17:10:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:46 provisioning config files... 17:10:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-124@tmp/config492988814090618904tmp [Pipeline] { [Pipeline] echo 17:10:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:10:46 ---> create-netrc.sh [Pipeline] } 17:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:10:47 ---> python-tools-install.sh [Pipeline] echo 17:10:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:10:47 ---> sudo-logs.sh 17:10:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:10:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:10:47 ---> job-cost.sh 17:10:47 lf-activate-venv: SKIPPING 17:10:47 DEBUG: total: 0.2199999988079071 17:10:47 INFO: Retrieving Stack Cost... 17:10:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:10:48 INFO: Archiving Costs [Pipeline] echo 17:10:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:10:49 ---> logs-deploy.sh 17:10:49 lf-activate-venv: SKIPPING 17:10:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-124/3 17:10:49 INFO: archiving workspace using pattern(s): 17:10:49 Archives upload complete. 17:10:50 INFO: archiving logs to Nexus 17:10:50 ---> uname -a: 17:10:50 Linux prd-ubuntu20-04-docker-8c-8g-22153 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:10:50 17:10:50 17:10:50 ---> lscpu: 17:10:50 Architecture: x86_64 17:10:50 CPU op-mode(s): 32-bit, 64-bit 17:10:50 Byte Order: Little Endian 17:10:50 Address sizes: 40 bits physical, 48 bits virtual 17:10:50 CPU(s): 8 17:10:50 On-line CPU(s) list: 0-7 17:10:50 Thread(s) per core: 1 17:10:50 Core(s) per socket: 1 17:10:50 Socket(s): 8 17:10:50 NUMA node(s): 1 17:10:50 Vendor ID: AuthenticAMD 17:10:50 CPU family: 23 17:10:50 Model: 49 17:10:50 Model name: AMD EPYC-Rome Processor 17:10:50 Stepping: 0 17:10:50 CPU MHz: 2799.994 17:10:50 BogoMIPS: 5599.98 17:10:50 Virtualization: AMD-V 17:10:50 Hypervisor vendor: KVM 17:10:50 Virtualization type: full 17:10:50 L1d cache: 256 KiB 17:10:50 L1i cache: 256 KiB 17:10:50 L2 cache: 4 MiB 17:10:50 L3 cache: 128 MiB 17:10:50 NUMA node0 CPU(s): 0-7 17:10:50 Vulnerability Itlb multihit: Not affected 17:10:50 Vulnerability L1tf: Not affected 17:10:50 Vulnerability Mds: Not affected 17:10:50 Vulnerability Meltdown: Not affected 17:10:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:10:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:10:50 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:10:50 Vulnerability Srbds: Not affected 17:10:50 Vulnerability Tsx async abort: Not affected 17:10:50 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 17:10:50 17:10:50 17:10:50 ---> nproc: 17:10:50 8 17:10:50 17:10:50 17:10:50 ---> df -h: 17:10:50 Filesystem Size Used Avail Use% Mounted on 17:10:50 overlay 155G 11G 145G 7% / 17:10:50 tmpfs 64M 0 64M 0% /dev 17:10:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:10:50 shm 64M 0 64M 0% /dev/shm 17:10:50 /dev/vda1 155G 11G 145G 7% /facter-os 17:10:50 17:10:50 17:10:50 ---> sar -b -r -n DEV: 17:10:50 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22153) 08/08/22 _x86_64_ (8 CPU) 17:10:50 17:10:50 16:58:11 LINUX RESTART (8 CPU) 17:10:50 17:10:50 16:59:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:10:50 17:00:01 200.49 3.61 196.88 0.00 369.02 78415.18 0.00 17:10:50 17:01:01 170.83 0.08 170.74 0.00 9.06 37812.06 0.00 17:10:50 17:02:01 14.86 0.00 14.86 0.00 0.00 4678.02 0.00 17:10:50 17:03:01 1.62 0.00 1.62 0.00 0.00 20.95 0.00 17:10:50 17:04:01 1.28 0.02 1.27 0.00 0.13 15.73 0.00 17:10:50 17:05:01 1.42 0.00 1.42 0.00 0.00 17.59 0.00 17:10:50 17:06:01 0.95 0.00 0.95 0.00 0.00 11.73 0.00 17:10:50 17:07:01 1.67 0.00 1.67 0.00 0.00 19.46 0.00 17:10:50 17:08:01 1.02 0.00 1.02 0.00 0.00 11.33 0.00 17:10:50 17:09:01 1.77 0.00 1.77 0.00 0.00 26.66 0.00 17:10:50 17:10:01 0.93 0.00 0.93 0.00 0.00 12.00 0.00 17:10:50 Average: 35.83 0.33 35.50 0.00 33.87 10901.67 0.00 17:10:50 17:10:50 16:59:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:10:50 17:00:01 28049628 31661480 626732 1.91 162288 3639608 2150292 6.34 1454668 2908796 239600 17:10:50 17:01:01 27588740 31732664 547860 1.67 176276 4114800 1968296 5.80 1378536 3390256 112744 17:10:50 17:02:01 27612548 31756616 531992 1.62 176472 4114808 1776600 5.24 1376292 3377840 264 17:10:50 17:03:01 27615196 31759304 529420 1.61 176504 4114812 1776600 5.24 1372436 3377844 32 17:10:50 17:04:01 27623992 31768620 520528 1.58 176560 4114808 1776600 5.24 1364032 3378340 28 17:10:50 17:05:01 27624448 31769112 519980 1.58 176584 4114816 1776600 5.24 1363312 3378348 24 17:10:50 17:06:01 27631772 31776488 512592 1.56 176600 4114824 1776600 5.24 1356224 3378360 12 17:10:50 17:07:01 27631808 31776544 512316 1.56 176624 4114832 1776600 5.24 1355800 3378364 12 17:10:50 17:08:01 27631816 31776576 512248 1.56 176640 4114832 1776600 5.24 1355852 3378368 12 17:10:50 17:09:01 27631176 31775940 512836 1.56 176660 4114800 1776600 5.24 1356112 3378348 24 17:10:50 17:10:01 27631472 31776288 512156 1.56 176676 4114816 1776600 5.24 1356032 3378352 24 17:10:50 Average: 27661145 31757239 530787 1.61 175262 4071614 1827999 5.39 1371754 3336656 32071 17:10:50 17:10:50 16:59:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:10:50 17:00:01 ens3 363.82 271.04 5253.30 91.36 0.00 0.00 0.00 0.00 17:10:50 17:00:01 docker0 130.27 152.19 10.60 1204.66 0.00 0.00 0.00 0.00 17:10:50 17:00:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 17:10:50 17:00:01 vethca861fb 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:10:50 17:01:01 ens3 133.29 82.27 2679.25 20.65 0.00 0.00 0.00 0.00 17:10:50 17:01:01 docker0 11.23 15.84 0.66 94.63 0.00 0.00 0.00 0.00 17:10:50 17:01:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 17:10:50 17:02:01 ens3 7.85 4.75 8.04 2.82 0.00 0.00 0.00 0.00 17:10:50 17:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:02:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:03:01 ens3 13.65 13.96 13.79 17.82 0.00 0.00 0.00 0.00 17:10:50 17:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:04:01 ens3 13.21 12.98 1.25 21.11 0.00 0.00 0.00 0.00 17:10:50 17:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:05:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:06:01 ens3 4.53 8.68 0.45 7.62 0.00 0.00 0.00 0.00 17:10:50 17:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:07:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:08:01 ens3 0.38 0.00 0.04 0.00 0.00 0.00 0.00 0.00 17:10:50 17:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:09:01 ens3 3.02 5.22 0.49 4.93 0.00 0.00 0.00 0.00 17:10:50 17:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:10:50 17:10:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 17:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:50 Average: ens3 48.62 35.93 716.48 15.01 0.00 0.00 0.00 0.00 17:10:50 Average: docker0 12.68 15.07 1.01 116.47 0.00 0.00 0.00 0.00 17:10:50 Average: lo 0.51 0.51 0.05 0.05 0.00 0.00 0.00 0.00 17:10:50 17:10:50 17:10:50 ---> sar -P ALL: 17:10:50 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22153) 08/08/22 _x86_64_ (8 CPU) 17:10:50 17:10:50 16:58:11 LINUX RESTART (8 CPU) 17:10:50 17:10:50 16:59:02 CPU %user %nice %system %iowait %steal %idle 17:10:50 17:00:01 all 20.55 0.00 5.80 3.08 0.09 70.48 17:10:50 17:00:01 0 19.80 0.00 6.18 1.73 0.07 72.23 17:10:50 17:00:01 1 21.03 0.00 5.36 5.56 0.09 67.97 17:10:50 17:00:01 2 21.06 0.00 5.11 3.55 0.09 70.19 17:10:50 17:00:01 3 20.02 0.00 6.65 0.40 0.09 72.84 17:10:50 17:00:01 4 20.50 0.00 6.16 2.26 0.05 71.03 17:10:50 17:00:01 5 20.18 0.00 5.14 1.84 0.14 72.70 17:10:50 17:00:01 6 21.17 0.00 5.37 1.82 0.10 71.54 17:10:50 17:00:01 7 20.64 0.00 6.42 7.55 0.09 65.30 17:10:50 17:01:01 all 31.47 0.00 5.40 2.24 0.07 60.82 17:10:50 17:01:01 0 29.94 0.00 5.24 0.24 0.07 64.52 17:10:50 17:01:01 1 30.66 0.00 5.86 7.28 0.10 56.09 17:10:50 17:01:01 2 31.62 0.00 4.79 0.36 0.07 63.17 17:10:50 17:01:01 3 32.68 0.00 5.19 0.52 0.07 61.53 17:10:50 17:01:01 4 31.22 0.00 6.55 2.45 0.07 59.72 17:10:50 17:01:01 5 32.48 0.00 4.68 1.08 0.08 61.67 17:10:50 17:01:01 6 33.19 0.00 5.74 4.32 0.07 56.69 17:10:50 17:01:01 7 29.95 0.00 5.12 1.66 0.05 63.22 17:10:50 17:02:01 all 0.18 0.00 0.15 0.27 0.02 99.38 17:10:50 17:02:01 0 0.18 0.00 0.15 0.00 0.02 99.65 17:10:50 17:02:01 1 0.12 0.00 0.17 0.50 0.02 99.20 17:10:50 17:02:01 2 0.17 0.00 0.13 0.05 0.00 99.65 17:10:50 17:02:01 3 0.27 0.00 0.13 0.00 0.00 99.60 17:10:50 17:02:01 4 0.13 0.00 0.18 0.43 0.02 99.23 17:10:50 17:02:01 5 0.25 0.00 0.13 0.00 0.00 99.61 17:10:50 17:02:01 6 0.18 0.00 0.18 1.15 0.00 98.48 17:10:50 17:02:01 7 0.17 0.00 0.08 0.00 0.10 99.65 17:10:50 17:03:01 all 0.22 0.00 0.03 0.00 0.01 99.74 17:10:50 17:03:01 0 0.07 0.00 0.03 0.00 0.00 99.90 17:10:50 17:03:01 1 0.07 0.00 0.05 0.00 0.02 99.87 17:10:50 17:03:01 2 0.15 0.00 0.00 0.00 0.00 99.85 17:10:50 17:03:01 3 0.07 0.00 0.03 0.00 0.02 99.88 17:10:50 17:03:01 4 0.12 0.00 0.02 0.02 0.00 99.85 17:10:50 17:03:01 5 1.11 0.00 0.07 0.00 0.02 98.81 17:10:50 17:03:01 6 0.07 0.00 0.02 0.00 0.02 99.90 17:10:50 17:03:01 7 0.08 0.00 0.02 0.02 0.00 99.88 17:10:50 17:04:01 all 0.05 0.00 0.02 0.01 0.01 99.92 17:10:50 17:04:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:10:50 17:04:01 1 0.07 0.00 0.03 0.00 0.00 99.90 17:10:50 17:04:01 2 0.08 0.00 0.02 0.00 0.03 99.87 17:10:50 17:04:01 3 0.02 0.00 0.02 0.00 0.00 99.97 17:10:50 17:04:01 4 0.05 0.00 0.02 0.05 0.00 99.88 17:10:50 17:04:01 5 0.03 0.00 0.03 0.00 0.00 99.93 17:10:50 17:04:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:10:50 17:04:01 7 0.03 0.00 0.02 0.00 0.02 99.93 17:10:50 17:05:01 all 0.01 0.00 0.01 0.00 0.01 99.97 17:10:50 17:05:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:10:50 17:05:01 1 0.00 0.00 0.02 0.00 0.00 99.98 17:10:50 17:05:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:10:50 17:05:01 3 0.00 0.00 0.02 0.00 0.00 99.98 17:10:50 17:05:01 4 0.00 0.00 0.00 0.02 0.03 99.95 17:10:50 17:05:01 5 0.03 0.00 0.02 0.00 0.02 99.93 17:10:50 17:05:01 6 0.02 0.00 0.00 0.00 0.00 99.98 17:10:50 17:05:01 7 0.00 0.00 0.00 0.02 0.00 99.98 17:10:50 17:06:01 all 0.04 0.00 0.02 0.01 0.01 99.93 17:10:50 17:06:01 0 0.05 0.00 0.02 0.00 0.02 99.92 17:10:50 17:06:01 1 0.07 0.00 0.02 0.00 0.00 99.92 17:10:50 17:06:01 2 0.07 0.00 0.05 0.00 0.02 99.87 17:10:50 17:06:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:10:50 17:06:01 4 0.07 0.00 0.03 0.02 0.00 99.88 17:10:50 17:06:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:10:50 17:06:01 6 0.00 0.00 0.02 0.00 0.02 99.97 17:10:50 17:06:01 7 0.00 0.00 0.00 0.07 0.00 99.93 17:10:50 17:07:01 all 0.00 0.00 0.01 0.00 0.01 99.97 17:10:50 17:07:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:10:50 17:07:01 1 0.00 0.00 0.00 0.00 0.02 99.98 17:10:50 17:07:01 2 0.03 0.00 0.05 0.00 0.02 99.90 17:10:50 17:07:01 3 0.00 0.00 0.02 0.00 0.00 99.98 17:10:50 17:07:01 4 0.00 0.00 0.00 0.02 0.00 99.98 17:10:50 17:07:01 5 0.00 0.00 0.02 0.00 0.02 99.97 17:10:50 17:07:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:10:50 17:07:01 7 0.00 0.00 0.02 0.02 0.00 99.97 17:10:50 17:08:01 all 0.01 0.00 0.01 0.01 0.00 99.96 17:10:50 17:08:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:10:50 17:08:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:10:50 17:08:01 2 0.00 0.00 0.02 0.00 0.03 99.95 17:10:50 17:08:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:10:50 17:08:01 4 0.03 0.00 0.00 0.00 0.00 99.97 17:10:50 17:08:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:10:50 17:08:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:10:50 17:08:01 7 0.02 0.00 0.00 0.10 0.00 99.88 17:10:50 17:09:01 all 0.04 0.00 0.01 0.01 0.01 99.93 17:10:50 17:09:01 0 0.02 0.00 0.02 0.00 0.02 99.95 17:10:50 17:09:01 1 0.00 0.00 0.02 0.02 0.00 99.97 17:10:50 17:09:01 2 0.10 0.00 0.03 0.00 0.02 99.85 17:10:50 17:09:01 3 0.00 0.00 0.03 0.02 0.02 99.93 17:10:50 17:09:01 4 0.02 0.00 0.02 0.03 0.00 99.93 17:10:50 17:09:01 5 0.05 0.00 0.00 0.00 0.00 99.95 17:10:50 17:09:01 6 0.10 0.00 0.00 0.00 0.00 99.90 17:10:50 17:09:01 7 0.02 0.00 0.00 0.02 0.00 99.97 17:10:50 17:10:01 all 0.03 0.00 0.00 0.00 0.01 99.96 17:10:50 17:10:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:10:50 17:10:01 1 0.03 0.00 0.00 0.00 0.00 99.97 17:10:50 17:10:01 2 0.08 0.00 0.00 0.00 0.02 99.90 17:10:50 17:10:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:10:50 17:10:01 4 0.02 0.00 0.00 0.02 0.02 99.95 17:10:50 17:10:01 5 0.07 0.00 0.00 0.00 0.02 99.92 17:10:50 17:10:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:10:50 17:10:01 7 0.02 0.00 0.00 0.00 0.00 99.98 17:10:50 17:10:50 Average: CPU %user %nice %system %iowait %steal %idle 17:10:50 Average: all 4.70 0.00 1.02 0.50 0.02 93.75 17:10:50 Average: 0 4.50 0.00 1.05 0.17 0.02 94.26 17:10:50 Average: 1 4.65 0.00 1.03 1.19 0.02 93.11 17:10:50 Average: 2 4.77 0.00 0.91 0.35 0.03 93.94 17:10:50 Average: 3 4.75 0.00 1.08 0.08 0.02 94.07 17:10:50 Average: 4 4.66 0.00 1.16 0.47 0.02 93.69 17:10:50 Average: 5 4.85 0.00 0.90 0.26 0.03 93.96 17:10:50 Average: 6 4.91 0.00 1.01 0.66 0.02 93.41 17:10:50 Average: 7 4.54 0.00 1.04 0.83 0.02 93.57 17:10:50 17:10:50 17:10:50