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 7da5914cb017261003566147505e712acf32ea44 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-ssh14560104025782744826.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-ssh17175941655235228433.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-ssh5257566244794994628.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-ssh14365509366936819197.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-ssh14770861593436517595.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-29926 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 7da5914cb017261003566147505e712acf32ea44 > 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 7da5914cb017261003566147505e712acf32ea44 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 Merge succeeded, producing 41e07621cc2cd1e1cd7989c4ba885f05ab417290 Checking out Revision 41e07621cc2cd1e1cd7989c4ba885f05ab417290 (PR-161) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41e07621cc2cd1e1cd7989c4ba885f05ab417290 # 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 04:45:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:45:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:45:08 ========================================================= 04:45:08 EdgeX Global Pipelines Version Info 04:45:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:45:09 ------------------- 04:45:09 stable info: 04:45:09 ------------------- 04:45:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:45:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:45:09 Message: update stable to v1.0.239 > git rev-list --no-walk a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 04:45:09 ------------------- 04:45:09 experimental info: 04:45:09 ------------------- 04:45:09 Commited By: **** collab-it+edgex@linuxfoundation.org 04:45:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:45:09 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41e0762 [Pipeline] echo 04:45:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:10 provisioning config files... 04:45:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config6017913081701047244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:10 ---> docker-login.sh 04:45:10 nexus3.edgexfoundry.org:10001 04:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:11 Configure a credential helper to remove this warning. See 04:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:11 04:45:11 Login Succeeded 04:45:11 nexus3.edgexfoundry.org:10002 04:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:11 Configure a credential helper to remove this warning. See 04:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:11 04:45:11 Login Succeeded 04:45:11 nexus3.edgexfoundry.org:10003 04:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:11 Configure a credential helper to remove this warning. See 04:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:11 04:45:11 Login Succeeded 04:45:11 nexus3.edgexfoundry.org:10004 04:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:11 Configure a credential helper to remove this warning. See 04:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:11 04:45:11 Login Succeeded 04:45:11 docker.io 04:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:12 Configure a credential helper to remove this warning. See 04:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:12 04:45:12 Login Succeeded 04:45:12 ---> docker-login.sh ends [Pipeline] } 04:45:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:45:12 + git rev-list -1 --merges 41e07621cc2cd1e1cd7989c4ba885f05ab417290~1..41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo 04:45:12 -----------> git rev-list -1 --merges 41e07621cc2cd1e1cd7989c4ba885f05ab417290~1..41e07621cc2cd1e1cd7989c4ba885f05ab417290 41e07621cc2cd1e1cd7989c4ba885f05ab417290 04:45:12 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [false] [Pipeline] sh 04:45:13 + git log --format=format:%s -1 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo 04:45:13 ========================================================= 04:45:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:45:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:13 + git log --format=format:%s -1 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo 04:45:13 [semverPrep] GIT_COMMIT: 41e07621cc2cd1e1cd7989c4ba885f05ab417290, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo 04:45:13 [semverPrep] This is not a build commit. [Pipeline] sh 04:45:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:13 + grep -v github /etc/ssh/ssh_known_hosts 04:45:13 + [ -e /tmp/ssh_known_hosts ] 04:45:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:45:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:45:13 + sudo tee -a /etc/ssh/ssh_known_hosts 04:45:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:14 04:45:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:14 0.1.4: Pulling from edgex-devops/py-git-semver 04:45:14 b85a868b505f: Pulling fs layer 04:45:14 e2be974225ed: Pulling fs layer 04:45:14 339a4e72a1f5: Pulling fs layer 04:45:14 988bab9f4d93: Pulling fs layer 04:45:14 1469e6f7b9e6: Pulling fs layer 04:45:14 eaf3925da568: Pulling fs layer 04:45:14 bab4dde63d76: Pulling fs layer 04:45:14 bde34c3a00c8: Pulling fs layer 04:45:14 b352a97aabf1: Pulling fs layer 04:45:14 4872d77fe225: Pulling fs layer 04:45:14 5851b861e8e6: Pulling fs layer 04:45:14 1469e6f7b9e6: Waiting 04:45:14 988bab9f4d93: Waiting 04:45:14 eaf3925da568: Waiting 04:45:14 bab4dde63d76: Waiting 04:45:14 b352a97aabf1: Waiting 04:45:14 4872d77fe225: Waiting 04:45:14 5851b861e8e6: Waiting 04:45:14 e2be974225ed: Download complete 04:45:14 988bab9f4d93: Verifying Checksum 04:45:14 988bab9f4d93: Download complete 04:45:14 1469e6f7b9e6: Verifying Checksum 04:45:14 1469e6f7b9e6: Download complete 04:45:14 eaf3925da568: Verifying Checksum 04:45:14 eaf3925da568: Download complete 04:45:14 339a4e72a1f5: Verifying Checksum 04:45:14 339a4e72a1f5: Download complete 04:45:14 bde34c3a00c8: Download complete 04:45:14 b352a97aabf1: Verifying Checksum 04:45:14 b352a97aabf1: Download complete 04:45:14 4872d77fe225: Verifying Checksum 04:45:14 4872d77fe225: Download complete 04:45:14 5851b861e8e6: Download complete 04:45:14 b85a868b505f: Verifying Checksum 04:45:14 b85a868b505f: Download complete 04:45:15 bab4dde63d76: Verifying Checksum 04:45:15 bab4dde63d76: Download complete 04:45:15 b85a868b505f: Pull complete 04:45:16 e2be974225ed: Pull complete 04:45:16 339a4e72a1f5: Pull complete 04:45:16 988bab9f4d93: Pull complete 04:45:17 1469e6f7b9e6: Pull complete 04:45:17 eaf3925da568: Pull complete 04:45:19 bab4dde63d76: Pull complete 04:45:19 bde34c3a00c8: Pull complete 04:45:19 b352a97aabf1: Pull complete 04:45:19 4872d77fe225: Pull complete 04:45:19 5851b861e8e6: Pull complete 04:45:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:19 prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container 04:45:19 $ 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 04:45:21 $ docker top 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf -eo pid,comm 04:45:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:45:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:21 [ssh-agent] Looking for ssh-agent implementation... 04:45:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:21 $ docker exec 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent 04:45:21 SSH_AUTH_SOCK=/tmp/ssh-ruO5QOInJHvt/agent.35 04:45:21 SSH_AGENT_PID=42 04:45:21 Running ssh-add (command line suppressed) 04:45:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_319114633118160172.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_319114633118160172.key) 04:45:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:22 + git tag --points-at HEAD [Pipeline] } 04:45:22 $ docker exec --env ******** --env ******** 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent -k 04:45:22 unset SSH_AUTH_SOCK; 04:45:22 unset SSH_AGENT_PID; 04:45:22 echo Agent pid 42 killed; 04:45:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:22 [ssh-agent] Looking for ssh-agent implementation... 04:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:22 $ docker exec 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent 04:45:22 SSH_AUTH_SOCK=/tmp/ssh-fxsNfEez7WST/agent.75 04:45:22 SSH_AGENT_PID=82 04:45:22 Running ssh-add (command line suppressed) 04:45:22 Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5421101170004252163.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5421101170004252163.key) 04:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:22 + git semver init 04:45:23 2022-09-20 04:45:23,136 [run_init] DEBUG init version:0.0.0 force:False 04:45:23 2022-09-20 04:45:23,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver 04:45:23 2022-09-20 04:45:23,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver 04:45:23 2022-09-20 04:45:23,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) 04:45:24 2022-09-20 04:45:24,214 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude 04:45:24 2022-09-20 04:45:24,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False 04:45:24 2022-09-20 04:45:24,214 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 04:45:24 2022-09-20 04:45:24,218 [execute] INFO git cat-file --batch-check 04:45:24 2022-09-20 04:45:24,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 04:45:24 2022-09-20 04:45:24,225 [execute] INFO git cat-file --batch 04:45:24 2022-09-20 04:45:24,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) 04:45:24 2022-09-20 04:45:24,230 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 04:45:24 0.0.0 [Pipeline] } 04:45:24 $ docker exec --env ******** --env ******** 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent -k 04:45:24 unset SSH_AUTH_SOCK; 04:45:24 unset SSH_AGENT_PID; 04:45:24 echo Agent pid 82 killed; 04:45:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:45:25 + git semver [Pipeline] } 04:45:25 $ docker stop --time=1 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf 04:45:26 $ docker rm -f 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf [Pipeline] // withDockerContainer [Pipeline] sh 04:45:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:45:27 Stashed 1 file(s) [Pipeline] echo 04:45:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:27 provisioning config files... 04:45:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5736637085311587205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:27 ---> docker-login.sh 04:45:27 nexus3.edgexfoundry.org:10001 04:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:27 Configure a credential helper to remove this warning. See 04:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:27 04:45:27 Login Succeeded 04:45:27 nexus3.edgexfoundry.org:10002 04:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:27 Configure a credential helper to remove this warning. See 04:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:27 04:45:27 Login Succeeded 04:45:27 nexus3.edgexfoundry.org:10003 04:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:27 Configure a credential helper to remove this warning. See 04:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:27 04:45:27 Login Succeeded 04:45:27 nexus3.edgexfoundry.org:10004 04:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:28 Configure a credential helper to remove this warning. See 04:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:28 04:45:28 Login Succeeded 04:45:28 docker.io 04:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:28 Configure a credential helper to remove this warning. See 04:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:28 04:45:28 Login Succeeded 04:45:28 ---> docker-login.sh ends [Pipeline] } 04:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:45:28 ========================================================= 04:45:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:45:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:45:29 Sending build context to Docker daemon 20.75MB 04:45:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:45:29 Step 2/13 : FROM ${BASE} AS builder 04:45:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:45:29 2408cc74d12b: Pulling fs layer 04:45:29 ea60b727a1ce: Pulling fs layer 04:45:29 30c4a7721957: Pulling fs layer 04:45:29 370296b7ddb6: Pulling fs layer 04:45:29 7c6cee850709: Pulling fs layer 04:45:29 39a5fcdaea64: Pulling fs layer 04:45:29 d94ebbe4e438: Pulling fs layer 04:45:29 bcfd1f05c69d: Pulling fs layer 04:45:29 59ccb84bbe0f: Pulling fs layer 04:45:29 d94ebbe4e438: Waiting 04:45:29 39a5fcdaea64: Waiting 04:45:29 bcfd1f05c69d: Waiting 04:45:29 59ccb84bbe0f: Waiting 04:45:29 370296b7ddb6: Waiting 04:45:29 7c6cee850709: Waiting 04:45:29 30c4a7721957: Verifying Checksum 04:45:29 30c4a7721957: Download complete 04:45:29 ea60b727a1ce: Download complete 04:45:29 7c6cee850709: Verifying Checksum 04:45:29 7c6cee850709: Download complete 04:45:29 39a5fcdaea64: Download complete 04:45:29 2408cc74d12b: Verifying Checksum 04:45:29 2408cc74d12b: Download complete 04:45:29 d94ebbe4e438: Verifying Checksum 04:45:29 d94ebbe4e438: Download complete 04:45:29 2408cc74d12b: Pull complete 04:45:29 ea60b727a1ce: Pull complete 04:45:29 30c4a7721957: Pull complete 04:45:29 59ccb84bbe0f: Verifying Checksum 04:45:29 59ccb84bbe0f: Download complete 04:45:30 bcfd1f05c69d: Verifying Checksum 04:45:30 bcfd1f05c69d: Download complete 04:45:30 370296b7ddb6: Verifying Checksum 04:45:30 370296b7ddb6: Download complete 04:45:34 370296b7ddb6: Pull complete 04:45:34 7c6cee850709: Pull complete 04:45:34 39a5fcdaea64: Pull complete 04:45:34 d94ebbe4e438: Pull complete 04:45:36 bcfd1f05c69d: Pull complete 04:45:37 59ccb84bbe0f: Pull complete 04:45:37 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:45:37 ---> a4fb48ad2a94 04:45:37 Step 3/13 : ARG MAKE="make build" 04:45:39 ---> Running in 2320ba5e4647 04:45:39 Removing intermediate container 2320ba5e4647 04:45:39 ---> 8f27ce771d64 04:45:39 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:45:39 ---> Running in 53062421b89b 04:45:39 Removing intermediate container 53062421b89b 04:45:39 ---> 59da7bb25596 04:45:39 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:45:39 ---> Running in fd56e104d410 04:45:39 Removing intermediate container fd56e104d410 04:45:39 ---> 03f9e042aaa5 04:45:39 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:45:39 ---> Running in dcde5e7ff77a 04:45:39 Removing intermediate container dcde5e7ff77a 04:45:39 ---> 95141b3f8f48 04:45:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:39 ---> Running in 89a3d4c6d231 04:45:40 Removing intermediate container 89a3d4c6d231 04:45:40 ---> 748e294ec4c5 04:45:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:40 ---> Running in 5b374f75890b 04:45:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:45:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:45:42 OK: 211 MiB in 51 packages 04:45:42 Removing intermediate container 5b374f75890b 04:45:42 ---> 2eec206051fa 04:45:42 Step 9/13 : WORKDIR /device-onvif-camera 04:45:42 ---> Running in e750ece7bfe4 04:45:42 Removing intermediate container e750ece7bfe4 04:45:42 ---> bc9d86fde092 04:45:42 Step 10/13 : COPY go.mod vendor* ./ 04:45:42 Still waiting to schedule task 04:45:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:45:42 ---> 690d6f7576c9 04:45:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:42 ---> Running in 08896aa3d614 04:46:04 Removing intermediate container 08896aa3d614 04:46:04 ---> 7421ac738c4a 04:46:04 Step 12/13 : COPY . . 04:46:04 ---> f83e85db3c1d 04:46:04 Step 13/13 : RUN ${MAKE} 04:46:04 ---> Running in ddf598323518 04:46:04 noop 04:46:04 Removing intermediate container ddf598323518 04:46:04 ---> 996e867697df 04:46:04 Successfully built 996e867697df 04:46:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:04 + docker inspect -f . ci-base-image-x86_64 04:46:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:04 prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container 04:46:04 $ 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 04:46:05 $ docker top 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:05 + go version 04:46:05 go version go1.18.3 linux/amd64 [Pipeline] } 04:46:05 $ docker stop --time=1 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 04:46:07 $ docker rm -f 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:07 + docker inspect -f . ci-base-image-x86_64 04:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:07 prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container 04:46:07 $ 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 04:46:08 $ docker top 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:08 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh 04:46:08 + make test 04:46:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:46:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:46:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:46:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 28.6% of statements 04:46:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:46:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.474s coverage: 13.8% of statements 04:46:31 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:46:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:46:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:46:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:46:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:46:34 $ docker stop --time=1 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 04:46:36 $ docker rm -f 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:46:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:46:37 + ls -al . 04:46:37 total 232 04:46:37 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 04:46 . 04:46:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 .. 04:46:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:46 .git 04:46:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:45 .github 04:46:37 -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 04:45 .gitignore 04:46:37 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:45 .golangci.yml 04:46:37 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:45 .semver 04:46:37 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 04:45 Attribution.txt 04:46:37 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 04:45 CHANGELOG.md 04:46:37 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 04:45 Dockerfile 04:46:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:45 GOVERNANCE.md 04:46:37 -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 04:45 Jenkinsfile 04:46:37 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 04:45 LICENSE 04:46:37 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 04:45 Makefile 04:46:37 -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 04:45 OWNERS.md 04:46:37 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 04:45 README.md 04:46:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:45 VERSION 04:46:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:45 bin 04:46:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:45 cmd 04:46:37 -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 04:46 coverage.out 04:46:37 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:45 doc 04:46:37 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 04:45 go.mod 04:46:37 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 04:45 go.sum 04:46:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 internal 04:46:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 snap 04:46:37 -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:38 + 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=41e07621cc2cd1e1cd7989c4ba885f05ab417290 --label arch=amd64 --label version=0.0.0 . 04:46:38 Sending build context to Docker daemon 20.83MB 04:46:38 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:46:38 Step 2/26 : FROM ${BASE} AS builder 04:46:38 ---> 996e867697df 04:46:38 Step 3/26 : ARG MAKE="make build" 04:46:38 ---> Running in 35bf232061f3 04:46:38 Removing intermediate container 35bf232061f3 04:46:38 ---> e992ca829150 04:46:38 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:46:38 ---> Running in 3a70a997f1c9 04:46:38 Removing intermediate container 3a70a997f1c9 04:46:38 ---> 88cc2445e818 04:46:38 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:46:38 ---> Running in 74563cfd6bac 04:46:38 Removing intermediate container 74563cfd6bac 04:46:38 ---> 6f83855c206c 04:46:38 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:46:38 ---> Running in 6b169a294f50 04:46:38 Removing intermediate container 6b169a294f50 04:46:38 ---> 07de2ec75c15 04:46:38 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:46:38 ---> Running in 37b52d764c6a 04:46:39 Removing intermediate container 37b52d764c6a 04:46:39 ---> 83e3098f76c2 04:46:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:46:39 ---> Running in 3a220aa444ee 04:46:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:46:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:46:41 OK: 211 MiB in 51 packages 04:46:41 Removing intermediate container 3a220aa444ee 04:46:41 ---> 33060a43134d 04:46:41 Step 9/26 : WORKDIR /device-onvif-camera 04:46:41 ---> Running in 14ad000f8999 04:46:41 Removing intermediate container 14ad000f8999 04:46:41 ---> cdebd48d6a2b 04:46:41 Step 10/26 : COPY go.mod vendor* ./ 04:46:41 ---> b160a04d662c 04:46:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:41 ---> Running in c98e758157d3 04:46:42 Removing intermediate container c98e758157d3 04:46:42 ---> 20984c159508 04:46:42 Step 12/26 : COPY . . 04:46:42 ---> 6a901c3ab29e 04:46:42 Step 13/26 : RUN ${MAKE} 04:46:42 ---> Running in 43939c2b1ba3 04:46:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:47:05 Removing intermediate container 43939c2b1ba3 04:47:05 ---> d359d62c0e58 04:47:05 Step 14/26 : FROM alpine:3.16 04:47:05 3.16: Pulling from library/alpine 04:47:05 213ec9aee27d: Pulling fs layer 04:47:05 213ec9aee27d: Verifying Checksum 04:47:05 213ec9aee27d: Download complete 04:47:05 213ec9aee27d: Pull complete 04:47:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:47:05 Status: Downloaded newer image for alpine:3.16 04:47:05 ---> 9c6f07244728 04:47:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:47:05 ---> Running in 71d218272d14 04:47:05 Removing intermediate container 71d218272d14 04:47:05 ---> 21a355a77bdd 04:47:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:47:05 ---> Running in bf7937e74e5a 04:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:47:05 (1/6) Installing dumb-init (1.2.5-r1) 04:47:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:47:05 (3/6) Installing libsodium (1.0.18-r0) 04:47:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:47:05 (5/6) Installing libzmq (4.3.4-r0) 04:47:05 (6/6) Installing zeromq (4.3.4-r0) 04:47:05 Executing busybox-1.35.0-r17.trigger 04:47:05 OK: 8 MiB in 20 packages 04:47:05 Removing intermediate container bf7937e74e5a 04:47:05 ---> 0dcb2fc263d8 04:47:05 Step 17/26 : WORKDIR / 04:47:05 ---> Running in f3b3b8c18dbf 04:47:05 Removing intermediate container f3b3b8c18dbf 04:47:05 ---> 7b99b947aaac 04:47:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:47:05 ---> fc5efc657ea6 04:47:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:47:05 ---> 42874ec54745 04:47:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:47:05 ---> 745c984684e5 04:47:05 Step 21/26 : EXPOSE 59984 04:47:05 ---> Running in 9ec1fede0c00 04:47:05 Removing intermediate container 9ec1fede0c00 04:47:05 ---> 7d51d378654d 04:47:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:47:05 ---> Running in e065663061d8 04:47:05 Removing intermediate container e065663061d8 04:47:05 ---> 48e038e5bc0c 04:47:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:47:05 ---> Running in 0666e0c26869 04:47:05 Removing intermediate container 0666e0c26869 04:47:05 ---> c9e72db34b14 04:47:05 Step 24/26 : LABEL arch=amd64 04:47:05 ---> Running in 5e1b43247842 04:47:06 Removing intermediate container 5e1b43247842 04:47:06 ---> 60b7c3d369c5 04:47:06 Step 25/26 : LABEL git_sha=41e07621cc2cd1e1cd7989c4ba885f05ab417290 04:47:06 ---> Running in 9f2a5fc69a33 04:47:06 Removing intermediate container 9f2a5fc69a33 04:47:06 ---> cf57417af58a 04:47:06 Step 26/26 : LABEL version=0.0.0 04:47:06 ---> Running in 26a0796cbf2e 04:47:06 Removing intermediate container 26a0796cbf2e 04:47:06 ---> 36c190abb248 04:47:06 [Warning] One or more build-args [ARCH] were not consumed 04:47:06 Successfully built 36c190abb248 04:47:06 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:47:06 04:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:47:07 latest: Pulling from edgex-lftools-log-publisher 04:47:07 5eb5b503b376: Pulling fs layer 04:47:07 5c69ac0246d0: Pulling fs layer 04:47:07 ec43610c2a17: Pulling fs layer 04:47:07 3a2ae6a8a46f: Pulling fs layer 04:47:07 33b1e0a273af: Pulling fs layer 04:47:07 5d3b04190fa2: Pulling fs layer 04:47:07 2f39f015ded8: Pulling fs layer 04:47:07 33b1e0a273af: Waiting 04:47:07 3a2ae6a8a46f: Waiting 04:47:07 5d3b04190fa2: Waiting 04:47:07 2f39f015ded8: Waiting 04:47:07 5c69ac0246d0: Download complete 04:47:07 3a2ae6a8a46f: Download complete 04:47:07 ec43610c2a17: Verifying Checksum 04:47:07 ec43610c2a17: Download complete 04:47:07 33b1e0a273af: Verifying Checksum 04:47:07 33b1e0a273af: Download complete 04:47:07 5d3b04190fa2: Download complete 04:47:07 5eb5b503b376: Download complete 04:47:07 2f39f015ded8: Download complete 04:47:08 5eb5b503b376: Pull complete 04:47:08 5c69ac0246d0: Pull complete 04:47:08 ec43610c2a17: Pull complete 04:47:08 3a2ae6a8a46f: Pull complete 04:47:09 33b1e0a273af: Pull complete 04:47:09 5d3b04190fa2: Pull complete 04:47:13 2f39f015ded8: Pull complete 04:47:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:47:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:47:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:13 prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container 04:47:13 $ 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 04:47:15 $ docker top 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:15 ---> job-cost.sh 04:47:15 lf-activate-venv: SKIPPING 04:47:15 INFO: No Stack... 04:47:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:47:16 INFO: Archiving Costs [Pipeline] sh 04:47:16 + cut -d, -f6 04:47:16 + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [Pipeline] lock 04:47:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] 04:47:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] did not exist. Created. 04:47:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:47:17 + echo total: 0.2199999988079071 [Pipeline] stash 04:47:17 Stashed 1 file(s) [Pipeline] } 04:47:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:47:17 $ docker stop --time=1 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 04:47:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29927 in /w/workspace/undry_device-onvif-camera_PR-161 04:47:18 $ docker rm -f 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 04:47:18 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv 04:47:18 Selected Git installation does not exist. Using Default 04:47:18 The recommended git tool is: NONE [Pipeline] } [Pipeline] // stage [Pipeline] } 04:47:24 using credential edgex-jenkins-ssh 04:47:24 Cloning the remote Git repository 04:47:24 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:47:24 > git init /w/workspace/device-onvif-camera/5 # timeout=10 04:47:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:47:24 > git --version # timeout=10 04:47:24 > git --version # 'git version 2.25.1' 04:47:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:47:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:47:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:47:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:47:26 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 7da5914cb017261003566147505e712acf32ea44 04:47:27 Merge succeeded, producing 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 04:47:27 Checking out Revision 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 (PR-161) 04:47:26 > git config core.sparsecheckout # timeout=10 04:47:26 > git checkout -f 7da5914cb017261003566147505e712acf32ea44 # timeout=10 04:47:26 > git remote # timeout=10 04:47:26 > git config --get remote.origin.url # timeout=10 04:47:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:26 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 04:47:27 > git rev-parse HEAD^{commit} # timeout=10 04:47:27 > git config core.sparsecheckout # timeout=10 04:47:27 > git checkout -f 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 # timeout=10 04:47:31 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" 04:47:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:31 > git rev-list --no-walk a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 04:47:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:47:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:47:32 Dload Upload Total Spent Left Speed 04:47:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k 100 12602 100 12602 0 0 103k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 04:47:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:47:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:47:33 + sudo tee /etc/docker/daemon.new 04:47:33 { 04:47:33 "registry-mirrors": [ 04:47:33 "https://nexus3.edgexfoundry.org:10001" 04:47:33 ], 04:47:33 "bip": "10.250.0.254/24", 04:47:33 "hosts": [ 04:47:33 "tcp://0.0.0.0:5555", 04:47:33 "unix:///var/run/docker.sock" 04:47:33 ], 04:47:33 "mtu": 1458, 04:47:33 "selinux-enabled": true, 04:47:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:47:33 } [Pipeline] sh 04:47:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:47:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:52 provisioning config files... 04:47:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config5026083583408069157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:52 ---> docker-login.sh 04:47:52 nexus3.edgexfoundry.org:10001 04:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:53 Configure a credential helper to remove this warning. See 04:47:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:53 04:47:53 Login Succeeded 04:47:53 nexus3.edgexfoundry.org:10002 04:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:53 Configure a credential helper to remove this warning. See 04:47:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:53 04:47:53 Login Succeeded 04:47:53 nexus3.edgexfoundry.org:10003 04:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:54 Configure a credential helper to remove this warning. See 04:47:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:54 04:47:54 Login Succeeded 04:47:54 nexus3.edgexfoundry.org:10004 04:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:54 Configure a credential helper to remove this warning. See 04:47:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:54 04:47:54 Login Succeeded 04:47:54 docker.io 04:47:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:55 Configure a credential helper to remove this warning. See 04:47:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:55 04:47:55 Login Succeeded 04:47:55 ---> docker-login.sh ends [Pipeline] } 04:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:55 ========================================================= 04:47:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:47:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:47:56 Sending build context to Docker daemon 14.24MB 04:47:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:47:56 Step 2/13 : FROM ${BASE} AS builder 04:47:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:47:57 b3c136eddcbf: Pulling fs layer 04:47:57 c0a3192eca97: Pulling fs layer 04:47:57 a050256f5b6f: Pulling fs layer 04:47:57 656be50a0ddc: Pulling fs layer 04:47:57 2bbca73fdf42: Pulling fs layer 04:47:57 46d945488cbd: Pulling fs layer 04:47:57 8a5474983e97: Pulling fs layer 04:47:57 329c88fbcd65: Pulling fs layer 04:47:57 8a5474983e97: Waiting 04:47:57 46d945488cbd: Waiting 04:47:57 329c88fbcd65: Waiting 04:47:57 656be50a0ddc: Waiting 04:47:57 2bbca73fdf42: Waiting 04:47:57 a050256f5b6f: Verifying Checksum 04:47:57 a050256f5b6f: Download complete 04:47:57 c0a3192eca97: Verifying Checksum 04:47:57 c0a3192eca97: Download complete 04:47:57 2bbca73fdf42: Verifying Checksum 04:47:57 2bbca73fdf42: Download complete 04:47:57 46d945488cbd: Verifying Checksum 04:47:57 46d945488cbd: Download complete 04:47:57 b3c136eddcbf: Verifying Checksum 04:47:57 b3c136eddcbf: Download complete 04:47:58 b3c136eddcbf: Pull complete 04:47:58 329c88fbcd65: Verifying Checksum 04:47:58 329c88fbcd65: Download complete 04:47:58 c0a3192eca97: Pull complete 04:47:58 a050256f5b6f: Pull complete 04:47:59 8a5474983e97: Verifying Checksum 04:47:59 8a5474983e97: Download complete 04:47:59 656be50a0ddc: Verifying Checksum 04:47:59 656be50a0ddc: Download complete 04:48:14 656be50a0ddc: Pull complete 04:48:14 2bbca73fdf42: Pull complete 04:48:14 46d945488cbd: Pull complete 04:48:19 8a5474983e97: Pull complete 04:48:21 329c88fbcd65: Pull complete 04:48:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:48:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:48:21 ---> ff4287adb874 04:48:21 Step 3/13 : ARG MAKE="make build" 04:48:23 ---> Running in a2a6a875f598 04:48:23 Removing intermediate container a2a6a875f598 04:48:23 ---> d7faeb45abcb 04:48:23 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:48:23 ---> Running in eda7500604f8 04:48:24 Removing intermediate container eda7500604f8 04:48:24 ---> 569f1360a9cf 04:48:24 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:48:24 ---> Running in 257bbf0e574a 04:48:25 Removing intermediate container 257bbf0e574a 04:48:25 ---> 5280fdc6b76a 04:48:25 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:48:25 ---> Running in c5f2d10c34a6 04:48:25 Removing intermediate container c5f2d10c34a6 04:48:25 ---> 38cb4a94d27b 04:48:25 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:25 ---> Running in d920c8211e42 04:48:27 Removing intermediate container d920c8211e42 04:48:27 ---> e289eec7ffac 04:48:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:27 ---> Running in 85134344a24c 04:48:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:48:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:48:30 OK: 221 MiB in 51 packages 04:48:31 Removing intermediate container 85134344a24c 04:48:31 ---> 3c901aba21fb 04:48:31 Step 9/13 : WORKDIR /device-onvif-camera 04:48:31 ---> Running in 41f2058b4688 04:48:31 Removing intermediate container 41f2058b4688 04:48:31 ---> 1322fcb08136 04:48:31 Step 10/13 : COPY go.mod vendor* ./ 04:48:31 ---> 2020c10e5259 04:48:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:31 ---> Running in 2c70ad935889 04:49:28 Removing intermediate container 2c70ad935889 04:49:28 ---> c7e94199f20e 04:49:28 Step 12/13 : COPY . . 04:49:28 ---> 5e246dbb30e1 04:49:28 Step 13/13 : RUN ${MAKE} 04:49:28 ---> Running in 803df5e83fc5 04:49:28 noop 04:49:28 Removing intermediate container 803df5e83fc5 04:49:28 ---> 279c980756d0 04:49:28 Successfully built 279c980756d0 04:49:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:28 + docker inspect -f . ci-base-image-arm64 04:49:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:29 prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container 04:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:49:30 $ docker top 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:31 + go version 04:49:31 go version go1.18.3 linux/arm64 [Pipeline] } 04:49:31 $ docker stop --time=1 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea 04:49:32 $ docker rm -f 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:33 + docker inspect -f . ci-base-image-arm64 04:49:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:33 prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container 04:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:49:34 $ docker top 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:35 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 04:49:36 + make test 04:49:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:49:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:50:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:51:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.234s coverage: 28.6% of statements 04:51:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:51:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.449s coverage: 13.8% of statements 04:51:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:51:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:51:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:51:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:51:52 ./bin/test-attribution-txt.sh [Pipeline] echo 04:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:51:52 $ docker stop --time=1 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c 04:51:54 $ docker rm -f 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c [Pipeline] // withDockerContainer [Pipeline] sh 04:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:51:55 Warning: overwriting stash ‘coverage-report’ 04:51:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:51:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:51:56 + ls -al . 04:51:56 total 228 04:51:56 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 04:49 . 04:51:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 .. 04:51:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:47 .git 04:51:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:47 .github 04:51:56 -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 04:47 .gitignore 04:51:56 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:47 .golangci.yml 04:51:56 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 04:47 Attribution.txt 04:51:56 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 04:47 CHANGELOG.md 04:51:56 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 04:47 Dockerfile 04:51:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:47 GOVERNANCE.md 04:51:56 -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 04:47 Jenkinsfile 04:51:56 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 04:47 LICENSE 04:51:56 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 04:47 Makefile 04:51:56 -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 04:47 OWNERS.md 04:51:56 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 04:47 README.md 04:51:56 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:45 VERSION 04:51:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:47 bin 04:51:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:47 cmd 04:51:56 -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 04:51 coverage.out 04:51:56 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:47 doc 04:51:56 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 04:47 go.mod 04:51:56 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 04:47 go.sum 04:51:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 internal 04:51:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 snap 04:51:56 -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:56 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 --label arch=arm64 --label version=0.0.0 . 04:51:57 Sending build context to Docker daemon 14.31MB 04:51:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:51:57 Step 2/26 : FROM ${BASE} AS builder 04:51:57 ---> 279c980756d0 04:51:57 Step 3/26 : ARG MAKE="make build" 04:51:57 ---> Running in 425a84c7a0c8 04:51:57 Removing intermediate container 425a84c7a0c8 04:51:57 ---> 5181b85166b0 04:51:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:51:58 ---> Running in e9c0f56af647 04:51:58 Removing intermediate container e9c0f56af647 04:51:58 ---> 2584d08195aa 04:51:58 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:51:58 ---> Running in 2366a25790c0 04:51:58 Removing intermediate container 2366a25790c0 04:51:58 ---> 50d35b0f4392 04:51:58 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:51:58 ---> Running in 5e9d6bb649e5 04:51:58 Removing intermediate container 5e9d6bb649e5 04:51:58 ---> bac7efadf6f2 04:51:58 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:59 ---> Running in 1dacec1a4350 04:52:00 Removing intermediate container 1dacec1a4350 04:52:00 ---> ace78f53e975 04:52:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:00 ---> Running in ef4a1e9bbcbd 04:52:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:52:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:52:03 OK: 221 MiB in 51 packages 04:52:04 Removing intermediate container ef4a1e9bbcbd 04:52:04 ---> 41f45d7d0d2f 04:52:04 Step 9/26 : WORKDIR /device-onvif-camera 04:52:04 ---> Running in eb91ba6cb4ad 04:52:04 Removing intermediate container eb91ba6cb4ad 04:52:04 ---> 43883e2fa639 04:52:04 Step 10/26 : COPY go.mod vendor* ./ 04:52:05 ---> 2c067dcc5442 04:52:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:05 ---> Running in 2a62aeb7e90c 04:52:07 Removing intermediate container 2a62aeb7e90c 04:52:07 ---> 32ff8edb1fba 04:52:07 Step 12/26 : COPY . . 04:52:09 ---> 31b3096d59bd 04:52:09 Step 13/26 : RUN ${MAKE} 04:52:09 ---> Running in 3c6f6709bff6 04:52:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:54:31 Removing intermediate container 3c6f6709bff6 04:54:31 ---> 0ef5d8af5e9f 04:54:31 Step 14/26 : FROM alpine:3.16 04:54:31 3.16: Pulling from library/alpine 04:54:31 9b18e9b68314: Pulling fs layer 04:54:31 9b18e9b68314: Verifying Checksum 04:54:31 9b18e9b68314: Download complete 04:54:31 9b18e9b68314: Pull complete 04:54:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:54:31 Status: Downloaded newer image for alpine:3.16 04:54:31 ---> a6215f271958 04:54:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:54:31 ---> Running in f14666441301 04:54:31 Removing intermediate container f14666441301 04:54:31 ---> 9a23151c1de7 04:54:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:54:31 ---> Running in f6d67a860b1f 04:54:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:54:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:54:31 (1/6) Installing dumb-init (1.2.5-r1) 04:54:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:54:31 (3/6) Installing libsodium (1.0.18-r0) 04:54:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:54:31 (5/6) Installing libzmq (4.3.4-r0) 04:54:31 (6/6) Installing zeromq (4.3.4-r0) 04:54:31 Executing busybox-1.35.0-r17.trigger 04:54:31 OK: 8 MiB in 20 packages 04:54:31 Removing intermediate container f6d67a860b1f 04:54:31 ---> c1ab3446cdc8 04:54:31 Step 17/26 : WORKDIR / 04:54:31 ---> Running in abb7ca1d4e0e 04:54:31 Removing intermediate container abb7ca1d4e0e 04:54:31 ---> ebb739970c29 04:54:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:54:31 ---> 5b3a1e32d93f 04:54:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:54:31 ---> 9289a35d946a 04:54:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:54:31 ---> 8cce8e9dd5b1 04:54:31 Step 21/26 : EXPOSE 59984 04:54:31 ---> Running in 9be71931c878 04:54:31 Removing intermediate container 9be71931c878 04:54:31 ---> 7a4abcaa64c5 04:54:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:54:31 ---> Running in 1bf6ad7a26ed 04:54:31 Removing intermediate container 1bf6ad7a26ed 04:54:31 ---> 18bf1658a538 04:54:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:54:31 ---> Running in 9d92556a9df8 04:54:31 Removing intermediate container 9d92556a9df8 04:54:31 ---> 17fa841c9f10 04:54:31 Step 24/26 : LABEL arch=arm64 04:54:31 ---> Running in b75d0c78f3ed 04:54:31 Removing intermediate container b75d0c78f3ed 04:54:31 ---> e35986153e17 04:54:31 Step 25/26 : LABEL git_sha=963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 04:54:31 ---> Running in a1c19fce3919 04:54:31 Removing intermediate container a1c19fce3919 04:54:31 ---> a24f9b86a1b8 04:54:31 Step 26/26 : LABEL version=0.0.0 04:54:31 ---> Running in ae3220dc8f4a 04:54:31 Removing intermediate container ae3220dc8f4a 04:54:31 ---> fa1912d177ee 04:54:31 [Warning] One or more build-args [ARCH] were not consumed 04:54:31 Successfully built fa1912d177ee 04:54:31 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:54:32 04:54:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:54:32 arm64: Pulling from edgex-lftools-log-publisher 04:54:32 8998bd30e6a1: Pulling fs layer 04:54:32 04944245beec: Pulling fs layer 04:54:32 699f458cf7ca: Pulling fs layer 04:54:32 765212b225bb: Pulling fs layer 04:54:32 f23df028b6ca: Pulling fs layer 04:54:32 d65c8cfc05b1: Pulling fs layer 04:54:32 2437ff75d9bd: Pulling fs layer 04:54:32 765212b225bb: Waiting 04:54:32 f23df028b6ca: Waiting 04:54:32 d65c8cfc05b1: Waiting 04:54:32 2437ff75d9bd: Waiting 04:54:32 04944245beec: Verifying Checksum 04:54:32 04944245beec: Download complete 04:54:32 765212b225bb: Verifying Checksum 04:54:32 765212b225bb: Download complete 04:54:32 f23df028b6ca: Verifying Checksum 04:54:32 f23df028b6ca: Download complete 04:54:32 d65c8cfc05b1: Verifying Checksum 04:54:32 d65c8cfc05b1: Download complete 04:54:32 699f458cf7ca: Verifying Checksum 04:54:32 699f458cf7ca: Download complete 04:54:33 8998bd30e6a1: Download complete 04:54:35 2437ff75d9bd: Download complete 04:54:37 8998bd30e6a1: Pull complete 04:54:38 04944245beec: Pull complete 04:54:39 699f458cf7ca: Pull complete 04:54:39 765212b225bb: Pull complete 04:54:40 f23df028b6ca: Pull complete 04:54:40 d65c8cfc05b1: Pull complete 04:54:55 2437ff75d9bd: Pull complete 04:54:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:56 prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container 04:54:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:54:58 $ docker top aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:59 ---> job-cost.sh 04:54:59 lf-activate-venv: SKIPPING 04:54:59 INFO: No Stack... 04:54:59 INFO: Retrieving Pricing Info for: v3-standard-4 04:55:00 INFO: Archiving Costs [Pipeline] sh 04:55:01 + cut -d, -f6 04:55:01 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [Pipeline] lock 04:55:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] 04:55:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] did not exist. Created. 04:55:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:55:02 /w/workspace/device-onvif-camera/5@tmp/durable-c502323d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:55:02 + echo total: 0.10999999940395355 [Pipeline] stash 04:55:02 Warning: overwriting stash ‘stack-cost’ 04:55:03 Stashed 1 file(s) [Pipeline] } 04:55:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:55:03 $ docker stop --time=1 aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 04:55:04 $ docker rm -f aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 [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 04:55:04 provisioning config files... 04:55:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config459800263081183675tmp [Pipeline] { [Pipeline] sh 04:55:05 + set +x 04:55:05 + + bash -s -- 04:55:05 curl -s https://codecov.io/bash 04:55:05 04:55:05 _____ _ 04:55:05 / ____| | | 04:55:05 | | ___ __| | ___ ___ _____ __ 04:55:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:55:05 | |___| (_) | (_| | __/ (_| (_) \ V / 04:55:05 \_____\___/ \__,_|\___|\___\___/ \_/ 04:55:05 Bash-1.0.6 04:55:05 04:55:05 04:55:05 ==> git version 2.25.1 found 04:55:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:55:05 Release-Date: 2020-01-08 04:55:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:55:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:55:05 ==> Jenkins CI detected. 04:55:05 current dir:  /w/workspace/undry_device-onvif-camera_PR-161 04:55:05 project root: . 04:55:05 --> token set from env 04:55:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:55:05 ==> Running gcov in . (disable via -X gcov) 04:55:05 ==> Python coveragepy not found 04:55:05 ==> Searching for coverage reports in: 04:55:05 + . 04:55:05 -> Found 1 reports 04:55:05 ==> Detecting git/mercurial file structure 04:55:05 ==> Reading reports 04:55:05 + ./coverage.out bytes=77283 04:55:05 ==> Appending adjustments 04:55:05 https://docs.codecov.io/docs/fixing-reports 04:55:05 + Found adjustments 04:55:05 ==> Gzipping contents 04:55:05 12K /tmp/codecov.OoXrbr.gz 04:55:05 ==> Uploading reports 04:55:05 url: https://codecov.io 04:55:05 query: branch=PR-161&commit=41e07621cc2cd1e1cd7989c4ba885f05ab417290&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 04:55:05 -> Pinging Codecov 04:55:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=41e07621cc2cd1e1cd7989c4ba885f05ab417290&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= 04:55:05 -> Uploading to 04:55:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/F29A59C45E3A92E06B3E522C9905F8EF/41e07621cc2cd1e1cd7989c4ba885f05ab417290/1b2f9628-b2d9-4195-a9bc-5769971f2c90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T045505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ba143e76cca91949c02e541b2d446417aa794154a4b158e2831ad9ad1cd593a 04:55:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:55:05 Dload Upload Total Spent Left Speed 04:55:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 40853 --:--:-- --:--:-- --:--:-- 40853 04:55:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] } 04:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:55:06 + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] 04:55:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 04:55:06 total 16 04:55:06 drwxr-xr-x 3 root root 4096 Sep 20 04:47 . 04:55:06 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:47 .. 04:55:06 drwxr-xr-x 2 root root 4096 Sep 20 04:47 cost 04:55:06 -rw-r--r-- 1 root root 91 Sep 20 04:47 cost.csv 04:55:06 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives 04:55:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives 04:55:06 total 16 04:55:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:47 . 04:55:06 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:47 .. 04:55:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 04:47 cost 04:55:06 -rw-r--r-- 1 jenkins jenkins 91 Sep 20 04:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:55:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:55:07 ---> package-listing.sh 04:55:07 ++ facter osfamily 04:55:07 ++ tr '[:upper:]' '[:lower:]' 04:55:08 + OS_FAMILY=debian 04:55:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-161 04:55:08 + START_PACKAGES=/tmp/packages_start.txt 04:55:08 + END_PACKAGES=/tmp/packages_end.txt 04:55:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:55:08 + PACKAGES=/tmp/packages_start.txt 04:55:08 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 04:55:08 + PACKAGES=/tmp/packages_end.txt 04:55:08 + case "${OS_FAMILY}" in 04:55:08 + dpkg -l 04:55:08 + grep '^ii' 04:55:08 + '[' -f /tmp/packages_start.txt ']' 04:55:08 + '[' -f /tmp/packages_end.txt ']' 04:55:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:55:08 + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' 04:55:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ 04:55:08 + 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 04:55:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:55:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:09 prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container 04:55:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-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 04:55:09 $ docker top 24b368c64d8c7a8f20a378920b42d13835ef98caeb8421784c0ff9db79940742 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:09 + touch /tmp/pre-build-complete [Pipeline] sh 04:55:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:55:10 + ls /var/log/sa-host 04:55:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:10 provisioning config files... 04:55:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config7059808530563309361tmp [Pipeline] { [Pipeline] echo 04:55:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:55:10 ---> create-netrc.sh [Pipeline] } 04:55:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:55:11 ---> python-tools-install.sh [Pipeline] echo 04:55:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:55:11 ---> sudo-logs.sh 04:55:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:55:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:55:11 ---> job-cost.sh 04:55:11 lf-activate-venv: SKIPPING 04:55:11 DEBUG: total: 0.2199999988079071 04:55:11 INFO: Retrieving Stack Cost... 04:55:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:55:12 INFO: Archiving Costs [Pipeline] echo 04:55:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:55:13 ---> logs-deploy.sh 04:55:13 lf-activate-venv: SKIPPING 04:55:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/5 04:55:13 INFO: archiving workspace using pattern(s): 04:55:14 Archives upload complete. 04:55:14 INFO: archiving logs to Nexus 04:55:14 ---> uname -a: 04:55:14 Linux prd-ubuntu20-04-docker-8c-8g-29926 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 04:55:14 04:55:14