Pull request #1465 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 jumpingliu for edgexfoundry/device-sdk-go Loading trusted files from base branch main at afe14f99071666e3a8a1e98015d177d59a71e5e7 rather than cf0fc7dbcd1bad05b61ea7b8284598cd325be288 Obtained Jenkinsfile from afe14f99071666e3a8a1e98015d177d59a71e5e7 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-ssh5143857449132926249.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh576475210629802870.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1465/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-1465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5612468276826324163.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5533634790695828876.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-1465/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-1465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16248533532110133608.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.20 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17189 in /w/workspace/gexfoundry_device-sdk-go_PR-1465 [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-1465 # 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/1465/head:refs/remotes/origin/PR-1465 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit afe14f99071666e3a8a1e98015d177d59a71e5e7 into PR head commit cf0fc7dbcd1bad05b61ea7b8284598cd325be288 Merge succeeded, producing cf0fc7dbcd1bad05b61ea7b8284598cd325be288 Checking out Revision cf0fc7dbcd1bad05b61ea7b8284598cd325be288 (PR-1465) > git config core.sparsecheckout # timeout=10 > git checkout -f cf0fc7dbcd1bad05b61ea7b8284598cd325be288 # 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 afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf0fc7dbcd1bad05b61ea7b8284598cd325be288 # timeout=10 Commit message: "docs: Replace slack chat with github discussion" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:12:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:12:05 ========================================================= 23:12:05 EdgeX Global Pipelines Version Info 23:12:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:12:05 ------------------- 23:12:05 stable info: 23:12:05 ------------------- 23:12:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:12:05 Message: update stable to v1.0.249 > git rev-list --no-walk 4d3de39ad95bcdfc9d5dc26506691e19e6d84cab # timeout=10 23:12:06 ------------------- 23:12:06 experimental info: 23:12:06 ------------------- 23:12:06 Commited By: **** collab-it+edgex@linuxfoundation.org 23:12:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:12:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1465 [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1465 [Pipeline] echo 23:12:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1465 [Pipeline] echo 23:12:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [Pipeline] echo 23:12:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf0fc7d [Pipeline] echo 23:12:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:07 provisioning config files... 23:12:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/config11897203400292730623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:07 ---> docker-login.sh 23:12:07 nexus3.edgexfoundry.org:10001 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 nexus3.edgexfoundry.org:10002 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 nexus3.edgexfoundry.org:10003 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 nexus3.edgexfoundry.org:10004 23:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:08 Configure a credential helper to remove this warning. See 23:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:08 23:12:08 Login Succeeded 23:12:08 docker.io 23:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:08 Configure a credential helper to remove this warning. See 23:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:08 23:12:08 Login Succeeded 23:12:08 ---> docker-login.sh ends [Pipeline] } 23:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:12:08 + git rev-list -1 --merges cf0fc7dbcd1bad05b61ea7b8284598cd325be288~1..cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [Pipeline] echo 23:12:08 -----------> git rev-list -1 --merges cf0fc7dbcd1bad05b61ea7b8284598cd325be288~1..cf0fc7dbcd1bad05b61ea7b8284598cd325be288 cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [false] [Pipeline] sh 23:12:09 + git log --format=format:%s -1 cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [Pipeline] echo 23:12:09 ========================================================= 23:12:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:12:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:09 + git log --format=format:%s -1 cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [Pipeline] echo 23:12:09 [semverPrep] GIT_COMMIT: cf0fc7dbcd1bad05b61ea7b8284598cd325be288, Commit Message: docs: Replace slack chat with github discussion [Pipeline] echo 23:12:09 [semverPrep] This is not a build commit. [Pipeline] sh 23:12:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:12:09 + grep -v github /etc/ssh/ssh_known_hosts 23:12:09 + [ -e /tmp/ssh_known_hosts ] 23:12:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:12:09 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 23:12:09 tee -a /etc/ssh/ssh_known_hosts 23:12:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:10 23:12:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:10 0.1.4: Pulling from edgex-devops/py-git-semver 23:12:10 b85a868b505f: Pulling fs layer 23:12:10 e2be974225ed: Pulling fs layer 23:12:10 339a4e72a1f5: Pulling fs layer 23:12:10 988bab9f4d93: Pulling fs layer 23:12:10 1469e6f7b9e6: Pulling fs layer 23:12:10 eaf3925da568: Pulling fs layer 23:12:10 bab4dde63d76: Pulling fs layer 23:12:10 bde34c3a00c8: Pulling fs layer 23:12:10 b352a97aabf1: Pulling fs layer 23:12:10 4872d77fe225: Pulling fs layer 23:12:10 5851b861e8e6: Pulling fs layer 23:12:10 988bab9f4d93: Waiting 23:12:10 1469e6f7b9e6: Waiting 23:12:10 b352a97aabf1: Waiting 23:12:10 eaf3925da568: Waiting 23:12:10 4872d77fe225: Waiting 23:12:10 5851b861e8e6: Waiting 23:12:10 bab4dde63d76: Waiting 23:12:10 bde34c3a00c8: Waiting 23:12:10 e2be974225ed: Download complete 23:12:10 988bab9f4d93: Verifying Checksum 23:12:10 988bab9f4d93: Download complete 23:12:10 1469e6f7b9e6: Verifying Checksum 23:12:10 1469e6f7b9e6: Download complete 23:12:10 eaf3925da568: Download complete 23:12:10 339a4e72a1f5: Verifying Checksum 23:12:10 339a4e72a1f5: Download complete 23:12:10 bde34c3a00c8: Download complete 23:12:10 b352a97aabf1: Verifying Checksum 23:12:10 b352a97aabf1: Download complete 23:12:10 4872d77fe225: Download complete 23:12:10 5851b861e8e6: Verifying Checksum 23:12:10 5851b861e8e6: Download complete 23:12:10 b85a868b505f: Verifying Checksum 23:12:10 b85a868b505f: Download complete 23:12:11 bab4dde63d76: Verifying Checksum 23:12:11 bab4dde63d76: Download complete 23:12:12 b85a868b505f: Pull complete 23:12:12 e2be974225ed: Pull complete 23:12:12 339a4e72a1f5: Pull complete 23:12:13 988bab9f4d93: Pull complete 23:12:13 1469e6f7b9e6: Pull complete 23:12:13 eaf3925da568: Pull complete 23:12:15 bab4dde63d76: Pull complete 23:12:15 bde34c3a00c8: Pull complete 23:12:15 b352a97aabf1: Pull complete 23:12:15 4872d77fe225: Pull complete 23:12:15 5851b861e8e6: Pull complete 23:12:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:15 prd-ubuntu20.04-docker-8c-8g-17189 does not seem to be running inside a container 23:12:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1465 -v /w/workspace/gexfoundry_device-sdk-go_PR-1465:/w/workspace/gexfoundry_device-sdk-go_PR-1465:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:12:17 $ docker top be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 -eo pid,comm 23:12:17 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). 23:12:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:12:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:17 [ssh-agent] Looking for ssh-agent implementation... 23:12:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:17 $ docker exec be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 ssh-agent 23:12:17 SSH_AUTH_SOCK=/tmp/ssh-MPSpTB0VXNYW/agent.31 23:12:17 SSH_AGENT_PID=38 23:12:17 Running ssh-add (command line suppressed) 23:12:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/private_key_465650634071878817.key (/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/private_key_465650634071878817.key) 23:12:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:17 + git tag --points-at HEAD [Pipeline] } 23:12:17 $ docker exec --env ******** --env ******** be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 ssh-agent -k 23:12:17 unset SSH_AUTH_SOCK; 23:12:17 unset SSH_AGENT_PID; 23:12:17 echo Agent pid 38 killed; 23:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:12:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:18 [ssh-agent] Looking for ssh-agent implementation... 23:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:18 $ docker exec be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 ssh-agent 23:12:18 SSH_AUTH_SOCK=/tmp/ssh-ZbiNVuLvOBZE/agent.70 23:12:18 SSH_AGENT_PID=77 23:12:18 Running ssh-add (command line suppressed) 23:12:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/private_key_7889101384201378137.key (/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/private_key_7889101384201378137.key) 23:12:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:18 + git semver init 23:12:18 2023-05-29 23:12:18,856 [run_init] DEBUG init version:0.0.0 force:False 23:12:18 2023-05-29 23:12:18,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver 23:12:18 2023-05-29 23:12:18,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver 23:12:18 2023-05-29 23:12:18,858 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1465, universal_newlines=False, shell=None, istream=None) 23:12:19 2023-05-29 23:12:19,694 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465/.git/info/exclude 23:12:19 2023-05-29 23:12:19,695 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver/PR-1465 with force:False 23:12:19 2023-05-29 23:12:19,695 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver/PR-1465 23:12:19 2023-05-29 23:12:19,699 [execute] INFO git cat-file --batch-check 23:12:19 2023-05-29 23:12:19,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver, universal_newlines=False, shell=None, istream=) 23:12:19 2023-05-29 23:12:19,705 [execute] INFO git cat-file --batch 23:12:19 2023-05-29 23:12:19,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver, universal_newlines=False, shell=None, istream=) 23:12:19 2023-05-29 23:12:19,710 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1465/.semver/PR-1465 23:12:19 0.0.0 [Pipeline] } 23:12:19 $ docker exec --env ******** --env ******** be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 ssh-agent -k 23:12:19 unset SSH_AUTH_SOCK; 23:12:19 unset SSH_AGENT_PID; 23:12:19 echo Agent pid 77 killed; 23:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:12:20 + git semver [Pipeline] } 23:12:20 $ docker stop --time=1 be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 23:12:21 $ docker rm -f --volumes be7bfee5a3f22090145412b50744d4ca98a2947adfbf9ed4e1d47362480864d5 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:12:22 Stashed 1 file(s) [Pipeline] echo 23:12:22 [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 23:12:22 provisioning config files... 23:12:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/config15690487432914512595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:22 ---> docker-login.sh 23:12:22 nexus3.edgexfoundry.org:10001 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:22 Configure a credential helper to remove this warning. See 23:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:22 23:12:22 Login Succeeded 23:12:22 nexus3.edgexfoundry.org:10002 23:12:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:22 Configure a credential helper to remove this warning. See 23:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:22 23:12:22 Login Succeeded 23:12:22 nexus3.edgexfoundry.org:10003 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 nexus3.edgexfoundry.org:10004 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 docker.io 23:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:23 Configure a credential helper to remove this warning. See 23:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:23 23:12:23 Login Succeeded 23:12:23 ---> docker-login.sh ends [Pipeline] } 23:12:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:23 ========================================================= 23:12:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:12:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:23 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 23:12:23 Sending build context to Docker daemon 11.23MB 23:12:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:12:23 Step 2/10 : FROM ${BASE} AS builder 23:12:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:12:23 f56be85fc22e: Pulling fs layer 23:12:23 85791d961cd3: Pulling fs layer 23:12:23 d694b5ae8c79: Pulling fs layer 23:12:23 9f32a84ed3da: Pulling fs layer 23:12:23 4d19c01a9841: Pulling fs layer 23:12:23 9325e15d5711: Pulling fs layer 23:12:23 556b6ee489ea: Pulling fs layer 23:12:23 c5a4b2cf53e6: Pulling fs layer 23:12:23 9f32a84ed3da: Waiting 23:12:23 4d19c01a9841: Waiting 23:12:23 9325e15d5711: Waiting 23:12:23 556b6ee489ea: Waiting 23:12:23 c5a4b2cf53e6: Waiting 23:12:24 85791d961cd3: Verifying Checksum 23:12:24 85791d961cd3: Download complete 23:12:24 9f32a84ed3da: Verifying Checksum 23:12:24 9f32a84ed3da: Download complete 23:12:24 4d19c01a9841: Download complete 23:12:24 f56be85fc22e: Download complete 23:12:24 9325e15d5711: Verifying Checksum 23:12:24 9325e15d5711: Download complete 23:12:24 f56be85fc22e: Pull complete 23:12:24 85791d961cd3: Pull complete 23:12:24 c5a4b2cf53e6: Verifying Checksum 23:12:24 c5a4b2cf53e6: Download complete 23:12:24 d694b5ae8c79: Verifying Checksum 23:12:24 d694b5ae8c79: Download complete 23:12:25 556b6ee489ea: Download complete 23:12:28 d694b5ae8c79: Pull complete 23:12:28 9f32a84ed3da: Pull complete 23:12:28 4d19c01a9841: Pull complete 23:12:28 9325e15d5711: Pull complete 23:12:31 556b6ee489ea: Pull complete 23:12:31 c5a4b2cf53e6: Pull complete 23:12:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:12:31 ---> c4be618373d6 23:12:31 Step 3/10 : ARG MAKE=make build 23:12:34 ---> Running in 1200c393a71f 23:12:34 Removing intermediate container 1200c393a71f 23:12:34 ---> adc804c70335 23:12:34 Step 4/10 : WORKDIR /device-sdk-go 23:12:34 ---> Running in 155582054b37 23:12:34 Removing intermediate container 155582054b37 23:12:34 ---> a04d2deb2496 23:12:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:12:34 ---> Running in cedb6dc4d6fa 23:12:34 Removing intermediate container cedb6dc4d6fa 23:12:34 ---> 08c2695bc758 23:12:34 Step 6/10 : RUN apk add --update --no-cache make git 23:12:34 ---> Running in 0a354068a0c9 23:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:12:35 OK: 265 MiB in 53 packages 23:12:35 Removing intermediate container 0a354068a0c9 23:12:35 ---> d531579a7f3d 23:12:35 Step 7/10 : COPY go.mod vendor* ./ 23:12:35 ---> 02d04f4fd1ed 23:12:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:35 ---> Running in 3fc59ae5164c 23:12:37 Still waiting to schedule task 23:12:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:13:07 Removing intermediate container 3fc59ae5164c 23:13:07 ---> 0d8f6a526cab 23:13:07 Step 9/10 : COPY . . 23:13:07 ---> cf78e48f7cd2 23:13:07 Step 10/10 : RUN ${MAKE} 23:13:07 ---> Running in 43ea91b1ad47 23:13:07 noop 23:13:07 Removing intermediate container 43ea91b1ad47 23:13:07 ---> 3a1cc8cca63a 23:13:07 Successfully built 3a1cc8cca63a 23:13:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:08 + docker inspect -f . ci-base-image-x86_64 23:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:08 prd-ubuntu20.04-docker-8c-8g-17189 does not seem to be running inside a container 23:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1465 -v /w/workspace/gexfoundry_device-sdk-go_PR-1465:/w/workspace/gexfoundry_device-sdk-go_PR-1465:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:13:08 $ docker top af185c79802c9ddb5625c95e8c22617ee9940bfad063dc29663f98745511317c -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:08 + go version 23:13:08 go version go1.20.2 linux/amd64 [Pipeline] } 23:13:08 $ docker stop --time=1 af185c79802c9ddb5625c95e8c22617ee9940bfad063dc29663f98745511317c 23:13:10 $ docker rm -f --volumes af185c79802c9ddb5625c95e8c22617ee9940bfad063dc29663f98745511317c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:10 + docker inspect -f . ci-base-image-x86_64 23:13:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:10 prd-ubuntu20.04-docker-8c-8g-17189 does not seem to be running inside a container 23:13:10 $ 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-1465 -v /w/workspace/gexfoundry_device-sdk-go_PR-1465:/w/workspace/gexfoundry_device-sdk-go_PR-1465:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:13:10 $ docker top 8bb819039f33b829c846dbac708e624a5af05cd89fa38945351b666fcace882f -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1465 [Pipeline] fileExists [Pipeline] sh 23:13:11 + make test 23:13:11 go test -race -coverprofile=coverage.out ./... 23:13:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.078s coverage: 27.6% of statements 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:13:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements 23:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 86.0% of statements 23:13:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:13:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 23:13:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 77.5% of statements 23:13:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:13:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:13:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:13:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.3% of statements 23:13:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements 23:13:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements 23:13:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements 23:13:58 GO111MODULE=on go vet ./... 23:14:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:00 ./bin/test-attribution-txt.sh [Pipeline] echo 23:14:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:00 $ docker stop --time=1 8bb819039f33b829c846dbac708e624a5af05cd89fa38945351b666fcace882f 23:14:02 $ docker rm -f --volumes 8bb819039f33b829c846dbac708e624a5af05cd89fa38945351b666fcace882f [Pipeline] // withDockerContainer [Pipeline] sh 23:14:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:14:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:04 + ls -al . 23:14:04 total 284 23:14:04 drwxrwxr-x 11 jenkins jenkins 4096 May 29 23:13 . 23:14:04 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:11 .. 23:14:04 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:12 .dockerignore 23:14:04 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:12 .git 23:14:04 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:12 .github 23:14:04 -rw-rw-r-- 1 jenkins jenkins 137 May 29 23:12 .gitignore 23:14:04 -rw-rw-r-- 1 jenkins jenkins 42 May 29 23:12 .golangci.yml 23:14:04 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:12 .semver 23:14:04 -rw-rw-r-- 1 jenkins jenkins 44878 May 29 23:12 CHANGELOG.md 23:14:04 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:12 GOVERNANCE.md 23:14:04 -rw-rw-r-- 1 jenkins jenkins 885 May 29 23:12 Jenkinsfile 23:14:04 -rw-rw-r-- 1 jenkins jenkins 11341 May 29 23:12 LICENSE 23:14:04 -rw-rw-r-- 1 jenkins jenkins 1714 May 29 23:12 Makefile 23:14:04 -rw-rw-r-- 1 jenkins jenkins 619 May 29 23:12 OWNERS.md 23:14:04 -rw-rw-r-- 1 jenkins jenkins 4953 May 29 23:12 README.md 23:14:04 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:12 VERSION 23:14:04 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:12 bin 23:14:04 -rw-r--r-- 1 jenkins jenkins 106150 May 29 23:13 coverage.out 23:14:04 drwxrwxr-x 5 jenkins jenkins 4096 May 29 23:12 example 23:14:04 -rw-rw-r-- 1 jenkins jenkins 3193 May 29 23:12 go.mod 23:14:04 -rw-rw-r-- 1 jenkins jenkins 30699 May 29 23:12 go.sum 23:14:04 drwxrwxr-x 12 jenkins jenkins 4096 May 29 23:12 internal 23:14:04 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:12 openapi 23:14:04 drwxrwxr-x 6 jenkins jenkins 4096 May 29 23:12 pkg 23:14:04 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:12 snap 23:14:04 -rw-rw-r-- 1 jenkins jenkins 222 May 29 23:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:04 + 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=cf0fc7dbcd1bad05b61ea7b8284598cd325be288 --label arch=amd64 --label version=0.0.0 . 23:14:04 Sending build context to Docker daemon 11.34MB 23:14:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:14:04 Step 2/23 : FROM ${BASE} AS builder 23:14:04 ---> 3a1cc8cca63a 23:14:04 Step 3/23 : ARG MAKE=make build 23:14:04 ---> Running in 2373116fbc87 23:14:05 Removing intermediate container 2373116fbc87 23:14:05 ---> 9da977bd1626 23:14:05 Step 4/23 : WORKDIR /device-sdk-go 23:14:05 ---> Running in ea13c29aa19d 23:14:05 Removing intermediate container ea13c29aa19d 23:14:05 ---> 1c2a544f6935 23:14:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:14:05 ---> Running in 920784c03be6 23:14:05 Removing intermediate container 920784c03be6 23:14:05 ---> 71922bf47b25 23:14:05 Step 6/23 : RUN apk add --update --no-cache make git 23:14:05 ---> Running in c80d6eb11aef 23:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:14:05 OK: 265 MiB in 53 packages 23:14:06 Removing intermediate container c80d6eb11aef 23:14:06 ---> ceee5ddf4fb9 23:14:06 Step 7/23 : COPY go.mod vendor* ./ 23:14:06 ---> 69bf62732ad7 23:14:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:06 ---> Running in 073490fa161e 23:14:06 Removing intermediate container 073490fa161e 23:14:06 ---> b1c31ef51a49 23:14:06 Step 9/23 : COPY . . 23:14:07 ---> ea71a13917ee 23:14:07 Step 10/23 : RUN ${MAKE} 23:14:07 ---> Running in 04be30fb0ee3 23:14:07 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 23:14:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17190 in /w/workspace/gexfoundry_device-sdk-go_PR-1465 [Pipeline] { [Pipeline] ws 23:14:09 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:14:09 The recommended git tool is: git 23:14:14 using credential edgex-jenkins-ssh 23:14:14 Cloning the remote Git repository 23:14:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:14:14 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:14:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:14:14 > git --version # timeout=10 23:14:14 > git --version # 'git version 2.25.1' 23:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:14:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:14:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:14:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:14:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1465/head:refs/remotes/origin/PR-1465 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:14:18 Merging remotes/origin/main commit afe14f99071666e3a8a1e98015d177d59a71e5e7 into PR head commit cf0fc7dbcd1bad05b61ea7b8284598cd325be288 23:14:18 Merge succeeded, producing cf0fc7dbcd1bad05b61ea7b8284598cd325be288 23:14:18 Checking out Revision cf0fc7dbcd1bad05b61ea7b8284598cd325be288 (PR-1465) 23:14:18 > git config core.sparsecheckout # timeout=10 23:14:18 > git checkout -f cf0fc7dbcd1bad05b61ea7b8284598cd325be288 # timeout=10 23:14:18 > git remote # timeout=10 23:14:18 > git config --get remote.origin.url # timeout=10 23:14:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:18 > git merge afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 23:14:18 > git rev-parse HEAD^{commit} # timeout=10 23:14:18 > git config core.sparsecheckout # timeout=10 23:14:18 > git checkout -f cf0fc7dbcd1bad05b61ea7b8284598cd325be288 # timeout=10 23:14:21 Commit message: "docs: Replace slack chat with github discussion" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:14:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:14:22 Dload Upload Total Spent Left Speed 23:14:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 23:14:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:14:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:14:23 + sudo tee /etc/docker/daemon.new 23:14:23 { 23:14:23 "registry-mirrors": [ 23:14:23 "https://nexus3.edgexfoundry.org:10001" 23:14:23 ], 23:14:23 "bip": "10.250.0.254/24", 23:14:23 "hosts": [ 23:14:23 "tcp://0.0.0.0:5555", 23:14:23 "unix:///var/run/docker.sock" 23:14:23 ], 23:14:23 "mtu": 1458, 23:14:23 "selinux-enabled": true, 23:14:23 "seccomp-profile": "/etc/docker/seccomp.json" 23:14:23 } [Pipeline] sh 23:14:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:14:24 + sudo service docker restart 23:14:29 Removing intermediate container 04be30fb0ee3 23:14:29 ---> 2e257f3b3f8f 23:14:29 Step 11/23 : FROM alpine:3.17 23:14:29 3.17: Pulling from library/alpine 23:14:29 f56be85fc22e: Already exists 23:14:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:14:29 Status: Downloaded newer image for alpine:3.17 23:14:29 ---> 9ed4aefc74f6 23:14:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:14:29 ---> Running in 30a6d632bbf5 23:14:29 Removing intermediate container 30a6d632bbf5 23:14:29 ---> c8a749f6640b 23:14:29 Step 13/23 : RUN apk add --update --no-cache 23:14:29 ---> Running in ceb67357b8cb 23:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:14:29 OK: 7 MiB in 15 packages 23:14:29 Removing intermediate container ceb67357b8cb 23:14:29 ---> aa8d889544ba 23:14:29 Step 14/23 : WORKDIR / 23:14:29 ---> Running in fdc9d4a428f5 23:14:29 Removing intermediate container fdc9d4a428f5 23:14:29 ---> 832d2095d893 23:14:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:14:29 ---> abdd5090d4c0 23:14:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:14:29 ---> d8d44eca9407 23:14:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:14:29 ---> 9066ae89c3f5 23:14:29 Step 18/23 : EXPOSE 59999 23:14:29 ---> Running in 164ba4f7ee31 23:14:29 Removing intermediate container 164ba4f7ee31 23:14:29 ---> b2892c42b732 23:14:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:14:29 ---> Running in 3b3dea90cebe 23:14:29 Removing intermediate container 3b3dea90cebe 23:14:29 ---> 43c715bcdadc 23:14:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:14:29 ---> Running in dd9feac755d2 23:14:29 Removing intermediate container dd9feac755d2 23:14:29 ---> 9560d8481f95 23:14:29 Step 21/23 : LABEL arch=amd64 23:14:29 ---> Running in ae880abee220 23:14:30 Removing intermediate container ae880abee220 23:14:30 ---> 4294cd869554 23:14:30 Step 22/23 : LABEL git_sha=cf0fc7dbcd1bad05b61ea7b8284598cd325be288 23:14:30 ---> Running in 1297de1f91ba 23:14:30 Removing intermediate container 1297de1f91ba 23:14:30 ---> 19243ae50877 23:14:30 Step 23/23 : LABEL version=0.0.0 23:14:30 ---> Running in da6821f8d705 23:14:30 Removing intermediate container da6821f8d705 23:14:30 ---> 062dfa1f15df 23:14:30 [Warning] One or more build-args [ARCH] were not consumed 23:14:30 Successfully built 062dfa1f15df 23:14:30 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 23:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:30 23:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:31 latest: Pulling from edgex-lftools-log-publisher 23:14:31 5eb5b503b376: Pulling fs layer 23:14:31 5c69ac0246d0: Pulling fs layer 23:14:31 ec43610c2a17: Pulling fs layer 23:14:31 3a2ae6a8a46f: Pulling fs layer 23:14:31 33b1e0a273af: Pulling fs layer 23:14:31 5d3b04190fa2: Pulling fs layer 23:14:31 2f39f015ded8: Pulling fs layer 23:14:31 5d3b04190fa2: Waiting 23:14:31 3a2ae6a8a46f: Waiting 23:14:31 33b1e0a273af: Waiting 23:14:31 2f39f015ded8: Waiting 23:14:31 5c69ac0246d0: Verifying Checksum 23:14:31 5c69ac0246d0: Download complete 23:14:31 3a2ae6a8a46f: Verifying Checksum 23:14:31 3a2ae6a8a46f: Download complete 23:14:31 33b1e0a273af: Verifying Checksum 23:14:31 33b1e0a273af: Download complete 23:14:31 ec43610c2a17: Verifying Checksum 23:14:31 ec43610c2a17: Download complete 23:14:31 5d3b04190fa2: Verifying Checksum 23:14:31 5eb5b503b376: Verifying Checksum 23:14:31 5eb5b503b376: Download complete 23:14:32 2f39f015ded8: Download complete 23:14:32 5eb5b503b376: Pull complete 23:14:32 5c69ac0246d0: Pull complete 23:14:32 ec43610c2a17: Pull complete 23:14:33 3a2ae6a8a46f: Pull complete 23:14:33 33b1e0a273af: Pull complete 23:14:33 5d3b04190fa2: Pull complete 23:14:37 2f39f015ded8: Pull complete 23:14:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:37 prd-ubuntu20.04-docker-8c-8g-17189 does not seem to be running inside a container 23:14:37 $ 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-1465 -v /w/workspace/gexfoundry_device-sdk-go_PR-1465:/w/workspace/gexfoundry_device-sdk-go_PR-1465:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:14:41 $ docker top 552bd7ba4bf113a3f799ba71f61c5b3682b06b894f332abe8a0174c1208b15c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:41 ---> job-cost.sh 23:14:41 lf-activate-venv: SKIPPING 23:14:41 INFO: No Stack... 23:14:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:14:42 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:42 provisioning config files... 23:14:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives/cost.csv 23:14:42 + cut -d, -f6 [Pipeline] lock 23:14:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] 23:14:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15922661348297702318tmp 23:14:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] did not exist. Created. 23:14:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 23:14:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:14:43 Stashed 1 file(s) [Pipeline] } 23:14:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:14:43 $ docker stop --time=1 552bd7ba4bf113a3f799ba71f61c5b3682b06b894f332abe8a0174c1208b15c2 23:14:43 ---> docker-login.sh 23:14:43 nexus3.edgexfoundry.org:10001 23:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:43 Configure a credential helper to remove this warning. See 23:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:43 23:14:43 Login Succeeded 23:14:43 nexus3.edgexfoundry.org:10002 23:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:44 Configure a credential helper to remove this warning. See 23:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:44 23:14:44 Login Succeeded 23:14:44 nexus3.edgexfoundry.org:10003 23:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:44 $ docker rm -f --volumes 552bd7ba4bf113a3f799ba71f61c5b3682b06b894f332abe8a0174c1208b15c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:44 Configure a credential helper to remove this warning. See 23:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:44 23:14:44 Login Succeeded 23:14:44 nexus3.edgexfoundry.org:10004 23:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:44 Configure a credential helper to remove this warning. See 23:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:44 23:14:44 Login Succeeded 23:14:44 docker.io 23:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:45 Configure a credential helper to remove this warning. See 23:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:45 23:14:45 Login Succeeded 23:14:45 ---> docker-login.sh ends [Pipeline] } 23:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:45 ========================================================= 23:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:45 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 23:14:46 Sending build context to Docker daemon 6.047MB 23:14:46 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:14:46 Step 2/10 : FROM ${BASE} AS builder 23:14:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:14:46 c41833b44d91: Pulling fs layer 23:14:46 ed15518f5707: Pulling fs layer 23:14:46 feae8fd75edb: Pulling fs layer 23:14:46 242c74f7c9fa: Pulling fs layer 23:14:46 3cdef696dda3: Pulling fs layer 23:14:46 2ced38df9373: Pulling fs layer 23:14:46 58f1dce35555: Pulling fs layer 23:14:46 2ced38df9373: Waiting 23:14:46 242c74f7c9fa: Waiting 23:14:46 3cdef696dda3: Waiting 23:14:46 58f1dce35555: Waiting 23:14:46 ed15518f5707: Verifying Checksum 23:14:46 ed15518f5707: Download complete 23:14:46 242c74f7c9fa: Verifying Checksum 23:14:46 242c74f7c9fa: Download complete 23:14:46 3cdef696dda3: Download complete 23:14:46 c41833b44d91: Verifying Checksum 23:14:46 c41833b44d91: Download complete 23:14:47 c41833b44d91: Pull complete 23:14:47 58f1dce35555: Verifying Checksum 23:14:47 58f1dce35555: Download complete 23:14:48 ed15518f5707: Pull complete 23:14:49 feae8fd75edb: Verifying Checksum 23:14:49 feae8fd75edb: Download complete 23:14:49 2ced38df9373: Verifying Checksum 23:14:49 2ced38df9373: Download complete 23:14:59 feae8fd75edb: Pull complete 23:14:59 242c74f7c9fa: Pull complete 23:14:59 3cdef696dda3: Pull complete 23:15:06 2ced38df9373: Pull complete 23:15:09 58f1dce35555: Pull complete 23:15:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:15:09 ---> fadd8f120f05 23:15:09 Step 3/10 : ARG MAKE=make build 23:15:10 ---> Running in b501192a00f6 23:15:10 Removing intermediate container b501192a00f6 23:15:10 ---> d10ea74782f5 23:15:10 Step 4/10 : WORKDIR /device-sdk-go 23:15:10 ---> Running in cb0a7582157c 23:15:11 Removing intermediate container cb0a7582157c 23:15:11 ---> a4dcdb3d013e 23:15:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:15:11 ---> Running in a6658c096007 23:15:11 Removing intermediate container a6658c096007 23:15:11 ---> 83e21006bfdc 23:15:11 Step 6/10 : RUN apk add --update --no-cache make git 23:15:11 ---> Running in d1d7dcd57996 23:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:15:14 OK: 263 MiB in 53 packages 23:15:15 Removing intermediate container d1d7dcd57996 23:15:15 ---> 0bc3f8830aa9 23:15:15 Step 7/10 : COPY go.mod vendor* ./ 23:15:15 ---> 434cc3fe29bf 23:15:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:15 ---> Running in fad9320f8fc4 23:16:23 Removing intermediate container fad9320f8fc4 23:16:23 ---> a3ef0056c8f0 23:16:23 Step 9/10 : COPY . . 23:16:23 ---> 0b6540dea3c9 23:16:23 Step 10/10 : RUN ${MAKE} 23:16:23 ---> Running in 1a6d5e86e4d0 23:16:23 noop 23:16:23 Removing intermediate container 1a6d5e86e4d0 23:16:23 ---> 218f93c1225b 23:16:23 Successfully built 218f93c1225b 23:16:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:23 + docker inspect -f . ci-base-image-arm64 23:16:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:23 prd-ubuntu20.04-docker-arm64-4c-16g-17190 does not seem to be running inside a container 23:16:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:16:25 $ docker top 9096efdc1518a80243123441bc97cf14086819763cd0d318f7d66ff6a14fd1e5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:26 + go version 23:16:26 go version go1.20.2 linux/arm64 [Pipeline] } 23:16:26 $ docker stop --time=1 9096efdc1518a80243123441bc97cf14086819763cd0d318f7d66ff6a14fd1e5 23:16:27 $ docker rm -f --volumes 9096efdc1518a80243123441bc97cf14086819763cd0d318f7d66ff6a14fd1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:28 + docker inspect -f . ci-base-image-arm64 23:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:28 prd-ubuntu20.04-docker-arm64-4c-16g-17190 does not seem to be running inside a container 23:16:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:16:29 $ docker top 6901ea6533659b698380dc39d546a9cb5a51af5b049a9830811ffa5f00e8f957 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:30 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 23:16:30 + make test 23:16:30 go test -race -coverprofile=coverage.out ./... 23:17:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:19:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.388s coverage: 27.6% of statements 23:19:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.330s coverage: 80.2% of statements 23:20:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:20:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.430s coverage: 86.0% of statements 23:20:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:20:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.518s coverage: 77.5% of statements 23:20:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 23:20:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:20:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:20:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.306s coverage: 14.3% of statements 23:20:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.456s coverage: 68.5% of statements 23:20:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.499s coverage: 89.2% of statements 23:20:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:20:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.302s coverage: 5.7% of statements 23:20:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:20:25 GO111MODULE=on go vet ./... 23:23:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:23:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:23:17 ./bin/test-attribution-txt.sh [Pipeline] echo 23:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:23:17 $ docker stop --time=1 6901ea6533659b698380dc39d546a9cb5a51af5b049a9830811ffa5f00e8f957 23:23:19 $ docker rm -f --volumes 6901ea6533659b698380dc39d546a9cb5a51af5b049a9830811ffa5f00e8f957 [Pipeline] // withDockerContainer [Pipeline] sh 23:23:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:23:21 Warning: overwriting stash ‘coverage-report’ 23:23:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:23:23 + ls -al . 23:23:23 total 280 23:23:23 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:16 . 23:23:23 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:14 .. 23:23:23 -rw-rw-r-- 1 jenkins jenkins 140 May 29 23:14 .dockerignore 23:23:23 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:14 .git 23:23:23 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:14 .github 23:23:23 -rw-rw-r-- 1 jenkins jenkins 137 May 29 23:14 .gitignore 23:23:23 -rw-rw-r-- 1 jenkins jenkins 42 May 29 23:14 .golangci.yml 23:23:23 -rw-rw-r-- 1 jenkins jenkins 44878 May 29 23:14 CHANGELOG.md 23:23:23 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:14 GOVERNANCE.md 23:23:23 -rw-rw-r-- 1 jenkins jenkins 885 May 29 23:14 Jenkinsfile 23:23:23 -rw-rw-r-- 1 jenkins jenkins 11341 May 29 23:14 LICENSE 23:23:23 -rw-rw-r-- 1 jenkins jenkins 1714 May 29 23:14 Makefile 23:23:23 -rw-rw-r-- 1 jenkins jenkins 619 May 29 23:14 OWNERS.md 23:23:23 -rw-rw-r-- 1 jenkins jenkins 4953 May 29 23:14 README.md 23:23:23 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:12 VERSION 23:23:23 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:14 bin 23:23:23 -rw-r--r-- 1 jenkins jenkins 106151 May 29 23:20 coverage.out 23:23:23 drwxrwxr-x 5 jenkins jenkins 4096 May 29 23:14 example 23:23:23 -rw-rw-r-- 1 jenkins jenkins 3193 May 29 23:14 go.mod 23:23:23 -rw-rw-r-- 1 jenkins jenkins 30699 May 29 23:14 go.sum 23:23:23 drwxrwxr-x 12 jenkins jenkins 4096 May 29 23:14 internal 23:23:23 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:14 openapi 23:23:23 drwxrwxr-x 6 jenkins jenkins 4096 May 29 23:14 pkg 23:23:23 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:14 snap 23:23:23 -rw-rw-r-- 1 jenkins jenkins 222 May 29 23:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:23 + 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=cf0fc7dbcd1bad05b61ea7b8284598cd325be288 --label arch=arm64 --label version=0.0.0 . 23:23:23 Sending build context to Docker daemon 6.154MB 23:23:23 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:23:23 Step 2/23 : FROM ${BASE} AS builder 23:23:23 ---> 218f93c1225b 23:23:23 Step 3/23 : ARG MAKE=make build 23:23:23 ---> Running in ca343608a641 23:23:24 Removing intermediate container ca343608a641 23:23:24 ---> aa6ac2a0d6ee 23:23:24 Step 4/23 : WORKDIR /device-sdk-go 23:23:24 ---> Running in 5d0ec06e555e 23:23:24 Removing intermediate container 5d0ec06e555e 23:23:24 ---> 98f76fae1aa2 23:23:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:23:24 ---> Running in bf9601fd2974 23:23:25 Removing intermediate container bf9601fd2974 23:23:25 ---> 23c87f89c60f 23:23:25 Step 6/23 : RUN apk add --update --no-cache make git 23:23:25 ---> Running in ac8b0358a30e 23:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:28 OK: 263 MiB in 53 packages 23:23:31 Removing intermediate container ac8b0358a30e 23:23:31 ---> 87a9c83c3fbc 23:23:31 Step 7/23 : COPY go.mod vendor* ./ 23:23:31 ---> 91abd5980f25 23:23:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:31 ---> Running in b7d48fe30aed 23:23:35 Removing intermediate container b7d48fe30aed 23:23:35 ---> 22d1b7e18908 23:23:35 Step 9/23 : COPY . . 23:23:36 ---> 6362d10dfc69 23:23:36 Step 10/23 : RUN ${MAKE} 23:23:36 ---> Running in 3751701c756b 23:23:37 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 23:26:14 Removing intermediate container 3751701c756b 23:26:14 ---> c1a290bc6ddb 23:26:14 Step 11/23 : FROM alpine:3.17 23:26:14 3.17: Pulling from library/alpine 23:26:14 c41833b44d91: Already exists 23:26:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:26:14 Status: Downloaded newer image for alpine:3.17 23:26:14 ---> 51e60588ff2c 23:26:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:26:14 ---> Running in dc4348c0aeb2 23:26:14 Removing intermediate container dc4348c0aeb2 23:26:14 ---> d168b6f4fc23 23:26:14 Step 13/23 : RUN apk add --update --no-cache 23:26:14 ---> Running in 4642b3da17f3 23:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:26:15 OK: 7 MiB in 15 packages 23:26:16 Removing intermediate container 4642b3da17f3 23:26:16 ---> 395381ecf79f 23:26:16 Step 14/23 : WORKDIR / 23:26:16 ---> Running in 1cbea850f814 23:26:16 Removing intermediate container 1cbea850f814 23:26:16 ---> 175e6d8f5a1e 23:26:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:26:17 ---> 83097f2b3736 23:26:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:26:18 ---> 1236cb90e1e4 23:26:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:26:19 ---> c309a5829414 23:26:19 Step 18/23 : EXPOSE 59999 23:26:19 ---> Running in 62c3a749afa7 23:26:19 Removing intermediate container 62c3a749afa7 23:26:19 ---> a6e1946df9c4 23:26:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:26:19 ---> Running in b973810a00d5 23:26:20 Removing intermediate container b973810a00d5 23:26:20 ---> d0ba3a94da3a 23:26:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:26:20 ---> Running in 53b16f8f9fee 23:26:20 Removing intermediate container 53b16f8f9fee 23:26:20 ---> ef7ba2fbd176 23:26:20 Step 21/23 : LABEL arch=arm64 23:26:20 ---> Running in 5d2517af77b1 23:26:20 Removing intermediate container 5d2517af77b1 23:26:20 ---> a1510ee1475d 23:26:20 Step 22/23 : LABEL git_sha=cf0fc7dbcd1bad05b61ea7b8284598cd325be288 23:26:20 ---> Running in f5c897aaaf3f 23:26:21 Removing intermediate container f5c897aaaf3f 23:26:21 ---> 46f7da112076 23:26:21 Step 23/23 : LABEL version=0.0.0 23:26:21 ---> Running in ddaac0d37d86 23:26:21 Removing intermediate container ddaac0d37d86 23:26:21 ---> ed2cd5bf7f14 23:26:21 [Warning] One or more build-args [ARCH] were not consumed 23:26:21 Successfully built ed2cd5bf7f14 23:26:21 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 23:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:21 23:26:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:22 arm64: Pulling from edgex-lftools-log-publisher 23:26:22 8998bd30e6a1: Pulling fs layer 23:26:22 04944245beec: Pulling fs layer 23:26:22 699f458cf7ca: Pulling fs layer 23:26:22 765212b225bb: Pulling fs layer 23:26:22 f23df028b6ca: Pulling fs layer 23:26:22 d65c8cfc05b1: Pulling fs layer 23:26:22 2437ff75d9bd: Pulling fs layer 23:26:22 f23df028b6ca: Waiting 23:26:22 d65c8cfc05b1: Waiting 23:26:22 2437ff75d9bd: Waiting 23:26:22 765212b225bb: Waiting 23:26:22 04944245beec: Verifying Checksum 23:26:22 04944245beec: Download complete 23:26:22 765212b225bb: Verifying Checksum 23:26:22 765212b225bb: Download complete 23:26:22 f23df028b6ca: Verifying Checksum 23:26:22 f23df028b6ca: Download complete 23:26:22 d65c8cfc05b1: Verifying Checksum 23:26:22 d65c8cfc05b1: Download complete 23:26:22 699f458cf7ca: Verifying Checksum 23:26:22 699f458cf7ca: Download complete 23:26:22 8998bd30e6a1: Verifying Checksum 23:26:22 8998bd30e6a1: Download complete 23:26:25 2437ff75d9bd: Verifying Checksum 23:26:25 2437ff75d9bd: Download complete 23:26:26 8998bd30e6a1: Pull complete 23:26:27 04944245beec: Pull complete 23:26:28 699f458cf7ca: Pull complete 23:26:28 765212b225bb: Pull complete 23:26:29 f23df028b6ca: Pull complete 23:26:29 d65c8cfc05b1: Pull complete 23:26:44 2437ff75d9bd: Pull complete 23:26:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:45 prd-ubuntu20.04-docker-arm64-4c-16g-17190 does not seem to be running inside a container 23:26:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:26:48 $ docker top 18f4ddc26bd16c23edc2510e35931936032f24099628f4f47322052171a6d36f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:49 ---> job-cost.sh 23:26:49 lf-activate-venv: SKIPPING 23:26:49 INFO: No Stack... 23:26:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:26:50 INFO: Archiving Costs [Pipeline] sh 23:26:50 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 23:26:50 + cut -d, -f6 [Pipeline] lock 23:26:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] 23:26:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] did not exist. Created. 23:26:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:26:51 /w/workspace/device-sdk-go/2@tmp/durable-2b1970c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:26:52 + echo total: 0.10999999940395355 [Pipeline] stash 23:26:52 Warning: overwriting stash ‘stack-cost’ 23:26:52 Stashed 1 file(s) [Pipeline] } 23:26:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1465-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:26:52 $ docker stop --time=1 18f4ddc26bd16c23edc2510e35931936032f24099628f4f47322052171a6d36f 23:26:54 $ docker rm -f --volumes 18f4ddc26bd16c23edc2510e35931936032f24099628f4f47322052171a6d36f [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 23:26:55 provisioning config files... 23:26:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/config407611245715024558tmp [Pipeline] { [Pipeline] sh 23:26:55 + set +x 23:26:55 + bash -s -- 23:26:55 + curl -s https://codecov.io/bash 23:26:55 23:26:55 _____ _ 23:26:55 / ____| | | 23:26:55 | | ___ __| | ___ ___ _____ __ 23:26:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:26:55 | |___| (_) | (_| | __/ (_| (_) \ V / 23:26:55 \_____\___/ \__,_|\___|\___\___/ \_/ 23:26:55 Bash-1.0.6 23:26:55 23:26:55 23:26:55 ==> git version 2.25.1 found 23:26:55 ==> 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 23:26:55 Release-Date: 2020-01-08 23:26:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:26:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:26:55 ==> Jenkins CI detected. 23:26:55 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1465 23:26:55 project root: . 23:26:55 --> token set from env 23:26:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:26:55 ==> Running gcov in . (disable via -X gcov) 23:26:55 ==> Python coveragepy not found 23:26:55 ==> Searching for coverage reports in: 23:26:55 + . 23:26:55 -> Found 1 reports 23:26:55 ==> Detecting git/mercurial file structure 23:26:55 ==> Reading reports 23:26:55 + ./coverage.out bytes=106151 23:26:55 ==> Appending adjustments 23:26:55 https://docs.codecov.io/docs/fixing-reports 23:26:56 + Found adjustments 23:26:56 ==> Gzipping contents 23:26:56 16K /tmp/codecov.6DjN4M.gz 23:26:56 ==> Uploading reports 23:26:56 url: https://codecov.io 23:26:56 query: branch=PR-1465&commit=cf0fc7dbcd1bad05b61ea7b8284598cd325be288&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1465%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1465&job=&cmd_args= 23:26:56 -> Pinging Codecov 23:26:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1465&commit=cf0fc7dbcd1bad05b61ea7b8284598cd325be288&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1465%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1465&job=&cmd_args= 23:26:56 -> Uploading to 23:26:56 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/7E55EF52A471D76F132DFD9A03CDDE97/cf0fc7dbcd1bad05b61ea7b8284598cd325be288/f6ba34a9-58f8-41c2-b88f-1a776ff75479.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T232656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82a7a770145e50548e043489a60a3bb5d5825ff0b1e9d72a6166563aa6c15cf8 23:26:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:26:56 Dload Upload Total Spent Left Speed 23:26:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15158 0 0 100 15158 0 68900 --:--:-- --:--:-- --:--:-- 68900 23:26:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cf0fc7dbcd1bad05b61ea7b8284598cd325be288 [Pipeline] } 23:26:56 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 23:26:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives ] 23:26:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives 23:26:57 total 16 23:26:57 drwxr-xr-x 3 root root 4096 May 29 23:14 . 23:26:57 drwxrwxr-x 12 jenkins jenkins 4096 May 29 23:14 .. 23:26:57 drwxr-xr-x 2 root root 4096 May 29 23:14 cost 23:26:57 -rw-r--r-- 1 root root 86 May 29 23:14 cost.csv 23:26:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives 23:26:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives 23:26:57 total 16 23:26:57 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:14 . 23:26:57 drwxrwxr-x 12 jenkins jenkins 4096 May 29 23:14 .. 23:26:57 drwxr-xr-x 2 jenkins jenkins 4096 May 29 23:14 cost 23:26:57 -rw-r--r-- 1 jenkins jenkins 86 May 29 23:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:26:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:26:58 ---> package-listing.sh 23:26:58 ++ facter osfamily 23:26:58 ++ tr '[:upper:]' '[:lower:]' 23:26:58 + OS_FAMILY=debian 23:26:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1465 23:26:58 + START_PACKAGES=/tmp/packages_start.txt 23:26:58 + END_PACKAGES=/tmp/packages_end.txt 23:26:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:26:58 + PACKAGES=/tmp/packages_start.txt 23:26:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1465 ']' 23:26:58 + PACKAGES=/tmp/packages_end.txt 23:26:58 + case "${OS_FAMILY}" in 23:26:58 + dpkg -l 23:26:58 + grep '^ii' 23:26:58 + '[' -f /tmp/packages_start.txt ']' 23:26:58 + '[' -f /tmp/packages_end.txt ']' 23:26:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:26:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1465 ']' 23:26:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives/ 23:26:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1465/archives/ [Pipeline] echo 23:26:58 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-1465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:26:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:59 prd-ubuntu20.04-docker-8c-8g-17189 does not seem to be running inside a container 23:26:59 $ 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-1465/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-1465 -v /w/workspace/gexfoundry_device-sdk-go_PR-1465:/w/workspace/gexfoundry_device-sdk-go_PR-1465:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:26:59 $ docker top 326a38e9420ceed7858124395e0addee5419055b2276c32617e2ee0d5801912f -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:27:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:27:00 + ls /var/log/sa-host 23:27:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:00 provisioning config files... 23:27:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1465@tmp/config13903361798230042295tmp [Pipeline] { [Pipeline] echo 23:27:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:27:01 ---> create-netrc.sh [Pipeline] } 23:27:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:27:01 ---> python-tools-install.sh [Pipeline] echo 23:27:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:27:01 ---> sudo-logs.sh 23:27:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:27:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:27:02 ---> job-cost.sh 23:27:02 lf-activate-venv: SKIPPING 23:27:02 DEBUG: total: 0.2199999988079071 23:27:02 INFO: Retrieving Stack Cost... 23:27:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:27:02 INFO: Archiving Costs [Pipeline] echo 23:27:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:27:03 ---> logs-deploy.sh 23:27:03 lf-activate-venv: SKIPPING 23:27:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1465/2 23:27:03 INFO: archiving workspace using pattern(s): 23:27:04 Archives upload complete. 23:27:04 INFO: archiving logs to Nexus