Pull request #237 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than ec90439a27697dd21f3ec0d955e4506e000b0472 Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh2023537242634881625.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2144107354181093384.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-237/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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12479749503471788162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6172414068227579054.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-237/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-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14667366489724987246.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-8173’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8175 in /w/workspace/undry_device-onvif-camera_PR-237 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ec90439a27697dd21f3ec0d955e4506e000b0472 Merge succeeded, producing ec90439a27697dd21f3ec0d955e4506e000b0472 Checking out Revision ec90439a27697dd21f3ec0d955e4506e000b0472 (PR-237) > git config core.sparsecheckout # timeout=10 > git checkout -f ec90439a27697dd21f3ec0d955e4506e000b0472 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec90439a27697dd21f3ec0d955e4506e000b0472 # timeout=10 Commit message: "Merge branch 'nats-docs' of github.com:EdgeX-Camera-Management/device-onvif-camera into nats-docs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:44:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:44:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:44:05 ========================================================= 17:44:05 EdgeX Global Pipelines Version Info 17:44:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 814365dbdd279782f8e7379f7f7b0f4fe18be793 # timeout=10 17:44:06 ------------------- 17:44:06 stable info: 17:44:06 ------------------- 17:44:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:44:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:44:06 Message: update stable to v1.0.244 17:44:06 ------------------- 17:44:06 experimental info: 17:44:06 ------------------- 17:44:06 Commited By: **** collab-it+edgex@linuxfoundation.org 17:44:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:44:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec90439a27697dd21f3ec0d955e4506e000b0472 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec90439 [Pipeline] echo 17:44:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:07 provisioning config files... 17:44:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config17079477333922438809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:07 ---> docker-login.sh 17:44:07 nexus3.edgexfoundry.org:10001 17:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:08 Configure a credential helper to remove this warning. See 17:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:08 17:44:08 Login Succeeded 17:44:08 nexus3.edgexfoundry.org:10002 17:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:08 Configure a credential helper to remove this warning. See 17:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:08 17:44:08 Login Succeeded 17:44:08 nexus3.edgexfoundry.org:10003 17:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:08 Configure a credential helper to remove this warning. See 17:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:08 17:44:08 Login Succeeded 17:44:08 nexus3.edgexfoundry.org:10004 17:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:08 Configure a credential helper to remove this warning. See 17:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:08 17:44:08 Login Succeeded 17:44:08 docker.io 17:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:08 Configure a credential helper to remove this warning. See 17:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:08 17:44:08 Login Succeeded 17:44:08 ---> docker-login.sh ends [Pipeline] } 17:44:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:44:09 + git rev-list -1 --merges ec90439a27697dd21f3ec0d955e4506e000b0472~1..ec90439a27697dd21f3ec0d955e4506e000b0472 [Pipeline] echo 17:44:09 -----------> git rev-list -1 --merges ec90439a27697dd21f3ec0d955e4506e000b0472~1..ec90439a27697dd21f3ec0d955e4506e000b0472 ec90439a27697dd21f3ec0d955e4506e000b0472 17:44:09 ec90439a27697dd21f3ec0d955e4506e000b0472 [false] [Pipeline] sh 17:44:09 + git log --format=format:%s -1 ec90439a27697dd21f3ec0d955e4506e000b0472 [Pipeline] echo 17:44:09 ========================================================= 17:44:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:44:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:44:10 + git log --format=format:%s -1 ec90439a27697dd21f3ec0d955e4506e000b0472 [Pipeline] echo 17:44:10 [semverPrep] GIT_COMMIT: ec90439a27697dd21f3ec0d955e4506e000b0472, Commit Message: Merge branch 'nats-docs' of github.com:EdgeX-Camera-Management/device-onvif-camera into nats-docs [Pipeline] echo 17:44:10 [semverPrep] This is not a build commit. [Pipeline] sh 17:44:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:10 + grep -v github /etc/ssh/ssh_known_hosts 17:44:10 + [ -e /tmp/ssh_known_hosts ] 17:44:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:44:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:44:10 + sudo tee -a /etc/ssh/ssh_known_hosts 17:44:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:10 17:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:11 0.1.4: Pulling from edgex-devops/py-git-semver 17:44:11 b85a868b505f: Pulling fs layer 17:44:11 e2be974225ed: Pulling fs layer 17:44:11 339a4e72a1f5: Pulling fs layer 17:44:11 988bab9f4d93: Pulling fs layer 17:44:11 1469e6f7b9e6: Pulling fs layer 17:44:11 eaf3925da568: Pulling fs layer 17:44:11 bab4dde63d76: Pulling fs layer 17:44:11 bde34c3a00c8: Pulling fs layer 17:44:11 b352a97aabf1: Pulling fs layer 17:44:11 4872d77fe225: Pulling fs layer 17:44:11 5851b861e8e6: Pulling fs layer 17:44:11 988bab9f4d93: Waiting 17:44:11 1469e6f7b9e6: Waiting 17:44:11 eaf3925da568: Waiting 17:44:11 bab4dde63d76: Waiting 17:44:11 bde34c3a00c8: Waiting 17:44:11 b352a97aabf1: Waiting 17:44:11 4872d77fe225: Waiting 17:44:11 5851b861e8e6: Waiting 17:44:11 e2be974225ed: Verifying Checksum 17:44:11 e2be974225ed: Download complete 17:44:11 988bab9f4d93: Verifying Checksum 17:44:11 988bab9f4d93: Download complete 17:44:11 1469e6f7b9e6: Verifying Checksum 17:44:11 1469e6f7b9e6: Download complete 17:44:11 eaf3925da568: Verifying Checksum 17:44:11 eaf3925da568: Download complete 17:44:11 339a4e72a1f5: Verifying Checksum 17:44:11 339a4e72a1f5: Download complete 17:44:11 bde34c3a00c8: Verifying Checksum 17:44:11 bde34c3a00c8: Download complete 17:44:11 b352a97aabf1: Verifying Checksum 17:44:11 b352a97aabf1: Download complete 17:44:11 4872d77fe225: Verifying Checksum 17:44:11 4872d77fe225: Download complete 17:44:11 5851b861e8e6: Verifying Checksum 17:44:11 5851b861e8e6: Download complete 17:44:11 b85a868b505f: Download complete 17:44:11 bab4dde63d76: Verifying Checksum 17:44:11 bab4dde63d76: Download complete 17:44:12 b85a868b505f: Pull complete 17:44:12 e2be974225ed: Pull complete 17:44:12 339a4e72a1f5: Pull complete 17:44:13 988bab9f4d93: Pull complete 17:44:13 1469e6f7b9e6: Pull complete 17:44:13 eaf3925da568: Pull complete 17:44:16 bab4dde63d76: Pull complete 17:44:16 bde34c3a00c8: Pull complete 17:44:17 b352a97aabf1: Pull complete 17:44:17 4872d77fe225: Pull complete 17:44:18 5851b861e8e6: Pull complete 17:44:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:18 prd-ubuntu20.04-docker-8c-8g-8175 does not seem to be running inside a container 17:44:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:44:27 $ docker top 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 -eo pid,comm 17:44:27 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). 17:44:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:27 [ssh-agent] Looking for ssh-agent implementation... 17:44:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:28 $ docker exec 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 ssh-agent 17:44:28 SSH_AUTH_SOCK=/tmp/ssh-Ec5WTtVuY3dv/agent.31 17:44:28 SSH_AGENT_PID=37 17:44:28 Running ssh-add (command line suppressed) 17:44:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_3822623342739858452.key (/w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_3822623342739858452.key) 17:44:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:28 + git tag --points-at HEAD [Pipeline] } 17:44:28 $ docker exec --env ******** --env ******** 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 ssh-agent -k 17:44:28 unset SSH_AUTH_SOCK; 17:44:28 unset SSH_AGENT_PID; 17:44:28 echo Agent pid 37 killed; 17:44:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:44:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:28 [ssh-agent] Looking for ssh-agent implementation... 17:44:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:28 $ docker exec 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 ssh-agent 17:44:28 SSH_AUTH_SOCK=/tmp/ssh-UmRrkuCQua5P/agent.70 17:44:28 SSH_AGENT_PID=76 17:44:28 Running ssh-add (command line suppressed) 17:44:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_6641803169614729783.key (/w/workspace/undry_device-onvif-camera_PR-237@tmp/private_key_6641803169614729783.key) 17:44:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:29 + git semver init 17:44:29 2023-03-03 17:44:29,526 [run_init] DEBUG init version:0.0.0 force:False 17:44:29 2023-03-03 17:44:29,527 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-237/.semver 17:44:29 2023-03-03 17:44:29,528 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-237/.semver 17:44:29 2023-03-03 17:44:29,528 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-237/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-237, universal_newlines=False, shell=None, istream=None) 17:44:30 2023-03-03 17:44:30,540 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-237/.git/info/exclude 17:44:30 2023-03-03 17:44:30,541 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 with force:False 17:44:30 2023-03-03 17:44:30,541 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 17:44:30 2023-03-03 17:44:30,545 [execute] INFO git cat-file --batch-check 17:44:30 2023-03-03 17:44:30,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) 17:44:30 2023-03-03 17:44:30,553 [execute] INFO git cat-file --batch 17:44:30 2023-03-03 17:44:30,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) 17:44:30 2023-03-03 17:44:30,559 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-237/.semver/PR-237 17:44:30 0.0.0 [Pipeline] } 17:44:30 $ docker exec --env ******** --env ******** 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 ssh-agent -k 17:44:30 unset SSH_AUTH_SOCK; 17:44:30 unset SSH_AGENT_PID; 17:44:30 echo Agent pid 76 killed; 17:44:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:31 + git semver [Pipeline] } 17:44:31 $ docker stop --time=1 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 17:44:32 $ docker rm -f --volumes 7b679cacfe0f4f8a6993b2c230a9a7bb96f8381fb6f582f51dca65203aedd063 [Pipeline] // withDockerContainer [Pipeline] sh 17:44:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:44:33 Stashed 1 file(s) [Pipeline] echo 17:44:33 [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 17:44:33 provisioning config files... 17:44:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config2485790612101327996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:33 ---> docker-login.sh 17:44:33 nexus3.edgexfoundry.org:10001 17:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:33 Configure a credential helper to remove this warning. See 17:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:33 17:44:33 Login Succeeded 17:44:33 nexus3.edgexfoundry.org:10002 17:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:33 Configure a credential helper to remove this warning. See 17:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:33 17:44:33 Login Succeeded 17:44:33 nexus3.edgexfoundry.org:10003 17:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:34 Configure a credential helper to remove this warning. See 17:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:34 17:44:34 Login Succeeded 17:44:34 nexus3.edgexfoundry.org:10004 17:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:34 Configure a credential helper to remove this warning. See 17:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:34 17:44:34 Login Succeeded 17:44:34 docker.io 17:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:34 Configure a credential helper to remove this warning. See 17:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:34 17:44:34 Login Succeeded 17:44:34 ---> docker-login.sh ends [Pipeline] } 17:44:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:44:34 ========================================================= 17:44:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:44:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:34 + 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 . 17:44:34 Sending build context to Docker daemon 28.13MB 17:44:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:44:34 Step 2/13 : FROM ${BASE} AS builder 17:44:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:44:34 213ec9aee27d: Pulling fs layer 17:44:34 4583459ba037: Pulling fs layer 17:44:34 93c1e223e6f2: Pulling fs layer 17:44:34 53926ce57604: Pulling fs layer 17:44:34 21b2b0c7a3f4: Pulling fs layer 17:44:34 22ff95d597cd: Pulling fs layer 17:44:34 12d6caf4c0d1: Pulling fs layer 17:44:34 96b7cbca73a9: Pulling fs layer 17:44:34 a7acece74701: Pulling fs layer 17:44:34 a7acece74701: Waiting 17:44:34 53926ce57604: Waiting 17:44:34 21b2b0c7a3f4: Waiting 17:44:34 12d6caf4c0d1: Waiting 17:44:34 93c1e223e6f2: Download complete 17:44:34 4583459ba037: Download complete 17:44:34 21b2b0c7a3f4: Verifying Checksum 17:44:34 21b2b0c7a3f4: Download complete 17:44:34 22ff95d597cd: Verifying Checksum 17:44:34 22ff95d597cd: Download complete 17:44:34 213ec9aee27d: Verifying Checksum 17:44:34 213ec9aee27d: Download complete 17:44:34 12d6caf4c0d1: Verifying Checksum 17:44:34 12d6caf4c0d1: Download complete 17:44:35 213ec9aee27d: Pull complete 17:44:35 4583459ba037: Pull complete 17:44:35 93c1e223e6f2: Pull complete 17:44:35 a7acece74701: Verifying Checksum 17:44:35 a7acece74701: Download complete 17:44:35 96b7cbca73a9: Verifying Checksum 17:44:35 96b7cbca73a9: Download complete 17:44:35 53926ce57604: Verifying Checksum 17:44:35 53926ce57604: Download complete 17:44:39 53926ce57604: Pull complete 17:44:39 21b2b0c7a3f4: Pull complete 17:44:39 22ff95d597cd: Pull complete 17:44:39 12d6caf4c0d1: Pull complete 17:44:41 96b7cbca73a9: Pull complete 17:44:42 a7acece74701: Pull complete 17:44:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:44:42 ---> db6d94c90886 17:44:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:44:48 Still waiting to schedule task 17:44:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8174’ is offline 17:44:50 ---> Running in b610cfd62811 17:44:50 Removing intermediate container b610cfd62811 17:44:50 ---> edb2bd7d4d5c 17:44:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:44:50 ---> Running in d54b3f0f87cc 17:44:50 Removing intermediate container d54b3f0f87cc 17:44:50 ---> 0235e6600775 17:44:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:44:50 ---> Running in 260779a3b606 17:44:50 Removing intermediate container 260779a3b606 17:44:50 ---> a69e319b6ed0 17:44:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:44:50 ---> Running in e41a592a08ca 17:44:50 Removing intermediate container e41a592a08ca 17:44:50 ---> d1aca33dc75e 17:44:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:44:50 ---> Running in 2031cbf68de7 17:44:50 Removing intermediate container 2031cbf68de7 17:44:50 ---> 636d258d7849 17:44:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:44:50 ---> Running in edbc8d84f9d5 17:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:44:51 OK: 211 MiB in 51 packages 17:44:51 Removing intermediate container edbc8d84f9d5 17:44:51 ---> 96716e9052f9 17:44:51 Step 9/13 : WORKDIR /device-onvif-camera 17:44:51 ---> Running in 7efa7ed6bb1b 17:44:51 Removing intermediate container 7efa7ed6bb1b 17:44:51 ---> 3ea002139107 17:44:51 Step 10/13 : COPY go.mod vendor* ./ 17:44:51 ---> f74cd877bb16 17:44:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:44:51 ---> Running in 4828dcbd2e3a 17:45:30 Removing intermediate container 4828dcbd2e3a 17:45:30 ---> 39aaa8eea175 17:45:30 Step 12/13 : COPY . . 17:45:30 ---> 99309a1eeb47 17:45:30 Step 13/13 : RUN ${MAKE} 17:45:30 ---> Running in e86c90163303 17:45:30 noop 17:45:30 Removing intermediate container e86c90163303 17:45:30 ---> 3f089c9904b3 17:45:30 Successfully built 3f089c9904b3 17:45:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:30 + docker inspect -f . ci-base-image-x86_64 17:45:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:30 prd-ubuntu20.04-docker-8c-8g-8175 does not seem to be running inside a container 17:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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-x86_64 cat 17:45:31 $ docker top 54b447cf2ec3301f07752d552f940ca2c5439ee8a04ae8051a419cadfb27575a -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:31 + go version 17:45:31 go version go1.18.7 linux/amd64 [Pipeline] } 17:45:31 $ docker stop --time=1 54b447cf2ec3301f07752d552f940ca2c5439ee8a04ae8051a419cadfb27575a 17:45:32 $ docker rm -f --volumes 54b447cf2ec3301f07752d552f940ca2c5439ee8a04ae8051a419cadfb27575a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:33 + docker inspect -f . ci-base-image-x86_64 17:45:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:33 prd-ubuntu20.04-docker-8c-8g-8175 does not seem to be running inside a container 17:45:33 $ 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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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-x86_64 cat 17:45:33 $ docker top 3144dd8af896f21d7a2f2bd2e7df2328ea5d79dcbb95e0f2030c52a08c015f44 -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:33 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-237 [Pipeline] fileExists [Pipeline] sh 17:45:34 + make test 17:45:34 go test ./... -coverprofile=coverage.out ./... 17:45:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:45:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:45:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 29.3% of statements 17:45:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:45:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.388s coverage: 86.5% of statements 17:45:53 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." 17:45:53 go vet ./... 17:45:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:45:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:45:56 ./bin/test-attribution-txt.sh [Pipeline] echo 17:45:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:45:56 $ docker stop --time=1 3144dd8af896f21d7a2f2bd2e7df2328ea5d79dcbb95e0f2030c52a08c015f44 17:45:59 $ docker rm -f --volumes 3144dd8af896f21d7a2f2bd2e7df2328ea5d79dcbb95e0f2030c52a08c015f44 [Pipeline] // withDockerContainer [Pipeline] sh 17:46:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:46:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:46:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:46:00 + ls -al . 17:46:00 total 236 17:46:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 17:45 . 17:46:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:43 .. 17:46:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 17:45 .git 17:46:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 17:44 .github 17:46:00 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 17:44 .gitignore 17:46:00 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 17:44 .golangci.yml 17:46:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 17:44 .semver 17:46:00 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 17:44 Attribution.txt 17:46:00 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 17:44 CHANGELOG.md 17:46:00 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 17:44 Dockerfile 17:46:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 17:44 GOVERNANCE.md 17:46:00 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 17:44 Jenkinsfile 17:46:00 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 17:44 LICENSE 17:46:00 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 17:44 Makefile 17:46:00 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 17:44 OWNERS.md 17:46:00 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 17:44 README.md 17:46:00 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 17:44 VERSION 17:46:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 17:44 bin 17:46:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 17:44 cmd 17:46:00 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 17:45 coverage.out 17:46:00 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 17:44 doc 17:46:00 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 17:44 go.mod 17:46:00 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 17:44 go.sum 17:46:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:44 internal 17:46:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:44 snap 17:46:00 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:01 + 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=ec90439a27697dd21f3ec0d955e4506e000b0472 --label arch=amd64 --label version=0.0.0 . 17:46:01 Sending build context to Docker daemon 28.21MB 17:46:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:46:01 Step 2/26 : FROM ${BASE} AS builder 17:46:01 ---> 3f089c9904b3 17:46:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:46:01 ---> Running in a314265464ed 17:46:01 Removing intermediate container a314265464ed 17:46:01 ---> 18cff07b1846 17:46:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:46:01 ---> Running in 2a1912ac1ad6 17:46:01 Removing intermediate container 2a1912ac1ad6 17:46:01 ---> b110bd4126a6 17:46:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:46:01 ---> Running in a2aa53ea4663 17:46:01 Removing intermediate container a2aa53ea4663 17:46:01 ---> 1bc00004a272 17:46:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:46:01 ---> Running in 5e51902d05f6 17:46:01 Removing intermediate container 5e51902d05f6 17:46:01 ---> bb3154055a85 17:46:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:46:01 ---> Running in 849a865aea3d 17:46:01 Removing intermediate container 849a865aea3d 17:46:01 ---> a895b1a67843 17:46:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:01 ---> Running in b4e83205ec32 17:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:46:02 OK: 211 MiB in 51 packages 17:46:03 Removing intermediate container b4e83205ec32 17:46:03 ---> 5f7b87109a70 17:46:03 Step 9/26 : WORKDIR /device-onvif-camera 17:46:03 ---> Running in e90a8239c173 17:46:03 Removing intermediate container e90a8239c173 17:46:03 ---> a0a9efebefda 17:46:03 Step 10/26 : COPY go.mod vendor* ./ 17:46:03 ---> 505662b5dca7 17:46:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:03 ---> Running in ff0ac710f1d5 17:46:04 Removing intermediate container ff0ac710f1d5 17:46:04 ---> 73cf931b770d 17:46:04 Step 12/26 : COPY . . 17:46:04 ---> be4ebe0a5795 17:46:04 Step 13/26 : RUN ${MAKE} 17:46:04 ---> Running in d5f595c50bbf 17:46:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:46:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8176 in /w/workspace/undry_device-onvif-camera_PR-237 [Pipeline] { [Pipeline] ws 17:46:22 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 17:46:22 The recommended git tool is: git 17:46:27 Removing intermediate container d5f595c50bbf 17:46:27 ---> ccbdd40d337a 17:46:27 Step 14/26 : FROM alpine:3.16 17:46:27 3.16: Pulling from library/alpine 17:46:27 ef5531b6e74e: Pulling fs layer 17:46:27 ef5531b6e74e: Verifying Checksum 17:46:27 ef5531b6e74e: Download complete 17:46:27 ef5531b6e74e: Pull complete 17:46:27 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:46:27 Status: Downloaded newer image for alpine:3.16 17:46:27 ---> dfd21b5a31f5 17:46:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:46:27 ---> Running in aa5e5eb7b0c7 17:46:27 Removing intermediate container aa5e5eb7b0c7 17:46:27 ---> cd0c4aeda07a 17:46:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:46:27 ---> Running in 093a3ba6fe44 17:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:46:28 using credential edgex-jenkins-ssh 17:46:28 Cloning the remote Git repository 17:46:28 (1/1) Installing dumb-init (1.2.5-r1) 17:46:28 Executing busybox-1.35.0-r17.trigger 17:46:28 OK: 6 MiB in 15 packages 17:46:28 Removing intermediate container 093a3ba6fe44 17:46:28 ---> 70b714240a51 17:46:28 Step 17/26 : WORKDIR / 17:46:28 ---> Running in 2f43b1216ae6 17:46:28 Removing intermediate container 2f43b1216ae6 17:46:28 ---> 6c7930995f97 17:46:28 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:46:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:46:28 > git init /w/workspace/device-onvif-camera/5 # timeout=10 17:46:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:46:28 > git --version # timeout=10 17:46:28 > git --version # 'git version 2.25.1' 17:46:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:46:29 ---> 5ca434d86fd6 17:46:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:46:29 ---> cb6f2941c453 17:46:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:46:29 ---> 2437a9155a88 17:46:29 Step 21/26 : EXPOSE 59984 17:46:29 ---> Running in 0f82c2f964c7 17:46:29 Removing intermediate container 0f82c2f964c7 17:46:29 ---> 43998c8be3f3 17:46:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:46:29 ---> Running in cff80a048bcb 17:46:29 Removing intermediate container cff80a048bcb 17:46:29 ---> f4cb0d163d5b 17:46:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:46:29 ---> Running in 2ed962bf0cba 17:46:29 Removing intermediate container 2ed962bf0cba 17:46:29 ---> 00ab2813eae4 17:46:29 Step 24/26 : LABEL arch=amd64 17:46:29 ---> Running in 85d483bc57ca 17:46:29 Removing intermediate container 85d483bc57ca 17:46:29 ---> ecd7fc1e641a 17:46:29 Step 25/26 : LABEL git_sha=ec90439a27697dd21f3ec0d955e4506e000b0472 17:46:29 ---> Running in 9fbc4a364e7a 17:46:29 Removing intermediate container 9fbc4a364e7a 17:46:29 ---> a338e20f651a 17:46:29 Step 26/26 : LABEL version=0.0.0 17:46:29 ---> Running in 0efaff31235a 17:46:29 Removing intermediate container 0efaff31235a 17:46:29 ---> 9f2d7057e747 17:46:29 [Warning] One or more build-args [ARCH] were not consumed 17:46:29 Successfully built 9f2d7057e747 17:46:29 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:46:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:30 17:46:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:30 latest: Pulling from edgex-lftools-log-publisher 17:46:30 5eb5b503b376: Pulling fs layer 17:46:30 5c69ac0246d0: Pulling fs layer 17:46:30 ec43610c2a17: Pulling fs layer 17:46:30 3a2ae6a8a46f: Pulling fs layer 17:46:30 33b1e0a273af: Pulling fs layer 17:46:30 5d3b04190fa2: Pulling fs layer 17:46:30 2f39f015ded8: Pulling fs layer 17:46:30 2f39f015ded8: Waiting 17:46:30 5d3b04190fa2: Waiting 17:46:30 33b1e0a273af: Waiting 17:46:30 5c69ac0246d0: Verifying Checksum 17:46:30 5c69ac0246d0: Download complete 17:46:30 33b1e0a273af: Verifying Checksum 17:46:30 33b1e0a273af: Download complete 17:46:30 ec43610c2a17: Verifying Checksum 17:46:30 ec43610c2a17: Download complete 17:46:30 5d3b04190fa2: Verifying Checksum 17:46:30 5d3b04190fa2: Download complete 17:46:30 5eb5b503b376: Verifying Checksum 17:46:30 5eb5b503b376: Download complete 17:46:31 2f39f015ded8: Download complete 17:46:31 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit ec90439a27697dd21f3ec0d955e4506e000b0472 17:46:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:46:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:46:31 > git config core.sparsecheckout # timeout=10 17:46:31 > git checkout -f ec90439a27697dd21f3ec0d955e4506e000b0472 # timeout=10 17:46:31 Merge succeeded, producing ec90439a27697dd21f3ec0d955e4506e000b0472 17:46:31 Checking out Revision ec90439a27697dd21f3ec0d955e4506e000b0472 (PR-237) 17:46:32 5eb5b503b376: Pull complete 17:46:32 5c69ac0246d0: Pull complete 17:46:32 ec43610c2a17: Pull complete 17:46:32 3a2ae6a8a46f: Pull complete 17:46:32 33b1e0a273af: Pull complete 17:46:32 5d3b04190fa2: Pull complete 17:46:31 > git remote # timeout=10 17:46:31 > git config --get remote.origin.url # timeout=10 17:46:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:31 > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 17:46:31 > git rev-parse HEAD^{commit} # timeout=10 17:46:31 > git config core.sparsecheckout # timeout=10 17:46:31 > git checkout -f ec90439a27697dd21f3ec0d955e4506e000b0472 # timeout=10 17:46:35 Commit message: "Merge branch 'nats-docs' of github.com:EdgeX-Camera-Management/device-onvif-camera into nats-docs" 17:46:36 17:46:36 GitHub has been notified of this commit’s build result 17:46:36 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:46:36 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:36 Dload Upload Total Spent Left Speed 17:46:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86155 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 85577 17:46:36 2f39f015ded8: Pull complete 17:46:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:37 prd-ubuntu20.04-docker-8c-8g-8175 does not seem to be running inside a container 17:46:37 $ 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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@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:latest cat 17:46:42 $ docker top c29d01c888f6c66a27bce760ae24a36bb6b0334f6117b0ec099c11504979fab6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 17:46:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:46:42 ---> job-cost.sh 17:46:42 lf-activate-venv: SKIPPING 17:46:42 INFO: No Stack... 17:46:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:46:43 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 17:46:43 /etc/docker/daemon.json 17:46:43 { 17:46:43 "registry-mirrors": [ 17:46:43 "https://nexus3.edgexfoundry.org:10001" 17:46:43 ], 17:46:43 "bip": "10.250.0.254/24", 17:46:43 "hosts": [ 17:46:43 "tcp://0.0.0.0:5555", 17:46:43 "unix:///var/run/docker.sock" 17:46:43 ], 17:46:43 "mtu": 1458, 17:46:43 "selinux-enabled": true, 17:46:43 "seccomp-profile": "/etc/docker/seccomp.json" 17:46:43 } [Pipeline] sh 17:46:43 INFO: Archiving Costs [Pipeline] sh 17:46:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:46:43 + cat /w/workspace/undry_device-onvif-camera_PR-237/archives/cost.csv 17:46:43 + cut -d, -f6 [Pipeline] lock 17:46:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] 17:46:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] did not exist. Created. 17:46:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:43 + sudo service docker restart 17:46:44 + echo total: 0.2199999988079071 [Pipeline] stash 17:46:44 Stashed 1 file(s) [Pipeline] } 17:46:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:44 $ docker stop --time=1 c29d01c888f6c66a27bce760ae24a36bb6b0334f6117b0ec099c11504979fab6 17:46:45 $ docker rm -f --volumes c29d01c888f6c66a27bce760ae24a36bb6b0334f6117b0ec099c11504979fab6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:02 provisioning config files... 17:47:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config4680390543048903761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:02 ---> docker-login.sh 17:47:02 nexus3.edgexfoundry.org:10001 17:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:03 Configure a credential helper to remove this warning. See 17:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:03 17:47:03 Login Succeeded 17:47:03 nexus3.edgexfoundry.org:10002 17:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:03 Configure a credential helper to remove this warning. See 17:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:03 17:47:03 Login Succeeded 17:47:03 nexus3.edgexfoundry.org:10003 17:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:03 Configure a credential helper to remove this warning. See 17:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:03 17:47:03 Login Succeeded 17:47:03 nexus3.edgexfoundry.org:10004 17:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:04 Configure a credential helper to remove this warning. See 17:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:04 17:47:04 Login Succeeded 17:47:04 docker.io 17:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:04 Configure a credential helper to remove this warning. See 17:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:04 17:47:04 Login Succeeded 17:47:04 ---> docker-login.sh ends [Pipeline] } 17:47:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:47:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:05 ========================================================= 17:47:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:47:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:47:05 Sending build context to Docker daemon 20.94MB 17:47:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:47:05 Step 2/13 : FROM ${BASE} AS builder 17:47:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:47:06 9b18e9b68314: Pulling fs layer 17:47:06 35d82f9e3411: Pulling fs layer 17:47:06 e16973657156: Pulling fs layer 17:47:06 fc693d55d65f: Pulling fs layer 17:47:06 7e9fc2657dce: Pulling fs layer 17:47:06 dda99020689f: Pulling fs layer 17:47:06 db1c61fa0a46: Pulling fs layer 17:47:06 891c053d2c06: Pulling fs layer 17:47:06 7e9fc2657dce: Waiting 17:47:06 dda99020689f: Waiting 17:47:06 db1c61fa0a46: Waiting 17:47:06 891c053d2c06: Waiting 17:47:06 fc693d55d65f: Waiting 17:47:06 e16973657156: Verifying Checksum 17:47:06 e16973657156: Download complete 17:47:06 35d82f9e3411: Download complete 17:47:06 7e9fc2657dce: Verifying Checksum 17:47:06 7e9fc2657dce: Download complete 17:47:06 dda99020689f: Download complete 17:47:06 9b18e9b68314: Verifying Checksum 17:47:07 9b18e9b68314: Pull complete 17:47:07 891c053d2c06: Verifying Checksum 17:47:07 891c053d2c06: Download complete 17:47:07 35d82f9e3411: Pull complete 17:47:07 e16973657156: Pull complete 17:47:08 db1c61fa0a46: Verifying Checksum 17:47:08 db1c61fa0a46: Download complete 17:47:08 fc693d55d65f: Verifying Checksum 17:47:08 fc693d55d65f: Download complete 17:47:18 fc693d55d65f: Pull complete 17:47:19 7e9fc2657dce: Pull complete 17:47:19 dda99020689f: Pull complete 17:47:26 db1c61fa0a46: Pull complete 17:47:27 891c053d2c06: Pull complete 17:47:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:47:27 ---> f96f9c87975a 17:47:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:47:29 ---> Running in d694c59b0df1 17:47:29 Removing intermediate container d694c59b0df1 17:47:29 ---> 4e2f495dd332 17:47:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:47:29 ---> Running in 5b55d5f7cee5 17:47:29 Removing intermediate container 5b55d5f7cee5 17:47:29 ---> b6771823dc49 17:47:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:47:29 ---> Running in 1ed590c6c8bc 17:47:30 Removing intermediate container 1ed590c6c8bc 17:47:30 ---> bd7b22cb04b9 17:47:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:47:30 ---> Running in 0d4739142e0f 17:47:30 Removing intermediate container 0d4739142e0f 17:47:30 ---> 46ecb392c464 17:47:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:47:30 ---> Running in ec0401339e86 17:47:30 Removing intermediate container ec0401339e86 17:47:30 ---> 652a6db9bc6c 17:47:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:30 ---> Running in 1e28e938f217 17:47:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:47:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:47:33 OK: 221 MiB in 51 packages 17:47:33 Removing intermediate container 1e28e938f217 17:47:33 ---> e4465118a5fe 17:47:33 Step 9/13 : WORKDIR /device-onvif-camera 17:47:33 ---> Running in fa0db3f28a01 17:47:34 Removing intermediate container fa0db3f28a01 17:47:34 ---> 1236665ccfbf 17:47:34 Step 10/13 : COPY go.mod vendor* ./ 17:47:34 ---> 4440824a89ac 17:47:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:34 ---> Running in a452bf04a574 17:48:42 Removing intermediate container a452bf04a574 17:48:42 ---> 3724165b7146 17:48:42 Step 12/13 : COPY . . 17:48:42 ---> d28a1666abca 17:48:42 Step 13/13 : RUN ${MAKE} 17:48:42 ---> Running in 0ae7d6fc1e7e 17:48:42 noop 17:48:45 Removing intermediate container 0ae7d6fc1e7e 17:48:45 ---> 5e0d06e18551 17:48:45 Successfully built 5e0d06e18551 17:48:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:46 + docker inspect -f . ci-base-image-arm64 17:48:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:46 prd-ubuntu20.04-docker-arm64-4c-16g-8176 does not seem to be running inside a container 17:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:48:47 $ docker top 3b9fa0d0f2f385fa3f7688a9ee0f1bbf7013e88bd0d2156f0dd02fcf7fb6e8d1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:48 + go version 17:48:48 go version go1.18.7 linux/arm64 [Pipeline] } 17:48:48 $ docker stop --time=1 3b9fa0d0f2f385fa3f7688a9ee0f1bbf7013e88bd0d2156f0dd02fcf7fb6e8d1 17:48:50 $ docker rm -f --volumes 3b9fa0d0f2f385fa3f7688a9ee0f1bbf7013e88bd0d2156f0dd02fcf7fb6e8d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:50 + docker inspect -f . ci-base-image-arm64 17:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:50 prd-ubuntu20.04-docker-arm64-4c-16g-8176 does not seem to be running inside a container 17:48:51 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:48:52 $ docker top 94465104b439d0ee235be8c89a116ab2667b40d07ebee5adb20e5f2eea7764af -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 17:48:53 + make test 17:48:53 go test ./... -coverprofile=coverage.out ./... 17:48:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:50:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:50:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 29.3% of statements 17:50:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:50:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.374s coverage: 86.5% of statements 17:50:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:50:43 go vet ./... 17:51:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:51:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:51:15 ./bin/test-attribution-txt.sh [Pipeline] echo 17:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:51:15 $ docker stop --time=1 94465104b439d0ee235be8c89a116ab2667b40d07ebee5adb20e5f2eea7764af 17:51:17 $ docker rm -f --volumes 94465104b439d0ee235be8c89a116ab2667b40d07ebee5adb20e5f2eea7764af [Pipeline] // withDockerContainer [Pipeline] sh 17:51:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:51:18 Warning: overwriting stash ‘coverage-report’ 17:51:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:51:20 + ls -al . 17:51:20 total 232 17:51:20 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 17:48 . 17:51:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:46 .. 17:51:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 17:46 .git 17:51:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 17:46 .github 17:51:20 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 17:46 .gitignore 17:51:20 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 17:46 .golangci.yml 17:51:20 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 17:46 Attribution.txt 17:51:20 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 17:46 CHANGELOG.md 17:51:20 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 17:46 Dockerfile 17:51:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 17:46 GOVERNANCE.md 17:51:20 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 17:46 Jenkinsfile 17:51:20 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 17:46 LICENSE 17:51:20 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 17:46 Makefile 17:51:20 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 17:46 OWNERS.md 17:51:20 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 17:46 README.md 17:51:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 17:44 VERSION 17:51:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 17:46 bin 17:51:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 17:46 cmd 17:51:20 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 17:50 coverage.out 17:51:20 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 17:46 doc 17:51:20 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 17:46 go.mod 17:51:20 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 17:46 go.sum 17:51:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:46 internal 17:51:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 17:46 snap 17:51:20 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 17:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:20 + 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=ec90439a27697dd21f3ec0d955e4506e000b0472 --label arch=arm64 --label version=0.0.0 . 17:51:20 Sending build context to Docker daemon 21.02MB 17:51:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:51:20 Step 2/26 : FROM ${BASE} AS builder 17:51:20 ---> 5e0d06e18551 17:51:20 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:51:21 ---> Running in 3ab46f631357 17:51:21 Removing intermediate container 3ab46f631357 17:51:21 ---> 270176612385 17:51:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:21 ---> Running in 3af6e5980726 17:51:21 Removing intermediate container 3af6e5980726 17:51:21 ---> df95edbd5a79 17:51:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:51:21 ---> Running in 76ff95b1f33a 17:51:22 Removing intermediate container 76ff95b1f33a 17:51:22 ---> 31b5d90295d6 17:51:22 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:51:22 ---> Running in 1eed06392579 17:51:22 Removing intermediate container 1eed06392579 17:51:22 ---> 228f467792a8 17:51:22 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:51:22 ---> Running in 2deb3ae7820b 17:51:22 Removing intermediate container 2deb3ae7820b 17:51:22 ---> 806f18d84733 17:51:22 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:22 ---> Running in eb1e88d906f6 17:51:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:51:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:51:25 OK: 221 MiB in 51 packages 17:51:25 Removing intermediate container eb1e88d906f6 17:51:25 ---> 99fc2769551c 17:51:25 Step 9/26 : WORKDIR /device-onvif-camera 17:51:25 ---> Running in e8fd61c02bb6 17:51:25 Removing intermediate container e8fd61c02bb6 17:51:25 ---> a2633cd3e94c 17:51:25 Step 10/26 : COPY go.mod vendor* ./ 17:51:26 ---> 02a27bb735e5 17:51:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:26 ---> Running in c2f86a8d45b6 17:51:31 Removing intermediate container c2f86a8d45b6 17:51:31 ---> 27e32ec501ef 17:51:31 Step 12/26 : COPY . . 17:51:33 ---> 009b3afc632e 17:51:33 Step 13/26 : RUN ${MAKE} 17:51:33 ---> Running in 980e2df8a74b 17:51:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:53:41 Removing intermediate container 980e2df8a74b 17:53:41 ---> e2cf9cfff9cd 17:53:41 Step 14/26 : FROM alpine:3.16 17:53:41 3.16: Pulling from library/alpine 17:53:41 3760b48202b3: Pulling fs layer 17:53:41 3760b48202b3: Verifying Checksum 17:53:41 3760b48202b3: Download complete 17:53:41 3760b48202b3: Pull complete 17:53:41 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:53:41 Status: Downloaded newer image for alpine:3.16 17:53:41 ---> 4c81e5bf8899 17:53:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:53:41 ---> Running in eb2c1b9a04ef 17:53:41 Removing intermediate container eb2c1b9a04ef 17:53:41 ---> 5c5ab15d9a37 17:53:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:53:41 ---> Running in 9aa719d196ec 17:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:53:41 (1/1) Installing dumb-init (1.2.5-r1) 17:53:41 Executing busybox-1.35.0-r17.trigger 17:53:41 OK: 5 MiB in 15 packages 17:53:41 Removing intermediate container 9aa719d196ec 17:53:41 ---> 736c6b1f5425 17:53:41 Step 17/26 : WORKDIR / 17:53:41 ---> Running in 5206dfe81126 17:53:41 Removing intermediate container 5206dfe81126 17:53:41 ---> 4dc56ffcbe30 17:53:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:53:41 ---> 9db4ac8d525b 17:53:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:53:41 ---> 150005343601 17:53:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:53:41 ---> 2d4fefea65d5 17:53:41 Step 21/26 : EXPOSE 59984 17:53:41 ---> Running in 90653a52c8de 17:53:41 Removing intermediate container 90653a52c8de 17:53:41 ---> fec1453974e3 17:53:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:53:41 ---> Running in 503ec8646937 17:53:41 Removing intermediate container 503ec8646937 17:53:41 ---> 0dcd115f424a 17:53:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:53:41 ---> Running in cd5b4575dd15 17:53:41 Removing intermediate container cd5b4575dd15 17:53:41 ---> b23127902fc4 17:53:41 Step 24/26 : LABEL arch=arm64 17:53:41 ---> Running in 6fa777a10a0e 17:53:41 Removing intermediate container 6fa777a10a0e 17:53:41 ---> 9bf3b8cc0bce 17:53:41 Step 25/26 : LABEL git_sha=ec90439a27697dd21f3ec0d955e4506e000b0472 17:53:41 ---> Running in abb4312336c2 17:53:41 Removing intermediate container abb4312336c2 17:53:41 ---> a1d421b55624 17:53:41 Step 26/26 : LABEL version=0.0.0 17:53:41 ---> Running in 8345a656162b 17:53:41 Removing intermediate container 8345a656162b 17:53:41 ---> 3775c3c896aa 17:53:41 [Warning] One or more build-args [ARCH] were not consumed 17:53:41 Successfully built 3775c3c896aa 17:53:41 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:53:41 17:53:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:53:42 arm64: Pulling from edgex-lftools-log-publisher 17:53:42 8998bd30e6a1: Pulling fs layer 17:53:42 04944245beec: Pulling fs layer 17:53:42 699f458cf7ca: Pulling fs layer 17:53:42 765212b225bb: Pulling fs layer 17:53:42 f23df028b6ca: Pulling fs layer 17:53:42 d65c8cfc05b1: Pulling fs layer 17:53:42 2437ff75d9bd: Pulling fs layer 17:53:42 f23df028b6ca: Waiting 17:53:42 765212b225bb: Waiting 17:53:42 2437ff75d9bd: Waiting 17:53:42 d65c8cfc05b1: Waiting 17:53:42 04944245beec: Verifying Checksum 17:53:42 04944245beec: Download complete 17:53:42 765212b225bb: Verifying Checksum 17:53:42 765212b225bb: Download complete 17:53:42 f23df028b6ca: Verifying Checksum 17:53:42 f23df028b6ca: Download complete 17:53:42 d65c8cfc05b1: Verifying Checksum 17:53:42 d65c8cfc05b1: Download complete 17:53:42 699f458cf7ca: Verifying Checksum 17:53:42 699f458cf7ca: Download complete 17:53:43 8998bd30e6a1: Verifying Checksum 17:53:43 8998bd30e6a1: Download complete 17:53:45 2437ff75d9bd: Verifying Checksum 17:53:45 2437ff75d9bd: Download complete 17:53:46 8998bd30e6a1: Pull complete 17:53:47 04944245beec: Pull complete 17:53:48 699f458cf7ca: Pull complete 17:53:48 765212b225bb: Pull complete 17:53:48 f23df028b6ca: Pull complete 17:53:49 d65c8cfc05b1: Pull complete 17:54:01 2437ff75d9bd: Pull complete 17:54:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:54:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:01 prd-ubuntu20.04-docker-arm64-4c-16g-8176 does not seem to be running inside a container 17:54:01 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:54:04 $ docker top 1798aa8c1b76c8d59317ce44fbe1ba9ffdcc15acb48fe08516b82ecbaa1c2f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:04 ---> job-cost.sh 17:54:04 lf-activate-venv: SKIPPING 17:54:04 INFO: No Stack... 17:54:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:54:06 INFO: Archiving Costs [Pipeline] sh 17:54:06 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 17:54:06 + cut -d, -f6 [Pipeline] lock 17:54:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] 17:54:06 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] did not exist. Created. 17:54:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:06 /w/workspace/device-onvif-camera/5@tmp/durable-98fbc59a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:54:07 + echo total: 0.10999999940395355 [Pipeline] stash 17:54:07 Warning: overwriting stash ‘stack-cost’ 17:54:07 Stashed 1 file(s) [Pipeline] } 17:54:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-237-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:07 $ docker stop --time=1 1798aa8c1b76c8d59317ce44fbe1ba9ffdcc15acb48fe08516b82ecbaa1c2f75 17:54:09 $ docker rm -f --volumes 1798aa8c1b76c8d59317ce44fbe1ba9ffdcc15acb48fe08516b82ecbaa1c2f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:54:09 provisioning config files... 17:54:09 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config12135066666017045409tmp [Pipeline] { [Pipeline] sh 17:54:09 + set +x 17:54:09 + curl -s https://codecov.io/bash 17:54:09 + bash -s -- 17:54:09 17:54:09 _____ _ 17:54:09 / ____| | | 17:54:09 | | ___ __| | ___ ___ _____ __ 17:54:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:54:09 | |___| (_) | (_| | __/ (_| (_) \ V / 17:54:09 \_____\___/ \__,_|\___|\___\___/ \_/ 17:54:09 Bash-1.0.6 17:54:09 17:54:09 17:54:09 ==> git version 2.25.1 found 17:54:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:54:09 Release-Date: 2020-01-08 17:54:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:54:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:54:09 ==> Jenkins CI detected. 17:54:09 current dir:  /w/workspace/undry_device-onvif-camera_PR-237 17:54:09 project root: . 17:54:09 --> token set from env 17:54:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:54:09 ==> Running gcov in . (disable via -X gcov) 17:54:09 ==> Python coveragepy not found 17:54:09 ==> Searching for coverage reports in: 17:54:09 + . 17:54:09 -> Found 1 reports 17:54:09 ==> Detecting git/mercurial file structure 17:54:09 ==> Reading reports 17:54:09 + ./coverage.out bytes=79184 17:54:09 ==> Appending adjustments 17:54:09 https://docs.codecov.io/docs/fixing-reports 17:54:10 + Found adjustments 17:54:10 ==> Gzipping contents 17:54:10 12K /tmp/codecov.kYYtyP.gz 17:54:10 ==> Uploading reports 17:54:10 url: https://codecov.io 17:54:10 query: branch=PR-237&commit=ec90439a27697dd21f3ec0d955e4506e000b0472&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-237%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=237&job=&cmd_args= 17:54:10 -> Pinging Codecov 17:54:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-237&commit=ec90439a27697dd21f3ec0d955e4506e000b0472&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-237%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=237&job=&cmd_args= 17:54:10 -> Uploading to 17:54:10 https://storage.googleapis.com/codecov/v4/raw/2023-03-03/F29A59C45E3A92E06B3E522C9905F8EF/ec90439a27697dd21f3ec0d955e4506e000b0472/adc2cf8d-c290-4b82-bc20-72ef26ea3266.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T175410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5265380e8cc0eb5ddc7db16735e964ac0b100f83eec70f0cb3eab4f9c0e1e65 17:54:10 % Total % Received % Xferd Average Speed Time Time Time Current 17:54:10 Dload Upload Total Spent Left Speed 17:54:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10863 0 0 100 10863 0 36823 --:--:-- --:--:-- --:--:-- 36823 17:54:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ec90439a27697dd21f3ec0d955e4506e000b0472 [Pipeline] } 17:54:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:54:11 + [ -d /w/workspace/undry_device-onvif-camera_PR-237/archives ] 17:54:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-237/archives 17:54:11 total 16 17:54:11 drwxr-xr-x 3 root root 4096 Mar 3 17:46 . 17:54:11 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 17:46 .. 17:54:11 drwxr-xr-x 2 root root 4096 Mar 3 17:46 cost 17:54:11 -rw-r--r-- 1 root root 91 Mar 3 17:46 cost.csv 17:54:11 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-237/archives 17:54:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-237/archives 17:54:11 total 16 17:54:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 17:46 . 17:54:11 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 17:46 .. 17:54:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 17:46 cost 17:54:11 -rw-r--r-- 1 jenkins jenkins 91 Mar 3 17:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:54:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:54:12 ---> package-listing.sh 17:54:12 ++ facter osfamily 17:54:12 ++ tr '[:upper:]' '[:lower:]' 17:54:12 + OS_FAMILY=debian 17:54:12 + workspace=/w/workspace/undry_device-onvif-camera_PR-237 17:54:12 + START_PACKAGES=/tmp/packages_start.txt 17:54:12 + END_PACKAGES=/tmp/packages_end.txt 17:54:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:54:12 + PACKAGES=/tmp/packages_start.txt 17:54:12 + '[' /w/workspace/undry_device-onvif-camera_PR-237 ']' 17:54:12 + PACKAGES=/tmp/packages_end.txt 17:54:12 + case "${OS_FAMILY}" in 17:54:12 + dpkg -l 17:54:12 + grep '^ii' 17:54:12 + '[' -f /tmp/packages_start.txt ']' 17:54:12 + '[' -f /tmp/packages_end.txt ']' 17:54:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:54:12 + '[' /w/workspace/undry_device-onvif-camera_PR-237 ']' 17:54:12 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-237/archives/ 17:54:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-237/archives/ [Pipeline] echo 17:54:12 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:54:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:13 prd-ubuntu20.04-docker-8c-8g-8175 does not seem to be running inside a container 17:54:13 $ 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-237/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-237 -v /w/workspace/undry_device-onvif-camera_PR-237:/w/workspace/undry_device-onvif-camera_PR-237:rw,z -v /w/workspace/undry_device-onvif-camera_PR-237@tmp:/w/workspace/undry_device-onvif-camera_PR-237@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:14 $ docker top 367f49a6c92d397277153c92bea64f4b6e6c526ed969c056e06a5889f5c46955 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:14 + touch /tmp/pre-build-complete [Pipeline] sh 17:54:14 + mkdir -p /var/log/sysstat [Pipeline] sh 17:54:14 + ls /var/log/sa-host 17:54:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:15 provisioning config files... 17:54:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-237@tmp/config15662364531823066405tmp [Pipeline] { [Pipeline] echo 17:54:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:54:15 ---> create-netrc.sh [Pipeline] } 17:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:54:15 ---> python-tools-install.sh [Pipeline] echo 17:54:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:54:15 ---> sudo-logs.sh 17:54:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:54:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:54:16 ---> job-cost.sh 17:54:16 lf-activate-venv: SKIPPING 17:54:16 DEBUG: total: 0.2199999988079071 17:54:16 INFO: Retrieving Stack Cost... 17:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:17 INFO: Archiving Costs [Pipeline] echo 17:54:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:54:17 ---> logs-deploy.sh 17:54:17 lf-activate-venv: SKIPPING 17:54:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-237/5 17:54:17 INFO: archiving workspace using pattern(s): 17:54:18 Archives upload complete. 17:54:18 INFO: archiving logs to Nexus 17:54:19 ---> uname -a: 17:54:19 Linux prd-ubuntu20-04-docker-8c-8g-8175 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:54:19 17:54:19 17:54:19 ---> lscpu: 17:54:19 Architecture: x86_64 17:54:19 CPU op-mode(s): 32-bit, 64-bit 17:54:19 Byte Order: Little Endian 17:54:19 Address sizes: 40 bits physical, 48 bits virtual 17:54:19 CPU(s): 8 17:54:19 On-line CPU(s) list: 0-7 17:54:19 Thread(s) per core: 1 17:54:19 Core(s) per socket: 1 17:54:19 Socket(s): 8 17:54:19 NUMA node(s): 1 17:54:19 Vendor ID: AuthenticAMD 17:54:19 CPU family: 23 17:54:19 Model: 49 17:54:19 Model name: AMD EPYC-Rome Processor 17:54:19 Stepping: 0 17:54:19 CPU MHz: 2799.996 17:54:19 BogoMIPS: 5599.99 17:54:19 Virtualization: AMD-V 17:54:19 Hypervisor vendor: KVM 17:54:19 Virtualization type: full 17:54:19 L1d cache: 256 KiB 17:54:19 L1i cache: 256 KiB 17:54:19 L2 cache: 4 MiB 17:54:19 L3 cache: 128 MiB 17:54:19 NUMA node0 CPU(s): 0-7 17:54:19 Vulnerability Itlb multihit: Not affected 17:54:19 Vulnerability L1tf: Not affected 17:54:19 Vulnerability Mds: Not affected 17:54:19 Vulnerability Meltdown: Not affected 17:54:19 Vulnerability Mmio stale data: Not affected 17:54:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:54:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:54:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:54:19 Vulnerability Srbds: Not affected 17:54:19 Vulnerability Tsx async abort: Not affected 17:54:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:54:19 17:54:19 17:54:19 ---> nproc: 17:54:19 8 17:54:19 17:54:19 17:54:19 ---> df -h: 17:54:19 Filesystem Size Used Avail Use% Mounted on 17:54:19 overlay 155G 12G 144G 8% / 17:54:19 tmpfs 64M 0 64M 0% /dev 17:54:19 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:54:19 shm 64M 0 64M 0% /dev/shm 17:54:19 /dev/vda1 155G 12G 144G 8% /facter-os 17:54:19 17:54:19 17:54:19 ---> sar -b -r -n DEV: 17:54:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8175) 03/03/23 _x86_64_ (8 CPU) 17:54:19 17:54:19 17:43:24 LINUX RESTART (8 CPU) 17:54:19 17:54:19 17:44:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:54:19 17:45:01 347.28 10.27 337.01 0.00 1779.36 132134.89 0.00 17:54:19 17:46:01 139.04 1.58 137.46 0.00 14.93 66527.58 0.00 17:54:19 17:47:01 156.66 0.12 156.54 0.00 13.20 36861.59 0.00 17:54:19 17:48:01 2.10 0.00 2.10 0.00 0.00 25.61 0.00 17:54:19 17:49:01 27.96 10.90 17.06 0.00 3527.68 3754.57 0.00 17:54:19 17:50:01 4.92 0.00 4.92 0.00 0.00 64.39 0.00 17:54:19 17:51:01 1.43 0.00 1.43 0.00 0.00 15.73 0.00 17:54:19 17:52:01 1.95 0.00 1.95 0.00 0.00 20.53 0.00 17:54:19 17:53:01 1.33 0.00 1.33 0.00 0.00 14.26 0.00 17:54:19 17:54:01 2.35 0.00 2.35 0.00 0.00 34.66 0.00 17:54:19 Average: 68.04 2.27 65.76 0.00 531.43 23764.40 0.00 17:54:19 17:54:19 17:44:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:54:19 17:45:01 29035440 31561404 749940 2.28 80080 2721364 1955452 5.76 1053956 2429120 68700 17:54:19 17:46:01 28349068 31547116 757844 2.30 150748 3256844 2032044 5.99 1293596 2801364 260 17:54:19 17:47:01 27616276 31583808 717616 2.18 162304 3951888 1755040 5.17 1310988 3449976 380 17:54:19 17:48:01 27616424 31584084 717004 2.18 162340 3951888 1755040 5.17 1310580 3449976 16 17:54:19 17:49:01 27380612 31571804 721272 2.19 167716 4157932 1831292 5.40 1465168 3507884 1376 17:54:19 17:50:01 27380928 31572252 720560 2.19 167776 4157936 1831292 5.40 1465348 3507884 8 17:54:19 17:51:01 27388816 31580248 712424 2.17 167840 4157940 1831292 5.40 1457788 3507892 168 17:54:19 17:52:01 27388760 31580260 712308 2.17 167908 4157940 1831292 5.40 1458132 3507892 172 17:54:19 17:53:01 27388656 31580624 712332 2.17 167968 4157944 1831292 5.40 1457700 3508300 172 17:54:19 17:54:01 27388348 31580420 712420 2.17 168080 4157924 1831292 5.40 1457716 3508288 16 17:54:19 Average: 27693333 31574202 723372 2.20 156276 3882960 1848533 5.45 1373097 3317858 7127 17:54:19 17:54:19 17:44:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:54:19 17:45:01 ens3 417.08 279.38 6242.18 61.47 0.00 0.00 0.00 0.00 17:54:19 17:45:01 docker0 100.31 133.55 8.30 406.84 0.00 0.00 0.00 0.00 17:54:19 17:45:01 veth43919f3 85.29 117.13 8.19 247.34 0.00 0.00 0.00 0.02 17:54:19 17:45:01 lo 6.30 6.30 0.61 0.61 0.00 0.00 0.00 0.00 17:54:19 17:46:01 ens3 208.12 108.15 1703.73 22.00 0.00 0.00 0.00 0.00 17:54:19 17:46:01 docker0 87.24 171.19 6.89 1669.08 0.00 0.00 0.00 0.00 17:54:19 17:46:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 17:54:19 17:47:01 ens3 120.91 72.50 2658.98 16.21 0.00 0.00 0.00 0.00 17:54:19 17:47:01 docker0 4.03 8.87 0.24 81.69 0.00 0.00 0.00 0.00 17:54:19 17:47:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 17:54:19 17:48:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 17:49:01 ens3 101.48 53.79 1375.74 3.83 0.00 0.00 0.00 0.00 17:54:19 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:49:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 17:54:19 17:50:01 ens3 0.25 0.17 0.02 0.01 0.00 0.00 0.00 0.00 17:54:19 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 17:51:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:52:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 17:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 17:53:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:54:01 ens3 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 17:54:19 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:19 17:54:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:54:19 Average: ens3 84.29 51.06 1189.64 10.28 0.00 0.00 0.00 0.00 17:54:19 Average: docker0 19.02 31.19 1.53 215.44 0.00 0.00 0.00 0.00 17:54:19 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 17:54:19 17:54:19 17:54:19 ---> sar -P ALL: 17:54:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8175) 03/03/23 _x86_64_ (8 CPU) 17:54:19 17:54:19 17:43:24 LINUX RESTART (8 CPU) 17:54:19 17:54:19 17:44:02 CPU %user %nice %system %iowait %steal %idle 17:54:19 17:45:01 all 6.50 0.00 2.96 6.48 0.07 83.99 17:54:19 17:45:01 0 5.18 0.00 3.60 3.67 0.05 87.49 17:54:19 17:45:01 1 7.20 0.00 3.24 12.23 0.07 77.27 17:54:19 17:45:01 2 6.07 0.00 3.96 17.02 0.10 72.85 17:54:19 17:45:01 3 7.21 0.00 3.19 0.43 0.07 89.09 17:54:19 17:45:01 4 8.39 0.00 2.69 0.51 0.05 88.36 17:54:19 17:45:01 5 6.47 0.00 1.96 1.37 0.07 90.13 17:54:19 17:45:01 6 5.48 0.00 2.58 16.23 0.09 75.64 17:54:19 17:45:01 7 6.05 0.00 2.43 0.21 0.10 91.21 17:54:19 17:46:01 all 24.91 0.00 5.15 3.95 0.11 65.89 17:54:19 17:46:01 0 25.31 0.00 5.11 0.96 0.08 68.54 17:54:19 17:46:01 1 23.42 0.00 4.69 2.52 0.08 69.29 17:54:19 17:46:01 2 26.27 0.00 5.20 5.15 0.12 63.26 17:54:19 17:46:01 3 26.19 0.00 5.71 20.06 0.12 47.92 17:54:19 17:46:01 4 25.70 0.00 4.83 0.59 0.08 68.79 17:54:19 17:46:01 5 21.98 0.00 6.09 0.54 0.15 71.23 17:54:19 17:46:01 6 25.43 0.00 4.76 1.08 0.10 68.63 17:54:19 17:46:01 7 24.96 0.00 4.79 0.69 0.15 69.41 17:54:19 17:47:01 all 18.86 0.00 3.88 2.46 0.09 74.71 17:54:19 17:47:01 0 19.65 0.00 3.66 0.17 0.10 76.42 17:54:19 17:47:01 1 18.84 0.00 3.62 0.79 0.07 76.68 17:54:19 17:47:01 2 19.30 0.00 4.05 0.20 0.08 76.37 17:54:19 17:47:01 3 18.76 0.00 3.97 0.61 0.08 76.58 17:54:19 17:47:01 4 18.56 0.00 4.12 16.28 0.10 60.93 17:54:19 17:47:01 5 18.30 0.00 3.80 0.62 0.07 77.21 17:54:19 17:47:01 6 18.82 0.00 3.37 0.69 0.05 77.08 17:54:19 17:47:01 7 18.64 0.00 4.47 0.40 0.17 76.32 17:54:19 17:48:01 all 0.03 0.00 0.01 0.01 0.00 99.94 17:54:19 17:48:01 0 0.05 0.00 0.08 0.00 0.02 99.85 17:54:19 17:48:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:48:01 2 0.03 0.00 0.00 0.00 0.00 99.97 17:54:19 17:48:01 3 0.00 0.00 0.02 0.02 0.00 99.97 17:54:19 17:48:01 4 0.00 0.00 0.02 0.00 0.00 99.98 17:54:19 17:48:01 5 0.00 0.00 0.00 0.00 0.02 99.98 17:54:19 17:48:01 6 0.12 0.00 0.00 0.08 0.00 99.80 17:54:19 17:48:01 7 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:49:01 all 1.03 0.00 0.45 0.61 0.01 97.90 17:54:19 17:49:01 0 1.42 0.00 0.53 0.05 0.02 97.98 17:54:19 17:49:01 1 2.77 0.00 0.45 0.08 0.00 96.70 17:54:19 17:49:01 2 0.50 0.00 0.23 0.12 0.02 99.13 17:54:19 17:49:01 3 0.58 0.00 0.53 2.01 0.02 96.86 17:54:19 17:49:01 4 0.75 0.00 0.50 0.05 0.00 98.70 17:54:19 17:49:01 5 0.70 0.00 0.63 0.47 0.00 98.20 17:54:19 17:49:01 6 0.75 0.00 0.33 1.03 0.02 97.86 17:54:19 17:49:01 7 0.77 0.00 0.37 1.07 0.02 97.78 17:54:19 17:50:01 all 0.04 0.00 0.02 0.01 0.01 99.92 17:54:19 17:50:01 0 0.07 0.00 0.07 0.00 0.02 99.85 17:54:19 17:50:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:50:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:50:01 3 0.18 0.00 0.00 0.05 0.03 99.73 17:54:19 17:50:01 4 0.00 0.00 0.03 0.00 0.00 99.97 17:54:19 17:50:01 5 0.00 0.00 0.00 0.00 0.02 99.98 17:54:19 17:50:01 6 0.03 0.00 0.02 0.05 0.00 99.90 17:54:19 17:50:01 7 0.00 0.00 0.05 0.00 0.00 99.95 17:54:19 17:51:01 all 0.07 0.00 0.01 0.00 0.01 99.90 17:54:19 17:51:01 0 0.03 0.00 0.03 0.00 0.02 99.92 17:54:19 17:51:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:54:19 17:51:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:54:19 17:51:01 3 0.40 0.00 0.00 0.00 0.02 99.58 17:54:19 17:51:01 4 0.02 0.00 0.00 0.00 0.02 99.97 17:54:19 17:51:01 5 0.03 0.00 0.00 0.00 0.00 99.97 17:54:19 17:51:01 6 0.03 0.00 0.02 0.02 0.00 99.93 17:54:19 17:51:01 7 0.00 0.00 0.03 0.00 0.00 99.97 17:54:19 17:52:01 all 0.26 0.00 0.01 0.02 0.00 99.71 17:54:19 17:52:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:54:19 17:52:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:52:01 2 0.00 0.00 0.02 0.00 0.00 99.98 17:54:19 17:52:01 3 1.97 0.00 0.00 0.10 0.00 97.93 17:54:19 17:52:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:52:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:52:01 6 0.02 0.00 0.02 0.10 0.00 99.87 17:54:19 17:52:01 7 0.02 0.00 0.00 0.00 0.00 99.98 17:54:19 17:53:01 all 0.08 0.00 0.01 0.01 0.01 99.89 17:54:19 17:53:01 0 0.03 0.00 0.02 0.00 0.02 99.93 17:54:19 17:53:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:54:19 17:53:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:54:19 17:53:01 3 0.42 0.00 0.00 0.00 0.00 99.58 17:54:19 17:53:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:54:19 17:53:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:54:19 17:53:01 6 0.05 0.00 0.00 0.07 0.02 99.87 17:54:19 17:53:01 7 0.07 0.00 0.07 0.00 0.03 99.83 17:54:19 17:54:01 all 0.03 0.00 0.01 0.01 0.01 99.94 17:54:19 17:54:01 0 0.07 0.00 0.00 0.00 0.00 99.93 17:54:19 17:54:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:54:19 17:54:01 2 0.00 0.00 0.00 0.00 0.02 99.98 17:54:19 17:54:01 3 0.00 0.00 0.00 0.05 0.02 99.93 17:54:19 17:54:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:54:19 17:54:01 5 0.00 0.00 0.00 0.00 0.02 99.98 17:54:19 17:54:01 6 0.12 0.00 0.02 0.05 0.00 99.82 17:54:19 17:54:01 7 0.00 0.00 0.03 0.02 0.02 99.93 17:54:19 Average: all 5.14 0.00 1.24 1.34 0.03 92.26 17:54:19 Average: 0 5.15 0.00 1.30 0.48 0.03 93.04 17:54:19 Average: 1 5.20 0.00 1.19 1.53 0.03 92.05 17:54:19 Average: 2 5.18 0.00 1.33 2.22 0.03 91.24 17:54:19 Average: 3 5.52 0.00 1.33 2.31 0.04 90.81 17:54:19 Average: 4 5.29 0.00 1.21 1.72 0.03 91.76 17:54:19 Average: 5 4.70 0.00 1.23 0.30 0.03 93.74 17:54:19 Average: 6 5.04 0.00 1.10 1.91 0.03 91.92 17:54:19 Average: 7 5.00 0.00 1.21 0.24 0.05 93.50 17:54:19 17:54:19 17:54:19