Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than ebabbf76e038923d77d44b5ad1d89d59c35e19d2 Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh3286829711162327746.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11043895188253212684.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2772584385862690492.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14846879050077059132.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14557758099067888625.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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 ‘prd-ubuntu20.04-docker-8c-8g-24242’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24250 in /w/workspace/undry_device-onvif-camera_PR-149 [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-149 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit ebabbf76e038923d77d44b5ad1d89d59c35e19d2 Merge succeeded, producing 143207b47ddca836de249d0363aebac6de0213fc Checking out Revision 143207b47ddca836de249d0363aebac6de0213fc (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebabbf76e038923d77d44b5ad1d89d59c35e19d2 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 143207b47ddca836de249d0363aebac6de0213fc # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk ab1ac445f23d77e68ee9d148ae88075f5132a465 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:10 ========================================================= 22:19:10 EdgeX Global Pipelines Version Info 22:19:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:11 ------------------- 22:19:11 stable info: 22:19:11 ------------------- 22:19:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:11 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:19:11 Message: update stable to v1.0.239 22:19:11 ------------------- 22:19:11 experimental info: 22:19:11 ------------------- 22:19:11 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:11 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:19:11 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 143207b47ddca836de249d0363aebac6de0213fc [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 143207b [Pipeline] echo 22:19:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:12 provisioning config files... 22:19:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5870067431353716892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:12 ---> docker-login.sh 22:19:12 nexus3.edgexfoundry.org:10001 22:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 nexus3.edgexfoundry.org:10002 22:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 nexus3.edgexfoundry.org:10003 22:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 nexus3.edgexfoundry.org:10004 22:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 docker.io 22:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:13 Configure a credential helper to remove this warning. See 22:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:13 22:19:13 Login Succeeded 22:19:13 ---> docker-login.sh ends [Pipeline] } 22:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:14 + git rev-list -1 --merges 143207b47ddca836de249d0363aebac6de0213fc~1..143207b47ddca836de249d0363aebac6de0213fc [Pipeline] echo 22:19:14 -----------> git rev-list -1 --merges 143207b47ddca836de249d0363aebac6de0213fc~1..143207b47ddca836de249d0363aebac6de0213fc 143207b47ddca836de249d0363aebac6de0213fc 22:19:14 143207b47ddca836de249d0363aebac6de0213fc [false] [Pipeline] sh 22:19:14 + git log --format=format:%s -1 143207b47ddca836de249d0363aebac6de0213fc [Pipeline] echo 22:19:14 ========================================================= 22:19:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:14 + git log --format=format:%s -1 143207b47ddca836de249d0363aebac6de0213fc [Pipeline] echo 22:19:14 [semverPrep] GIT_COMMIT: 143207b47ddca836de249d0363aebac6de0213fc, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo 22:19:14 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:15 + grep -v github /etc/ssh/ssh_known_hosts 22:19:15 + [ -e /tmp/ssh_known_hosts ] 22:19:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:15 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:15 sudo tee -a /etc/ssh/ssh_known_hosts 22:19:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:15 22:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:16 0.1.4: Pulling from edgex-devops/py-git-semver 22:19:16 b85a868b505f: Pulling fs layer 22:19:16 e2be974225ed: Pulling fs layer 22:19:16 339a4e72a1f5: Pulling fs layer 22:19:16 988bab9f4d93: Pulling fs layer 22:19:16 1469e6f7b9e6: Pulling fs layer 22:19:16 eaf3925da568: Pulling fs layer 22:19:16 bab4dde63d76: Pulling fs layer 22:19:16 bde34c3a00c8: Pulling fs layer 22:19:16 b352a97aabf1: Pulling fs layer 22:19:16 4872d77fe225: Pulling fs layer 22:19:16 5851b861e8e6: Pulling fs layer 22:19:16 bab4dde63d76: Waiting 22:19:16 1469e6f7b9e6: Waiting 22:19:16 bde34c3a00c8: Waiting 22:19:16 b352a97aabf1: Waiting 22:19:16 4872d77fe225: Waiting 22:19:16 5851b861e8e6: Waiting 22:19:16 eaf3925da568: Waiting 22:19:16 988bab9f4d93: Waiting 22:19:16 e2be974225ed: Verifying Checksum 22:19:16 e2be974225ed: Download complete 22:19:16 988bab9f4d93: Verifying Checksum 22:19:16 988bab9f4d93: Download complete 22:19:16 1469e6f7b9e6: Verifying Checksum 22:19:16 1469e6f7b9e6: Download complete 22:19:16 339a4e72a1f5: Verifying Checksum 22:19:16 339a4e72a1f5: Download complete 22:19:16 eaf3925da568: Download complete 22:19:16 bde34c3a00c8: Verifying Checksum 22:19:16 bde34c3a00c8: Download complete 22:19:16 b352a97aabf1: Download complete 22:19:16 4872d77fe225: Verifying Checksum 22:19:16 4872d77fe225: Download complete 22:19:16 5851b861e8e6: Verifying Checksum 22:19:16 5851b861e8e6: Download complete 22:19:16 b85a868b505f: Verifying Checksum 22:19:16 b85a868b505f: Download complete 22:19:16 bab4dde63d76: Verifying Checksum 22:19:16 bab4dde63d76: Download complete 22:19:17 b85a868b505f: Pull complete 22:19:17 e2be974225ed: Pull complete 22:19:18 339a4e72a1f5: Pull complete 22:19:18 988bab9f4d93: Pull complete 22:19:18 1469e6f7b9e6: Pull complete 22:19:18 eaf3925da568: Pull complete 22:19:20 bab4dde63d76: Pull complete 22:19:20 bde34c3a00c8: Pull complete 22:19:20 b352a97aabf1: Pull complete 22:19:20 4872d77fe225: Pull complete 22:19:21 5851b861e8e6: Pull complete 22:19:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:21 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 22:19:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:23 $ docker top 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 -eo pid,comm 22:19:23 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). 22:19:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:23 [ssh-agent] Looking for ssh-agent implementation... 22:19:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:23 $ docker exec 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 ssh-agent 22:19:23 SSH_AUTH_SOCK=/tmp/ssh-HZwG2wCMzYhJ/agent.32 22:19:23 SSH_AGENT_PID=39 22:19:23 Running ssh-add (command line suppressed) 22:19:23 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1664047024658560861.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1664047024658560861.key) 22:19:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:24 + git tag --points-at HEAD [Pipeline] } 22:19:24 $ docker exec --env ******** --env ******** 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 ssh-agent -k 22:19:24 unset SSH_AUTH_SOCK; 22:19:24 unset SSH_AGENT_PID; 22:19:24 echo Agent pid 39 killed; 22:19:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:24 [ssh-agent] Looking for ssh-agent implementation... 22:19:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:24 $ docker exec 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 ssh-agent 22:19:24 SSH_AUTH_SOCK=/tmp/ssh-0RAU6AqL6PTu/agent.71 22:19:24 SSH_AGENT_PID=78 22:19:24 Running ssh-add (command line suppressed) 22:19:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1356794123349547005.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1356794123349547005.key) 22:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:25 + git semver init 22:19:25 2022-08-31 22:19:25,310 [run_init] DEBUG init version:0.0.0 force:False 22:19:25 2022-08-31 22:19:25,311 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 22:19:25 2022-08-31 22:19:25,311 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 22:19:25 2022-08-31 22:19:25,311 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) 22:19:26 2022-08-31 22:19:26,198 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 22:19:26 2022-08-31 22:19:26,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 22:19:26 2022-08-31 22:19:26,198 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 22:19:26 2022-08-31 22:19:26,203 [execute] INFO git cat-file --batch-check 22:19:26 2022-08-31 22:19:26,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 22:19:26 2022-08-31 22:19:26,210 [execute] INFO git cat-file --batch 22:19:26 2022-08-31 22:19:26,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 22:19:26 2022-08-31 22:19:26,215 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 22:19:26 0.0.0 [Pipeline] } 22:19:26 $ docker exec --env ******** --env ******** 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 ssh-agent -k 22:19:26 unset SSH_AUTH_SOCK; 22:19:26 unset SSH_AGENT_PID; 22:19:26 echo Agent pid 78 killed; 22:19:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:26 + git semver [Pipeline] } 22:19:27 $ docker stop --time=1 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 22:19:28 $ docker rm -f 9ecf63661989c862ed3db30ce135145bd419c892b77ecf8551e4fc9cb7dd7fa0 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:19:28 Stashed 1 file(s) [Pipeline] echo 22:19:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:29 provisioning config files... 22:19:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config3062447134103716982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:29 ---> docker-login.sh 22:19:29 nexus3.edgexfoundry.org:10001 22:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:29 Configure a credential helper to remove this warning. See 22:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:29 22:19:29 Login Succeeded 22:19:29 nexus3.edgexfoundry.org:10002 22:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:29 Configure a credential helper to remove this warning. See 22:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:29 22:19:29 Login Succeeded 22:19:29 nexus3.edgexfoundry.org:10003 22:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:29 Configure a credential helper to remove this warning. See 22:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:29 22:19:29 Login Succeeded 22:19:29 nexus3.edgexfoundry.org:10004 22:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:29 Configure a credential helper to remove this warning. See 22:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:29 22:19:29 Login Succeeded 22:19:29 docker.io 22:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:30 Configure a credential helper to remove this warning. See 22:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:30 22:19:30 Login Succeeded 22:19:30 ---> docker-login.sh ends [Pipeline] } 22:19:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:30 ========================================================= 22:19:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:19:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:30 + 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 . 22:19:30 Sending build context to Docker daemon 20.72MB 22:19:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:19:30 Step 2/13 : FROM ${BASE} AS builder 22:19:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:30 2408cc74d12b: Pulling fs layer 22:19:30 ea60b727a1ce: Pulling fs layer 22:19:30 30c4a7721957: Pulling fs layer 22:19:30 370296b7ddb6: Pulling fs layer 22:19:30 7c6cee850709: Pulling fs layer 22:19:30 39a5fcdaea64: Pulling fs layer 22:19:30 d94ebbe4e438: Pulling fs layer 22:19:30 bcfd1f05c69d: Pulling fs layer 22:19:30 59ccb84bbe0f: Pulling fs layer 22:19:30 d94ebbe4e438: Waiting 22:19:30 370296b7ddb6: Waiting 22:19:30 bcfd1f05c69d: Waiting 22:19:30 59ccb84bbe0f: Waiting 22:19:30 7c6cee850709: Waiting 22:19:30 39a5fcdaea64: Waiting 22:19:30 30c4a7721957: Verifying Checksum 22:19:30 30c4a7721957: Download complete 22:19:30 ea60b727a1ce: Download complete 22:19:30 7c6cee850709: Verifying Checksum 22:19:30 7c6cee850709: Download complete 22:19:30 39a5fcdaea64: Verifying Checksum 22:19:30 39a5fcdaea64: Download complete 22:19:30 2408cc74d12b: Verifying Checksum 22:19:30 d94ebbe4e438: Verifying Checksum 22:19:30 d94ebbe4e438: Download complete 22:19:31 2408cc74d12b: Pull complete 22:19:31 ea60b727a1ce: Pull complete 22:19:31 30c4a7721957: Pull complete 22:19:31 59ccb84bbe0f: Verifying Checksum 22:19:31 59ccb84bbe0f: Download complete 22:19:31 bcfd1f05c69d: Verifying Checksum 22:19:31 bcfd1f05c69d: Download complete 22:19:31 370296b7ddb6: Verifying Checksum 22:19:31 370296b7ddb6: Download complete 22:19:35 370296b7ddb6: Pull complete 22:19:35 7c6cee850709: Pull complete 22:19:35 39a5fcdaea64: Pull complete 22:19:36 d94ebbe4e438: Pull complete 22:19:38 bcfd1f05c69d: Pull complete 22:19:38 59ccb84bbe0f: Pull complete 22:19:38 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:19:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:19:38 ---> a4fb48ad2a94 22:19:38 Step 3/13 : ARG MAKE="make build" 22:19:42 ---> Running in b20a5485f4d5 22:19:42 Removing intermediate container b20a5485f4d5 22:19:42 ---> 3de4a6d061f8 22:19:42 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:19:42 ---> Running in d231c80f5baf 22:19:42 Removing intermediate container d231c80f5baf 22:19:42 ---> d407d552b2d9 22:19:42 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:19:42 ---> Running in 122dd20f4323 22:19:42 Removing intermediate container 122dd20f4323 22:19:42 ---> 0386cc51ff2b 22:19:42 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:19:42 ---> Running in d474a4a89a81 22:19:42 Removing intermediate container d474a4a89a81 22:19:42 ---> 484afba2db64 22:19:42 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:19:42 ---> Running in 2f2866a13cd7 22:19:42 Removing intermediate container 2f2866a13cd7 22:19:42 ---> 09a96dc6285a 22:19:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:42 ---> Running in 5d1d6b3443e1 22:19:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:19:44 Still waiting to schedule task 22:19:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24248’ is offline 22:19:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:19:44 OK: 211 MiB in 51 packages 22:19:44 Removing intermediate container 5d1d6b3443e1 22:19:44 ---> ff113950e76f 22:19:44 Step 9/13 : WORKDIR /device-onvif-camera 22:19:44 ---> Running in f7a7b97a4d5a 22:19:44 Removing intermediate container f7a7b97a4d5a 22:19:44 ---> fcd5be61feb0 22:19:44 Step 10/13 : COPY go.mod vendor* ./ 22:19:44 ---> 35f7e9ef6eb4 22:19:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:44 ---> Running in ccebd2ba5cf5 22:20:06 Removing intermediate container ccebd2ba5cf5 22:20:06 ---> 11129acf961d 22:20:06 Step 12/13 : COPY . . 22:20:06 ---> 71640134b7de 22:20:06 Step 13/13 : RUN ${MAKE} 22:20:06 ---> Running in a814ac2f2e88 22:20:06 noop 22:20:06 Removing intermediate container a814ac2f2e88 22:20:06 ---> d0dc135699fd 22:20:06 Successfully built d0dc135699fd 22:20:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:07 + docker inspect -f . ci-base-image-x86_64 22:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:07 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 22:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:07 $ docker top b36ee5e58e08207f7ca5b6414c4022df2379fe96eb8efc33912f60a615034f9c -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:07 + go version 22:20:07 go version go1.18.3 linux/amd64 [Pipeline] } 22:20:08 $ docker stop --time=1 b36ee5e58e08207f7ca5b6414c4022df2379fe96eb8efc33912f60a615034f9c 22:20:09 $ docker rm -f b36ee5e58e08207f7ca5b6414c4022df2379fe96eb8efc33912f60a615034f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:09 + docker inspect -f . ci-base-image-x86_64 22:20:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:09 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 22:20:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:10 $ docker top db72470025254d71c52dea41a73ea5233391ac4fb8465b6aeb4cd389ce2b51a3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:10 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 22:20:10 + make test 22:20:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:20:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements 22:20:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.614s coverage: 13.8% of statements 22:20:33 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:20:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:20:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:20:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:20:36 ./bin/test-attribution-txt.sh [Pipeline] echo 22:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:20:36 $ docker stop --time=1 db72470025254d71c52dea41a73ea5233391ac4fb8465b6aeb4cd389ce2b51a3 22:20:38 $ docker rm -f db72470025254d71c52dea41a73ea5233391ac4fb8465b6aeb4cd389ce2b51a3 [Pipeline] // withDockerContainer [Pipeline] sh 22:20:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:20:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:20:39 + ls -al . 22:20:39 total 232 22:20:39 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 22:20 . 22:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:19 .. 22:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:20 .git 22:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:19 .github 22:20:39 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 22:19 .gitignore 22:20:39 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:19 .golangci.yml 22:20:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:19 .semver 22:20:39 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 22:19 Attribution.txt 22:20:39 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 22:19 CHANGELOG.md 22:20:39 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 22:19 Dockerfile 22:20:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:19 GOVERNANCE.md 22:20:39 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 22:19 Jenkinsfile 22:20:39 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:19 LICENSE 22:20:39 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 22:19 Makefile 22:20:39 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:19 OWNERS.md 22:20:39 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 22:19 README.md 22:20:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:19 VERSION 22:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:19 bin 22:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:19 cmd 22:20:39 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 22:20 coverage.out 22:20:39 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 22:19 doc 22:20:39 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 22:19 go.mod 22:20:39 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 22:19 go.sum 22:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:19 internal 22:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:19 snap 22:20:39 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:39 + 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=143207b47ddca836de249d0363aebac6de0213fc --label arch=amd64 --label version=0.0.0 . 22:20:39 Sending build context to Docker daemon 20.8MB 22:20:39 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:20:39 Step 2/26 : FROM ${BASE} AS builder 22:20:39 ---> d0dc135699fd 22:20:39 Step 3/26 : ARG MAKE="make build" 22:20:40 ---> Running in 3caf65f4cbb4 22:20:40 Removing intermediate container 3caf65f4cbb4 22:20:40 ---> 31587de06e35 22:20:40 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:20:40 ---> Running in d691033892b4 22:20:40 Removing intermediate container d691033892b4 22:20:40 ---> 2e2c21ecfdf5 22:20:40 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:20:40 ---> Running in 99b9b7ba2844 22:20:40 Removing intermediate container 99b9b7ba2844 22:20:40 ---> 5bd836ba4a01 22:20:40 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:20:40 ---> Running in 1673031404f2 22:20:40 Removing intermediate container 1673031404f2 22:20:40 ---> c997105c73bf 22:20:40 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:40 ---> Running in 2313cc6938ec 22:20:41 Removing intermediate container 2313cc6938ec 22:20:41 ---> fd99e5d45cd9 22:20:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:20:41 ---> Running in a3a1661c2a83 22:20:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:20:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:20:42 OK: 211 MiB in 51 packages 22:20:42 Removing intermediate container a3a1661c2a83 22:20:42 ---> 632a3d00a6a3 22:20:42 Step 9/26 : WORKDIR /device-onvif-camera 22:20:42 ---> Running in defbf5833439 22:20:42 Removing intermediate container defbf5833439 22:20:42 ---> a02e7387b170 22:20:42 Step 10/26 : COPY go.mod vendor* ./ 22:20:42 ---> 97649815cc75 22:20:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:42 ---> Running in 263c8793b029 22:20:43 Removing intermediate container 263c8793b029 22:20:43 ---> 46629a05ee91 22:20:43 Step 12/26 : COPY . . 22:20:44 ---> 000a459f430f 22:20:44 Step 13/26 : RUN ${MAKE} 22:20:44 ---> Running in 235e145539d1 22:20:44 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:21:06 Removing intermediate container 235e145539d1 22:21:06 ---> 3ae4d1c4ddfc 22:21:06 Step 14/26 : FROM alpine:3.16 22:21:06 3.16: Pulling from library/alpine 22:21:06 213ec9aee27d: Pulling fs layer 22:21:06 213ec9aee27d: Verifying Checksum 22:21:06 213ec9aee27d: Download complete 22:21:06 213ec9aee27d: Pull complete 22:21:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:21:06 Status: Downloaded newer image for alpine:3.16 22:21:06 ---> 9c6f07244728 22:21:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:06 ---> Running in 12b5d8854f2f 22:21:07 Removing intermediate container 12b5d8854f2f 22:21:07 ---> 65bbecc0df45 22:21:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:21:07 ---> Running in b2b6a2d08d48 22:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:21:07 (1/6) Installing dumb-init (1.2.5-r1) 22:21:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:21:07 (3/6) Installing libsodium (1.0.18-r0) 22:21:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:21:07 (5/6) Installing libzmq (4.3.4-r0) 22:21:07 (6/6) Installing zeromq (4.3.4-r0) 22:21:07 Executing busybox-1.35.0-r17.trigger 22:21:07 OK: 8 MiB in 20 packages 22:21:08 Removing intermediate container b2b6a2d08d48 22:21:08 ---> 5d4cc78b6e52 22:21:08 Step 17/26 : WORKDIR / 22:21:08 ---> Running in e5c96159c82b 22:21:08 Removing intermediate container e5c96159c82b 22:21:08 ---> 8b7d0ca36e79 22:21:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:21:09 ---> f02395d23f9a 22:21:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:09 ---> 2bc17acb1b1d 22:21:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:09 ---> 349f9d76f1e1 22:21:09 Step 21/26 : EXPOSE 59984 22:21:09 ---> Running in 65c39a202980 22:21:09 Removing intermediate container 65c39a202980 22:21:09 ---> 42e284e2bb87 22:21:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:21:09 ---> Running in 271f701fde99 22:21:09 Removing intermediate container 271f701fde99 22:21:09 ---> 2661e1ba0e20 22:21:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:21:09 ---> Running in 4fab7d93dd8a 22:21:09 Removing intermediate container 4fab7d93dd8a 22:21:09 ---> f005bae39fc7 22:21:09 Step 24/26 : LABEL arch=amd64 22:21:09 ---> Running in 0297ac2569c6 22:21:09 Removing intermediate container 0297ac2569c6 22:21:09 ---> 1f5403c07a9b 22:21:09 Step 25/26 : LABEL git_sha=143207b47ddca836de249d0363aebac6de0213fc 22:21:09 ---> Running in 05d0812df115 22:21:09 Removing intermediate container 05d0812df115 22:21:09 ---> 61794a3f5fdf 22:21:09 Step 26/26 : LABEL version=0.0.0 22:21:09 ---> Running in fd1f0fd1fcc5 22:21:09 Removing intermediate container fd1f0fd1fcc5 22:21:09 ---> 3a11f5ca09f8 22:21:09 [Warning] One or more build-args [ARCH] were not consumed 22:21:09 Successfully built 3a11f5ca09f8 22:21:09 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 22:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:10 22:21:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:10 latest: Pulling from edgex-lftools-log-publisher 22:21:10 5eb5b503b376: Pulling fs layer 22:21:10 5c69ac0246d0: Pulling fs layer 22:21:10 ec43610c2a17: Pulling fs layer 22:21:10 3a2ae6a8a46f: Pulling fs layer 22:21:10 33b1e0a273af: Pulling fs layer 22:21:10 5d3b04190fa2: Pulling fs layer 22:21:10 2f39f015ded8: Pulling fs layer 22:21:10 3a2ae6a8a46f: Waiting 22:21:10 5d3b04190fa2: Waiting 22:21:10 33b1e0a273af: Waiting 22:21:10 5c69ac0246d0: Download complete 22:21:10 3a2ae6a8a46f: Download complete 22:21:10 33b1e0a273af: Verifying Checksum 22:21:10 33b1e0a273af: Download complete 22:21:10 ec43610c2a17: Verifying Checksum 22:21:10 ec43610c2a17: Download complete 22:21:10 5d3b04190fa2: Verifying Checksum 22:21:10 5d3b04190fa2: Download complete 22:21:10 5eb5b503b376: Verifying Checksum 22:21:10 5eb5b503b376: Download complete 22:21:11 2f39f015ded8: Download complete 22:21:12 5eb5b503b376: Pull complete 22:21:12 5c69ac0246d0: Pull complete 22:21:13 ec43610c2a17: Pull complete 22:21:13 3a2ae6a8a46f: Pull complete 22:21:13 33b1e0a273af: Pull complete 22:21:13 5d3b04190fa2: Pull complete 22:21:18 2f39f015ded8: Pull complete 22:21:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:21:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:18 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 22:21:18 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:21:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24251 in /w/workspace/undry_device-onvif-camera_PR-149 22:21:20 $ docker top d54bc4ef81b2046eb38d6fc997f77dbc75f2a7ae42a7ab2fd421be82771792dc -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 22:21:20 Running in /w/workspace/device-onvif-camera/25 [Pipeline] { [Pipeline] checkout 22:21:20 Selected Git installation does not exist. Using Default 22:21:20 The recommended git tool is: NONE 22:21:21 ---> job-cost.sh 22:21:21 lf-activate-venv: SKIPPING 22:21:21 INFO: No Stack... 22:21:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:22 INFO: Archiving Costs [Pipeline] sh 22:21:22 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 22:21:22 + cut -d, -f6 [Pipeline] lock 22:21:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] 22:21:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] did not exist. Created. 22:21:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:22 + echo total: 0.2199999988079071 [Pipeline] stash 22:21:22 Stashed 1 file(s) [Pipeline] } 22:21:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:22 $ docker stop --time=1 d54bc4ef81b2046eb38d6fc997f77dbc75f2a7ae42a7ab2fd421be82771792dc 22:21:23 $ docker rm -f d54bc4ef81b2046eb38d6fc997f77dbc75f2a7ae42a7ab2fd421be82771792dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:26 using credential edgex-jenkins-ssh 22:21:27 Cloning the remote Git repository 22:21:27 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:21:27 > git init /w/workspace/device-onvif-camera/25 # timeout=10 22:21:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:21:27 > git --version # timeout=10 22:21:27 > git --version # 'git version 2.25.1' 22:21:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:21:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:21:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:21:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:21:29 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit ebabbf76e038923d77d44b5ad1d89d59c35e19d2 22:21:29 Merge succeeded, producing 90378fed0af92e9f6b6497cdc0d4c6c144fedb71 22:21:29 Checking out Revision 90378fed0af92e9f6b6497cdc0d4c6c144fedb71 (PR-149) 22:21:29 > git config core.sparsecheckout # timeout=10 22:21:29 > git checkout -f ebabbf76e038923d77d44b5ad1d89d59c35e19d2 # timeout=10 22:21:29 > git remote # timeout=10 22:21:29 > git config --get remote.origin.url # timeout=10 22:21:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:29 > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 22:21:29 > git rev-parse HEAD^{commit} # timeout=10 22:21:29 > git config core.sparsecheckout # timeout=10 22:21:29 > git checkout -f 90378fed0af92e9f6b6497cdc0d4c6c144fedb71 # timeout=10 22:21:34 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" 22:21:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:34 > git rev-list --no-walk ab1ac445f23d77e68ee9d148ae88075f5132a465 # timeout=10 22:21:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:21:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:35 Dload Upload Total Spent Left Speed 22:21:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh 22:21:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:21:36 + sudo tee /etc/docker/daemon.new 22:21:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:21:36 { 22:21:36 "registry-mirrors": [ 22:21:36 "https://nexus3.edgexfoundry.org:10001" 22:21:36 ], 22:21:36 "bip": "10.250.0.254/24", 22:21:36 "hosts": [ 22:21:36 "tcp://0.0.0.0:5555", 22:21:36 "unix:///var/run/docker.sock" 22:21:36 ], 22:21:36 "mtu": 1458, 22:21:36 "selinux-enabled": true, 22:21:36 "seccomp-profile": "/etc/docker/seccomp.json" 22:21:36 } [Pipeline] sh 22:21:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:21:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:55 provisioning config files... 22:21:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/25@tmp/config8555660274582894489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> docker-login.sh 22:21:55 nexus3.edgexfoundry.org:10001 22:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:56 Configure a credential helper to remove this warning. See 22:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:56 22:21:56 Login Succeeded 22:21:56 nexus3.edgexfoundry.org:10002 22:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:56 Configure a credential helper to remove this warning. See 22:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:56 22:21:56 Login Succeeded 22:21:56 nexus3.edgexfoundry.org:10003 22:21:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:57 Configure a credential helper to remove this warning. See 22:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:57 22:21:57 Login Succeeded 22:21:57 nexus3.edgexfoundry.org:10004 22:21:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:57 Configure a credential helper to remove this warning. See 22:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:57 22:21:57 Login Succeeded 22:21:57 docker.io 22:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:58 Configure a credential helper to remove this warning. See 22:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:58 22:21:58 Login Succeeded 22:21:58 ---> docker-login.sh ends [Pipeline] } 22:21:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:59 ========================================================= 22:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:59 + 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 . 22:22:00 Sending build context to Docker daemon 14.23MB 22:22:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:22:00 Step 2/13 : FROM ${BASE} AS builder 22:22:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:22:00 b3c136eddcbf: Pulling fs layer 22:22:00 c0a3192eca97: Pulling fs layer 22:22:00 a050256f5b6f: Pulling fs layer 22:22:00 656be50a0ddc: Pulling fs layer 22:22:00 2bbca73fdf42: Pulling fs layer 22:22:00 46d945488cbd: Pulling fs layer 22:22:00 8a5474983e97: Pulling fs layer 22:22:00 329c88fbcd65: Pulling fs layer 22:22:00 656be50a0ddc: Waiting 22:22:00 2bbca73fdf42: Waiting 22:22:00 46d945488cbd: Waiting 22:22:00 8a5474983e97: Waiting 22:22:00 329c88fbcd65: Waiting 22:22:00 a050256f5b6f: Verifying Checksum 22:22:00 a050256f5b6f: Download complete 22:22:00 c0a3192eca97: Verifying Checksum 22:22:00 c0a3192eca97: Download complete 22:22:00 2bbca73fdf42: Verifying Checksum 22:22:00 2bbca73fdf42: Download complete 22:22:00 b3c136eddcbf: Verifying Checksum 22:22:00 b3c136eddcbf: Download complete 22:22:00 46d945488cbd: Verifying Checksum 22:22:00 46d945488cbd: Download complete 22:22:01 b3c136eddcbf: Pull complete 22:22:01 329c88fbcd65: Verifying Checksum 22:22:01 329c88fbcd65: Download complete 22:22:02 c0a3192eca97: Pull complete 22:22:02 a050256f5b6f: Pull complete 22:22:02 8a5474983e97: Verifying Checksum 22:22:03 656be50a0ddc: Verifying Checksum 22:22:03 656be50a0ddc: Download complete 22:22:15 656be50a0ddc: Pull complete 22:22:15 2bbca73fdf42: Pull complete 22:22:16 46d945488cbd: Pull complete 22:22:22 8a5474983e97: Pull complete 22:22:24 329c88fbcd65: Pull complete 22:22:24 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:22:24 ---> ff4287adb874 22:22:24 Step 3/13 : ARG MAKE="make build" 22:22:26 ---> Running in ec3bd02d22a2 22:22:27 Removing intermediate container ec3bd02d22a2 22:22:27 ---> bf5173aafcaf 22:22:27 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:22:27 ---> Running in 1b5294632afb 22:22:27 Removing intermediate container 1b5294632afb 22:22:27 ---> 12dd95205321 22:22:27 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:22:27 ---> Running in 4d39823bca4d 22:22:27 Removing intermediate container 4d39823bca4d 22:22:27 ---> 0639205b03f1 22:22:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:22:27 ---> Running in b352d86cd82b 22:22:28 Removing intermediate container b352d86cd82b 22:22:28 ---> 707f0d7e26a1 22:22:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:28 ---> Running in 707a19121662 22:22:30 Removing intermediate container 707a19121662 22:22:30 ---> ec71485c540e 22:22:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:30 ---> Running in d84377f55385 22:22:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:22:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:22:33 OK: 221 MiB in 51 packages 22:22:33 Removing intermediate container d84377f55385 22:22:33 ---> 9956205a0561 22:22:33 Step 9/13 : WORKDIR /device-onvif-camera 22:22:34 ---> Running in 8a33ce932e6a 22:22:34 Removing intermediate container 8a33ce932e6a 22:22:34 ---> a827a0040fc3 22:22:34 Step 10/13 : COPY go.mod vendor* ./ 22:22:35 ---> 88e465bc4daa 22:22:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:35 ---> Running in a7ed4965a3c6 22:23:31 Removing intermediate container a7ed4965a3c6 22:23:31 ---> c505fb6ca189 22:23:31 Step 12/13 : COPY . . 22:23:31 ---> 91660a21bb80 22:23:31 Step 13/13 : RUN ${MAKE} 22:23:31 ---> Running in 2879763ccca9 22:23:31 noop 22:23:31 Removing intermediate container 2879763ccca9 22:23:31 ---> 19eb2b1d3387 22:23:31 Successfully built 19eb2b1d3387 22:23:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:31 + docker inspect -f . ci-base-image-arm64 22:23:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:32 prd-ubuntu20.04-docker-arm64-4c-16g-24251 does not seem to be running inside a container 22:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/25 -v /w/workspace/device-onvif-camera/25:/w/workspace/device-onvif-camera/25:rw,z -v /w/workspace/device-onvif-camera/25@tmp:/w/workspace/device-onvif-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:33 $ docker top 260e191a13aa51eba78d2132f0084a56d56023f885b0bc2138d0a00695dac63e -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:34 + go version 22:23:34 go version go1.18.3 linux/arm64 [Pipeline] } 22:23:34 $ docker stop --time=1 260e191a13aa51eba78d2132f0084a56d56023f885b0bc2138d0a00695dac63e 22:23:36 $ docker rm -f 260e191a13aa51eba78d2132f0084a56d56023f885b0bc2138d0a00695dac63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:36 + docker inspect -f . ci-base-image-arm64 22:23:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:36 prd-ubuntu20.04-docker-arm64-4c-16g-24251 does not seem to be running inside a container 22:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/25 -v /w/workspace/device-onvif-camera/25:/w/workspace/device-onvif-camera/25:rw,z -v /w/workspace/device-onvif-camera/25@tmp:/w/workspace/device-onvif-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:38 $ docker top 72405a2328df764f758e3090d6fbcb866475ac1ac0a6923e306ca827cd0bd226 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/25 [Pipeline] fileExists [Pipeline] sh 22:23:39 + make test 22:23:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:23:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:25:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:25:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.187s coverage: 28.6% of statements 22:25:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:25:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.993s coverage: 13.8% of statements 22:25:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:25:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:25:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:25:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:25:52 ./bin/test-attribution-txt.sh [Pipeline] echo 22:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:25:52 $ docker stop --time=1 72405a2328df764f758e3090d6fbcb866475ac1ac0a6923e306ca827cd0bd226 22:25:54 $ docker rm -f 72405a2328df764f758e3090d6fbcb866475ac1ac0a6923e306ca827cd0bd226 [Pipeline] // withDockerContainer [Pipeline] sh 22:25:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:25:55 Warning: overwriting stash ‘coverage-report’ 22:25:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:25:56 + ls -al . 22:25:56 total 228 22:25:56 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 22:23 . 22:25:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:21 .. 22:25:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:21 .git 22:25:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:21 .github 22:25:56 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 22:21 .gitignore 22:25:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:21 .golangci.yml 22:25:56 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 22:21 Attribution.txt 22:25:56 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 22:21 CHANGELOG.md 22:25:56 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 22:21 Dockerfile 22:25:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:21 GOVERNANCE.md 22:25:56 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 22:21 Jenkinsfile 22:25:56 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:21 LICENSE 22:25:56 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 22:21 Makefile 22:25:56 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:21 OWNERS.md 22:25:56 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 22:21 README.md 22:25:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:19 VERSION 22:25:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:21 bin 22:25:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:21 cmd 22:25:56 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 22:25 coverage.out 22:25:56 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 22:21 doc 22:25:56 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 22:21 go.mod 22:25:56 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 22:21 go.sum 22:25:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:21 internal 22:25:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:21 snap 22:25:56 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:56 + 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=90378fed0af92e9f6b6497cdc0d4c6c144fedb71 --label arch=arm64 --label version=0.0.0 . 22:25:57 Sending build context to Docker daemon 14.31MB 22:25:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:25:57 Step 2/26 : FROM ${BASE} AS builder 22:25:57 ---> 19eb2b1d3387 22:25:57 Step 3/26 : ARG MAKE="make build" 22:25:57 ---> Running in f4041b375ec3 22:25:57 Removing intermediate container f4041b375ec3 22:25:57 ---> ba3ba44c9343 22:25:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:25:58 ---> Running in fed9f1dbf806 22:25:58 Removing intermediate container fed9f1dbf806 22:25:58 ---> f68780f8b2f9 22:25:58 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:25:58 ---> Running in a0ddf353bfbf 22:25:58 Removing intermediate container a0ddf353bfbf 22:25:58 ---> 3a484d5c3422 22:25:58 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:25:58 ---> Running in 2cad12eb0fc2 22:25:58 Removing intermediate container 2cad12eb0fc2 22:25:58 ---> 77b49646e5cb 22:25:58 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:58 ---> Running in 07868c9831d2 22:26:00 Removing intermediate container 07868c9831d2 22:26:00 ---> 6ec4050853cd 22:26:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:00 ---> Running in 3874e2b64da7 22:26:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:26:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:26:03 OK: 221 MiB in 51 packages 22:26:04 Removing intermediate container 3874e2b64da7 22:26:04 ---> c78a10da14c1 22:26:04 Step 9/26 : WORKDIR /device-onvif-camera 22:26:04 ---> Running in e8ff66bef989 22:26:04 Removing intermediate container e8ff66bef989 22:26:04 ---> dc1bca290004 22:26:04 Step 10/26 : COPY go.mod vendor* ./ 22:26:05 ---> f6901389de83 22:26:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:05 ---> Running in d0b723cfc9cd 22:26:07 Removing intermediate container d0b723cfc9cd 22:26:07 ---> 64592b49f929 22:26:07 Step 12/26 : COPY . . 22:26:08 ---> fddbb9e7e5e0 22:26:08 Step 13/26 : RUN ${MAKE} 22:26:08 ---> Running in 2d17ab0eedc5 22:26:09 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.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:28:31 Removing intermediate container 2d17ab0eedc5 22:28:31 ---> 3ed12354d504 22:28:31 Step 14/26 : FROM alpine:3.16 22:28:31 3.16: Pulling from library/alpine 22:28:31 9b18e9b68314: Pulling fs layer 22:28:31 9b18e9b68314: Verifying Checksum 22:28:31 9b18e9b68314: Download complete 22:28:31 9b18e9b68314: Pull complete 22:28:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:28:31 Status: Downloaded newer image for alpine:3.16 22:28:31 ---> a6215f271958 22:28:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:28:31 ---> Running in 0d795277cb19 22:28:31 Removing intermediate container 0d795277cb19 22:28:31 ---> bbc7b06730a1 22:28:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:28:31 ---> Running in 78a5dc4dc8a5 22:28:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:28:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:28:31 (1/6) Installing dumb-init (1.2.5-r1) 22:28:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:28:31 (3/6) Installing libsodium (1.0.18-r0) 22:28:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:28:31 (5/6) Installing libzmq (4.3.4-r0) 22:28:31 (6/6) Installing zeromq (4.3.4-r0) 22:28:31 Executing busybox-1.35.0-r17.trigger 22:28:31 OK: 8 MiB in 20 packages 22:28:31 Removing intermediate container 78a5dc4dc8a5 22:28:31 ---> c7b8d6a52ed4 22:28:31 Step 17/26 : WORKDIR / 22:28:31 ---> Running in fb576acb4545 22:28:31 Removing intermediate container fb576acb4545 22:28:31 ---> 6027820c9379 22:28:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:28:31 ---> e3f42503841c 22:28:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:28:31 ---> e5f069abad2a 22:28:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:28:31 ---> 1cdbc0c14952 22:28:31 Step 21/26 : EXPOSE 59984 22:28:31 ---> Running in a498356f45a7 22:28:31 Removing intermediate container a498356f45a7 22:28:31 ---> cc6fa0f593b4 22:28:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:28:31 ---> Running in 16784096cefc 22:28:31 Removing intermediate container 16784096cefc 22:28:31 ---> d8d3476bcb92 22:28:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:28:31 ---> Running in 582b3deac290 22:28:31 Removing intermediate container 582b3deac290 22:28:31 ---> a3f09976f6fa 22:28:31 Step 24/26 : LABEL arch=arm64 22:28:31 ---> Running in 2b548dc05dd7 22:28:31 Removing intermediate container 2b548dc05dd7 22:28:31 ---> 3e92a02cb296 22:28:31 Step 25/26 : LABEL git_sha=90378fed0af92e9f6b6497cdc0d4c6c144fedb71 22:28:31 ---> Running in 061acdaa00f4 22:28:31 Removing intermediate container 061acdaa00f4 22:28:31 ---> 46252d5d3804 22:28:31 Step 26/26 : LABEL version=0.0.0 22:28:31 ---> Running in 84a98cae3ccb 22:28:31 Removing intermediate container 84a98cae3ccb 22:28:31 ---> 7d4c9b82f75e 22:28:31 [Warning] One or more build-args [ARCH] were not consumed 22:28:31 Successfully built 7d4c9b82f75e 22:28:31 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 22:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:32 22:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:32 arm64: Pulling from edgex-lftools-log-publisher 22:28:32 8998bd30e6a1: Pulling fs layer 22:28:32 04944245beec: Pulling fs layer 22:28:32 699f458cf7ca: Pulling fs layer 22:28:32 765212b225bb: Pulling fs layer 22:28:32 f23df028b6ca: Pulling fs layer 22:28:32 d65c8cfc05b1: Pulling fs layer 22:28:32 2437ff75d9bd: Pulling fs layer 22:28:32 f23df028b6ca: Waiting 22:28:32 2437ff75d9bd: Waiting 22:28:32 765212b225bb: Waiting 22:28:32 d65c8cfc05b1: Waiting 22:28:32 04944245beec: Verifying Checksum 22:28:32 04944245beec: Download complete 22:28:33 765212b225bb: Verifying Checksum 22:28:33 765212b225bb: Download complete 22:28:33 f23df028b6ca: Verifying Checksum 22:28:33 f23df028b6ca: Download complete 22:28:33 d65c8cfc05b1: Verifying Checksum 22:28:33 d65c8cfc05b1: Download complete 22:28:33 699f458cf7ca: Verifying Checksum 22:28:33 699f458cf7ca: Download complete 22:28:33 8998bd30e6a1: Verifying Checksum 22:28:33 8998bd30e6a1: Download complete 22:28:35 2437ff75d9bd: Verifying Checksum 22:28:35 2437ff75d9bd: Download complete 22:28:38 8998bd30e6a1: Pull complete 22:28:38 04944245beec: Pull complete 22:28:39 699f458cf7ca: Pull complete 22:28:40 765212b225bb: Pull complete 22:28:41 f23df028b6ca: Pull complete 22:28:41 d65c8cfc05b1: Pull complete 22:28:56 2437ff75d9bd: Pull complete 22:28:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:28:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:56 prd-ubuntu20.04-docker-arm64-4c-16g-24251 does not seem to be running inside a container 22:28:56 $ 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/25 -v /w/workspace/device-onvif-camera/25:/w/workspace/device-onvif-camera/25:rw,z -v /w/workspace/device-onvif-camera/25@tmp:/w/workspace/device-onvif-camera/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:28:59 $ docker top dd2d171ff82887866d4034a1cd05ce1649d3277701b33dd2fc091c636e0398f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:59 ---> job-cost.sh 22:28:59 lf-activate-venv: SKIPPING 22:28:59 INFO: No Stack... 22:29:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:29:01 INFO: Archiving Costs [Pipeline] sh 22:29:01 + cat /w/workspace/device-onvif-camera/25/archives/cost.csv 22:29:01 + cut -d, -f6 [Pipeline] lock 22:29:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] 22:29:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] did not exist. Created. 22:29:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:29:02 /w/workspace/device-onvif-camera/25@tmp/durable-3d6c17ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:29:03 + echo total: 0.10999999940395355 [Pipeline] stash 22:29:03 Warning: overwriting stash ‘stack-cost’ 22:29:03 Stashed 1 file(s) [Pipeline] } 22:29:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-25-stack-cost] [Pipeline] // lock [Pipeline] } 22:29:03 $ docker stop --time=1 dd2d171ff82887866d4034a1cd05ce1649d3277701b33dd2fc091c636e0398f8 22:29:04 $ docker rm -f dd2d171ff82887866d4034a1cd05ce1649d3277701b33dd2fc091c636e0398f8 [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 22:29:05 provisioning config files... 22:29:05 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config538639775058963223tmp [Pipeline] { [Pipeline] sh 22:29:05 + set +x 22:29:05 + curl -s https://codecov.io/bash 22:29:05 + bash -s -- 22:29:05 22:29:05 _____ _ 22:29:05 / ____| | | 22:29:05 | | ___ __| | ___ ___ _____ __ 22:29:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:29:05 | |___| (_) | (_| | __/ (_| (_) \ V / 22:29:05 \_____\___/ \__,_|\___|\___\___/ \_/ 22:29:05 Bash-1.0.6 22:29:05 22:29:05 22:29:05 ==> git version 2.25.1 found 22:29:05 ==> 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 22:29:05 Release-Date: 2020-01-08 22:29:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:29:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:29:05 ==> Jenkins CI detected. 22:29:05 current dir:  /w/workspace/undry_device-onvif-camera_PR-149 22:29:05 project root: . 22:29:05 --> token set from env 22:29:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:29:05 ==> Running gcov in . (disable via -X gcov) 22:29:05 ==> Python coveragepy not found 22:29:05 ==> Searching for coverage reports in: 22:29:05 + . 22:29:05 -> Found 1 reports 22:29:05 ==> Detecting git/mercurial file structure 22:29:05 ==> Reading reports 22:29:05 + ./coverage.out bytes=77457 22:29:05 ==> Appending adjustments 22:29:05 https://docs.codecov.io/docs/fixing-reports 22:29:05 + Found adjustments 22:29:05 ==> Gzipping contents 22:29:05 12K /tmp/codecov.yiJVwU.gz 22:29:05 ==> Uploading reports 22:29:05 url: https://codecov.io 22:29:05 query: branch=PR-149&commit=143207b47ddca836de249d0363aebac6de0213fc&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= 22:29:05 -> Pinging Codecov 22:29:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=143207b47ddca836de249d0363aebac6de0213fc&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= 22:29:06 -> Uploading to 22:29:06 https://storage.googleapis.com/codecov/v4/raw/2022-08-31/F29A59C45E3A92E06B3E522C9905F8EF/143207b47ddca836de249d0363aebac6de0213fc/5adfbd5f-84a5-40e8-80be-06621d95f6ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T222906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67bf583e421f14d73543ceda7191a6cf67da16a0d6eefacce4ae9bfdd906999d 22:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 22:29:06 Dload Upload Total Spent Left Speed 22:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10706 0 0 100 10706 0 43877 --:--:-- --:--:-- --:--:-- 43877 22:29:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/143207b47ddca836de249d0363aebac6de0213fc [Pipeline] } 22:29:06 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 22:29:07 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 22:29:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 22:29:07 total 16 22:29:07 drwxr-xr-x 3 root root 4096 Aug 31 22:21 . 22:29:07 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:21 .. 22:29:07 drwxr-xr-x 2 root root 4096 Aug 31 22:21 cost 22:29:07 -rw-r--r-- 1 root root 92 Aug 31 22:21 cost.csv 22:29:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 22:29:07 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 22:29:07 total 16 22:29:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:21 . 22:29:07 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:21 .. 22:29:07 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 22:21 cost 22:29:07 -rw-r--r-- 1 jenkins jenkins 92 Aug 31 22:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:29:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:29:08 ---> package-listing.sh 22:29:08 ++ facter osfamily 22:29:08 ++ tr '[:upper:]' '[:lower:]' 22:29:08 + OS_FAMILY=debian 22:29:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 22:29:08 + START_PACKAGES=/tmp/packages_start.txt 22:29:08 + END_PACKAGES=/tmp/packages_end.txt 22:29:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:29:08 + PACKAGES=/tmp/packages_start.txt 22:29:08 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 22:29:08 + PACKAGES=/tmp/packages_end.txt 22:29:08 + case "${OS_FAMILY}" in 22:29:08 + dpkg -l 22:29:08 + grep '^ii' 22:29:08 + '[' -f /tmp/packages_start.txt ']' 22:29:08 + '[' -f /tmp/packages_end.txt ']' 22:29:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:29:08 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 22:29:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 22:29:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo 22:29:08 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:29:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:09 prd-ubuntu20.04-docker-8c-8g-24250 does not seem to be running inside a container 22:29:09 $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 22:29:09 $ docker top e816812f407997fcf67e2ba096e281cf30c42b2ce422263b55f3bf62a5479b95 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:10 + touch /tmp/pre-build-complete [Pipeline] sh 22:29:10 + mkdir -p /var/log/sysstat [Pipeline] sh 22:29:10 + ls /var/log/sa-host 22:29:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:10 provisioning config files... 22:29:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1184203791423479553tmp [Pipeline] { [Pipeline] echo 22:29:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:29:11 ---> create-netrc.sh [Pipeline] } 22:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:29:11 ---> python-tools-install.sh [Pipeline] echo 22:29:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:29:11 ---> sudo-logs.sh 22:29:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:29:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:29:12 ---> job-cost.sh 22:29:12 lf-activate-venv: SKIPPING 22:29:12 DEBUG: total: 0.2199999988079071 22:29:12 INFO: Retrieving Stack Cost... 22:29:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:29:12 INFO: Archiving Costs [Pipeline] echo 22:29:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:29:13 ---> logs-deploy.sh 22:29:13 lf-activate-venv: SKIPPING 22:29:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/25 22:29:13 INFO: archiving workspace using pattern(s): 22:29:14 Archives upload complete. 22:29:14 INFO: archiving logs to Nexus 22:29:15 ---> uname -a: 22:29:15 Linux prd-ubuntu20-04-docker-8c-8g-24250 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:29:15 22:29:15 22:29:15 ---> lscpu: 22:29:15 Architecture: x86_64 22:29:15 CPU op-mode(s): 32-bit, 64-bit 22:29:15 Byte Order: Little Endian 22:29:15 Address sizes: 40 bits physical, 48 bits virtual 22:29:15 CPU(s): 8 22:29:15 On-line CPU(s) list: 0-7 22:29:15 Thread(s) per core: 1 22:29:15 Core(s) per socket: 1 22:29:15 Socket(s): 8 22:29:15 NUMA node(s): 1 22:29:15 Vendor ID: AuthenticAMD 22:29:15 CPU family: 23 22:29:15 Model: 49 22:29:15 Model name: AMD EPYC-Rome Processor 22:29:15 Stepping: 0 22:29:15 CPU MHz: 2799.998 22:29:15 BogoMIPS: 5599.99 22:29:15 Virtualization: AMD-V 22:29:15 Hypervisor vendor: KVM 22:29:15 Virtualization type: full 22:29:15 L1d cache: 256 KiB 22:29:15 L1i cache: 256 KiB 22:29:15 L2 cache: 4 MiB 22:29:15 L3 cache: 128 MiB 22:29:15 NUMA node0 CPU(s): 0-7 22:29:15 Vulnerability Itlb multihit: Not affected 22:29:15 Vulnerability L1tf: Not affected 22:29:15 Vulnerability Mds: Not affected 22:29:15 Vulnerability Meltdown: Not affected 22:29:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:29:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:29:15 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:29:15 Vulnerability Srbds: Not affected 22:29:15 Vulnerability Tsx async abort: Not affected 22:29:15 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 22:29:15 22:29:15 22:29:15 ---> nproc: 22:29:15 8 22:29:15 22:29:15 22:29:15 ---> df -h: 22:29:15 Filesystem Size Used Avail Use% Mounted on 22:29:15 overlay 155G 11G 145G 8% / 22:29:15 tmpfs 64M 0 64M 0% /dev 22:29:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:29:15 shm 64M 0 64M 0% /dev/shm 22:29:15 /dev/vda1 155G 11G 145G 8% /facter-os 22:29:15 22:29:15 22:29:15 ---> sar -b -r -n DEV: 22:29:15 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24250) 08/31/22 _x86_64_ (8 CPU) 22:29:15 22:29:15 22:18:30 LINUX RESTART (8 CPU) 22:29:15 22:29:15 22:19:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:29:15 22:20:01 389.92 15.58 374.34 0.00 2172.30 78700.35 0.00 22:29:15 22:21:01 127.86 0.18 127.68 0.00 18.26 39886.95 0.00 22:29:15 22:22:01 113.45 0.00 113.45 0.00 0.00 49068.64 0.00 22:29:15 22:23:01 3.53 0.00 3.53 0.00 0.00 15876.02 0.00 22:29:15 22:24:01 3.32 0.02 3.30 0.00 0.13 15739.91 0.00 22:29:15 22:25:01 3.32 0.00 3.32 0.00 0.00 15735.82 0.00 22:29:15 22:26:01 3.38 0.00 3.38 0.00 0.00 15740.58 0.00 22:29:15 22:27:01 3.27 0.00 3.27 0.00 0.00 15873.49 0.00 22:29:15 22:28:01 3.27 0.00 3.27 0.00 0.00 15736.84 0.00 22:29:15 22:29:01 1.92 0.00 1.92 0.00 0.00 832.26 0.00 22:29:15 Average: 65.32 1.58 63.74 0.00 219.07 26318.91 0.00 22:29:15 22:29:15 22:19:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:29:15 22:20:01 27853400 31777708 516924 1.57 161468 3927596 2055560 6.06 1220336 3317444 328804 22:29:15 22:21:01 28071072 31772776 523892 1.59 166444 3726268 2121192 6.25 1318340 3029228 185856 22:29:15 22:22:01 27575908 31801256 494476 1.50 176604 4193264 1922900 5.67 1338560 3456208 276 22:29:15 22:23:01 27576032 31801432 494064 1.50 176660 4193268 1922900 5.67 1337832 3456204 60 22:29:15 22:24:01 27582952 31808456 486924 1.48 176716 4193276 1922900 5.67 1330736 3456212 12 22:29:15 22:25:01 27583448 31809020 486308 1.48 176760 4193288 1922900 5.67 1330716 3456220 228 22:29:15 22:26:01 27586280 31811864 483412 1.47 176820 4193272 1922900 5.67 1327524 3456224 40 22:29:15 22:27:01 27586404 31812524 483360 1.47 176884 4193288 1922900 5.67 1327156 3456672 72 22:29:15 22:28:01 27586104 31812284 483600 1.47 176928 4193284 1922900 5.67 1327216 3456672 12 22:29:15 22:29:01 27587168 31813376 482480 1.47 176980 4193260 1867276 5.50 1327428 3456652 68 22:29:15 Average: 27658877 31802070 493544 1.50 174226 4120006 1950433 5.75 1318584 3399774 51543 22:29:15 22:29:15 22:19:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:29:15 22:20:01 docker0 135.51 175.57 11.44 1640.13 0.00 0.00 0.00 0.00 22:29:15 22:20:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 22:29:15 22:20:01 ens3 642.93 436.63 7622.68 95.03 0.00 0.00 0.00 0.00 22:29:15 22:21:01 docker0 10.75 12.45 0.66 40.99 0.00 0.00 0.00 0.00 22:29:15 22:21:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 22:29:15 22:21:01 ens3 85.60 66.07 83.11 68.97 0.00 0.00 0.00 0.00 22:29:15 22:22:01 docker0 2.85 5.58 0.18 57.95 0.00 0.00 0.00 0.00 22:29:15 22:22:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 22:29:15 22:22:01 ens3 124.58 77.70 2630.75 13.69 0.00 0.00 0.00 0.00 22:29:15 22:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:23:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:24:01 ens3 0.17 0.17 0.08 0.07 0.00 0.00 0.00 0.00 22:29:15 22:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:25:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:26:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:27:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:28:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:29:15 22:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:29:15 22:29:01 ens3 23.78 19.63 14.20 24.00 0.00 0.00 0.00 0.00 22:29:15 Average: docker0 14.91 19.36 1.23 173.90 0.00 0.00 0.00 0.00 22:29:15 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 22:29:15 Average: ens3 87.75 60.06 1035.07 20.18 0.00 0.00 0.00 0.00 22:29:15 22:29:15 22:29:15 ---> sar -P ALL: 22:29:15 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24250) 08/31/22 _x86_64_ (8 CPU) 22:29:15 22:29:15 22:18:30 LINUX RESTART (8 CPU) 22:29:15 22:29:15 22:19:01 CPU %user %nice %system %iowait %steal %idle 22:29:15 22:20:01 all 11.97 0.00 4.71 2.61 0.07 80.64 22:29:15 22:20:01 0 12.53 0.00 4.57 1.75 0.07 81.09 22:29:15 22:20:01 1 13.11 0.00 4.56 0.86 0.07 81.41 22:29:15 22:20:01 2 14.18 0.00 5.84 6.67 0.08 73.22 22:29:15 22:20:01 3 11.73 0.00 3.90 2.09 0.08 82.19 22:29:15 22:20:01 4 11.19 0.00 5.09 2.13 0.07 81.52 22:29:15 22:20:01 5 10.79 0.00 3.83 2.12 0.05 83.21 22:29:15 22:20:01 6 10.65 0.00 4.82 4.31 0.05 80.17 22:29:15 22:20:01 7 11.59 0.00 5.10 0.92 0.07 82.32 22:29:15 22:21:01 all 42.49 0.00 6.60 0.96 0.08 49.87 22:29:15 22:21:01 0 42.19 0.00 6.38 0.12 0.07 51.25 22:29:15 22:21:01 1 44.24 0.00 6.56 0.08 0.08 49.03 22:29:15 22:21:01 2 41.69 0.00 6.79 0.32 0.07 51.13 22:29:15 22:21:01 3 45.03 0.00 6.45 1.03 0.08 47.41 22:29:15 22:21:01 4 41.47 0.00 6.47 0.46 0.07 51.54 22:29:15 22:21:01 5 42.24 0.00 6.94 1.66 0.08 49.08 22:29:15 22:21:01 6 42.67 0.00 6.80 4.00 0.08 46.45 22:29:15 22:21:01 7 40.37 0.00 6.41 0.05 0.08 53.09 22:29:15 22:22:01 all 4.20 0.00 1.78 1.12 0.03 92.87 22:29:15 22:22:01 0 3.38 0.00 1.73 0.05 0.02 94.82 22:29:15 22:22:01 1 4.15 0.00 2.18 1.73 0.02 91.92 22:29:15 22:22:01 2 4.08 0.00 1.36 0.45 0.03 94.07 22:29:15 22:22:01 3 4.41 0.00 2.01 3.90 0.03 89.64 22:29:15 22:22:01 4 4.78 0.00 1.68 1.11 0.02 92.41 22:29:15 22:22:01 5 4.16 0.00 2.01 0.87 0.02 92.94 22:29:15 22:22:01 6 4.12 0.00 1.44 0.32 0.02 94.10 22:29:15 22:22:01 7 4.49 0.00 1.83 0.52 0.08 93.08 22:29:15 22:23:01 all 0.02 0.00 0.01 0.01 0.00 99.95 22:29:15 22:23:01 0 0.05 0.00 0.00 0.00 0.00 99.95 22:29:15 22:23:01 1 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:23:01 2 0.00 0.00 0.02 0.00 0.00 99.98 22:29:15 22:23:01 3 0.00 0.00 0.03 0.00 0.00 99.97 22:29:15 22:23:01 4 0.00 0.00 0.00 0.00 0.02 99.98 22:29:15 22:23:01 5 0.03 0.00 0.02 0.07 0.00 99.88 22:29:15 22:23:01 6 0.03 0.00 0.00 0.00 0.00 99.97 22:29:15 22:23:01 7 0.07 0.00 0.02 0.00 0.02 99.90 22:29:15 22:24:01 all 0.04 0.00 0.02 0.01 0.00 99.92 22:29:15 22:24:01 0 0.00 0.00 0.02 0.02 0.00 99.97 22:29:15 22:24:01 1 0.05 0.00 0.02 0.00 0.00 99.93 22:29:15 22:24:01 2 0.05 0.00 0.03 0.00 0.02 99.90 22:29:15 22:24:01 3 0.05 0.00 0.02 0.00 0.00 99.93 22:29:15 22:24:01 4 0.05 0.00 0.02 0.00 0.00 99.93 22:29:15 22:24:01 5 0.07 0.00 0.03 0.08 0.02 99.80 22:29:15 22:24:01 6 0.02 0.00 0.00 0.00 0.00 99.98 22:29:15 22:24:01 7 0.05 0.00 0.03 0.00 0.00 99.92 22:29:15 22:25:01 all 0.01 0.00 0.01 0.01 0.01 99.96 22:29:15 22:25:01 0 0.02 0.00 0.00 0.00 0.02 99.97 22:29:15 22:25:01 1 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:25:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:25:01 3 0.00 0.00 0.00 0.00 0.02 99.98 22:29:15 22:25:01 4 0.02 0.00 0.02 0.00 0.02 99.95 22:29:15 22:25:01 5 0.05 0.00 0.02 0.08 0.00 99.85 22:29:15 22:25:01 6 0.02 0.00 0.03 0.00 0.02 99.93 22:29:15 22:25:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:26:01 all 0.02 0.00 0.02 0.01 0.00 99.95 22:29:15 22:26:01 0 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:26:01 1 0.02 0.00 0.02 0.00 0.02 99.95 22:29:15 22:26:01 2 0.02 0.00 0.03 0.00 0.00 99.95 22:29:15 22:26:01 3 0.02 0.00 0.02 0.00 0.00 99.97 22:29:15 22:26:01 4 0.03 0.00 0.00 0.00 0.00 99.97 22:29:15 22:26:01 5 0.03 0.00 0.03 0.08 0.00 99.85 22:29:15 22:26:01 6 0.00 0.00 0.03 0.00 0.00 99.97 22:29:15 22:26:01 7 0.03 0.00 0.02 0.00 0.00 99.95 22:29:15 22:27:01 all 0.01 0.00 0.01 0.01 0.00 99.96 22:29:15 22:27:01 0 0.00 0.00 0.02 0.00 0.00 99.98 22:29:15 22:27:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:29:15 22:27:01 2 0.02 0.00 0.00 0.00 0.00 99.98 22:29:15 22:27:01 3 0.02 0.00 0.00 0.00 0.02 99.97 22:29:15 22:27:01 4 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:27:01 5 0.02 0.00 0.02 0.07 0.00 99.90 22:29:15 22:27:01 6 0.03 0.00 0.03 0.00 0.02 99.92 22:29:15 22:27:01 7 0.00 0.00 0.00 0.00 0.00 100.00 22:29:15 22:28:01 all 0.02 0.00 0.01 0.01 0.00 99.95 22:29:15 22:28:01 0 0.02 0.00 0.00 0.00 0.00 99.98 22:29:15 22:28:01 1 0.02 0.00 0.00 0.00 0.00 99.98 22:29:15 22:28:01 2 0.02 0.00 0.02 0.00 0.00 99.97 22:29:15 22:28:01 3 0.00 0.00 0.02 0.00 0.00 99.98 22:29:15 22:28:01 4 0.02 0.00 0.00 0.00 0.00 99.98 22:29:15 22:28:01 5 0.05 0.00 0.02 0.08 0.02 99.83 22:29:15 22:28:01 6 0.02 0.00 0.03 0.00 0.00 99.95 22:29:15 22:28:01 7 0.05 0.00 0.00 0.00 0.00 99.95 22:29:15 22:29:01 all 0.09 0.00 0.03 0.01 0.01 99.87 22:29:15 22:29:01 0 0.10 0.00 0.03 0.00 0.00 99.87 22:29:15 22:29:01 1 0.03 0.00 0.02 0.00 0.00 99.95 22:29:15 22:29:01 2 0.03 0.00 0.02 0.00 0.00 99.95 22:29:15 22:29:01 3 0.03 0.00 0.03 0.00 0.02 99.92 22:29:15 22:29:01 4 0.23 0.00 0.02 0.00 0.02 99.73 22:29:15 22:29:01 5 0.10 0.00 0.02 0.05 0.00 99.83 22:29:15 22:29:01 6 0.03 0.00 0.03 0.00 0.02 99.92 22:29:15 22:29:01 7 0.13 0.00 0.05 0.00 0.00 99.82 22:29:15 Average: all 5.84 0.00 1.31 0.47 0.02 92.36 22:29:15 Average: 0 5.79 0.00 1.27 0.19 0.02 92.74 22:29:15 Average: 1 6.11 0.00 1.33 0.27 0.02 92.28 22:29:15 Average: 2 5.96 0.00 1.40 0.74 0.02 91.88 22:29:15 Average: 3 6.08 0.00 1.24 0.70 0.03 91.96 22:29:15 Average: 4 5.74 0.00 1.32 0.37 0.02 92.55 22:29:15 Average: 5 5.72 0.00 1.29 0.51 0.02 92.46 22:29:15 Average: 6 5.69 0.00 1.31 0.85 0.02 92.13 22:29:15 Average: 7 5.62 0.00 1.33 0.15 0.03 92.87 22:29:15 22:29:15 22:29:15