Pull request #1443 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61ec8093b165144a006433c656a45b83127e485c+1f684668525fd42346bcfc2ecf4c1133232fc3c4 (a7430fdc2598e47bc91863620d01fc110041c82a) 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-ssh8637284748777374148.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5587061271511479290.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1443/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-1443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11167147232947757876.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11234318245178590349.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-1443/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-1443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17125013862283413356.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 ‘prd-ubuntu20.04-docker-8c-8g-12346’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12348 in /w/workspace/gexfoundry_device-sdk-go_PR-1443 [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-1443 # 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/1443/head:refs/remotes/origin/PR-1443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f684668525fd42346bcfc2ecf4c1133232fc3c4 into PR head commit 61ec8093b165144a006433c656a45b83127e485c Merge succeeded, producing 61ec8093b165144a006433c656a45b83127e485c Checking out Revision 61ec8093b165144a006433c656a45b83127e485c (PR-1443) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" > git config core.sparsecheckout # timeout=10 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # 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 1f684668525fd42346bcfc2ecf4c1133232fc3c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 > git rev-list --no-walk 61ec8093b165144a006433c656a45b83127e485c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:33:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:33:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:33:01 ========================================================= 09:33:01 EdgeX Global Pipelines Version Info 09:33:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:33:02 ------------------- 09:33:02 stable info: 09:33:02 ------------------- 09:33:02 Commited By: Bill Mahoney bill.mahoney@intel.com 09:33:02 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 09:33:02 Message: update stable to v1.0.248 09:33:02 ------------------- 09:33:02 experimental info: 09:33:02 ------------------- 09:33:02 Commited By: **** collab-it+edgex@linuxfoundation.org 09:33:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:33:02 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:33:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1443 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1443 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1443 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61ec809 [Pipeline] echo 09:33:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:03 provisioning config files... 09:33:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config2578087735108082368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:03 ---> docker-login.sh 09:33:03 nexus3.edgexfoundry.org:10001 09:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:04 Configure a credential helper to remove this warning. See 09:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:04 09:33:04 Login Succeeded 09:33:04 nexus3.edgexfoundry.org:10002 09:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:04 Configure a credential helper to remove this warning. See 09:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:04 09:33:04 Login Succeeded 09:33:04 nexus3.edgexfoundry.org:10003 09:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:04 Configure a credential helper to remove this warning. See 09:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:04 09:33:04 Login Succeeded 09:33:04 nexus3.edgexfoundry.org:10004 09:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:04 Configure a credential helper to remove this warning. See 09:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:04 09:33:04 Login Succeeded 09:33:04 docker.io 09:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:04 Configure a credential helper to remove this warning. See 09:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:04 09:33:04 Login Succeeded 09:33:04 ---> docker-login.sh ends [Pipeline] } 09:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:33:05 + git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:33:05 -----------> git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c 61ec8093b165144a006433c656a45b83127e485c [false] [Pipeline] sh 09:33:05 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:33:05 ========================================================= 09:33:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:33:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:05 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 09:33:05 [semverPrep] GIT_COMMIT: 61ec8093b165144a006433c656a45b83127e485c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 09:33:05 [semverPrep] This is not a build commit. [Pipeline] sh 09:33:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:06 + grep -v github /etc/ssh/ssh_known_hosts 09:33:06 + [ -e /tmp/ssh_known_hosts ] 09:33:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:33:06 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 09:33:06 -a /etc/ssh/ssh_known_hosts 09:33:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:06 09:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:07 0.1.4: Pulling from edgex-devops/py-git-semver 09:33:07 b85a868b505f: Pulling fs layer 09:33:07 e2be974225ed: Pulling fs layer 09:33:07 339a4e72a1f5: Pulling fs layer 09:33:07 988bab9f4d93: Pulling fs layer 09:33:07 1469e6f7b9e6: Pulling fs layer 09:33:07 eaf3925da568: Pulling fs layer 09:33:07 bab4dde63d76: Pulling fs layer 09:33:07 bde34c3a00c8: Pulling fs layer 09:33:07 b352a97aabf1: Pulling fs layer 09:33:07 4872d77fe225: Pulling fs layer 09:33:07 5851b861e8e6: Pulling fs layer 09:33:07 eaf3925da568: Waiting 09:33:07 bab4dde63d76: Waiting 09:33:07 bde34c3a00c8: Waiting 09:33:07 b352a97aabf1: Waiting 09:33:07 4872d77fe225: Waiting 09:33:07 e2be974225ed: Download complete 09:33:07 988bab9f4d93: Verifying Checksum 09:33:07 988bab9f4d93: Download complete 09:33:07 1469e6f7b9e6: Verifying Checksum 09:33:07 1469e6f7b9e6: Download complete 09:33:07 eaf3925da568: Verifying Checksum 09:33:07 eaf3925da568: Download complete 09:33:07 339a4e72a1f5: Verifying Checksum 09:33:07 339a4e72a1f5: Download complete 09:33:07 bde34c3a00c8: Download complete 09:33:07 b352a97aabf1: Verifying Checksum 09:33:07 b352a97aabf1: Download complete 09:33:07 4872d77fe225: Verifying Checksum 09:33:07 4872d77fe225: Download complete 09:33:07 5851b861e8e6: Download complete 09:33:07 b85a868b505f: Verifying Checksum 09:33:07 bab4dde63d76: Verifying Checksum 09:33:07 bab4dde63d76: Download complete 09:33:08 b85a868b505f: Pull complete 09:33:08 e2be974225ed: Pull complete 09:33:09 339a4e72a1f5: Pull complete 09:33:09 988bab9f4d93: Pull complete 09:33:09 1469e6f7b9e6: Pull complete 09:33:09 eaf3925da568: Pull complete 09:33:11 bab4dde63d76: Pull complete 09:33:11 bde34c3a00c8: Pull complete 09:33:12 b352a97aabf1: Pull complete 09:33:12 4872d77fe225: Pull complete 09:33:12 5851b861e8e6: Pull complete 09:33:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:33:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:12 prd-ubuntu20.04-docker-8c-8g-12348 does not seem to be running inside a container 09:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:14 $ docker top 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 -eo pid,comm 09:33:14 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). 09:33:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:14 [ssh-agent] Looking for ssh-agent implementation... 09:33:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:14 $ docker exec 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 ssh-agent 09:33:14 SSH_AUTH_SOCK=/tmp/ssh-aBk2phKt9njm/agent.32 09:33:14 SSH_AGENT_PID=38 09:33:14 Running ssh-add (command line suppressed) 09:33:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5094633659214774030.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5094633659214774030.key) 09:33:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:15 + git tag --points-at HEAD [Pipeline] } 09:33:15 $ docker exec --env ******** --env ******** 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 ssh-agent -k 09:33:15 unset SSH_AUTH_SOCK; 09:33:15 unset SSH_AGENT_PID; 09:33:15 echo Agent pid 38 killed; 09:33:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:33:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:15 [ssh-agent] Looking for ssh-agent implementation... 09:33:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:15 $ docker exec 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 ssh-agent 09:33:15 SSH_AUTH_SOCK=/tmp/ssh-T4ySD1GB6jQX/agent.70 09:33:15 SSH_AGENT_PID=76 09:33:15 Running ssh-add (command line suppressed) 09:33:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_9634093985516944173.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_9634093985516944173.key) 09:33:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:16 + git semver init 09:33:16 2023-05-02 09:33:16,279 [run_init] DEBUG init version:0.0.0 force:False 09:33:16 2023-05-02 09:33:16,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 09:33:16 2023-05-02 09:33:16,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 09:33:16 2023-05-02 09:33:16,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443, universal_newlines=False, shell=None, istream=None) 09:33:17 2023-05-02 09:33:17,191 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.git/info/exclude 09:33:17 2023-05-02 09:33:17,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 with force:False 09:33:17 2023-05-02 09:33:17,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 09:33:17 2023-05-02 09:33:17,196 [execute] INFO git cat-file --batch-check 09:33:17 2023-05-02 09:33:17,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 09:33:17 2023-05-02 09:33:17,202 [execute] INFO git cat-file --batch 09:33:17 2023-05-02 09:33:17,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 09:33:17 2023-05-02 09:33:17,209 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 09:33:17 0.0.0 [Pipeline] } 09:33:17 $ docker exec --env ******** --env ******** 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 ssh-agent -k 09:33:17 unset SSH_AUTH_SOCK; 09:33:17 unset SSH_AGENT_PID; 09:33:17 echo Agent pid 76 killed; 09:33:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:17 + git semver [Pipeline] } 09:33:18 $ docker stop --time=1 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 09:33:19 $ docker rm -f --volumes 8911aedac7a032b289df9476c37a7befa25d531436ff2383219a73939d833e72 [Pipeline] // withDockerContainer [Pipeline] sh 09:33:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:33:19 Stashed 1 file(s) [Pipeline] echo 09:33:19 [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 09:33:20 provisioning config files... 09:33:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config9437734610781789074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:33:20 ---> docker-login.sh 09:33:20 nexus3.edgexfoundry.org:10001 09:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:20 Configure a credential helper to remove this warning. See 09:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:20 09:33:20 Login Succeeded 09:33:20 nexus3.edgexfoundry.org:10002 09:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:20 Configure a credential helper to remove this warning. See 09:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:20 09:33:20 Login Succeeded 09:33:20 nexus3.edgexfoundry.org:10003 09:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:20 Configure a credential helper to remove this warning. See 09:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:20 09:33:20 Login Succeeded 09:33:20 nexus3.edgexfoundry.org:10004 09:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:20 Configure a credential helper to remove this warning. See 09:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:20 09:33:20 Login Succeeded 09:33:20 docker.io 09:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:33:20 Configure a credential helper to remove this warning. See 09:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:33:20 09:33:20 Login Succeeded 09:33:20 ---> docker-login.sh ends [Pipeline] } 09:33:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:33:20 ========================================================= 09:33:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:33:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:21 + 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 . 09:33:21 Sending build context to Docker daemon 11.06MB 09:33:21 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:33:21 Step 2/10 : FROM ${BASE} AS builder 09:33:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:33:21 f56be85fc22e: Pulling fs layer 09:33:21 85791d961cd3: Pulling fs layer 09:33:21 d694b5ae8c79: Pulling fs layer 09:33:21 9f32a84ed3da: Pulling fs layer 09:33:21 4d19c01a9841: Pulling fs layer 09:33:21 9325e15d5711: Pulling fs layer 09:33:21 556b6ee489ea: Pulling fs layer 09:33:21 c5a4b2cf53e6: Pulling fs layer 09:33:21 4d19c01a9841: Waiting 09:33:21 9325e15d5711: Waiting 09:33:21 556b6ee489ea: Waiting 09:33:21 c5a4b2cf53e6: Waiting 09:33:21 9f32a84ed3da: Waiting 09:33:21 85791d961cd3: Download complete 09:33:21 9f32a84ed3da: Download complete 09:33:21 4d19c01a9841: Download complete 09:33:21 f56be85fc22e: Download complete 09:33:21 9325e15d5711: Verifying Checksum 09:33:21 9325e15d5711: Download complete 09:33:21 f56be85fc22e: Pull complete 09:33:21 85791d961cd3: Pull complete 09:33:22 d694b5ae8c79: Download complete 09:33:22 c5a4b2cf53e6: Verifying Checksum 09:33:22 c5a4b2cf53e6: Download complete 09:33:22 556b6ee489ea: Verifying Checksum 09:33:22 556b6ee489ea: Download complete 09:33:25 d694b5ae8c79: Pull complete 09:33:25 9f32a84ed3da: Pull complete 09:33:25 4d19c01a9841: Pull complete 09:33:25 9325e15d5711: Pull complete 09:33:28 556b6ee489ea: Pull complete 09:33:28 c5a4b2cf53e6: Pull complete 09:33:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:33:28 ---> c4be618373d6 09:33:28 Step 3/10 : ARG MAKE=make build 09:33:34 ---> Running in 00ec1ad36d15 09:33:34 Removing intermediate container 00ec1ad36d15 09:33:34 ---> 597c655f0bc7 09:33:34 Step 4/10 : WORKDIR /device-sdk-go 09:33:34 ---> Running in ba2aa87dd8e3 09:33:34 Removing intermediate container ba2aa87dd8e3 09:33:34 ---> 846409b0ea3d 09:33:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:33:34 ---> Running in 4c7e97699370 09:33:34 Removing intermediate container 4c7e97699370 09:33:34 ---> 5922d2d7c06b 09:33:34 Step 6/10 : RUN apk add --update --no-cache make git 09:33:35 Still waiting to schedule task 09:33:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12347’ is offline 09:33:35 ---> Running in 990e830e208a 09:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:33:35 OK: 265 MiB in 53 packages 09:33:36 Removing intermediate container 990e830e208a 09:33:36 ---> 77ce3b01c14d 09:33:36 Step 7/10 : COPY go.mod vendor* ./ 09:33:36 ---> 658d78fdcd88 09:33:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:36 ---> Running in 4cab9ec849a8 09:34:08 Removing intermediate container 4cab9ec849a8 09:34:08 ---> 69791368074d 09:34:08 Step 9/10 : COPY . . 09:34:08 ---> af3fb1a10c90 09:34:08 Step 10/10 : RUN ${MAKE} 09:34:08 ---> Running in 1e1007271277 09:34:08 noop 09:34:08 Removing intermediate container 1e1007271277 09:34:08 ---> c698be8c3f18 09:34:08 Successfully built c698be8c3f18 09:34:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:08 + docker inspect -f . ci-base-image-x86_64 09:34:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:08 prd-ubuntu20.04-docker-8c-8g-12348 does not seem to be running inside a container 09:34:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:09 $ docker top 510046a5691981e7af87ae06302b4c51e945b21979f0a4a56ccf6f4b1af32d67 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:09 + go version 09:34:09 go version go1.20.2 linux/amd64 [Pipeline] } 09:34:09 $ docker stop --time=1 510046a5691981e7af87ae06302b4c51e945b21979f0a4a56ccf6f4b1af32d67 09:34:11 $ docker rm -f --volumes 510046a5691981e7af87ae06302b4c51e945b21979f0a4a56ccf6f4b1af32d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:11 + docker inspect -f . ci-base-image-x86_64 09:34:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:11 prd-ubuntu20.04-docker-8c-8g-12348 does not seem to be running inside a container 09:34:11 $ 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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:12 $ docker top 194d52581db754d410668c8e0931af78aac53194bb99571ac528a8f6438b5e62 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] fileExists [Pipeline] sh 09:34:13 + make test 09:34:13 go test -race -coverprofile=coverage.out ./... 09:34:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:34:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.071s coverage: 27.6% of statements 09:34:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:34:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:34:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 09:34:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.086s coverage: 86.0% of statements 09:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:34:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements 09:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:34:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.087s coverage: 14.6% of statements 09:34:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.066s coverage: 68.5% of statements 09:34:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements 09:34:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements 09:34:56 GO111MODULE=on go vet ./... 09:35:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:35:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:35:00 ./bin/test-attribution-txt.sh [Pipeline] echo 09:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:35:00 $ docker stop --time=1 194d52581db754d410668c8e0931af78aac53194bb99571ac528a8f6438b5e62 09:35:05 $ docker rm -f --volumes 194d52581db754d410668c8e0931af78aac53194bb99571ac528a8f6438b5e62 [Pipeline] // withDockerContainer [Pipeline] sh 09:35:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:35:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:35:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:06 + ls -al . 09:35:06 total 272 09:35:06 drwxrwxr-x 11 jenkins jenkins 4096 May 2 09:34 . 09:35:06 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:32 .. 09:35:06 -rw-rw-r-- 1 jenkins jenkins 140 May 2 09:33 .dockerignore 09:35:06 drwxrwxr-x 8 jenkins jenkins 4096 May 2 09:33 .git 09:35:06 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:33 .github 09:35:06 -rw-rw-r-- 1 jenkins jenkins 131 May 2 09:33 .gitignore 09:35:06 -rw-rw-r-- 1 jenkins jenkins 42 May 2 09:33 .golangci.yml 09:35:06 drwxr-xr-x 3 jenkins jenkins 4096 May 2 09:33 .semver 09:35:06 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 09:33 CHANGELOG.md 09:35:06 -rw-rw-r-- 1 jenkins jenkins 677 May 2 09:33 GOVERNANCE.md 09:35:06 -rw-rw-r-- 1 jenkins jenkins 885 May 2 09:33 Jenkinsfile 09:35:06 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 09:33 LICENSE 09:35:06 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 09:33 Makefile 09:35:06 -rw-rw-r-- 1 jenkins jenkins 619 May 2 09:33 OWNERS.md 09:35:06 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 09:33 README.md 09:35:06 -rw-rw-r-- 1 jenkins jenkins 5 May 2 09:33 VERSION 09:35:06 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:33 bin 09:35:06 -rw-r--r-- 1 jenkins jenkins 106119 May 2 09:34 coverage.out 09:35:06 drwxrwxr-x 5 jenkins jenkins 4096 May 2 09:33 example 09:35:06 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 09:33 go.mod 09:35:06 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 09:33 go.sum 09:35:06 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:33 internal 09:35:06 drwxrwxr-x 3 jenkins jenkins 4096 May 2 09:33 openapi 09:35:06 drwxrwxr-x 6 jenkins jenkins 4096 May 2 09:33 pkg 09:35:06 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:33 snap 09:35:06 -rw-rw-r-- 1 jenkins jenkins 222 May 2 09:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:06 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=61ec8093b165144a006433c656a45b83127e485c --label arch=amd64 --label version=0.0.0 . 09:35:06 Sending build context to Docker daemon 11.17MB 09:35:06 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:35:06 Step 2/23 : FROM ${BASE} AS builder 09:35:06 ---> c698be8c3f18 09:35:06 Step 3/23 : ARG MAKE=make build 09:35:06 ---> Running in bc98667c3a43 09:35:06 Removing intermediate container bc98667c3a43 09:35:06 ---> a3315641632a 09:35:06 Step 4/23 : WORKDIR /device-sdk-go 09:35:06 ---> Running in 3642d60ac37a 09:35:07 Removing intermediate container 3642d60ac37a 09:35:07 ---> 9f679a25a987 09:35:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:35:07 ---> Running in 6cbecbcce52b 09:35:07 Removing intermediate container 6cbecbcce52b 09:35:07 ---> 80b7147b5193 09:35:07 Step 6/23 : RUN apk add --update --no-cache make git 09:35:07 ---> Running in 96a7188eabb6 09:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:35:08 OK: 265 MiB in 53 packages 09:35:08 Removing intermediate container 96a7188eabb6 09:35:08 ---> 054c5c454d11 09:35:08 Step 7/23 : COPY go.mod vendor* ./ 09:35:08 ---> bc2768716897 09:35:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:08 ---> Running in c65e19dd3081 09:35:09 Removing intermediate container c65e19dd3081 09:35:09 ---> d18cbd216b91 09:35:09 Step 9/23 : COPY . . 09:35:09 ---> af4741ee195f 09:35:09 Step 10/23 : RUN ${MAKE} 09:35:09 ---> Running in 86da6a1d2f00 09:35:10 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 09:35:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12349 in /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] { [Pipeline] ws 09:35:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:35:17 The recommended git tool is: git 09:35:23 using credential edgex-jenkins-ssh 09:35:23 Cloning the remote Git repository 09:35:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:35:23 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:35:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:35:23 > git --version # timeout=10 09:35:23 > git --version # 'git version 2.25.1' 09:35:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:35:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:35:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:35:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:35:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:35:28 Removing intermediate container 86da6a1d2f00 09:35:28 ---> 954d95682044 09:35:28 Step 11/23 : FROM alpine:3.17 09:35:28 3.17: Pulling from library/alpine 09:35:28 Merging remotes/origin/main commit 1f684668525fd42346bcfc2ecf4c1133232fc3c4 into PR head commit 61ec8093b165144a006433c656a45b83127e485c 09:35:28 f56be85fc22e: Already exists 09:35:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:35:28 Status: Downloaded newer image for alpine:3.17 09:35:28 ---> 9ed4aefc74f6 09:35:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:35:28 ---> Running in 31b055137cca 09:35:28 Removing intermediate container 31b055137cca 09:35:28 ---> 6c9b6b22b9c2 09:35:28 Step 13/23 : RUN apk add --update --no-cache 09:35:28 ---> Running in 37743d808496 09:35:28 Merge succeeded, producing 61ec8093b165144a006433c656a45b83127e485c 09:35:28 Checking out Revision 61ec8093b165144a006433c656a45b83127e485c (PR-1443) 09:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:35:29 OK: 7 MiB in 15 packages 09:35:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:35:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:35:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1443/head:refs/remotes/origin/PR-1443 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:35:28 > git config core.sparsecheckout # timeout=10 09:35:28 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 09:35:28 > git remote # timeout=10 09:35:28 > git config --get remote.origin.url # timeout=10 09:35:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:35:28 > git merge 1f684668525fd42346bcfc2ecf4c1133232fc3c4 # timeout=10 09:35:28 > git rev-parse HEAD^{commit} # timeout=10 09:35:28 > git config core.sparsecheckout # timeout=10 09:35:28 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 09:35:29 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 09:35:29 Removing intermediate container 37743d808496 09:35:29 ---> 451f76ca2fef 09:35:29 Step 14/23 : WORKDIR / 09:35:29 ---> Running in 09f4f7442cf7 09:35:29 Removing intermediate container 09f4f7442cf7 09:35:29 ---> d7d5f95691b0 09:35:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:29 ---> 0756ad74bf6b 09:35:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:35:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:35:30 % Total % Received % Xferd Average Speed Time Time Time Current 09:35:30 Dload Upload Total Spent Left Speed 09:35:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 09:35:30 ---> cd38611d755c 09:35:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:35:30 ---> 19625c6f124a 09:35:30 Step 18/23 : EXPOSE 59999 09:35:30 ---> Running in 53d4e36ab94d 09:35:30 Removing intermediate container 53d4e36ab94d 09:35:30 ---> 44865c1077dc 09:35:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:35:30 ---> Running in d46cf2747a03 09:35:30 Removing intermediate container d46cf2747a03 09:35:30 ---> 9b1f94dd05d5 09:35:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:35:30 ---> Running in 2a4f224ccf7d 09:35:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:35:30 Removing intermediate container 2a4f224ccf7d 09:35:30 ---> 1461e2a83d46 09:35:30 Step 21/23 : LABEL arch=amd64 09:35:30 ---> Running in 5b4bb4ef8e19 09:35:30 Removing intermediate container 5b4bb4ef8e19 09:35:30 ---> 3817f706d270 09:35:30 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 09:35:30 ---> Running in eb515bb83c2a 09:35:30 Removing intermediate container eb515bb83c2a 09:35:30 ---> 695d58bfec37 09:35:30 Step 23/23 : LABEL version=0.0.0 09:35:30 ---> Running in 40e2784e503c 09:35:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:35:31 + sudo tee /etc/docker/daemon.new 09:35:31 { 09:35:31 "registry-mirrors": [ 09:35:31 "https://nexus3.edgexfoundry.org:10001" 09:35:31 ], 09:35:31 "bip": "10.250.0.254/24", 09:35:31 "hosts": [ 09:35:31 "tcp://0.0.0.0:5555", 09:35:31 "unix:///var/run/docker.sock" 09:35:31 ], 09:35:31 "mtu": 1458, 09:35:31 "selinux-enabled": true, 09:35:31 "seccomp-profile": "/etc/docker/seccomp.json" 09:35:31 } [Pipeline] sh 09:35:31 Removing intermediate container 40e2784e503c 09:35:31 ---> 18e0da08ecec 09:35:31 [Warning] One or more build-args [ARCH] were not consumed 09:35:31 Successfully built 18e0da08ecec 09:35:31 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:35:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:31 09:35:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:31 + sudo service docker restart 09:35:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:31 latest: Pulling from edgex-lftools-log-publisher 09:35:31 5eb5b503b376: Pulling fs layer 09:35:31 5c69ac0246d0: Pulling fs layer 09:35:31 ec43610c2a17: Pulling fs layer 09:35:31 3a2ae6a8a46f: Pulling fs layer 09:35:31 33b1e0a273af: Pulling fs layer 09:35:31 5d3b04190fa2: Pulling fs layer 09:35:31 2f39f015ded8: Pulling fs layer 09:35:31 33b1e0a273af: Waiting 09:35:31 5d3b04190fa2: Waiting 09:35:31 3a2ae6a8a46f: Waiting 09:35:31 2f39f015ded8: Waiting 09:35:31 5c69ac0246d0: Verifying Checksum 09:35:31 5c69ac0246d0: Download complete 09:35:31 3a2ae6a8a46f: Verifying Checksum 09:35:31 3a2ae6a8a46f: Download complete 09:35:31 ec43610c2a17: Verifying Checksum 09:35:31 ec43610c2a17: Download complete 09:35:31 33b1e0a273af: Verifying Checksum 09:35:31 33b1e0a273af: Download complete 09:35:31 5d3b04190fa2: Verifying Checksum 09:35:31 5d3b04190fa2: Download complete 09:35:32 5eb5b503b376: Verifying Checksum 09:35:32 5eb5b503b376: Download complete 09:35:32 2f39f015ded8: Download complete 09:35:33 5eb5b503b376: Pull complete 09:35:33 5c69ac0246d0: Pull complete 09:35:33 ec43610c2a17: Pull complete 09:35:33 3a2ae6a8a46f: Pull complete 09:35:34 33b1e0a273af: Pull complete 09:35:34 5d3b04190fa2: Pull complete 09:35:38 2f39f015ded8: Pull complete 09:35:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:38 prd-ubuntu20.04-docker-8c-8g-12348 does not seem to be running inside a container 09:35:38 $ 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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:35:41 $ docker top 5797341df6ca8524b30bcf93169b4d87727808860366a24aec2f0a5a402ec48e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:42 ---> job-cost.sh 09:35:42 lf-activate-venv: SKIPPING 09:35:42 INFO: No Stack... 09:35:42 INFO: Retrieving Pricing Info for: v3-standard-8 09:35:42 INFO: Archiving Costs [Pipeline] sh 09:35:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/cost.csv 09:35:43 + cut -d, -f6 [Pipeline] lock 09:35:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] 09:35:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] did not exist. Created. 09:35:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:35:43 + echo total: 0.2199999988079071 [Pipeline] stash 09:35:43 Stashed 1 file(s) [Pipeline] } 09:35:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:35:43 $ docker stop --time=1 5797341df6ca8524b30bcf93169b4d87727808860366a24aec2f0a5a402ec48e 09:35:44 $ docker rm -f --volumes 5797341df6ca8524b30bcf93169b4d87727808860366a24aec2f0a5a402ec48e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:35:50 provisioning config files... 09:35:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config16121767767742320702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:50 ---> docker-login.sh 09:35:50 nexus3.edgexfoundry.org:10001 09:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:50 Configure a credential helper to remove this warning. See 09:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:50 09:35:50 Login Succeeded 09:35:50 nexus3.edgexfoundry.org:10002 09:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:51 Configure a credential helper to remove this warning. See 09:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:51 09:35:51 Login Succeeded 09:35:51 nexus3.edgexfoundry.org:10003 09:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:51 Configure a credential helper to remove this warning. See 09:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:51 09:35:51 Login Succeeded 09:35:51 nexus3.edgexfoundry.org:10004 09:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:52 Configure a credential helper to remove this warning. See 09:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:52 09:35:52 Login Succeeded 09:35:52 docker.io 09:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:52 Configure a credential helper to remove this warning. See 09:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:52 09:35:52 Login Succeeded 09:35:52 ---> docker-login.sh ends [Pipeline] } 09:35:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:53 ========================================================= 09:35:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:35:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:53 + 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 . 09:35:54 Sending build context to Docker daemon 5.942MB 09:35:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:35:54 Step 2/10 : FROM ${BASE} AS builder 09:35:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:35:54 c41833b44d91: Pulling fs layer 09:35:54 ed15518f5707: Pulling fs layer 09:35:54 feae8fd75edb: Pulling fs layer 09:35:54 242c74f7c9fa: Pulling fs layer 09:35:54 3cdef696dda3: Pulling fs layer 09:35:54 2ced38df9373: Pulling fs layer 09:35:54 58f1dce35555: Pulling fs layer 09:35:54 3cdef696dda3: Waiting 09:35:54 2ced38df9373: Waiting 09:35:54 58f1dce35555: Waiting 09:35:54 242c74f7c9fa: Waiting 09:35:54 ed15518f5707: Verifying Checksum 09:35:54 ed15518f5707: Download complete 09:35:54 242c74f7c9fa: Download complete 09:35:54 3cdef696dda3: Download complete 09:35:54 c41833b44d91: Verifying Checksum 09:35:54 c41833b44d91: Download complete 09:35:55 c41833b44d91: Pull complete 09:35:55 58f1dce35555: Download complete 09:35:55 ed15518f5707: Pull complete 09:35:56 feae8fd75edb: Verifying Checksum 09:35:56 feae8fd75edb: Download complete 09:35:56 2ced38df9373: Verifying Checksum 09:35:56 2ced38df9373: Download complete 09:36:09 feae8fd75edb: Pull complete 09:36:09 242c74f7c9fa: Pull complete 09:36:09 3cdef696dda3: Pull complete 09:36:14 2ced38df9373: Pull complete 09:36:18 58f1dce35555: Pull complete 09:36:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:36:18 ---> fadd8f120f05 09:36:18 Step 3/10 : ARG MAKE=make build 09:36:20 ---> Running in e701a99cc503 09:36:20 Removing intermediate container e701a99cc503 09:36:20 ---> 92b2f6a90b87 09:36:20 Step 4/10 : WORKDIR /device-sdk-go 09:36:20 ---> Running in 38bddcead0d9 09:36:20 Removing intermediate container 38bddcead0d9 09:36:20 ---> d7ab34091e03 09:36:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:36:20 ---> Running in bee91f511fcc 09:36:21 Removing intermediate container bee91f511fcc 09:36:21 ---> 8c9a7ae37de3 09:36:21 Step 6/10 : RUN apk add --update --no-cache make git 09:36:21 ---> Running in 5ed5f3cba0c8 09:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:36:23 OK: 263 MiB in 53 packages 09:36:24 Removing intermediate container 5ed5f3cba0c8 09:36:24 ---> 5365d699f02d 09:36:24 Step 7/10 : COPY go.mod vendor* ./ 09:36:25 ---> b001223c5879 09:36:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:25 ---> Running in d4c69115d707 09:37:33 Removing intermediate container d4c69115d707 09:37:33 ---> bda2325b57ef 09:37:33 Step 9/10 : COPY . . 09:37:33 ---> bd328ff0ff52 09:37:33 Step 10/10 : RUN ${MAKE} 09:37:33 ---> Running in 68db440d7f33 09:37:33 noop 09:37:33 Removing intermediate container 68db440d7f33 09:37:33 ---> e967a85fd1d0 09:37:33 Successfully built e967a85fd1d0 09:37:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:33 + docker inspect -f . ci-base-image-arm64 09:37:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:33 prd-ubuntu20.04-docker-arm64-4c-16g-12349 does not seem to be running inside a container 09:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:37:34 $ docker top 7f20e152158612e7e5fb5d52ee44e1da2774d815164d98d3a292c1c0e566855d -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:35 + go version 09:37:35 go version go1.20.2 linux/arm64 [Pipeline] } 09:37:35 $ docker stop --time=1 7f20e152158612e7e5fb5d52ee44e1da2774d815164d98d3a292c1c0e566855d 09:37:37 $ docker rm -f --volumes 7f20e152158612e7e5fb5d52ee44e1da2774d815164d98d3a292c1c0e566855d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:38 + docker inspect -f . ci-base-image-arm64 09:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:38 prd-ubuntu20.04-docker-arm64-4c-16g-12349 does not seem to be running inside a container 09:37:38 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:37:39 $ docker top 0f01718aa4e66cf8a5ca72590f106682302f98e9432ba2742af048fd5d6c0e54 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 09:37:41 + make test 09:37:41 go test -race -coverprofile=coverage.out ./... 09:38:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:40:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:40:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:40:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:40:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:40:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:40:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.225s coverage: 27.6% of statements 09:40:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements 09:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:40:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.389s coverage: 86.0% of statements 09:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:40:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.461s coverage: 77.5% of statements 09:40:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.271s coverage: 14.6% of statements 09:40:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:40:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.458s coverage: 68.5% of statements 09:40:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.464s coverage: 89.2% of statements 09:40:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.228s coverage: 5.5% of statements 09:40:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:40:42 GO111MODULE=on go vet ./... 09:43:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:43:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:43:04 ./bin/test-attribution-txt.sh [Pipeline] echo 09:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:43:04 $ docker stop --time=1 0f01718aa4e66cf8a5ca72590f106682302f98e9432ba2742af048fd5d6c0e54 09:43:08 $ docker rm -f --volumes 0f01718aa4e66cf8a5ca72590f106682302f98e9432ba2742af048fd5d6c0e54 [Pipeline] // withDockerContainer [Pipeline] sh 09:43:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:43:10 Warning: overwriting stash ‘coverage-report’ 09:43:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:43:11 + ls -al . 09:43:11 total 268 09:43:11 drwxrwxr-x 10 jenkins jenkins 4096 May 2 09:37 . 09:43:11 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:35 .. 09:43:11 -rw-rw-r-- 1 jenkins jenkins 140 May 2 09:35 .dockerignore 09:43:11 drwxrwxr-x 8 jenkins jenkins 4096 May 2 09:35 .git 09:43:11 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:35 .github 09:43:11 -rw-rw-r-- 1 jenkins jenkins 131 May 2 09:35 .gitignore 09:43:11 -rw-rw-r-- 1 jenkins jenkins 42 May 2 09:35 .golangci.yml 09:43:11 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 09:35 CHANGELOG.md 09:43:11 -rw-rw-r-- 1 jenkins jenkins 677 May 2 09:35 GOVERNANCE.md 09:43:11 -rw-rw-r-- 1 jenkins jenkins 885 May 2 09:35 Jenkinsfile 09:43:11 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 09:35 LICENSE 09:43:11 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 09:35 Makefile 09:43:11 -rw-rw-r-- 1 jenkins jenkins 619 May 2 09:35 OWNERS.md 09:43:11 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 09:35 README.md 09:43:11 -rw-rw-r-- 1 jenkins jenkins 5 May 2 09:33 VERSION 09:43:11 drwxrwxr-x 2 jenkins jenkins 4096 May 2 09:35 bin 09:43:11 -rw-r--r-- 1 jenkins jenkins 106119 May 2 09:40 coverage.out 09:43:11 drwxrwxr-x 5 jenkins jenkins 4096 May 2 09:35 example 09:43:11 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 09:35 go.mod 09:43:11 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 09:35 go.sum 09:43:11 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:35 internal 09:43:11 drwxrwxr-x 3 jenkins jenkins 4096 May 2 09:35 openapi 09:43:11 drwxrwxr-x 6 jenkins jenkins 4096 May 2 09:35 pkg 09:43:11 drwxrwxr-x 4 jenkins jenkins 4096 May 2 09:35 snap 09:43:11 -rw-rw-r-- 1 jenkins jenkins 222 May 2 09:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:12 + 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=61ec8093b165144a006433c656a45b83127e485c --label arch=arm64 --label version=0.0.0 . 09:43:12 Sending build context to Docker daemon 6.049MB 09:43:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:43:12 Step 2/23 : FROM ${BASE} AS builder 09:43:12 ---> e967a85fd1d0 09:43:12 Step 3/23 : ARG MAKE=make build 09:43:12 ---> Running in a3eefe267e19 09:43:12 Removing intermediate container a3eefe267e19 09:43:12 ---> 32ace71b55e9 09:43:12 Step 4/23 : WORKDIR /device-sdk-go 09:43:12 ---> Running in 28852f0e150e 09:43:13 Removing intermediate container 28852f0e150e 09:43:13 ---> cac4be4cc168 09:43:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:43:13 ---> Running in c2be8072b725 09:43:13 Removing intermediate container c2be8072b725 09:43:13 ---> f08f4fb7741b 09:43:13 Step 6/23 : RUN apk add --update --no-cache make git 09:43:13 ---> Running in c12408fad686 09:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:43:16 OK: 263 MiB in 53 packages 09:43:17 Removing intermediate container c12408fad686 09:43:17 ---> 26965629834e 09:43:17 Step 7/23 : COPY go.mod vendor* ./ 09:43:17 ---> 6386257ace70 09:43:17 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:17 ---> Running in bc39d11617c9 09:43:21 Removing intermediate container bc39d11617c9 09:43:21 ---> 90700b7dd1c3 09:43:21 Step 9/23 : COPY . . 09:43:22 ---> d03daf8d9cb4 09:43:22 Step 10/23 : RUN ${MAKE} 09:43:22 ---> Running in 7f3db094aaf8 09:43:23 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 09:45:30 Removing intermediate container 7f3db094aaf8 09:45:30 ---> 5b5cfd0135df 09:45:30 Step 11/23 : FROM alpine:3.17 09:45:30 3.17: Pulling from library/alpine 09:45:30 c41833b44d91: Already exists 09:45:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:45:30 Status: Downloaded newer image for alpine:3.17 09:45:30 ---> 51e60588ff2c 09:45:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:45:30 ---> Running in 95d5195abce9 09:45:30 Removing intermediate container 95d5195abce9 09:45:30 ---> d2116614572a 09:45:30 Step 13/23 : RUN apk add --update --no-cache 09:45:30 ---> Running in 1bdceefc3a48 09:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:45:32 OK: 7 MiB in 15 packages 09:45:34 Removing intermediate container 1bdceefc3a48 09:45:34 ---> 5fbcb987d3cb 09:45:34 Step 14/23 : WORKDIR / 09:45:34 ---> Running in 0ab625138ecc 09:45:34 Removing intermediate container 0ab625138ecc 09:45:34 ---> bd2cd7a78957 09:45:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:45:35 ---> 9cf2090ab384 09:45:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:45:36 ---> 5ab8f50430d7 09:45:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:45:36 ---> 055e7b51bc06 09:45:36 Step 18/23 : EXPOSE 59999 09:45:36 ---> Running in f891ff6fe755 09:45:37 Removing intermediate container f891ff6fe755 09:45:37 ---> fcf13558314f 09:45:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:45:37 ---> Running in 0431c0e31212 09:45:37 Removing intermediate container 0431c0e31212 09:45:37 ---> be2dd6d5be05 09:45:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:45:37 ---> Running in 4b8e0a2569f4 09:45:37 Removing intermediate container 4b8e0a2569f4 09:45:37 ---> 05e5fffc99e5 09:45:37 Step 21/23 : LABEL arch=arm64 09:45:37 ---> Running in 24074fa0f604 09:45:38 Removing intermediate container 24074fa0f604 09:45:38 ---> 8befaa6fa523 09:45:38 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 09:45:38 ---> Running in 4b133ec2554c 09:45:38 Removing intermediate container 4b133ec2554c 09:45:38 ---> d521d01b74bd 09:45:38 Step 23/23 : LABEL version=0.0.0 09:45:38 ---> Running in 6e10516d73d8 09:45:38 Removing intermediate container 6e10516d73d8 09:45:38 ---> e69588cd2b5c 09:45:38 [Warning] One or more build-args [ARCH] were not consumed 09:45:38 Successfully built e69588cd2b5c 09:45:38 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 09:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:45:39 09:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:45:39 arm64: Pulling from edgex-lftools-log-publisher 09:45:39 8998bd30e6a1: Pulling fs layer 09:45:39 04944245beec: Pulling fs layer 09:45:39 699f458cf7ca: Pulling fs layer 09:45:39 765212b225bb: Pulling fs layer 09:45:39 f23df028b6ca: Pulling fs layer 09:45:39 d65c8cfc05b1: Pulling fs layer 09:45:39 2437ff75d9bd: Pulling fs layer 09:45:39 765212b225bb: Waiting 09:45:39 f23df028b6ca: Waiting 09:45:39 d65c8cfc05b1: Waiting 09:45:39 2437ff75d9bd: Waiting 09:45:39 04944245beec: Verifying Checksum 09:45:39 04944245beec: Download complete 09:45:39 765212b225bb: Verifying Checksum 09:45:39 765212b225bb: Download complete 09:45:39 f23df028b6ca: Verifying Checksum 09:45:39 f23df028b6ca: Download complete 09:45:39 d65c8cfc05b1: Verifying Checksum 09:45:39 d65c8cfc05b1: Download complete 09:45:39 699f458cf7ca: Verifying Checksum 09:45:39 699f458cf7ca: Download complete 09:45:40 8998bd30e6a1: Verifying Checksum 09:45:40 8998bd30e6a1: Download complete 09:45:42 2437ff75d9bd: Verifying Checksum 09:45:42 2437ff75d9bd: Download complete 09:45:44 8998bd30e6a1: Pull complete 09:45:46 04944245beec: Pull complete 09:45:47 699f458cf7ca: Pull complete 09:45:47 765212b225bb: Pull complete 09:45:48 f23df028b6ca: Pull complete 09:45:48 d65c8cfc05b1: Pull complete 09:46:04 2437ff75d9bd: Pull complete 09:46:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:46:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:04 prd-ubuntu20.04-docker-arm64-4c-16g-12349 does not seem to be running inside a container 09:46:04 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:46:07 $ docker top 647909cdc8820996fb0e70ab7553ba845d92028e8cd5e5eba421a5a889184d4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:08 ---> job-cost.sh 09:46:08 lf-activate-venv: SKIPPING 09:46:08 INFO: No Stack... 09:46:08 INFO: Retrieving Pricing Info for: v3-standard-4 09:46:09 INFO: Archiving Costs [Pipeline] sh 09:46:09 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 09:46:09 + cut -d, -f6 [Pipeline] lock 09:46:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] 09:46:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] did not exist. Created. 09:46:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:46:10 /w/workspace/device-sdk-go/3@tmp/durable-9f627d50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:46:10 + echo total: 0.10999999940395355 [Pipeline] stash 09:46:10 Warning: overwriting stash ‘stack-cost’ 09:46:10 Stashed 1 file(s) [Pipeline] } 09:46:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:46:10 $ docker stop --time=1 647909cdc8820996fb0e70ab7553ba845d92028e8cd5e5eba421a5a889184d4b 09:46:12 $ docker rm -f --volumes 647909cdc8820996fb0e70ab7553ba845d92028e8cd5e5eba421a5a889184d4b [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 09:46:12 provisioning config files... 09:46:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config18078074615552273487tmp [Pipeline] { [Pipeline] sh 09:46:13 + set +x 09:46:13 + curl -s https://codecov.io/bash 09:46:13 + bash -s -- 09:46:13 09:46:13 _____ _ 09:46:13 / ____| | | 09:46:13 | | ___ __| | ___ ___ _____ __ 09:46:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:46:13 | |___| (_) | (_| | __/ (_| (_) \ V / 09:46:13 \_____\___/ \__,_|\___|\___\___/ \_/ 09:46:13 Bash-1.0.6 09:46:13 09:46:13 09:46:13 ==> git version 2.25.1 found 09:46:13 ==> 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 09:46:13 Release-Date: 2020-01-08 09:46:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:46:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:46:13 ==> Jenkins CI detected. 09:46:13 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1443 09:46:13 project root: . 09:46:13 --> token set from env 09:46:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:46:13 ==> Running gcov in . (disable via -X gcov) 09:46:13 ==> Python coveragepy not found 09:46:13 ==> Searching for coverage reports in: 09:46:13 + . 09:46:13 -> Found 1 reports 09:46:13 ==> Detecting git/mercurial file structure 09:46:13 ==> Reading reports 09:46:13 + ./coverage.out bytes=106119 09:46:13 ==> Appending adjustments 09:46:13 https://docs.codecov.io/docs/fixing-reports 09:46:13 + Found adjustments 09:46:13 ==> Gzipping contents 09:46:13 16K /tmp/codecov.P9FhL2.gz 09:46:13 ==> Uploading reports 09:46:13 url: https://codecov.io 09:46:13 query: branch=PR-1443&commit=61ec8093b165144a006433c656a45b83127e485c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 09:46:13 -> Pinging Codecov 09:46:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1443&commit=61ec8093b165144a006433c656a45b83127e485c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 09:46:13 -> Uploading to 09:46:13 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/7E55EF52A471D76F132DFD9A03CDDE97/61ec8093b165144a006433c656a45b83127e485c/105ad80a-46d6-4168-adcd-0a09e6a74927.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T094613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61b23c92a357bfa89ce16b9201f897e2bc3decc329d764a8dfa769a39fe75cdc 09:46:13 % Total % Received % Xferd Average Speed Time Time Time Current 09:46:13 Dload Upload Total Spent Left Speed 09:46:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 64068 --:--:-- --:--:-- --:--:-- 64068 09:46:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/61ec8093b165144a006433c656a45b83127e485c [Pipeline] } 09:46:13 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 09:46:14 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives ] 09:46:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:46:14 total 16 09:46:14 drwxr-xr-x 3 root root 4096 May 2 09:35 . 09:46:14 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:35 .. 09:46:14 drwxr-xr-x 2 root root 4096 May 2 09:35 cost 09:46:14 -rw-r--r-- 1 root root 86 May 2 09:35 cost.csv 09:46:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:46:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 09:46:14 total 16 09:46:14 drwxr-xr-x 3 jenkins jenkins 4096 May 2 09:35 . 09:46:14 drwxrwxr-x 12 jenkins jenkins 4096 May 2 09:35 .. 09:46:14 drwxr-xr-x 2 jenkins jenkins 4096 May 2 09:35 cost 09:46:14 -rw-r--r-- 1 jenkins jenkins 86 May 2 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:46:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:46:15 ---> package-listing.sh 09:46:15 ++ facter osfamily 09:46:15 ++ tr '[:upper:]' '[:lower:]' 09:46:16 + OS_FAMILY=debian 09:46:16 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1443 09:46:16 + START_PACKAGES=/tmp/packages_start.txt 09:46:16 + END_PACKAGES=/tmp/packages_end.txt 09:46:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:46:16 + PACKAGES=/tmp/packages_start.txt 09:46:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 09:46:16 + PACKAGES=/tmp/packages_end.txt 09:46:16 + case "${OS_FAMILY}" in 09:46:16 + dpkg -l 09:46:16 + grep '^ii' 09:46:16 + '[' -f /tmp/packages_start.txt ']' 09:46:16 + '[' -f /tmp/packages_end.txt ']' 09:46:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:46:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 09:46:16 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/ 09:46:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/ [Pipeline] echo 09:46:16 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-1443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:46:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:46:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:16 prd-ubuntu20.04-docker-8c-8g-12348 does not seem to be running inside a container 09:46:16 $ 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-1443/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-1443 -v /w/workspace/gexfoundry_device-sdk-go_PR-1443:/w/workspace/gexfoundry_device-sdk-go_PR-1443:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:46:17 $ docker top fdfdedbe90a9fc626f39e0b9751d129563b8c40a0f98967d7766eff0ff35961e -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:17 + touch /tmp/pre-build-complete [Pipeline] sh 09:46:17 + mkdir -p /var/log/sysstat [Pipeline] sh 09:46:18 + ls /var/log/sa-host 09:46:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:18 provisioning config files... 09:46:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config13944634290570425111tmp [Pipeline] { [Pipeline] echo 09:46:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:46:18 ---> create-netrc.sh [Pipeline] } 09:46:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:46:18 ---> python-tools-install.sh [Pipeline] echo 09:46:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:46:19 ---> sudo-logs.sh 09:46:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:46:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:46:19 ---> job-cost.sh 09:46:19 lf-activate-venv: SKIPPING 09:46:19 DEBUG: total: 0.2199999988079071 09:46:19 INFO: Retrieving Stack Cost... 09:46:20 INFO: Retrieving Pricing Info for: v3-standard-8 09:46:20 INFO: Archiving Costs [Pipeline] echo 09:46:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:46:20 ---> logs-deploy.sh 09:46:20 lf-activate-venv: SKIPPING 09:46:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1443/3 09:46:20 INFO: archiving workspace using pattern(s): 09:46:21 Archives upload complete. 09:46:21 INFO: archiving logs to Nexus