Pull request #1343 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 bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5827dcbf4716f89f27efa4d61bbd9e5ed358461d rather than 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Obtained Jenkinsfile from 5827dcbf4716f89f27efa4d61bbd9e5ed358461d 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-ssh2744168259691892932.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-ssh17767687221988751981.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-1343/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-1343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6041109218903068130.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-ssh5610088621217681152.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-1343/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-1343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1179850440726759798.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/v3]] ========================================================= [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/v3 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 Running on prd-ubuntu20.04-docker-8c-8g-7081 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [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-1343 # 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/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Merge succeeded, producing 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Checking out Revision 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a (PR-1343) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # 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 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 Commit message: "feat!: Apply JWT authentication to incoming calls" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:01:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:01:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:01:42 ========================================================= 18:01:42 EdgeX Global Pipelines Version Info 18:01:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:01:42 ------------------- 18:01:42 stable info: 18:01:42 ------------------- 18:01:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:01:42 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:01:42 Message: update stable to v1.0.244 18:01:43 ------------------- 18:01:43 experimental info: 18:01:43 ------------------- 18:01:43 Commited By: **** collab-it+edgex@linuxfoundation.org 18:01:43 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:01:43 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1343 [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1343 [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1343 [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b789ff [Pipeline] echo 18:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:43 provisioning config files... 18:01:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config3538781640815072574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:44 ---> docker-login.sh 18:01:44 nexus3.edgexfoundry.org:10001 18:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:44 Configure a credential helper to remove this warning. See 18:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:44 18:01:44 Login Succeeded 18:01:44 nexus3.edgexfoundry.org:10002 18:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:44 Configure a credential helper to remove this warning. See 18:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:44 18:01:44 Login Succeeded 18:01:44 nexus3.edgexfoundry.org:10003 18:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:44 Configure a credential helper to remove this warning. See 18:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:44 18:01:44 Login Succeeded 18:01:44 nexus3.edgexfoundry.org:10004 18:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:44 Configure a credential helper to remove this warning. See 18:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:44 18:01:44 Login Succeeded 18:01:44 docker.io 18:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:45 Configure a credential helper to remove this warning. See 18:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:45 18:01:45 Login Succeeded 18:01:45 ---> docker-login.sh ends [Pipeline] } 18:01:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:01:45 + git rev-list -1 --merges 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a~1..6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo 18:01:45 -----------> git rev-list -1 --merges 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a~1..6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [false] [Pipeline] sh 18:01:46 + git log --format=format:%s -1 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo 18:01:46 ========================================================= 18:01:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:01:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:46 + git log --format=format:%s -1 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo 18:01:46 [semverPrep] GIT_COMMIT: 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a, Commit Message: feat!: Apply JWT authentication to incoming calls [Pipeline] echo 18:01:46 [semverPrep] This is not a build commit. [Pipeline] sh 18:01:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:46 + grep -v github /etc/ssh/ssh_known_hosts 18:01:46 + [ -e /tmp/ssh_known_hosts ] 18:01:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:01:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:01:46 + sudo tee -a /etc/ssh/ssh_known_hosts 18:01:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:47 18:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:47 0.1.4: Pulling from edgex-devops/py-git-semver 18:01:47 b85a868b505f: Pulling fs layer 18:01:47 e2be974225ed: Pulling fs layer 18:01:47 339a4e72a1f5: Pulling fs layer 18:01:47 988bab9f4d93: Pulling fs layer 18:01:47 1469e6f7b9e6: Pulling fs layer 18:01:47 eaf3925da568: Pulling fs layer 18:01:47 bab4dde63d76: Pulling fs layer 18:01:47 bde34c3a00c8: Pulling fs layer 18:01:47 b352a97aabf1: Pulling fs layer 18:01:47 4872d77fe225: Pulling fs layer 18:01:47 5851b861e8e6: Pulling fs layer 18:01:47 bab4dde63d76: Waiting 18:01:47 4872d77fe225: Waiting 18:01:47 b352a97aabf1: Waiting 18:01:47 bde34c3a00c8: Waiting 18:01:47 1469e6f7b9e6: Waiting 18:01:47 eaf3925da568: Waiting 18:01:47 988bab9f4d93: Waiting 18:01:47 5851b861e8e6: Waiting 18:01:47 e2be974225ed: Verifying Checksum 18:01:47 e2be974225ed: Download complete 18:01:47 988bab9f4d93: Verifying Checksum 18:01:47 988bab9f4d93: Download complete 18:01:47 1469e6f7b9e6: Verifying Checksum 18:01:47 1469e6f7b9e6: Download complete 18:01:47 eaf3925da568: Download complete 18:01:47 339a4e72a1f5: Verifying Checksum 18:01:47 339a4e72a1f5: Download complete 18:01:47 bde34c3a00c8: Verifying Checksum 18:01:47 bde34c3a00c8: Download complete 18:01:47 b352a97aabf1: Verifying Checksum 18:01:47 b352a97aabf1: Download complete 18:01:47 4872d77fe225: Verifying Checksum 18:01:47 4872d77fe225: Download complete 18:01:47 5851b861e8e6: Verifying Checksum 18:01:47 5851b861e8e6: Download complete 18:01:47 b85a868b505f: Download complete 18:01:47 bab4dde63d76: Verifying Checksum 18:01:47 bab4dde63d76: Download complete 18:01:49 b85a868b505f: Pull complete 18:01:49 e2be974225ed: Pull complete 18:01:49 339a4e72a1f5: Pull complete 18:01:49 988bab9f4d93: Pull complete 18:01:50 1469e6f7b9e6: Pull complete 18:01:50 eaf3925da568: Pull complete 18:01:52 bab4dde63d76: Pull complete 18:01:52 bde34c3a00c8: Pull complete 18:01:52 b352a97aabf1: Pull complete 18:01:52 4872d77fe225: Pull complete 18:01:52 5851b861e8e6: Pull complete 18:01:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:52 prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container 18:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:53 $ docker top e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db -eo pid,comm 18:01:53 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). 18:01:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:53 [ssh-agent] Looking for ssh-agent implementation... 18:01:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:53 $ docker exec e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent 18:01:53 SSH_AUTH_SOCK=/tmp/ssh-z2IYkmSFYbBW/agent.32 18:01:53 SSH_AGENT_PID=38 18:01:53 Running ssh-add (command line suppressed) 18:01:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_7618381235965077882.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_7618381235965077882.key) 18:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:54 + git tag --points-at HEAD [Pipeline] } 18:01:54 $ docker exec --env ******** --env ******** e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent -k 18:01:54 unset SSH_AUTH_SOCK; 18:01:54 unset SSH_AGENT_PID; 18:01:54 echo Agent pid 38 killed; 18:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:54 [ssh-agent] Looking for ssh-agent implementation... 18:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:54 $ docker exec e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent 18:01:54 SSH_AUTH_SOCK=/tmp/ssh-nN4fqEYkEG6p/agent.70 18:01:54 SSH_AGENT_PID=76 18:01:54 Running ssh-add (command line suppressed) 18:01:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_8503980010628282131.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_8503980010628282131.key) 18:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:55 + git semver init 18:01:55 2023-02-22 18:01:55,383 [run_init] DEBUG init version:0.0.0 force:False 18:01:55 2023-02-22 18:01:55,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver 18:01:55 2023-02-22 18:01:55,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver 18:01:55 2023-02-22 18:01:55,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343, universal_newlines=False, shell=None, istream=None) 18:01:56 2023-02-22 18:01:56,315 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.git/info/exclude 18:01:56 2023-02-22 18:01:56,316 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 with force:False 18:01:56 2023-02-22 18:01:56,316 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 18:01:56 2023-02-22 18:01:56,320 [execute] INFO git cat-file --batch-check 18:01:56 2023-02-22 18:01:56,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) 18:01:56 2023-02-22 18:01:56,327 [execute] INFO git cat-file --batch 18:01:56 2023-02-22 18:01:56,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) 18:01:56 2023-02-22 18:01:56,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 18:01:56 0.0.0 [Pipeline] } 18:01:56 $ docker exec --env ******** --env ******** e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent -k 18:01:56 unset SSH_AUTH_SOCK; 18:01:56 unset SSH_AGENT_PID; 18:01:56 echo Agent pid 76 killed; 18:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:56 + git semver [Pipeline] } 18:01:57 $ docker stop --time=1 e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db 18:01:58 $ docker rm -f --volumes e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db [Pipeline] // withDockerContainer [Pipeline] sh 18:01:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:01:58 Stashed 1 file(s) [Pipeline] echo 18:01:58 [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 18:01:59 provisioning config files... 18:01:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config11963687015871931475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:59 ---> docker-login.sh 18:01:59 nexus3.edgexfoundry.org:10001 18:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:59 Configure a credential helper to remove this warning. See 18:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:59 18:01:59 Login Succeeded 18:01:59 nexus3.edgexfoundry.org:10002 18:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:59 Configure a credential helper to remove this warning. See 18:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:59 18:01:59 Login Succeeded 18:01:59 nexus3.edgexfoundry.org:10003 18:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:59 Configure a credential helper to remove this warning. See 18:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:59 18:01:59 Login Succeeded 18:01:59 nexus3.edgexfoundry.org:10004 18:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:59 Configure a credential helper to remove this warning. See 18:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:59 18:01:59 Login Succeeded 18:01:59 docker.io 18:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:59 Configure a credential helper to remove this warning. See 18:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:59 18:01:59 Login Succeeded 18:01:59 ---> docker-login.sh ends [Pipeline] } 18:01:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:59 ========================================================= 18:01:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:01:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:00 + 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 . 18:02:00 Sending build context to Docker daemon 10.56MB 18:02:00 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:02:00 Step 2/10 : FROM ${BASE} AS builder 18:02:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:02:00 213ec9aee27d: Pulling fs layer 18:02:00 4583459ba037: Pulling fs layer 18:02:00 93c1e223e6f2: Pulling fs layer 18:02:00 53926ce57604: Pulling fs layer 18:02:00 21b2b0c7a3f4: Pulling fs layer 18:02:00 22ff95d597cd: Pulling fs layer 18:02:00 12d6caf4c0d1: Pulling fs layer 18:02:00 96b7cbca73a9: Pulling fs layer 18:02:00 a7acece74701: Pulling fs layer 18:02:00 53926ce57604: Waiting 18:02:00 21b2b0c7a3f4: Waiting 18:02:00 12d6caf4c0d1: Waiting 18:02:00 96b7cbca73a9: Waiting 18:02:00 a7acece74701: Waiting 18:02:00 22ff95d597cd: Waiting 18:02:00 93c1e223e6f2: Download complete 18:02:00 4583459ba037: Download complete 18:02:00 21b2b0c7a3f4: Verifying Checksum 18:02:00 21b2b0c7a3f4: Download complete 18:02:00 22ff95d597cd: Verifying Checksum 18:02:00 22ff95d597cd: Download complete 18:02:00 213ec9aee27d: Verifying Checksum 18:02:00 213ec9aee27d: Download complete 18:02:00 12d6caf4c0d1: Download complete 18:02:00 213ec9aee27d: Pull complete 18:02:00 4583459ba037: Pull complete 18:02:00 93c1e223e6f2: Pull complete 18:02:01 a7acece74701: Verifying Checksum 18:02:01 a7acece74701: Download complete 18:02:01 53926ce57604: Verifying Checksum 18:02:01 53926ce57604: Download complete 18:02:01 96b7cbca73a9: Verifying Checksum 18:02:01 96b7cbca73a9: Download complete 18:02:05 53926ce57604: Pull complete 18:02:05 21b2b0c7a3f4: Pull complete 18:02:05 22ff95d597cd: Pull complete 18:02:05 12d6caf4c0d1: Pull complete 18:02:07 96b7cbca73a9: Pull complete 18:02:08 a7acece74701: Pull complete 18:02:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:02:08 ---> db6d94c90886 18:02:08 Step 3/10 : ARG MAKE=make build 18:02:09 ---> Running in 00f8a2b474b1 18:02:10 Removing intermediate container 00f8a2b474b1 18:02:10 ---> 6fe5b0c20b91 18:02:10 Step 4/10 : WORKDIR /device-sdk-go 18:02:10 ---> Running in a3f573d5fa85 18:02:10 Removing intermediate container a3f573d5fa85 18:02:10 ---> 3b95e1d9541b 18:02:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:02:10 ---> Running in b3ff9254ee2d 18:02:10 Removing intermediate container b3ff9254ee2d 18:02:10 ---> 577d5ee80b3f 18:02:10 Step 6/10 : RUN apk add --update --no-cache make git 18:02:10 ---> Running in d2e8569641a0 18:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:02:11 OK: 211 MiB in 51 packages 18:02:11 Removing intermediate container d2e8569641a0 18:02:11 ---> bc70b1d34079 18:02:11 Step 7/10 : COPY go.mod vendor* ./ 18:02:11 ---> aa092f7b9b57 18:02:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:11 ---> Running in 2638db94e79f 18:02:14 Still waiting to schedule task 18:02:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:02:50 Removing intermediate container 2638db94e79f 18:02:50 ---> 871e523ed1c4 18:02:50 Step 9/10 : COPY . . 18:02:50 ---> 1c7836fb8274 18:02:50 Step 10/10 : RUN ${MAKE} 18:02:50 ---> Running in 3dded3e6daa0 18:02:50 noop 18:02:50 Removing intermediate container 3dded3e6daa0 18:02:50 ---> cafefade7968 18:02:50 Successfully built cafefade7968 18:02:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:51 + docker inspect -f . ci-base-image-x86_64 18:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:51 prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container 18:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@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 ******** ci-base-image-x86_64 cat 18:02:51 $ docker top d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:51 + go version 18:02:51 go version go1.18.7 linux/amd64 [Pipeline] } 18:02:51 $ docker stop --time=1 d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e 18:02:53 $ docker rm -f --volumes d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:53 + docker inspect -f . ci-base-image-x86_64 18:02:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:53 prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container 18:02:53 $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@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 ******** ci-base-image-x86_64 cat 18:02:54 $ docker top 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] fileExists [Pipeline] sh 18:02:54 + make test 18:02:54 go test -race -coverprofile=coverage.out ./... 18:03:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 78.9% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 86.0% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 77.4% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.109s coverage: 65.2% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.745s coverage: 89.2% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements 18:03:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:03:34 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." 18:03:34 GO111MODULE=on go vet ./... 18:03:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:36 ./bin/test-attribution-txt.sh [Pipeline] echo 18:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:03:36 $ docker stop --time=1 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 18:03:38 $ docker rm -f --volumes 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:03:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:39 + ls -al . 18:03:39 total 272 18:03:39 drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 18:02 . 18:03:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:01 .. 18:03:39 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 18:01 .dockerignore 18:03:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 18:03 .git 18:03:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:01 .github 18:03:39 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 18:01 .gitignore 18:03:39 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 18:01 .golangci.yml 18:03:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 18:01 .semver 18:03:39 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 18:01 CHANGELOG.md 18:03:39 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 18:01 GOVERNANCE.md 18:03:39 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 18:01 Jenkinsfile 18:03:39 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 18:01 LICENSE 18:03:39 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 18:01 Makefile 18:03:39 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 18:01 OWNERS.md 18:03:39 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 18:01 README.md 18:03:39 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 18:01 VERSION 18:03:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:01 bin 18:03:39 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 18:03 coverage.out 18:03:39 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 18:01 example 18:03:39 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 18:01 go.mod 18:03:39 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 18:01 go.sum 18:03:39 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 18:01 internal 18:03:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 18:01 openapi 18:03:39 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 18:01 pkg 18:03:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:01 snap 18:03:39 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:40 + 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=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a --label arch=amd64 --label version=0.0.0 . 18:03:40 Sending build context to Docker daemon 10.66MB 18:03:40 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:03:40 Step 2/23 : FROM ${BASE} AS builder 18:03:40 ---> cafefade7968 18:03:40 Step 3/23 : ARG MAKE=make build 18:03:40 ---> Running in 0b15ff1d4c9c 18:03:40 Removing intermediate container 0b15ff1d4c9c 18:03:40 ---> ea87fbc2e8a0 18:03:40 Step 4/23 : WORKDIR /device-sdk-go 18:03:40 ---> Running in 737074847cb9 18:03:40 Removing intermediate container 737074847cb9 18:03:40 ---> 961babf35246 18:03:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:03:40 ---> Running in ad68a779b281 18:03:40 Removing intermediate container ad68a779b281 18:03:40 ---> ad11859f36c1 18:03:40 Step 6/23 : RUN apk add --update --no-cache make git 18:03:40 ---> Running in 2335148976a9 18:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:03:41 OK: 211 MiB in 51 packages 18:03:41 Removing intermediate container 2335148976a9 18:03:41 ---> 451411f7ecb6 18:03:41 Step 7/23 : COPY go.mod vendor* ./ 18:03:41 ---> b4a78b0418ec 18:03:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:41 ---> Running in d7efa51ad85d 18:03:42 Removing intermediate container d7efa51ad85d 18:03:42 ---> 63ff9ff856ca 18:03:42 Step 9/23 : COPY . . 18:03:43 ---> 9d0f09c7e128 18:03:43 Step 10/23 : RUN ${MAKE} 18:03:43 ---> Running in a4521033cc89 18:03:43 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 18:04:01 Removing intermediate container a4521033cc89 18:04:01 ---> 040c7a1d83da 18:04:01 Step 11/23 : FROM alpine:3.16 18:04:01 3.16: Pulling from library/alpine 18:04:01 ef5531b6e74e: Pulling fs layer 18:04:01 ef5531b6e74e: Verifying Checksum 18:04:01 ef5531b6e74e: Download complete 18:04:02 ef5531b6e74e: Pull complete 18:04:02 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:04:02 Status: Downloaded newer image for alpine:3.16 18:04:02 ---> dfd21b5a31f5 18:04:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:04:02 ---> Running in 5a8c77ad1377 18:04:02 Removing intermediate container 5a8c77ad1377 18:04:02 ---> 8ffa7160c263 18:04:02 Step 13/23 : RUN apk add --update --no-cache 18:04:02 ---> Running in c1e0b7f782d4 18:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:04:02 OK: 6 MiB in 14 packages 18:04:03 Removing intermediate container c1e0b7f782d4 18:04:03 ---> 386a96b67680 18:04:03 Step 14/23 : WORKDIR / 18:04:03 ---> Running in e05db24fea07 18:04:03 Removing intermediate container e05db24fea07 18:04:03 ---> b4dffcc5fcdb 18:04:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:04:03 ---> 0bef18aeb075 18:04:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:04:04 ---> 7d45ef91996b 18:04:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:04:04 ---> 4001a8c3238b 18:04:04 Step 18/23 : EXPOSE 59999 18:04:04 ---> Running in a7cced9c73a0 18:04:04 Removing intermediate container a7cced9c73a0 18:04:04 ---> 2aa8abcbf6f9 18:04:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:04:04 ---> Running in ae472d968e4d 18:04:04 Removing intermediate container ae472d968e4d 18:04:04 ---> 381fe27f8ae2 18:04:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:04:04 ---> Running in 1c2133483093 18:04:04 Removing intermediate container 1c2133483093 18:04:04 ---> 07782268c32d 18:04:04 Step 21/23 : LABEL arch=amd64 18:04:04 ---> Running in e943a8abd91e 18:04:04 Removing intermediate container e943a8abd91e 18:04:04 ---> e97e378652a8 18:04:04 Step 22/23 : LABEL git_sha=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 18:04:04 ---> Running in 47ea86974c3f 18:04:04 Removing intermediate container 47ea86974c3f 18:04:04 ---> 82003536dc53 18:04:04 Step 23/23 : LABEL version=0.0.0 18:04:04 ---> Running in 69ddf007f0ad 18:04:04 Removing intermediate container 69ddf007f0ad 18:04:04 ---> 9cccd7fad4da 18:04:04 [Warning] One or more build-args [ARCH] were not consumed 18:04:04 Successfully built 9cccd7fad4da 18:04:04 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 18:04:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:05 18:04:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:05 latest: Pulling from edgex-lftools-log-publisher 18:04:05 5eb5b503b376: Pulling fs layer 18:04:05 5c69ac0246d0: Pulling fs layer 18:04:05 ec43610c2a17: Pulling fs layer 18:04:05 3a2ae6a8a46f: Pulling fs layer 18:04:05 33b1e0a273af: Pulling fs layer 18:04:05 5d3b04190fa2: Pulling fs layer 18:04:05 2f39f015ded8: Pulling fs layer 18:04:05 3a2ae6a8a46f: Waiting 18:04:05 33b1e0a273af: Waiting 18:04:05 5d3b04190fa2: Waiting 18:04:05 2f39f015ded8: Waiting 18:04:05 5c69ac0246d0: Download complete 18:04:05 3a2ae6a8a46f: Verifying Checksum 18:04:05 3a2ae6a8a46f: Download complete 18:04:05 33b1e0a273af: Verifying Checksum 18:04:05 33b1e0a273af: Download complete 18:04:05 5d3b04190fa2: Verifying Checksum 18:04:05 5d3b04190fa2: Download complete 18:04:05 ec43610c2a17: Download complete 18:04:05 5eb5b503b376: Verifying Checksum 18:04:05 5eb5b503b376: Download complete 18:04:06 2f39f015ded8: Download complete 18:04:06 5eb5b503b376: Pull complete 18:04:07 5c69ac0246d0: Pull complete 18:04:07 ec43610c2a17: Pull complete 18:04:07 3a2ae6a8a46f: Pull complete 18:04:07 33b1e0a273af: Pull complete 18:04:07 5d3b04190fa2: Pull complete 18:04:12 2f39f015ded8: Pull complete 18:04:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:12 prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container 18:04:12 $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@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 18:04:13 $ docker top bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:14 ---> job-cost.sh 18:04:14 lf-activate-venv: SKIPPING 18:04:14 INFO: No Stack... 18:04:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:14 INFO: Archiving Costs [Pipeline] sh 18:04:14 + cut -d, -f6 18:04:14 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/cost.csv [Pipeline] lock 18:04:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] 18:04:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] did not exist. Created. 18:04:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:15 + echo total: 0.2199999988079071 [Pipeline] stash 18:04:15 Stashed 1 file(s) [Pipeline] } 18:04:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:15 $ docker stop --time=1 bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 18:04:16 $ docker rm -f --volumes bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:05:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7091 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] { [Pipeline] ws 18:05:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:05:18 The recommended git tool is: git 18:05:25 using credential edgex-jenkins-ssh 18:05:25 Cloning the remote Git repository 18:05:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:05:25 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:05:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:05:25 > git --version # timeout=10 18:05:25 > git --version # 'git version 2.25.1' 18:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:05:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:30 Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 18:05:31 Merge succeeded, producing 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 18:05:31 Checking out Revision 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a (PR-1343) 18:05:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:05:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:05:30 > git config core.sparsecheckout # timeout=10 18:05:30 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 18:05:31 > git remote # timeout=10 18:05:31 > git config --get remote.origin.url # timeout=10 18:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:31 > git merge 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 18:05:31 > git rev-parse HEAD^{commit} # timeout=10 18:05:31 > git config core.sparsecheckout # timeout=10 18:05:31 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 18:05:34 Commit message: "feat!: Apply JWT authentication to incoming calls" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:05:35 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:35 Dload Upload Total Spent Left Speed 18:05:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 18:05:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:05:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:05:36 + sudo tee /etc/docker/daemon.new 18:05:36 { 18:05:36 "registry-mirrors": [ 18:05:36 "https://nexus3.edgexfoundry.org:10001" 18:05:36 ], 18:05:36 "bip": "10.250.0.254/24", 18:05:36 "hosts": [ 18:05:36 "tcp://0.0.0.0:5555", 18:05:36 "unix:///var/run/docker.sock" 18:05:36 ], 18:05:36 "mtu": 1458, 18:05:36 "selinux-enabled": true, 18:05:36 "seccomp-profile": "/etc/docker/seccomp.json" 18:05:36 } [Pipeline] sh 18:05:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:05:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:55 provisioning config files... 18:05:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10250420451421102001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:56 ---> docker-login.sh 18:05:56 nexus3.edgexfoundry.org:10001 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:57 Configure a credential helper to remove this warning. See 18:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:57 18:05:57 Login Succeeded 18:05:57 nexus3.edgexfoundry.org:10002 18:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:57 Configure a credential helper to remove this warning. See 18:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:57 18:05:57 Login Succeeded 18:05:57 nexus3.edgexfoundry.org:10003 18:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 nexus3.edgexfoundry.org:10004 18:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 docker.io 18:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 ---> docker-login.sh ends [Pipeline] } 18:05:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:59 ========================================================= 18:05:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:05:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:59 + 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 . 18:06:00 Sending build context to Docker daemon 5.686MB 18:06:00 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:06:00 Step 2/10 : FROM ${BASE} AS builder 18:06:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:06:00 9b18e9b68314: Pulling fs layer 18:06:00 35d82f9e3411: Pulling fs layer 18:06:00 e16973657156: Pulling fs layer 18:06:00 fc693d55d65f: Pulling fs layer 18:06:00 7e9fc2657dce: Pulling fs layer 18:06:00 dda99020689f: Pulling fs layer 18:06:00 db1c61fa0a46: Pulling fs layer 18:06:00 891c053d2c06: Pulling fs layer 18:06:00 fc693d55d65f: Waiting 18:06:00 dda99020689f: Waiting 18:06:00 db1c61fa0a46: Waiting 18:06:00 7e9fc2657dce: Waiting 18:06:00 891c053d2c06: Waiting 18:06:00 e16973657156: Download complete 18:06:00 35d82f9e3411: Verifying Checksum 18:06:00 35d82f9e3411: Download complete 18:06:00 7e9fc2657dce: Verifying Checksum 18:06:00 7e9fc2657dce: Download complete 18:06:00 dda99020689f: Verifying Checksum 18:06:00 dda99020689f: Download complete 18:06:00 9b18e9b68314: Verifying Checksum 18:06:00 9b18e9b68314: Download complete 18:06:02 9b18e9b68314: Pull complete 18:06:02 891c053d2c06: Verifying Checksum 18:06:02 891c053d2c06: Download complete 18:06:02 35d82f9e3411: Pull complete 18:06:02 e16973657156: Pull complete 18:06:04 db1c61fa0a46: Verifying Checksum 18:06:04 db1c61fa0a46: Download complete 18:06:04 fc693d55d65f: Verifying Checksum 18:06:04 fc693d55d65f: Download complete 18:06:16 fc693d55d65f: Pull complete 18:06:16 7e9fc2657dce: Pull complete 18:06:16 dda99020689f: Pull complete 18:06:22 db1c61fa0a46: Pull complete 18:06:24 891c053d2c06: Pull complete 18:06:24 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:06:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:06:24 ---> f96f9c87975a 18:06:24 Step 3/10 : ARG MAKE=make build 18:06:26 ---> Running in e464864778d7 18:06:26 Removing intermediate container e464864778d7 18:06:26 ---> 1871ad872f71 18:06:26 Step 4/10 : WORKDIR /device-sdk-go 18:06:26 ---> Running in 642590ace340 18:06:27 Removing intermediate container 642590ace340 18:06:27 ---> debace8bc02a 18:06:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:06:27 ---> Running in d6823f92dcfc 18:06:27 Removing intermediate container d6823f92dcfc 18:06:27 ---> 8c9ebb350ef7 18:06:27 Step 6/10 : RUN apk add --update --no-cache make git 18:06:27 ---> Running in d8e350dd29d1 18:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:06:30 OK: 221 MiB in 51 packages 18:06:31 Removing intermediate container d8e350dd29d1 18:06:31 ---> 0986b9734242 18:06:31 Step 7/10 : COPY go.mod vendor* ./ 18:06:32 ---> 7c040789c75e 18:06:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:32 ---> Running in a430bed92e0f 18:07:54 Removing intermediate container a430bed92e0f 18:07:54 ---> a04d71f6e69f 18:07:54 Step 9/10 : COPY . . 18:07:54 ---> 80e15cb99f36 18:07:54 Step 10/10 : RUN ${MAKE} 18:07:54 ---> Running in 5b6c30ec2f82 18:07:54 noop 18:07:55 Removing intermediate container 5b6c30ec2f82 18:07:55 ---> 48a2a1bc7c6c 18:07:55 Successfully built 48a2a1bc7c6c 18:07:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:55 + docker inspect -f . ci-base-image-arm64 18:07:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:55 prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container 18:07:55 $ 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 ******** ci-base-image-arm64 cat 18:07:57 $ docker top 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:58 + go version 18:07:58 go version go1.18.7 linux/arm64 [Pipeline] } 18:07:58 $ docker stop --time=1 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e 18:07:59 $ docker rm -f --volumes 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:00 + docker inspect -f . ci-base-image-arm64 18:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:00 prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container 18:08:00 $ 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 ******** ci-base-image-arm64 cat 18:08:01 $ docker top d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:08:03 + make test 18:08:03 go test -race -coverprofile=coverage.out ./... 18:08:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:11:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.263s coverage: 27.6% of statements 18:11:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.315s coverage: 78.9% of statements 18:11:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:11:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.537s coverage: 86.0% of statements 18:11:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:11:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:11:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.550s coverage: 77.4% of statements 18:11:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:11:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 18:11:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:11:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.491s coverage: 65.2% of statements 18:11:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:11:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:11:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.560s coverage: 89.2% of statements 18:11:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:11:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.321s coverage: 4.7% of statements 18:11:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:11:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:11:35 GO111MODULE=on go vet ./... 18:13:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:13:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:13:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:13:27 $ docker stop --time=1 d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e 18:13:30 $ docker rm -f --volumes d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e [Pipeline] // withDockerContainer [Pipeline] sh 18:13:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:31 Warning: overwriting stash ‘coverage-report’ 18:13:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:33 + ls -al . 18:13:33 total 268 18:13:33 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 18:08 . 18:13:33 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:05 .. 18:13:33 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 18:05 .dockerignore 18:13:33 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 18:05 .git 18:13:33 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:05 .github 18:13:33 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 18:05 .gitignore 18:13:33 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 18:05 .golangci.yml 18:13:33 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 18:05 CHANGELOG.md 18:13:33 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 18:05 GOVERNANCE.md 18:13:33 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 18:05 Jenkinsfile 18:13:33 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 18:05 LICENSE 18:13:33 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 18:05 Makefile 18:13:33 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 18:05 OWNERS.md 18:13:33 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 18:05 README.md 18:13:33 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 18:01 VERSION 18:13:33 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:05 bin 18:13:33 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 18:11 coverage.out 18:13:33 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 18:05 example 18:13:33 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 18:05 go.mod 18:13:33 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 18:05 go.sum 18:13:33 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 18:05 internal 18:13:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 18:05 openapi 18:13:33 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 18:05 pkg 18:13:33 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:05 snap 18:13:33 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 18:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:33 + 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=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a --label arch=arm64 --label version=0.0.0 . 18:13:33 Sending build context to Docker daemon 5.785MB 18:13:33 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:13:33 Step 2/23 : FROM ${BASE} AS builder 18:13:33 ---> 48a2a1bc7c6c 18:13:33 Step 3/23 : ARG MAKE=make build 18:13:33 ---> Running in 12370949e207 18:13:34 Removing intermediate container 12370949e207 18:13:34 ---> d41efa3c67d9 18:13:34 Step 4/23 : WORKDIR /device-sdk-go 18:13:34 ---> Running in b990ed8395e6 18:13:34 Removing intermediate container b990ed8395e6 18:13:34 ---> 23e839865dbf 18:13:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:13:34 ---> Running in 15c04851d003 18:13:35 Removing intermediate container 15c04851d003 18:13:35 ---> 88817aa9de03 18:13:35 Step 6/23 : RUN apk add --update --no-cache make git 18:13:35 ---> Running in 5866db8a2330 18:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:13:38 OK: 221 MiB in 51 packages 18:13:38 Removing intermediate container 5866db8a2330 18:13:38 ---> 4601bf52dd3a 18:13:38 Step 7/23 : COPY go.mod vendor* ./ 18:13:39 ---> 9a7bc4b73cbd 18:13:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:39 ---> Running in f07efd091e32 18:13:43 Removing intermediate container f07efd091e32 18:13:43 ---> c28f660c7d54 18:13:43 Step 9/23 : COPY . . 18:13:44 ---> 69123c89f5c6 18:13:44 Step 10/23 : RUN ${MAKE} 18:13:44 ---> Running in 1ad1964e7bf2 18:13:45 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 18:15:53 Removing intermediate container 1ad1964e7bf2 18:15:53 ---> 7b9f2c5e6e85 18:15:53 Step 11/23 : FROM alpine:3.16 18:15:53 3.16: Pulling from library/alpine 18:15:53 3760b48202b3: Pulling fs layer 18:15:53 3760b48202b3: Verifying Checksum 18:15:53 3760b48202b3: Download complete 18:15:53 3760b48202b3: Pull complete 18:15:53 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:15:53 Status: Downloaded newer image for alpine:3.16 18:15:53 ---> 4c81e5bf8899 18:15:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:15:53 ---> Running in e6ea722622dd 18:15:53 Removing intermediate container e6ea722622dd 18:15:53 ---> 58e62151be70 18:15:53 Step 13/23 : RUN apk add --update --no-cache 18:15:53 ---> Running in 3d45fc5d5a98 18:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:15:53 OK: 5 MiB in 14 packages 18:15:54 Removing intermediate container 3d45fc5d5a98 18:15:54 ---> 10b61ca4a50e 18:15:54 Step 14/23 : WORKDIR / 18:15:54 ---> Running in 35cfc7592fcd 18:15:54 Removing intermediate container 35cfc7592fcd 18:15:54 ---> ff76658d8766 18:15:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:15:55 ---> 65f76afd098e 18:15:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:15:56 ---> f02fb33d82fd 18:15:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:15:57 ---> e84cb9e21639 18:15:57 Step 18/23 : EXPOSE 59999 18:15:57 ---> Running in adb38d320b90 18:15:57 Removing intermediate container adb38d320b90 18:15:57 ---> a8c29d305b93 18:15:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:15:57 ---> Running in 47c21c569e8b 18:15:58 Removing intermediate container 47c21c569e8b 18:15:58 ---> 155a181c306b 18:15:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:15:58 ---> Running in 90c4c428a0b3 18:15:58 Removing intermediate container 90c4c428a0b3 18:15:58 ---> a63da9085acd 18:15:58 Step 21/23 : LABEL arch=arm64 18:15:58 ---> Running in 385c84db9ffd 18:15:59 Removing intermediate container 385c84db9ffd 18:15:59 ---> 4ccd4c50a093 18:15:59 Step 22/23 : LABEL git_sha=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 18:15:59 ---> Running in 33ef8daa8134 18:15:59 Removing intermediate container 33ef8daa8134 18:15:59 ---> afd5c0473381 18:15:59 Step 23/23 : LABEL version=0.0.0 18:15:59 ---> Running in bbfe6f74c87e 18:15:59 Removing intermediate container bbfe6f74c87e 18:15:59 ---> 20a68b039ae2 18:15:59 [Warning] One or more build-args [ARCH] were not consumed 18:15:59 Successfully built 20a68b039ae2 18:15:59 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 18:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:00 18:16:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:00 arm64: Pulling from edgex-lftools-log-publisher 18:16:00 8998bd30e6a1: Pulling fs layer 18:16:00 04944245beec: Pulling fs layer 18:16:00 699f458cf7ca: Pulling fs layer 18:16:00 765212b225bb: Pulling fs layer 18:16:00 f23df028b6ca: Pulling fs layer 18:16:00 d65c8cfc05b1: Pulling fs layer 18:16:00 2437ff75d9bd: Pulling fs layer 18:16:00 f23df028b6ca: Waiting 18:16:00 d65c8cfc05b1: Waiting 18:16:00 2437ff75d9bd: Waiting 18:16:00 765212b225bb: Waiting 18:16:00 04944245beec: Verifying Checksum 18:16:00 04944245beec: Download complete 18:16:00 765212b225bb: Verifying Checksum 18:16:00 765212b225bb: Download complete 18:16:00 f23df028b6ca: Download complete 18:16:00 d65c8cfc05b1: Download complete 18:16:01 699f458cf7ca: Verifying Checksum 18:16:01 699f458cf7ca: Download complete 18:16:01 8998bd30e6a1: Verifying Checksum 18:16:01 8998bd30e6a1: Download complete 18:16:04 2437ff75d9bd: Verifying Checksum 18:16:04 2437ff75d9bd: Download complete 18:16:06 8998bd30e6a1: Pull complete 18:16:06 04944245beec: Pull complete 18:16:08 699f458cf7ca: Pull complete 18:16:08 765212b225bb: Pull complete 18:16:09 f23df028b6ca: Pull complete 18:16:09 d65c8cfc05b1: Pull complete 18:16:23 2437ff75d9bd: Pull complete 18:16:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:23 prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container 18:16:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:16:26 $ docker top 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:27 ---> job-cost.sh 18:16:27 lf-activate-venv: SKIPPING 18:16:27 INFO: No Stack... 18:16:27 INFO: Retrieving Pricing Info for: v3-standard-4 18:16:28 INFO: Archiving Costs [Pipeline] sh 18:16:29 + cut -d, -f6 18:16:29 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 18:16:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] 18:16:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] did not exist. Created. 18:16:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:29 /w/workspace/device-sdk-go/2@tmp/durable-99b218f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:16:30 + echo total: 0.10999999940395355 [Pipeline] stash 18:16:30 Warning: overwriting stash ‘stack-cost’ 18:16:30 Stashed 1 file(s) [Pipeline] } 18:16:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:30 $ docker stop --time=1 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 18:16:31 $ docker rm -f --volumes 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 [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 18:16:32 provisioning config files... 18:16:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config7215971373580073339tmp [Pipeline] { [Pipeline] sh 18:16:32 + set +x 18:16:32 + curl -s https://codecov.io/bash 18:16:32 + bash -s -- 18:16:32 18:16:32 _____ _ 18:16:32 / ____| | | 18:16:32 | | ___ __| | ___ ___ _____ __ 18:16:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:16:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:16:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:16:32 Bash-1.0.6 18:16:32 18:16:32 18:16:32 ==> git version 2.25.1 found 18:16:32 ==> 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 18:16:32 Release-Date: 2020-01-08 18:16:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:16:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:16:32 ==> Jenkins CI detected. 18:16:32 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1343 18:16:32 project root: . 18:16:32 --> token set from env 18:16:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:16:32 ==> Running gcov in . (disable via -X gcov) 18:16:32 ==> Python coveragepy not found 18:16:32 ==> Searching for coverage reports in: 18:16:32 + . 18:16:32 -> Found 1 reports 18:16:32 ==> Detecting git/mercurial file structure 18:16:32 ==> Reading reports 18:16:32 + ./coverage.out bytes=98530 18:16:32 ==> Appending adjustments 18:16:32 https://docs.codecov.io/docs/fixing-reports 18:16:32 + Found adjustments 18:16:32 ==> Gzipping contents 18:16:32 16K /tmp/codecov.4yZIM2.gz 18:16:32 ==> Uploading reports 18:16:32 url: https://codecov.io 18:16:32 query: branch=PR-1343&commit=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= 18:16:32 -> Pinging Codecov 18:16:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1343&commit=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= 18:16:33 -> Uploading to 18:16:33 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a/80e76fcf-4380-4dde-acad-989e7dbca1cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T181632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e388bb344b01217527799e7f6c4e5512b2d56619043a0f73922ac01674545103 18:16:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:16:33 Dload Upload Total Spent Left Speed 18:16:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14352 0 0 100 14352 0 51074 --:--:-- --:--:-- --:--:-- 51074 18:16:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] } 18:16:33 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 18:16:33 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives ] 18:16:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives 18:16:33 total 16 18:16:33 drwxr-xr-x 3 root root 4096 Feb 22 18:04 . 18:16:33 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 18:04 .. 18:16:33 drwxr-xr-x 2 root root 4096 Feb 22 18:04 cost 18:16:33 -rw-r--r-- 1 root root 86 Feb 22 18:04 cost.csv 18:16:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives 18:16:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives 18:16:33 total 16 18:16:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 18:04 . 18:16:33 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 18:04 .. 18:16:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 18:04 cost 18:16:33 -rw-r--r-- 1 jenkins jenkins 86 Feb 22 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:16:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:35 ---> package-listing.sh 18:16:35 ++ facter osfamily 18:16:35 ++ tr '[:upper:]' '[:lower:]' 18:16:35 + OS_FAMILY=debian 18:16:35 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1343 18:16:35 + START_PACKAGES=/tmp/packages_start.txt 18:16:35 + END_PACKAGES=/tmp/packages_end.txt 18:16:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:35 + PACKAGES=/tmp/packages_start.txt 18:16:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' 18:16:35 + PACKAGES=/tmp/packages_end.txt 18:16:35 + case "${OS_FAMILY}" in 18:16:35 + dpkg -l 18:16:35 + grep '^ii' 18:16:35 + '[' -f /tmp/packages_start.txt ']' 18:16:35 + '[' -f /tmp/packages_end.txt ']' 18:16:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' 18:16:35 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ 18:16:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ [Pipeline] echo 18:16:35 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-1343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:16:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:36 prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container 18:16:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1343/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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:36 $ docker top 673dc91cdee1eeb7f6aad783795bdc9fc9325bdf4a394dc916c93a6d8e5219a8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:36 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:37 + ls /var/log/sa-host 18:16:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:37 provisioning config files... 18:16:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config17098302149377001279tmp [Pipeline] { [Pipeline] echo 18:16:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:37 ---> create-netrc.sh [Pipeline] } 18:16:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:38 ---> python-tools-install.sh [Pipeline] echo 18:16:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:38 ---> sudo-logs.sh 18:16:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:38 ---> job-cost.sh 18:16:38 lf-activate-venv: SKIPPING 18:16:38 DEBUG: total: 0.2199999988079071 18:16:38 INFO: Retrieving Stack Cost... 18:16:39 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:39 INFO: Archiving Costs [Pipeline] echo 18:16:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:39 ---> logs-deploy.sh 18:16:39 lf-activate-venv: SKIPPING 18:16:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1343/2 18:16:39 INFO: archiving workspace using pattern(s): 18:16:40 Archives upload complete. 18:16:40 INFO: archiving logs to Nexus