Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ec509adb15beeff9c635c67ee84ed92878cfab+e27dca9baa08924a505fef6c64e81931b1c2a574 (96c1dcd68034adc8dc8d3a8cc2d91961d1acaf10) 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-ssh16747229381391405318.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-ssh8092539519998420376.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-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18033107249837438521.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-ssh5902276148667945638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4046463523285719412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20477 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-100 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab Merge succeeded, producing 2f30201d05cab50f648b01fd43d4ce7e7a560d7e Checking out Revision 2f30201d05cab50f648b01fd43d4ce7e7a560d7e (PR-100) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # 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 e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f30201d05cab50f648b01fd43d4ce7e7a560d7e # timeout=10 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:22 ========================================================= 10:10:22 EdgeX Global Pipelines Version Info 10:10:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c6510214aec8bac0e4d36f3874262cc1579d55f0 # timeout=10 10:10:23 ------------------- 10:10:23 stable info: 10:10:23 ------------------- 10:10:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:23 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:10:23 Message: update stable to v1.0.238 10:10:23 ------------------- 10:10:23 experimental info: 10:10:23 ------------------- 10:10:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:23 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:10:23 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f30201 [Pipeline] echo 10:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:24 provisioning config files... 10:10:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config639666427259551422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:24 ---> docker-login.sh 10:10:24 nexus3.edgexfoundry.org:10001 10:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:25 Configure a credential helper to remove this warning. See 10:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:25 10:10:25 Login Succeeded 10:10:25 nexus3.edgexfoundry.org:10002 10:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:25 Configure a credential helper to remove this warning. See 10:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:25 10:10:25 Login Succeeded 10:10:25 nexus3.edgexfoundry.org:10003 10:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:25 Configure a credential helper to remove this warning. See 10:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:25 10:10:25 Login Succeeded 10:10:25 nexus3.edgexfoundry.org:10004 10:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:25 Configure a credential helper to remove this warning. See 10:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:25 10:10:25 Login Succeeded 10:10:25 docker.io 10:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:26 Configure a credential helper to remove this warning. See 10:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:26 10:10:26 Login Succeeded 10:10:26 ---> docker-login.sh ends [Pipeline] } 10:10:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:26 + git rev-list -1 --merges 2f30201d05cab50f648b01fd43d4ce7e7a560d7e~1..2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo 10:10:26 -----------> git rev-list -1 --merges 2f30201d05cab50f648b01fd43d4ce7e7a560d7e~1..2f30201d05cab50f648b01fd43d4ce7e7a560d7e 2f30201d05cab50f648b01fd43d4ce7e7a560d7e 10:10:26 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [false] [Pipeline] sh 10:10:26 + git log --format=format:%s -1 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo 10:10:26 ========================================================= 10:10:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:27 + git log --format=format:%s -1 2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] echo 10:10:27 [semverPrep] GIT_COMMIT: 2f30201d05cab50f648b01fd43d4ce7e7a560d7e, Commit Message: Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD [Pipeline] echo 10:10:27 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:27 + grep -v github /etc/ssh/ssh_known_hosts 10:10:27 + [ -e /tmp/ssh_known_hosts ] 10:10:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:27 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:28 10:10:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:28 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:28 b85a868b505f: Pulling fs layer 10:10:28 e2be974225ed: Pulling fs layer 10:10:28 339a4e72a1f5: Pulling fs layer 10:10:28 988bab9f4d93: Pulling fs layer 10:10:28 1469e6f7b9e6: Pulling fs layer 10:10:28 988bab9f4d93: Waiting 10:10:28 eaf3925da568: Pulling fs layer 10:10:28 bab4dde63d76: Pulling fs layer 10:10:28 bde34c3a00c8: Pulling fs layer 10:10:28 b352a97aabf1: Pulling fs layer 10:10:28 4872d77fe225: Pulling fs layer 10:10:28 5851b861e8e6: Pulling fs layer 10:10:28 1469e6f7b9e6: Waiting 10:10:28 bde34c3a00c8: Waiting 10:10:28 b352a97aabf1: Waiting 10:10:28 eaf3925da568: Waiting 10:10:28 bab4dde63d76: Waiting 10:10:28 4872d77fe225: Waiting 10:10:28 5851b861e8e6: Waiting 10:10:28 e2be974225ed: Download complete 10:10:28 988bab9f4d93: Verifying Checksum 10:10:28 988bab9f4d93: Download complete 10:10:28 1469e6f7b9e6: Verifying Checksum 10:10:28 1469e6f7b9e6: Download complete 10:10:28 eaf3925da568: Download complete 10:10:28 339a4e72a1f5: Verifying Checksum 10:10:28 339a4e72a1f5: Download complete 10:10:28 bde34c3a00c8: Download complete 10:10:28 b352a97aabf1: Download complete 10:10:28 4872d77fe225: Verifying Checksum 10:10:28 4872d77fe225: Download complete 10:10:28 5851b861e8e6: Verifying Checksum 10:10:28 5851b861e8e6: Download complete 10:10:28 b85a868b505f: Verifying Checksum 10:10:28 b85a868b505f: Download complete 10:10:29 bab4dde63d76: Verifying Checksum 10:10:29 bab4dde63d76: Download complete 10:10:30 b85a868b505f: Pull complete 10:10:30 e2be974225ed: Pull complete 10:10:30 339a4e72a1f5: Pull complete 10:10:30 988bab9f4d93: Pull complete 10:10:31 1469e6f7b9e6: Pull complete 10:10:31 eaf3925da568: Pull complete 10:10:33 bab4dde63d76: Pull complete 10:10:33 bde34c3a00c8: Pull complete 10:10:33 b352a97aabf1: Pull complete 10:10:33 4872d77fe225: Pull complete 10:10:33 5851b861e8e6: Pull complete 10:10:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:10:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:34 prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container 10:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:10:35 $ docker top 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b -eo pid,comm 10:10:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:10:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:35 [ssh-agent] Looking for ssh-agent implementation... 10:10:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:35 $ docker exec 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent 10:10:35 SSH_AUTH_SOCK=/tmp/ssh-BvZlAopuYM0e/agent.33 10:10:35 SSH_AGENT_PID=40 10:10:35 Running ssh-add (command line suppressed) 10:10:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_1226162036039054778.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_1226162036039054778.key) 10:10:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:36 + git tag --points-at HEAD [Pipeline] } 10:10:36 $ docker exec --env ******** --env ******** 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent -k 10:10:36 unset SSH_AUTH_SOCK; 10:10:36 unset SSH_AGENT_PID; 10:10:36 echo Agent pid 40 killed; 10:10:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:36 [ssh-agent] Looking for ssh-agent implementation... 10:10:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:36 $ docker exec 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent 10:10:36 SSH_AUTH_SOCK=/tmp/ssh-2WX7l9YGF0cE/agent.76 10:10:36 SSH_AGENT_PID=83 10:10:36 Running ssh-add (command line suppressed) 10:10:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_5474192763733659546.key (/w/workspace/undry_device-onvif-camera_PR-100@tmp/private_key_5474192763733659546.key) 10:10:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:37 + git semver init 10:10:37 2022-07-19 10:10:37,484 [run_init] DEBUG init version:0.0.0 force:False 10:10:37 2022-07-19 10:10:37,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-100/.semver 10:10:37 2022-07-19 10:10:37,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-100/.semver 10:10:37 2022-07-19 10:10:37,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-100/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-100, universal_newlines=False, shell=None, istream=None) 10:10:38 2022-07-19 10:10:38,118 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-100/.git/info/exclude 10:10:38 2022-07-19 10:10:38,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 with force:False 10:10:38 2022-07-19 10:10:38,119 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 10:10:38 2022-07-19 10:10:38,125 [execute] INFO git cat-file --batch-check 10:10:38 2022-07-19 10:10:38,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) 10:10:38 2022-07-19 10:10:38,131 [execute] INFO git cat-file --batch 10:10:38 2022-07-19 10:10:38,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) 10:10:38 2022-07-19 10:10:38,135 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-100/.semver/PR-100 10:10:38 0.0.0 [Pipeline] } 10:10:38 $ docker exec --env ******** --env ******** 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b ssh-agent -k 10:10:38 unset SSH_AUTH_SOCK; 10:10:38 unset SSH_AGENT_PID; 10:10:38 echo Agent pid 83 killed; 10:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:38 + git semver [Pipeline] } 10:10:39 $ docker stop --time=1 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b 10:10:40 $ docker rm -f 587724a1cee83fc0ad6b3fdc0b95c72d57cde76b2f73d18865bd53ce2877b47b [Pipeline] // withDockerContainer [Pipeline] sh 10:10:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:41 Stashed 1 file(s) [Pipeline] echo 10:10:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:41 provisioning config files... 10:10:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config91878942641823625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:41 ---> docker-login.sh 10:10:41 nexus3.edgexfoundry.org:10001 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10002 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10003 10:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:41 Configure a credential helper to remove this warning. See 10:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:41 10:10:41 Login Succeeded 10:10:41 nexus3.edgexfoundry.org:10004 10:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:42 Configure a credential helper to remove this warning. See 10:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:42 10:10:42 Login Succeeded 10:10:42 docker.io 10:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:42 Configure a credential helper to remove this warning. See 10:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:42 10:10:42 Login Succeeded 10:10:42 ---> docker-login.sh ends [Pipeline] } 10:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:42 ========================================================= 10:10:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:10:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:10:42 Sending build context to Docker daemon 9.355MB 10:10:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:10:42 Step 2/13 : FROM ${BASE} AS builder 10:10:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:42 2408cc74d12b: Pulling fs layer 10:10:42 ea60b727a1ce: Pulling fs layer 10:10:42 30c4a7721957: Pulling fs layer 10:10:42 370296b7ddb6: Pulling fs layer 10:10:42 7c6cee850709: Pulling fs layer 10:10:42 39a5fcdaea64: Pulling fs layer 10:10:42 d94ebbe4e438: Pulling fs layer 10:10:42 bcfd1f05c69d: Pulling fs layer 10:10:42 59ccb84bbe0f: Pulling fs layer 10:10:42 370296b7ddb6: Waiting 10:10:42 7c6cee850709: Waiting 10:10:42 39a5fcdaea64: Waiting 10:10:42 59ccb84bbe0f: Waiting 10:10:42 d94ebbe4e438: Waiting 10:10:42 bcfd1f05c69d: Waiting 10:10:43 30c4a7721957: Download complete 10:10:43 ea60b727a1ce: Verifying Checksum 10:10:43 ea60b727a1ce: Download complete 10:10:43 7c6cee850709: Verifying Checksum 10:10:43 7c6cee850709: Download complete 10:10:43 2408cc74d12b: Verifying Checksum 10:10:43 2408cc74d12b: Download complete 10:10:43 39a5fcdaea64: Verifying Checksum 10:10:43 39a5fcdaea64: Download complete 10:10:43 d94ebbe4e438: Verifying Checksum 10:10:43 d94ebbe4e438: Download complete 10:10:43 2408cc74d12b: Pull complete 10:10:43 ea60b727a1ce: Pull complete 10:10:43 30c4a7721957: Pull complete 10:10:43 59ccb84bbe0f: Download complete 10:10:43 bcfd1f05c69d: Verifying Checksum 10:10:43 bcfd1f05c69d: Download complete 10:10:43 370296b7ddb6: Verifying Checksum 10:10:43 370296b7ddb6: Download complete 10:10:49 370296b7ddb6: Pull complete 10:10:49 7c6cee850709: Pull complete 10:10:49 39a5fcdaea64: Pull complete 10:10:49 d94ebbe4e438: Pull complete 10:10:50 bcfd1f05c69d: Pull complete 10:10:51 59ccb84bbe0f: Pull complete 10:10:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:10:51 ---> a4fb48ad2a94 10:10:51 Step 3/13 : ARG MAKE="make build" 10:10:53 ---> Running in 61e75576b39d 10:10:53 Removing intermediate container 61e75576b39d 10:10:53 ---> 2219a9b6b356 10:10:53 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:10:53 ---> Running in ce28be0a274d 10:10:53 Removing intermediate container ce28be0a274d 10:10:53 ---> d3e6d1149166 10:10:53 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:10:53 ---> Running in 0aed01547246 10:10:53 Removing intermediate container 0aed01547246 10:10:53 ---> f62995844525 10:10:53 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:10:53 ---> Running in feb44e9d48af 10:10:53 Removing intermediate container feb44e9d48af 10:10:53 ---> 96dbc5c0248a 10:10:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:53 ---> Running in 33bbc962b340 10:10:54 Removing intermediate container 33bbc962b340 10:10:54 ---> 9675b70ec823 10:10:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:54 ---> Running in b744e657fa20 10:10:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:55 OK: 211 MiB in 51 packages 10:10:56 Removing intermediate container b744e657fa20 10:10:56 ---> dde7297d7b24 10:10:56 Step 9/13 : WORKDIR /device-onvif-camera 10:10:56 Still waiting to schedule task 10:10:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:10:56 ---> Running in a2b105c0d733 10:10:56 Removing intermediate container a2b105c0d733 10:10:56 ---> 9983783eefa5 10:10:56 Step 10/13 : COPY go.mod vendor* ./ 10:10:56 ---> d6ed0c6f8258 10:10:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:56 ---> Running in 616b4ad9d351 10:11:18 Removing intermediate container 616b4ad9d351 10:11:18 ---> 751ecf934cf8 10:11:18 Step 12/13 : COPY . . 10:11:18 ---> 0633ff36ac77 10:11:18 Step 13/13 : RUN ${MAKE} 10:11:18 ---> Running in c4cde75317f4 10:11:18 noop 10:11:18 Removing intermediate container c4cde75317f4 10:11:18 ---> 2027e959ab98 10:11:18 Successfully built 2027e959ab98 10:11:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:19 + docker inspect -f . ci-base-image-x86_64 10:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:19 prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container 10:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:19 $ docker top 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:20 + go version 10:11:20 go version go1.18.3 linux/amd64 [Pipeline] } 10:11:20 $ docker stop --time=1 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 10:11:21 $ docker rm -f 01fe26dbe91c7d9891cda2926f2da4ef73df1f29144f0b5715f6563690dbe5e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:21 + docker inspect -f . ci-base-image-x86_64 10:11:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:21 prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container 10:11:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:22 $ docker top b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:22 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] fileExists [Pipeline] sh 10:11:23 + make test 10:11:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:11:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:11:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements 10:11:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:11:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.713s coverage: 13.8% of statements 10:11:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:47 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:48 $ docker stop --time=1 b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 10:11:50 $ docker rm -f b49ee222af71e43098ea441564cdf091500b10c71264976fa28eede6594c0b16 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:51 + ls -al . 10:11:51 total 252 10:11:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 10:11 . 10:11:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 .. 10:11:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:11 .git 10:11:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:10 .github 10:11:51 -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:10 .gitignore 10:11:51 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:10 .golangci.yml 10:11:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:10 .semver 10:11:51 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:10 Attribution.txt 10:11:51 -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:10 CHANGELOG.md 10:11:51 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:10 Dockerfile 10:11:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:10 GOVERNANCE.md 10:11:51 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:10 Jenkinsfile 10:11:51 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:10 LICENSE 10:11:51 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:10 Makefile 10:11:51 -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:10 OWNERS.md 10:11:51 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:10 README.md 10:11:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:10 VERSION 10:11:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:10 bin 10:11:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:10 cmd 10:11:51 -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:11 coverage.out 10:11:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 doc 10:11:51 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:10 go.mod 10:11:51 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:10 go.sum 10:11:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 internal 10:11:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:10 snap 10:11:51 -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:52 + 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=2f30201d05cab50f648b01fd43d4ce7e7a560d7e --label arch=amd64 --label version=0.0.0 . 10:11:52 Sending build context to Docker daemon 9.426MB 10:11:52 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:11:52 Step 2/26 : FROM ${BASE} AS builder 10:11:52 ---> 2027e959ab98 10:11:52 Step 3/26 : ARG MAKE="make build" 10:11:52 ---> Running in afb7496419f6 10:11:52 Removing intermediate container afb7496419f6 10:11:52 ---> 657b4c82b79c 10:11:52 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:52 ---> Running in f1a456b3bc85 10:11:52 Removing intermediate container f1a456b3bc85 10:11:52 ---> 5640ec78bd33 10:11:52 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:11:52 ---> Running in 2844f074d53d 10:11:52 Removing intermediate container 2844f074d53d 10:11:52 ---> 897f778a4b65 10:11:52 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:11:52 ---> Running in 51683a608d97 10:11:52 Removing intermediate container 51683a608d97 10:11:52 ---> fc093608cfc2 10:11:52 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:52 ---> Running in 5b95d0d588fd 10:11:53 Removing intermediate container 5b95d0d588fd 10:11:53 ---> db82da5be4b3 10:11:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:53 ---> Running in b5ddd54ee553 10:11:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:55 OK: 211 MiB in 51 packages 10:11:55 Removing intermediate container b5ddd54ee553 10:11:55 ---> 94854b5e8f5e 10:11:55 Step 9/26 : WORKDIR /device-onvif-camera 10:11:55 ---> Running in 0ea4ad8cbb43 10:11:55 Removing intermediate container 0ea4ad8cbb43 10:11:55 ---> d7446d145b35 10:11:55 Step 10/26 : COPY go.mod vendor* ./ 10:11:55 ---> 678cd4cb7689 10:11:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:55 ---> Running in 30188dba29e3 10:11:56 Removing intermediate container 30188dba29e3 10:11:56 ---> 901a64146538 10:11:56 Step 12/26 : COPY . . 10:11:56 ---> d2bc8089646f 10:11:56 Step 13/26 : RUN ${MAKE} 10:11:56 ---> Running in 4ea21bda9221 10:11:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:12:18 Removing intermediate container 4ea21bda9221 10:12:18 ---> aa341428c782 10:12:18 Step 14/26 : FROM alpine:3.15 10:12:18 3.15: Pulling from library/alpine 10:12:18 df9b9388f04a: Pulling fs layer 10:12:18 df9b9388f04a: Verifying Checksum 10:12:18 df9b9388f04a: Download complete 10:12:18 df9b9388f04a: Pull complete 10:12:18 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:12:18 Status: Downloaded newer image for alpine:3.15 10:12:18 ---> 0ac33e5f5afa 10:12:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:12:18 ---> Running in 4a78f8d6d11e 10:12:18 Removing intermediate container 4a78f8d6d11e 10:12:18 ---> b416b115b93c 10:12:18 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:12:18 ---> Running in f81642fe0b9b 10:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:12:18 (1/6) Installing dumb-init (1.2.5-r1) 10:12:18 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:12:18 (3/6) Installing libsodium (1.0.18-r0) 10:12:18 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:12:18 (5/6) Installing libzmq (4.3.4-r0) 10:12:18 (6/6) Installing zeromq (4.3.4-r0) 10:12:18 Executing busybox-1.34.1-r5.trigger 10:12:19 OK: 8 MiB in 20 packages 10:12:19 Removing intermediate container f81642fe0b9b 10:12:19 ---> 2b6bad8b76c2 10:12:19 Step 17/26 : WORKDIR / 10:12:19 ---> Running in d880f925edb2 10:12:19 Removing intermediate container d880f925edb2 10:12:19 ---> 5412f9015447 10:12:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:12:20 ---> b79c709a9cea 10:12:20 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:12:20 ---> 0018279c8add 10:12:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:12:20 ---> 8517f286263c 10:12:20 Step 21/26 : EXPOSE 59984 10:12:20 ---> Running in 8050f4301a03 10:12:20 Removing intermediate container 8050f4301a03 10:12:20 ---> 080e5bbf982c 10:12:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:12:20 ---> Running in 2a813924f634 10:12:20 Removing intermediate container 2a813924f634 10:12:20 ---> 8993e414498c 10:12:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:20 ---> Running in f0ec8ed24101 10:12:20 Removing intermediate container f0ec8ed24101 10:12:20 ---> 2ffa62a6bbad 10:12:20 Step 24/26 : LABEL arch=amd64 10:12:21 ---> Running in 7f9361967b5d 10:12:21 Removing intermediate container 7f9361967b5d 10:12:21 ---> ca36f455407a 10:12:21 Step 25/26 : LABEL git_sha=2f30201d05cab50f648b01fd43d4ce7e7a560d7e 10:12:21 ---> Running in 96a603e39d9f 10:12:21 Removing intermediate container 96a603e39d9f 10:12:21 ---> e750b498484e 10:12:21 Step 26/26 : LABEL version=0.0.0 10:12:21 ---> Running in b2c390e41f0f 10:12:21 Removing intermediate container b2c390e41f0f 10:12:21 ---> bd8bb43a2078 10:12:21 [Warning] One or more build-args [ARCH] were not consumed 10:12:21 Successfully built bd8bb43a2078 10:12:21 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:21 10:12:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:22 latest: Pulling from edgex-lftools-log-publisher 10:12:22 5eb5b503b376: Pulling fs layer 10:12:22 5c69ac0246d0: Pulling fs layer 10:12:22 ec43610c2a17: Pulling fs layer 10:12:22 3a2ae6a8a46f: Pulling fs layer 10:12:22 33b1e0a273af: Pulling fs layer 10:12:22 5d3b04190fa2: Pulling fs layer 10:12:22 2f39f015ded8: Pulling fs layer 10:12:22 33b1e0a273af: Waiting 10:12:22 3a2ae6a8a46f: Waiting 10:12:22 5c69ac0246d0: Download complete 10:12:22 3a2ae6a8a46f: Verifying Checksum 10:12:22 3a2ae6a8a46f: Download complete 10:12:22 33b1e0a273af: Verifying Checksum 10:12:22 33b1e0a273af: Download complete 10:12:22 5d3b04190fa2: Verifying Checksum 10:12:22 5d3b04190fa2: Download complete 10:12:22 ec43610c2a17: Verifying Checksum 10:12:22 ec43610c2a17: Download complete 10:12:22 5eb5b503b376: Verifying Checksum 10:12:22 5eb5b503b376: Download complete 10:12:23 2f39f015ded8: Download complete 10:12:23 5eb5b503b376: Pull complete 10:12:23 5c69ac0246d0: Pull complete 10:12:24 ec43610c2a17: Pull complete 10:12:24 3a2ae6a8a46f: Pull complete 10:12:24 33b1e0a273af: Pull complete 10:12:24 5d3b04190fa2: Pull complete 10:12:28 2f39f015ded8: Pull complete 10:12:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:29 prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container 10:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:12:31 $ docker top 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:31 ---> job-cost.sh 10:12:31 lf-activate-venv: SKIPPING 10:12:31 INFO: No Stack... 10:12:31 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:32 INFO: Archiving Costs [Pipeline] sh 10:12:32 + cat /w/workspace/undry_device-onvif-camera_PR-100/archives/cost.csv 10:12:32 + cut -d, -f6 [Pipeline] lock 10:12:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] 10:12:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] did not exist. Created. 10:12:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:32 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:33 Stashed 1 file(s) [Pipeline] } 10:12:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:33 $ docker stop --time=1 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 10:12:34 $ docker rm -f 79ffcb022fc8ae4f65dd85ec7a3489c747db83099d16443720d5c9a1a960ed01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20479 in /w/workspace/undry_device-onvif-camera_PR-100 [Pipeline] { [Pipeline] ws 10:12:37 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 10:12:37 Selected Git installation does not exist. Using Default 10:12:37 The recommended git tool is: NONE 10:12:44 using credential edgex-jenkins-ssh 10:12:44 Cloning the remote Git repository 10:12:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:12:45 > git init /w/workspace/device-onvif-camera/7 # timeout=10 10:12:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:45 > git --version # timeout=10 10:12:45 > git --version # 'git version 2.25.1' 10:12:45 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:47 Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit c3ec509adb15beeff9c635c67ee84ed92878cfab 10:12:47 Merge succeeded, producing 2d40cce2f3119d08e63d15256cb76cb7145ecc6f 10:12:47 Checking out Revision 2d40cce2f3119d08e63d15256cb76cb7145ecc6f (PR-100) 10:12:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:12:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:12:47 > git config core.sparsecheckout # timeout=10 10:12:47 > git checkout -f c3ec509adb15beeff9c635c67ee84ed92878cfab # timeout=10 10:12:47 > git remote # timeout=10 10:12:47 > git config --get remote.origin.url # timeout=10 10:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:47 > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 10:12:47 > git rev-parse HEAD^{commit} # timeout=10 10:12:47 > git config core.sparsecheckout # timeout=10 10:12:47 > git checkout -f 2d40cce2f3119d08e63d15256cb76cb7145ecc6f # timeout=10 10:12:52 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" 10:12:52 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 10:12:52 > git rev-list --no-walk c6510214aec8bac0e4d36f3874262cc1579d55f0 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:12:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:53 Dload Upload Total Spent Left Speed 10:12:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh 10:12:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:12:54 + sudo tee /etc/docker/daemon.new 10:12:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:12:54 { 10:12:54 "registry-mirrors": [ 10:12:54 "https://nexus3.edgexfoundry.org:10001" 10:12:54 ], 10:12:54 "bip": "10.250.0.254/24", 10:12:54 "hosts": [ 10:12:54 "tcp://0.0.0.0:5555", 10:12:54 "unix:///var/run/docker.sock" 10:12:54 ], 10:12:54 "mtu": 1458, 10:12:54 "selinux-enabled": true, 10:12:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:12:54 } [Pipeline] sh 10:12:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:12:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:13 provisioning config files... 10:13:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config8127864352898204701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:13 ---> docker-login.sh 10:13:13 nexus3.edgexfoundry.org:10001 10:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:14 Configure a credential helper to remove this warning. See 10:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:14 10:13:14 Login Succeeded 10:13:14 nexus3.edgexfoundry.org:10002 10:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:14 Configure a credential helper to remove this warning. See 10:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:14 10:13:14 Login Succeeded 10:13:14 nexus3.edgexfoundry.org:10003 10:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:15 Configure a credential helper to remove this warning. See 10:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:15 10:13:15 Login Succeeded 10:13:15 nexus3.edgexfoundry.org:10004 10:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:15 Configure a credential helper to remove this warning. See 10:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:15 10:13:15 Login Succeeded 10:13:15 docker.io 10:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:13:16 Configure a credential helper to remove this warning. See 10:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:13:16 10:13:16 Login Succeeded 10:13:16 ---> docker-login.sh ends [Pipeline] } 10:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:13:17 ========================================================= 10:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:13:17 Sending build context to Docker daemon 6.448MB 10:13:18 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:13:18 Step 2/13 : FROM ${BASE} AS builder 10:13:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:13:18 b3c136eddcbf: Pulling fs layer 10:13:18 c0a3192eca97: Pulling fs layer 10:13:18 a050256f5b6f: Pulling fs layer 10:13:18 656be50a0ddc: Pulling fs layer 10:13:18 2bbca73fdf42: Pulling fs layer 10:13:18 46d945488cbd: Pulling fs layer 10:13:18 8a5474983e97: Pulling fs layer 10:13:18 329c88fbcd65: Pulling fs layer 10:13:18 656be50a0ddc: Waiting 10:13:18 2bbca73fdf42: Waiting 10:13:18 8a5474983e97: Waiting 10:13:18 46d945488cbd: Waiting 10:13:18 329c88fbcd65: Waiting 10:13:18 a050256f5b6f: Download complete 10:13:18 c0a3192eca97: Verifying Checksum 10:13:18 c0a3192eca97: Download complete 10:13:18 2bbca73fdf42: Download complete 10:13:18 46d945488cbd: Verifying Checksum 10:13:18 46d945488cbd: Download complete 10:13:18 b3c136eddcbf: Verifying Checksum 10:13:18 b3c136eddcbf: Download complete 10:13:19 b3c136eddcbf: Pull complete 10:13:19 329c88fbcd65: Verifying Checksum 10:13:19 329c88fbcd65: Download complete 10:13:19 c0a3192eca97: Pull complete 10:13:19 a050256f5b6f: Pull complete 10:13:20 8a5474983e97: Verifying Checksum 10:13:20 8a5474983e97: Download complete 10:13:21 656be50a0ddc: Verifying Checksum 10:13:21 656be50a0ddc: Download complete 10:13:33 656be50a0ddc: Pull complete 10:13:33 2bbca73fdf42: Pull complete 10:13:33 46d945488cbd: Pull complete 10:13:40 8a5474983e97: Pull complete 10:13:41 329c88fbcd65: Pull complete 10:13:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:13:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:13:41 ---> ff4287adb874 10:13:41 Step 3/13 : ARG MAKE="make build" 10:13:43 ---> Running in 01e4d83b66aa 10:13:43 Removing intermediate container 01e4d83b66aa 10:13:43 ---> 98b7d51a18b5 10:13:43 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:13:43 ---> Running in 1d45376453c3 10:13:44 Removing intermediate container 1d45376453c3 10:13:44 ---> 0375e40ac7b3 10:13:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:13:44 ---> Running in d2ca00d1f94b 10:13:44 Removing intermediate container d2ca00d1f94b 10:13:44 ---> 71b7221b816e 10:13:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:13:44 ---> Running in 77f6c32a2578 10:13:44 Removing intermediate container 77f6c32a2578 10:13:44 ---> c9ce5295bac4 10:13:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:44 ---> Running in 000f1b633f45 10:13:46 Removing intermediate container 000f1b633f45 10:13:46 ---> ff6e24926488 10:13:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:13:46 ---> Running in ee0631f59bf4 10:13:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:13:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:13:49 OK: 221 MiB in 51 packages 10:13:50 Removing intermediate container ee0631f59bf4 10:13:50 ---> 9779a0210ae2 10:13:50 Step 9/13 : WORKDIR /device-onvif-camera 10:13:50 ---> Running in 2a9146042a17 10:13:50 Removing intermediate container 2a9146042a17 10:13:50 ---> e3a29f9c8c55 10:13:50 Step 10/13 : COPY go.mod vendor* ./ 10:13:51 ---> b9ea536eaad4 10:13:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:51 ---> Running in b2f133bed328 10:14:38 Removing intermediate container b2f133bed328 10:14:38 ---> 23d31f8c24fe 10:14:38 Step 12/13 : COPY . . 10:14:38 ---> 1b0c531580f9 10:14:38 Step 13/13 : RUN ${MAKE} 10:14:38 ---> Running in 60f6d865d6bf 10:14:38 noop 10:14:39 Removing intermediate container 60f6d865d6bf 10:14:39 ---> 0cb64627664d 10:14:39 Successfully built 0cb64627664d 10:14:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:39 + docker inspect -f . ci-base-image-arm64 10:14:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:39 prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container 10:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:14:41 $ docker top 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:42 + go version 10:14:42 go version go1.18.3 linux/arm64 [Pipeline] } 10:14:42 $ docker stop --time=1 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 10:14:43 $ docker rm -f 6bf903e3df53b7c88f5d0f69966ceb5b999a125a28945036b868bcaf593f4db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:44 + docker inspect -f . ci-base-image-arm64 10:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:14:44 prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container 10:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:14:46 $ docker top d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 -eo pid,comm [Pipeline] { [Pipeline] sh 10:14:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 10:14:47 + make test 10:14:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:14:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:16:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:16:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements 10:16:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:16:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.128s coverage: 13.8% of statements 10:16:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:16:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:17:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:01 ./bin/test-attribution-txt.sh [Pipeline] echo 10:17:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:17:04 $ docker stop --time=1 d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 10:17:06 $ docker rm -f d0f04db79e1487cc49bca13e2335cf99d267869f0fbc5c1b588aa51114669091 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:17:07 Warning: overwriting stash ‘coverage-report’ 10:17:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:08 + ls -al . 10:17:08 total 248 10:17:08 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 10:17 . 10:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 .. 10:17:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:12 .git 10:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:12 .github 10:17:08 -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:12 .gitignore 10:17:08 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:12 .golangci.yml 10:17:08 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:12 Attribution.txt 10:17:08 -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:12 CHANGELOG.md 10:17:08 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:12 Dockerfile 10:17:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:12 GOVERNANCE.md 10:17:08 -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:12 Jenkinsfile 10:17:08 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:12 LICENSE 10:17:08 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:12 Makefile 10:17:08 -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:12 OWNERS.md 10:17:08 -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:12 README.md 10:17:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:10 VERSION 10:17:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:12 bin 10:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:12 cmd 10:17:08 -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:16 coverage.out 10:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 doc 10:17:08 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:12 go.mod 10:17:08 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:12 go.sum 10:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 internal 10:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:12 snap 10:17:08 -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:09 + 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=2d40cce2f3119d08e63d15256cb76cb7145ecc6f --label arch=arm64 --label version=0.0.0 . 10:17:09 Sending build context to Docker daemon 6.519MB 10:17:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:17:09 Step 2/26 : FROM ${BASE} AS builder 10:17:09 ---> 0cb64627664d 10:17:09 Step 3/26 : ARG MAKE="make build" 10:17:09 ---> Running in 212113fb87dd 10:17:10 Removing intermediate container 212113fb87dd 10:17:10 ---> 078c0c317eda 10:17:10 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:17:10 ---> Running in 1f21dc2a2871 10:17:10 Removing intermediate container 1f21dc2a2871 10:17:10 ---> f2493d14dcc8 10:17:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:17:10 ---> Running in 605e6e2a7833 10:17:10 Removing intermediate container 605e6e2a7833 10:17:10 ---> a4f3d3ad9b14 10:17:10 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:17:10 ---> Running in e728a0a9be8f 10:17:11 Removing intermediate container e728a0a9be8f 10:17:11 ---> 13cb336b1fe6 10:17:11 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:11 ---> Running in 61759a339cca 10:17:13 Removing intermediate container 61759a339cca 10:17:13 ---> af7a33d6725d 10:17:13 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:13 ---> Running in 517672fc73b5 10:17:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:17:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:17:15 OK: 221 MiB in 51 packages 10:17:16 Removing intermediate container 517672fc73b5 10:17:16 ---> 36e82a4e76da 10:17:16 Step 9/26 : WORKDIR /device-onvif-camera 10:17:16 ---> Running in d4624594dd17 10:17:17 Removing intermediate container d4624594dd17 10:17:17 ---> cc0fe0a639b9 10:17:17 Step 10/26 : COPY go.mod vendor* ./ 10:17:17 ---> bbeab9541d50 10:17:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:17 ---> Running in 8f5db985c630 10:17:19 Removing intermediate container 8f5db985c630 10:17:19 ---> 6bf317c357a3 10:17:19 Step 12/26 : COPY . . 10:17:21 ---> d747d4fa15f3 10:17:21 Step 13/26 : RUN ${MAKE} 10:17:21 ---> Running in 81bb9c2bb9f5 10:17:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:19:44 Removing intermediate container 81bb9c2bb9f5 10:19:44 ---> 437af32aae1d 10:19:44 Step 14/26 : FROM alpine:3.15 10:19:44 3.15: Pulling from library/alpine 10:19:44 9981e73032c8: Pulling fs layer 10:19:44 9981e73032c8: Verifying Checksum 10:19:44 9981e73032c8: Download complete 10:19:44 9981e73032c8: Pull complete 10:19:44 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:19:44 Status: Downloaded newer image for alpine:3.15 10:19:44 ---> 3fb3c9af89a9 10:19:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:19:44 ---> Running in 7ac23e314b67 10:19:44 Removing intermediate container 7ac23e314b67 10:19:44 ---> bb9d93069e68 10:19:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:19:44 ---> Running in 1cba7aba61f8 10:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:19:44 (1/6) Installing dumb-init (1.2.5-r1) 10:19:44 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:19:44 (3/6) Installing libsodium (1.0.18-r0) 10:19:44 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:19:44 (5/6) Installing libzmq (4.3.4-r0) 10:19:44 (6/6) Installing zeromq (4.3.4-r0) 10:19:44 Executing busybox-1.34.1-r5.trigger 10:19:44 OK: 8 MiB in 20 packages 10:19:44 Removing intermediate container 1cba7aba61f8 10:19:44 ---> d23114740d4e 10:19:44 Step 17/26 : WORKDIR / 10:19:44 ---> Running in e0f75637b940 10:19:44 Removing intermediate container e0f75637b940 10:19:44 ---> c272bf932553 10:19:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:19:44 ---> a0f79c8c666b 10:19:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:19:44 ---> d2e54528f078 10:19:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:19:45 ---> d0a325763e41 10:19:45 Step 21/26 : EXPOSE 59984 10:19:45 ---> Running in f3f0fe4a92aa 10:19:45 Removing intermediate container f3f0fe4a92aa 10:19:45 ---> 12fa9bbf9b02 10:19:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:19:45 ---> Running in 24d5051f37de 10:19:45 Removing intermediate container 24d5051f37de 10:19:45 ---> e0ea4362ee2f 10:19:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:19:45 ---> Running in 5fec0b06777b 10:19:46 Removing intermediate container 5fec0b06777b 10:19:46 ---> 495898d44c99 10:19:46 Step 24/26 : LABEL arch=arm64 10:19:46 ---> Running in 5174ab10c6fb 10:19:46 Removing intermediate container 5174ab10c6fb 10:19:46 ---> 0a01c0fb7f35 10:19:46 Step 25/26 : LABEL git_sha=2d40cce2f3119d08e63d15256cb76cb7145ecc6f 10:19:46 ---> Running in 71dc093eb809 10:19:46 Removing intermediate container 71dc093eb809 10:19:46 ---> 31d24f869f2b 10:19:46 Step 26/26 : LABEL version=0.0.0 10:19:46 ---> Running in 9eb8154bfa2d 10:19:47 Removing intermediate container 9eb8154bfa2d 10:19:47 ---> adbac283204a 10:19:47 [Warning] One or more build-args [ARCH] were not consumed 10:19:47 Successfully built adbac283204a 10:19:47 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:47 10:19:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:48 arm64: Pulling from edgex-lftools-log-publisher 10:19:48 8998bd30e6a1: Pulling fs layer 10:19:48 04944245beec: Pulling fs layer 10:19:48 699f458cf7ca: Pulling fs layer 10:19:48 765212b225bb: Pulling fs layer 10:19:48 f23df028b6ca: Pulling fs layer 10:19:48 d65c8cfc05b1: Pulling fs layer 10:19:48 2437ff75d9bd: Pulling fs layer 10:19:48 765212b225bb: Waiting 10:19:48 d65c8cfc05b1: Waiting 10:19:48 2437ff75d9bd: Waiting 10:19:48 f23df028b6ca: Waiting 10:19:48 04944245beec: Verifying Checksum 10:19:48 04944245beec: Download complete 10:19:48 765212b225bb: Verifying Checksum 10:19:48 765212b225bb: Download complete 10:19:48 f23df028b6ca: Verifying Checksum 10:19:48 f23df028b6ca: Download complete 10:19:48 d65c8cfc05b1: Verifying Checksum 10:19:48 d65c8cfc05b1: Download complete 10:19:48 699f458cf7ca: Verifying Checksum 10:19:48 699f458cf7ca: Download complete 10:19:48 8998bd30e6a1: Download complete 10:19:51 2437ff75d9bd: Verifying Checksum 10:19:51 2437ff75d9bd: Download complete 10:19:53 8998bd30e6a1: Pull complete 10:19:53 04944245beec: Pull complete 10:19:55 699f458cf7ca: Pull complete 10:19:55 765212b225bb: Pull complete 10:19:56 f23df028b6ca: Pull complete 10:19:56 d65c8cfc05b1: Pull complete 10:20:11 2437ff75d9bd: Pull complete 10:20:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:11 prd-ubuntu20.04-docker-arm64-4c-16g-20479 does not seem to be running inside a container 10:20:11 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:20:14 $ docker top ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:15 ---> job-cost.sh 10:20:15 lf-activate-venv: SKIPPING 10:20:15 INFO: No Stack... 10:20:15 INFO: Retrieving Pricing Info for: v3-standard-4 10:20:16 INFO: Archiving Costs [Pipeline] sh 10:20:17 + cut -d, -f6 10:20:17 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock 10:20:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] 10:20:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] did not exist. Created. 10:20:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:17 /w/workspace/device-onvif-camera/7@tmp/durable-5e6e28ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:20:18 + echo total: 0.10999999940395355 [Pipeline] stash 10:20:18 Warning: overwriting stash ‘stack-cost’ 10:20:18 Stashed 1 file(s) [Pipeline] } 10:20:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-100-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:18 $ docker stop --time=1 ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e 10:20:20 $ docker rm -f ed97f9510f186757014106bab4190b9ca40b61ba2f6b6e5f7b9f8c53fd81243e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:20:20 provisioning config files... 10:20:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config553125180824717057tmp [Pipeline] { [Pipeline] sh 10:20:21 + set +x 10:20:21 + curl -s https://codecov.io/bash 10:20:21 + bash -s -- 10:20:21 10:20:21 _____ _ 10:20:21 / ____| | | 10:20:21 | | ___ __| | ___ ___ _____ __ 10:20:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:20:21 | |___| (_) | (_| | __/ (_| (_) \ V / 10:20:21 \_____\___/ \__,_|\___|\___\___/ \_/ 10:20:21 Bash-1.0.6 10:20:21 10:20:21 10:20:21 ==> git version 2.25.1 found 10:20:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:20:21 Release-Date: 2020-01-08 10:20:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:20:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:20:21 ==> Jenkins CI detected. 10:20:21 current dir:  /w/workspace/undry_device-onvif-camera_PR-100 10:20:21 project root: . 10:20:21 --> token set from env 10:20:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:20:21 ==> Running gcov in . (disable via -X gcov) 10:20:21 ==> Python coveragepy not found 10:20:21 ==> Searching for coverage reports in: 10:20:21 + . 10:20:21 -> Found 1 reports 10:20:21 ==> Detecting git/mercurial file structure 10:20:21 ==> Reading reports 10:20:21 + ./coverage.out bytes=70262 10:20:21 ==> Appending adjustments 10:20:21 https://docs.codecov.io/docs/fixing-reports 10:20:21 + Found adjustments 10:20:21 ==> Gzipping contents 10:20:21 12K /tmp/codecov.uPx7WS.gz 10:20:21 ==> Uploading reports 10:20:21 url: https://codecov.io 10:20:21 query: branch=PR-100&commit=2f30201d05cab50f648b01fd43d4ce7e7a560d7e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= 10:20:21 -> Pinging Codecov 10:20:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-100&commit=2f30201d05cab50f648b01fd43d4ce7e7a560d7e&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-100%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=100&job=&cmd_args= 10:20:21 -> Uploading to 10:20:21 https://storage.googleapis.com/codecov/v4/raw/2022-07-19/F29A59C45E3A92E06B3E522C9905F8EF/2f30201d05cab50f648b01fd43d4ce7e7a560d7e/1a0c0a59-9b48-4cd3-baf5-167413906ddb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T102021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7695f9c362312354d0a2ec92fa0cd3076ec6139c85a38efffa4d49b36d0f47b7 10:20:21 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:21 Dload Upload Total Spent Left Speed 10:20:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9535 0 0 100 9535 0 38447 --:--:-- --:--:-- --:--:-- 38447 10:20:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2f30201d05cab50f648b01fd43d4ce7e7a560d7e [Pipeline] } 10:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:20:22 + [ -d /w/workspace/undry_device-onvif-camera_PR-100/archives ] 10:20:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives 10:20:22 total 16 10:20:22 drwxr-xr-x 3 root root 4096 Jul 19 10:12 . 10:20:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:12 .. 10:20:22 drwxr-xr-x 2 root root 4096 Jul 19 10:12 cost 10:20:22 -rw-r--r-- 1 root root 90 Jul 19 10:12 cost.csv 10:20:22 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-100/archives 10:20:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-100/archives 10:20:22 total 16 10:20:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:12 . 10:20:22 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:12 .. 10:20:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 10:12 cost 10:20:22 -rw-r--r-- 1 jenkins jenkins 90 Jul 19 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:23 ---> package-listing.sh 10:20:23 ++ facter osfamily 10:20:23 ++ tr '[:upper:]' '[:lower:]' 10:20:24 + OS_FAMILY=debian 10:20:24 + workspace=/w/workspace/undry_device-onvif-camera_PR-100 10:20:24 + START_PACKAGES=/tmp/packages_start.txt 10:20:24 + END_PACKAGES=/tmp/packages_end.txt 10:20:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:24 + PACKAGES=/tmp/packages_start.txt 10:20:24 + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' 10:20:24 + PACKAGES=/tmp/packages_end.txt 10:20:24 + case "${OS_FAMILY}" in 10:20:24 + dpkg -l 10:20:24 + grep '^ii' 10:20:24 + '[' -f /tmp/packages_start.txt ']' 10:20:24 + '[' -f /tmp/packages_end.txt ']' 10:20:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:24 + '[' /w/workspace/undry_device-onvif-camera_PR-100 ']' 10:20:24 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-100/archives/ 10:20:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-100/archives/ [Pipeline] echo 10:20:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:20:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:24 prd-ubuntu20.04-docker-8c-8g-20477 does not seem to be running inside a container 10:20:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-100 -v /w/workspace/undry_device-onvif-camera_PR-100:/w/workspace/undry_device-onvif-camera_PR-100:rw,z -v /w/workspace/undry_device-onvif-camera_PR-100@tmp:/w/workspace/undry_device-onvif-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:20:25 $ docker top f0d672bc0ba7dffb5f14daacc6390875ff186e87a8984e25b7862448dab92d87 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:26 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:26 + mkdir -p /var/log/sysstat [Pipeline] sh 10:20:26 + ls /var/log/sa-host 10:20:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:27 provisioning config files... 10:20:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-100@tmp/config6965639632339528003tmp [Pipeline] { [Pipeline] echo 10:20:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:27 ---> create-netrc.sh [Pipeline] } 10:20:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:20:27 ---> python-tools-install.sh [Pipeline] echo 10:20:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:27 ---> sudo-logs.sh 10:20:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:28 ---> job-cost.sh 10:20:28 lf-activate-venv: SKIPPING 10:20:28 DEBUG: total: 0.2199999988079071 10:20:28 INFO: Retrieving Stack Cost... 10:20:28 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:29 INFO: Archiving Costs [Pipeline] echo 10:20:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:29 ---> logs-deploy.sh 10:20:29 lf-activate-venv: SKIPPING 10:20:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-100/7 10:20:29 INFO: archiving workspace using pattern(s): 10:20:30 Archives upload complete. 10:20:30 INFO: archiving logs to Nexus 10:20:31 ---> uname -a: 10:20:31 Linux prd-ubuntu20-04-docker-8c-8g-20477 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:20:31 10:20:31 10:20:31 ---> lscpu: 10:20:31 Architecture: x86_64 10:20:31 CPU op-mode(s): 32-bit, 64-bit 10:20:31 Byte Order: Little Endian 10:20:31 Address sizes: 40 bits physical, 48 bits virtual 10:20:31 CPU(s): 8 10:20:31 On-line CPU(s) list: 0-7 10:20:31 Thread(s) per core: 1 10:20:31 Core(s) per socket: 1 10:20:31 Socket(s): 8 10:20:31 NUMA node(s): 1 10:20:31 Vendor ID: AuthenticAMD 10:20:31 CPU family: 23 10:20:31 Model: 49 10:20:31 Model name: AMD EPYC-Rome Processor 10:20:31 Stepping: 0 10:20:31 CPU MHz: 2800.000 10:20:31 BogoMIPS: 5600.00 10:20:31 Virtualization: AMD-V 10:20:31 Hypervisor vendor: KVM 10:20:31 Virtualization type: full 10:20:31 L1d cache: 256 KiB 10:20:31 L1i cache: 256 KiB 10:20:31 L2 cache: 4 MiB 10:20:31 L3 cache: 128 MiB 10:20:31 NUMA node0 CPU(s): 0-7 10:20:31 Vulnerability Itlb multihit: Not affected 10:20:31 Vulnerability L1tf: Not affected 10:20:31 Vulnerability Mds: Not affected 10:20:31 Vulnerability Meltdown: Not affected 10:20:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:20:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:20:31 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:20:31 Vulnerability Srbds: Not affected 10:20:31 Vulnerability Tsx async abort: Not affected 10:20:31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:20:31 10:20:31 10:20:31 ---> nproc: 10:20:31 8 10:20:31 10:20:31 10:20:31 ---> df -h: 10:20:31 Filesystem Size Used Avail Use% Mounted on 10:20:31 overlay 155G 11G 145G 7% / 10:20:31 tmpfs 64M 0 64M 0% /dev 10:20:31 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:20:31 shm 64M 0 64M 0% /dev/shm 10:20:31 /dev/vda1 155G 11G 145G 7% /facter-os 10:20:31 10:20:31 10:20:31 ---> sar -b -r -n DEV: 10:20:31 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20477) 07/19/22 _x86_64_ (8 CPU) 10:20:31 10:20:31 10:09:42 LINUX RESTART (8 CPU) 10:20:31 10:20:31 10:10:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:20:31 10:11:01 413.18 51.52 361.66 0.00 6896.72 173683.34 0.00 10:20:31 10:12:01 153.22 1.05 152.17 0.00 13.73 39003.80 0.00 10:20:31 10:13:01 113.38 0.03 113.35 0.00 3.60 33954.15 0.00 10:20:31 10:14:01 2.52 0.00 2.52 0.00 0.00 28.66 0.00 10:20:31 10:15:01 1.67 0.02 1.65 0.00 0.13 19.20 0.00 10:20:31 10:16:01 2.20 0.00 2.20 0.00 0.00 24.66 0.00 10:20:31 10:17:01 1.52 0.02 1.50 0.00 0.13 16.80 0.00 10:20:31 10:18:01 2.37 0.00 2.37 0.00 0.00 26.26 0.00 10:20:31 10:19:01 1.50 0.00 1.50 0.00 0.00 16.53 0.00 10:20:31 10:20:01 2.35 0.00 2.35 0.00 0.00 30.52 0.00 10:20:31 Average: 69.39 5.26 64.13 0.00 691.39 24679.96 0.00 10:20:31 10:20:31 10:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:20:31 10:11:01 28816252 31731488 566840 1.72 120484 3059608 2340576 6.90 1149212 2527536 4184 10:20:31 10:12:01 28081148 31522696 766052 2.33 165148 3473772 2833800 8.35 1582428 2754444 72292 10:20:31 10:13:01 27642160 31750804 539924 1.64 175304 4081704 1970348 5.81 1369336 3356856 168 10:20:31 10:14:01 27642900 31751684 538836 1.64 175368 4081712 1970348 5.81 1368412 3356860 4 10:20:31 10:15:01 27651980 31760832 529752 1.61 175444 4081712 1970348 5.81 1359728 3356872 12 10:20:31 10:16:01 27652744 31761668 528828 1.61 175508 4081724 1970348 5.81 1359464 3356876 12 10:20:31 10:17:01 27660104 31769092 521356 1.59 175568 4081720 1970348 5.81 1350796 3356876 12 10:20:31 10:18:01 27660628 31770188 520340 1.58 175620 4081724 1970348 5.81 1350336 3357380 12 10:20:31 10:19:01 27660628 31770248 520268 1.58 175680 4081728 1970348 5.81 1350116 3357384 12 10:20:31 10:20:01 27660612 31770336 520124 1.58 175784 4081724 1970348 5.81 1350220 3357400 56 10:20:31 Average: 27812916 31735904 555232 1.69 168991 3918713 2093716 6.17 1359005 3213848 7676 10:20:31 10:20:31 10:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:20:31 10:11:01 veth529e54b 52.72 67.46 4.98 47.58 0.00 0.00 0.00 0.00 10:20:31 10:11:01 ens3 883.50 585.77 7529.26 121.80 0.00 0.00 0.00 0.00 10:20:31 10:11:01 docker0 64.97 81.04 5.12 134.75 0.00 0.00 0.00 0.00 10:20:31 10:11:01 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 10:20:31 10:12:01 ens3 150.97 120.39 1086.39 73.42 0.00 0.00 0.00 0.00 10:20:31 10:12:01 veth554a179 0.05 0.18 0.00 0.01 0.00 0.00 0.00 0.00 10:20:31 10:12:01 docker0 70.19 77.57 5.37 1032.47 0.00 0.00 0.00 0.00 10:20:31 10:12:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 10:20:31 10:13:01 ens3 132.42 91.57 2628.21 59.62 0.00 0.00 0.00 0.00 10:20:31 10:13:01 docker0 2.93 5.83 0.19 53.84 0.00 0.00 0.00 0.00 10:20:31 10:13:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 10:20:31 10:14:01 ens3 0.73 0.13 0.06 0.01 0.00 0.00 0.00 0.00 10:20:31 10:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 10:15:01 ens3 0.60 0.50 0.35 0.27 0.00 0.00 0.00 0.00 10:20:31 10:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:16:01 ens3 0.30 0.20 0.09 0.07 0.00 0.00 0.00 0.00 10:20:31 10:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 10:17:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:18:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 10:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 10:19:01 ens3 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:20:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 10:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:20:31 10:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:20:31 Average: ens3 116.88 79.88 1124.42 25.52 0.00 0.00 0.00 0.00 10:20:31 Average: docker0 13.81 16.44 1.07 122.12 0.00 0.00 0.00 0.00 10:20:31 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 10:20:31 10:20:31 10:20:31 ---> sar -P ALL: 10:20:31 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20477) 07/19/22 _x86_64_ (8 CPU) 10:20:31 10:20:31 10:09:42 LINUX RESTART (8 CPU) 10:20:31 10:20:31 10:10:01 CPU %user %nice %system %iowait %steal %idle 10:20:31 10:11:01 all 11.95 0.00 4.87 2.52 0.07 80.59 10:20:31 10:11:01 0 12.08 0.00 4.73 3.84 0.08 79.27 10:20:31 10:11:01 1 11.10 0.00 4.45 1.91 0.05 82.48 10:20:31 10:11:01 2 11.74 0.00 4.92 2.40 0.07 80.87 10:20:31 10:11:01 3 12.70 0.00 5.21 2.91 0.07 79.11 10:20:31 10:11:01 4 9.63 0.00 5.74 1.08 0.05 83.49 10:20:31 10:11:01 5 12.84 0.00 4.17 2.91 0.07 80.02 10:20:31 10:11:01 6 13.34 0.00 4.92 0.69 0.07 80.98 10:20:31 10:11:01 7 12.18 0.00 4.84 4.43 0.08 78.46 10:20:31 10:12:01 all 33.13 0.00 6.61 1.18 0.08 59.00 10:20:31 10:12:01 0 33.41 0.00 6.08 0.35 0.07 60.09 10:20:31 10:12:01 1 33.38 0.00 6.53 0.59 0.10 59.39 10:20:31 10:12:01 2 31.97 0.00 6.19 0.19 0.07 61.58 10:20:31 10:12:01 3 31.89 0.00 6.89 0.66 0.08 60.47 10:20:31 10:12:01 4 34.96 0.00 5.99 0.94 0.08 58.02 10:20:31 10:12:01 5 34.59 0.00 8.01 6.14 0.08 51.17 10:20:31 10:12:01 6 33.11 0.00 6.65 0.34 0.08 59.82 10:20:31 10:12:01 7 31.72 0.00 6.50 0.25 0.08 61.44 10:20:31 10:13:01 all 16.05 0.00 3.53 0.84 0.04 79.54 10:20:31 10:13:01 0 15.82 0.00 3.85 2.12 0.05 78.16 10:20:31 10:13:01 1 15.59 0.00 3.84 0.32 0.03 80.21 10:20:31 10:13:01 2 17.33 0.00 3.65 1.19 0.03 77.80 10:20:31 10:13:01 3 16.11 0.00 3.79 0.02 0.03 80.05 10:20:31 10:13:01 4 15.52 0.00 3.10 0.80 0.03 80.54 10:20:31 10:13:01 5 16.07 0.00 3.40 0.17 0.05 80.31 10:20:31 10:13:01 6 15.42 0.00 3.30 0.19 0.03 81.06 10:20:31 10:13:01 7 16.56 0.00 3.28 1.95 0.05 78.16 10:20:31 10:14:01 all 0.01 0.00 0.01 0.01 0.01 99.96 10:20:31 10:14:01 0 0.03 0.00 0.00 0.00 0.00 99.97 10:20:31 10:14:01 1 0.00 0.00 0.02 0.00 0.00 99.98 10:20:31 10:14:01 2 0.00 0.00 0.02 0.05 0.00 99.93 10:20:31 10:14:01 3 0.00 0.00 0.02 0.00 0.02 99.97 10:20:31 10:14:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:14:01 6 0.02 0.00 0.02 0.03 0.02 99.92 10:20:31 10:14:01 7 0.03 0.00 0.03 0.00 0.02 99.92 10:20:31 10:15:01 all 0.04 0.00 0.02 0.01 0.00 99.93 10:20:31 10:15:01 0 0.03 0.00 0.00 0.02 0.00 99.95 10:20:31 10:15:01 1 0.02 0.00 0.02 0.00 0.02 99.95 10:20:31 10:15:01 2 0.03 0.00 0.05 0.02 0.02 99.88 10:20:31 10:15:01 3 0.03 0.00 0.00 0.00 0.00 99.97 10:20:31 10:15:01 4 0.05 0.00 0.03 0.00 0.00 99.92 10:20:31 10:15:01 5 0.02 0.00 0.03 0.00 0.00 99.95 10:20:31 10:15:01 6 0.08 0.00 0.03 0.03 0.00 99.85 10:20:31 10:15:01 7 0.03 0.00 0.02 0.00 0.00 99.95 10:20:31 10:16:01 all 0.00 0.00 0.01 0.01 0.01 99.97 10:20:31 10:16:01 0 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:16:01 1 0.00 0.00 0.02 0.00 0.00 99.98 10:20:31 10:16:01 2 0.00 0.00 0.02 0.02 0.00 99.97 10:20:31 10:16:01 3 0.00 0.00 0.00 0.00 0.02 99.98 10:20:31 10:16:01 4 0.00 0.00 0.03 0.00 0.02 99.95 10:20:31 10:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:16:01 6 0.02 0.00 0.02 0.03 0.02 99.92 10:20:31 10:16:01 7 0.00 0.00 0.00 0.00 0.02 99.98 10:20:31 10:17:01 all 0.03 0.00 0.02 0.01 0.00 99.95 10:20:31 10:17:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:20:31 10:17:01 1 0.03 0.00 0.00 0.00 0.00 99.97 10:20:31 10:17:01 2 0.02 0.00 0.03 0.02 0.00 99.93 10:20:31 10:17:01 3 0.03 0.00 0.05 0.00 0.00 99.92 10:20:31 10:17:01 4 0.02 0.00 0.02 0.00 0.00 99.97 10:20:31 10:17:01 5 0.03 0.00 0.00 0.00 0.00 99.97 10:20:31 10:17:01 6 0.05 0.00 0.03 0.03 0.02 99.87 10:20:31 10:17:01 7 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:18:01 all 0.01 0.00 0.00 0.01 0.00 99.97 10:20:31 10:18:01 0 0.03 0.00 0.00 0.00 0.00 99.97 10:20:31 10:18:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:18:01 3 0.00 0.00 0.00 0.00 0.02 99.98 10:20:31 10:18:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:18:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:18:01 6 0.03 0.00 0.03 0.05 0.02 99.87 10:20:31 10:18:01 7 0.00 0.00 0.00 0.03 0.00 99.97 10:20:31 10:19:01 all 0.02 0.00 0.01 0.01 0.00 99.95 10:20:31 10:19:01 0 0.02 0.00 0.02 0.00 0.02 99.95 10:20:31 10:19:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:19:01 2 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:19:01 3 0.07 0.00 0.02 0.00 0.00 99.92 10:20:31 10:19:01 4 0.00 0.00 0.02 0.00 0.00 99.98 10:20:31 10:19:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:19:01 6 0.05 0.00 0.03 0.07 0.02 99.83 10:20:31 10:19:01 7 0.03 0.00 0.00 0.03 0.00 99.93 10:20:31 10:20:01 all 0.08 0.00 0.01 0.01 0.01 99.89 10:20:31 10:20:01 0 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 10:20:31 10:20:01 2 0.00 0.00 0.00 0.00 0.02 99.98 10:20:31 10:20:01 3 0.58 0.00 0.02 0.00 0.02 99.38 10:20:31 10:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:20:31 10:20:01 6 0.03 0.00 0.03 0.07 0.02 99.85 10:20:31 10:20:01 7 0.00 0.00 0.02 0.03 0.00 99.95 10:20:31 Average: all 6.08 0.00 1.50 0.46 0.02 91.94 10:20:31 Average: 0 6.10 0.00 1.46 0.63 0.02 91.80 10:20:31 Average: 1 5.96 0.00 1.47 0.28 0.02 92.27 10:20:31 Average: 2 6.05 0.00 1.48 0.38 0.02 92.07 10:20:31 Average: 3 6.11 0.00 1.59 0.36 0.03 91.92 10:20:31 Average: 4 5.98 0.00 1.48 0.28 0.02 92.24 10:20:31 Average: 5 6.31 0.00 1.55 0.91 0.02 91.21 10:20:31 Average: 6 6.16 0.00 1.50 0.15 0.03 92.16 10:20:31 Average: 7 6.00 0.00 1.45 0.67 0.03 91.85 10:20:31 10:20:31 10:20:31