Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332+6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (d2b5adc4f7cbad019968d15b1292286bc7afb530) 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-ssh17824802145900101684.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14073911474009302559.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14452411376005330100.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12903954562820253579.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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10566433571730538847.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-9497’ Running on prd-ubuntu20.04-docker-8c-8g-9501 in /w/workspace/undry_device-onvif-camera_PR-318 [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-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 Merge succeeded, producing a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 Checking out Revision a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 (PR-318) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:31:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:31:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:31:06 ========================================================= 06:31:06 EdgeX Global Pipelines Version Info 06:31:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # 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 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 > git rev-list --no-walk 7221876b6da006da8c58eaf12d64350a394df114 # timeout=10 06:31:07 ------------------- 06:31:07 stable info: 06:31:07 ------------------- 06:31:07 Commited By: Bill Mahoney bill.mahoney@intel.com 06:31:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:31:07 Message: update stable to v1.0.248 06:31:08 ------------------- 06:31:08 experimental info: 06:31:08 ------------------- 06:31:08 Commited By: **** collab-it+edgex@linuxfoundation.org 06:31:08 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:31:08 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1c1e41 [Pipeline] echo 06:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:08 provisioning config files... 06:31:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config4966452645241751229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:09 ---> docker-login.sh 06:31:09 nexus3.edgexfoundry.org:10001 06:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:09 Configure a credential helper to remove this warning. See 06:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:09 06:31:09 Login Succeeded 06:31:09 nexus3.edgexfoundry.org:10002 06:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:09 Configure a credential helper to remove this warning. See 06:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:09 06:31:09 Login Succeeded 06:31:09 nexus3.edgexfoundry.org:10003 06:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:09 Configure a credential helper to remove this warning. See 06:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:09 06:31:09 Login Succeeded 06:31:09 nexus3.edgexfoundry.org:10004 06:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:09 Configure a credential helper to remove this warning. See 06:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:09 06:31:09 Login Succeeded 06:31:09 docker.io 06:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:09 Configure a credential helper to remove this warning. See 06:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:09 06:31:09 Login Succeeded 06:31:09 ---> docker-login.sh ends [Pipeline] } 06:31:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:31:10 + git rev-list -1 --merges a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332~1..a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo 06:31:10 -----------> git rev-list -1 --merges a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332~1..a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [false] [Pipeline] sh 06:31:10 + git log --format=format:%s -1 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo 06:31:10 ========================================================= 06:31:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:31:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:11 + git log --format=format:%s -1 a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 [Pipeline] echo 06:31:11 [semverPrep] GIT_COMMIT: a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 06:31:11 [semverPrep] This is not a build commit. [Pipeline] sh 06:31:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:31:11 + grep -v github /etc/ssh/ssh_known_hosts 06:31:11 + [ -e /tmp/ssh_known_hosts ] 06:31:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:31:11 + + sudo tee -a /etc/ssh/ssh_known_hosts 06:31:11 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:31:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:31:11 06:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:31:12 0.1.4: Pulling from edgex-devops/py-git-semver 06:31:12 b85a868b505f: Pulling fs layer 06:31:12 e2be974225ed: Pulling fs layer 06:31:12 339a4e72a1f5: Pulling fs layer 06:31:12 988bab9f4d93: Pulling fs layer 06:31:12 1469e6f7b9e6: Pulling fs layer 06:31:12 988bab9f4d93: Waiting 06:31:12 eaf3925da568: Pulling fs layer 06:31:12 bab4dde63d76: Pulling fs layer 06:31:12 bde34c3a00c8: Pulling fs layer 06:31:12 b352a97aabf1: Pulling fs layer 06:31:12 4872d77fe225: Pulling fs layer 06:31:12 5851b861e8e6: Pulling fs layer 06:31:12 bab4dde63d76: Waiting 06:31:12 bde34c3a00c8: Waiting 06:31:12 b352a97aabf1: Waiting 06:31:12 eaf3925da568: Waiting 06:31:12 5851b861e8e6: Waiting 06:31:12 1469e6f7b9e6: Waiting 06:31:12 e2be974225ed: Verifying Checksum 06:31:12 e2be974225ed: Download complete 06:31:12 988bab9f4d93: Verifying Checksum 06:31:12 988bab9f4d93: Download complete 06:31:12 1469e6f7b9e6: Verifying Checksum 06:31:12 1469e6f7b9e6: Download complete 06:31:12 339a4e72a1f5: Verifying Checksum 06:31:12 339a4e72a1f5: Download complete 06:31:12 bde34c3a00c8: Download complete 06:31:12 b352a97aabf1: Download complete 06:31:12 4872d77fe225: Download complete 06:31:12 5851b861e8e6: Download complete 06:31:12 b85a868b505f: Verifying Checksum 06:31:12 b85a868b505f: Download complete 06:31:12 bab4dde63d76: Verifying Checksum 06:31:12 bab4dde63d76: Download complete 06:31:13 b85a868b505f: Pull complete 06:31:13 e2be974225ed: Pull complete 06:31:14 339a4e72a1f5: Pull complete 06:31:14 988bab9f4d93: Pull complete 06:31:14 1469e6f7b9e6: Pull complete 06:31:14 eaf3925da568: Pull complete 06:31:16 bab4dde63d76: Pull complete 06:31:16 bde34c3a00c8: Pull complete 06:31:16 b352a97aabf1: Pull complete 06:31:16 4872d77fe225: Pull complete 06:31:16 5851b861e8e6: Pull complete 06:31:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:31:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:16 prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container 06:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:31:19 $ docker top 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 -eo pid,comm 06:31:19 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). 06:31:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:19 [ssh-agent] Looking for ssh-agent implementation... 06:31:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:19 $ docker exec 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent 06:31:19 SSH_AUTH_SOCK=/tmp/ssh-5HSfvj8xg2TC/agent.32 06:31:19 SSH_AGENT_PID=38 06:31:19 Running ssh-add (command line suppressed) 06:31:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_3565554249569381566.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_3565554249569381566.key) 06:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:19 + git tag --points-at HEAD [Pipeline] } 06:31:19 $ docker exec --env ******** --env ******** 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent -k 06:31:20 unset SSH_AUTH_SOCK; 06:31:20 unset SSH_AGENT_PID; 06:31:20 echo Agent pid 38 killed; 06:31:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:31:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:20 [ssh-agent] Looking for ssh-agent implementation... 06:31:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:20 $ docker exec 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent 06:31:20 SSH_AUTH_SOCK=/tmp/ssh-cnvRXVMWpJJl/agent.70 06:31:20 SSH_AGENT_PID=76 06:31:20 Running ssh-add (command line suppressed) 06:31:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_6272075895199580783.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_6272075895199580783.key) 06:31:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:20 + git semver init 06:31:20 2023-04-24 06:31:20,889 [run_init] DEBUG init version:0.0.0 force:False 06:31:20 2023-04-24 06:31:20,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-318/.semver 06:31:20 2023-04-24 06:31:20,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-318/.semver 06:31:20 2023-04-24 06:31:20,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-318/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-318, universal_newlines=False, shell=None, istream=None) 06:31:21 2023-04-24 06:31:21,737 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-318/.git/info/exclude 06:31:21 2023-04-24 06:31:21,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 with force:False 06:31:21 2023-04-24 06:31:21,738 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 06:31:21 2023-04-24 06:31:21,742 [execute] INFO git cat-file --batch-check 06:31:21 2023-04-24 06:31:21,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) 06:31:21 2023-04-24 06:31:21,749 [execute] INFO git cat-file --batch 06:31:21 2023-04-24 06:31:21,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) 06:31:21 2023-04-24 06:31:21,754 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 06:31:21 0.0.0 [Pipeline] } 06:31:21 $ docker exec --env ******** --env ******** 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 ssh-agent -k 06:31:22 unset SSH_AUTH_SOCK; 06:31:22 unset SSH_AGENT_PID; 06:31:22 echo Agent pid 76 killed; 06:31:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:22 + git semver [Pipeline] } 06:31:22 $ docker stop --time=1 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 06:31:23 $ docker rm -f --volumes 62b3a42beabd34b5f488ade2e2010eda2d283f95e9a0b0679cfc42967bec23a3 [Pipeline] // withDockerContainer [Pipeline] sh 06:31:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:31:24 Stashed 1 file(s) [Pipeline] echo 06:31:24 [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 06:31:24 provisioning config files... 06:31:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config1055885242357792062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:24 ---> docker-login.sh 06:31:24 nexus3.edgexfoundry.org:10001 06:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:24 Configure a credential helper to remove this warning. See 06:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:24 06:31:24 Login Succeeded 06:31:24 nexus3.edgexfoundry.org:10002 06:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:24 Configure a credential helper to remove this warning. See 06:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:24 06:31:24 Login Succeeded 06:31:24 nexus3.edgexfoundry.org:10003 06:31:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:25 Configure a credential helper to remove this warning. See 06:31:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:25 06:31:25 Login Succeeded 06:31:25 nexus3.edgexfoundry.org:10004 06:31:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:25 Configure a credential helper to remove this warning. See 06:31:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:25 06:31:25 Login Succeeded 06:31:25 docker.io 06:31:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:25 Configure a credential helper to remove this warning. See 06:31:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:25 06:31:25 Login Succeeded 06:31:25 ---> docker-login.sh ends [Pipeline] } 06:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:31:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:25 ========================================================= 06:31:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:31:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:25 + 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 . 06:31:25 Sending build context to Docker daemon 26.93MB 06:31:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:31:25 Step 2/13 : FROM ${BASE} AS builder 06:31:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:26 63b65145d645: Pulling fs layer 06:31:26 a2d21d5440eb: Pulling fs layer 06:31:26 935e6c44a52c: Pulling fs layer 06:31:26 94cc34f8dd06: Pulling fs layer 06:31:26 30dea6a524f1: Pulling fs layer 06:31:26 a2aff8979fd8: Pulling fs layer 06:31:26 6808be2612f2: Pulling fs layer 06:31:26 f25807f1079a: Pulling fs layer 06:31:26 94cc34f8dd06: Waiting 06:31:26 30dea6a524f1: Waiting 06:31:26 a2aff8979fd8: Waiting 06:31:26 6808be2612f2: Waiting 06:31:26 f25807f1079a: Waiting 06:31:26 a2d21d5440eb: Download complete 06:31:26 94cc34f8dd06: Verifying Checksum 06:31:26 94cc34f8dd06: Download complete 06:31:26 30dea6a524f1: Verifying Checksum 06:31:26 30dea6a524f1: Download complete 06:31:26 63b65145d645: Verifying Checksum 06:31:26 63b65145d645: Download complete 06:31:26 a2aff8979fd8: Verifying Checksum 06:31:26 a2aff8979fd8: Download complete 06:31:26 63b65145d645: Pull complete 06:31:26 a2d21d5440eb: Pull complete 06:31:26 f25807f1079a: Download complete 06:31:26 935e6c44a52c: Verifying Checksum 06:31:26 935e6c44a52c: Download complete 06:31:26 6808be2612f2: Verifying Checksum 06:31:26 6808be2612f2: Download complete 06:31:30 935e6c44a52c: Pull complete 06:31:30 94cc34f8dd06: Pull complete 06:31:30 30dea6a524f1: Pull complete 06:31:30 a2aff8979fd8: Pull complete 06:31:32 6808be2612f2: Pull complete 06:31:33 f25807f1079a: Pull complete 06:31:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:31:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:31:33 ---> 3b553350e43f 06:31:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:31:37 ---> Running in 0b2612bf7768 06:31:37 Removing intermediate container 0b2612bf7768 06:31:37 ---> 986bc98419b9 06:31:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:31:37 ---> Running in c82fa6470f75 06:31:37 Removing intermediate container c82fa6470f75 06:31:37 ---> bd2cee1b49d7 06:31:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:31:37 ---> Running in 291da1424f4a 06:31:37 Removing intermediate container 291da1424f4a 06:31:37 ---> f04b0a7ec4d0 06:31:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:31:37 ---> Running in 5994cc9846c4 06:31:37 Removing intermediate container 5994cc9846c4 06:31:37 ---> 7f2c34a72213 06:31:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:31:37 ---> Running in ddb302794a9f 06:31:37 Removing intermediate container ddb302794a9f 06:31:37 ---> 2ca6911e6437 06:31:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:31:37 ---> Running in 3ef32615f4ed 06:31:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:31:38 OK: 265 MiB in 53 packages 06:31:38 Removing intermediate container 3ef32615f4ed 06:31:38 ---> 7e4e3ff0eec8 06:31:38 Step 9/13 : WORKDIR /device-onvif-camera 06:31:38 ---> Running in 5b62ee8be5d8 06:31:38 Removing intermediate container 5b62ee8be5d8 06:31:38 ---> 1946257a0a9b 06:31:38 Step 10/13 : COPY go.mod vendor* ./ 06:31:38 ---> 08e6468e0bf8 06:31:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:38 ---> Running in b68fd4dc542b 06:31:39 Still waiting to schedule task 06:31:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ 06:32:05 Removing intermediate container b68fd4dc542b 06:32:05 ---> bed65018e55e 06:32:05 Step 12/13 : COPY . . 06:32:05 ---> a0da519c789e 06:32:05 Step 13/13 : RUN ${MAKE} 06:32:05 ---> Running in 77f102f130fe 06:32:05 noop 06:32:05 Removing intermediate container 77f102f130fe 06:32:05 ---> 6afe360c6641 06:32:05 Successfully built 6afe360c6641 06:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:05 + docker inspect -f . ci-base-image-x86_64 06:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:05 prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container 06:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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 ******** ci-base-image-x86_64 cat 06:32:05 $ docker top 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:06 + go version 06:32:06 go version go1.20.2 linux/amd64 [Pipeline] } 06:32:06 $ docker stop --time=1 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a 06:32:07 $ docker rm -f --volumes 3c3e50eacb3b4dd45ce3278f40651640936c4318785a0ef07634ad9c178aa04a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:07 + docker inspect -f . ci-base-image-x86_64 06:32:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:08 prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container 06:32:08 $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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 ******** ci-base-image-x86_64 cat 06:32:08 $ docker top bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:08 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] fileExists [Pipeline] sh 06:32:09 + make test 06:32:09 go test ./... -coverprofile=coverage.out ./... 06:32:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:32:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:32:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:32:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.6% of statements 06:32:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.337s coverage: 86.5% of statements 06:32:33 go vet ./... 06:32:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:32:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:32:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:32:37 $ docker stop --time=1 bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 06:32:40 $ docker rm -f --volumes bb07d7664b5d60998f72caa4284127867f1ba6103e876e61dbee7305454e71a1 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:32:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:32:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:41 + ls -al . 06:32:41 total 236 06:32:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:32 . 06:32:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 .. 06:32:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:31 .git 06:32:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 .github 06:32:41 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:31 .gitignore 06:32:41 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:31 .golangci.yml 06:32:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:31 .semver 06:32:41 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:31 Attribution.txt 06:32:41 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:31 CHANGELOG.md 06:32:41 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:31 Dockerfile 06:32:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:31 GOVERNANCE.md 06:32:41 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:31 Jenkinsfile 06:32:41 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:31 LICENSE 06:32:41 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:31 Makefile 06:32:41 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:31 OWNERS.md 06:32:41 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:31 README.md 06:32:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:31 VERSION 06:32:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:31 bin 06:32:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 cmd 06:32:41 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:32 coverage.out 06:32:41 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:31 doc 06:32:41 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:31 go.mod 06:32:41 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:31 go.sum 06:32:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 internal 06:32:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 snap 06:32:41 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:41 + 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=a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 --label arch=amd64 --label version=0.0.0 . 06:32:41 Sending build context to Docker daemon 27.01MB 06:32:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:32:41 Step 2/26 : FROM ${BASE} AS builder 06:32:41 ---> 6afe360c6641 06:32:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:32:42 ---> Running in 40b1d41d7f29 06:32:42 Removing intermediate container 40b1d41d7f29 06:32:42 ---> 448cdc70cac5 06:32:42 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:32:42 ---> Running in 85c4f46b3493 06:32:42 Removing intermediate container 85c4f46b3493 06:32:42 ---> 1dd25195a454 06:32:42 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:32:42 ---> Running in 94ba38b632a7 06:32:42 Removing intermediate container 94ba38b632a7 06:32:42 ---> 5e795732415d 06:32:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:32:42 ---> Running in 61f0d73b5f79 06:32:42 Removing intermediate container 61f0d73b5f79 06:32:42 ---> da384233e919 06:32:42 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:32:42 ---> Running in 321cc168d552 06:32:42 Removing intermediate container 321cc168d552 06:32:42 ---> d58ca8b1ee3a 06:32:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:42 ---> Running in 20ff25f80b38 06:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:32:43 OK: 265 MiB in 53 packages 06:32:43 Removing intermediate container 20ff25f80b38 06:32:43 ---> 0d9c63379fe8 06:32:43 Step 9/26 : WORKDIR /device-onvif-camera 06:32:43 ---> Running in fdf41f7530b6 06:32:43 Removing intermediate container fdf41f7530b6 06:32:43 ---> 02a358a869d1 06:32:43 Step 10/26 : COPY go.mod vendor* ./ 06:32:43 ---> f33697a68a4c 06:32:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:43 ---> Running in bf4bddbb68a5 06:32:44 Removing intermediate container bf4bddbb68a5 06:32:44 ---> e4d3f20a23f1 06:32:44 Step 12/26 : COPY . . 06:32:45 ---> bb3b3366ee39 06:32:45 Step 13/26 : RUN ${MAKE} 06:32:45 ---> Running in 6d9e1a0ecc9d 06:32:45 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 06:33:07 Removing intermediate container 6d9e1a0ecc9d 06:33:07 ---> 2c8056b26d68 06:33:07 Step 14/26 : FROM alpine:3.17 06:33:07 3.17: Pulling from library/alpine 06:33:07 f56be85fc22e: Pulling fs layer 06:33:07 f56be85fc22e: Verifying Checksum 06:33:07 f56be85fc22e: Download complete 06:33:07 f56be85fc22e: Pull complete 06:33:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:33:07 Status: Downloaded newer image for alpine:3.17 06:33:07 ---> 9ed4aefc74f6 06:33:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:33:07 ---> Running in 5f9475577d34 06:33:07 Removing intermediate container 5f9475577d34 06:33:07 ---> 2289cd1b1038 06:33:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:33:07 ---> Running in 94e8ecf8afd5 06:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:33:07 (1/1) Installing dumb-init (1.2.5-r2) 06:33:07 Executing busybox-1.35.0-r29.trigger 06:33:07 OK: 7 MiB in 16 packages 06:33:07 Removing intermediate container 94e8ecf8afd5 06:33:07 ---> 419abee0b8e5 06:33:07 Step 17/26 : WORKDIR / 06:33:07 ---> Running in 705e2ac6afb4 06:33:07 Removing intermediate container 705e2ac6afb4 06:33:07 ---> a753f08ca2f3 06:33:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:33:07 ---> 6ea7d9225138 06:33:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:33:07 ---> ed3f519fa523 06:33:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:33:07 ---> bffad1266257 06:33:07 Step 21/26 : EXPOSE 59984 06:33:07 ---> Running in 3ecb81fc1105 06:33:07 Removing intermediate container 3ecb81fc1105 06:33:07 ---> bfef8fff1283 06:33:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:33:07 ---> Running in 79c279407740 06:33:07 Removing intermediate container 79c279407740 06:33:07 ---> 6df1866cd6e7 06:33:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:33:07 ---> Running in b2799b688000 06:33:07 Removing intermediate container b2799b688000 06:33:07 ---> 5bc21eee3f03 06:33:07 Step 24/26 : LABEL arch=amd64 06:33:07 ---> Running in 6829ea72df54 06:33:07 Removing intermediate container 6829ea72df54 06:33:07 ---> 7835ca56974e 06:33:07 Step 25/26 : LABEL git_sha=a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 06:33:07 ---> Running in cf8a9153e0af 06:33:07 Removing intermediate container cf8a9153e0af 06:33:07 ---> 8147fff7a7fd 06:33:07 Step 26/26 : LABEL version=0.0.0 06:33:07 ---> Running in 6961d0dafd4c 06:33:07 Removing intermediate container 6961d0dafd4c 06:33:07 ---> 13fdf3fdfe91 06:33:07 [Warning] One or more build-args [ARCH] were not consumed 06:33:07 Successfully built 13fdf3fdfe91 06:33:07 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 06:33:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:07 06:33:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:08 latest: Pulling from edgex-lftools-log-publisher 06:33:08 5eb5b503b376: Pulling fs layer 06:33:08 5c69ac0246d0: Pulling fs layer 06:33:08 ec43610c2a17: Pulling fs layer 06:33:08 3a2ae6a8a46f: Pulling fs layer 06:33:08 33b1e0a273af: Pulling fs layer 06:33:08 5d3b04190fa2: Pulling fs layer 06:33:08 3a2ae6a8a46f: Waiting 06:33:08 33b1e0a273af: Waiting 06:33:08 5d3b04190fa2: Waiting 06:33:08 2f39f015ded8: Pulling fs layer 06:33:08 2f39f015ded8: Waiting 06:33:08 5c69ac0246d0: Download complete 06:33:08 3a2ae6a8a46f: Download complete 06:33:08 33b1e0a273af: Download complete 06:33:08 ec43610c2a17: Verifying Checksum 06:33:08 ec43610c2a17: Download complete 06:33:08 5d3b04190fa2: Verifying Checksum 06:33:08 5d3b04190fa2: Download complete 06:33:08 5eb5b503b376: Verifying Checksum 06:33:08 5eb5b503b376: Download complete 06:33:09 2f39f015ded8: Verifying Checksum 06:33:09 2f39f015ded8: Download complete 06:33:09 5eb5b503b376: Pull complete 06:33:09 5c69ac0246d0: Pull complete 06:33:10 ec43610c2a17: Pull complete 06:33:10 3a2ae6a8a46f: Pull complete 06:33:10 33b1e0a273af: Pull complete 06:33:10 5d3b04190fa2: Pull complete 06:33:14 2f39f015ded8: Pull complete 06:33:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:33:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:14 prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container 06:33:14 $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:33:17 $ docker top 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:18 ---> job-cost.sh 06:33:18 lf-activate-venv: SKIPPING 06:33:18 INFO: No Stack... 06:33:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:33:18 INFO: Archiving Costs [Pipeline] sh 06:33:18 + cat /w/workspace/undry_device-onvif-camera_PR-318/archives/cost.csv 06:33:18 + cut -d, -f6 [Pipeline] lock 06:33:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] 06:33:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] did not exist. Created. 06:33:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:19 + echo total: 0.2199999988079071 [Pipeline] stash 06:33:19 Stashed 1 file(s) [Pipeline] } 06:33:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:33:19 $ docker stop --time=1 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 06:33:20 $ docker rm -f --volumes 637fa88d5dc60a77b51405ed262a7dd1949d220991e2b3aa5d25e115b16b4062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9509 in /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] { [Pipeline] ws 06:34:18 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 06:34:19 The recommended git tool is: git 06:34:25 using credential edgex-jenkins-ssh 06:34:26 Cloning the remote Git repository 06:34:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:34:26 > git init /w/workspace/device-onvif-camera/2 # timeout=10 06:34:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:34:26 > git --version # timeout=10 06:34:26 > git --version # 'git version 2.25.1' 06:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:34:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:34:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:34:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:34:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:34:29 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 06:34:30 Merge succeeded, producing a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 06:34:30 Checking out Revision a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 (PR-318) 06:34:29 > git config core.sparsecheckout # timeout=10 06:34:29 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 06:34:30 > git remote # timeout=10 06:34:30 > git config --get remote.origin.url # timeout=10 06:34:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:30 > git merge 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 06:34:30 > git rev-parse HEAD^{commit} # timeout=10 06:34:30 > git config core.sparsecheckout # timeout=10 06:34:30 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 06:34:31 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:34:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:34:32 Dload Upload Total Spent Left Speed 06:34:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 06:34:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:34:33 + sudo tee /etc/docker/daemon.new 06:34:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:34:33 { 06:34:33 "registry-mirrors": [ 06:34:33 "https://nexus3.edgexfoundry.org:10001" 06:34:33 ], 06:34:33 "bip": "10.250.0.254/24", 06:34:33 "hosts": [ 06:34:33 "tcp://0.0.0.0:5555", 06:34:33 "unix:///var/run/docker.sock" 06:34:33 ], 06:34:33 "mtu": 1458, 06:34:33 "selinux-enabled": true, 06:34:33 "seccomp-profile": "/etc/docker/seccomp.json" 06:34:33 } [Pipeline] sh 06:34:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:34:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:52 provisioning config files... 06:34:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config14158429641454638942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:52 ---> docker-login.sh 06:34:52 nexus3.edgexfoundry.org:10001 06:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:53 Configure a credential helper to remove this warning. See 06:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:53 06:34:53 Login Succeeded 06:34:53 nexus3.edgexfoundry.org:10002 06:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:54 Configure a credential helper to remove this warning. See 06:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:54 06:34:54 Login Succeeded 06:34:54 nexus3.edgexfoundry.org:10003 06:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:54 Configure a credential helper to remove this warning. See 06:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:54 06:34:54 Login Succeeded 06:34:54 nexus3.edgexfoundry.org:10004 06:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:54 Configure a credential helper to remove this warning. See 06:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:54 06:34:54 Login Succeeded 06:34:54 docker.io 06:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:55 Configure a credential helper to remove this warning. See 06:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:55 06:34:55 Login Succeeded 06:34:55 ---> docker-login.sh ends [Pipeline] } 06:34:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:55 ========================================================= 06:34:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:34:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:56 + 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 . 06:34:56 Sending build context to Docker daemon 19.67MB 06:34:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:34:56 Step 2/13 : FROM ${BASE} AS builder 06:34:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:34:58 af6eaf76a39c: Pulling fs layer 06:34:58 55522c791124: Pulling fs layer 06:34:58 ce5c4a1c91eb: Pulling fs layer 06:34:58 169dfbe0d373: Pulling fs layer 06:34:58 e1ff8fa3b103: Pulling fs layer 06:34:58 52ebb69f0ebf: Pulling fs layer 06:34:58 5abe8eddf0d5: Pulling fs layer 06:34:58 e1ff8fa3b103: Waiting 06:34:58 52ebb69f0ebf: Waiting 06:34:58 5abe8eddf0d5: Waiting 06:34:58 169dfbe0d373: Waiting 06:34:58 55522c791124: Download complete 06:34:58 169dfbe0d373: Verifying Checksum 06:34:58 169dfbe0d373: Download complete 06:34:58 e1ff8fa3b103: Verifying Checksum 06:34:58 e1ff8fa3b103: Download complete 06:34:58 af6eaf76a39c: Verifying Checksum 06:34:58 af6eaf76a39c: Download complete 06:34:59 af6eaf76a39c: Pull complete 06:34:59 5abe8eddf0d5: Verifying Checksum 06:34:59 5abe8eddf0d5: Download complete 06:35:00 55522c791124: Pull complete 06:35:01 ce5c4a1c91eb: Verifying Checksum 06:35:01 ce5c4a1c91eb: Download complete 06:35:01 52ebb69f0ebf: Verifying Checksum 06:35:01 52ebb69f0ebf: Download complete 06:35:14 ce5c4a1c91eb: Pull complete 06:35:14 169dfbe0d373: Pull complete 06:35:14 e1ff8fa3b103: Pull complete 06:35:22 52ebb69f0ebf: Pull complete 06:35:23 5abe8eddf0d5: Pull complete 06:35:23 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:35:23 ---> 6cb57ee374ae 06:35:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:35:25 ---> Running in 59d2e23eb080 06:35:26 Removing intermediate container 59d2e23eb080 06:35:26 ---> a02397a3b22d 06:35:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:26 ---> Running in f6c2989ade04 06:35:26 Removing intermediate container f6c2989ade04 06:35:26 ---> 4602966f3471 06:35:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:35:26 ---> Running in 649dd55b89ca 06:35:27 Removing intermediate container 649dd55b89ca 06:35:27 ---> daa729812291 06:35:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:35:27 ---> Running in 9969965166d1 06:35:28 Removing intermediate container 9969965166d1 06:35:28 ---> 10db64894b99 06:35:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:35:28 ---> Running in 388b217468d4 06:35:28 Removing intermediate container 388b217468d4 06:35:28 ---> 644f508b927a 06:35:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:28 ---> Running in 3b726c77f552 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:35:32 OK: 263 MiB in 53 packages 06:35:33 Removing intermediate container 3b726c77f552 06:35:33 ---> 76b2e6cc211f 06:35:33 Step 9/13 : WORKDIR /device-onvif-camera 06:35:33 ---> Running in 47332dc9a381 06:35:33 Removing intermediate container 47332dc9a381 06:35:33 ---> 27f00a72536e 06:35:33 Step 10/13 : COPY go.mod vendor* ./ 06:35:34 ---> 377b8d639a03 06:35:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:34 ---> Running in 138a8af335d8 06:36:42 Removing intermediate container 138a8af335d8 06:36:42 ---> 48e3113dcad5 06:36:42 Step 12/13 : COPY . . 06:36:43 ---> e1a82e317dde 06:36:43 Step 13/13 : RUN ${MAKE} 06:36:43 ---> Running in 00af9a68dd2d 06:36:44 noop 06:36:45 Removing intermediate container 00af9a68dd2d 06:36:45 ---> 44a080a5b5a2 06:36:45 Successfully built 44a080a5b5a2 06:36:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:46 + docker inspect -f . ci-base-image-arm64 06:36:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:46 prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container 06:36:46 $ 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 ******** ci-base-image-arm64 cat 06:36:48 $ docker top 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:49 + go version 06:36:49 go version go1.20.2 linux/arm64 [Pipeline] } 06:36:49 $ docker stop --time=1 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 06:36:51 $ docker rm -f --volumes 601148a49dc39bbe126b85a6384f1e564c8c96931ab31860a6853522957f7dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:51 + docker inspect -f . ci-base-image-arm64 06:36:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:52 prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container 06:36:52 $ 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 ******** ci-base-image-arm64 cat 06:36:53 $ docker top 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:54 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 06:36:55 + make test 06:36:55 go test ./... -coverprofile=coverage.out ./... 06:37:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:40:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:40:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:40:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.228s coverage: 31.6% of statements 06:40:55 --- FAIL: TestIpGenerator (0.00s) 06:40:55 --- FAIL: TestIpGenerator/basic_/8_subnet (30.01s) 06:40:55 util_test.go:180: 06:40:55 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 06:40:55 Error: Not equal: 06:40:55 expected: 0xfffffe 06:40:55 actual : 0xfd9298 06:40:55 Test: TestIpGenerator/basic_/8_subnet 06:40:55 util_test.go:183: 06:40:55 Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 06:40:55 Error: Not equal: 06:40:55 expected: "10.255.255.254" 06:40:55 actual : "10.253.146.152" 06:40:55 06:40:55 Diff: 06:40:55 --- Expected 06:40:55 +++ Actual 06:40:55 @@ -1 +1 @@ 06:40:55 -10.255.255.254 06:40:55 +10.253.146.152 06:40:55 Test: TestIpGenerator/basic_/8_subnet 06:40:55 FAIL 06:40:55 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 06:40:55 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.231s 06:40:55 FAIL 06:40:55 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 06:40:55 $ docker stop --time=1 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 06:40:57 $ docker rm -f --volumes 810bd26665a8d12a1af6e5b2dfe83b820b5844bca6e7b62bff52c77566115304 [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 06:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:58 06:40:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:59 arm64: Pulling from edgex-lftools-log-publisher 06:40:59 8998bd30e6a1: Pulling fs layer 06:40:59 04944245beec: Pulling fs layer 06:40:59 699f458cf7ca: Pulling fs layer 06:40:59 765212b225bb: Pulling fs layer 06:40:59 f23df028b6ca: Pulling fs layer 06:40:59 d65c8cfc05b1: Pulling fs layer 06:40:59 2437ff75d9bd: Pulling fs layer 06:40:59 765212b225bb: Waiting 06:40:59 f23df028b6ca: Waiting 06:40:59 d65c8cfc05b1: Waiting 06:40:59 2437ff75d9bd: Waiting 06:40:59 04944245beec: Verifying Checksum 06:40:59 04944245beec: Download complete 06:40:59 765212b225bb: Verifying Checksum 06:40:59 765212b225bb: Download complete 06:40:59 f23df028b6ca: Verifying Checksum 06:40:59 f23df028b6ca: Download complete 06:40:59 d65c8cfc05b1: Verifying Checksum 06:40:59 d65c8cfc05b1: Download complete 06:40:59 699f458cf7ca: Verifying Checksum 06:40:59 699f458cf7ca: Download complete 06:41:00 8998bd30e6a1: Verifying Checksum 06:41:00 8998bd30e6a1: Download complete 06:41:02 2437ff75d9bd: Verifying Checksum 06:41:02 2437ff75d9bd: Download complete 06:41:06 8998bd30e6a1: Pull complete 06:41:06 04944245beec: Pull complete 06:41:08 699f458cf7ca: Pull complete 06:41:08 765212b225bb: Pull complete 06:41:08 f23df028b6ca: Pull complete 06:41:08 d65c8cfc05b1: Pull complete 06:41:24 2437ff75d9bd: Pull complete 06:41:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:24 prd-ubuntu20.04-docker-arm64-4c-16g-9509 does not seem to be running inside a container 06:41:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:41:27 $ docker top c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:28 ---> job-cost.sh 06:41:28 lf-activate-venv: SKIPPING 06:41:28 INFO: No Stack... 06:41:28 INFO: Retrieving Pricing Info for: v3-standard-4 06:41:29 INFO: Archiving Costs [Pipeline] sh 06:41:29 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 06:41:29 + cut -d, -f6 [Pipeline] lock 06:41:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] 06:41:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] did not exist. Created. 06:41:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:41:30 /w/workspace/device-onvif-camera/2@tmp/durable-a56e72bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:41:31 + echo total: 0.10999999940395355 [Pipeline] stash 06:41:31 Warning: overwriting stash ‘stack-cost’ 06:41:32 Stashed 1 file(s) [Pipeline] } 06:41:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:41:32 $ docker stop --time=1 c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff 06:41:33 $ docker rm -f --volumes c93ebcafb63b0de4a8b5d35179ec7cd250d82df6b5b74bce373325835e0571ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:41:33 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 06:41:34 + [ -d /w/workspace/undry_device-onvif-camera_PR-318/archives ] 06:41:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives 06:41:34 total 16 06:41:34 drwxr-xr-x 3 root root 4096 Apr 24 06:33 . 06:41:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. 06:41:34 drwxr-xr-x 2 root root 4096 Apr 24 06:33 cost 06:41:34 -rw-r--r-- 1 root root 91 Apr 24 06:33 cost.csv 06:41:34 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-318/archives 06:41:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives 06:41:34 total 16 06:41:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:33 . 06:41:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. 06:41:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:33 cost 06:41:34 -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:41:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:41:35 ---> package-listing.sh 06:41:35 ++ facter osfamily 06:41:35 ++ tr '[:upper:]' '[:lower:]' 06:41:36 + OS_FAMILY=debian 06:41:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-318 06:41:36 + START_PACKAGES=/tmp/packages_start.txt 06:41:36 + END_PACKAGES=/tmp/packages_end.txt 06:41:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:41:36 + PACKAGES=/tmp/packages_start.txt 06:41:36 + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' 06:41:36 + PACKAGES=/tmp/packages_end.txt 06:41:36 + case "${OS_FAMILY}" in 06:41:36 + grep '^ii' 06:41:36 + dpkg -l 06:41:36 + '[' -f /tmp/packages_start.txt ']' 06:41:36 + '[' -f /tmp/packages_end.txt ']' 06:41:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:41:36 + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' 06:41:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-318/archives/ 06:41:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-318/archives/ [Pipeline] echo 06:41:36 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:41:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:36 prd-ubuntu20.04-docker-8c-8g-9501 does not seem to be running inside a container 06:41:36 $ 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-318/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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:41:36 $ docker top ab8d6963abc844c64d1583ba6b8437e33a15634c857f403d765f10823e726462 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:37 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:37 + mkdir -p /var/log/sysstat [Pipeline] sh 06:41:37 + ls /var/log/sa-host 06:41:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:37 provisioning config files... 06:41:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config17714801464665664133tmp [Pipeline] { [Pipeline] echo 06:41:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:38 ---> create-netrc.sh [Pipeline] } 06:41:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:41:38 ---> python-tools-install.sh [Pipeline] echo 06:41:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:38 ---> sudo-logs.sh 06:41:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:41:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:39 ---> job-cost.sh 06:41:39 lf-activate-venv: SKIPPING 06:41:39 DEBUG: total: 0.2199999988079071 06:41:39 INFO: Retrieving Stack Cost... 06:41:39 INFO: Retrieving Pricing Info for: v3-standard-8 06:41:40 INFO: Archiving Costs [Pipeline] echo 06:41:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:40 ---> logs-deploy.sh 06:41:40 lf-activate-venv: SKIPPING 06:41:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-318/2 06:41:40 INFO: archiving workspace using pattern(s): 06:41:41 Archives upload complete. 06:41:41 INFO: archiving logs to Nexus