Branch indexing 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 77ccddf1f831a316cff875f9b23112dd948a8538 rather than 58b2c8476daecf2b64caad4338a742bde6bc2200 Obtained Jenkinsfile from 77ccddf1f831a316cff875f9b23112dd948a8538 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-ssh9267241352774818386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7083736222780619663.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-273/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-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377487399676945103.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17175455284039953271.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-273/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-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12761408014274819617.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4436 in /w/workspace/undry_device-onvif-camera_PR-273 [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-273 # 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 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 58b2c8476daecf2b64caad4338a742bde6bc2200 > 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/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58b2c8476daecf2b64caad4338a742bde6bc2200 # 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 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 Merge succeeded, producing 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 Checking out Revision 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 (PR-273) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 # timeout=10 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" > git rev-list --no-walk 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:08 ========================================================= 22:11:08 EdgeX Global Pipelines Version Info 22:11:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:09 ------------------- 22:11:09 stable info: 22:11:09 ------------------- 22:11:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:11:09 Message: update stable to v1.0.245 22:11:09 ------------------- 22:11:09 experimental info: 22:11:09 ------------------- 22:11:09 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:09 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:11:09 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d72c9b [Pipeline] echo 22:11:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:10 provisioning config files... 22:11:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config15197601532938823381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:10 ---> docker-login.sh 22:11:10 nexus3.edgexfoundry.org:10001 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10002 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10003 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 nexus3.edgexfoundry.org:10004 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 docker.io 22:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:11 Configure a credential helper to remove this warning. See 22:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:11 22:11:11 Login Succeeded 22:11:11 ---> docker-login.sh ends [Pipeline] } 22:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:12 + git rev-list -1 --merges 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911~1..8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo 22:11:12 -----------> git rev-list -1 --merges 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911~1..8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 22:11:12 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [false] [Pipeline] sh 22:11:12 + git log --format=format:%s -1 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo 22:11:12 ========================================================= 22:11:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:12 + git log --format=format:%s -1 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo 22:11:13 [semverPrep] GIT_COMMIT: 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911, Commit Message: Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD [Pipeline] echo 22:11:13 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:13 + grep -v github /etc/ssh/ssh_known_hosts 22:11:13 + [ -e /tmp/ssh_known_hosts ] 22:11:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:13 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:13 22:11:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:13 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:13 b85a868b505f: Pulling fs layer 22:11:13 e2be974225ed: Pulling fs layer 22:11:13 339a4e72a1f5: Pulling fs layer 22:11:13 988bab9f4d93: Pulling fs layer 22:11:13 1469e6f7b9e6: Pulling fs layer 22:11:13 eaf3925da568: Pulling fs layer 22:11:13 bab4dde63d76: Pulling fs layer 22:11:13 bde34c3a00c8: Pulling fs layer 22:11:13 b352a97aabf1: Pulling fs layer 22:11:13 4872d77fe225: Pulling fs layer 22:11:13 5851b861e8e6: Pulling fs layer 22:11:13 b352a97aabf1: Waiting 22:11:13 4872d77fe225: Waiting 22:11:13 5851b861e8e6: Waiting 22:11:13 1469e6f7b9e6: Waiting 22:11:13 bab4dde63d76: Waiting 22:11:13 bde34c3a00c8: Waiting 22:11:13 988bab9f4d93: Waiting 22:11:13 e2be974225ed: Verifying Checksum 22:11:13 e2be974225ed: Download complete 22:11:13 988bab9f4d93: Download complete 22:11:14 1469e6f7b9e6: Verifying Checksum 22:11:14 1469e6f7b9e6: Download complete 22:11:14 339a4e72a1f5: Verifying Checksum 22:11:14 339a4e72a1f5: Download complete 22:11:14 eaf3925da568: Verifying Checksum 22:11:14 eaf3925da568: Download complete 22:11:14 bde34c3a00c8: Verifying Checksum 22:11:14 bde34c3a00c8: Download complete 22:11:14 b352a97aabf1: Verifying Checksum 22:11:14 b352a97aabf1: Download complete 22:11:14 4872d77fe225: Verifying Checksum 22:11:14 4872d77fe225: Download complete 22:11:14 5851b861e8e6: Verifying Checksum 22:11:14 5851b861e8e6: Download complete 22:11:14 b85a868b505f: Download complete 22:11:14 bab4dde63d76: Verifying Checksum 22:11:14 bab4dde63d76: Download complete 22:11:15 b85a868b505f: Pull complete 22:11:15 e2be974225ed: Pull complete 22:11:16 339a4e72a1f5: Pull complete 22:11:16 988bab9f4d93: Pull complete 22:11:17 1469e6f7b9e6: Pull complete 22:11:17 eaf3925da568: Pull complete 22:11:19 bab4dde63d76: Pull complete 22:11:19 bde34c3a00c8: Pull complete 22:11:19 b352a97aabf1: Pull complete 22:11:19 4872d77fe225: Pull complete 22:11:19 5851b861e8e6: Pull complete 22:11:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:19 prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container 22:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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:11:21 $ docker top 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 -eo pid,comm 22:11: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). 22:11:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:21 [ssh-agent] Looking for ssh-agent implementation... 22:11:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:21 $ docker exec 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent 22:11:21 SSH_AUTH_SOCK=/tmp/ssh-Jmf40WRQDuJS/agent.32 22:11:21 SSH_AGENT_PID=38 22:11:21 Running ssh-add (command line suppressed) 22:11:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_5995712038475627272.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_5995712038475627272.key) 22:11:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:22 + git tag --points-at HEAD [Pipeline] } 22:11:22 $ docker exec --env ******** --env ******** 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent -k 22:11:22 unset SSH_AUTH_SOCK; 22:11:22 unset SSH_AGENT_PID; 22:11:22 echo Agent pid 38 killed; 22:11:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:22 [ssh-agent] Looking for ssh-agent implementation... 22:11:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:22 $ docker exec 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent 22:11:22 SSH_AUTH_SOCK=/tmp/ssh-cunLkKCDnY42/agent.70 22:11:22 SSH_AGENT_PID=76 22:11:22 Running ssh-add (command line suppressed) 22:11:22 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15648493193032555865.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15648493193032555865.key) 22:11:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:22 + git semver init 22:11:23 2023-03-17 22:11:23,191 [run_init] DEBUG init version:0.0.0 force:False 22:11:23 2023-03-17 22:11:23,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-273/.semver 22:11:23 2023-03-17 22:11:23,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-273/.semver 22:11:23 2023-03-17 22:11:23,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-273/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-273, universal_newlines=False, shell=None, istream=None) 22:11:24 2023-03-17 22:11:24,005 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-273/.git/info/exclude 22:11:24 2023-03-17 22:11:24,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 with force:False 22:11:24 2023-03-17 22:11:24,006 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 22:11:24 2023-03-17 22:11:24,010 [execute] INFO git cat-file --batch-check 22:11:24 2023-03-17 22:11:24,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 22:11:24 2023-03-17 22:11:24,018 [execute] INFO git cat-file --batch 22:11:24 2023-03-17 22:11:24,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 22:11:24 2023-03-17 22:11:24,025 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 22:11:24 0.0.0 [Pipeline] } 22:11:24 $ docker exec --env ******** --env ******** 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent -k 22:11:24 unset SSH_AUTH_SOCK; 22:11:24 unset SSH_AGENT_PID; 22:11:24 echo Agent pid 76 killed; 22:11:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:24 + git semver [Pipeline] } 22:11:24 $ docker stop --time=1 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 22:11:26 $ docker rm -f --volumes 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:26 Stashed 1 file(s) [Pipeline] echo 22:11:26 [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:11:27 provisioning config files... 22:11:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config13676311173361082157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:27 ---> docker-login.sh 22:11:27 nexus3.edgexfoundry.org:10001 22:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:27 Configure a credential helper to remove this warning. See 22:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:27 22:11:27 Login Succeeded 22:11:27 nexus3.edgexfoundry.org:10002 22:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:27 Configure a credential helper to remove this warning. See 22:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:27 22:11:27 Login Succeeded 22:11:27 nexus3.edgexfoundry.org:10003 22:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:27 Configure a credential helper to remove this warning. See 22:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:27 22:11:27 Login Succeeded 22:11:27 nexus3.edgexfoundry.org:10004 22:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:27 Configure a credential helper to remove this warning. See 22:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:27 22:11:27 Login Succeeded 22:11:27 docker.io 22:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:27 Configure a credential helper to remove this warning. See 22:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:27 22:11:27 Login Succeeded 22:11:27 ---> docker-login.sh ends [Pipeline] } 22:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:27 ========================================================= 22:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:28 + 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:11:28 Sending build context to Docker daemon 26.92MB 22:11:28 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:28 Step 2/13 : FROM ${BASE} AS builder 22:11:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:28 63b65145d645: Pulling fs layer 22:11:28 a2d21d5440eb: Pulling fs layer 22:11:28 935e6c44a52c: Pulling fs layer 22:11:28 94cc34f8dd06: Pulling fs layer 22:11:28 30dea6a524f1: Pulling fs layer 22:11:28 a2aff8979fd8: Pulling fs layer 22:11:28 6808be2612f2: Pulling fs layer 22:11:28 f25807f1079a: Pulling fs layer 22:11:28 a2aff8979fd8: Waiting 22:11:28 6808be2612f2: Waiting 22:11:28 f25807f1079a: Waiting 22:11:28 94cc34f8dd06: Waiting 22:11:28 30dea6a524f1: Waiting 22:11:28 a2d21d5440eb: Verifying Checksum 22:11:28 a2d21d5440eb: Download complete 22:11:28 94cc34f8dd06: Verifying Checksum 22:11:28 94cc34f8dd06: Download complete 22:11:28 30dea6a524f1: Verifying Checksum 22:11:28 30dea6a524f1: Download complete 22:11:28 63b65145d645: Verifying Checksum 22:11:28 63b65145d645: Download complete 22:11:28 a2aff8979fd8: Verifying Checksum 22:11:28 a2aff8979fd8: Download complete 22:11:28 63b65145d645: Pull complete 22:11:28 a2d21d5440eb: Pull complete 22:11:29 935e6c44a52c: Verifying Checksum 22:11:29 935e6c44a52c: Download complete 22:11:29 f25807f1079a: Verifying Checksum 22:11:29 6808be2612f2: Download complete 22:11:32 935e6c44a52c: Pull complete 22:11:32 94cc34f8dd06: Pull complete 22:11:32 30dea6a524f1: Pull complete 22:11:32 a2aff8979fd8: Pull complete 22:11:35 6808be2612f2: Pull complete 22:11:36 f25807f1079a: Pull complete 22:11:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:36 ---> 3b553350e43f 22:11:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:38 ---> Running in 9704070f0a1b 22:11:38 Removing intermediate container 9704070f0a1b 22:11:38 ---> 2196f299767b 22:11:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:38 ---> Running in c6349d842934 22:11:38 Removing intermediate container c6349d842934 22:11:38 ---> 4fd43e7e7aa0 22:11:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:38 ---> Running in c9bf4ab3e1f3 22:11:39 Removing intermediate container c9bf4ab3e1f3 22:11:39 ---> 21154bc498b2 22:11:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:39 ---> Running in 96e570f4cf5d 22:11:39 Removing intermediate container 96e570f4cf5d 22:11:39 ---> f825f127626f 22:11:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:39 ---> Running in e8fa3d5569c4 22:11:39 Removing intermediate container e8fa3d5569c4 22:11:39 ---> 6119dd74a4d3 22:11:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:39 ---> Running in f5bd8c9414ae 22:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:39 OK: 265 MiB in 53 packages 22:11:40 Removing intermediate container f5bd8c9414ae 22:11:40 ---> b9d4d4e0311c 22:11:40 Step 9/13 : WORKDIR /device-onvif-camera 22:11:40 ---> Running in f518bdd58029 22:11:40 Removing intermediate container f518bdd58029 22:11:40 ---> 6911c6f9638e 22:11:40 Step 10/13 : COPY go.mod vendor* ./ 22:11:40 ---> 0139827b9d68 22:11:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:40 ---> Running in f0636a604b25 22:11:41 Still waiting to schedule task 22:11:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:19 Removing intermediate container f0636a604b25 22:12:19 ---> 7e92405cc92f 22:12:19 Step 12/13 : COPY . . 22:12:19 ---> 322663083836 22:12:19 Step 13/13 : RUN ${MAKE} 22:12:19 ---> Running in 072a6e7be328 22:12:19 noop 22:12:19 Removing intermediate container 072a6e7be328 22:12:19 ---> 2820ca7572aa 22:12:19 Successfully built 2820ca7572aa 22:12:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:19 + docker inspect -f . ci-base-image-x86_64 22:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:19 prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container 22:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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:12:20 $ docker top ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:20 + go version 22:12:20 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:20 $ docker stop --time=1 ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 22:12:21 $ docker rm -f --volumes ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker inspect -f . ci-base-image-x86_64 22:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:22 prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container 22:12:22 $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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:12:22 $ docker top 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:23 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] fileExists [Pipeline] sh 22:12:23 + make test 22:12:23 go test ./... -coverprofile=coverage.out ./... 22:12:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 30.5% of statements 22:12:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.163s coverage: 86.5% of statements 22:12:50 go vet ./... 22:12:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:54 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:54 $ docker stop --time=1 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 22:12:58 $ docker rm -f --volumes 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:00 + ls -al . 22:13:00 total 232 22:13:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 22:12 . 22:13:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 .. 22:13:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 22:11 .git 22:13:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 22:11 .github 22:13:00 -rw-rw-r-- 1 jenkins jenkins 496 Mar 17 22:11 .gitignore 22:13:00 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 22:11 .golangci.yml 22:13:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:11 .semver 22:13:00 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 17 22:11 Attribution.txt 22:13:00 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 17 22:11 CHANGELOG.md 22:13:00 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 17 22:11 Dockerfile 22:13:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 22:11 GOVERNANCE.md 22:13:00 -rw-rw-r-- 1 jenkins jenkins 734 Mar 17 22:11 Jenkinsfile 22:13:00 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 17 22:11 LICENSE 22:13:00 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 17 22:11 Makefile 22:13:00 -rw-rw-r-- 1 jenkins jenkins 625 Mar 17 22:11 OWNERS.md 22:13:00 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 17 22:11 README.md 22:13:00 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 22:11 VERSION 22:13:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 22:11 bin 22:13:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 22:11 cmd 22:13:00 -rw-r--r-- 1 jenkins jenkins 76650 Mar 17 22:12 coverage.out 22:13:00 drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 22:11 doc 22:13:00 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 17 22:11 go.mod 22:13:00 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 17 22:11 go.sum 22:13:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 internal 22:13:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 snap 22:13:00 -rw-rw-r-- 1 jenkins jenkins 236 Mar 17 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:00 + 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=8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 --label arch=amd64 --label version=0.0.0 . 22:13:00 Sending build context to Docker daemon 27MB 22:13:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:13:00 Step 2/26 : FROM ${BASE} AS builder 22:13:00 ---> 2820ca7572aa 22:13:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:13:00 ---> Running in 9887831150b3 22:13:00 Removing intermediate container 9887831150b3 22:13:00 ---> 5a75a2fa84c1 22:13:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:00 ---> Running in 46973d5718e8 22:13:01 Removing intermediate container 46973d5718e8 22:13:01 ---> a9d6e788ff8c 22:13:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:13:01 ---> Running in ba5928125d59 22:13:01 Removing intermediate container ba5928125d59 22:13:01 ---> c7e23ad585a0 22:13:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:13:01 ---> Running in c77c2ad802d6 22:13:01 Removing intermediate container c77c2ad802d6 22:13:01 ---> e8546d3e6fc4 22:13:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:13:01 ---> Running in f0311f08a1cb 22:13:01 Removing intermediate container f0311f08a1cb 22:13:01 ---> 5d6e98323bd2 22:13:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:01 ---> Running in f015a4a39363 22:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:02 OK: 265 MiB in 53 packages 22:13:02 Removing intermediate container f015a4a39363 22:13:02 ---> 80c2f40cb159 22:13:02 Step 9/26 : WORKDIR /device-onvif-camera 22:13:02 ---> Running in 905d28a77244 22:13:02 Removing intermediate container 905d28a77244 22:13:02 ---> 69fe510c1d38 22:13:02 Step 10/26 : COPY go.mod vendor* ./ 22:13:02 ---> 2f272997ca44 22:13:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:02 ---> Running in 770eb1386cee 22:13:03 Removing intermediate container 770eb1386cee 22:13:03 ---> 2f349c8bc07c 22:13:03 Step 12/26 : COPY . . 22:13:04 ---> d92f8cc235e8 22:13:04 Step 13/26 : RUN ${MAKE} 22:13:04 ---> Running in 20899570a6df 22:13:04 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:13:31 Removing intermediate container 20899570a6df 22:13:31 ---> efa9427086b4 22:13:31 Step 14/26 : FROM alpine:3.17 22:13:31 3.17: Pulling from library/alpine 22:13:31 63b65145d645: Already exists 22:13:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:13:31 Status: Downloaded newer image for alpine:3.17 22:13:31 ---> b2aa39c304c2 22:13:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:31 ---> Running in 7eca01c4a784 22:13:31 Removing intermediate container 7eca01c4a784 22:13:31 ---> 3b5d3f1d291d 22:13:31 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:31 ---> Running in 88ad60729b8f 22:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:31 (1/1) Installing dumb-init (1.2.5-r2) 22:13:31 Executing busybox-1.35.0-r29.trigger 22:13:31 OK: 7 MiB in 16 packages 22:13:31 Removing intermediate container 88ad60729b8f 22:13:31 ---> aeda11440046 22:13:31 Step 17/26 : WORKDIR / 22:13:31 ---> Running in e406271d219c 22:13:31 Removing intermediate container e406271d219c 22:13:31 ---> f7616ed06dae 22:13:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:31 ---> 5f755e88ae11 22:13:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:31 ---> cddbb044e70e 22:13:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:31 ---> 0831b22fbf36 22:13:31 Step 21/26 : EXPOSE 59984 22:13:31 ---> Running in cdb8a0ec0331 22:13:31 Removing intermediate container cdb8a0ec0331 22:13:31 ---> c2f5f72b1e73 22:13:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:31 ---> Running in 12bbfc289bb1 22:13:31 Removing intermediate container 12bbfc289bb1 22:13:31 ---> e9f39f662799 22:13:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:31 ---> Running in 797c0a0f695b 22:13:31 Removing intermediate container 797c0a0f695b 22:13:31 ---> b8053d86d8fa 22:13:31 Step 24/26 : LABEL arch=amd64 22:13:31 ---> Running in cac4492524b0 22:13:31 Removing intermediate container cac4492524b0 22:13:31 ---> 843476d81c9a 22:13:31 Step 25/26 : LABEL git_sha=8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 22:13:31 ---> Running in 136d207f7cb3 22:13:31 Removing intermediate container 136d207f7cb3 22:13:31 ---> 2c1bdee27481 22:13:31 Step 26/26 : LABEL version=0.0.0 22:13:31 ---> Running in cecbebc460ba 22:13:31 Removing intermediate container cecbebc460ba 22:13:31 ---> d0a24920b09b 22:13:31 [Warning] One or more build-args [ARCH] were not consumed 22:13:31 Successfully built d0a24920b09b 22:13:31 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:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:31 22:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:32 latest: Pulling from edgex-lftools-log-publisher 22:13:32 5eb5b503b376: Pulling fs layer 22:13:32 5c69ac0246d0: Pulling fs layer 22:13:32 ec43610c2a17: Pulling fs layer 22:13:32 3a2ae6a8a46f: Pulling fs layer 22:13:32 33b1e0a273af: Pulling fs layer 22:13:32 5d3b04190fa2: Pulling fs layer 22:13:32 2f39f015ded8: Pulling fs layer 22:13:32 5d3b04190fa2: Waiting 22:13:32 3a2ae6a8a46f: Waiting 22:13:32 33b1e0a273af: Waiting 22:13:32 2f39f015ded8: Waiting 22:13:32 5c69ac0246d0: Download complete 22:13:32 3a2ae6a8a46f: Verifying Checksum 22:13:32 3a2ae6a8a46f: Download complete 22:13:32 ec43610c2a17: Verifying Checksum 22:13:32 ec43610c2a17: Download complete 22:13:32 33b1e0a273af: Verifying Checksum 22:13:32 33b1e0a273af: Download complete 22:13:32 5d3b04190fa2: Verifying Checksum 22:13:32 5d3b04190fa2: Download complete 22:13:32 5eb5b503b376: Verifying Checksum 22:13:32 5eb5b503b376: Download complete 22:13:33 2f39f015ded8: Verifying Checksum 22:13:33 2f39f015ded8: Download complete 22:13:33 5eb5b503b376: Pull complete 22:13:33 5c69ac0246d0: Pull complete 22:13:34 ec43610c2a17: Pull complete 22:13:34 3a2ae6a8a46f: Pull complete 22:13:34 33b1e0a273af: Pull complete 22:13:34 5d3b04190fa2: Pull complete 22:13:38 2f39f015ded8: Pull complete 22:13:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:38 prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container 22:13:38 $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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:13:43 $ docker top 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:43 ---> job-cost.sh 22:13:43 lf-activate-venv: SKIPPING 22:13:43 INFO: No Stack... 22:13:44 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:44 INFO: Archiving Costs [Pipeline] sh 22:13:44 + cat /w/workspace/undry_device-onvif-camera_PR-273/archives/cost.csv 22:13:44 + cut -d, -f6 [Pipeline] lock 22:13:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] 22:13:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] did not exist. Created. 22:13:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:44 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:45 Stashed 1 file(s) [Pipeline] } 22:13:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:45 $ docker stop --time=1 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 22:13:46 $ docker rm -f --volumes 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4441 in /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] { [Pipeline] ws 22:14:00 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:14:00 The recommended git tool is: git 22:14:06 using credential edgex-jenkins-ssh 22:14:06 Cloning the remote Git repository 22:14:06 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:06 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:14:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:07 > git --version # timeout=10 22:14:07 > git --version # 'git version 2.25.1' 22:14:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:10 Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 58b2c8476daecf2b64caad4338a742bde6bc2200 22:14:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:10 > git config core.sparsecheckout # timeout=10 22:14:10 > git checkout -f 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 22:14:10 > git remote # timeout=10 22:14:10 > git config --get remote.origin.url # timeout=10 22:14:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:10 > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 22:14:11 Merge succeeded, producing 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 22:14:11 Checking out Revision 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 (PR-273) 22:14:11 > git rev-parse HEAD^{commit} # timeout=10 22:14:11 > git config core.sparsecheckout # timeout=10 22:14:11 > git checkout -f 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 # timeout=10 22:14:15 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" 22:14:15 > git rev-list --no-walk 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:16 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:16 Dload Upload Total Spent Left Speed 22:14:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 22:14:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:17 + sudo tee /etc/docker/daemon.new 22:14:17 { 22:14:17 "registry-mirrors": [ 22:14:17 "https://nexus3.edgexfoundry.org:10001" 22:14:17 ], 22:14:17 "bip": "10.250.0.254/24", 22:14:17 "hosts": [ 22:14:17 "tcp://0.0.0.0:5555", 22:14:17 "unix:///var/run/docker.sock" 22:14:17 ], 22:14:17 "mtu": 1458, 22:14:17 "selinux-enabled": true, 22:14:17 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:17 } [Pipeline] sh 22:14:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:36 provisioning config files... 22:14:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config147301395371408510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:36 ---> docker-login.sh 22:14:36 nexus3.edgexfoundry.org:10001 22:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 nexus3.edgexfoundry.org:10002 22:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 nexus3.edgexfoundry.org:10003 22:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 nexus3.edgexfoundry.org:10004 22:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:38 Configure a credential helper to remove this warning. See 22:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:38 22:14:38 Login Succeeded 22:14:38 docker.io 22:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:38 Configure a credential helper to remove this warning. See 22:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:38 22:14:38 Login Succeeded 22:14:38 ---> docker-login.sh ends [Pipeline] } 22:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:39 ========================================================= 22:14:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:14:39 Sending build context to Docker daemon 19.65MB 22:14:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:39 Step 2/13 : FROM ${BASE} AS builder 22:14:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:39 af6eaf76a39c: Pulling fs layer 22:14:39 55522c791124: Pulling fs layer 22:14:39 ce5c4a1c91eb: Pulling fs layer 22:14:39 169dfbe0d373: Pulling fs layer 22:14:39 e1ff8fa3b103: Pulling fs layer 22:14:39 52ebb69f0ebf: Pulling fs layer 22:14:39 5abe8eddf0d5: Pulling fs layer 22:14:39 e1ff8fa3b103: Waiting 22:14:39 52ebb69f0ebf: Waiting 22:14:39 5abe8eddf0d5: Waiting 22:14:39 169dfbe0d373: Waiting 22:14:40 55522c791124: Verifying Checksum 22:14:40 55522c791124: Download complete 22:14:40 169dfbe0d373: Verifying Checksum 22:14:40 169dfbe0d373: Download complete 22:14:40 e1ff8fa3b103: Download complete 22:14:40 af6eaf76a39c: Download complete 22:14:41 5abe8eddf0d5: Verifying Checksum 22:14:41 5abe8eddf0d5: Download complete 22:14:41 af6eaf76a39c: Pull complete 22:14:42 55522c791124: Pull complete 22:14:43 ce5c4a1c91eb: Verifying Checksum 22:14:43 ce5c4a1c91eb: Download complete 22:14:43 52ebb69f0ebf: Verifying Checksum 22:14:43 52ebb69f0ebf: Download complete 22:14:55 ce5c4a1c91eb: Pull complete 22:14:55 169dfbe0d373: Pull complete 22:14:55 e1ff8fa3b103: Pull complete 22:15:02 52ebb69f0ebf: Pull complete 22:15:03 5abe8eddf0d5: Pull complete 22:15:03 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:15:03 ---> 6cb57ee374ae 22:15:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:05 ---> Running in e764a5a08e9b 22:15:05 Removing intermediate container e764a5a08e9b 22:15:05 ---> 64d6016cf050 22:15:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:05 ---> Running in 0f6f0115a98e 22:15:06 Removing intermediate container 0f6f0115a98e 22:15:06 ---> 2cfc96b81f7a 22:15:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:06 ---> Running in 5647bdb7b00c 22:15:06 Removing intermediate container 5647bdb7b00c 22:15:06 ---> bea1f193e63d 22:15:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:06 ---> Running in 8d736c51bdf8 22:15:07 Removing intermediate container 8d736c51bdf8 22:15:07 ---> 29faf07feb9e 22:15:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:07 ---> Running in eb79cc811678 22:15:07 Removing intermediate container eb79cc811678 22:15:07 ---> 3d311e3f46eb 22:15:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:07 ---> Running in 91a3874a714c 22:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:11 OK: 263 MiB in 53 packages 22:15:11 Removing intermediate container 91a3874a714c 22:15:11 ---> fb2772e03dab 22:15:11 Step 9/13 : WORKDIR /device-onvif-camera 22:15:12 ---> Running in 4065693f7dff 22:15:12 Removing intermediate container 4065693f7dff 22:15:12 ---> c9233259068f 22:15:12 Step 10/13 : COPY go.mod vendor* ./ 22:15:12 ---> 5cef151548ff 22:15:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:12 ---> Running in cbf5245ab1b8 22:16:34 Removing intermediate container cbf5245ab1b8 22:16:34 ---> e01ee6062bda 22:16:34 Step 12/13 : COPY . . 22:16:34 ---> 3d9a1664dce5 22:16:34 Step 13/13 : RUN ${MAKE} 22:16:34 ---> Running in df2f2e09f759 22:16:34 noop 22:16:34 Removing intermediate container df2f2e09f759 22:16:34 ---> bfc37999c3fc 22:16:34 Successfully built bfc37999c3fc 22:16:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:35 + docker inspect -f . ci-base-image-arm64 22:16:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:35 prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container 22:16:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:36 $ docker top 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:37 + go version 22:16:37 go version go1.20.2 linux/arm64 [Pipeline] } 22:16:37 $ docker stop --time=1 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f 22:16:39 $ docker rm -f --volumes 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:39 + docker inspect -f . ci-base-image-arm64 22:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container 22:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:41 $ docker top 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:16:42 + make test 22:16:42 go test ./... -coverprofile=coverage.out ./... 22:17:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 30.5% of statements 22:20:49 --- FAIL: TestIpGenerator (0.00s) 22:20:49 --- FAIL: TestIpGenerator/basic_/8_subnet (30.06s) 22:20:49 util_test.go:180: 22:20:49 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 22:20:49 Error: Not equal: 22:20:49 expected: 0xfffffe 22:20:49 actual : 0xf6ad9e 22:20:49 Test: TestIpGenerator/basic_/8_subnet 22:20:49 util_test.go:183: 22:20:49 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 22:20:49 Error: Not equal: 22:20:49 expected: "10.255.255.254" 22:20:49 actual : "10.246.173.158" 22:20:49 22:20:49 Diff: 22:20:49 --- Expected 22:20:49 +++ Actual 22:20:49 @@ -1 +1 @@ 22:20:49 -10.255.255.254 22:20:49 +10.246.173.158 22:20:49 Test: TestIpGenerator/basic_/8_subnet 22:20:49 FAIL 22:20:49 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 22:20:49 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.293s 22:20:49 FAIL 22:20:49 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 22:20:49 $ docker stop --time=1 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a 22:20:51 $ docker rm -f --volumes 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:52 22:20:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:53 arm64: Pulling from edgex-lftools-log-publisher 22:20:53 8998bd30e6a1: Pulling fs layer 22:20:53 04944245beec: Pulling fs layer 22:20:53 699f458cf7ca: Pulling fs layer 22:20:53 765212b225bb: Pulling fs layer 22:20:53 f23df028b6ca: Pulling fs layer 22:20:53 d65c8cfc05b1: Pulling fs layer 22:20:53 2437ff75d9bd: Pulling fs layer 22:20:53 f23df028b6ca: Waiting 22:20:53 d65c8cfc05b1: Waiting 22:20:53 2437ff75d9bd: Waiting 22:20:53 765212b225bb: Waiting 22:20:53 04944245beec: Download complete 22:20:53 765212b225bb: Verifying Checksum 22:20:53 765212b225bb: Download complete 22:20:53 f23df028b6ca: Verifying Checksum 22:20:53 f23df028b6ca: Download complete 22:20:53 d65c8cfc05b1: Verifying Checksum 22:20:53 d65c8cfc05b1: Download complete 22:20:53 699f458cf7ca: Verifying Checksum 22:20:53 699f458cf7ca: Download complete 22:20:54 8998bd30e6a1: Verifying Checksum 22:20:54 8998bd30e6a1: Download complete 22:20:56 2437ff75d9bd: Verifying Checksum 22:20:56 2437ff75d9bd: Download complete 22:20:59 8998bd30e6a1: Pull complete 22:20:59 04944245beec: Pull complete 22:21:01 699f458cf7ca: Pull complete 22:21:01 765212b225bb: Pull complete 22:21:02 f23df028b6ca: Pull complete 22:21:02 d65c8cfc05b1: Pull complete 22:21:17 2437ff75d9bd: Pull complete 22:21:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:17 prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container 22:21:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:21:21 $ docker top 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:21 ---> job-cost.sh 22:21:21 lf-activate-venv: SKIPPING 22:21:21 INFO: No Stack... 22:21:22 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:23 INFO: Archiving Costs [Pipeline] sh 22:21:23 + cut -d, -f6 22:21:23 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 22:21:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] 22:21:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] did not exist. Created. 22:21:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:24 /w/workspace/device-onvif-camera/2@tmp/durable-f06fbef2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:25 Warning: overwriting stash ‘stack-cost’ 22:21:25 Stashed 1 file(s) [Pipeline] } 22:21:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:25 $ docker stop --time=1 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b 22:21:27 $ docker rm -f --volumes 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:27 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:21:28 + [ -d /w/workspace/undry_device-onvif-camera_PR-273/archives ] 22:21:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 22:21:28 total 16 22:21:28 drwxr-xr-x 3 root root 4096 Mar 17 22:13 . 22:21:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:13 .. 22:21:28 drwxr-xr-x 2 root root 4096 Mar 17 22:13 cost 22:21:28 -rw-r--r-- 1 root root 91 Mar 17 22:13 cost.csv 22:21:28 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-273/archives 22:21:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 22:21:28 total 16 22:21:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:13 . 22:21:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:13 .. 22:21:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 22:13 cost 22:21:28 -rw-r--r-- 1 jenkins jenkins 91 Mar 17 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:29 ---> package-listing.sh 22:21:29 ++ facter osfamily 22:21:29 ++ tr '[:upper:]' '[:lower:]' 22:21:29 + OS_FAMILY=debian 22:21:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-273 22:21:29 + START_PACKAGES=/tmp/packages_start.txt 22:21:29 + END_PACKAGES=/tmp/packages_end.txt 22:21:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:29 + PACKAGES=/tmp/packages_start.txt 22:21:29 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 22:21:29 + PACKAGES=/tmp/packages_end.txt 22:21:29 + case "${OS_FAMILY}" in 22:21:29 + dpkg -l 22:21:29 + grep '^ii' 22:21:29 + '[' -f /tmp/packages_start.txt ']' 22:21:29 + '[' -f /tmp/packages_end.txt ']' 22:21:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:29 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 22:21:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-273/archives/ 22:21:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-273/archives/ [Pipeline] echo 22:21:29 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:30 prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container 22:21:30 $ 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-273/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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@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:21:30 $ docker top 1e0539fe6e78bd3ec100d07788e648f02def8d1e6144c25bae61cdb5fc20048a -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:31 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:31 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:31 + ls /var/log/sa-host 22:21:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:31 provisioning config files... 22:21:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config4784392476196696344tmp [Pipeline] { [Pipeline] echo 22:21:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:32 ---> create-netrc.sh [Pipeline] } 22:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:32 ---> python-tools-install.sh [Pipeline] echo 22:21:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:32 ---> sudo-logs.sh 22:21:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:32 ---> job-cost.sh 22:21:32 lf-activate-venv: SKIPPING 22:21:32 DEBUG: total: 0.2199999988079071 22:21:32 INFO: Retrieving Stack Cost... 22:21:33 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:33 INFO: Archiving Costs [Pipeline] echo 22:21:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:34 ---> logs-deploy.sh 22:21:34 lf-activate-venv: SKIPPING 22:21:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-273/2 22:21:34 INFO: archiving workspace using pattern(s): 22:21:35 Archives upload complete. 22:21:35 INFO: archiving logs to Nexus