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 1f6501c6a9662041fd385a15268cf9013fc634d4 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-ssh13379211409618611123.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-ssh12012238330325311814.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-ssh17079010498336242555.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-ssh5968841099464050844.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-ssh16942350140412203748.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29693 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 1f6501c6a9662041fd385a15268cf9013fc634d4 > 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 1f6501c6a9662041fd385a15268cf9013fc634d4 # timeout=10 Merge succeeded, producing 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 Checking out Revision 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 (PR-161) > 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 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:38 ========================================================= 23:57:38 EdgeX Global Pipelines Version Info 23:57:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:39 ------------------- 23:57:39 stable info: 23:57:39 ------------------- 23:57:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:57:39 Message: update stable to v1.0.239 > git rev-list --no-walk ba68ce7de06218551ad6889b53b44f342c4e0825 # timeout=10 23:57:39 ------------------- 23:57:39 experimental info: 23:57:39 ------------------- 23:57:39 Commited By: **** collab-it+edgex@linuxfoundation.org 23:57:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:57:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:57:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 632eb44 [Pipeline] echo 23:57:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:40 provisioning config files... 23:57:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3791489723145230430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:40 ---> docker-login.sh 23:57:40 nexus3.edgexfoundry.org:10001 23:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:40 Configure a credential helper to remove this warning. See 23:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:40 23:57:40 Login Succeeded 23:57:40 nexus3.edgexfoundry.org:10002 23:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:41 Configure a credential helper to remove this warning. See 23:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:41 23:57:41 Login Succeeded 23:57:41 nexus3.edgexfoundry.org:10003 23:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:41 Configure a credential helper to remove this warning. See 23:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:41 23:57:41 Login Succeeded 23:57:41 nexus3.edgexfoundry.org:10004 23:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:41 Configure a credential helper to remove this warning. See 23:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:41 23:57:41 Login Succeeded 23:57:41 docker.io 23:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:42 ---> docker-login.sh ends [Pipeline] } 23:57:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:57:42 + git rev-list -1 --merges 632eb446cf4f1486b9bf2d8ff92b8671da61fa55~1..632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo 23:57:42 -----------> git rev-list -1 --merges 632eb446cf4f1486b9bf2d8ff92b8671da61fa55~1..632eb446cf4f1486b9bf2d8ff92b8671da61fa55 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 23:57:42 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [false] [Pipeline] sh 23:57:42 + git log --format=format:%s -1 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo 23:57:42 ========================================================= 23:57:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:57:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:43 + git log --format=format:%s -1 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo 23:57:43 [semverPrep] GIT_COMMIT: 632eb446cf4f1486b9bf2d8ff92b8671da61fa55, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo 23:57:43 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:43 + grep -v github /etc/ssh/ssh_known_hosts 23:57:43 + [ -e /tmp/ssh_known_hosts ] 23:57:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:43 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:57:43 sudo tee -a /etc/ssh/ssh_known_hosts 23:57:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:44 23:57:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:44 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:44 b85a868b505f: Pulling fs layer 23:57:44 e2be974225ed: Pulling fs layer 23:57:44 339a4e72a1f5: Pulling fs layer 23:57:44 988bab9f4d93: Pulling fs layer 23:57:44 1469e6f7b9e6: Pulling fs layer 23:57:44 eaf3925da568: Pulling fs layer 23:57:44 bab4dde63d76: Pulling fs layer 23:57:44 bde34c3a00c8: Pulling fs layer 23:57:44 b352a97aabf1: Pulling fs layer 23:57:44 4872d77fe225: Pulling fs layer 23:57:44 5851b861e8e6: Pulling fs layer 23:57:44 eaf3925da568: Waiting 23:57:44 bde34c3a00c8: Waiting 23:57:44 b352a97aabf1: Waiting 23:57:44 bab4dde63d76: Waiting 23:57:44 5851b861e8e6: Waiting 23:57:44 1469e6f7b9e6: Waiting 23:57:44 4872d77fe225: Waiting 23:57:44 e2be974225ed: Verifying Checksum 23:57:44 e2be974225ed: Download complete 23:57:44 988bab9f4d93: Download complete 23:57:44 339a4e72a1f5: Verifying Checksum 23:57:44 339a4e72a1f5: Download complete 23:57:44 1469e6f7b9e6: Verifying Checksum 23:57:44 1469e6f7b9e6: Download complete 23:57:44 eaf3925da568: Verifying Checksum 23:57:44 eaf3925da568: Download complete 23:57:44 bde34c3a00c8: Verifying Checksum 23:57:44 bde34c3a00c8: Download complete 23:57:44 b352a97aabf1: Verifying Checksum 23:57:44 b352a97aabf1: Download complete 23:57:44 4872d77fe225: Download complete 23:57:44 5851b861e8e6: Verifying Checksum 23:57:44 5851b861e8e6: Download complete 23:57:44 b85a868b505f: Verifying Checksum 23:57:44 b85a868b505f: Download complete 23:57:44 bab4dde63d76: Verifying Checksum 23:57:44 bab4dde63d76: Download complete 23:57:46 b85a868b505f: Pull complete 23:57:46 e2be974225ed: Pull complete 23:57:46 339a4e72a1f5: Pull complete 23:57:46 988bab9f4d93: Pull complete 23:57:47 1469e6f7b9e6: Pull complete 23:57:47 eaf3925da568: Pull complete 23:57:49 bab4dde63d76: Pull complete 23:57:49 bde34c3a00c8: Pull complete 23:57:49 b352a97aabf1: Pull complete 23:57:49 4872d77fe225: Pull complete 23:57:49 5851b861e8e6: Pull complete 23:57:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:49 prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container 23:57:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:57:51 $ docker top 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde -eo pid,comm 23:57:51 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). 23:57:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:51 [ssh-agent] Looking for ssh-agent implementation... 23:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:51 $ docker exec 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent 23:57:51 SSH_AUTH_SOCK=/tmp/ssh-qYJqfixPUq8M/agent.32 23:57:51 SSH_AGENT_PID=38 23:57:51 Running ssh-add (command line suppressed) 23:57:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6580398853215376358.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6580398853215376358.key) 23:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:52 + git tag --points-at HEAD [Pipeline] } 23:57:52 $ docker exec --env ******** --env ******** 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent -k 23:57:52 unset SSH_AUTH_SOCK; 23:57:52 unset SSH_AGENT_PID; 23:57:52 echo Agent pid 38 killed; 23:57:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:57:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:52 [ssh-agent] Looking for ssh-agent implementation... 23:57:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:52 $ docker exec 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent 23:57:52 SSH_AUTH_SOCK=/tmp/ssh-tjL48csgGQle/agent.71 23:57:52 SSH_AGENT_PID=77 23:57:52 Running ssh-add (command line suppressed) 23:57:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5901250207776866007.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5901250207776866007.key) 23:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:53 + git semver init 23:57:53 2022-09-16 23:57:53,413 [run_init] DEBUG init version:0.0.0 force:False 23:57:53 2022-09-16 23:57:53,413 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver 23:57:53 2022-09-16 23:57:53,414 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver 23:57:53 2022-09-16 23:57:53,414 [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) 23:57:54 2022-09-16 23:57:54,335 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude 23:57:54 2022-09-16 23:57:54,336 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False 23:57:54 2022-09-16 23:57:54,336 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 23:57:54 2022-09-16 23:57:54,340 [execute] INFO git cat-file --batch-check 23:57:54 2022-09-16 23:57:54,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 23:57:54 2022-09-16 23:57:54,347 [execute] INFO git cat-file --batch 23:57:54 2022-09-16 23:57:54,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 23:57:54 2022-09-16 23:57:54,354 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 23:57:54 0.0.0 [Pipeline] } 23:57:54 $ docker exec --env ******** --env ******** 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent -k 23:57:54 unset SSH_AUTH_SOCK; 23:57:54 unset SSH_AGENT_PID; 23:57:54 echo Agent pid 77 killed; 23:57:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:54 + git semver [Pipeline] } 23:57:55 $ docker stop --time=1 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde 23:57:56 $ docker rm -f 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde [Pipeline] // withDockerContainer [Pipeline] sh 23:57:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:57:57 Stashed 1 file(s) [Pipeline] echo 23:57:57 [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 23:57:57 provisioning config files... 23:57:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config2871195634593639064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:57 ---> docker-login.sh 23:57:57 nexus3.edgexfoundry.org:10001 23:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:57 Configure a credential helper to remove this warning. See 23:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:57 23:57:57 Login Succeeded 23:57:57 nexus3.edgexfoundry.org:10002 23:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:57 Configure a credential helper to remove this warning. See 23:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:57 23:57:57 Login Succeeded 23:57:57 nexus3.edgexfoundry.org:10003 23:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:57 Configure a credential helper to remove this warning. See 23:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:57 23:57:57 Login Succeeded 23:57:57 nexus3.edgexfoundry.org:10004 23:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:58 Configure a credential helper to remove this warning. See 23:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:58 23:57:58 Login Succeeded 23:57:58 docker.io 23:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:58 Configure a credential helper to remove this warning. See 23:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:58 23:57:58 Login Succeeded 23:57:58 ---> docker-login.sh ends [Pipeline] } 23:57:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:58 ========================================================= 23:57:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:57:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:59 + 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 . 23:57:59 Sending build context to Docker daemon 20.7MB 23:57:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:57:59 Step 2/13 : FROM ${BASE} AS builder 23:57:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:57:59 2408cc74d12b: Pulling fs layer 23:57:59 ea60b727a1ce: Pulling fs layer 23:57:59 30c4a7721957: Pulling fs layer 23:57:59 370296b7ddb6: Pulling fs layer 23:57:59 7c6cee850709: Pulling fs layer 23:57:59 39a5fcdaea64: Pulling fs layer 23:57:59 d94ebbe4e438: Pulling fs layer 23:57:59 bcfd1f05c69d: Pulling fs layer 23:57:59 59ccb84bbe0f: Pulling fs layer 23:57:59 370296b7ddb6: Waiting 23:57:59 59ccb84bbe0f: Waiting 23:57:59 d94ebbe4e438: Waiting 23:57:59 bcfd1f05c69d: Waiting 23:57:59 39a5fcdaea64: Waiting 23:57:59 7c6cee850709: Waiting 23:57:59 30c4a7721957: Verifying Checksum 23:57:59 30c4a7721957: Download complete 23:57:59 ea60b727a1ce: Download complete 23:57:59 7c6cee850709: Verifying Checksum 23:57:59 7c6cee850709: Download complete 23:57:59 39a5fcdaea64: Download complete 23:57:59 2408cc74d12b: Verifying Checksum 23:57:59 d94ebbe4e438: Download complete 23:57:59 2408cc74d12b: Pull complete 23:57:59 ea60b727a1ce: Pull complete 23:57:59 59ccb84bbe0f: Download complete 23:57:59 30c4a7721957: Pull complete 23:58:00 bcfd1f05c69d: Verifying Checksum 23:58:00 bcfd1f05c69d: Download complete 23:58:00 370296b7ddb6: Verifying Checksum 23:58:00 370296b7ddb6: Download complete 23:58:05 370296b7ddb6: Pull complete 23:58:05 7c6cee850709: Pull complete 23:58:05 39a5fcdaea64: Pull complete 23:58:05 d94ebbe4e438: Pull complete 23:58:07 bcfd1f05c69d: Pull complete 23:58:07 59ccb84bbe0f: Pull complete 23:58:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:58:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:58:07 ---> a4fb48ad2a94 23:58:07 Step 3/13 : ARG MAKE="make build" 23:58:09 ---> Running in 5d9343a8e2d0 23:58:09 Removing intermediate container 5d9343a8e2d0 23:58:09 ---> 8830e362f97c 23:58:09 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:58:09 ---> Running in 47abea94bce7 23:58:09 Removing intermediate container 47abea94bce7 23:58:09 ---> f5fe24226dd2 23:58:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:58:09 ---> Running in 2e988531a535 23:58:10 Removing intermediate container 2e988531a535 23:58:10 ---> 8f548d874fe5 23:58:10 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:58:10 ---> Running in cec13e49be46 23:58:10 Removing intermediate container cec13e49be46 23:58:10 ---> 4946a1d59761 23:58:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:58:10 ---> Running in d15a1a8cc14c 23:58:10 Removing intermediate container d15a1a8cc14c 23:58:10 ---> 1085731d8be2 23:58:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:10 ---> Running in 3266d31fc052 23:58:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:58:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:58:12 Still waiting to schedule task 23:58:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29691’ 23:58:12 OK: 211 MiB in 51 packages 23:58:12 Removing intermediate container 3266d31fc052 23:58:12 ---> 9d8e7e80c500 23:58:12 Step 9/13 : WORKDIR /device-onvif-camera 23:58:12 ---> Running in 1c8b8b091f67 23:58:12 Removing intermediate container 1c8b8b091f67 23:58:12 ---> 5e5025aa2a8b 23:58:12 Step 10/13 : COPY go.mod vendor* ./ 23:58:13 ---> 43b68ba6ae16 23:58:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:13 ---> Running in 4cdf3946e6e9 23:58:39 Removing intermediate container 4cdf3946e6e9 23:58:39 ---> 8d80a15e0320 23:58:39 Step 12/13 : COPY . . 23:58:39 ---> 667eb50d927c 23:58:39 Step 13/13 : RUN ${MAKE} 23:58:39 ---> Running in 9ebabb9fff50 23:58:39 noop 23:58:39 Removing intermediate container 9ebabb9fff50 23:58:39 ---> 4211dae33454 23:58:39 Successfully built 4211dae33454 23:58:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:40 + docker inspect -f . ci-base-image-x86_64 23:58:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:40 prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container 23:58:40 $ 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 ******** ci-base-image-x86_64 cat 23:58:40 $ docker top b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:41 + go version 23:58:41 go version go1.18.3 linux/amd64 [Pipeline] } 23:58:41 $ docker stop --time=1 b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 23:58:42 $ docker rm -f b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:42 + docker inspect -f . ci-base-image-x86_64 23:58:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:42 prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container 23:58:43 $ 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 ******** ci-base-image-x86_64 cat 23:58:43 $ docker top e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:43 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh 23:58:44 + make test 23:58:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:58:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:58:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:58:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.042s coverage: 28.6% of statements 23:58:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:58:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.769s coverage: 13.8% of statements 23:59:04 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." 23:59:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:59:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:08 $ docker stop --time=1 e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 23:59:10 $ docker rm -f e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:59:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:11 + ls -al . 23:59:11 total 232 23:59:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 23:58 . 23:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 .. 23:59:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 23:58 .git 23:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:57 .github 23:59:11 -rw-rw-r-- 1 jenkins jenkins 418 Sep 16 23:57 .gitignore 23:59:11 -rw-rw-r-- 1 jenkins jenkins 42 Sep 16 23:57 .golangci.yml 23:59:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 23:57 .semver 23:59:11 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 16 23:57 Attribution.txt 23:59:11 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 16 23:57 CHANGELOG.md 23:59:11 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 16 23:57 Dockerfile 23:59:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 23:57 GOVERNANCE.md 23:59:11 -rw-rw-r-- 1 jenkins jenkins 734 Sep 16 23:57 Jenkinsfile 23:59:11 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 16 23:57 LICENSE 23:59:11 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 16 23:57 Makefile 23:59:11 -rw-rw-r-- 1 jenkins jenkins 625 Sep 16 23:57 OWNERS.md 23:59:11 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 16 23:57 README.md 23:59:11 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 23:57 VERSION 23:59:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 23:57 bin 23:59:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:57 cmd 23:59:11 -rw-r--r-- 1 jenkins jenkins 77283 Sep 16 23:58 coverage.out 23:59:11 drwxrwxr-x 6 jenkins jenkins 4096 Sep 16 23:57 doc 23:59:11 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 16 23:57 go.mod 23:59:11 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 16 23:57 go.sum 23:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 internal 23:59:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 snap 23:59:11 -rw-rw-r-- 1 jenkins jenkins 236 Sep 16 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:11 + 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=632eb446cf4f1486b9bf2d8ff92b8671da61fa55 --label arch=amd64 --label version=0.0.0 . 23:59:11 Sending build context to Docker daemon 20.78MB 23:59:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:59:11 Step 2/26 : FROM ${BASE} AS builder 23:59:11 ---> 4211dae33454 23:59:11 Step 3/26 : ARG MAKE="make build" 23:59:11 ---> Running in d65703edece6 23:59:11 Removing intermediate container d65703edece6 23:59:11 ---> 3c9ce4bbdb8d 23:59:11 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:59:11 ---> Running in 12ef18622c17 23:59:12 Removing intermediate container 12ef18622c17 23:59:12 ---> 22f0453c8e28 23:59:12 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:59:12 ---> Running in 12f788a22bed 23:59:12 Removing intermediate container 12f788a22bed 23:59:12 ---> 4a7b315f8672 23:59:12 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:59:12 ---> Running in 7f1d08b61aef 23:59:12 Removing intermediate container 7f1d08b61aef 23:59:12 ---> 213c5a7b0317 23:59:12 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:59:12 ---> Running in 43fce284f2b6 23:59:12 Removing intermediate container 43fce284f2b6 23:59:12 ---> 29ad6c0db544 23:59:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:12 ---> Running in 30ef6ed1cc1b 23:59:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:59:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:59:14 OK: 211 MiB in 51 packages 23:59:14 Removing intermediate container 30ef6ed1cc1b 23:59:14 ---> 2e0e5d33b044 23:59:14 Step 9/26 : WORKDIR /device-onvif-camera 23:59:14 ---> Running in 43dfd653fbc8 23:59:14 Removing intermediate container 43dfd653fbc8 23:59:14 ---> 307242e40929 23:59:14 Step 10/26 : COPY go.mod vendor* ./ 23:59:14 ---> b9e8ced27a79 23:59:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:14 ---> Running in 76875953e3c4 23:59:15 Removing intermediate container 76875953e3c4 23:59:15 ---> 318400deefad 23:59:15 Step 12/26 : COPY . . 23:59:16 ---> 2afdfd791ad8 23:59:16 Step 13/26 : RUN ${MAKE} 23:59:16 ---> Running in 48a9c9d7f143 23:59:16 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 23:59:38 Removing intermediate container 48a9c9d7f143 23:59:38 ---> 48abd0e39122 23:59:38 Step 14/26 : FROM alpine:3.16 23:59:38 3.16: Pulling from library/alpine 23:59:38 213ec9aee27d: Pulling fs layer 23:59:38 213ec9aee27d: Verifying Checksum 23:59:38 213ec9aee27d: Download complete 23:59:38 213ec9aee27d: Pull complete 23:59:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:59:38 Status: Downloaded newer image for alpine:3.16 23:59:38 ---> 9c6f07244728 23:59:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:59:38 ---> Running in 351540364e80 23:59:38 Removing intermediate container 351540364e80 23:59:38 ---> 8fbf50f6a19d 23:59:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:59:38 ---> Running in 4342fa058f2d 23:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:59:38 (1/6) Installing dumb-init (1.2.5-r1) 23:59:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:59:38 (3/6) Installing libsodium (1.0.18-r0) 23:59:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:59:38 (5/6) Installing libzmq (4.3.4-r0) 23:59:38 (6/6) Installing zeromq (4.3.4-r0) 23:59:38 Executing busybox-1.35.0-r17.trigger 23:59:38 OK: 8 MiB in 20 packages 23:59:38 Removing intermediate container 4342fa058f2d 23:59:38 ---> bfa1e4fd4dee 23:59:38 Step 17/26 : WORKDIR / 23:59:38 ---> Running in caf27e85697b 23:59:38 Removing intermediate container caf27e85697b 23:59:38 ---> f5dfa481a8fd 23:59:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:59:39 ---> e6ed1de84237 23:59:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:59:39 ---> 390b4c6f93e7 23:59:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:59:39 ---> 674cb7d658c9 23:59:39 Step 21/26 : EXPOSE 59984 23:59:39 ---> Running in fd47ab7ac4ff 23:59:39 Removing intermediate container fd47ab7ac4ff 23:59:39 ---> ea225d39e61a 23:59:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:59:39 ---> Running in b04ee64ca69f 23:59:40 Removing intermediate container b04ee64ca69f 23:59:40 ---> 3b9ce2cf814e 23:59:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:59:40 ---> Running in 7feb4bad8ed0 23:59:40 Removing intermediate container 7feb4bad8ed0 23:59:40 ---> 283d01b8eac9 23:59:40 Step 24/26 : LABEL arch=amd64 23:59:40 ---> Running in 41cee04eeae7 23:59:40 Removing intermediate container 41cee04eeae7 23:59:40 ---> a84a86da7b74 23:59:40 Step 25/26 : LABEL git_sha=632eb446cf4f1486b9bf2d8ff92b8671da61fa55 23:59:40 ---> Running in 5cbc453c589d 23:59:40 Removing intermediate container 5cbc453c589d 23:59:40 ---> a4244395d343 23:59:40 Step 26/26 : LABEL version=0.0.0 23:59:40 ---> Running in 00130c2148e2 23:59:40 Removing intermediate container 00130c2148e2 23:59:40 ---> e75737ac6d41 23:59:40 [Warning] One or more build-args [ARCH] were not consumed 23:59:40 Successfully built e75737ac6d41 23:59:40 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 23:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:41 23:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:41 latest: Pulling from edgex-lftools-log-publisher 23:59:41 5eb5b503b376: Pulling fs layer 23:59:41 5c69ac0246d0: Pulling fs layer 23:59:41 ec43610c2a17: Pulling fs layer 23:59:41 3a2ae6a8a46f: Pulling fs layer 23:59:41 33b1e0a273af: Pulling fs layer 23:59:41 3a2ae6a8a46f: Waiting 23:59:41 33b1e0a273af: Waiting 23:59:41 5d3b04190fa2: Pulling fs layer 23:59:41 2f39f015ded8: Pulling fs layer 23:59:41 2f39f015ded8: Waiting 23:59:41 5d3b04190fa2: Waiting 23:59:41 5c69ac0246d0: Verifying Checksum 23:59:41 5c69ac0246d0: Download complete 23:59:41 3a2ae6a8a46f: Verifying Checksum 23:59:41 3a2ae6a8a46f: Download complete 23:59:41 33b1e0a273af: Verifying Checksum 23:59:41 33b1e0a273af: Download complete 23:59:41 ec43610c2a17: Verifying Checksum 23:59:41 ec43610c2a17: Download complete 23:59:41 5d3b04190fa2: Download complete 23:59:41 5eb5b503b376: Verifying Checksum 23:59:41 5eb5b503b376: Download complete 23:59:42 2f39f015ded8: Download complete 23:59:42 5eb5b503b376: Pull complete 23:59:42 5c69ac0246d0: Pull complete 23:59:43 ec43610c2a17: Pull complete 23:59:43 3a2ae6a8a46f: Pull complete 23:59:43 33b1e0a273af: Pull complete 23:59:43 5d3b04190fa2: Pull complete 23:59:47 2f39f015ded8: Pull complete 23:59:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:59:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:48 prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container 23:59:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:59:49 $ docker top 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:50 ---> job-cost.sh 23:59:50 lf-activate-venv: SKIPPING 23:59:50 INFO: No Stack... 23:59:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:51 INFO: Archiving Costs [Pipeline] sh 23:59:51 + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv 23:59:51 + cut -d, -f6 [Pipeline] lock 23:59:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] 23:59:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] did not exist. Created. 23:59:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:59:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:59:51 Stashed 1 file(s) [Pipeline] } 23:59:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:59:51 $ docker stop --time=1 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 23:59:52 $ docker rm -f 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29695 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws 00:01:47 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 00:01:47 Selected Git installation does not exist. Using Default 00:01:47 The recommended git tool is: NONE 00:01:53 using credential edgex-jenkins-ssh 00:01:53 Cloning the remote Git repository 00:01:53 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:01:54 > git init /w/workspace/device-onvif-camera/2 # timeout=10 00:01:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:01:54 > git --version # timeout=10 00:01:54 > git --version # 'git version 2.25.1' 00:01:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:56 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 1f6501c6a9662041fd385a15268cf9013fc634d4 00:01:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:01:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:55 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:01:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:01:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:55 > 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 00:01:56 > git config core.sparsecheckout # timeout=10 00:01:56 > git checkout -f 1f6501c6a9662041fd385a15268cf9013fc634d4 # timeout=10 00:01:56 > git remote # timeout=10 00:01:56 > git config --get remote.origin.url # timeout=10 00:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:56 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 00:01:56 Merge succeeded, producing ed29f599da865107c070fe9ddbfee24c8b64b8a5 00:01:56 Checking out Revision ed29f599da865107c070fe9ddbfee24c8b64b8a5 (PR-161) 00:01:56 > git rev-parse HEAD^{commit} # timeout=10 00:01:56 > git config core.sparsecheckout # timeout=10 00:01:56 > git checkout -f ed29f599da865107c070fe9ddbfee24c8b64b8a5 # timeout=10 00:02:01 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" 00:02:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:02:02 % Total % Received % Xferd Average Speed Time Time Time Current 00:02:02 Dload Upload Total Spent Left Speed 00:02:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 00:02:01 > git rev-list --no-walk ba68ce7de06218551ad6889b53b44f342c4e0825 # timeout=10 00:02:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:02:03 + sudo tee /etc/docker/daemon.new 00:02:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:02:03 { 00:02:03 "registry-mirrors": [ 00:02:03 "https://nexus3.edgexfoundry.org:10001" 00:02:03 ], 00:02:03 "bip": "10.250.0.254/24", 00:02:03 "hosts": [ 00:02:03 "tcp://0.0.0.0:5555", 00:02:03 "unix:///var/run/docker.sock" 00:02:03 ], 00:02:03 "mtu": 1458, 00:02:03 "selinux-enabled": true, 00:02:03 "seccomp-profile": "/etc/docker/seccomp.json" 00:02:03 } [Pipeline] sh 00:02:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:02:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:22 provisioning config files... 00:02:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7465092359411576802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:22 ---> docker-login.sh 00:02:22 nexus3.edgexfoundry.org:10001 00:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:23 Configure a credential helper to remove this warning. See 00:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:23 00:02:23 Login Succeeded 00:02:23 nexus3.edgexfoundry.org:10002 00:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:23 Configure a credential helper to remove this warning. See 00:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:23 00:02:23 Login Succeeded 00:02:23 nexus3.edgexfoundry.org:10003 00:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:24 Configure a credential helper to remove this warning. See 00:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:24 00:02:24 Login Succeeded 00:02:24 nexus3.edgexfoundry.org:10004 00:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:24 Configure a credential helper to remove this warning. See 00:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:24 00:02:24 Login Succeeded 00:02:24 docker.io 00:02:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:25 Configure a credential helper to remove this warning. See 00:02:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:25 00:02:25 Login Succeeded 00:02:25 ---> docker-login.sh ends [Pipeline] } 00:02:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:26 ========================================================= 00:02:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:02:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:26 + 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 . 00:02:27 Sending build context to Docker daemon 14.18MB 00:02:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:02:27 Step 2/13 : FROM ${BASE} AS builder 00:02:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:27 b3c136eddcbf: Pulling fs layer 00:02:27 c0a3192eca97: Pulling fs layer 00:02:27 a050256f5b6f: Pulling fs layer 00:02:27 656be50a0ddc: Pulling fs layer 00:02:27 2bbca73fdf42: Pulling fs layer 00:02:27 46d945488cbd: Pulling fs layer 00:02:27 8a5474983e97: Pulling fs layer 00:02:27 329c88fbcd65: Pulling fs layer 00:02:27 656be50a0ddc: Waiting 00:02:27 2bbca73fdf42: Waiting 00:02:27 46d945488cbd: Waiting 00:02:27 8a5474983e97: Waiting 00:02:27 329c88fbcd65: Waiting 00:02:27 a050256f5b6f: Verifying Checksum 00:02:27 a050256f5b6f: Download complete 00:02:27 c0a3192eca97: Verifying Checksum 00:02:27 c0a3192eca97: Download complete 00:02:27 2bbca73fdf42: Download complete 00:02:27 46d945488cbd: Verifying Checksum 00:02:27 46d945488cbd: Download complete 00:02:27 b3c136eddcbf: Verifying Checksum 00:02:28 b3c136eddcbf: Pull complete 00:02:28 329c88fbcd65: Verifying Checksum 00:02:28 329c88fbcd65: Download complete 00:02:28 c0a3192eca97: Pull complete 00:02:28 a050256f5b6f: Pull complete 00:02:29 8a5474983e97: Verifying Checksum 00:02:29 8a5474983e97: Download complete 00:02:30 656be50a0ddc: Verifying Checksum 00:02:30 656be50a0ddc: Download complete 00:02:42 656be50a0ddc: Pull complete 00:02:42 2bbca73fdf42: Pull complete 00:02:42 46d945488cbd: Pull complete 00:02:49 8a5474983e97: Pull complete 00:02:50 329c88fbcd65: Pull complete 00:02:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:02:50 ---> ff4287adb874 00:02:50 Step 3/13 : ARG MAKE="make build" 00:02:52 ---> Running in 76ffb8f8749c 00:02:53 Removing intermediate container 76ffb8f8749c 00:02:53 ---> 29c97a446153 00:02:53 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:02:53 ---> Running in ea4ba4a8c063 00:02:53 Removing intermediate container ea4ba4a8c063 00:02:53 ---> 3812719483e7 00:02:53 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:02:53 ---> Running in fb63882a25b1 00:02:54 Removing intermediate container fb63882a25b1 00:02:54 ---> 32f305c8f90b 00:02:54 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:02:54 ---> Running in 3dfdfb81bd01 00:02:55 Removing intermediate container 3dfdfb81bd01 00:02:55 ---> 8caaf1ade934 00:02:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:55 ---> Running in fb0c1903e6ac 00:02:57 Removing intermediate container fb0c1903e6ac 00:02:57 ---> 20386a5b2524 00:02:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:57 ---> Running in 3f611dd4f77a 00:02:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:02:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:03:00 OK: 221 MiB in 51 packages 00:03:01 Removing intermediate container 3f611dd4f77a 00:03:01 ---> 1796b22fc5aa 00:03:01 Step 9/13 : WORKDIR /device-onvif-camera 00:03:01 ---> Running in 9ee1fbace025 00:03:01 Removing intermediate container 9ee1fbace025 00:03:01 ---> 4f531ff90ac7 00:03:01 Step 10/13 : COPY go.mod vendor* ./ 00:03:02 ---> df89ccb6cb09 00:03:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:02 ---> Running in 33a7dc913d46 00:03:58 Removing intermediate container 33a7dc913d46 00:03:58 ---> 39deaff3f2e8 00:03:58 Step 12/13 : COPY . . 00:03:58 ---> 1c0be9013053 00:03:58 Step 13/13 : RUN ${MAKE} 00:03:58 ---> Running in 59948d285cea 00:03:58 noop 00:03:58 Removing intermediate container 59948d285cea 00:03:58 ---> c84c30757a6e 00:03:58 Successfully built c84c30757a6e 00:03:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:59 + docker inspect -f . ci-base-image-arm64 00:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container 00:03:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 00:04:00 $ docker top ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:01 + go version 00:04:01 go version go1.18.3 linux/arm64 [Pipeline] } 00:04:01 $ docker stop --time=1 ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 00:04:03 $ docker rm -f ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:04 + docker inspect -f . ci-base-image-arm64 00:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container 00:04:04 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 00:04:05 $ docker top 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 00:04:07 + make test 00:04:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:04:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:05:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:05:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.184s coverage: 28.6% of statements 00:05:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:06:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.322s coverage: 13.8% of statements 00:06:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:06:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:06:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:06:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:06:23 ./bin/test-attribution-txt.sh [Pipeline] echo 00:06:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:06:23 $ docker stop --time=1 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c 00:06:25 $ docker rm -f 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c [Pipeline] // withDockerContainer [Pipeline] sh 00:06:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:26 Warning: overwriting stash ‘coverage-report’ 00:06:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:27 + ls -al . 00:06:27 total 228 00:06:27 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 00:04 . 00:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 .. 00:06:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 00:02 .git 00:06:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 00:01 .github 00:06:27 -rw-rw-r-- 1 jenkins jenkins 418 Sep 17 00:01 .gitignore 00:06:27 -rw-rw-r-- 1 jenkins jenkins 42 Sep 17 00:01 .golangci.yml 00:06:27 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 17 00:01 Attribution.txt 00:06:27 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 17 00:01 CHANGELOG.md 00:06:27 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 17 00:01 Dockerfile 00:06:27 -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 00:01 GOVERNANCE.md 00:06:27 -rw-rw-r-- 1 jenkins jenkins 734 Sep 17 00:01 Jenkinsfile 00:06:27 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 17 00:01 LICENSE 00:06:27 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 17 00:01 Makefile 00:06:27 -rw-rw-r-- 1 jenkins jenkins 625 Sep 17 00:01 OWNERS.md 00:06:27 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 17 00:01 README.md 00:06:27 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 23:57 VERSION 00:06:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 00:01 bin 00:06:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 00:01 cmd 00:06:27 -rw-r--r-- 1 jenkins jenkins 77283 Sep 17 00:05 coverage.out 00:06:27 drwxrwxr-x 6 jenkins jenkins 4096 Sep 17 00:01 doc 00:06:27 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 17 00:01 go.mod 00:06:27 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 17 00:01 go.sum 00:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 internal 00:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 snap 00:06:27 -rw-rw-r-- 1 jenkins jenkins 236 Sep 17 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:28 + 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=ed29f599da865107c070fe9ddbfee24c8b64b8a5 --label arch=arm64 --label version=0.0.0 . 00:06:28 Sending build context to Docker daemon 14.26MB 00:06:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:06:28 Step 2/26 : FROM ${BASE} AS builder 00:06:28 ---> c84c30757a6e 00:06:28 Step 3/26 : ARG MAKE="make build" 00:06:28 ---> Running in ea615f19dcaf 00:06:29 Removing intermediate container ea615f19dcaf 00:06:29 ---> eaf8f8761f82 00:06:29 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:06:29 ---> Running in 0ed17cf6ac85 00:06:29 Removing intermediate container 0ed17cf6ac85 00:06:29 ---> 37b381ffc4d6 00:06:29 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:06:29 ---> Running in 27c561962365 00:06:30 Removing intermediate container 27c561962365 00:06:30 ---> 978a8a4b277c 00:06:30 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:06:30 ---> Running in 8922be57d32f 00:06:30 Removing intermediate container 8922be57d32f 00:06:30 ---> 9daf513900cf 00:06:30 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:30 ---> Running in c63f208f44f3 00:06:32 Removing intermediate container c63f208f44f3 00:06:32 ---> e3d7356abdac 00:06:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:32 ---> Running in 7d28fad188aa 00:06:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:06:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:06:35 OK: 221 MiB in 51 packages 00:06:36 Removing intermediate container 7d28fad188aa 00:06:36 ---> 2a80b4aa9c03 00:06:36 Step 9/26 : WORKDIR /device-onvif-camera 00:06:36 ---> Running in 2ce2076f8c51 00:06:36 Removing intermediate container 2ce2076f8c51 00:06:36 ---> 966c1bc05ca3 00:06:36 Step 10/26 : COPY go.mod vendor* ./ 00:06:37 ---> 48e617b2e684 00:06:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:37 ---> Running in af7a637f9e91 00:06:39 Removing intermediate container af7a637f9e91 00:06:39 ---> bd367b2a45a0 00:06:39 Step 12/26 : COPY . . 00:06:41 ---> 592c277b7b52 00:06:41 Step 13/26 : RUN ${MAKE} 00:06:41 ---> Running in 8bc905fa2164 00:06:42 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 00:09:04 Removing intermediate container 8bc905fa2164 00:09:04 ---> 82dd7b85c311 00:09:04 Step 14/26 : FROM alpine:3.16 00:09:04 3.16: Pulling from library/alpine 00:09:04 9b18e9b68314: Pulling fs layer 00:09:04 9b18e9b68314: Verifying Checksum 00:09:04 9b18e9b68314: Download complete 00:09:04 9b18e9b68314: Pull complete 00:09:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:09:04 Status: Downloaded newer image for alpine:3.16 00:09:04 ---> a6215f271958 00:09:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:09:04 ---> Running in efe554d021f9 00:09:04 Removing intermediate container efe554d021f9 00:09:04 ---> f034aebf07c8 00:09:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:09:04 ---> Running in 16b5f43f0364 00:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:09:05 (1/6) Installing dumb-init (1.2.5-r1) 00:09:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:09:05 (3/6) Installing libsodium (1.0.18-r0) 00:09:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:09:05 (5/6) Installing libzmq (4.3.4-r0) 00:09:05 (6/6) Installing zeromq (4.3.4-r0) 00:09:05 Executing busybox-1.35.0-r17.trigger 00:09:05 OK: 8 MiB in 20 packages 00:09:06 Removing intermediate container 16b5f43f0364 00:09:06 ---> 0eba8bacb1c7 00:09:06 Step 17/26 : WORKDIR / 00:09:06 ---> Running in ad34fbca9ff0 00:09:06 Removing intermediate container ad34fbca9ff0 00:09:06 ---> a31553eeb2f4 00:09:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:09:08 ---> 669439016f3f 00:09:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:09:08 ---> ff5f24335204 00:09:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:09:09 ---> 0c75a0883246 00:09:09 Step 21/26 : EXPOSE 59984 00:09:09 ---> Running in 742cad491bcc 00:09:09 Removing intermediate container 742cad491bcc 00:09:09 ---> b0f9b4f81bb4 00:09:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:09:09 ---> Running in 1a05800b16cd 00:09:10 Removing intermediate container 1a05800b16cd 00:09:10 ---> d2e9b5d83623 00:09:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:09:10 ---> Running in 84a35715a8ac 00:09:10 Removing intermediate container 84a35715a8ac 00:09:10 ---> cea9f04ff8e9 00:09:10 Step 24/26 : LABEL arch=arm64 00:09:10 ---> Running in ae84189f98da 00:09:10 Removing intermediate container ae84189f98da 00:09:10 ---> c0629ea1cbec 00:09:10 Step 25/26 : LABEL git_sha=ed29f599da865107c070fe9ddbfee24c8b64b8a5 00:09:10 ---> Running in 85f0ef6e4e59 00:09:11 Removing intermediate container 85f0ef6e4e59 00:09:11 ---> c5acdadbe3e7 00:09:11 Step 26/26 : LABEL version=0.0.0 00:09:11 ---> Running in 3dc2a9934355 00:09:11 Removing intermediate container 3dc2a9934355 00:09:11 ---> 0789158673c6 00:09:11 [Warning] One or more build-args [ARCH] were not consumed 00:09:11 Successfully built 0789158673c6 00:09:11 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 00:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:12 00:09:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:12 arm64: Pulling from edgex-lftools-log-publisher 00:09:12 8998bd30e6a1: Pulling fs layer 00:09:12 04944245beec: Pulling fs layer 00:09:12 699f458cf7ca: Pulling fs layer 00:09:12 765212b225bb: Pulling fs layer 00:09:12 f23df028b6ca: Pulling fs layer 00:09:12 d65c8cfc05b1: Pulling fs layer 00:09:12 2437ff75d9bd: Pulling fs layer 00:09:12 f23df028b6ca: Waiting 00:09:12 d65c8cfc05b1: Waiting 00:09:12 2437ff75d9bd: Waiting 00:09:12 765212b225bb: Waiting 00:09:12 04944245beec: Verifying Checksum 00:09:12 04944245beec: Download complete 00:09:12 765212b225bb: Verifying Checksum 00:09:12 765212b225bb: Download complete 00:09:12 f23df028b6ca: Verifying Checksum 00:09:12 f23df028b6ca: Download complete 00:09:13 d65c8cfc05b1: Verifying Checksum 00:09:13 d65c8cfc05b1: Download complete 00:09:13 699f458cf7ca: Verifying Checksum 00:09:13 699f458cf7ca: Download complete 00:09:13 8998bd30e6a1: Verifying Checksum 00:09:13 8998bd30e6a1: Download complete 00:09:16 2437ff75d9bd: Verifying Checksum 00:09:16 2437ff75d9bd: Download complete 00:09:17 8998bd30e6a1: Pull complete 00:09:18 04944245beec: Pull complete 00:09:19 699f458cf7ca: Pull complete 00:09:20 765212b225bb: Pull complete 00:09:20 f23df028b6ca: Pull complete 00:09:21 d65c8cfc05b1: Pull complete 00:09:36 2437ff75d9bd: Pull complete 00:09:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:09:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:36 prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container 00:09:36 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 00:09:39 $ docker top d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:40 ---> job-cost.sh 00:09:40 lf-activate-venv: SKIPPING 00:09:40 INFO: No Stack... 00:09:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:09:42 INFO: Archiving Costs [Pipeline] sh 00:09:42 + + cut -d, -f6cat 00:09:42 /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 00:09:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] 00:09:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] did not exist. Created. 00:09:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:43 /w/workspace/device-onvif-camera/2@tmp/durable-a82f4956/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:09:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:09:44 Warning: overwriting stash ‘stack-cost’ 00:09:44 Stashed 1 file(s) [Pipeline] } 00:09:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:44 $ docker stop --time=1 d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 00:09:45 $ docker rm -f d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 [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 00:09:46 provisioning config files... 00:09:46 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config8282082086075845588tmp [Pipeline] { [Pipeline] sh 00:09:46 + set +x 00:09:46 + curl -s https://codecov.io/bash 00:09:46 + bash -s -- 00:09:46 00:09:46 _____ _ 00:09:46 / ____| | | 00:09:46 | | ___ __| | ___ ___ _____ __ 00:09:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:09:46 | |___| (_) | (_| | __/ (_| (_) \ V / 00:09:46 \_____\___/ \__,_|\___|\___\___/ \_/ 00:09:46 Bash-1.0.6 00:09:46 00:09:46 00:09:46 ==> git version 2.25.1 found 00:09:46 ==> 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 00:09:46 Release-Date: 2020-01-08 00:09:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:09:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:09:46 ==> Jenkins CI detected. 00:09:46 current dir:  /w/workspace/undry_device-onvif-camera_PR-161 00:09:46 project root: . 00:09:46 --> token set from env 00:09:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:09:46 ==> Running gcov in . (disable via -X gcov) 00:09:46 ==> Python coveragepy not found 00:09:46 ==> Searching for coverage reports in: 00:09:46 + . 00:09:46 -> Found 1 reports 00:09:46 ==> Detecting git/mercurial file structure 00:09:46 ==> Reading reports 00:09:46 + ./coverage.out bytes=77283 00:09:46 ==> Appending adjustments 00:09:46 https://docs.codecov.io/docs/fixing-reports 00:09:46 + Found adjustments 00:09:46 ==> Gzipping contents 00:09:46 12K /tmp/codecov.Ilcdyt.gz 00:09:46 ==> Uploading reports 00:09:46 url: https://codecov.io 00:09:46 query: branch=PR-161&commit=632eb446cf4f1486b9bf2d8ff92b8671da61fa55&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 00:09:46 -> Pinging Codecov 00:09:46 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=632eb446cf4f1486b9bf2d8ff92b8671da61fa55&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 00:09:47 -> Uploading to 00:09:47 https://storage.googleapis.com/codecov/v4/raw/2022-09-17/F29A59C45E3A92E06B3E522C9905F8EF/632eb446cf4f1486b9bf2d8ff92b8671da61fa55/9c1bf162-9d50-48c8-a534-91ee3ade6f89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220917%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220917T000947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb8f2f91d9ebf560a224baff0328c1f16710dfaa10877d5663bc60af135a21a2 00:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:47 Dload Upload Total Spent Left Speed 00:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10564 0 0 100 10564 0 42425 --:--:-- --:--:-- --:--:-- 42425 00:09:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] } 00:09:47 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 00:09:48 + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] 00:09:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 00:09:48 total 16 00:09:48 drwxr-xr-x 3 root root 4096 Sep 16 23:59 . 00:09:48 drwxrwxr-x 11 jenkins jenkins 4096 Sep 16 23:59 .. 00:09:48 drwxr-xr-x 2 root root 4096 Sep 16 23:59 cost 00:09:48 -rw-r--r-- 1 root root 91 Sep 16 23:59 cost.csv 00:09:48 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives 00:09:48 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 00:09:48 total 16 00:09:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 23:59 . 00:09:48 drwxrwxr-x 11 jenkins jenkins 4096 Sep 16 23:59 .. 00:09:48 drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 23:59 cost 00:09:48 -rw-r--r-- 1 jenkins jenkins 91 Sep 16 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:09:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:09:49 ---> package-listing.sh 00:09:49 ++ facter osfamily 00:09:49 ++ tr '[:upper:]' '[:lower:]' 00:09:49 + OS_FAMILY=debian 00:09:49 + workspace=/w/workspace/undry_device-onvif-camera_PR-161 00:09:49 + START_PACKAGES=/tmp/packages_start.txt 00:09:49 + END_PACKAGES=/tmp/packages_end.txt 00:09:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:09:49 + PACKAGES=/tmp/packages_start.txt 00:09:49 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 00:09:49 + PACKAGES=/tmp/packages_end.txt 00:09:49 + case "${OS_FAMILY}" in 00:09:49 + dpkg -l 00:09:49 + grep '^ii' 00:09:49 + '[' -f /tmp/packages_start.txt ']' 00:09:49 + '[' -f /tmp/packages_end.txt ']' 00:09:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:09:49 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 00:09:49 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ 00:09:49 + 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 00:09:49 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 00:09:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:50 prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container 00:09:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:50 $ docker top 0b904c3c55c20c2cf0c1eb6b2f574279a3819421f4ef7f546bb5839c699167ac -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:51 + touch /tmp/pre-build-complete [Pipeline] sh 00:09:51 + mkdir -p /var/log/sysstat [Pipeline] sh 00:09:51 + ls /var/log/sa-host 00:09:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:51 provisioning config files... 00:09:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3610524768667014409tmp [Pipeline] { [Pipeline] echo 00:09:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:09:52 ---> create-netrc.sh [Pipeline] } 00:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:09:52 ---> python-tools-install.sh [Pipeline] echo 00:09:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:09:52 ---> sudo-logs.sh 00:09:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:09:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:09:53 ---> job-cost.sh 00:09:53 lf-activate-venv: SKIPPING 00:09:53 DEBUG: total: 0.2199999988079071 00:09:53 INFO: Retrieving Stack Cost... 00:09:53 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:54 INFO: Archiving Costs [Pipeline] echo 00:09:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:54 ---> logs-deploy.sh 00:09:54 lf-activate-venv: SKIPPING 00:09:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/2 00:09:54 INFO: archiving workspace using pattern(s): 00:09:55 Archives upload complete. 00:09:55 INFO: archiving logs to Nexus