Pull request #1279 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 rather than 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Obtained Jenkinsfile from 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 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-ssh17261499972771873798.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-ssh14968759814722495156.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-1279/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-1279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1551677040302708856.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-ssh18044045686427239960.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-1279/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-1279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12114639228382656487.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 on ‘prd-ubuntu20.04-docker-8c-8g-2038’ Running on prd-ubuntu20.04-docker-8c-8g-2040 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [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-1279 # 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/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Merge succeeded, producing 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Checking out Revision 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 (PR-1279) > git config core.sparsecheckout # timeout=10 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # 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 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" First time build. Skipping changelog. > git rev-list --no-walk 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:00:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:00:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:00:16 ========================================================= 11:00:16 EdgeX Global Pipelines Version Info 11:00:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:00:17 ------------------- 11:00:17 stable info: 11:00:17 ------------------- 11:00:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:00:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:00:17 Message: update stable to v1.0.244 11:00:17 ------------------- 11:00:17 experimental info: 11:00:17 ------------------- 11:00:17 Commited By: **** collab-it+edgex@linuxfoundation.org 11:00:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:00:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:00:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1279 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1279 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1279 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87ddf45 [Pipeline] echo 11:00:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:00:18 provisioning config files... 11:00:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config9442351696845411958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:18 ---> docker-login.sh 11:00:18 nexus3.edgexfoundry.org:10001 11:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:19 Configure a credential helper to remove this warning. See 11:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:19 11:00:19 Login Succeeded 11:00:19 nexus3.edgexfoundry.org:10002 11:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:19 Configure a credential helper to remove this warning. See 11:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:19 11:00:19 Login Succeeded 11:00:19 nexus3.edgexfoundry.org:10003 11:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:19 Configure a credential helper to remove this warning. See 11:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:19 11:00:19 Login Succeeded 11:00:19 nexus3.edgexfoundry.org:10004 11:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:19 Configure a credential helper to remove this warning. See 11:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:19 11:00:19 Login Succeeded 11:00:19 docker.io 11:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:19 Configure a credential helper to remove this warning. See 11:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:19 11:00:19 Login Succeeded 11:00:19 ---> docker-login.sh ends [Pipeline] } 11:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:00:20 + git rev-list -1 --merges 87ddf450d52ca3162354f7bb75cf9b94dc78eb11~1..87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo 11:00:20 -----------> git rev-list -1 --merges 87ddf450d52ca3162354f7bb75cf9b94dc78eb11~1..87ddf450d52ca3162354f7bb75cf9b94dc78eb11 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [false] [Pipeline] sh 11:00:20 + git log --format=format:%s -1 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo 11:00:20 ========================================================= 11:00:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:00:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:00:21 + git log --format=format:%s -1 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo 11:00:21 [semverPrep] GIT_COMMIT: 87ddf450d52ca3162354f7bb75cf9b94dc78eb11, Commit Message: build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts [Pipeline] echo 11:00:21 [semverPrep] This is not a build commit. [Pipeline] sh 11:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:00:21 + grep -v github /etc/ssh/ssh_known_hosts 11:00:21 + [ -e /tmp/ssh_known_hosts ] 11:00:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:00:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:00:21 + sudo tee -a /etc/ssh/ssh_known_hosts 11:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:21 11:00:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:22 0.1.4: Pulling from edgex-devops/py-git-semver 11:00:22 b85a868b505f: Pulling fs layer 11:00:22 e2be974225ed: Pulling fs layer 11:00:22 339a4e72a1f5: Pulling fs layer 11:00:22 988bab9f4d93: Pulling fs layer 11:00:22 1469e6f7b9e6: Pulling fs layer 11:00:22 eaf3925da568: Pulling fs layer 11:00:22 bab4dde63d76: Pulling fs layer 11:00:22 bde34c3a00c8: Pulling fs layer 11:00:22 b352a97aabf1: Pulling fs layer 11:00:22 4872d77fe225: Pulling fs layer 11:00:22 5851b861e8e6: Pulling fs layer 11:00:22 1469e6f7b9e6: Waiting 11:00:22 eaf3925da568: Waiting 11:00:22 bab4dde63d76: Waiting 11:00:22 bde34c3a00c8: Waiting 11:00:22 b352a97aabf1: Waiting 11:00:22 4872d77fe225: Waiting 11:00:22 988bab9f4d93: Waiting 11:00:22 5851b861e8e6: Waiting 11:00:22 e2be974225ed: Verifying Checksum 11:00:22 e2be974225ed: Download complete 11:00:22 988bab9f4d93: Verifying Checksum 11:00:22 988bab9f4d93: Download complete 11:00:22 339a4e72a1f5: Verifying Checksum 11:00:22 339a4e72a1f5: Download complete 11:00:22 eaf3925da568: Download complete 11:00:22 1469e6f7b9e6: Verifying Checksum 11:00:22 1469e6f7b9e6: Download complete 11:00:22 bde34c3a00c8: Verifying Checksum 11:00:22 bde34c3a00c8: Download complete 11:00:22 b352a97aabf1: Verifying Checksum 11:00:22 b352a97aabf1: Download complete 11:00:22 4872d77fe225: Verifying Checksum 11:00:22 4872d77fe225: Download complete 11:00:22 b85a868b505f: Verifying Checksum 11:00:22 b85a868b505f: Download complete 11:00:22 5851b861e8e6: Verifying Checksum 11:00:22 5851b861e8e6: Download complete 11:00:22 bab4dde63d76: Verifying Checksum 11:00:22 bab4dde63d76: Download complete 11:00:23 b85a868b505f: Pull complete 11:00:23 e2be974225ed: Pull complete 11:00:24 339a4e72a1f5: Pull complete 11:00:24 988bab9f4d93: Pull complete 11:00:24 1469e6f7b9e6: Pull complete 11:00:25 eaf3925da568: Pull complete 11:00:26 bab4dde63d76: Pull complete 11:00:26 bde34c3a00c8: Pull complete 11:00:27 b352a97aabf1: Pull complete 11:00:27 4872d77fe225: Pull complete 11:00:27 5851b861e8e6: Pull complete 11:00:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:27 prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container 11:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-devops/py-git-semver:0.1.4 cat 11:00:29 $ docker top c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 -eo pid,comm 11:00:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:00:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:29 [ssh-agent] Looking for ssh-agent implementation... 11:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:29 $ docker exec c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent 11:00:29 SSH_AUTH_SOCK=/tmp/ssh-Ab1boUg92wmG/agent.32 11:00:29 SSH_AGENT_PID=38 11:00:29 Running ssh-add (command line suppressed) 11:00:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_900627410632241569.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_900627410632241569.key) 11:00:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:29 + git tag --points-at HEAD [Pipeline] } 11:00:29 $ docker exec --env ******** --env ******** c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent -k 11:00:30 unset SSH_AUTH_SOCK; 11:00:30 unset SSH_AGENT_PID; 11:00:30 echo Agent pid 38 killed; 11:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:30 [ssh-agent] Looking for ssh-agent implementation... 11:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:30 $ docker exec c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent 11:00:30 SSH_AUTH_SOCK=/tmp/ssh-WeBozHK4V3jr/agent.70 11:00:30 SSH_AGENT_PID=76 11:00:30 Running ssh-add (command line suppressed) 11:00:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_5212303226682721173.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_5212303226682721173.key) 11:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:30 + git semver init 11:00:31 2023-01-12 11:00:30,971 [run_init] DEBUG init version:0.0.0 force:False 11:00:31 2023-01-12 11:00:30,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver 11:00:31 2023-01-12 11:00:30,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver 11:00:31 2023-01-12 11:00:30,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279, universal_newlines=False, shell=None, istream=None) 11:00:31 2023-01-12 11:00:31,926 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.git/info/exclude 11:00:31 2023-01-12 11:00:31,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 with force:False 11:00:31 2023-01-12 11:00:31,927 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 11:00:31 2023-01-12 11:00:31,932 [execute] INFO git cat-file --batch-check 11:00:31 2023-01-12 11:00:31,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) 11:00:31 2023-01-12 11:00:31,940 [execute] INFO git cat-file --batch 11:00:31 2023-01-12 11:00:31,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) 11:00:31 2023-01-12 11:00:31,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 11:00:31 0.0.0 [Pipeline] } 11:00:32 $ docker exec --env ******** --env ******** c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent -k 11:00:32 unset SSH_AUTH_SOCK; 11:00:32 unset SSH_AGENT_PID; 11:00:32 echo Agent pid 76 killed; 11:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:00:32 + git semver [Pipeline] } 11:00:32 $ docker stop --time=1 c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 11:00:34 $ docker rm -f --volumes c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 [Pipeline] // withDockerContainer [Pipeline] sh 11:00:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:00:34 Stashed 1 file(s) [Pipeline] echo 11:00:34 [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 11:00:35 provisioning config files... 11:00:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config16590757415557467132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:35 ---> docker-login.sh 11:00:35 nexus3.edgexfoundry.org:10001 11:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:35 Configure a credential helper to remove this warning. See 11:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:35 11:00:35 Login Succeeded 11:00:35 nexus3.edgexfoundry.org:10002 11:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:35 Configure a credential helper to remove this warning. See 11:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:35 11:00:35 Login Succeeded 11:00:35 nexus3.edgexfoundry.org:10003 11:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:35 Configure a credential helper to remove this warning. See 11:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:35 11:00:35 Login Succeeded 11:00:35 nexus3.edgexfoundry.org:10004 11:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:35 Configure a credential helper to remove this warning. See 11:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:35 11:00:35 Login Succeeded 11:00:35 docker.io 11:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:36 Configure a credential helper to remove this warning. See 11:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:36 11:00:36 Login Succeeded 11:00:36 ---> docker-login.sh ends [Pipeline] } 11:00:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:36 ========================================================= 11:00:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:00:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:36 + 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 . 11:00:36 Sending build context to Docker daemon 10.5MB 11:00:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 11:00:36 Step 2/10 : FROM ${BASE} AS builder 11:00:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:00:36 213ec9aee27d: Pulling fs layer 11:00:36 4583459ba037: Pulling fs layer 11:00:36 93c1e223e6f2: Pulling fs layer 11:00:36 53926ce57604: Pulling fs layer 11:00:36 21b2b0c7a3f4: Pulling fs layer 11:00:36 22ff95d597cd: Pulling fs layer 11:00:36 12d6caf4c0d1: Pulling fs layer 11:00:36 96b7cbca73a9: Pulling fs layer 11:00:36 a7acece74701: Pulling fs layer 11:00:36 96b7cbca73a9: Waiting 11:00:36 53926ce57604: Waiting 11:00:36 21b2b0c7a3f4: Waiting 11:00:36 93c1e223e6f2: Verifying Checksum 11:00:36 93c1e223e6f2: Download complete 11:00:36 4583459ba037: Verifying Checksum 11:00:36 4583459ba037: Download complete 11:00:36 21b2b0c7a3f4: Download complete 11:00:36 22ff95d597cd: Verifying Checksum 11:00:36 22ff95d597cd: Download complete 11:00:36 213ec9aee27d: Verifying Checksum 11:00:36 213ec9aee27d: Download complete 11:00:36 12d6caf4c0d1: Download complete 11:00:37 213ec9aee27d: Pull complete 11:00:37 4583459ba037: Pull complete 11:00:37 93c1e223e6f2: Pull complete 11:00:37 a7acece74701: Verifying Checksum 11:00:37 a7acece74701: Download complete 11:00:37 53926ce57604: Verifying Checksum 11:00:37 53926ce57604: Download complete 11:00:37 96b7cbca73a9: Verifying Checksum 11:00:37 96b7cbca73a9: Download complete 11:00:42 53926ce57604: Pull complete 11:00:42 21b2b0c7a3f4: Pull complete 11:00:42 22ff95d597cd: Pull complete 11:00:42 12d6caf4c0d1: Pull complete 11:00:44 96b7cbca73a9: Pull complete 11:00:44 a7acece74701: Pull complete 11:00:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 11:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:00:44 ---> db6d94c90886 11:00:44 Step 3/10 : ARG MAKE=make build 11:00:48 ---> Running in d391a8223390 11:00:48 Removing intermediate container d391a8223390 11:00:48 ---> a50f1b9ab11a 11:00:48 Step 4/10 : WORKDIR /device-sdk-go 11:00:48 ---> Running in b8735df75693 11:00:48 Removing intermediate container b8735df75693 11:00:48 ---> c466ebf067a2 11:00:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:00:49 ---> Running in 712b879e3d71 11:00:49 Removing intermediate container 712b879e3d71 11:00:49 ---> b70891d49f67 11:00:49 Step 6/10 : RUN apk add --update --no-cache make git 11:00:49 ---> Running in 24dfc5e70ea0 11:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:00:49 OK: 211 MiB in 51 packages 11:00:50 Still waiting to schedule task 11:00:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2039’ 11:00:50 Removing intermediate container 24dfc5e70ea0 11:00:50 ---> e4dc6160d23b 11:00:50 Step 7/10 : COPY go.mod vendor* ./ 11:00:50 ---> a540ba4db059 11:00:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:00:50 ---> Running in c1ee6d91b734 11:01:12 Removing intermediate container c1ee6d91b734 11:01:12 ---> 61e86333046b 11:01:12 Step 9/10 : COPY . . 11:01:12 ---> 7f8b9d717cdf 11:01:12 Step 10/10 : RUN ${MAKE} 11:01:12 ---> Running in 31e8429e3c37 11:01:12 noop 11:01:12 Removing intermediate container 31e8429e3c37 11:01:12 ---> 6bff90221c4a 11:01:12 Successfully built 6bff90221c4a 11:01:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:13 + docker inspect -f . ci-base-image-x86_64 11:01:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:13 prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container 11:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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 ******** ci-base-image-x86_64 cat 11:01:13 $ docker top e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:14 + go version 11:01:14 go version go1.18.7 linux/amd64 [Pipeline] } 11:01:14 $ docker stop --time=1 e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 11:01:15 $ docker rm -f --volumes e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:15 + docker inspect -f . ci-base-image-x86_64 11:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:15 prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container 11:01:15 $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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 ******** ci-base-image-x86_64 cat 11:01:16 $ docker top f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] fileExists [Pipeline] sh 11:01:16 + make test 11:01:16 go test -race -coverprofile=coverage.out ./... 11:01:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 73.6% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.137s coverage: 54.4% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.124s coverage: 65.1% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 11:01:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements 11:01:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:01:57 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." 11:01:57 GO111MODULE=on go vet ./... 11:01:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:59 ./bin/test-attribution-txt.sh [Pipeline] echo 11:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:01:59 $ docker stop --time=1 f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 11:02:03 $ docker rm -f --volumes f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 [Pipeline] // withDockerContainer [Pipeline] sh 11:02:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:02:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:02:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:02:04 + ls -al . 11:02:04 total 280 11:02:04 drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 11:01 . 11:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:00 .. 11:02:04 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 11:00 .dockerignore 11:02:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 11:01 .git 11:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:00 .github 11:02:04 -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 11:00 .gitignore 11:02:04 -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 11:00 .golangci.yml 11:02:04 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 11:00 .semver 11:02:04 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 11:00 CHANGELOG.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 11:00 GOVERNANCE.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 11:00 Jenkinsfile 11:02:04 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 11:00 LICENSE 11:02:04 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 11:00 Makefile 11:02:04 -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 11:00 OWNERS.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 11:00 README.md 11:02:04 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 11:00 VERSION 11:02:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:00 bin 11:02:04 -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 11:01 coverage.out 11:02:04 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 11:00 example 11:02:04 -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 11:00 go.mod 11:02:04 -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 11:00 go.sum 11:02:04 drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 11:00 internal 11:02:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 11:00 openapi 11:02:04 drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 11:00 pkg 11:02:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:00 snap 11:02:04 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:05 + 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=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 --label arch=amd64 --label version=0.0.0 . 11:02:05 Sending build context to Docker daemon 10.6MB 11:02:05 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 11:02:05 Step 2/23 : FROM ${BASE} AS builder 11:02:05 ---> 6bff90221c4a 11:02:05 Step 3/23 : ARG MAKE=make build 11:02:05 ---> Running in 68d34ce5d731 11:02:05 Removing intermediate container 68d34ce5d731 11:02:05 ---> 5701ea0f8df8 11:02:05 Step 4/23 : WORKDIR /device-sdk-go 11:02:05 ---> Running in a75d3dbed0d7 11:02:05 Removing intermediate container a75d3dbed0d7 11:02:05 ---> fea352d5bc52 11:02:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:02:05 ---> Running in 851468bb602e 11:02:05 Removing intermediate container 851468bb602e 11:02:05 ---> 90bbf431c997 11:02:05 Step 6/23 : RUN apk add --update --no-cache make git 11:02:05 ---> Running in a110f8918428 11:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:02:06 OK: 211 MiB in 51 packages 11:02:06 Removing intermediate container a110f8918428 11:02:06 ---> 987d1821d7b0 11:02:06 Step 7/23 : COPY go.mod vendor* ./ 11:02:06 ---> 7d46b25f2ae2 11:02:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:02:07 ---> Running in 10fdc1dca97d 11:02:08 Removing intermediate container 10fdc1dca97d 11:02:08 ---> 7433baa6394a 11:02:08 Step 9/23 : COPY . . 11:02:08 ---> 847652d9c72f 11:02:08 Step 10/23 : RUN ${MAKE} 11:02:08 ---> Running in 6386361c5275 11:02: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 11:02:31 Removing intermediate container 6386361c5275 11:02:31 ---> a3a7d03c76c7 11:02:31 Step 11/23 : FROM alpine:3.16 11:02:31 3.16: Pulling from library/alpine 11:02:31 ca7dd9ec2225: Pulling fs layer 11:02:31 ca7dd9ec2225: Verifying Checksum 11:02:31 ca7dd9ec2225: Download complete 11:02:31 ca7dd9ec2225: Pull complete 11:02:31 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 11:02:31 Status: Downloaded newer image for alpine:3.16 11:02:31 ---> bfe296a52501 11:02:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:02:31 ---> Running in 5633170315df 11:02:31 Removing intermediate container 5633170315df 11:02:31 ---> bddcb1d200b6 11:02:31 Step 13/23 : RUN apk add --update --no-cache 11:02:31 ---> Running in 8ce8cfc10efe 11:02:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:02:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:02:32 OK: 6 MiB in 14 packages 11:02:32 Removing intermediate container 8ce8cfc10efe 11:02:32 ---> bdbd6d26bef1 11:02:32 Step 14/23 : WORKDIR / 11:02:32 ---> Running in a77cc2723e0f 11:02:32 Removing intermediate container a77cc2723e0f 11:02:32 ---> 39f6ed839fd8 11:02:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:02:32 ---> 0797772b7647 11:02:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:02:33 ---> d42a627dad9c 11:02:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:02:33 ---> d90930bce7cd 11:02:33 Step 18/23 : EXPOSE 59999 11:02:33 ---> Running in 37c19c93dc82 11:02:33 Removing intermediate container 37c19c93dc82 11:02:33 ---> 969a623e3c49 11:02:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:02:33 ---> Running in d251c561165f 11:02:33 Removing intermediate container d251c561165f 11:02:33 ---> a47a287778d2 11:02:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:02:33 ---> Running in b0106d5dec6f 11:02:33 Removing intermediate container b0106d5dec6f 11:02:33 ---> a3d0f1a6eff2 11:02:33 Step 21/23 : LABEL arch=amd64 11:02:33 ---> Running in 2e76c3818370 11:02:33 Removing intermediate container 2e76c3818370 11:02:33 ---> 0660a3696767 11:02:33 Step 22/23 : LABEL git_sha=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 11:02:33 ---> Running in 5a7761337c36 11:02:33 Removing intermediate container 5a7761337c36 11:02:33 ---> 21084e9939c7 11:02:33 Step 23/23 : LABEL version=0.0.0 11:02:33 ---> Running in 81b17eb8c33b 11:02:33 Removing intermediate container 81b17eb8c33b 11:02:33 ---> 1c6af229b91f 11:02:33 [Warning] One or more build-args [ARCH] were not consumed 11:02:33 Successfully built 1c6af229b91f 11:02:33 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:34 11:02:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:34 latest: Pulling from edgex-lftools-log-publisher 11:02:34 5eb5b503b376: Pulling fs layer 11:02:34 5c69ac0246d0: Pulling fs layer 11:02:34 ec43610c2a17: Pulling fs layer 11:02:34 3a2ae6a8a46f: Pulling fs layer 11:02:34 33b1e0a273af: Pulling fs layer 11:02:34 5d3b04190fa2: Pulling fs layer 11:02:34 2f39f015ded8: Pulling fs layer 11:02:34 5d3b04190fa2: Waiting 11:02:34 3a2ae6a8a46f: Waiting 11:02:34 2f39f015ded8: Waiting 11:02:34 33b1e0a273af: Waiting 11:02:34 5c69ac0246d0: Verifying Checksum 11:02:34 5c69ac0246d0: Download complete 11:02:34 3a2ae6a8a46f: Download complete 11:02:34 33b1e0a273af: Verifying Checksum 11:02:34 33b1e0a273af: Download complete 11:02:34 ec43610c2a17: Verifying Checksum 11:02:34 ec43610c2a17: Download complete 11:02:34 5d3b04190fa2: Verifying Checksum 11:02:34 5d3b04190fa2: Download complete 11:02:34 5eb5b503b376: Verifying Checksum 11:02:34 5eb5b503b376: Download complete 11:02:35 2f39f015ded8: Download complete 11:02:36 5eb5b503b376: Pull complete 11:02:36 5c69ac0246d0: Pull complete 11:02:36 ec43610c2a17: Pull complete 11:02:36 3a2ae6a8a46f: Pull complete 11:02:37 33b1e0a273af: Pull complete 11:02:37 5d3b04190fa2: Pull complete 11:02:42 2f39f015ded8: Pull complete 11:02:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:42 prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container 11:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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 11:02:46 $ docker top ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:46 ---> job-cost.sh 11:02:46 lf-activate-venv: SKIPPING 11:02:46 INFO: No Stack... 11:02:46 INFO: Retrieving Pricing Info for: v3-standard-8 11:02:47 INFO: Archiving Costs [Pipeline] sh 11:02:47 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/cost.csv 11:02:47 + cut -d, -f6 [Pipeline] lock 11:02:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] 11:02:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] did not exist. Created. 11:02:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:02:47 + echo total: 0.2199999988079071 [Pipeline] stash 11:02:47 Stashed 1 file(s) [Pipeline] } 11:02:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:02:47 $ docker stop --time=1 ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b 11:02:49 $ docker rm -f --volumes ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:04:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2041 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] { [Pipeline] ws 11:04:31 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 11:04:31 The recommended git tool is: git 11:04:39 using credential edgex-jenkins-ssh 11:04:39 Cloning the remote Git repository 11:04:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:04:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 11:04:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:04:39 > git --version # timeout=10 11:04:39 > git --version # 'git version 2.25.1' 11:04:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:04:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:04:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:04:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:04:43 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 11:04:43 Merge succeeded, producing 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 11:04:43 Checking out Revision 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 (PR-1279) 11:04:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:04:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:04:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:04:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:04:43 > git config core.sparsecheckout # timeout=10 11:04:43 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 11:04:43 > git remote # timeout=10 11:04:43 > git config --get remote.origin.url # timeout=10 11:04:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:04:43 > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 11:04:43 > git rev-parse HEAD^{commit} # timeout=10 11:04:43 > git config core.sparsecheckout # timeout=10 11:04:43 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 11:04:47 Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:04:47 % Total % Received % Xferd Average Speed Time Time Time Current 11:04:47 Dload Upload Total Spent Left Speed 11:04:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 11:04:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:04:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:04:49 + sudo tee /etc/docker/daemon.new 11:04:49 { 11:04:49 "registry-mirrors": [ 11:04:49 "https://nexus3.edgexfoundry.org:10001" 11:04:49 ], 11:04:49 "bip": "10.250.0.254/24", 11:04:49 "hosts": [ 11:04:49 "tcp://0.0.0.0:5555", 11:04:49 "unix:///var/run/docker.sock" 11:04:49 ], 11:04:49 "mtu": 1458, 11:04:49 "selinux-enabled": true, 11:04:49 "seccomp-profile": "/etc/docker/seccomp.json" 11:04:49 } [Pipeline] sh 11:04:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:04:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:08 provisioning config files... 11:05:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6290496516131658501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:08 ---> docker-login.sh 11:05:08 nexus3.edgexfoundry.org:10001 11:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:09 Configure a credential helper to remove this warning. See 11:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:09 11:05:09 Login Succeeded 11:05:09 nexus3.edgexfoundry.org:10002 11:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:09 Configure a credential helper to remove this warning. See 11:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:09 11:05:09 Login Succeeded 11:05:09 nexus3.edgexfoundry.org:10003 11:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:09 Configure a credential helper to remove this warning. See 11:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:09 11:05:09 Login Succeeded 11:05:09 nexus3.edgexfoundry.org:10004 11:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:10 Configure a credential helper to remove this warning. See 11:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:10 11:05:10 Login Succeeded 11:05:10 docker.io 11:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:10 Configure a credential helper to remove this warning. See 11:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:10 11:05:10 Login Succeeded 11:05:10 ---> docker-login.sh ends [Pipeline] } 11:05:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:11 ========================================================= 11:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:05:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:11 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:05:11 Sending build context to Docker daemon 5.667MB 11:05:11 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 11:05:11 Step 2/10 : FROM ${BASE} AS builder 11:05:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:05:12 9b18e9b68314: Pulling fs layer 11:05:12 35d82f9e3411: Pulling fs layer 11:05:12 e16973657156: Pulling fs layer 11:05:12 fc693d55d65f: Pulling fs layer 11:05:12 7e9fc2657dce: Pulling fs layer 11:05:12 dda99020689f: Pulling fs layer 11:05:12 db1c61fa0a46: Pulling fs layer 11:05:12 891c053d2c06: Pulling fs layer 11:05:12 fc693d55d65f: Waiting 11:05:12 7e9fc2657dce: Waiting 11:05:12 dda99020689f: Waiting 11:05:12 db1c61fa0a46: Waiting 11:05:12 891c053d2c06: Waiting 11:05:12 e16973657156: Verifying Checksum 11:05:12 e16973657156: Download complete 11:05:12 35d82f9e3411: Verifying Checksum 11:05:12 35d82f9e3411: Download complete 11:05:12 7e9fc2657dce: Download complete 11:05:12 dda99020689f: Verifying Checksum 11:05:12 dda99020689f: Download complete 11:05:12 9b18e9b68314: Verifying Checksum 11:05:12 9b18e9b68314: Download complete 11:05:13 9b18e9b68314: Pull complete 11:05:13 891c053d2c06: Verifying Checksum 11:05:13 891c053d2c06: Download complete 11:05:13 35d82f9e3411: Pull complete 11:05:14 e16973657156: Pull complete 11:05:14 db1c61fa0a46: Verifying Checksum 11:05:14 db1c61fa0a46: Download complete 11:05:15 fc693d55d65f: Download complete 11:05:27 fc693d55d65f: Pull complete 11:05:27 7e9fc2657dce: Pull complete 11:05:27 dda99020689f: Pull complete 11:05:33 db1c61fa0a46: Pull complete 11:05:35 891c053d2c06: Pull complete 11:05:35 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 11:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:05:35 ---> f96f9c87975a 11:05:35 Step 3/10 : ARG MAKE=make build 11:05:38 ---> Running in ff2d5ac4d3d5 11:05:38 Removing intermediate container ff2d5ac4d3d5 11:05:38 ---> 93d633102832 11:05:38 Step 4/10 : WORKDIR /device-sdk-go 11:05:38 ---> Running in a99ed1ff5344 11:05:38 Removing intermediate container a99ed1ff5344 11:05:38 ---> 605a73c60aef 11:05:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:05:38 ---> Running in 60c3e04d33ce 11:05:39 Removing intermediate container 60c3e04d33ce 11:05:39 ---> f16ad1eac16f 11:05:39 Step 6/10 : RUN apk add --update --no-cache make git 11:05:39 ---> Running in b744e8d9cf2d 11:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:05:41 OK: 221 MiB in 51 packages 11:05:42 Removing intermediate container b744e8d9cf2d 11:05:42 ---> 56ab39b4b371 11:05:42 Step 7/10 : COPY go.mod vendor* ./ 11:05:43 ---> 7c9f4d543721 11:05:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:43 ---> Running in 94d0472a34ae 11:06:51 Removing intermediate container 94d0472a34ae 11:06:51 ---> 9a60257d64c1 11:06:51 Step 9/10 : COPY . . 11:06:51 ---> 477737e0beb9 11:06:51 Step 10/10 : RUN ${MAKE} 11:06:51 ---> Running in 37a45e667453 11:06:51 noop 11:06:51 Removing intermediate container 37a45e667453 11:06:51 ---> c30aa9f2f6eb 11:06:51 Successfully built c30aa9f2f6eb 11:06:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:51 + docker inspect -f . ci-base-image-arm64 11:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container 11:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:06:52 $ docker top 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:53 + go version 11:06:53 go version go1.18.7 linux/arm64 [Pipeline] } 11:06:53 $ docker stop --time=1 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d 11:06:55 $ docker rm -f --volumes 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:55 + docker inspect -f . ci-base-image-arm64 11:06:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:55 prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container 11:06:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:06:57 $ docker top ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:57 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 11:06:58 + make test 11:06:58 go test -race -coverprofile=coverage.out ./... 11:07:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:09:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements 11:09:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 78.9% of statements 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 11:09:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.447s coverage: 73.6% of statements 11:09:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:09:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:09:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.513s coverage: 54.4% of statements 11:09:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:09:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 11:09:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:09:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 11:09:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.421s coverage: 65.1% of statements 11:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:09:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.360s coverage: 89.2% of statements 11:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 11:09:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.294s coverage: 4.6% of statements 11:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:09:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:09:37 GO111MODULE=on go vet ./... 11:11:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:14 ./bin/test-attribution-txt.sh [Pipeline] echo 11:11:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:11:14 $ docker stop --time=1 ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 11:11:17 $ docker rm -f --volumes ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:18 Warning: overwriting stash ‘coverage-report’ 11:11:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:19 + ls -al . 11:11:19 total 276 11:11:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 11:06 . 11:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:04 .. 11:11:19 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 11:04 .dockerignore 11:11:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 11:04 .git 11:11:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:04 .github 11:11:19 -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 11:04 .gitignore 11:11:19 -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 11:04 .golangci.yml 11:11:19 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 11:04 CHANGELOG.md 11:11:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 11:04 GOVERNANCE.md 11:11:19 -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 11:04 Jenkinsfile 11:11:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 11:04 LICENSE 11:11:19 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 11:04 Makefile 11:11:19 -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 11:04 OWNERS.md 11:11:19 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 11:04 README.md 11:11:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 11:00 VERSION 11:11:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:04 bin 11:11:19 -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 11:09 coverage.out 11:11:19 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 11:04 example 11:11:19 -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 11:04 go.mod 11:11:19 -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 11:04 go.sum 11:11:19 drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 11:04 internal 11:11:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 11:04 openapi 11:11:19 drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 11:04 pkg 11:11:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:04 snap 11:11:19 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:20 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 --label arch=arm64 --label version=0.0.0 . 11:11:20 Sending build context to Docker daemon 5.77MB 11:11:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 11:11:20 Step 2/23 : FROM ${BASE} AS builder 11:11:20 ---> c30aa9f2f6eb 11:11:20 Step 3/23 : ARG MAKE=make build 11:11:20 ---> Running in 43fc9ac6bae9 11:11:21 Removing intermediate container 43fc9ac6bae9 11:11:21 ---> 89fb935ef434 11:11:21 Step 4/23 : WORKDIR /device-sdk-go 11:11:21 ---> Running in 944c7fcccba2 11:11:21 Removing intermediate container 944c7fcccba2 11:11:21 ---> dfb8439c670c 11:11:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:11:21 ---> Running in f282cd72254f 11:11:21 Removing intermediate container f282cd72254f 11:11:21 ---> e409ef0a22fc 11:11:21 Step 6/23 : RUN apk add --update --no-cache make git 11:11:21 ---> Running in b5fe69a16fb1 11:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:11:24 OK: 221 MiB in 51 packages 11:11:25 Removing intermediate container b5fe69a16fb1 11:11:25 ---> e2ab5b28039d 11:11:25 Step 7/23 : COPY go.mod vendor* ./ 11:11:25 ---> 09edd65cd3f4 11:11:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:25 ---> Running in 2c99e5293360 11:11:27 Removing intermediate container 2c99e5293360 11:11:27 ---> c26bfc5d0360 11:11:27 Step 9/23 : COPY . . 11:11:29 ---> a110284cdd2f 11:11:29 Step 10/23 : RUN ${MAKE} 11:11:29 ---> Running in 18466017ce05 11:11:30 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 11:13:37 Removing intermediate container 18466017ce05 11:13:37 ---> a543c44a36f7 11:13:37 Step 11/23 : FROM alpine:3.16 11:13:37 3.16: Pulling from library/alpine 11:13:37 6875df1f5354: Pulling fs layer 11:13:37 6875df1f5354: Verifying Checksum 11:13:37 6875df1f5354: Download complete 11:13:37 6875df1f5354: Pull complete 11:13:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 11:13:37 Status: Downloaded newer image for alpine:3.16 11:13:37 ---> 2b4661558fb8 11:13:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:13:37 ---> Running in 4de93006cab2 11:13:37 Removing intermediate container 4de93006cab2 11:13:37 ---> 46b92a4ccf5b 11:13:37 Step 13/23 : RUN apk add --update --no-cache 11:13:37 ---> Running in 9feae9b73925 11:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:37 OK: 5 MiB in 14 packages 11:13:37 Removing intermediate container 9feae9b73925 11:13:37 ---> 77828f8e1bb4 11:13:37 Step 14/23 : WORKDIR / 11:13:37 ---> Running in 53bb1ba5e328 11:13:37 Removing intermediate container 53bb1ba5e328 11:13:37 ---> a7008260bab3 11:13:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:13:37 ---> 9c57f823544c 11:13:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:13:37 ---> d013c10ea8ee 11:13:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:13:37 ---> 8d08cde9be83 11:13:37 Step 18/23 : EXPOSE 59999 11:13:37 ---> Running in ce1b12b8c18f 11:13:37 Removing intermediate container ce1b12b8c18f 11:13:37 ---> c1a632647a6d 11:13:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:13:37 ---> Running in ab50fa090f83 11:13:37 Removing intermediate container ab50fa090f83 11:13:37 ---> 50268097aae0 11:13:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:13:37 ---> Running in 35790b96322b 11:13:38 Removing intermediate container 35790b96322b 11:13:38 ---> 079545416046 11:13:38 Step 21/23 : LABEL arch=arm64 11:13:38 ---> Running in c15041377749 11:13:38 Removing intermediate container c15041377749 11:13:38 ---> da08525d024d 11:13:38 Step 22/23 : LABEL git_sha=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 11:13:38 ---> Running in 5b12d307e4e8 11:13:38 Removing intermediate container 5b12d307e4e8 11:13:38 ---> aa240c9b4d0f 11:13:38 Step 23/23 : LABEL version=0.0.0 11:13:38 ---> Running in bc6c4c205856 11:13:39 Removing intermediate container bc6c4c205856 11:13:39 ---> 2d738c67e36f 11:13:39 [Warning] One or more build-args [ARCH] were not consumed 11:13:39 Successfully built 2d738c67e36f 11:13:39 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:39 11:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:39 arm64: Pulling from edgex-lftools-log-publisher 11:13:39 8998bd30e6a1: Pulling fs layer 11:13:39 04944245beec: Pulling fs layer 11:13:39 699f458cf7ca: Pulling fs layer 11:13:39 765212b225bb: Pulling fs layer 11:13:39 f23df028b6ca: Pulling fs layer 11:13:39 765212b225bb: Waiting 11:13:39 d65c8cfc05b1: Pulling fs layer 11:13:39 2437ff75d9bd: Pulling fs layer 11:13:39 d65c8cfc05b1: Waiting 11:13:39 2437ff75d9bd: Waiting 11:13:39 f23df028b6ca: Waiting 11:13:40 04944245beec: Verifying Checksum 11:13:40 04944245beec: Download complete 11:13:40 765212b225bb: Verifying Checksum 11:13:40 765212b225bb: Download complete 11:13:40 f23df028b6ca: Download complete 11:13:40 d65c8cfc05b1: Verifying Checksum 11:13:40 d65c8cfc05b1: Download complete 11:13:40 699f458cf7ca: Verifying Checksum 11:13:40 699f458cf7ca: Download complete 11:13:40 8998bd30e6a1: Verifying Checksum 11:13:40 8998bd30e6a1: Download complete 11:13:42 2437ff75d9bd: Verifying Checksum 11:13:42 2437ff75d9bd: Download complete 11:13:44 8998bd30e6a1: Pull complete 11:13:44 04944245beec: Pull complete 11:13:45 699f458cf7ca: Pull complete 11:13:46 765212b225bb: Pull complete 11:13:47 f23df028b6ca: Pull complete 11:13:47 d65c8cfc05b1: Pull complete 11:14:02 2437ff75d9bd: Pull complete 11:14:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:14:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container 11:14:02 $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:14:05 $ docker top 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:05 ---> job-cost.sh 11:14:05 lf-activate-venv: SKIPPING 11:14:05 INFO: No Stack... 11:14:06 INFO: Retrieving Pricing Info for: v3-standard-4 11:14:07 INFO: Archiving Costs [Pipeline] sh 11:14:07 + + catcut -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 11:14:07 [Pipeline] lock 11:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] 11:14:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] did not exist. Created. 11:14:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:08 /w/workspace/device-sdk-go/2@tmp/durable-37b9484f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:14:08 + echo total: 0.10999999940395355 [Pipeline] stash 11:14:08 Warning: overwriting stash ‘stack-cost’ 11:14:08 Stashed 1 file(s) [Pipeline] } 11:14:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:08 $ docker stop --time=1 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 11:14:09 $ docker rm -f --volumes 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:14:10 provisioning config files... 11:14:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config4215646248844585346tmp [Pipeline] { [Pipeline] sh 11:14:10 + set +x 11:14:10 + bash -s -- 11:14:10 + curl -s https://codecov.io/bash 11:14:10 11:14:10 _____ _ 11:14:10 / ____| | | 11:14:10 | | ___ __| | ___ ___ _____ __ 11:14:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:14:10 | |___| (_) | (_| | __/ (_| (_) \ V / 11:14:10 \_____\___/ \__,_|\___|\___\___/ \_/ 11:14:10 Bash-1.0.6 11:14:10 11:14:10 11:14:10 ==> git version 2.25.1 found 11:14:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:14:10 Release-Date: 2020-01-08 11:14:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:14:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:14:10 ==> Jenkins CI detected. 11:14:10 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1279 11:14:10 project root: . 11:14:10 --> token set from env 11:14:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:14:10 ==> Running gcov in . (disable via -X gcov) 11:14:10 ==> Python coveragepy not found 11:14:10 ==> Searching for coverage reports in: 11:14:10 + . 11:14:10 -> Found 1 reports 11:14:10 ==> Detecting git/mercurial file structure 11:14:10 ==> Reading reports 11:14:10 + ./coverage.out bytes=101913 11:14:10 ==> Appending adjustments 11:14:10 https://docs.codecov.io/docs/fixing-reports 11:14:11 + Found adjustments 11:14:11 ==> Gzipping contents 11:14:11 16K /tmp/codecov.Hz8U5Q.gz 11:14:11 ==> Uploading reports 11:14:11 url: https://codecov.io 11:14:11 query: branch=PR-1279&commit=87ddf450d52ca3162354f7bb75cf9b94dc78eb11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= 11:14:11 -> Pinging Codecov 11:14:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1279&commit=87ddf450d52ca3162354f7bb75cf9b94dc78eb11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= 11:14:11 -> Uploading to 11:14:11 https://storage.googleapis.com/codecov/v4/raw/2023-01-12/7E55EF52A471D76F132DFD9A03CDDE97/87ddf450d52ca3162354f7bb75cf9b94dc78eb11/e26058da-af2f-4070-93cf-74b9c252ced1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T111411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc59f6cd839e03bfac3640379e09dda996cfd4ded3c88d42db56a73d87b720f1 11:14:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:11 Dload Upload Total Spent Left Speed 11:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14751 0 0 100 14751 0 73024 --:--:-- --:--:-- --:--:-- 73024 11:14:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] } 11:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:14:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives ] 11:14:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives 11:14:12 total 16 11:14:12 drwxr-xr-x 3 root root 4096 Jan 12 11:02 . 11:14:12 drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 11:02 .. 11:14:12 drwxr-xr-x 2 root root 4096 Jan 12 11:02 cost 11:14:12 -rw-r--r-- 1 root root 86 Jan 12 11:02 cost.csv 11:14:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives 11:14:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives 11:14:12 total 16 11:14:12 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 11:02 . 11:14:12 drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 11:02 .. 11:14:12 drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 11:02 cost 11:14:12 -rw-r--r-- 1 jenkins jenkins 86 Jan 12 11:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:14:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:13 ---> package-listing.sh 11:14:13 ++ facter osfamily 11:14:13 ++ tr '[:upper:]' '[:lower:]' 11:14:13 + OS_FAMILY=debian 11:14:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1279 11:14:13 + START_PACKAGES=/tmp/packages_start.txt 11:14:13 + END_PACKAGES=/tmp/packages_end.txt 11:14:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:13 + PACKAGES=/tmp/packages_start.txt 11:14:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' 11:14:13 + PACKAGES=/tmp/packages_end.txt 11:14:13 + case "${OS_FAMILY}" in 11:14:13 + dpkg -l 11:14:13 + grep '^ii' 11:14:13 + '[' -f /tmp/packages_start.txt ']' 11:14:13 + '[' -f /tmp/packages_end.txt ']' 11:14:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' 11:14:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ 11:14:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [Pipeline] echo 11:14:13 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-1279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:14:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:14 prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container 11:14:14 $ 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-1279/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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:14:14 $ docker top 2527fec9705f7ad0186252c36123224560c1d9aea18aead41f20258a21e12234 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:15 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:15 + mkdir -p /var/log/sysstat [Pipeline] sh 11:14:15 + ls /var/log/sa-host 11:14:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:15 provisioning config files... 11:14:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config1757573082842767832tmp [Pipeline] { [Pipeline] echo 11:14:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:16 ---> create-netrc.sh [Pipeline] } 11:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:14:16 ---> python-tools-install.sh [Pipeline] echo 11:14:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:16 ---> sudo-logs.sh 11:14:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:17 ---> job-cost.sh 11:14:17 lf-activate-venv: SKIPPING 11:14:17 DEBUG: total: 0.2199999988079071 11:14:17 INFO: Retrieving Stack Cost... 11:14:17 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:18 INFO: Archiving Costs [Pipeline] echo 11:14:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:18 ---> logs-deploy.sh 11:14:18 lf-activate-venv: SKIPPING 11:14:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1279/2 11:14:18 INFO: archiving workspace using pattern(s): 11:14:19 Archives upload complete. 11:14:19 INFO: archiving logs to Nexus