Pull request #347 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 1961be3dbf536bee699796c7591b42b4c7bef829 rather than e845899c3f36885a3232fbe7d3d9f981675a0f08 Obtained Jenkinsfile from 1961be3dbf536bee699796c7591b42b4c7bef829 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-ssh8994549291165066488.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3100836661882917864.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17745841587623812420.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10355430989742893165.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1363530051868896678.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14797 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit e845899c3f36885a3232fbe7d3d9f981675a0f08 Merge succeeded, producing 1c578dcfb112828850f68ab30cac23434df19a04 Checking out Revision 1c578dcfb112828850f68ab30cac23434df19a04 (PR-347) > git config core.sparsecheckout # timeout=10 > git checkout -f e845899c3f36885a3232fbe7d3d9f981675a0f08 # 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 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c578dcfb112828850f68ab30cac23434df19a04 # timeout=10 Commit message: "Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:20 ========================================================= 22:44:20 EdgeX Global Pipelines Version Info 22:44:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 015255d9511ee0dd4c54ffab83c6258df708b662 # timeout=10 22:44:21 ------------------- 22:44:21 stable info: 22:44:21 ------------------- 22:44:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:21 Message: update stable to v1.0.249 22:44:21 ------------------- 22:44:21 experimental info: 22:44:21 ------------------- 22:44:21 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c578dcfb112828850f68ab30cac23434df19a04 [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c578dc [Pipeline] echo 22:44:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:22 provisioning config files... 22:44:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config10082544268798492999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:22 ---> docker-login.sh 22:44:22 nexus3.edgexfoundry.org:10001 22:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:23 Configure a credential helper to remove this warning. See 22:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:23 22:44:23 Login Succeeded 22:44:23 nexus3.edgexfoundry.org:10002 22:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:23 Configure a credential helper to remove this warning. See 22:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:23 22:44:23 Login Succeeded 22:44:23 nexus3.edgexfoundry.org:10003 22:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:23 Configure a credential helper to remove this warning. See 22:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:23 22:44:23 Login Succeeded 22:44:23 nexus3.edgexfoundry.org:10004 22:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:23 Configure a credential helper to remove this warning. See 22:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:23 22:44:23 Login Succeeded 22:44:23 docker.io 22:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:23 Configure a credential helper to remove this warning. See 22:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:23 22:44:23 Login Succeeded 22:44:23 ---> docker-login.sh ends [Pipeline] } 22:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:44:23 + git rev-list -1 --merges 1c578dcfb112828850f68ab30cac23434df19a04~1..1c578dcfb112828850f68ab30cac23434df19a04 [Pipeline] echo 22:44:24 -----------> git rev-list -1 --merges 1c578dcfb112828850f68ab30cac23434df19a04~1..1c578dcfb112828850f68ab30cac23434df19a04 1c578dcfb112828850f68ab30cac23434df19a04 22:44:24 1c578dcfb112828850f68ab30cac23434df19a04 [false] [Pipeline] sh 22:44:24 + git log --format=format:%s -1 1c578dcfb112828850f68ab30cac23434df19a04 [Pipeline] echo 22:44:24 ========================================================= 22:44:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:44:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:24 + git log --format=format:%s -1 1c578dcfb112828850f68ab30cac23434df19a04 [Pipeline] echo 22:44:24 [semverPrep] GIT_COMMIT: 1c578dcfb112828850f68ab30cac23434df19a04, Commit Message: Merge commit '1961be3dbf536bee699796c7591b42b4c7bef829' into HEAD [Pipeline] echo 22:44:24 [semverPrep] This is not a build commit. [Pipeline] sh 22:44:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:25 + grep -v github /etc/ssh/ssh_known_hosts 22:44:25 + [ -e /tmp/ssh_known_hosts ] 22:44:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:44:25 + + sudo teeecho -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 22:44:25 22:44:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:25 22:44:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:25 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:25 b85a868b505f: Pulling fs layer 22:44:25 e2be974225ed: Pulling fs layer 22:44:25 339a4e72a1f5: Pulling fs layer 22:44:25 988bab9f4d93: Pulling fs layer 22:44:25 1469e6f7b9e6: Pulling fs layer 22:44:25 eaf3925da568: Pulling fs layer 22:44:25 bab4dde63d76: Pulling fs layer 22:44:25 bde34c3a00c8: Pulling fs layer 22:44:25 b352a97aabf1: Pulling fs layer 22:44:25 4872d77fe225: Pulling fs layer 22:44:25 5851b861e8e6: Pulling fs layer 22:44:25 988bab9f4d93: Waiting 22:44:25 1469e6f7b9e6: Waiting 22:44:25 eaf3925da568: Waiting 22:44:25 bab4dde63d76: Waiting 22:44:25 bde34c3a00c8: Waiting 22:44:25 b352a97aabf1: Waiting 22:44:25 4872d77fe225: Waiting 22:44:25 5851b861e8e6: Waiting 22:44:25 e2be974225ed: Download complete 22:44:25 988bab9f4d93: Verifying Checksum 22:44:25 988bab9f4d93: Download complete 22:44:25 1469e6f7b9e6: Download complete 22:44:25 339a4e72a1f5: Verifying Checksum 22:44:25 339a4e72a1f5: Download complete 22:44:25 eaf3925da568: Download complete 22:44:25 bde34c3a00c8: Download complete 22:44:25 b352a97aabf1: Download complete 22:44:25 4872d77fe225: Verifying Checksum 22:44:25 4872d77fe225: Download complete 22:44:25 5851b861e8e6: Verifying Checksum 22:44:25 5851b861e8e6: Download complete 22:44:25 b85a868b505f: Verifying Checksum 22:44:25 b85a868b505f: Download complete 22:44:26 bab4dde63d76: Verifying Checksum 22:44:26 bab4dde63d76: Download complete 22:44:27 b85a868b505f: Pull complete 22:44:27 e2be974225ed: Pull complete 22:44:27 339a4e72a1f5: Pull complete 22:44:27 988bab9f4d93: Pull complete 22:44:28 1469e6f7b9e6: Pull complete 22:44:28 eaf3925da568: Pull complete 22:44:30 bab4dde63d76: Pull complete 22:44:30 bde34c3a00c8: Pull complete 22:44:30 b352a97aabf1: Pull complete 22:44:30 4872d77fe225: Pull complete 22:44:30 5851b861e8e6: Pull complete 22:44:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:30 prd-ubuntu20.04-docker-8c-8g-14797 does not seem to be running inside a container 22:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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-devops/py-git-semver:0.1.4 cat 22:44:31 $ docker top 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 -eo pid,comm 22:44:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:44:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:31 [ssh-agent] Looking for ssh-agent implementation... 22:44:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:31 $ docker exec 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 ssh-agent 22:44:31 SSH_AUTH_SOCK=/tmp/ssh-J5sfHKtGx0G2/agent.31 22:44:31 SSH_AGENT_PID=37 22:44:31 Running ssh-add (command line suppressed) 22:44:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_9550410929233722045.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_9550410929233722045.key) 22:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:32 + git tag --points-at HEAD [Pipeline] } 22:44:32 $ docker exec --env ******** --env ******** 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 ssh-agent -k 22:44:32 unset SSH_AUTH_SOCK; 22:44:32 unset SSH_AGENT_PID; 22:44:32 echo Agent pid 37 killed; 22:44:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:32 [ssh-agent] Looking for ssh-agent implementation... 22:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:32 $ docker exec 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 ssh-agent 22:44:32 SSH_AUTH_SOCK=/tmp/ssh-0y9EQ5xOkiu8/agent.69 22:44:32 SSH_AGENT_PID=75 22:44:32 Running ssh-add (command line suppressed) 22:44:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_212533502444051835.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_212533502444051835.key) 22:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:33 + git semver init 22:44:33 2023-05-09 22:44:33,318 [run_init] DEBUG init version:0.0.0 force:False 22:44:33 2023-05-09 22:44:33,319 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 22:44:33 2023-05-09 22:44:33,319 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 22:44:33 2023-05-09 22:44:33,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 22:44:34 2023-05-09 22:44:34,242 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 22:44:34 2023-05-09 22:44:34,243 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 22:44:34 2023-05-09 22:44:34,243 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:44:34 2023-05-09 22:44:34,246 [execute] INFO git cat-file --batch-check 22:44:34 2023-05-09 22:44:34,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:44:34 2023-05-09 22:44:34,251 [execute] INFO git cat-file --batch 22:44:34 2023-05-09 22:44:34,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 22:44:34 2023-05-09 22:44:34,255 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 22:44:34 0.0.0 [Pipeline] } 22:44:34 $ docker exec --env ******** --env ******** 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 ssh-agent -k 22:44:34 unset SSH_AUTH_SOCK; 22:44:34 unset SSH_AGENT_PID; 22:44:34 echo Agent pid 75 killed; 22:44:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:34 + git semver [Pipeline] } 22:44:35 $ docker stop --time=1 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 22:44:36 $ docker rm -f --volumes 4915b5b645dd50ccd5be2f3ae0ed5509b1b1c201ca8e9d07dcebfb4a737771d1 [Pipeline] // withDockerContainer [Pipeline] sh 22:44:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:36 Stashed 1 file(s) [Pipeline] echo 22:44:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:37 provisioning config files... 22:44:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config18299666452476250485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:37 ---> docker-login.sh 22:44:37 nexus3.edgexfoundry.org:10001 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 nexus3.edgexfoundry.org:10002 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 nexus3.edgexfoundry.org:10003 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 nexus3.edgexfoundry.org:10004 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 docker.io 22:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 ---> docker-login.sh ends [Pipeline] } 22:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:37 ========================================================= 22:44:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:44:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:44:38 Sending build context to Docker daemon 22.03MB 22:44:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:44:38 Step 2/13 : FROM ${BASE} AS builder 22:44:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:38 f56be85fc22e: Pulling fs layer 22:44:38 85791d961cd3: Pulling fs layer 22:44:38 d694b5ae8c79: Pulling fs layer 22:44:38 9f32a84ed3da: Pulling fs layer 22:44:38 4d19c01a9841: Pulling fs layer 22:44:38 9325e15d5711: Pulling fs layer 22:44:38 556b6ee489ea: Pulling fs layer 22:44:38 c5a4b2cf53e6: Pulling fs layer 22:44:38 9f32a84ed3da: Waiting 22:44:38 4d19c01a9841: Waiting 22:44:38 c5a4b2cf53e6: Waiting 22:44:38 556b6ee489ea: Waiting 22:44:38 85791d961cd3: Download complete 22:44:38 9f32a84ed3da: Verifying Checksum 22:44:38 9f32a84ed3da: Download complete 22:44:38 4d19c01a9841: Verifying Checksum 22:44:38 4d19c01a9841: Download complete 22:44:38 f56be85fc22e: Verifying Checksum 22:44:38 f56be85fc22e: Download complete 22:44:38 9325e15d5711: Verifying Checksum 22:44:38 9325e15d5711: Download complete 22:44:38 f56be85fc22e: Pull complete 22:44:38 85791d961cd3: Pull complete 22:44:39 c5a4b2cf53e6: Verifying Checksum 22:44:39 c5a4b2cf53e6: Download complete 22:44:39 d694b5ae8c79: Verifying Checksum 22:44:39 d694b5ae8c79: Download complete 22:44:39 556b6ee489ea: Verifying Checksum 22:44:39 556b6ee489ea: Download complete 22:44:42 d694b5ae8c79: Pull complete 22:44:42 9f32a84ed3da: Pull complete 22:44:42 4d19c01a9841: Pull complete 22:44:42 9325e15d5711: Pull complete 22:44:45 556b6ee489ea: Pull complete 22:44:46 c5a4b2cf53e6: Pull complete 22:44:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:44:46 ---> c4be618373d6 22:44:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:44:47 ---> Running in ef97392b71af 22:44:47 Removing intermediate container ef97392b71af 22:44:47 ---> 1cd4b3f5bce7 22:44:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:47 ---> Running in d46230125fd5 22:44:48 Removing intermediate container d46230125fd5 22:44:48 ---> c75100a07f8d 22:44:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:44:48 ---> Running in 1379e58451f5 22:44:48 Removing intermediate container 1379e58451f5 22:44:48 ---> 34602c9ac681 22:44:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:44:48 ---> Running in 891a808c5581 22:44:48 Removing intermediate container 891a808c5581 22:44:48 ---> 7d56d9c4d061 22:44:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:44:48 ---> Running in b0a1c17039ee 22:44:48 Removing intermediate container b0a1c17039ee 22:44:48 ---> 2ac09df4fec7 22:44:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:48 ---> Running in 8a0a7e43bff7 22:44:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:44:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:44:49 OK: 265 MiB in 53 packages 22:44:49 Removing intermediate container 8a0a7e43bff7 22:44:49 ---> c4ad81231b68 22:44:49 Step 9/13 : WORKDIR /device-onvif-camera 22:44:49 ---> Running in fad0ae6ac411 22:44:49 Removing intermediate container fad0ae6ac411 22:44:49 ---> d9b17947b4ad 22:44:49 Step 10/13 : COPY go.mod vendor* ./ 22:44:49 ---> f3f1937ef8e5 22:44:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:49 ---> Running in 603f00ffcb50 22:44:52 Still waiting to schedule task 22:44:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:45:07 Removing intermediate container 603f00ffcb50 22:45:07 ---> 92d32d867716 22:45:07 Step 12/13 : COPY . . 22:45:07 ---> e33a8b4ab766 22:45:07 Step 13/13 : RUN ${MAKE} 22:45:07 ---> Running in 8c44779b931e 22:45:07 noop 22:45:07 Removing intermediate container 8c44779b931e 22:45:07 ---> 040212136a92 22:45:07 Successfully built 040212136a92 22:45:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:08 + docker inspect -f . ci-base-image-x86_64 22:45:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:08 prd-ubuntu20.04-docker-8c-8g-14797 does not seem to be running inside a container 22:45:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:08 $ docker top 11ebf4cd6912d6a63133dce72ecba64cda4408ff99b8a70e0826eac8ef9c54c4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:09 + go version 22:45:09 go version go1.20.2 linux/amd64 [Pipeline] } 22:45:09 $ docker stop --time=1 11ebf4cd6912d6a63133dce72ecba64cda4408ff99b8a70e0826eac8ef9c54c4 22:45:10 $ docker rm -f --volumes 11ebf4cd6912d6a63133dce72ecba64cda4408ff99b8a70e0826eac8ef9c54c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:10 + docker inspect -f . ci-base-image-x86_64 22:45:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:10 prd-ubuntu20.04-docker-8c-8g-14797 does not seem to be running inside a container 22:45:10 $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:11 $ docker top 76167b8638095d3facccf5c56c807c80b948e68ac2616f2251730cc1b64a5a8c -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:11 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 22:45:11 + make test 22:45:11 go test ./... -coverprofile=coverage.out ./... 22:45:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:45:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:45:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:45:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 30.9% of statements 22:45:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.829s coverage: 86.5% of statements 22:45:36 go vet ./... 22:45:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:45:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:45:39 ./bin/test-attribution-txt.sh [Pipeline] echo 22:45:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:45:39 $ docker stop --time=1 76167b8638095d3facccf5c56c807c80b948e68ac2616f2251730cc1b64a5a8c 22:45:41 $ docker rm -f --volumes 76167b8638095d3facccf5c56c807c80b948e68ac2616f2251730cc1b64a5a8c [Pipeline] // withDockerContainer [Pipeline] sh 22:45:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:45:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:45:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:45:42 + ls -al . 22:45:42 total 232 22:45:42 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:45 . 22:45:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:44 .. 22:45:42 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:44 .git 22:45:42 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:44 .github 22:45:42 -rw-rw-r-- 1 jenkins jenkins 496 May 9 22:44 .gitignore 22:45:42 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:44 .golangci.yml 22:45:42 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:44 .semver 22:45:42 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 22:44 Attribution.txt 22:45:42 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 22:44 CHANGELOG.md 22:45:42 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 22:44 Dockerfile 22:45:42 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:44 GOVERNANCE.md 22:45:42 -rw-rw-r-- 1 jenkins jenkins 734 May 9 22:44 Jenkinsfile 22:45:42 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 22:44 LICENSE 22:45:42 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 22:44 Makefile 22:45:42 -rw-rw-r-- 1 jenkins jenkins 625 May 9 22:44 OWNERS.md 22:45:42 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 22:44 README.md 22:45:42 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:44 VERSION 22:45:42 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:44 bin 22:45:42 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:44 cmd 22:45:42 -rw-r--r-- 1 jenkins jenkins 79213 May 9 22:45 coverage.out 22:45:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:44 doc 22:45:42 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 22:44 go.mod 22:45:42 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 22:44 go.sum 22:45:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:44 internal 22:45:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:44 snap 22:45:42 -rw-rw-r-- 1 jenkins jenkins 236 May 9 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:43 + 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=1c578dcfb112828850f68ab30cac23434df19a04 --label arch=amd64 --label version=0.0.0 . 22:45:43 Sending build context to Docker daemon 22.11MB 22:45:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:45:43 Step 2/26 : FROM ${BASE} AS builder 22:45:43 ---> 040212136a92 22:45:43 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:45:43 ---> Running in abf7b7fb738c 22:45:43 Removing intermediate container abf7b7fb738c 22:45:43 ---> f511fd78789f 22:45:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:43 ---> Running in 26fa00f5a69f 22:45:43 Removing intermediate container 26fa00f5a69f 22:45:43 ---> c548df4000c1 22:45:43 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:45:43 ---> Running in 1fc9a616de47 22:45:43 Removing intermediate container 1fc9a616de47 22:45:43 ---> 85ef43b7f50c 22:45:43 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:45:43 ---> Running in 64eafd2d28d0 22:45:43 Removing intermediate container 64eafd2d28d0 22:45:43 ---> 9de35bcbd66d 22:45:43 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:45:43 ---> Running in 950eea5a2838 22:45:43 Removing intermediate container 950eea5a2838 22:45:43 ---> c89fd7a8b434 22:45:43 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:43 ---> Running in a480c6585a84 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:45:44 OK: 265 MiB in 53 packages 22:45:44 Removing intermediate container a480c6585a84 22:45:44 ---> 43f3a16e3607 22:45:44 Step 9/26 : WORKDIR /device-onvif-camera 22:45:44 ---> Running in 884e07137b1d 22:45:44 Removing intermediate container 884e07137b1d 22:45:44 ---> d2ab38f40ef4 22:45:44 Step 10/26 : COPY go.mod vendor* ./ 22:45:44 ---> 94db0efd242a 22:45:44 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:44 ---> Running in b12a9c7fc0bf 22:45:45 Removing intermediate container b12a9c7fc0bf 22:45:45 ---> afc112c0b8d5 22:45:45 Step 12/26 : COPY . . 22:45:46 ---> f8d1d85b9b3f 22:45:46 Step 13/26 : RUN ${MAKE} 22:45:46 ---> Running in 770b199899f9 22:45:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:46:04 Removing intermediate container 770b199899f9 22:46:04 ---> 800c0b760255 22:46:04 Step 14/26 : FROM alpine:3.17 22:46:04 3.17: Pulling from library/alpine 22:46:04 f56be85fc22e: Already exists 22:46:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:46:04 Status: Downloaded newer image for alpine:3.17 22:46:04 ---> 9ed4aefc74f6 22:46:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:46:04 ---> Running in b96ddd1d054d 22:46:04 Removing intermediate container b96ddd1d054d 22:46:04 ---> 92b477375470 22:46:04 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:46:04 ---> Running in 7dab66fe1f0c 22:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:46:04 (1/1) Installing dumb-init (1.2.5-r2) 22:46:04 Executing busybox-1.35.0-r29.trigger 22:46:04 OK: 7 MiB in 16 packages 22:46:04 Removing intermediate container 7dab66fe1f0c 22:46:04 ---> 48bf3db54292 22:46:04 Step 17/26 : WORKDIR / 22:46:04 ---> Running in 86d26346d18b 22:46:04 Removing intermediate container 86d26346d18b 22:46:04 ---> eb29eb654f62 22:46:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:46:04 ---> 5082590708a8 22:46:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:46:04 ---> 4eca9284ed0c 22:46:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:46:04 ---> bc64d500fb4f 22:46:04 Step 21/26 : EXPOSE 59984 22:46:04 ---> Running in 0b39f89af079 22:46:04 Removing intermediate container 0b39f89af079 22:46:04 ---> a0d26d487d81 22:46:04 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:46:04 ---> Running in 78ce80880c05 22:46:04 Removing intermediate container 78ce80880c05 22:46:04 ---> a64b3a856353 22:46:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:46:04 ---> Running in b0923e972c60 22:46:04 Removing intermediate container b0923e972c60 22:46:04 ---> fa0b5d2e5960 22:46:04 Step 24/26 : LABEL arch=amd64 22:46:04 ---> Running in 7c20a9880533 22:46:04 Removing intermediate container 7c20a9880533 22:46:04 ---> 477d343e2814 22:46:04 Step 25/26 : LABEL git_sha=1c578dcfb112828850f68ab30cac23434df19a04 22:46:04 ---> Running in d55881597140 22:46:04 Removing intermediate container d55881597140 22:46:04 ---> a4b5d49b79b0 22:46:04 Step 26/26 : LABEL version=0.0.0 22:46:04 ---> Running in d099f3e360b5 22:46:04 Removing intermediate container d099f3e360b5 22:46:04 ---> f6bc8f48dd5d 22:46:04 [Warning] One or more build-args [ARCH] were not consumed 22:46:04 Successfully built f6bc8f48dd5d 22:46:04 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:05 22:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:05 latest: Pulling from edgex-lftools-log-publisher 22:46:05 5eb5b503b376: Pulling fs layer 22:46:05 5c69ac0246d0: Pulling fs layer 22:46:05 ec43610c2a17: Pulling fs layer 22:46:05 3a2ae6a8a46f: Pulling fs layer 22:46:05 33b1e0a273af: Pulling fs layer 22:46:05 5d3b04190fa2: Pulling fs layer 22:46:05 2f39f015ded8: Pulling fs layer 22:46:05 33b1e0a273af: Waiting 22:46:05 3a2ae6a8a46f: Waiting 22:46:05 5d3b04190fa2: Waiting 22:46:05 2f39f015ded8: Waiting 22:46:05 5c69ac0246d0: Download complete 22:46:05 3a2ae6a8a46f: Download complete 22:46:05 33b1e0a273af: Verifying Checksum 22:46:05 33b1e0a273af: Download complete 22:46:05 5d3b04190fa2: Verifying Checksum 22:46:05 5d3b04190fa2: Download complete 22:46:05 ec43610c2a17: Verifying Checksum 22:46:05 ec43610c2a17: Download complete 22:46:05 5eb5b503b376: Verifying Checksum 22:46:05 5eb5b503b376: Download complete 22:46:06 2f39f015ded8: Download complete 22:46:07 5eb5b503b376: Pull complete 22:46:07 5c69ac0246d0: Pull complete 22:46:07 ec43610c2a17: Pull complete 22:46:07 3a2ae6a8a46f: Pull complete 22:46:07 33b1e0a273af: Pull complete 22:46:07 5d3b04190fa2: Pull complete 22:46:11 2f39f015ded8: Pull complete 22:46:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:11 prd-ubuntu20.04-docker-8c-8g-14797 does not seem to be running inside a container 22:46:11 $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:13 $ docker top 85b269fee330a0306f4b8c345d7462ba101cb8fb908a7d1def9dd7e8d8e40bc1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:13 ---> job-cost.sh 22:46:13 lf-activate-venv: SKIPPING 22:46:13 INFO: No Stack... 22:46:13 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:14 INFO: Archiving Costs [Pipeline] sh 22:46:14 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 22:46:14 + cut -d, -f6 [Pipeline] lock 22:46:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-7-stack-cost] 22:46:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-7-stack-cost] did not exist. Created. 22:46:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:14 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:14 Stashed 1 file(s) [Pipeline] } 22:46:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:14 $ docker stop --time=1 85b269fee330a0306f4b8c345d7462ba101cb8fb908a7d1def9dd7e8d8e40bc1 22:46:16 $ docker rm -f --volumes 85b269fee330a0306f4b8c345d7462ba101cb8fb908a7d1def9dd7e8d8e40bc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:47:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14801 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 22:47:25 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 22:47:25 The recommended git tool is: git 22:47:32 using credential edgex-jenkins-ssh 22:47:32 Cloning the remote Git repository 22:47:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:47:32 > git init /w/workspace/device-onvif-camera/7 # timeout=10 22:47:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:47:32 > git --version # timeout=10 22:47:32 > git --version # 'git version 2.25.1' 22:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:47:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:47:37 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit e845899c3f36885a3232fbe7d3d9f981675a0f08 22:47:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:47:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:47:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:47:37 > git config core.sparsecheckout # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:47:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:47:38 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 22:47:38 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 22:47:38 total 16 22:47:38 drwxr-xr-x 3 root root 4096 May 9 22:46 . 22:47:38 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:46 .. 22:47:38 drwxr-xr-x 2 root root 4096 May 9 22:46 cost 22:47:38 -rw-r--r-- 1 root root 91 May 9 22:46 cost.csv 22:47:38 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 22:47:38 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 22:47:38 total 16 22:47:38 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:46 . 22:47:38 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:46 .. 22:47:38 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:46 cost 22:47:38 -rw-r--r-- 1 jenkins jenkins 91 May 9 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:47:38 ---> sysstat.sh 22:47:37 > git checkout -f e845899c3f36885a3232fbe7d3d9f981675a0f08 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 22:47:39 ---> package-listing.sh 22:47:39 ++ facter osfamily 22:47:39 ++ tr '[:upper:]' '[:lower:]' 22:47:39 + OS_FAMILY=debian 22:47:39 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 22:47:39 + START_PACKAGES=/tmp/packages_start.txt 22:47:39 + END_PACKAGES=/tmp/packages_end.txt 22:47:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:39 + PACKAGES=/tmp/packages_start.txt 22:47:39 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 22:47:39 + PACKAGES=/tmp/packages_end.txt 22:47:39 + case "${OS_FAMILY}" in 22:47:39 + dpkg -l 22:47:39 + grep '^ii' 22:47:39 + '[' -f /tmp/packages_start.txt ']' 22:47:39 + '[' -f /tmp/packages_end.txt ']' 22:47:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:39 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 22:47:39 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 22:47:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 22:47:39 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:47:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:40 prd-ubuntu20.04-docker-8c-8g-14797 does not seem to be running inside a container 22:47:40 $ 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-347/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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:47:40 $ docker top 2e9b813698d665ffe89e47cfe7c0b49284073d85a0b8b84a96cc93408e6f49a5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:41 + touch /tmp/pre-build-complete [Pipeline] sh 22:47:41 + mkdir -p /var/log/sysstat [Pipeline] sh 22:47:41 + ls /var/log/sa-host 22:47:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:41 provisioning config files... 22:47:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config6617977510942608996tmp [Pipeline] { [Pipeline] echo 22:47:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:42 ---> create-netrc.sh [Pipeline] } 22:47:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:47:42 ---> python-tools-install.sh [Pipeline] echo 22:47:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:42 ---> sudo-logs.sh 22:47:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:47:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:43 ---> job-cost.sh 22:47:43 lf-activate-venv: SKIPPING 22:47:43 DEBUG: total: 0.2199999988079071 22:47:43 INFO: Retrieving Stack Cost... 22:47:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:47:43 INFO: Archiving Costs [Pipeline] echo 22:47:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:44 ---> logs-deploy.sh 22:47:44 lf-activate-venv: SKIPPING 22:47:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/7 22:47:44 INFO: archiving workspace using pattern(s): 22:47:45 Archives upload complete. 22:47:45 INFO: archiving logs to Nexus