Pull request #161 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 9529a08616fbf50562e457d47ceb1e232669f063 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh3803018320045334986.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13811857880498038564.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7672141005596793473.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9365219473153127033.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-161/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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12206202803322504947.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-29803 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-161 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 9529a08616fbf50562e457d47ceb1e232669f063 Merge succeeded, producing 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 Checking out Revision 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9529a08616fbf50562e457d47ceb1e232669f063 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:53:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:53:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:53:58 ========================================================= 04:53:58 EdgeX Global Pipelines Version Info 04:53:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:53:59 ------------------- 04:53:59 stable info: 04:53:59 ------------------- 04:53:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:53:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:53:59 Message: update stable to v1.0.239 04:54:00 ------------------- 04:54:00 experimental info: 04:54:00 ------------------- 04:54:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:54:00 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3525f1e [Pipeline] echo 04:54:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:00 provisioning config files... 04:54:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config4942606387112028725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:01 ---> docker-login.sh 04:54:01 nexus3.edgexfoundry.org:10001 04:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:01 Configure a credential helper to remove this warning. See 04:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:01 04:54:01 Login Succeeded 04:54:01 nexus3.edgexfoundry.org:10002 04:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:02 Configure a credential helper to remove this warning. See 04:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:02 04:54:02 Login Succeeded 04:54:02 nexus3.edgexfoundry.org:10003 04:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:02 Configure a credential helper to remove this warning. See 04:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:02 04:54:02 Login Succeeded 04:54:02 nexus3.edgexfoundry.org:10004 04:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:02 Configure a credential helper to remove this warning. See 04:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:02 04:54:02 Login Succeeded 04:54:02 docker.io 04:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:02 Configure a credential helper to remove this warning. See 04:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:02 04:54:02 Login Succeeded 04:54:02 ---> docker-login.sh ends [Pipeline] } 04:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:03 + git rev-list -1 --merges 3525f1e26c512a389455bf17f77a0c7f0cd07fd1~1..3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo 04:54:03 -----------> git rev-list -1 --merges 3525f1e26c512a389455bf17f77a0c7f0cd07fd1~1..3525f1e26c512a389455bf17f77a0c7f0cd07fd1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 04:54:03 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [false] [Pipeline] sh 04:54:03 + git log --format=format:%s -1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo 04:54:03 ========================================================= 04:54:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:03 + git log --format=format:%s -1 3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] echo 04:54:03 [semverPrep] GIT_COMMIT: 3525f1e26c512a389455bf17f77a0c7f0cd07fd1, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo 04:54:03 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:04 + grep -v github /etc/ssh/ssh_known_hosts 04:54:04 + [ -e /tmp/ssh_known_hosts ] 04:54:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:54:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:04 04:54:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:05 b85a868b505f: Pulling fs layer 04:54:05 e2be974225ed: Pulling fs layer 04:54:05 339a4e72a1f5: Pulling fs layer 04:54:05 988bab9f4d93: Pulling fs layer 04:54:05 1469e6f7b9e6: Pulling fs layer 04:54:05 eaf3925da568: Pulling fs layer 04:54:05 bab4dde63d76: Pulling fs layer 04:54:05 bde34c3a00c8: Pulling fs layer 04:54:05 b352a97aabf1: Pulling fs layer 04:54:05 4872d77fe225: Pulling fs layer 04:54:05 5851b861e8e6: Pulling fs layer 04:54:05 b352a97aabf1: Waiting 04:54:05 bab4dde63d76: Waiting 04:54:05 4872d77fe225: Waiting 04:54:05 5851b861e8e6: Waiting 04:54:05 988bab9f4d93: Waiting 04:54:05 eaf3925da568: Waiting 04:54:05 e2be974225ed: Download complete 04:54:05 988bab9f4d93: Verifying Checksum 04:54:05 988bab9f4d93: Download complete 04:54:05 1469e6f7b9e6: Verifying Checksum 04:54:05 1469e6f7b9e6: Download complete 04:54:05 eaf3925da568: Download complete 04:54:05 339a4e72a1f5: Verifying Checksum 04:54:05 339a4e72a1f5: Download complete 04:54:05 bde34c3a00c8: Verifying Checksum 04:54:05 bde34c3a00c8: Download complete 04:54:05 b352a97aabf1: Download complete 04:54:05 4872d77fe225: Verifying Checksum 04:54:05 4872d77fe225: Download complete 04:54:05 5851b861e8e6: Verifying Checksum 04:54:05 5851b861e8e6: Download complete 04:54:05 b85a868b505f: Download complete 04:54:05 bab4dde63d76: Verifying Checksum 04:54:05 bab4dde63d76: Download complete 04:54:07 b85a868b505f: Pull complete 04:54:07 e2be974225ed: Pull complete 04:54:07 339a4e72a1f5: Pull complete 04:54:07 988bab9f4d93: Pull complete 04:54:07 1469e6f7b9e6: Pull complete 04:54:08 eaf3925da568: Pull complete 04:54:10 bab4dde63d76: Pull complete 04:54:10 bde34c3a00c8: Pull complete 04:54:10 b352a97aabf1: Pull complete 04:54:10 4872d77fe225: Pull complete 04:54:10 5851b861e8e6: Pull complete 04:54:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:10 prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container 04:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 04:54:11 $ docker top 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b -eo pid,comm 04:54:11 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). 04:54:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:11 [ssh-agent] Looking for ssh-agent implementation... 04:54:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:12 $ docker exec 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent 04:54:12 SSH_AUTH_SOCK=/tmp/ssh-l5mTQhdF6qyT/agent.32 04:54:12 SSH_AGENT_PID=38 04:54:12 Running ssh-add (command line suppressed) 04:54:12 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_4358118355488003538.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_4358118355488003538.key) 04:54:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:12 + git tag --points-at HEAD [Pipeline] } 04:54:12 $ docker exec --env ******** --env ******** 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent -k 04:54:12 unset SSH_AUTH_SOCK; 04:54:12 unset SSH_AGENT_PID; 04:54:12 echo Agent pid 38 killed; 04:54:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:12 [ssh-agent] Looking for ssh-agent implementation... 04:54:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:13 $ docker exec 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent 04:54:13 SSH_AUTH_SOCK=/tmp/ssh-c7wa7plsQdP4/agent.71 04:54:13 SSH_AGENT_PID=77 04:54:13 Running ssh-add (command line suppressed) 04:54:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7182664442419380832.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7182664442419380832.key) 04:54:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:13 + git semver init 04:54:13 2022-09-19 04:54:13,786 [run_init] DEBUG init version:0.0.0 force:False 04:54:13 2022-09-19 04:54:13,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver 04:54:13 2022-09-19 04:54:13,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver 04:54:13 2022-09-19 04:54:13,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) 04:54:14 2022-09-19 04:54:14,712 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude 04:54:14 2022-09-19 04:54:14,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False 04:54:14 2022-09-19 04:54:14,713 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 04:54:14 2022-09-19 04:54:14,718 [execute] INFO git cat-file --batch-check 04:54:14 2022-09-19 04:54:14,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 04:54:14 2022-09-19 04:54:14,727 [execute] INFO git cat-file --batch 04:54:14 2022-09-19 04:54:14,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 04:54:14 2022-09-19 04:54:14,733 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 04:54:14 0.0.0 [Pipeline] } 04:54:14 $ docker exec --env ******** --env ******** 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b ssh-agent -k 04:54:14 unset SSH_AUTH_SOCK; 04:54:14 unset SSH_AGENT_PID; 04:54:14 echo Agent pid 77 killed; 04:54:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:15 + git semver [Pipeline] } 04:54:15 $ docker stop --time=1 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b 04:54:16 $ docker rm -f 1803d204bf7b39456410e0c31d8b9d2e183c77c284a25b7320b3dfb2fbc5b05b [Pipeline] // withDockerContainer [Pipeline] sh 04:54:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:54:17 Stashed 1 file(s) [Pipeline] echo 04:54:17 [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 04:54:17 provisioning config files... 04:54:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config2349547335347719586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:17 ---> docker-login.sh 04:54:17 nexus3.edgexfoundry.org:10001 04:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:17 Configure a credential helper to remove this warning. See 04:54:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:17 04:54:17 Login Succeeded 04:54:17 nexus3.edgexfoundry.org:10002 04:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:18 Configure a credential helper to remove this warning. See 04:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:18 04:54:18 Login Succeeded 04:54:18 nexus3.edgexfoundry.org:10003 04:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:18 Configure a credential helper to remove this warning. See 04:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:18 04:54:18 Login Succeeded 04:54:18 nexus3.edgexfoundry.org:10004 04:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:18 Configure a credential helper to remove this warning. See 04:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:18 04:54:18 Login Succeeded 04:54:18 docker.io 04:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:19 Configure a credential helper to remove this warning. See 04:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:19 04:54:19 Login Succeeded 04:54:19 ---> docker-login.sh ends [Pipeline] } 04:54:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:19 ========================================================= 04:54:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:54:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:19 + 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 . 04:54:19 Sending build context to Docker daemon 20.74MB 04:54:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:54:19 Step 2/13 : FROM ${BASE} AS builder 04:54:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:19 2408cc74d12b: Pulling fs layer 04:54:19 ea60b727a1ce: Pulling fs layer 04:54:19 30c4a7721957: Pulling fs layer 04:54:19 370296b7ddb6: Pulling fs layer 04:54:19 7c6cee850709: Pulling fs layer 04:54:19 39a5fcdaea64: Pulling fs layer 04:54:19 d94ebbe4e438: Pulling fs layer 04:54:19 bcfd1f05c69d: Pulling fs layer 04:54:19 59ccb84bbe0f: Pulling fs layer 04:54:19 39a5fcdaea64: Waiting 04:54:19 d94ebbe4e438: Waiting 04:54:19 bcfd1f05c69d: Waiting 04:54:19 370296b7ddb6: Waiting 04:54:19 59ccb84bbe0f: Waiting 04:54:19 7c6cee850709: Waiting 04:54:19 30c4a7721957: Download complete 04:54:19 ea60b727a1ce: Verifying Checksum 04:54:19 ea60b727a1ce: Download complete 04:54:19 7c6cee850709: Verifying Checksum 04:54:19 7c6cee850709: Download complete 04:54:19 39a5fcdaea64: Verifying Checksum 04:54:19 39a5fcdaea64: Download complete 04:54:19 2408cc74d12b: Download complete 04:54:19 d94ebbe4e438: Download complete 04:54:19 2408cc74d12b: Pull complete 04:54:20 ea60b727a1ce: Pull complete 04:54:20 30c4a7721957: Pull complete 04:54:20 59ccb84bbe0f: Verifying Checksum 04:54:20 59ccb84bbe0f: Download complete 04:54:20 bcfd1f05c69d: Verifying Checksum 04:54:20 bcfd1f05c69d: Download complete 04:54:20 370296b7ddb6: Verifying Checksum 04:54:20 370296b7ddb6: Download complete 04:54:24 370296b7ddb6: Pull complete 04:54:25 7c6cee850709: Pull complete 04:54:25 39a5fcdaea64: Pull complete 04:54:25 d94ebbe4e438: Pull complete 04:54:27 bcfd1f05c69d: Pull complete 04:54:28 59ccb84bbe0f: Pull complete 04:54:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:54:28 ---> a4fb48ad2a94 04:54:28 Step 3/13 : ARG MAKE="make build" 04:54:30 ---> Running in e6d95dc5a49f 04:54:30 Removing intermediate container e6d95dc5a49f 04:54:30 ---> 21099565a4f2 04:54:30 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:54:30 ---> Running in 0f01ba01440b 04:54:30 Removing intermediate container 0f01ba01440b 04:54:30 ---> c8fc21a2d989 04:54:30 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:54:30 ---> Running in 0c5743bbaa5a 04:54:30 Removing intermediate container 0c5743bbaa5a 04:54:30 ---> 70ca43e9c3dd 04:54:30 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:54:30 ---> Running in dc85544968c8 04:54:30 Removing intermediate container dc85544968c8 04:54:30 ---> 02b9e5e99749 04:54:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:30 ---> Running in 8a5fcc05247c 04:54:30 Removing intermediate container 8a5fcc05247c 04:54:30 ---> 995d26f84f0f 04:54:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:30 ---> Running in be5ca754c3d2 04:54:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:54:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:54:32 OK: 211 MiB in 51 packages 04:54:32 Still waiting to schedule task 04:54:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:54:32 Removing intermediate container be5ca754c3d2 04:54:32 ---> de2a502d76b4 04:54:32 Step 9/13 : WORKDIR /device-onvif-camera 04:54:32 ---> Running in 39bef5d4f1e0 04:54:32 Removing intermediate container 39bef5d4f1e0 04:54:32 ---> 46b508d0ad39 04:54:32 Step 10/13 : COPY go.mod vendor* ./ 04:54:32 ---> a6dba5a42bf4 04:54:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:33 ---> Running in f321000cd450 04:54:55 Removing intermediate container f321000cd450 04:54:55 ---> 32fb398865d5 04:54:55 Step 12/13 : COPY . . 04:54:55 ---> f2fb2bee6fe2 04:54:55 Step 13/13 : RUN ${MAKE} 04:54:55 ---> Running in da310c28e596 04:54:55 noop 04:54:55 Removing intermediate container da310c28e596 04:54:55 ---> e45b73f1eb10 04:54:55 Successfully built e45b73f1eb10 04:54:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:56 + docker inspect -f . ci-base-image-x86_64 04:54:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:56 prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container 04:54:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 04:54:56 $ docker top 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:56 + go version 04:54:56 go version go1.18.3 linux/amd64 [Pipeline] } 04:54:56 $ docker stop --time=1 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d 04:54:58 $ docker rm -f 87028e9ebe9f9134a2d3bbf04bd34bb1ef8c6c3b29bc1a4dc264839592dc950d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:58 + docker inspect -f . ci-base-image-x86_64 04:54:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:58 prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container 04:54:58 $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 04:54:59 $ docker top 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:59 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh 04:54:59 + make test 04:54:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:55:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:55:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:55:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.6% of statements 04:55:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:55:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.964s coverage: 13.8% of statements 04:55:24 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." 04:55:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:55:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:28 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:28 $ docker stop --time=1 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda 04:55:30 $ docker rm -f 1bc85e4385b25dfba5318112489cc134a73986aa5957f42ba85380eee81a2eda [Pipeline] // withDockerContainer [Pipeline] sh 04:55:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:31 + ls -al . 04:55:31 total 232 04:55:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 04:55 . 04:55:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 .. 04:55:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:55 .git 04:55:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:53 .github 04:55:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 19 04:53 .gitignore 04:55:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:53 .golangci.yml 04:55:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:54 .semver 04:55:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 19 04:53 Attribution.txt 04:55:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 19 04:53 CHANGELOG.md 04:55:31 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 19 04:53 Dockerfile 04:55:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:53 GOVERNANCE.md 04:55:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 19 04:53 Jenkinsfile 04:55:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 04:53 LICENSE 04:55:31 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 19 04:53 Makefile 04:55:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 04:53 OWNERS.md 04:55:31 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 19 04:53 README.md 04:55:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:54 VERSION 04:55:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:53 bin 04:55:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:53 cmd 04:55:31 -rw-r--r-- 1 jenkins jenkins 77283 Sep 19 04:55 coverage.out 04:55:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:53 doc 04:55:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 19 04:53 go.mod 04:55:31 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 19 04:53 go.sum 04:55:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 internal 04:55:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:53 snap 04:55:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:31 + 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=3525f1e26c512a389455bf17f77a0c7f0cd07fd1 --label arch=amd64 --label version=0.0.0 . 04:55:31 Sending build context to Docker daemon 20.82MB 04:55:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:55:31 Step 2/26 : FROM ${BASE} AS builder 04:55:31 ---> e45b73f1eb10 04:55:31 Step 3/26 : ARG MAKE="make build" 04:55:32 ---> Running in e17d7ec480ea 04:55:32 Removing intermediate container e17d7ec480ea 04:55:32 ---> 25c2037c1a46 04:55:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:55:32 ---> Running in e1721c843e67 04:55:32 Removing intermediate container e1721c843e67 04:55:32 ---> 1f4c401165f9 04:55:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:55:32 ---> Running in 67838aaf58a1 04:55:32 Removing intermediate container 67838aaf58a1 04:55:32 ---> c02af7d847d4 04:55:32 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:55:32 ---> Running in eafabd33b153 04:55:32 Removing intermediate container eafabd33b153 04:55:32 ---> 043873736e4e 04:55:32 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:32 ---> Running in 9b89df3ec28e 04:55:33 Removing intermediate container 9b89df3ec28e 04:55:33 ---> b5c764c95b0e 04:55:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:33 ---> Running in 3340168b8f27 04:55:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:55:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:55:34 OK: 211 MiB in 51 packages 04:55:35 Removing intermediate container 3340168b8f27 04:55:35 ---> d4cbab330416 04:55:35 Step 9/26 : WORKDIR /device-onvif-camera 04:55:35 ---> Running in 847899e88402 04:55:35 Removing intermediate container 847899e88402 04:55:35 ---> 7dc45f92cc01 04:55:35 Step 10/26 : COPY go.mod vendor* ./ 04:55:35 ---> 90c60cfbd912 04:55:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:35 ---> Running in a8fc93ff70d7 04:55:36 Removing intermediate container a8fc93ff70d7 04:55:36 ---> b3ea941f3057 04:55:36 Step 12/26 : COPY . . 04:55:36 ---> 559af5fbc809 04:55:36 Step 13/26 : RUN ${MAKE} 04:55:36 ---> Running in 4d5a4b5964fb 04:55:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:55:58 Removing intermediate container 4d5a4b5964fb 04:55:58 ---> 75c16ef055cc 04:55:58 Step 14/26 : FROM alpine:3.16 04:55:58 3.16: Pulling from library/alpine 04:55:58 213ec9aee27d: Pulling fs layer 04:55:58 213ec9aee27d: Verifying Checksum 04:55:58 213ec9aee27d: Download complete 04:55:58 213ec9aee27d: Pull complete 04:55:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:55:58 Status: Downloaded newer image for alpine:3.16 04:55:58 ---> 9c6f07244728 04:55:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:55:58 ---> Running in c10d59d65c77 04:55:58 Removing intermediate container c10d59d65c77 04:55:58 ---> e8c0386fa0c9 04:55:58 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:55:58 ---> Running in 7a4d71775f0c 04:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:55:59 (1/6) Installing dumb-init (1.2.5-r1) 04:55:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:55:59 (3/6) Installing libsodium (1.0.18-r0) 04:55:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:55:59 (5/6) Installing libzmq (4.3.4-r0) 04:55:59 (6/6) Installing zeromq (4.3.4-r0) 04:55:59 Executing busybox-1.35.0-r17.trigger 04:55:59 OK: 8 MiB in 20 packages 04:56:00 Removing intermediate container 7a4d71775f0c 04:56:00 ---> 47a00e9a5f5b 04:56:00 Step 17/26 : WORKDIR / 04:56:00 ---> Running in 7d1c576d9397 04:56:00 Removing intermediate container 7d1c576d9397 04:56:00 ---> 8912b69fb5a0 04:56:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:56:00 ---> c6046eb4c9ed 04:56:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:56:00 ---> 5e80a02cf2ec 04:56:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:56:00 ---> 071fcbfa4938 04:56:00 Step 21/26 : EXPOSE 59984 04:56:00 ---> Running in d99b56c8fbd4 04:56:01 Removing intermediate container d99b56c8fbd4 04:56:01 ---> e7b956d2f04a 04:56:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:56:01 ---> Running in a92c623de5a7 04:56:01 Removing intermediate container a92c623de5a7 04:56:01 ---> 50932fea1f05 04:56:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:56:01 ---> Running in fceee127fe7a 04:56:01 Removing intermediate container fceee127fe7a 04:56:01 ---> 11368cd08b84 04:56:01 Step 24/26 : LABEL arch=amd64 04:56:01 ---> Running in cf0d1857f546 04:56:01 Removing intermediate container cf0d1857f546 04:56:01 ---> 2cfe17e58dba 04:56:01 Step 25/26 : LABEL git_sha=3525f1e26c512a389455bf17f77a0c7f0cd07fd1 04:56:01 ---> Running in ce0a2b4938dd 04:56:01 Removing intermediate container ce0a2b4938dd 04:56:01 ---> 9b3f3dbd9ed9 04:56:01 Step 26/26 : LABEL version=0.0.0 04:56:01 ---> Running in 1addddd98dd7 04:56:01 Removing intermediate container 1addddd98dd7 04:56:01 ---> 4d304d4fe75f 04:56:01 [Warning] One or more build-args [ARCH] were not consumed 04:56:01 Successfully built 4d304d4fe75f 04:56:01 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:02 04:56:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:02 latest: Pulling from edgex-lftools-log-publisher 04:56:02 5eb5b503b376: Pulling fs layer 04:56:02 5c69ac0246d0: Pulling fs layer 04:56:02 ec43610c2a17: Pulling fs layer 04:56:02 3a2ae6a8a46f: Pulling fs layer 04:56:02 33b1e0a273af: Pulling fs layer 04:56:02 5d3b04190fa2: Pulling fs layer 04:56:02 2f39f015ded8: Pulling fs layer 04:56:02 3a2ae6a8a46f: Waiting 04:56:02 33b1e0a273af: Waiting 04:56:02 5d3b04190fa2: Waiting 04:56:02 2f39f015ded8: Waiting 04:56:02 5c69ac0246d0: Download complete 04:56:02 3a2ae6a8a46f: Verifying Checksum 04:56:02 3a2ae6a8a46f: Download complete 04:56:02 33b1e0a273af: Verifying Checksum 04:56:02 33b1e0a273af: Download complete 04:56:02 5d3b04190fa2: Verifying Checksum 04:56:02 5d3b04190fa2: Download complete 04:56:02 ec43610c2a17: Verifying Checksum 04:56:02 ec43610c2a17: Download complete 04:56:02 5eb5b503b376: Verifying Checksum 04:56:02 5eb5b503b376: Download complete 04:56:03 2f39f015ded8: Download complete 04:56:04 5eb5b503b376: Pull complete 04:56:04 5c69ac0246d0: Pull complete 04:56:04 ec43610c2a17: Pull complete 04:56:04 3a2ae6a8a46f: Pull complete 04:56:04 33b1e0a273af: Pull complete 04:56:04 5d3b04190fa2: Pull complete 04:56:10 2f39f015ded8: Pull complete 04:56:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:10 prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container 04:56:10 $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 04:56:11 $ docker top 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:12 ---> job-cost.sh 04:56:12 lf-activate-venv: SKIPPING 04:56:12 INFO: No Stack... 04:56:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29804 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws 04:56:12 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { 04:56:12 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] checkout 04:56:12 Selected Git installation does not exist. Using Default 04:56:12 The recommended git tool is: NONE 04:56:13 INFO: Archiving Costs [Pipeline] sh 04:56:13 + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv 04:56:13 + cut -d, -f6 [Pipeline] lock 04:56:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] 04:56:13 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] did not exist. Created. 04:56:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:13 + echo total: 0.2199999988079071 [Pipeline] stash 04:56:13 Stashed 1 file(s) [Pipeline] } 04:56:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:13 $ docker stop --time=1 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 04:56:14 $ docker rm -f 6866ace27b8665b1f0f11ad445ea9a9357068776ab0a5faff1c8fd8364876a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:56:18 using credential edgex-jenkins-ssh 04:56:18 Cloning the remote Git repository 04:56:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:56:18 > git init /w/workspace/device-onvif-camera/4 # timeout=10 04:56:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:56:18 > git --version # timeout=10 04:56:18 > git --version # 'git version 2.25.1' 04:56:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:56:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:56:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:56:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:56:20 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 9529a08616fbf50562e457d47ceb1e232669f063 04:56:21 Merge succeeded, producing a91ed6cb4bec8b538a5f62f6b23b437928ed614d 04:56:21 Checking out Revision a91ed6cb4bec8b538a5f62f6b23b437928ed614d (PR-161) 04:56:20 > git config core.sparsecheckout # timeout=10 04:56:20 > git checkout -f 9529a08616fbf50562e457d47ceb1e232669f063 # timeout=10 04:56:21 > git remote # timeout=10 04:56:21 > git config --get remote.origin.url # timeout=10 04:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:21 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 04:56:21 > git rev-parse HEAD^{commit} # timeout=10 04:56:21 > git config core.sparsecheckout # timeout=10 04:56:21 > git checkout -f a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 04:56:25 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" 04:56:25 First time build. Skipping changelog. 04:56:25 > git rev-list --no-walk fabcafb8c4a4f5502acad4fd27e1cf233dc77c24 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:56:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:56:26 Dload Upload Total Spent Left Speed 04:56:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 04:56:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:56:27 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 04:56:27 tee /etc/docker/daemon.new 04:56:27 { 04:56:27 "registry-mirrors": [ 04:56:27 "https://nexus3.edgexfoundry.org:10001" 04:56:27 ], 04:56:27 "bip": "10.250.0.254/24", 04:56:27 "hosts": [ 04:56:27 "tcp://0.0.0.0:5555", 04:56:27 "unix:///var/run/docker.sock" 04:56:27 ], 04:56:27 "mtu": 1458, 04:56:27 "selinux-enabled": true, 04:56:27 "seccomp-profile": "/etc/docker/seccomp.json" 04:56:27 } [Pipeline] sh 04:56:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:56:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:47 provisioning config files... 04:56:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config194045870862759427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:47 ---> docker-login.sh 04:56:47 nexus3.edgexfoundry.org:10001 04:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:48 Configure a credential helper to remove this warning. See 04:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:48 04:56:48 Login Succeeded 04:56:48 nexus3.edgexfoundry.org:10002 04:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:48 Configure a credential helper to remove this warning. See 04:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:48 04:56:48 Login Succeeded 04:56:48 nexus3.edgexfoundry.org:10003 04:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:49 Configure a credential helper to remove this warning. See 04:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:49 04:56:49 Login Succeeded 04:56:49 nexus3.edgexfoundry.org:10004 04:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:49 Configure a credential helper to remove this warning. See 04:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:49 04:56:49 Login Succeeded 04:56:49 docker.io 04:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:50 Configure a credential helper to remove this warning. See 04:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:50 04:56:50 Login Succeeded 04:56:50 ---> docker-login.sh ends [Pipeline] } 04:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:56:51 ========================================================= 04:56:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:56:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:51 + 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 . 04:56:52 Sending build context to Docker daemon 14.22MB 04:56:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:56:52 Step 2/13 : FROM ${BASE} AS builder 04:56:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:56:52 b3c136eddcbf: Pulling fs layer 04:56:52 c0a3192eca97: Pulling fs layer 04:56:52 a050256f5b6f: Pulling fs layer 04:56:52 656be50a0ddc: Pulling fs layer 04:56:52 2bbca73fdf42: Pulling fs layer 04:56:52 46d945488cbd: Pulling fs layer 04:56:52 8a5474983e97: Pulling fs layer 04:56:52 329c88fbcd65: Pulling fs layer 04:56:52 656be50a0ddc: Waiting 04:56:52 2bbca73fdf42: Waiting 04:56:52 46d945488cbd: Waiting 04:56:52 8a5474983e97: Waiting 04:56:52 329c88fbcd65: Waiting 04:56:52 a050256f5b6f: Verifying Checksum 04:56:52 a050256f5b6f: Download complete 04:56:52 c0a3192eca97: Verifying Checksum 04:56:52 c0a3192eca97: Download complete 04:56:52 2bbca73fdf42: Verifying Checksum 04:56:52 2bbca73fdf42: Download complete 04:56:52 46d945488cbd: Verifying Checksum 04:56:52 46d945488cbd: Download complete 04:56:52 b3c136eddcbf: Verifying Checksum 04:56:52 b3c136eddcbf: Download complete 04:56:53 b3c136eddcbf: Pull complete 04:56:53 329c88fbcd65: Verifying Checksum 04:56:53 329c88fbcd65: Download complete 04:56:53 c0a3192eca97: Pull complete 04:56:54 a050256f5b6f: Pull complete 04:56:54 8a5474983e97: Verifying Checksum 04:56:54 8a5474983e97: Download complete 04:56:55 656be50a0ddc: Verifying Checksum 04:56:55 656be50a0ddc: Download complete 04:57:10 656be50a0ddc: Pull complete 04:57:10 2bbca73fdf42: Pull complete 04:57:10 46d945488cbd: Pull complete 04:57:16 8a5474983e97: Pull complete 04:57:18 329c88fbcd65: Pull complete 04:57:18 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:57:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:57:18 ---> ff4287adb874 04:57:18 Step 3/13 : ARG MAKE="make build" 04:57:20 ---> Running in 72021dccbe00 04:57:20 Removing intermediate container 72021dccbe00 04:57:20 ---> 2ebae0388001 04:57:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:57:20 ---> Running in 50002fb360cd 04:57:20 Removing intermediate container 50002fb360cd 04:57:20 ---> 72c659cc4d11 04:57:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:57:20 ---> Running in c16bbd094d95 04:57:20 Removing intermediate container c16bbd094d95 04:57:20 ---> b9c6e57cbdf7 04:57:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:57:20 ---> Running in f4a2e7220cb4 04:57:21 Removing intermediate container f4a2e7220cb4 04:57:21 ---> 63cc3c24c11f 04:57:21 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:21 ---> Running in c776c9c7aae8 04:57:23 Removing intermediate container c776c9c7aae8 04:57:23 ---> 1fbd9df8db34 04:57:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:57:23 ---> Running in a5c32b41518f 04:57:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:57:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:57:25 OK: 221 MiB in 51 packages 04:57:26 Removing intermediate container a5c32b41518f 04:57:26 ---> cdf9634315ba 04:57:26 Step 9/13 : WORKDIR /device-onvif-camera 04:57:26 ---> Running in 3caef8a59a4c 04:57:26 Removing intermediate container 3caef8a59a4c 04:57:26 ---> a64797fc5bff 04:57:26 Step 10/13 : COPY go.mod vendor* ./ 04:57:27 ---> 90cdabd4941e 04:57:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:27 ---> Running in fe71d5e59fcb 04:58:24 Removing intermediate container fe71d5e59fcb 04:58:24 ---> 9d186c202be0 04:58:24 Step 12/13 : COPY . . 04:58:24 ---> ec7c7bfc2ff8 04:58:24 Step 13/13 : RUN ${MAKE} 04:58:24 ---> Running in e13cfe3824fe 04:58:24 noop 04:58:24 Removing intermediate container e13cfe3824fe 04:58:24 ---> 920ef8459855 04:58:24 Successfully built 920ef8459855 04:58:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:24 + docker inspect -f . ci-base-image-arm64 04:58:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:24 prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container 04:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:58:26 $ docker top 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:27 + go version 04:58:27 go version go1.18.3 linux/arm64 [Pipeline] } 04:58:27 $ docker stop --time=1 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea 04:58:28 $ docker rm -f 10340980f2812d76c00974d1c80bec3c1ed38035d50e242cd5c088fa8d61e9ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:29 + docker inspect -f . ci-base-image-arm64 04:58:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:29 prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container 04:58:29 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:58:31 $ docker top 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 04:58:32 + make test 04:58:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:58:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:00:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:00:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.6% of statements 05:00:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:00:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.787s coverage: 13.8% of statements 05:00:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:00:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:00:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:55 ./bin/test-attribution-txt.sh [Pipeline] echo 05:00:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:55 $ docker stop --time=1 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 05:00:57 $ docker rm -f 91257898f8d17b5c2fedb51034012d85f4322005516acfe939a6544c6eee5ec4 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:58 Warning: overwriting stash ‘coverage-report’ 05:00:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:59 + ls -al . 05:00:59 total 228 05:00:59 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 04:58 . 05:00:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 .. 05:00:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:56 .git 05:00:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:56 .github 05:00:59 -rw-rw-r-- 1 jenkins jenkins 418 Sep 19 04:56 .gitignore 05:00:59 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:56 .golangci.yml 05:00:59 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 19 04:56 Attribution.txt 05:00:59 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 19 04:56 CHANGELOG.md 05:00:59 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 19 04:56 Dockerfile 05:00:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:56 GOVERNANCE.md 05:00:59 -rw-rw-r-- 1 jenkins jenkins 734 Sep 19 04:56 Jenkinsfile 05:00:59 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 04:56 LICENSE 05:00:59 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 19 04:56 Makefile 05:00:59 -rw-rw-r-- 1 jenkins jenkins 625 Sep 19 04:56 OWNERS.md 05:00:59 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 19 04:56 README.md 05:00:59 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:54 VERSION 05:00:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:56 bin 05:00:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:56 cmd 05:00:59 -rw-r--r-- 1 jenkins jenkins 77283 Sep 19 05:00 coverage.out 05:00:59 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:56 doc 05:00:59 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 19 04:56 go.mod 05:00:59 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 19 04:56 go.sum 05:00:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 internal 05:00:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:56 snap 05:00:59 -rw-rw-r-- 1 jenkins jenkins 236 Sep 19 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:59 + 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=a91ed6cb4bec8b538a5f62f6b23b437928ed614d --label arch=arm64 --label version=0.0.0 . 05:01:00 Sending build context to Docker daemon 14.3MB 05:01:00 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:01:00 Step 2/26 : FROM ${BASE} AS builder 05:01:00 ---> 920ef8459855 05:01:00 Step 3/26 : ARG MAKE="make build" 05:01:00 ---> Running in e4493b57dfbc 05:01:01 Removing intermediate container e4493b57dfbc 05:01:01 ---> 88ab5233253a 05:01:01 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:01:01 ---> Running in 558ab4895e9d 05:01:01 Removing intermediate container 558ab4895e9d 05:01:01 ---> bbf892cc30fb 05:01:01 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 05:01:01 ---> Running in ad2e4d2011b1 05:01:01 Removing intermediate container ad2e4d2011b1 05:01:01 ---> 457de2a4f262 05:01:01 Step 6/26 : LABEL Name=edgex-device-onvif-camera 05:01:01 ---> Running in 446077a966db 05:01:02 Removing intermediate container 446077a966db 05:01:02 ---> 09ac082ae7b9 05:01:02 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:02 ---> Running in 3333956f8ff6 05:01:04 Removing intermediate container 3333956f8ff6 05:01:04 ---> 16605b4dcb01 05:01:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:01:04 ---> Running in 6a6474dc9c35 05:01:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:01:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:01:06 OK: 221 MiB in 51 packages 05:01:07 Removing intermediate container 6a6474dc9c35 05:01:07 ---> a4f55d59f340 05:01:07 Step 9/26 : WORKDIR /device-onvif-camera 05:01:07 ---> Running in 0b37aa2bc4e8 05:01:07 Removing intermediate container 0b37aa2bc4e8 05:01:07 ---> 6048240d382f 05:01:07 Step 10/26 : COPY go.mod vendor* ./ 05:01:08 ---> 740170f1d691 05:01:08 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:01:08 ---> Running in a12183d75046 05:01:10 Removing intermediate container a12183d75046 05:01:10 ---> 6800647827ac 05:01:10 Step 12/26 : COPY . . 05:01:12 ---> 0ac9c9493984 05:01:12 Step 13/26 : RUN ${MAKE} 05:01:12 ---> Running in 2aef43db256a 05:01:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 05:03:35 Removing intermediate container 2aef43db256a 05:03:35 ---> de0fa0955031 05:03:35 Step 14/26 : FROM alpine:3.16 05:03:35 3.16: Pulling from library/alpine 05:03:35 9b18e9b68314: Pulling fs layer 05:03:35 9b18e9b68314: Verifying Checksum 05:03:35 9b18e9b68314: Download complete 05:03:35 9b18e9b68314: Pull complete 05:03:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:03:35 Status: Downloaded newer image for alpine:3.16 05:03:35 ---> a6215f271958 05:03:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:03:35 ---> Running in e41c3c6ba3a2 05:03:35 Removing intermediate container e41c3c6ba3a2 05:03:35 ---> 4c9c94a05557 05:03:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:03:35 ---> Running in 96be554ed9ad 05:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:03:35 (1/6) Installing dumb-init (1.2.5-r1) 05:03:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:03:35 (3/6) Installing libsodium (1.0.18-r0) 05:03:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:03:35 (5/6) Installing libzmq (4.3.4-r0) 05:03:35 (6/6) Installing zeromq (4.3.4-r0) 05:03:35 Executing busybox-1.35.0-r17.trigger 05:03:35 OK: 8 MiB in 20 packages 05:03:35 Removing intermediate container 96be554ed9ad 05:03:35 ---> ec3374bde9c1 05:03:35 Step 17/26 : WORKDIR / 05:03:35 ---> Running in 22b6eae7ed20 05:03:35 Removing intermediate container 22b6eae7ed20 05:03:35 ---> cd63ca622cc0 05:03:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:03:35 ---> d0df9ad71e93 05:03:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:03:35 ---> b8b70f110475 05:03:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:03:36 ---> ab57540268b5 05:03:36 Step 21/26 : EXPOSE 59984 05:03:36 ---> Running in 87e47e142669 05:03:36 Removing intermediate container 87e47e142669 05:03:36 ---> 4ef611705b12 05:03:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:03:36 ---> Running in 8a85f2eee699 05:03:36 Removing intermediate container 8a85f2eee699 05:03:36 ---> 308831bdf2c9 05:03:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:03:36 ---> Running in afb12c8a2a4c 05:03:37 Removing intermediate container afb12c8a2a4c 05:03:37 ---> 2c6b8639e1c6 05:03:37 Step 24/26 : LABEL arch=arm64 05:03:37 ---> Running in cd2c2d1b623a 05:03:37 Removing intermediate container cd2c2d1b623a 05:03:37 ---> 6eacd19fbeeb 05:03:37 Step 25/26 : LABEL git_sha=a91ed6cb4bec8b538a5f62f6b23b437928ed614d 05:03:37 ---> Running in d2f4af92b89e 05:03:37 Removing intermediate container d2f4af92b89e 05:03:37 ---> 3602159e5f82 05:03:37 Step 26/26 : LABEL version=0.0.0 05:03:37 ---> Running in bf520e29dbe2 05:03:38 Removing intermediate container bf520e29dbe2 05:03:38 ---> 341dab5e8c6a 05:03:38 [Warning] One or more build-args [ARCH] were not consumed 05:03:38 Successfully built 341dab5e8c6a 05:03:38 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 05:03:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:39 05:03:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:39 arm64: Pulling from edgex-lftools-log-publisher 05:03:39 8998bd30e6a1: Pulling fs layer 05:03:39 04944245beec: Pulling fs layer 05:03:39 699f458cf7ca: Pulling fs layer 05:03:39 765212b225bb: Pulling fs layer 05:03:39 f23df028b6ca: Pulling fs layer 05:03:39 d65c8cfc05b1: Pulling fs layer 05:03:39 2437ff75d9bd: Pulling fs layer 05:03:39 f23df028b6ca: Waiting 05:03:39 765212b225bb: Waiting 05:03:39 d65c8cfc05b1: Waiting 05:03:39 2437ff75d9bd: Waiting 05:03:39 04944245beec: Verifying Checksum 05:03:39 04944245beec: Download complete 05:03:39 765212b225bb: Verifying Checksum 05:03:39 765212b225bb: Download complete 05:03:39 f23df028b6ca: Verifying Checksum 05:03:39 f23df028b6ca: Download complete 05:03:39 d65c8cfc05b1: Verifying Checksum 05:03:39 d65c8cfc05b1: Download complete 05:03:40 699f458cf7ca: Verifying Checksum 05:03:40 699f458cf7ca: Download complete 05:03:40 8998bd30e6a1: Download complete 05:03:42 2437ff75d9bd: Verifying Checksum 05:03:42 2437ff75d9bd: Download complete 05:03:44 8998bd30e6a1: Pull complete 05:03:45 04944245beec: Pull complete 05:03:46 699f458cf7ca: Pull complete 05:03:46 765212b225bb: Pull complete 05:03:47 f23df028b6ca: Pull complete 05:03:47 d65c8cfc05b1: Pull complete 05:04:03 2437ff75d9bd: Pull complete 05:04:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:03 prd-ubuntu20.04-docker-arm64-4c-16g-29804 does not seem to be running inside a container 05:04:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:04:06 $ docker top ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:06 ---> job-cost.sh 05:04:06 lf-activate-venv: SKIPPING 05:04:06 INFO: No Stack... 05:04:07 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:08 INFO: Archiving Costs [Pipeline] sh 05:04:09 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 05:04:09 + cut -d, -f6 [Pipeline] lock 05:04:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] 05:04:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] did not exist. Created. 05:04:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:09 /w/workspace/device-onvif-camera/4@tmp/durable-6abde531/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:10 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:10 Warning: overwriting stash ‘stack-cost’ 05:04:10 Stashed 1 file(s) [Pipeline] } 05:04:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:10 $ docker stop --time=1 ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 05:04:12 $ docker rm -f ad8b34dc3b630d57739ec2e80114550a6928d6fc0ee24b671ce951a74826f612 [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 05:04:12 provisioning config files... 05:04:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1082956931465061521tmp [Pipeline] { [Pipeline] sh 05:04:13 + set +x 05:04:13 + curl -s https://codecov.io/bash 05:04:13 + bash -s -- 05:04:13 05:04:13 _____ _ 05:04:13 / ____| | | 05:04:13 | | ___ __| | ___ ___ _____ __ 05:04:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:13 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:13 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:13 Bash-1.0.6 05:04:13 05:04:13 05:04:13 ==> git version 2.25.1 found 05:04:13 ==> 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 05:04:13 Release-Date: 2020-01-08 05:04:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:13 ==> Jenkins CI detected. 05:04:13 current dir:  /w/workspace/undry_device-onvif-camera_PR-161 05:04:13 project root: . 05:04:13 --> token set from env 05:04:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:13 ==> Running gcov in . (disable via -X gcov) 05:04:13 ==> Python coveragepy not found 05:04:13 ==> Searching for coverage reports in: 05:04:13 + . 05:04:13 -> Found 1 reports 05:04:13 ==> Detecting git/mercurial file structure 05:04:13 ==> Reading reports 05:04:13 + ./coverage.out bytes=77283 05:04:13 ==> Appending adjustments 05:04:13 https://docs.codecov.io/docs/fixing-reports 05:04:13 + Found adjustments 05:04:13 ==> Gzipping contents 05:04:13 12K /tmp/codecov.NfI6mw.gz 05:04:13 ==> Uploading reports 05:04:13 url: https://codecov.io 05:04:13 query: branch=PR-161&commit=3525f1e26c512a389455bf17f77a0c7f0cd07fd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 05:04:13 -> Pinging Codecov 05:04:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=3525f1e26c512a389455bf17f77a0c7f0cd07fd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 05:04:13 -> Uploading to 05:04:13 https://storage.googleapis.com/codecov/v4/raw/2022-09-19/F29A59C45E3A92E06B3E522C9905F8EF/3525f1e26c512a389455bf17f77a0c7f0cd07fd1/133fd031-be3a-48fc-9418-07d4f2bb367e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220919T050413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4253a55673ea8dffdda9fc3c176ffb42d11064c195ec1da8684a791ea5ff1d76 05:04:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:13 Dload Upload Total Spent Left Speed 05:04:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10604 0 0 100 10604 0 47981 --:--:-- --:--:-- --:--:-- 47765 100 10604 0 0 100 10604 0 35112 --:--:-- --:--:-- --:--:-- 34996 05:04:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3525f1e26c512a389455bf17f77a0c7f0cd07fd1 [Pipeline] } 05:04:13 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 05:04:14 + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] 05:04:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 05:04:14 total 16 05:04:14 drwxr-xr-x 3 root root 4096 Sep 19 04:56 . 05:04:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 04:56 .. 05:04:14 drwxr-xr-x 2 root root 4096 Sep 19 04:56 cost 05:04:14 -rw-r--r-- 1 root root 91 Sep 19 04:56 cost.csv 05:04:14 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives 05:04:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 05:04:14 total 16 05:04:14 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:56 . 05:04:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 04:56 .. 05:04:14 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 04:56 cost 05:04:14 -rw-r--r-- 1 jenkins jenkins 91 Sep 19 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:15 ---> package-listing.sh 05:04:15 ++ facter osfamily 05:04:15 ++ tr '[:upper:]' '[:lower:]' 05:04:15 + OS_FAMILY=debian 05:04:15 + workspace=/w/workspace/undry_device-onvif-camera_PR-161 05:04:15 + START_PACKAGES=/tmp/packages_start.txt 05:04:15 + END_PACKAGES=/tmp/packages_end.txt 05:04:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:15 + PACKAGES=/tmp/packages_start.txt 05:04:15 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 05:04:15 + PACKAGES=/tmp/packages_end.txt 05:04:15 + case "${OS_FAMILY}" in 05:04:15 + dpkg -l 05:04:15 + grep '^ii' 05:04:15 + '[' -f /tmp/packages_start.txt ']' 05:04:15 + '[' -f /tmp/packages_end.txt ']' 05:04:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:15 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 05:04:15 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ 05:04:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo 05:04:15 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:04:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:16 prd-ubuntu20.04-docker-8c-8g-29803 does not seem to be running inside a container 05:04:16 $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 05:04:17 $ docker top 4088f003b1a8a5d2ad3471ce4c5e98be43b3e8a04f707fa23b9fe59f512cd2eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:17 + touch /tmp/pre-build-complete [Pipeline] sh 05:04:17 + mkdir -p /var/log/sysstat [Pipeline] sh 05:04:18 + ls /var/log/sa-host 05:04:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:18 provisioning config files... 05:04:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config8094078406285174184tmp [Pipeline] { [Pipeline] echo 05:04:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:04:18 ---> create-netrc.sh [Pipeline] } 05:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:04:19 ---> python-tools-install.sh [Pipeline] echo 05:04:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:04:19 ---> sudo-logs.sh 05:04:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:04:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:04:19 ---> job-cost.sh 05:04:19 lf-activate-venv: SKIPPING 05:04:19 DEBUG: total: 0.2199999988079071 05:04:19 INFO: Retrieving Stack Cost... 05:04:20 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:20 INFO: Archiving Costs [Pipeline] echo 05:04:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:04:20 ---> logs-deploy.sh 05:04:20 lf-activate-venv: SKIPPING 05:04:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/4 05:04:20 INFO: archiving workspace using pattern(s): 05:04:21 Archives upload complete. 05:04:21 INFO: archiving logs to Nexus 05:04:22 ---> uname -a: 05:04:22 Linux prd-ubuntu20-04-docker-8c-8g-29803 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:04:22 05:04:22 05:04:22 ---> lscpu: 05:04:22 Architecture: x86_64 05:04:22 CPU op-mode(s): 32-bit, 64-bit 05:04:22 Byte Order: Little Endian 05:04:22 Address sizes: 40 bits physical, 48 bits virtual 05:04:22 CPU(s): 8 05:04:22 On-line CPU(s) list: 0-7 05:04:22 Thread(s) per core: 1 05:04:22 Core(s) per socket: 1 05:04:22 Socket(s): 8 05:04:22 NUMA node(s): 1 05:04:22 Vendor ID: AuthenticAMD 05:04:22 CPU family: 23 05:04:22 Model: 49 05:04:22 Model name: AMD EPYC-Rome Processor 05:04:22 Stepping: 0 05:04:22 CPU MHz: 2799.976 05:04:22 BogoMIPS: 5599.95 05:04:22 Virtualization: AMD-V 05:04:22 Hypervisor vendor: KVM 05:04:22 Virtualization type: full 05:04:22 L1d cache: 256 KiB 05:04:22 L1i cache: 256 KiB 05:04:22 L2 cache: 4 MiB 05:04:22 L3 cache: 128 MiB 05:04:22 NUMA node0 CPU(s): 0-7 05:04:22 Vulnerability Itlb multihit: Not affected 05:04:22 Vulnerability L1tf: Not affected 05:04:22 Vulnerability Mds: Not affected 05:04:22 Vulnerability Meltdown: Not affected 05:04:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:04:22 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:04:22 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:04:22 Vulnerability Srbds: Not affected 05:04:22 Vulnerability Tsx async abort: Not affected 05:04:22 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 05:04:22 05:04:22 05:04:22 ---> nproc: 05:04:22 8 05:04:22 05:04:22 05:04:22 ---> df -h: 05:04:22 Filesystem Size Used Avail Use% Mounted on 05:04:22 overlay 155G 11G 145G 8% / 05:04:22 tmpfs 64M 0 64M 0% /dev 05:04:22 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:04:22 shm 64M 0 64M 0% /dev/shm 05:04:22 /dev/vda1 155G 11G 145G 8% /facter-os 05:04:22 05:04:22 05:04:22 ---> sar -b -r -n DEV: 05:04:22 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-29803) 09/19/22 _x86_64_ (8 CPU) 05:04:22 05:04:22 04:53:21 LINUX RESTART (8 CPU) 05:04:22 05:04:22 04:54:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:04:22 04:55:01 219.22 4.29 214.93 0.00 432.27 125183.32 0.00 05:04:22 04:56:01 151.70 0.12 151.58 0.00 9.20 75206.40 0.00 05:04:22 04:57:01 46.54 0.02 46.53 0.00 2.40 37915.43 0.00 05:04:22 04:58:01 1.80 0.00 1.80 0.00 0.00 20.26 0.00 05:04:22 04:59:01 1.17 0.02 1.15 0.00 0.13 13.33 0.00 05:04:22 05:00:01 2.17 0.00 2.17 0.00 0.00 23.86 0.00 05:04:22 05:01:01 1.50 0.00 1.50 0.00 0.00 16.53 0.00 05:04:22 05:02:01 1.42 0.00 1.42 0.00 0.00 17.59 0.00 05:04:22 05:03:01 1.63 0.00 1.63 0.00 0.00 17.06 0.00 05:04:22 05:04:01 2.13 0.00 2.13 0.00 0.00 29.19 0.00 05:04:22 Average: 42.63 0.44 42.19 0.00 43.74 23672.34 0.00 05:04:22 05:04:22 04:54:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:04:22 04:55:01 28178140 31658112 632552 1.92 164044 3514628 2302132 6.78 1331588 2909068 30800 05:04:22 04:56:01 27985304 31733508 558712 1.70 169328 3769620 2018832 5.95 1383100 3045024 72 05:04:22 04:57:01 27527652 31764388 525660 1.60 177988 4200732 1809784 5.33 1370036 3463352 12 05:04:22 04:58:01 27527704 31764552 525396 1.60 178020 4200732 1809784 5.33 1368848 3463352 16 05:04:22 04:59:01 27531004 31767904 521964 1.59 178056 4200736 1809784 5.33 1366968 3463364 20 05:04:22 05:00:01 27530428 31767384 522428 1.59 178104 4200736 1809784 5.33 1366980 3463364 12 05:04:22 05:01:01 27539484 31776488 513300 1.56 178156 4200736 1809784 5.33 1358672 3463368 12 05:04:22 05:02:01 27539652 31776696 513244 1.56 178180 4200752 1809784 5.33 1359036 3463372 48 05:04:22 05:03:01 27539848 31776936 512976 1.56 178240 4200736 1809784 5.33 1358772 3463372 16 05:04:22 05:04:01 27539376 31776512 513352 1.56 178288 4200732 1809784 5.33 1360020 3463352 36 05:04:22 Average: 27643859 31756248 533958 1.62 175840 4089014 1879924 5.54 1362402 3366099 3104 05:04:22 05:04:22 04:54:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:04:22 04:55:01 docker0 153.42 203.14 12.88 1668.14 0.00 0.00 0.00 0.00 05:04:22 04:55:01 lo 4.54 4.54 0.44 0.44 0.00 0.00 0.00 0.00 05:04:22 04:55:01 vethf592fa4 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 05:04:22 04:55:01 ens3 534.36 366.22 7387.30 106.14 0.00 0.00 0.00 0.00 05:04:22 04:56:01 docker0 9.51 14.65 0.56 98.71 0.00 0.00 0.00 0.00 05:04:22 04:56:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 05:04:22 04:56:01 ens3 48.85 31.41 171.20 13.82 0.00 0.00 0.00 0.00 05:04:22 04:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 04:57:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 05:04:22 04:57:01 ens3 111.78 77.22 2522.93 28.17 0.00 0.00 0.00 0.00 05:04:22 04:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 04:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 04:58:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 04:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 04:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 04:59:01 ens3 4.38 4.48 0.35 7.02 0.00 0.00 0.00 0.00 05:04:22 05:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 05:00:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 05:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:01:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 05:02:01 ens3 15.19 8.81 13.54 0.58 0.00 0.00 0.00 0.00 05:04:22 05:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:03:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:04:22 05:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:04:22 05:04:01 ens3 10.83 10.60 1.09 20.97 0.00 0.00 0.00 0.00 05:04:22 Average: docker0 16.06 21.47 1.32 174.15 0.00 0.00 0.00 0.00 05:04:22 Average: lo 0.74 0.74 0.07 0.07 0.00 0.00 0.00 0.00 05:04:22 Average: ens3 71.78 49.36 998.79 17.52 0.00 0.00 0.00 0.00 05:04:22 05:04:22 05:04:22 ---> sar -P ALL: 05:04:22 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-29803) 09/19/22 _x86_64_ (8 CPU) 05:04:22 05:04:22 04:53:21 LINUX RESTART (8 CPU) 05:04:22 05:04:22 04:54:02 CPU %user %nice %system %iowait %steal %idle 05:04:22 04:55:01 all 13.22 0.00 5.78 1.33 0.06 79.61 05:04:22 04:55:01 0 13.79 0.00 5.74 0.22 0.05 80.20 05:04:22 04:55:01 1 14.35 0.00 6.35 2.19 0.05 77.06 05:04:22 04:55:01 2 13.38 0.00 6.24 1.68 0.05 78.65 05:04:22 04:55:01 3 13.87 0.00 5.40 0.33 0.07 80.33 05:04:22 04:55:01 4 13.77 0.00 5.73 3.10 0.05 77.35 05:04:22 04:55:01 5 11.02 0.00 5.09 0.21 0.05 83.63 05:04:22 04:55:01 6 12.75 0.00 5.50 1.50 0.05 80.20 05:04:22 04:55:01 7 12.79 0.00 6.21 1.45 0.07 79.47 05:04:22 04:56:01 all 45.08 0.00 7.12 0.63 0.08 47.09 05:04:22 04:56:01 0 43.87 0.00 7.19 0.03 0.08 48.82 05:04:22 04:56:01 1 45.51 0.00 7.53 0.15 0.07 46.74 05:04:22 04:56:01 2 45.38 0.00 7.72 0.41 0.08 46.41 05:04:22 04:56:01 3 45.05 0.00 7.51 1.62 0.07 45.74 05:04:22 04:56:01 4 47.02 0.00 6.61 0.40 0.08 45.88 05:04:22 04:56:01 5 43.58 0.00 6.84 0.39 0.07 49.12 05:04:22 04:56:01 6 44.77 0.00 6.67 0.17 0.07 48.32 05:04:22 04:56:01 7 45.45 0.00 6.88 1.88 0.08 45.71 05:04:22 04:57:01 all 3.28 0.00 1.25 0.27 0.02 95.18 05:04:22 04:57:01 0 3.30 0.00 1.07 0.10 0.02 95.51 05:04:22 04:57:01 1 3.23 0.00 1.17 0.02 0.02 95.56 05:04:22 04:57:01 2 3.22 0.00 1.19 0.54 0.02 95.04 05:04:22 04:57:01 3 2.46 0.00 2.54 1.29 0.02 93.69 05:04:22 04:57:01 4 3.53 0.00 1.12 0.00 0.02 95.33 05:04:22 04:57:01 5 3.30 0.00 0.95 0.10 0.02 95.63 05:04:22 04:57:01 6 3.82 0.00 0.77 0.05 0.02 95.34 05:04:22 04:57:01 7 3.34 0.00 1.17 0.10 0.02 95.37 05:04:22 04:58:01 all 0.01 0.00 0.01 0.01 0.01 99.96 05:04:22 04:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:04:22 04:58:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 04:58:01 2 0.02 0.00 0.02 0.03 0.02 99.92 05:04:22 04:58:01 3 0.00 0.00 0.00 0.03 0.02 99.95 05:04:22 04:58:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 04:58:01 5 0.03 0.00 0.03 0.00 0.02 99.92 05:04:22 04:58:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:04:22 04:58:01 7 0.03 0.00 0.03 0.00 0.00 99.93 05:04:22 04:59:01 all 0.03 0.00 0.02 0.00 0.00 99.94 05:04:22 04:59:01 0 0.03 0.00 0.00 0.00 0.00 99.97 05:04:22 04:59:01 1 0.08 0.00 0.02 0.00 0.00 99.90 05:04:22 04:59:01 2 0.02 0.00 0.02 0.02 0.00 99.95 05:04:22 04:59:01 3 0.00 0.00 0.03 0.00 0.00 99.97 05:04:22 04:59:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 04:59:01 5 0.05 0.00 0.07 0.02 0.02 99.85 05:04:22 04:59:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:04:22 04:59:01 7 0.07 0.00 0.03 0.00 0.00 99.90 05:04:22 05:00:01 all 0.01 0.00 0.01 0.01 0.00 99.97 05:04:22 05:00:01 0 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 05:00:01 1 0.00 0.00 0.02 0.00 0.02 99.97 05:04:22 05:00:01 2 0.02 0.00 0.02 0.03 0.00 99.93 05:04:22 05:00:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:00:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:00:01 5 0.02 0.00 0.03 0.03 0.00 99.92 05:04:22 05:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 05:00:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:01:01 all 0.03 0.00 0.02 0.01 0.00 99.95 05:04:22 05:01:01 0 0.03 0.00 0.03 0.00 0.00 99.93 05:04:22 05:01:01 1 0.03 0.00 0.00 0.00 0.00 99.97 05:04:22 05:01:01 2 0.03 0.00 0.02 0.05 0.02 99.88 05:04:22 05:01:01 3 0.00 0.00 0.02 0.00 0.00 99.98 05:04:22 05:01:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:01:01 5 0.05 0.00 0.03 0.00 0.02 99.90 05:04:22 05:01:01 6 0.03 0.00 0.03 0.00 0.00 99.93 05:04:22 05:01:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:02:01 all 0.02 0.00 0.02 0.01 0.00 99.94 05:04:22 05:02:01 0 0.05 0.00 0.02 0.00 0.00 99.93 05:04:22 05:02:01 1 0.02 0.00 0.02 0.00 0.00 99.97 05:04:22 05:02:01 2 0.02 0.00 0.02 0.12 0.00 99.85 05:04:22 05:02:01 3 0.02 0.00 0.07 0.00 0.00 99.92 05:04:22 05:02:01 4 0.02 0.00 0.02 0.00 0.00 99.97 05:04:22 05:02:01 5 0.05 0.00 0.03 0.00 0.00 99.92 05:04:22 05:02:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:04:22 05:02:01 7 0.00 0.00 0.00 0.00 0.02 99.98 05:04:22 05:03:01 all 0.02 0.00 0.01 0.01 0.00 99.96 05:04:22 05:03:01 0 0.03 0.00 0.00 0.00 0.00 99.97 05:04:22 05:03:01 1 0.03 0.00 0.02 0.00 0.00 99.95 05:04:22 05:03:01 2 0.03 0.00 0.00 0.07 0.00 99.90 05:04:22 05:03:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 05:03:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:03:01 5 0.03 0.00 0.03 0.00 0.02 99.92 05:04:22 05:03:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:04:22 05:03:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:04:22 05:04:01 all 0.08 0.00 0.03 0.01 0.00 99.88 05:04:22 05:04:01 0 0.02 0.00 0.03 0.00 0.02 99.93 05:04:22 05:04:01 1 0.18 0.00 0.03 0.00 0.00 99.78 05:04:22 05:04:01 2 0.12 0.00 0.02 0.07 0.00 99.80 05:04:22 05:04:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:04:22 05:04:01 4 0.05 0.00 0.02 0.00 0.00 99.93 05:04:22 05:04:01 5 0.10 0.00 0.05 0.00 0.00 99.85 05:04:22 05:04:01 6 0.07 0.00 0.03 0.00 0.00 99.90 05:04:22 05:04:01 7 0.08 0.00 0.03 0.00 0.00 99.88 05:04:22 Average: all 6.11 0.00 1.41 0.23 0.02 92.24 05:04:22 Average: 0 6.06 0.00 1.39 0.04 0.02 92.50 05:04:22 Average: 1 6.26 0.00 1.49 0.23 0.02 92.00 05:04:22 Average: 2 6.15 0.00 1.50 0.30 0.02 92.04 05:04:22 Average: 3 6.07 0.00 1.54 0.32 0.02 92.05 05:04:22 Average: 4 6.39 0.00 1.33 0.34 0.02 91.92 05:04:22 Average: 5 5.76 0.00 1.30 0.07 0.02 92.85 05:04:22 Average: 6 6.07 0.00 1.28 0.17 0.01 92.46 05:04:22 Average: 7 6.10 0.00 1.41 0.34 0.02 92.13 05:04:22 05:04:22 05:04:22