Pull request #281 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 vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than 05c851161300a38c95846c5528dad20742973dec Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b 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-ssh5585897567478916498.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-ssh7147765896748322145.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-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10565426241433777019.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-ssh7668438416148000934.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7401900602808990881.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 ‘prd-ubuntu20.04-docker-8c-8g-5278’ Running on prd-ubuntu20.04-docker-8c-8g-5280 in /w/workspace/undry_device-onvif-camera_PR-281 [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-281 # 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 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 05c851161300a38c95846c5528dad20742973dec Merge succeeded, producing 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 Checking out Revision 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 (PR-281) > 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05c851161300a38c95846c5528dad20742973dec # 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 e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:47:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:47:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:47:18 ========================================================= 20:47:18 EdgeX Global Pipelines Version Info 20:47:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 66864d28fca1ab84d07011c328eeca2611b1502e # timeout=10 20:47:18 ------------------- 20:47:18 stable info: 20:47:18 ------------------- 20:47:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:47:18 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:47:18 Message: update stable to v1.0.245 20:47:19 ------------------- 20:47:19 experimental info: 20:47:19 ------------------- 20:47:19 Commited By: **** collab-it+edgex@linuxfoundation.org 20:47:19 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:47:19 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f3e708 [Pipeline] echo 20:47:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:20 provisioning config files... 20:47:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config15762654056515845414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:20 ---> docker-login.sh 20:47:20 nexus3.edgexfoundry.org:10001 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10002 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10003 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 nexus3.edgexfoundry.org:10004 20:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:20 Configure a credential helper to remove this warning. See 20:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:20 20:47:20 Login Succeeded 20:47:20 docker.io 20:47:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:21 Configure a credential helper to remove this warning. See 20:47:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:21 20:47:21 Login Succeeded 20:47:21 ---> docker-login.sh ends [Pipeline] } 20:47:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:47:21 + git rev-list -1 --merges 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5~1..2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo 20:47:21 -----------> git rev-list -1 --merges 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5~1..2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 20:47:21 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [false] [Pipeline] sh 20:47:21 + git log --format=format:%s -1 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo 20:47:21 ========================================================= 20:47:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:47:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:22 + git log --format=format:%s -1 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo 20:47:22 [semverPrep] GIT_COMMIT: 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 20:47:22 [semverPrep] This is not a build commit. [Pipeline] sh 20:47:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:22 + grep -v github /etc/ssh/ssh_known_hosts 20:47:22 + [ -e /tmp/ssh_known_hosts ] 20:47:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:47:22 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:47:22 sudo tee -a /etc/ssh/ssh_known_hosts 20:47:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:22 20:47:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:23 0.1.4: Pulling from edgex-devops/py-git-semver 20:47:23 b85a868b505f: Pulling fs layer 20:47:23 e2be974225ed: Pulling fs layer 20:47:23 339a4e72a1f5: Pulling fs layer 20:47:23 988bab9f4d93: Pulling fs layer 20:47:23 1469e6f7b9e6: Pulling fs layer 20:47:23 eaf3925da568: Pulling fs layer 20:47:23 bab4dde63d76: Pulling fs layer 20:47:23 bde34c3a00c8: Pulling fs layer 20:47:23 b352a97aabf1: Pulling fs layer 20:47:23 4872d77fe225: Pulling fs layer 20:47:23 5851b861e8e6: Pulling fs layer 20:47:23 eaf3925da568: Waiting 20:47:23 bab4dde63d76: Waiting 20:47:23 bde34c3a00c8: Waiting 20:47:23 b352a97aabf1: Waiting 20:47:23 4872d77fe225: Waiting 20:47:23 5851b861e8e6: Waiting 20:47:23 988bab9f4d93: Waiting 20:47:23 1469e6f7b9e6: Waiting 20:47:23 e2be974225ed: Verifying Checksum 20:47:23 e2be974225ed: Download complete 20:47:23 988bab9f4d93: Download complete 20:47:23 1469e6f7b9e6: Download complete 20:47:23 eaf3925da568: Verifying Checksum 20:47:23 eaf3925da568: Download complete 20:47:23 339a4e72a1f5: Verifying Checksum 20:47:23 339a4e72a1f5: Download complete 20:47:23 bde34c3a00c8: Verifying Checksum 20:47:23 bde34c3a00c8: Download complete 20:47:23 b352a97aabf1: Verifying Checksum 20:47:23 b352a97aabf1: Download complete 20:47:23 4872d77fe225: Verifying Checksum 20:47:23 4872d77fe225: Download complete 20:47:23 5851b861e8e6: Download complete 20:47:23 b85a868b505f: Verifying Checksum 20:47:23 b85a868b505f: Download complete 20:47:23 bab4dde63d76: Verifying Checksum 20:47:23 bab4dde63d76: Download complete 20:47:24 b85a868b505f: Pull complete 20:47:24 e2be974225ed: Pull complete 20:47:25 339a4e72a1f5: Pull complete 20:47:25 988bab9f4d93: Pull complete 20:47:25 1469e6f7b9e6: Pull complete 20:47:25 eaf3925da568: Pull complete 20:47:27 bab4dde63d76: Pull complete 20:47:27 bde34c3a00c8: Pull complete 20:47:27 b352a97aabf1: Pull complete 20:47:27 4872d77fe225: Pull complete 20:47:27 5851b861e8e6: Pull complete 20:47:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:28 prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container 20:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 20:47:29 $ docker top 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb -eo pid,comm 20:47:29 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). 20:47:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:29 [ssh-agent] Looking for ssh-agent implementation... 20:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:29 $ docker exec 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent 20:47:30 SSH_AUTH_SOCK=/tmp/ssh-0hPxHvBzK2WW/agent.32 20:47:30 SSH_AGENT_PID=38 20:47:30 Running ssh-add (command line suppressed) 20:47:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6593525718555142922.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6593525718555142922.key) 20:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:30 + git tag --points-at HEAD [Pipeline] } 20:47:30 $ docker exec --env ******** --env ******** 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent -k 20:47:30 unset SSH_AUTH_SOCK; 20:47:30 unset SSH_AGENT_PID; 20:47:30 echo Agent pid 38 killed; 20:47:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:47:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:30 [ssh-agent] Looking for ssh-agent implementation... 20:47:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:30 $ docker exec 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent 20:47:30 SSH_AUTH_SOCK=/tmp/ssh-tBpCzpl5EHO9/agent.70 20:47:30 SSH_AGENT_PID=76 20:47:30 Running ssh-add (command line suppressed) 20:47:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5851333795942150701.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5851333795942150701.key) 20:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:31 + git semver init 20:47:31 2023-03-22 20:47:31,462 [run_init] DEBUG init version:0.0.0 force:False 20:47:31 2023-03-22 20:47:31,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 20:47:31 2023-03-22 20:47:31,464 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 20:47:31 2023-03-22 20:47:31,464 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) 20:47:32 2023-03-22 20:47:32,307 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 20:47:32 2023-03-22 20:47:32,308 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 20:47:32 2023-03-22 20:47:32,308 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 20:47:32 2023-03-22 20:47:32,311 [execute] INFO git cat-file --batch-check 20:47:32 2023-03-22 20:47:32,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 20:47:32 2023-03-22 20:47:32,317 [execute] INFO git cat-file --batch 20:47:32 2023-03-22 20:47:32,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 20:47:32 2023-03-22 20:47:32,323 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 20:47:32 0.0.0 [Pipeline] } 20:47:32 $ docker exec --env ******** --env ******** 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent -k 20:47:32 unset SSH_AUTH_SOCK; 20:47:32 unset SSH_AGENT_PID; 20:47:32 echo Agent pid 76 killed; 20:47:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:32 + git semver [Pipeline] } 20:47:33 $ docker stop --time=1 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb 20:47:34 $ docker rm -f --volumes 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb [Pipeline] // withDockerContainer [Pipeline] sh 20:47:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:47:35 Stashed 1 file(s) [Pipeline] echo 20:47:35 [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 20:47:35 provisioning config files... 20:47:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config12859465725916912621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:35 ---> docker-login.sh 20:47:35 nexus3.edgexfoundry.org:10001 20:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:35 Configure a credential helper to remove this warning. See 20:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:35 20:47:35 Login Succeeded 20:47:35 nexus3.edgexfoundry.org:10002 20:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:35 Configure a credential helper to remove this warning. See 20:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:35 20:47:35 Login Succeeded 20:47:35 nexus3.edgexfoundry.org:10003 20:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:35 Configure a credential helper to remove this warning. See 20:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:35 20:47:35 Login Succeeded 20:47:35 nexus3.edgexfoundry.org:10004 20:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:35 Configure a credential helper to remove this warning. See 20:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:35 20:47:35 Login Succeeded 20:47:35 docker.io 20:47:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:36 Configure a credential helper to remove this warning. See 20:47:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:36 20:47:36 Login Succeeded 20:47:36 ---> docker-login.sh ends [Pipeline] } 20:47:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:36 ========================================================= 20:47:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:47:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:36 + 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 . 20:47:36 Sending build context to Docker daemon 27.22MB 20:47:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:47:36 Step 2/13 : FROM ${BASE} AS builder 20:47:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:47:36 63b65145d645: Pulling fs layer 20:47:36 a2d21d5440eb: Pulling fs layer 20:47:36 935e6c44a52c: Pulling fs layer 20:47:36 94cc34f8dd06: Pulling fs layer 20:47:36 30dea6a524f1: Pulling fs layer 20:47:36 a2aff8979fd8: Pulling fs layer 20:47:36 6808be2612f2: Pulling fs layer 20:47:36 94cc34f8dd06: Waiting 20:47:36 30dea6a524f1: Waiting 20:47:36 a2aff8979fd8: Waiting 20:47:36 f25807f1079a: Pulling fs layer 20:47:36 6808be2612f2: Waiting 20:47:36 f25807f1079a: Waiting 20:47:36 a2d21d5440eb: Download complete 20:47:36 94cc34f8dd06: Verifying Checksum 20:47:36 94cc34f8dd06: Download complete 20:47:36 30dea6a524f1: Verifying Checksum 20:47:36 30dea6a524f1: Download complete 20:47:36 63b65145d645: Verifying Checksum 20:47:36 63b65145d645: Download complete 20:47:36 a2aff8979fd8: Verifying Checksum 20:47:36 a2aff8979fd8: Download complete 20:47:37 63b65145d645: Pull complete 20:47:37 a2d21d5440eb: Pull complete 20:47:37 935e6c44a52c: Download complete 20:47:37 f25807f1079a: Verifying Checksum 20:47:37 f25807f1079a: Download complete 20:47:37 6808be2612f2: Verifying Checksum 20:47:37 6808be2612f2: Download complete 20:47:41 935e6c44a52c: Pull complete 20:47:41 94cc34f8dd06: Pull complete 20:47:41 30dea6a524f1: Pull complete 20:47:41 a2aff8979fd8: Pull complete 20:47:43 6808be2612f2: Pull complete 20:47:44 f25807f1079a: Pull complete 20:47:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:47:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:47:44 ---> 3b553350e43f 20:47:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:47:46 ---> Running in fee07436b7f9 20:47:46 Removing intermediate container fee07436b7f9 20:47:46 ---> b453ab0ff74d 20:47:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:46 ---> Running in a04a252802e1 20:47:46 Removing intermediate container a04a252802e1 20:47:46 ---> caef81cca74b 20:47:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:47:47 ---> Running in c5177487821b 20:47:47 Removing intermediate container c5177487821b 20:47:47 ---> c0cac2d4e300 20:47:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:47:47 ---> Running in 2f0200c97e96 20:47:47 Removing intermediate container 2f0200c97e96 20:47:47 ---> 388900994987 20:47:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:47:47 ---> Running in 289c53be45a4 20:47:47 Removing intermediate container 289c53be45a4 20:47:47 ---> c862de85949f 20:47:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:47 ---> Running in d8ac4e6c5cd9 20:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:47:48 OK: 265 MiB in 53 packages 20:47:48 Removing intermediate container d8ac4e6c5cd9 20:47:48 ---> 76032153e370 20:47:48 Step 9/13 : WORKDIR /device-onvif-camera 20:47:48 ---> Running in a1e8021c2bea 20:47:48 Removing intermediate container a1e8021c2bea 20:47:48 ---> 700a6a2f333b 20:47:48 Step 10/13 : COPY go.mod vendor* ./ 20:47:48 ---> 376aca36bf61 20:47:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:48 ---> Running in bed8b9fc179b 20:47:50 Still waiting to schedule task 20:47:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5279’ is offline 20:48:27 Removing intermediate container bed8b9fc179b 20:48:27 ---> badd17b66015 20:48:27 Step 12/13 : COPY . . 20:48:27 ---> 15ce7065e2d7 20:48:27 Step 13/13 : RUN ${MAKE} 20:48:27 ---> Running in 3633cbf61d2e 20:48:27 noop 20:48:27 Removing intermediate container 3633cbf61d2e 20:48:27 ---> 671ec7cac261 20:48:27 Successfully built 671ec7cac261 20:48:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:27 + docker inspect -f . ci-base-image-x86_64 20:48:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:27 prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container 20:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 20:48:28 $ docker top 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:28 + go version 20:48:28 go version go1.20.2 linux/amd64 [Pipeline] } 20:48:28 $ docker stop --time=1 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a 20:48:29 $ docker rm -f --volumes 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:30 + docker inspect -f . ci-base-image-x86_64 20:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:30 prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container 20:48:30 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 20:48:30 $ docker top 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:31 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 20:48:31 + make test 20:48:31 go test ./... -coverprofile=coverage.out ./... 20:48:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:48:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:48:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:48:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.7% of statements 20:48:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.851s coverage: 86.5% of statements 20:48:57 go vet ./... 20:49:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:02 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:02 $ docker stop --time=1 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f 20:49:04 $ docker rm -f --volumes 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f [Pipeline] // withDockerContainer [Pipeline] sh 20:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:05 + ls -al . 20:49:05 total 236 20:49:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 20:48 . 20:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 .. 20:49:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 20:47 .git 20:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:47 .github 20:49:05 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 20:47 .gitignore 20:49:05 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 20:47 .golangci.yml 20:49:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:47 .semver 20:49:05 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 20:47 Attribution.txt 20:49:05 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 20:47 CHANGELOG.md 20:49:05 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 20:47 Dockerfile 20:49:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 20:47 GOVERNANCE.md 20:49:05 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 20:47 Jenkinsfile 20:49:05 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 20:47 LICENSE 20:49:05 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 20:47 Makefile 20:49:05 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 20:47 OWNERS.md 20:49:05 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 20:47 README.md 20:49:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 20:47 VERSION 20:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:47 bin 20:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:47 cmd 20:49:05 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 20:48 coverage.out 20:49:05 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 20:47 doc 20:49:05 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 20:47 go.mod 20:49:05 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 20:47 go.sum 20:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 internal 20:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 snap 20:49:05 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:05 + 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=2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 --label arch=amd64 --label version=0.0.0 . 20:49:05 Sending build context to Docker daemon 27.3MB 20:49:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:49:05 Step 2/26 : FROM ${BASE} AS builder 20:49:05 ---> 671ec7cac261 20:49:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:49:05 ---> Running in 0b3f9286960b 20:49:06 Removing intermediate container 0b3f9286960b 20:49:06 ---> 1bf44242cd18 20:49:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:06 ---> Running in 6a0b88549a46 20:49:06 Removing intermediate container 6a0b88549a46 20:49:06 ---> db9ece36601c 20:49:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:49:06 ---> Running in ae5bda2ac259 20:49:06 Removing intermediate container ae5bda2ac259 20:49:06 ---> f6860bb438e2 20:49:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:49:06 ---> Running in ca45d59add97 20:49:06 Removing intermediate container ca45d59add97 20:49:06 ---> ed42a2857459 20:49:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:49:06 ---> Running in c1e0f5cf716f 20:49:06 Removing intermediate container c1e0f5cf716f 20:49:06 ---> 6dc5860cf759 20:49:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:06 ---> Running in ada72346fcf6 20:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:49:07 OK: 265 MiB in 53 packages 20:49:07 Removing intermediate container ada72346fcf6 20:49:07 ---> 508f7488ec8d 20:49:07 Step 9/26 : WORKDIR /device-onvif-camera 20:49:07 ---> Running in 91d15afcac20 20:49:07 Removing intermediate container 91d15afcac20 20:49:07 ---> da11349d3d59 20:49:07 Step 10/26 : COPY go.mod vendor* ./ 20:49:08 ---> 87aa39ccd976 20:49:08 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:08 ---> Running in 089a57bf1543 20:49:09 Removing intermediate container 089a57bf1543 20:49:09 ---> 26961acb2925 20:49:09 Step 12/26 : COPY . . 20:49:09 ---> 3d7d078b5696 20:49:09 Step 13/26 : RUN ${MAKE} 20:49:09 ---> Running in 82f372b2647e 20:49:10 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 20:49:32 Removing intermediate container 82f372b2647e 20:49:32 ---> 118d115a2c2d 20:49:32 Step 14/26 : FROM alpine:3.17 20:49:32 3.17: Pulling from library/alpine 20:49:32 63b65145d645: Already exists 20:49:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:49:32 Status: Downloaded newer image for alpine:3.17 20:49:32 ---> b2aa39c304c2 20:49:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:49:32 ---> Running in 7b8e19678b16 20:49:32 Removing intermediate container 7b8e19678b16 20:49:32 ---> 02fb1d567541 20:49:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:49:32 ---> Running in c44caba09512 20:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:49:32 (1/1) Installing dumb-init (1.2.5-r2) 20:49:32 Executing busybox-1.35.0-r29.trigger 20:49:32 OK: 7 MiB in 16 packages 20:49:32 Removing intermediate container c44caba09512 20:49:32 ---> bee542ccebe4 20:49:32 Step 17/26 : WORKDIR / 20:49:32 ---> Running in 27995efd695e 20:49:32 Removing intermediate container 27995efd695e 20:49:32 ---> d1484700e934 20:49:32 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:49:32 ---> 6977ccbc6592 20:49:32 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:49:32 ---> 3eb2cf4bbd56 20:49:32 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:49:33 ---> bc3532ae8bab 20:49:33 Step 21/26 : EXPOSE 59984 20:49:33 ---> Running in d1b74e94b395 20:49:33 Removing intermediate container d1b74e94b395 20:49:33 ---> c61175f21819 20:49:33 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:49:33 ---> Running in 08e742fb06ee 20:49:33 Removing intermediate container 08e742fb06ee 20:49:33 ---> bbd32af9269e 20:49:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:49:33 ---> Running in 4bd17487e60d 20:49:33 Removing intermediate container 4bd17487e60d 20:49:33 ---> 50275d9bebff 20:49:33 Step 24/26 : LABEL arch=amd64 20:49:33 ---> Running in c6abe8824469 20:49:33 Removing intermediate container c6abe8824469 20:49:33 ---> a8a00951aa74 20:49:33 Step 25/26 : LABEL git_sha=2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 20:49:33 ---> Running in 9232c3c0c8a5 20:49:34 Removing intermediate container 9232c3c0c8a5 20:49:34 ---> 21d00878e964 20:49:34 Step 26/26 : LABEL version=0.0.0 20:49:34 ---> Running in 0f9d2015d7f8 20:49:34 Removing intermediate container 0f9d2015d7f8 20:49:34 ---> e64077ae1598 20:49:34 [Warning] One or more build-args [ARCH] were not consumed 20:49:34 Successfully built e64077ae1598 20:49:34 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 20:49:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:34 20:49:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:34 latest: Pulling from edgex-lftools-log-publisher 20:49:34 5eb5b503b376: Pulling fs layer 20:49:34 5c69ac0246d0: Pulling fs layer 20:49:34 ec43610c2a17: Pulling fs layer 20:49:34 3a2ae6a8a46f: Pulling fs layer 20:49:34 33b1e0a273af: Pulling fs layer 20:49:34 5d3b04190fa2: Pulling fs layer 20:49:34 2f39f015ded8: Pulling fs layer 20:49:34 33b1e0a273af: Waiting 20:49:34 5d3b04190fa2: Waiting 20:49:34 2f39f015ded8: Waiting 20:49:34 3a2ae6a8a46f: Waiting 20:49:34 5c69ac0246d0: Verifying Checksum 20:49:34 5c69ac0246d0: Download complete 20:49:34 3a2ae6a8a46f: Verifying Checksum 20:49:34 3a2ae6a8a46f: Download complete 20:49:35 33b1e0a273af: Verifying Checksum 20:49:35 33b1e0a273af: Download complete 20:49:35 5d3b04190fa2: Verifying Checksum 20:49:35 5d3b04190fa2: Download complete 20:49:35 ec43610c2a17: Verifying Checksum 20:49:35 ec43610c2a17: Download complete 20:49:35 5eb5b503b376: Verifying Checksum 20:49:35 5eb5b503b376: Download complete 20:49:35 2f39f015ded8: Verifying Checksum 20:49:35 2f39f015ded8: Download complete 20:49:36 5eb5b503b376: Pull complete 20:49:36 5c69ac0246d0: Pull complete 20:49:37 ec43610c2a17: Pull complete 20:49:37 3a2ae6a8a46f: Pull complete 20:49:37 33b1e0a273af: Pull complete 20:49:37 5d3b04190fa2: Pull complete 20:49:42 2f39f015ded8: Pull complete 20:49:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:42 prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container 20:49:42 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 20:49:44 $ docker top bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:44 ---> job-cost.sh 20:49:44 lf-activate-venv: SKIPPING 20:49:44 INFO: No Stack... 20:49:45 INFO: Retrieving Pricing Info for: v3-standard-8 20:49:45 INFO: Archiving Costs [Pipeline] sh 20:49:46 + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv 20:49:46 + cut -d, -f6 [Pipeline] lock 20:49:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] 20:49:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] did not exist. Created. 20:49:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:49:46 + echo total: 0.2199999988079071 [Pipeline] stash 20:49:46 Stashed 1 file(s) [Pipeline] } 20:49:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:49:46 $ docker stop --time=1 bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c 20:49:47 $ docker rm -f --volumes bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:49:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5281 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws 20:49:50 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 20:49:50 The recommended git tool is: git 20:50:01 using credential edgex-jenkins-ssh 20:50:01 Cloning the remote Git repository 20:50:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:50:01 > git init /w/workspace/device-onvif-camera/8 # timeout=10 20:50:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:50:01 > git --version # timeout=10 20:50:02 > git --version # 'git version 2.25.1' 20:50:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:50:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:50:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:50:06 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 05c851161300a38c95846c5528dad20742973dec 20:50:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:50:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:50:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:50:06 > git config core.sparsecheckout # timeout=10 20:50:06 > git checkout -f 05c851161300a38c95846c5528dad20742973dec # timeout=10 20:50:08 Merge succeeded, producing 454bb8809c70651e487a1a798886b44a9cbdbd45 20:50:08 Checking out Revision 454bb8809c70651e487a1a798886b44a9cbdbd45 (PR-281) 20:50:07 > git remote # timeout=10 20:50:07 > git config --get remote.origin.url # timeout=10 20:50:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:07 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 20:50:08 > git rev-parse HEAD^{commit} # timeout=10 20:50:08 > git config core.sparsecheckout # timeout=10 20:50:08 > git checkout -f 454bb8809c70651e487a1a798886b44a9cbdbd45 # timeout=10 20:50:11 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 20:50:11 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:50:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:50:12 Dload Upload Total Spent Left Speed 20:50:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 20:50:11 > git rev-list --no-walk 66864d28fca1ab84d07011c328eeca2611b1502e # timeout=10 [Pipeline] sh 20:50:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:50:13 + sudo tee /etc/docker/daemon.new 20:50:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:50:13 { 20:50:13 "registry-mirrors": [ 20:50:13 "https://nexus3.edgexfoundry.org:10001" 20:50:13 ], 20:50:13 "bip": "10.250.0.254/24", 20:50:13 "hosts": [ 20:50:13 "tcp://0.0.0.0:5555", 20:50:13 "unix:///var/run/docker.sock" 20:50:13 ], 20:50:13 "mtu": 1458, 20:50:13 "selinux-enabled": true, 20:50:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:50:13 } [Pipeline] sh 20:50:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:50:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:32 provisioning config files... 20:50:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config14943099039356850369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:33 ---> docker-login.sh 20:50:33 nexus3.edgexfoundry.org:10001 20:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:33 Configure a credential helper to remove this warning. See 20:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:33 20:50:33 Login Succeeded 20:50:33 nexus3.edgexfoundry.org:10002 20:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:34 nexus3.edgexfoundry.org:10003 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:34 nexus3.edgexfoundry.org:10004 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:34 Configure a credential helper to remove this warning. See 20:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:34 20:50:34 Login Succeeded 20:50:34 docker.io 20:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:35 Configure a credential helper to remove this warning. See 20:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:35 20:50:35 Login Succeeded 20:50:35 ---> docker-login.sh ends [Pipeline] } 20:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:35 ========================================================= 20:50:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:50:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:35 + 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 . 20:50:36 Sending build context to Docker daemon 19.92MB 20:50:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:50:36 Step 2/13 : FROM ${BASE} AS builder 20:50:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:50:36 af6eaf76a39c: Pulling fs layer 20:50:36 55522c791124: Pulling fs layer 20:50:36 ce5c4a1c91eb: Pulling fs layer 20:50:36 169dfbe0d373: Pulling fs layer 20:50:36 e1ff8fa3b103: Pulling fs layer 20:50:36 52ebb69f0ebf: Pulling fs layer 20:50:36 5abe8eddf0d5: Pulling fs layer 20:50:36 e1ff8fa3b103: Waiting 20:50:36 52ebb69f0ebf: Waiting 20:50:36 5abe8eddf0d5: Waiting 20:50:36 55522c791124: Verifying Checksum 20:50:36 55522c791124: Download complete 20:50:36 169dfbe0d373: Verifying Checksum 20:50:36 169dfbe0d373: Download complete 20:50:36 e1ff8fa3b103: Download complete 20:50:36 af6eaf76a39c: Verifying Checksum 20:50:36 af6eaf76a39c: Download complete 20:50:37 5abe8eddf0d5: Verifying Checksum 20:50:37 5abe8eddf0d5: Download complete 20:50:37 af6eaf76a39c: Pull complete 20:50:39 ce5c4a1c91eb: Verifying Checksum 20:50:39 ce5c4a1c91eb: Download complete 20:50:39 52ebb69f0ebf: Verifying Checksum 20:50:39 52ebb69f0ebf: Download complete 20:50:40 55522c791124: Pull complete 20:50:50 ce5c4a1c91eb: Pull complete 20:50:50 169dfbe0d373: Pull complete 20:50:50 e1ff8fa3b103: Pull complete 20:50:57 52ebb69f0ebf: Pull complete 20:50:59 5abe8eddf0d5: Pull complete 20:50:59 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:50:59 ---> 6cb57ee374ae 20:50:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:51:01 ---> Running in 9dc25f7af697 20:51:01 Removing intermediate container 9dc25f7af697 20:51:01 ---> 26b774efb27d 20:51:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:01 ---> Running in 995568db1309 20:51:01 Removing intermediate container 995568db1309 20:51:01 ---> 2df17aceaf2e 20:51:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:51:01 ---> Running in 780f4148ec60 20:51:02 Removing intermediate container 780f4148ec60 20:51:02 ---> 74ed10b486d4 20:51:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:51:02 ---> Running in 2a4d8a4b2c0a 20:51:02 Removing intermediate container 2a4d8a4b2c0a 20:51:02 ---> 4b262edd8a53 20:51:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:51:02 ---> Running in 8bdff08bf3b1 20:51:02 Removing intermediate container 8bdff08bf3b1 20:51:02 ---> 461f4fef98c2 20:51:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:02 ---> Running in 3b1a7ae110e8 20:51:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:51:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:51:05 OK: 263 MiB in 53 packages 20:51:06 Removing intermediate container 3b1a7ae110e8 20:51:06 ---> ebf3e30d215e 20:51:06 Step 9/13 : WORKDIR /device-onvif-camera 20:51:06 ---> Running in 8abfa75f4ff2 20:51:06 Removing intermediate container 8abfa75f4ff2 20:51:06 ---> e45e3b404ef2 20:51:06 Step 10/13 : COPY go.mod vendor* ./ 20:51:07 ---> 406e9d22e7a5 20:51:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:07 ---> Running in ddd6605c4eb0 20:52:15 Removing intermediate container ddd6605c4eb0 20:52:15 ---> 451eef9dcac1 20:52:15 Step 12/13 : COPY . . 20:52:17 ---> 341d49874191 20:52:17 Step 13/13 : RUN ${MAKE} 20:52:17 ---> Running in e816d294bf1b 20:52:18 noop 20:52:18 Removing intermediate container e816d294bf1b 20:52:18 ---> 5582e6d486b4 20:52:18 Successfully built 5582e6d486b4 20:52:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:19 + docker inspect -f . ci-base-image-arm64 20:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:19 prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container 20:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-arm64 cat 20:52:20 $ docker top d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:21 + go version 20:52:21 go version go1.20.2 linux/arm64 [Pipeline] } 20:52:21 $ docker stop --time=1 d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 20:52:23 $ docker rm -f --volumes d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:23 + docker inspect -f . ci-base-image-arm64 20:52:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:24 prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container 20:52:24 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-arm64 cat 20:52:26 $ docker top 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh 20:52:27 + make test 20:52:27 go test ./... -coverprofile=coverage.out ./... 20:53:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:55:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:55:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:55:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.7% of statements 20:55:48 --- FAIL: TestIpGenerator (0.00s) 20:55:48 --- FAIL: TestIpGenerator/basic_/8_subnet (30.18s) 20:55:48 util_test.go:180: 20:55:48 Error Trace: /w/workspace/device-onvif-camera/8/internal/netscan/util_test.go:180 20:55:48 Error: Not equal: 20:55:48 expected: 0xfffffe 20:55:48 actual : 0xdf51aa 20:55:48 Test: TestIpGenerator/basic_/8_subnet 20:55:48 util_test.go:183: 20:55:48 Error Trace: /w/workspace/device-onvif-camera/8/internal/netscan/util_test.go:183 20:55:48 Error: Not equal: 20:55:48 expected: "10.255.255.254" 20:55:48 actual : "10.223.81.170" 20:55:48 20:55:48 Diff: 20:55:48 --- Expected 20:55:48 +++ Actual 20:55:48 @@ -1 +1 @@ 20:55:48 -10.255.255.254 20:55:48 +10.223.81.170 20:55:48 Test: TestIpGenerator/basic_/8_subnet 20:55:48 FAIL 20:55:48 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 20:55:48 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.399s 20:55:48 FAIL 20:55:48 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 20:55:48 $ docker stop --time=1 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 20:55:51 $ docker rm -f --volumes 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 [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 20:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:53 20:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:53 arm64: Pulling from edgex-lftools-log-publisher 20:55:53 8998bd30e6a1: Pulling fs layer 20:55:53 04944245beec: Pulling fs layer 20:55:53 699f458cf7ca: Pulling fs layer 20:55:53 765212b225bb: Pulling fs layer 20:55:53 f23df028b6ca: Pulling fs layer 20:55:53 d65c8cfc05b1: Pulling fs layer 20:55:53 2437ff75d9bd: Pulling fs layer 20:55:53 765212b225bb: Waiting 20:55:53 f23df028b6ca: Waiting 20:55:53 d65c8cfc05b1: Waiting 20:55:53 2437ff75d9bd: Waiting 20:55:53 04944245beec: Verifying Checksum 20:55:53 04944245beec: Download complete 20:55:53 765212b225bb: Verifying Checksum 20:55:53 765212b225bb: Download complete 20:55:54 f23df028b6ca: Verifying Checksum 20:55:54 f23df028b6ca: Download complete 20:55:54 d65c8cfc05b1: Verifying Checksum 20:55:54 d65c8cfc05b1: Download complete 20:55:54 699f458cf7ca: Verifying Checksum 20:55:54 699f458cf7ca: Download complete 20:55:54 8998bd30e6a1: Download complete 20:55:57 2437ff75d9bd: Verifying Checksum 20:55:57 2437ff75d9bd: Download complete 20:55:58 8998bd30e6a1: Pull complete 20:55:59 04944245beec: Pull complete 20:56:01 699f458cf7ca: Pull complete 20:56:01 765212b225bb: Pull complete 20:56:01 f23df028b6ca: Pull complete 20:56:02 d65c8cfc05b1: Pull complete 20:56:17 2437ff75d9bd: Pull complete 20:56:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:17 prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container 20:56:17 $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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:arm64 cat 20:56:19 $ docker top eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:20 ---> job-cost.sh 20:56:20 lf-activate-venv: SKIPPING 20:56:20 INFO: No Stack... 20:56:20 INFO: Retrieving Pricing Info for: v3-standard-4 20:56:21 INFO: Archiving Costs [Pipeline] sh 20:56:22 + cat /w/workspace/device-onvif-camera/8/archives/cost.csv 20:56:22 + cut -d, -f6 [Pipeline] lock 20:56:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] 20:56:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] did not exist. Created. 20:56:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:22 /w/workspace/device-onvif-camera/8@tmp/durable-96974c4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:23 + echo total: 0.10999999940395355 [Pipeline] stash 20:56:23 Warning: overwriting stash ‘stack-cost’ 20:56:24 Stashed 1 file(s) [Pipeline] } 20:56:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:24 $ docker stop --time=1 eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af 20:56:25 $ docker rm -f --volumes eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:56:25 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 20:56:26 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 20:56:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 20:56:26 total 16 20:56:26 drwxr-xr-x 3 root root 4096 Mar 22 20:49 . 20:56:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 20:49 .. 20:56:26 drwxr-xr-x 2 root root 4096 Mar 22 20:49 cost 20:56:26 -rw-r--r-- 1 root root 91 Mar 22 20:49 cost.csv 20:56:26 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 20:56:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 20:56:26 total 16 20:56:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:49 . 20:56:26 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 20:49 .. 20:56:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 20:49 cost 20:56:26 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 20:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:56:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:27 ---> package-listing.sh 20:56:27 ++ facter osfamily 20:56:27 ++ tr '[:upper:]' '[:lower:]' 20:56:27 + OS_FAMILY=debian 20:56:27 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 20:56:27 + START_PACKAGES=/tmp/packages_start.txt 20:56:27 + END_PACKAGES=/tmp/packages_end.txt 20:56:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:27 + PACKAGES=/tmp/packages_start.txt 20:56:27 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 20:56:27 + PACKAGES=/tmp/packages_end.txt 20:56:27 + case "${OS_FAMILY}" in 20:56:27 + dpkg -l 20:56:27 + grep '^ii' 20:56:27 + '[' -f /tmp/packages_start.txt ']' 20:56:27 + '[' -f /tmp/packages_end.txt ']' 20:56:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:27 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 20:56:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 20:56:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo 20:56:27 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:56:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:28 prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container 20:56:28 $ 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-281/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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 20:56:29 $ docker top 453207bca6e6a1f5b193db24bb1d05aab4891268387de14fa1806aa97a2bcb50 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:29 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:29 + mkdir -p /var/log/sysstat [Pipeline] sh 20:56:29 + ls /var/log/sa-host 20:56:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:29 provisioning config files... 20:56:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17888145094668820033tmp [Pipeline] { [Pipeline] echo 20:56:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:30 ---> create-netrc.sh [Pipeline] } 20:56:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:56:30 ---> python-tools-install.sh [Pipeline] echo 20:56:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:30 ---> sudo-logs.sh 20:56:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:31 ---> job-cost.sh 20:56:31 lf-activate-venv: SKIPPING 20:56:31 DEBUG: total: 0.2199999988079071 20:56:31 INFO: Retrieving Stack Cost... 20:56:31 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:31 INFO: Archiving Costs [Pipeline] echo 20:56:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:56:32 ---> logs-deploy.sh 20:56:32 lf-activate-venv: SKIPPING 20:56:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/8 20:56:32 INFO: archiving workspace using pattern(s): 20:56:33 Archives upload complete. 20:56:33 INFO: archiving logs to Nexus