Pull request #1297 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 881f10918eb4e60f546b60d89ac5bea6bad2c109 rather than f710fefc090deba9ea54f8f0370f16e2f81db460 Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh7620956905865239133.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9285538134522028679.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1297/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-sdk-go/branches/PR-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16932521912268134547.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14632141273753850822.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-sdk-go/branches/PR-1297/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-sdk-go/branches/PR-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14924845674672480948.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4280 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1297 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit f710fefc090deba9ea54f8f0370f16e2f81db460 Merge succeeded, producing f710fefc090deba9ea54f8f0370f16e2f81db460 Checking out Revision f710fefc090deba9ea54f8f0370f16e2f81db460 (PR-1297) > git config core.sparsecheckout # timeout=10 > git checkout -f f710fefc090deba9ea54f8f0370f16e2f81db460 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f710fefc090deba9ea54f8f0370f16e2f81db460 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:15 ========================================================= 17:52:15 EdgeX Global Pipelines Version Info 17:52:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:16 ------------------- 17:52:16 stable info: 17:52:16 ------------------- 17:52:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:16 Message: update stable to v1.0.244 > git rev-list --no-walk 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 17:52:16 ------------------- 17:52:16 experimental info: 17:52:16 ------------------- 17:52:16 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f710fefc090deba9ea54f8f0370f16e2f81db460 [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f710fef [Pipeline] echo 17:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:17 provisioning config files... 17:52:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config10363330602419084639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:17 ---> docker-login.sh 17:52:17 nexus3.edgexfoundry.org:10001 17:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:18 Configure a credential helper to remove this warning. See 17:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:18 17:52:18 Login Succeeded 17:52:18 nexus3.edgexfoundry.org:10002 17:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:18 Configure a credential helper to remove this warning. See 17:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:18 17:52:18 Login Succeeded 17:52:18 nexus3.edgexfoundry.org:10003 17:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:18 Configure a credential helper to remove this warning. See 17:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:18 17:52:18 Login Succeeded 17:52:18 nexus3.edgexfoundry.org:10004 17:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:18 Configure a credential helper to remove this warning. See 17:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:18 17:52:18 Login Succeeded 17:52:18 docker.io 17:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:18 Configure a credential helper to remove this warning. See 17:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:18 17:52:18 Login Succeeded 17:52:18 ---> docker-login.sh ends [Pipeline] } 17:52:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:19 + git rev-list -1 --merges f710fefc090deba9ea54f8f0370f16e2f81db460~1..f710fefc090deba9ea54f8f0370f16e2f81db460 [Pipeline] echo 17:52:19 -----------> git rev-list -1 --merges f710fefc090deba9ea54f8f0370f16e2f81db460~1..f710fefc090deba9ea54f8f0370f16e2f81db460 f710fefc090deba9ea54f8f0370f16e2f81db460 [false] [Pipeline] sh 17:52:19 + git log --format=format:%s -1 f710fefc090deba9ea54f8f0370f16e2f81db460 [Pipeline] echo 17:52:19 ========================================================= 17:52:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:19 + git log --format=format:%s -1 f710fefc090deba9ea54f8f0370f16e2f81db460 [Pipeline] echo 17:52:19 [semverPrep] GIT_COMMIT: f710fefc090deba9ea54f8f0370f16e2f81db460, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo 17:52:19 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:20 + grep -v github /etc/ssh/ssh_known_hosts 17:52:20 + [ -e /tmp/ssh_known_hosts ] 17:52:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:20 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:20 17:52:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:20 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:20 b85a868b505f: Pulling fs layer 17:52:20 e2be974225ed: Pulling fs layer 17:52:20 339a4e72a1f5: Pulling fs layer 17:52:20 988bab9f4d93: Pulling fs layer 17:52:20 1469e6f7b9e6: Pulling fs layer 17:52:20 eaf3925da568: Pulling fs layer 17:52:20 bab4dde63d76: Pulling fs layer 17:52:20 bde34c3a00c8: Pulling fs layer 17:52:20 b352a97aabf1: Pulling fs layer 17:52:20 4872d77fe225: Pulling fs layer 17:52:20 5851b861e8e6: Pulling fs layer 17:52:20 bab4dde63d76: Waiting 17:52:20 bde34c3a00c8: Waiting 17:52:20 b352a97aabf1: Waiting 17:52:20 4872d77fe225: Waiting 17:52:20 5851b861e8e6: Waiting 17:52:20 1469e6f7b9e6: Waiting 17:52:20 eaf3925da568: Waiting 17:52:20 988bab9f4d93: Waiting 17:52:20 e2be974225ed: Download complete 17:52:20 988bab9f4d93: Verifying Checksum 17:52:20 988bab9f4d93: Download complete 17:52:21 1469e6f7b9e6: Verifying Checksum 17:52:21 1469e6f7b9e6: Download complete 17:52:21 eaf3925da568: Verifying Checksum 17:52:21 eaf3925da568: Download complete 17:52:21 339a4e72a1f5: Verifying Checksum 17:52:21 339a4e72a1f5: Download complete 17:52:21 bde34c3a00c8: Verifying Checksum 17:52:21 bde34c3a00c8: Download complete 17:52:21 b352a97aabf1: Verifying Checksum 17:52:21 b352a97aabf1: Download complete 17:52:21 4872d77fe225: Download complete 17:52:21 b85a868b505f: Verifying Checksum 17:52:21 b85a868b505f: Download complete 17:52:21 5851b861e8e6: Verifying Checksum 17:52:21 5851b861e8e6: Download complete 17:52:21 bab4dde63d76: Verifying Checksum 17:52:21 bab4dde63d76: Download complete 17:52:22 b85a868b505f: Pull complete 17:52:22 e2be974225ed: Pull complete 17:52:23 339a4e72a1f5: Pull complete 17:52:23 988bab9f4d93: Pull complete 17:52:23 1469e6f7b9e6: Pull complete 17:52:23 eaf3925da568: Pull complete 17:52:25 bab4dde63d76: Pull complete 17:52:25 bde34c3a00c8: Pull complete 17:52:25 b352a97aabf1: Pull complete 17:52:25 4872d77fe225: Pull complete 17:52:25 5851b861e8e6: Pull complete 17:52:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:26 prd-ubuntu20.04-docker-8c-8g-4280 does not seem to be running inside a container 17:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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-devops/py-git-semver:0.1.4 cat 17:52:27 $ docker top 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 -eo pid,comm 17:52:27 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). 17:52:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:27 [ssh-agent] Looking for ssh-agent implementation... 17:52:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:27 $ docker exec 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 ssh-agent 17:52:27 SSH_AUTH_SOCK=/tmp/ssh-9kdQTT1j969r/agent.33 17:52:27 SSH_AGENT_PID=39 17:52:27 Running ssh-add (command line suppressed) 17:52:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16051878143839716365.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16051878143839716365.key) 17:52:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:28 + git tag --points-at HEAD [Pipeline] } 17:52:28 $ docker exec --env ******** --env ******** 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 ssh-agent -k 17:52:28 unset SSH_AUTH_SOCK; 17:52:28 unset SSH_AGENT_PID; 17:52:28 echo Agent pid 39 killed; 17:52:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:28 [ssh-agent] Looking for ssh-agent implementation... 17:52:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:28 $ docker exec 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 ssh-agent 17:52:28 SSH_AUTH_SOCK=/tmp/ssh-H787bC5k749L/agent.72 17:52:28 SSH_AGENT_PID=78 17:52:28 Running ssh-add (command line suppressed) 17:52:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_10799193941599970629.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_10799193941599970629.key) 17:52:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:29 + git semver init 17:52:29 2023-02-01 17:52:29,427 [run_init] DEBUG init version:0.0.0 force:False 17:52:29 2023-02-01 17:52:29,429 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver 17:52:29 2023-02-01 17:52:29,429 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver 17:52:29 2023-02-01 17:52:29,430 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) 17:52:30 2023-02-01 17:52:30,354 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude 17:52:30 2023-02-01 17:52:30,354 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False 17:52:30 2023-02-01 17:52:30,354 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 17:52:30 2023-02-01 17:52:30,359 [execute] INFO git cat-file --batch-check 17:52:30 2023-02-01 17:52:30,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) 17:52:30 2023-02-01 17:52:30,366 [execute] INFO git cat-file --batch 17:52:30 2023-02-01 17:52:30,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) 17:52:30 2023-02-01 17:52:30,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 17:52:30 0.0.0 [Pipeline] } 17:52:30 $ docker exec --env ******** --env ******** 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 ssh-agent -k 17:52:30 unset SSH_AUTH_SOCK; 17:52:30 unset SSH_AGENT_PID; 17:52:30 echo Agent pid 78 killed; 17:52:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:30 + git semver [Pipeline] } 17:52:31 $ docker stop --time=1 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 17:52:32 $ docker rm -f --volumes 53eee96ad08d4a0d297935901044c7cc39f3ec9ebe0b68e2d3612c02d22d1759 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:33 Stashed 1 file(s) [Pipeline] echo 17:52:33 [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 17:52:33 provisioning config files... 17:52:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config14541737692573473984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:33 ---> docker-login.sh 17:52:33 nexus3.edgexfoundry.org:10001 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:33 Configure a credential helper to remove this warning. See 17:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:33 17:52:33 Login Succeeded 17:52:33 nexus3.edgexfoundry.org:10002 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:33 Configure a credential helper to remove this warning. See 17:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:33 17:52:33 Login Succeeded 17:52:33 nexus3.edgexfoundry.org:10003 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:33 Configure a credential helper to remove this warning. See 17:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:33 17:52:33 Login Succeeded 17:52:33 nexus3.edgexfoundry.org:10004 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:33 Configure a credential helper to remove this warning. See 17:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:33 17:52:33 Login Succeeded 17:52:33 docker.io 17:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:34 Configure a credential helper to remove this warning. See 17:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:34 17:52:34 Login Succeeded 17:52:34 ---> docker-login.sh ends [Pipeline] } 17:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:34 ========================================================= 17:52:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:52:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:34 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:52:34 Sending build context to Docker daemon 10.57MB 17:52:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:52:34 Step 2/10 : FROM ${BASE} AS builder 17:52:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:34 213ec9aee27d: Pulling fs layer 17:52:34 4583459ba037: Pulling fs layer 17:52:34 93c1e223e6f2: Pulling fs layer 17:52:34 53926ce57604: Pulling fs layer 17:52:34 21b2b0c7a3f4: Pulling fs layer 17:52:34 22ff95d597cd: Pulling fs layer 17:52:34 12d6caf4c0d1: Pulling fs layer 17:52:34 96b7cbca73a9: Pulling fs layer 17:52:34 a7acece74701: Pulling fs layer 17:52:34 22ff95d597cd: Waiting 17:52:34 12d6caf4c0d1: Waiting 17:52:34 96b7cbca73a9: Waiting 17:52:34 a7acece74701: Waiting 17:52:34 53926ce57604: Waiting 17:52:34 21b2b0c7a3f4: Waiting 17:52:34 93c1e223e6f2: Download complete 17:52:34 4583459ba037: Verifying Checksum 17:52:34 4583459ba037: Download complete 17:52:34 21b2b0c7a3f4: Verifying Checksum 17:52:34 21b2b0c7a3f4: Download complete 17:52:34 22ff95d597cd: Download complete 17:52:34 213ec9aee27d: Verifying Checksum 17:52:34 213ec9aee27d: Download complete 17:52:34 12d6caf4c0d1: Verifying Checksum 17:52:34 12d6caf4c0d1: Download complete 17:52:35 213ec9aee27d: Pull complete 17:52:35 4583459ba037: Pull complete 17:52:35 93c1e223e6f2: Pull complete 17:52:36 a7acece74701: Verifying Checksum 17:52:36 a7acece74701: Download complete 17:52:36 53926ce57604: Verifying Checksum 17:52:36 53926ce57604: Download complete 17:52:36 96b7cbca73a9: Verifying Checksum 17:52:36 96b7cbca73a9: Download complete 17:52:40 53926ce57604: Pull complete 17:52:40 21b2b0c7a3f4: Pull complete 17:52:40 22ff95d597cd: Pull complete 17:52:40 12d6caf4c0d1: Pull complete 17:52:42 96b7cbca73a9: Pull complete 17:52:43 a7acece74701: Pull complete 17:52:43 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:52:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:52:43 ---> db6d94c90886 17:52:43 Step 3/10 : ARG MAKE=make build 17:52:45 ---> Running in be0bac36178a 17:52:45 Removing intermediate container be0bac36178a 17:52:45 ---> c67b28ad67d1 17:52:45 Step 4/10 : WORKDIR /device-sdk-go 17:52:45 ---> Running in eeb684947511 17:52:45 Removing intermediate container eeb684947511 17:52:45 ---> 76d304c3f56a 17:52:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:52:45 ---> Running in b04567494a46 17:52:45 Removing intermediate container b04567494a46 17:52:45 ---> 6aad0188089d 17:52:45 Step 6/10 : RUN apk add --update --no-cache make git 17:52:45 ---> Running in 749a339a1a28 17:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:52:46 OK: 211 MiB in 51 packages 17:52:47 Removing intermediate container 749a339a1a28 17:52:47 ---> 8abcb408511d 17:52:47 Step 7/10 : COPY go.mod vendor* ./ 17:52:47 ---> 12af49ee9930 17:52:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:47 ---> Running in 0c0137ab5f17 17:52:48 Still waiting to schedule task 17:52:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:53:19 Removing intermediate container 0c0137ab5f17 17:53:19 ---> 87e5bd7f0262 17:53:19 Step 9/10 : COPY . . 17:53:19 ---> 925d1d2da066 17:53:19 Step 10/10 : RUN ${MAKE} 17:53:19 ---> Running in 043073cdd9ff 17:53:19 noop 17:53:19 Removing intermediate container 043073cdd9ff 17:53:19 ---> f14a950c173b 17:53:19 Successfully built f14a950c173b 17:53:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:19 + docker inspect -f . ci-base-image-x86_64 17:53:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:19 prd-ubuntu20.04-docker-8c-8g-4280 does not seem to be running inside a container 17:53:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:20 $ docker top 85beae74d6d4d3d797a74d7216792ece43ceda4108aca4d1f2bffe3434639db9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:20 + go version 17:53:20 go version go1.18.7 linux/amd64 [Pipeline] } 17:53:20 $ docker stop --time=1 85beae74d6d4d3d797a74d7216792ece43ceda4108aca4d1f2bffe3434639db9 17:53:21 $ docker rm -f --volumes 85beae74d6d4d3d797a74d7216792ece43ceda4108aca4d1f2bffe3434639db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:22 + docker inspect -f . ci-base-image-x86_64 17:53:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:22 prd-ubuntu20.04-docker-8c-8g-4280 does not seem to be running inside a container 17:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:22 $ docker top f89ae57fae36ec0098f11f4dea8a03706e84364b2cfa8678783177c32311edb8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh 17:53:23 + make test 17:53:23 go test -race -coverprofile=coverage.out ./... 17:53:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 78.9% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 79.7% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 60.6% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.2% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.744s coverage: 89.2% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:53:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements 17:53:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:53:59 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:53:59 GO111MODULE=on go vet ./... 17:54:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:02 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:02 $ docker stop --time=1 f89ae57fae36ec0098f11f4dea8a03706e84364b2cfa8678783177c32311edb8 17:54:04 $ docker rm -f --volumes f89ae57fae36ec0098f11f4dea8a03706e84364b2cfa8678783177c32311edb8 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:06 + ls -al . 17:54:06 total 272 17:54:06 drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 17:53 . 17:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:52 .. 17:54:06 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:52 .dockerignore 17:54:06 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:53 .git 17:54:06 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:52 .github 17:54:06 -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:52 .gitignore 17:54:06 -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:52 .golangci.yml 17:54:06 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:52 .semver 17:54:06 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:52 CHANGELOG.md 17:54:06 -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:52 GOVERNANCE.md 17:54:06 -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:52 Jenkinsfile 17:54:06 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:52 LICENSE 17:54:06 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:52 Makefile 17:54:06 -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:52 OWNERS.md 17:54:06 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:52 README.md 17:54:06 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:52 VERSION 17:54:06 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:52 bin 17:54:06 -rw-r--r-- 1 jenkins jenkins 101919 Feb 1 17:53 coverage.out 17:54:06 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:52 example 17:54:06 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:52 go.mod 17:54:06 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:52 go.sum 17:54:06 drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:52 internal 17:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:52 openapi 17:54:06 drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:52 pkg 17:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:52 snap 17:54:06 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:06 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f710fefc090deba9ea54f8f0370f16e2f81db460 --label arch=amd64 --label version=0.0.0 . 17:54:06 Sending build context to Docker daemon 10.68MB 17:54:06 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:54:06 Step 2/23 : FROM ${BASE} AS builder 17:54:06 ---> f14a950c173b 17:54:06 Step 3/23 : ARG MAKE=make build 17:54:06 ---> Running in c9f200aaf966 17:54:06 Removing intermediate container c9f200aaf966 17:54:06 ---> 87d7f60ca917 17:54:06 Step 4/23 : WORKDIR /device-sdk-go 17:54:06 ---> Running in cefe644406e4 17:54:06 Removing intermediate container cefe644406e4 17:54:06 ---> 4d143ff1e7ed 17:54:06 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:54:06 ---> Running in dacf9e67026d 17:54:06 Removing intermediate container dacf9e67026d 17:54:06 ---> 64771923b047 17:54:06 Step 6/23 : RUN apk add --update --no-cache make git 17:54:06 ---> Running in 04441872f63e 17:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:07 OK: 211 MiB in 51 packages 17:54:07 Removing intermediate container 04441872f63e 17:54:07 ---> e981979006c8 17:54:07 Step 7/23 : COPY go.mod vendor* ./ 17:54:07 ---> ce9d2d51cbec 17:54:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:07 ---> Running in 22bb4406c71f 17:54:08 Removing intermediate container 22bb4406c71f 17:54:08 ---> 5d971ac00eb7 17:54:08 Step 9/23 : COPY . . 17:54:09 ---> 24d4bd9fa2db 17:54:09 Step 10/23 : RUN ${MAKE} 17:54:09 ---> Running in 13245b70855d 17:54:09 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:54:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4281 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] ws 17:54:23 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:54:23 The recommended git tool is: git 17:54:27 Removing intermediate container 13245b70855d 17:54:27 ---> d138f673abbe 17:54:27 Step 11/23 : FROM alpine:3.16 17:54:28 3.16: Pulling from library/alpine 17:54:28 ca7dd9ec2225: Pulling fs layer 17:54:28 using credential edgex-jenkins-ssh 17:54:28 Cloning the remote Git repository 17:54:28 ca7dd9ec2225: Verifying Checksum 17:54:28 ca7dd9ec2225: Download complete 17:54:28 ca7dd9ec2225: Pull complete 17:54:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:54:28 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:54:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:54:28 Status: Downloaded newer image for alpine:3.16 17:54:28 ---> bfe296a52501 17:54:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:54:28 ---> Running in 05e3ab9ffd60 17:54:28 Removing intermediate container 05e3ab9ffd60 17:54:28 ---> efe2b8ee3d05 17:54:28 Step 13/23 : RUN apk add --update --no-cache 17:54:28 ---> Running in 37fddba9248b 17:54:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:29 OK: 6 MiB in 14 packages 17:54:29 Removing intermediate container 37fddba9248b 17:54:29 ---> 80d70f69b8aa 17:54:29 Step 14/23 : WORKDIR / 17:54:29 ---> Running in 59c1651d6feb 17:54:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:54:28 > git --version # timeout=10 17:54:28 > git --version # 'git version 2.25.1' 17:54:28 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:29 Removing intermediate container 59c1651d6feb 17:54:29 ---> 3c68a290d92c 17:54:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:54:29 ---> 79ed41fa114d 17:54:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:54:30 ---> 96f0e161043e 17:54:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:54:30 ---> 644aa392258b 17:54:30 Step 18/23 : EXPOSE 59999 17:54:30 ---> Running in 3185950d8823 17:54:30 Removing intermediate container 3185950d8823 17:54:30 ---> 7f5fd6f31dbd 17:54:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:54:30 ---> Running in a3270d4895ee 17:54:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:54:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:30 Removing intermediate container a3270d4895ee 17:54:30 ---> d2481e2b45b3 17:54:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:54:30 ---> Running in 2ff36279fd87 17:54:30 Removing intermediate container 2ff36279fd87 17:54:30 ---> dc0e22eb7658 17:54:30 Step 21/23 : LABEL arch=amd64 17:54:30 ---> Running in e00975bf1eaa 17:54:31 Removing intermediate container e00975bf1eaa 17:54:31 ---> 78b311b259f4 17:54:31 Step 22/23 : LABEL git_sha=f710fefc090deba9ea54f8f0370f16e2f81db460 17:54:31 ---> Running in e137cd329636 17:54:31 Removing intermediate container e137cd329636 17:54:31 ---> 641e8bc43cf7 17:54:31 Step 23/23 : LABEL version=0.0.0 17:54:31 ---> Running in 802a22c11134 17:54:31 Removing intermediate container 802a22c11134 17:54:31 ---> 007f7349d599 17:54:31 [Warning] One or more build-args [ARCH] were not consumed 17:54:31 Successfully built 007f7349d599 17:54:31 Successfully tagged device-sdk-simple: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 17:54:31 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit f710fefc090deba9ea54f8f0370f16e2f81db460 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:31 Failed in branch arm64 17:54:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:31 17:54:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:32 latest: Pulling from edgex-lftools-log-publisher 17:54:32 5eb5b503b376: Pulling fs layer 17:54:32 5c69ac0246d0: Pulling fs layer 17:54:32 ec43610c2a17: Pulling fs layer 17:54:32 3a2ae6a8a46f: Pulling fs layer 17:54:32 33b1e0a273af: Pulling fs layer 17:54:32 5d3b04190fa2: Pulling fs layer 17:54:32 2f39f015ded8: Pulling fs layer 17:54:32 3a2ae6a8a46f: Waiting 17:54:32 33b1e0a273af: Waiting 17:54:32 2f39f015ded8: Waiting 17:54:32 5d3b04190fa2: Waiting 17:54:32 5c69ac0246d0: Download complete 17:54:32 3a2ae6a8a46f: Verifying Checksum 17:54:32 3a2ae6a8a46f: Download complete 17:54:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:54:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:54:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:54:31 > git config core.sparsecheckout # timeout=10 17:54:31 > git checkout -f f710fefc090deba9ea54f8f0370f16e2f81db460 # timeout=10 17:54:32 33b1e0a273af: Verifying Checksum 17:54:32 33b1e0a273af: Download complete 17:54:32 5d3b04190fa2: Verifying Checksum 17:54:32 5d3b04190fa2: Download complete 17:54:32 ec43610c2a17: Verifying Checksum 17:54:32 ec43610c2a17: Download complete 17:54:32 5eb5b503b376: Verifying Checksum 17:54:32 5eb5b503b376: Download complete 17:54:33 2f39f015ded8: Download complete 17:54:34 5eb5b503b376: Pull complete 17:54:34 5c69ac0246d0: Pull complete 17:54:34 ec43610c2a17: Pull complete 17:54:34 3a2ae6a8a46f: Pull complete 17:54:34 33b1e0a273af: Pull complete 17:54:35 5d3b04190fa2: Pull complete 17:54:39 2f39f015ded8: Pull complete 17:54:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:39 prd-ubuntu20.04-docker-8c-8g-4280 does not seem to be running inside a container 17:54:39 $ 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/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:54:40 $ docker top 6bb28abf59de5fbf3d3389e06e46fde94e088c6837bcaa66b759af2c53b8de9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:41 ---> job-cost.sh 17:54:41 lf-activate-venv: SKIPPING 17:54:41 INFO: No Stack... 17:54:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:42 INFO: Archiving Costs [Pipeline] sh 17:54:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv 17:54:42 + cut -d, -f6 [Pipeline] lock 17:54:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-3-stack-cost] 17:54:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-3-stack-cost] did not exist. Created. 17:54:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:42 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:42 Stashed 1 file(s) [Pipeline] } 17:54:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:42 $ docker stop --time=1 6bb28abf59de5fbf3d3389e06e46fde94e088c6837bcaa66b759af2c53b8de9d 17:54:43 $ docker rm -f --volumes 6bb28abf59de5fbf3d3389e06e46fde94e088c6837bcaa66b759af2c53b8de9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [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 17:54:44 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] 17:54:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:54:44 total 16 17:54:44 drwxr-xr-x 3 root root 4096 Feb 1 17:54 . 17:54:44 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:54 .. 17:54:44 drwxr-xr-x 2 root root 4096 Feb 1 17:54 cost 17:54:44 -rw-r--r-- 1 root root 86 Feb 1 17:54 cost.csv 17:54:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:54:44 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:54:44 total 16 17:54:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:54 . 17:54:44 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:54 .. 17:54:44 drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 17:54 cost 17:54:44 -rw-r--r-- 1 jenkins jenkins 86 Feb 1 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:54:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:54:45 ---> package-listing.sh 17:54:45 ++ facter osfamily 17:54:45 ++ tr '[:upper:]' '[:lower:]' 17:54:46 + OS_FAMILY=debian 17:54:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 17:54:46 + START_PACKAGES=/tmp/packages_start.txt 17:54:46 + END_PACKAGES=/tmp/packages_end.txt 17:54:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:54:46 + PACKAGES=/tmp/packages_start.txt 17:54:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' 17:54:46 + PACKAGES=/tmp/packages_end.txt 17:54:46 + case "${OS_FAMILY}" in 17:54:46 + dpkg -l 17:54:46 + grep '^ii' 17:54:46 + '[' -f /tmp/packages_start.txt ']' 17:54:46 + '[' -f /tmp/packages_end.txt ']' 17:54:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:54:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' 17:54:46 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ 17:54:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo 17:54:46 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/gexfoundry_device-sdk-go_PR-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:54:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:47 prd-ubuntu20.04-docker-8c-8g-4280 does not seem to be running inside a container 17:54:47 $ 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/gexfoundry_device-sdk-go_PR-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:47 $ docker top eee15a761c1f42d867f89c92afb449d7db5a981b51114a0b83d78fbcb0a0abe7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:47 + touch /tmp/pre-build-complete [Pipeline] sh 17:54:47 + mkdir -p /var/log/sysstat [Pipeline] sh 17:54:48 + ls /var/log/sa-host 17:54:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:48 provisioning config files... 17:54:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config5609043880173508067tmp [Pipeline] { [Pipeline] echo 17:54:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:54:48 ---> create-netrc.sh [Pipeline] } 17:54:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:54:48 ---> python-tools-install.sh [Pipeline] echo 17:54:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:54:49 ---> sudo-logs.sh 17:54:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:54:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:54:49 ---> job-cost.sh 17:54:49 lf-activate-venv: SKIPPING 17:54:49 DEBUG: total: 0.2199999988079071 17:54:49 INFO: Retrieving Stack Cost... 17:54:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:50 INFO: Archiving Costs [Pipeline] echo 17:54:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:54:50 ---> logs-deploy.sh 17:54:50 lf-activate-venv: SKIPPING 17:54:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/3 17:54:50 INFO: archiving workspace using pattern(s): 17:54:51 Archives upload complete. 17:54:51 INFO: archiving logs to Nexus