Pull request #1443 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61ec8093b165144a006433c656a45b83127e485c+1f684668525fd42346bcfc2ecf4c1133232fc3c4 (80aea364297272fa18af81b485c268587b6be894) 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-ssh9626760777059130096.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-ssh13965543827898612316.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-ssh15167213454505039519.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-ssh175028822770225418.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-ssh11545711050929402210.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12365 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 13:37:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:37:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:37:30 ========================================================= 13:37:30 EdgeX Global Pipelines Version Info 13:37:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:37:31 ------------------- 13:37:31 stable info: 13:37:31 ------------------- 13:37:31 Commited By: Bill Mahoney bill.mahoney@intel.com 13:37:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:37:31 Message: update stable to v1.0.248 13:37:31 ------------------- 13:37:31 experimental info: 13:37:31 ------------------- 13:37:31 Commited By: **** collab-it+edgex@linuxfoundation.org 13:37:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:37:31 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:37:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:37:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:37:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1443 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1443 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1443 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61ec809 [Pipeline] echo 13:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:37:32 provisioning config files... 13:37:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config3931372834700484118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:32 ---> docker-login.sh 13:37:32 nexus3.edgexfoundry.org:10001 13:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:33 Configure a credential helper to remove this warning. See 13:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:33 13:37:33 Login Succeeded 13:37:33 nexus3.edgexfoundry.org:10002 13:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:33 Configure a credential helper to remove this warning. See 13:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:33 13:37:33 Login Succeeded 13:37:33 nexus3.edgexfoundry.org:10003 13:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:33 Configure a credential helper to remove this warning. See 13:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:33 13:37:33 Login Succeeded 13:37:33 nexus3.edgexfoundry.org:10004 13:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:33 Configure a credential helper to remove this warning. See 13:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:33 13:37:33 Login Succeeded 13:37:33 docker.io 13:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:34 Configure a credential helper to remove this warning. See 13:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:34 13:37:34 Login Succeeded 13:37:34 ---> docker-login.sh ends [Pipeline] } 13:37:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:37:34 + git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 13:37:34 -----------> git rev-list -1 --merges 61ec8093b165144a006433c656a45b83127e485c~1..61ec8093b165144a006433c656a45b83127e485c 61ec8093b165144a006433c656a45b83127e485c [false] [Pipeline] sh 13:37:34 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 13:37:34 ========================================================= 13:37:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:37:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:37:35 + git log --format=format:%s -1 61ec8093b165144a006433c656a45b83127e485c [Pipeline] echo 13:37:35 [semverPrep] GIT_COMMIT: 61ec8093b165144a006433c656a45b83127e485c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 13:37:35 [semverPrep] This is not a build commit. [Pipeline] sh 13:37:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:37:35 + grep -v github /etc/ssh/ssh_known_hosts 13:37:35 + [ -e /tmp/ssh_known_hosts ] 13:37:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:37:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:37:35 + sudo tee -a /etc/ssh/ssh_known_hosts 13:37:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:36 13:37:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:36 0.1.4: Pulling from edgex-devops/py-git-semver 13:37:36 b85a868b505f: Pulling fs layer 13:37:36 e2be974225ed: Pulling fs layer 13:37:36 339a4e72a1f5: Pulling fs layer 13:37:36 988bab9f4d93: Pulling fs layer 13:37:36 1469e6f7b9e6: Pulling fs layer 13:37:36 eaf3925da568: Pulling fs layer 13:37:36 bab4dde63d76: Pulling fs layer 13:37:36 bde34c3a00c8: Pulling fs layer 13:37:36 b352a97aabf1: Pulling fs layer 13:37:36 4872d77fe225: Pulling fs layer 13:37:36 5851b861e8e6: Pulling fs layer 13:37:36 1469e6f7b9e6: Waiting 13:37:36 4872d77fe225: Waiting 13:37:36 bab4dde63d76: Waiting 13:37:36 5851b861e8e6: Waiting 13:37:36 b352a97aabf1: Waiting 13:37:36 bde34c3a00c8: Waiting 13:37:36 e2be974225ed: Verifying Checksum 13:37:36 e2be974225ed: Download complete 13:37:36 988bab9f4d93: Verifying Checksum 13:37:36 988bab9f4d93: Download complete 13:37:36 1469e6f7b9e6: Verifying Checksum 13:37:36 1469e6f7b9e6: Download complete 13:37:36 339a4e72a1f5: Verifying Checksum 13:37:36 339a4e72a1f5: Download complete 13:37:36 eaf3925da568: Download complete 13:37:36 bde34c3a00c8: Verifying Checksum 13:37:36 bde34c3a00c8: Download complete 13:37:36 b352a97aabf1: Verifying Checksum 13:37:36 b352a97aabf1: Download complete 13:37:36 4872d77fe225: Download complete 13:37:36 5851b861e8e6: Verifying Checksum 13:37:36 5851b861e8e6: Download complete 13:37:36 b85a868b505f: Download complete 13:37:37 bab4dde63d76: Verifying Checksum 13:37:37 bab4dde63d76: Download complete 13:37:38 b85a868b505f: Pull complete 13:37:38 e2be974225ed: Pull complete 13:37:38 339a4e72a1f5: Pull complete 13:37:38 988bab9f4d93: Pull complete 13:37:38 1469e6f7b9e6: Pull complete 13:37:38 eaf3925da568: Pull complete 13:37:40 bab4dde63d76: Pull complete 13:37:40 bde34c3a00c8: Pull complete 13:37:41 b352a97aabf1: Pull complete 13:37:41 4872d77fe225: Pull complete 13:37:41 5851b861e8e6: Pull complete 13:37:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:41 prd-ubuntu20.04-docker-8c-8g-12365 does not seem to be running inside a container 13:37:41 $ 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 13:37:42 $ docker top 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda -eo pid,comm 13:37:42 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). 13:37:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:37:42 [ssh-agent] Looking for ssh-agent implementation... 13:37:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:37:42 $ docker exec 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda ssh-agent 13:37:42 SSH_AUTH_SOCK=/tmp/ssh-BwSuPqIP2faA/agent.32 13:37:42 SSH_AGENT_PID=38 13:37:42 Running ssh-add (command line suppressed) 13:37:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5445070777055627433.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_5445070777055627433.key) 13:37:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:37:43 + git tag --points-at HEAD [Pipeline] } 13:37:43 $ docker exec --env ******** --env ******** 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda ssh-agent -k 13:37:43 unset SSH_AUTH_SOCK; 13:37:43 unset SSH_AGENT_PID; 13:37:43 echo Agent pid 38 killed; 13:37:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:37:43 [ssh-agent] Looking for ssh-agent implementation... 13:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:37:43 $ docker exec 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda ssh-agent 13:37:43 SSH_AUTH_SOCK=/tmp/ssh-LtCttxnk0sQd/agent.70 13:37:43 SSH_AGENT_PID=76 13:37:43 Running ssh-add (command line suppressed) 13:37:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_304452027568210251.key (/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/private_key_304452027568210251.key) 13:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:37:44 + git semver init 13:37:44 2023-05-02 13:37:44,245 [run_init] DEBUG init version:0.0.0 force:False 13:37:44 2023-05-02 13:37:44,246 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 13:37:44 2023-05-02 13:37:44,247 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver 13:37:44 2023-05-02 13:37:44,247 [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) 13:37:45 2023-05-02 13:37:45,106 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.git/info/exclude 13:37:45 2023-05-02 13:37:45,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 with force:False 13:37:45 2023-05-02 13:37:45,107 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 13:37:45 2023-05-02 13:37:45,112 [execute] INFO git cat-file --batch-check 13:37:45 2023-05-02 13:37:45,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 13:37:45 2023-05-02 13:37:45,118 [execute] INFO git cat-file --batch 13:37:45 2023-05-02 13:37:45,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver, universal_newlines=False, shell=None, istream=) 13:37:45 2023-05-02 13:37:45,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1443/.semver/PR-1443 13:37:45 0.0.0 [Pipeline] } 13:37:45 $ docker exec --env ******** --env ******** 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda ssh-agent -k 13:37:45 unset SSH_AUTH_SOCK; 13:37:45 unset SSH_AGENT_PID; 13:37:45 echo Agent pid 76 killed; 13:37:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:37:45 + git semver [Pipeline] } 13:37:45 $ docker stop --time=1 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda 13:37:47 $ docker rm -f --volumes 8d0f64e76f5cf394f239f4c2554f1a7ab04be60ccf97fafae5b687bc7942aeda [Pipeline] // withDockerContainer [Pipeline] sh 13:37:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:37:47 Stashed 1 file(s) [Pipeline] echo 13:37:47 [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 13:37:48 provisioning config files... 13:37:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config11458520450041897785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:48 ---> docker-login.sh 13:37:48 nexus3.edgexfoundry.org:10001 13:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:48 Configure a credential helper to remove this warning. See 13:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:48 13:37:48 Login Succeeded 13:37:48 nexus3.edgexfoundry.org:10002 13:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:48 Configure a credential helper to remove this warning. See 13:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:48 13:37:48 Login Succeeded 13:37:48 nexus3.edgexfoundry.org:10003 13:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:48 Configure a credential helper to remove this warning. See 13:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:48 13:37:48 Login Succeeded 13:37:48 nexus3.edgexfoundry.org:10004 13:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:48 Configure a credential helper to remove this warning. See 13:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:48 13:37:48 Login Succeeded 13:37:48 docker.io 13:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:49 Configure a credential helper to remove this warning. See 13:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:49 13:37:49 Login Succeeded 13:37:49 ---> docker-login.sh ends [Pipeline] } 13:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:37:49 ========================================================= 13:37:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:37:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:49 + 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 . 13:37:49 Sending build context to Docker daemon 11.04MB 13:37:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 13:37:49 Step 2/10 : FROM ${BASE} AS builder 13:37:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:37:49 f56be85fc22e: Pulling fs layer 13:37:49 85791d961cd3: Pulling fs layer 13:37:49 d694b5ae8c79: Pulling fs layer 13:37:49 9f32a84ed3da: Pulling fs layer 13:37:49 4d19c01a9841: Pulling fs layer 13:37:49 9325e15d5711: Pulling fs layer 13:37:49 556b6ee489ea: Pulling fs layer 13:37:49 c5a4b2cf53e6: Pulling fs layer 13:37:49 9f32a84ed3da: Waiting 13:37:49 4d19c01a9841: Waiting 13:37:49 9325e15d5711: Waiting 13:37:49 556b6ee489ea: Waiting 13:37:49 c5a4b2cf53e6: Waiting 13:37:49 85791d961cd3: Verifying Checksum 13:37:49 85791d961cd3: Download complete 13:37:49 9f32a84ed3da: Verifying Checksum 13:37:49 9f32a84ed3da: Download complete 13:37:49 f56be85fc22e: Verifying Checksum 13:37:49 f56be85fc22e: Download complete 13:37:49 4d19c01a9841: Download complete 13:37:49 9325e15d5711: Verifying Checksum 13:37:49 9325e15d5711: Download complete 13:37:49 f56be85fc22e: Pull complete 13:37:50 85791d961cd3: Pull complete 13:37:50 c5a4b2cf53e6: Verifying Checksum 13:37:50 c5a4b2cf53e6: Download complete 13:37:50 d694b5ae8c79: Download complete 13:37:50 556b6ee489ea: Verifying Checksum 13:37:50 556b6ee489ea: Download complete 13:37:53 d694b5ae8c79: Pull complete 13:37:53 9f32a84ed3da: Pull complete 13:37:53 4d19c01a9841: Pull complete 13:37:53 9325e15d5711: Pull complete 13:37:56 556b6ee489ea: Pull complete 13:37:57 c5a4b2cf53e6: Pull complete 13:37:57 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:37:57 ---> c4be618373d6 13:37:57 Step 3/10 : ARG MAKE=make build 13:37:59 ---> Running in 7f70ce09fd04 13:37:59 Removing intermediate container 7f70ce09fd04 13:37:59 ---> e910e2b1f93c 13:37:59 Step 4/10 : WORKDIR /device-sdk-go 13:37:59 ---> Running in 1b10cc21e285 13:37:59 Removing intermediate container 1b10cc21e285 13:37:59 ---> ebc11c90b436 13:37:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:37:59 ---> Running in ed117aa31177 13:37:59 Removing intermediate container ed117aa31177 13:37:59 ---> cd53facd4a28 13:37:59 Step 6/10 : RUN apk add --update --no-cache make git 13:37:59 ---> Running in 9147a593092e 13:37:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:38:00 OK: 265 MiB in 53 packages 13:38:00 Removing intermediate container 9147a593092e 13:38:00 ---> acc77433d1f3 13:38:00 Step 7/10 : COPY go.mod vendor* ./ 13:38:00 ---> d6f4fbdb3812 13:38:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:38:00 ---> Running in 4fa2931ff616 13:38:03 Still waiting to schedule task 13:38:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:38:19 Removing intermediate container 4fa2931ff616 13:38:19 ---> 7abac4a9e5c1 13:38:19 Step 9/10 : COPY . . 13:38:19 ---> 3d4e2d33b9d6 13:38:19 Step 10/10 : RUN ${MAKE} 13:38:19 ---> Running in dd69fc218b99 13:38:19 noop 13:38:20 Removing intermediate container dd69fc218b99 13:38:20 ---> 0159b88b226e 13:38:20 Successfully built 0159b88b226e 13:38:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:20 + docker inspect -f . ci-base-image-x86_64 13:38:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:20 prd-ubuntu20.04-docker-8c-8g-12365 does not seem to be running inside a container 13:38:20 $ 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 13:38:20 $ docker top 1c6267605d49d07cab520ae43144cb78cd2e2ef6bf19df66af97234c553fdd43 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:21 + go version 13:38:21 go version go1.20.2 linux/amd64 [Pipeline] } 13:38:21 $ docker stop --time=1 1c6267605d49d07cab520ae43144cb78cd2e2ef6bf19df66af97234c553fdd43 13:38:22 $ docker rm -f --volumes 1c6267605d49d07cab520ae43144cb78cd2e2ef6bf19df66af97234c553fdd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:22 + docker inspect -f . ci-base-image-x86_64 13:38:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:23 prd-ubuntu20.04-docker-8c-8g-12365 does not seem to be running inside a container 13:38:23 $ 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 13:38:23 $ docker top 7ab57265bdce355bc6ccfdfc070b570c1bf047aff20241192752d405d572a782 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] fileExists [Pipeline] sh 13:38:24 + make test 13:38:24 go test -race -coverprofile=coverage.out ./... 13:38:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:38:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:38:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements 13:38:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements 13:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:38:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 77.5% of statements 13:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:38:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.052s coverage: 14.6% of statements 13:38:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements 13:38:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.130s coverage: 89.2% of statements 13:38:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 13:39:09 GO111MODULE=on go vet ./... 13:39:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:39:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:39:09 ./bin/test-attribution-txt.sh [Pipeline] echo 13:39:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:39:09 $ docker stop --time=1 7ab57265bdce355bc6ccfdfc070b570c1bf047aff20241192752d405d572a782 13:39:11 $ docker rm -f --volumes 7ab57265bdce355bc6ccfdfc070b570c1bf047aff20241192752d405d572a782 [Pipeline] // withDockerContainer [Pipeline] sh 13:39:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:39:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:39:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:39:13 + ls -al . 13:39:13 total 272 13:39:13 drwxrwxr-x 11 jenkins jenkins 4096 May 2 13:38 . 13:39:13 drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:37 .. 13:39:13 -rw-rw-r-- 1 jenkins jenkins 140 May 2 13:37 .dockerignore 13:39:13 drwxrwxr-x 8 jenkins jenkins 4096 May 2 13:37 .git 13:39:13 drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:37 .github 13:39:13 -rw-rw-r-- 1 jenkins jenkins 131 May 2 13:37 .gitignore 13:39:13 -rw-rw-r-- 1 jenkins jenkins 42 May 2 13:37 .golangci.yml 13:39:13 drwxr-xr-x 3 jenkins jenkins 4096 May 2 13:37 .semver 13:39:13 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 13:37 CHANGELOG.md 13:39:13 -rw-rw-r-- 1 jenkins jenkins 677 May 2 13:37 GOVERNANCE.md 13:39:13 -rw-rw-r-- 1 jenkins jenkins 885 May 2 13:37 Jenkinsfile 13:39:13 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 13:37 LICENSE 13:39:13 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 13:37 Makefile 13:39:13 -rw-rw-r-- 1 jenkins jenkins 619 May 2 13:37 OWNERS.md 13:39:13 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 13:37 README.md 13:39:13 -rw-rw-r-- 1 jenkins jenkins 5 May 2 13:37 VERSION 13:39:13 drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:37 bin 13:39:13 -rw-r--r-- 1 jenkins jenkins 106121 May 2 13:38 coverage.out 13:39:13 drwxrwxr-x 5 jenkins jenkins 4096 May 2 13:37 example 13:39:13 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 13:37 go.mod 13:39:13 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 13:37 go.sum 13:39:13 drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:37 internal 13:39:13 drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:37 openapi 13:39:13 drwxrwxr-x 6 jenkins jenkins 4096 May 2 13:37 pkg 13:39:13 drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:37 snap 13:39:13 -rw-rw-r-- 1 jenkins jenkins 222 May 2 13:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:13 + 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 . 13:39:13 Sending build context to Docker daemon 11.15MB 13:39:13 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 13:39:13 Step 2/23 : FROM ${BASE} AS builder 13:39:13 ---> 0159b88b226e 13:39:13 Step 3/23 : ARG MAKE=make build 13:39:13 ---> Running in 79feb141225c 13:39:13 Removing intermediate container 79feb141225c 13:39:13 ---> 0f499d684a3d 13:39:13 Step 4/23 : WORKDIR /device-sdk-go 13:39:13 ---> Running in bf6e14b98c78 13:39:13 Removing intermediate container bf6e14b98c78 13:39:13 ---> 8aa3bbc1581a 13:39:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:39:13 ---> Running in 9865a831e6e5 13:39:13 Removing intermediate container 9865a831e6e5 13:39:13 ---> 7354862960e0 13:39:13 Step 6/23 : RUN apk add --update --no-cache make git 13:39:13 ---> Running in 3c62c253303c 13:39:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:39:14 OK: 265 MiB in 53 packages 13:39:14 Removing intermediate container 3c62c253303c 13:39:14 ---> 7e73f0050f29 13:39:14 Step 7/23 : COPY go.mod vendor* ./ 13:39:14 ---> 92701c490206 13:39:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:39:14 ---> Running in 7de65b5217c5 13:39:15 Removing intermediate container 7de65b5217c5 13:39:15 ---> 1179b960fe14 13:39:15 Step 9/23 : COPY . . 13:39:15 ---> 7809b342ee0b 13:39:15 Step 10/23 : RUN ${MAKE} 13:39:15 ---> Running in 644351372fff 13:39:16 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 13:39:31 Removing intermediate container 644351372fff 13:39:31 ---> 106c1d29bad3 13:39:31 Step 11/23 : FROM alpine:3.17 13:39:31 3.17: Pulling from library/alpine 13:39:31 f56be85fc22e: Already exists 13:39:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:39:31 Status: Downloaded newer image for alpine:3.17 13:39:31 ---> 9ed4aefc74f6 13:39:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:39:31 ---> Running in fa9f9a453ddd 13:39:31 Removing intermediate container fa9f9a453ddd 13:39:31 ---> 29a58b5d8455 13:39:31 Step 13/23 : RUN apk add --update --no-cache 13:39:31 ---> Running in ee41d779bb95 13:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:39:32 OK: 7 MiB in 15 packages 13:39:32 Removing intermediate container ee41d779bb95 13:39:32 ---> 51267884ee41 13:39:32 Step 14/23 : WORKDIR / 13:39:32 ---> Running in 905543b9a5d7 13:39:32 Removing intermediate container 905543b9a5d7 13:39:32 ---> 4433db7dab3a 13:39:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:39:33 ---> a25ff79cf58f 13:39:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:39:33 ---> f8f56568d5cd 13:39:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:39:33 ---> dc83b557ca7f 13:39:33 Step 18/23 : EXPOSE 59999 13:39:33 ---> Running in cdd85caeb933 13:39:33 Removing intermediate container cdd85caeb933 13:39:33 ---> c35487f59dad 13:39:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:39:33 ---> Running in 870d7c690aff 13:39:33 Removing intermediate container 870d7c690aff 13:39:33 ---> a9b8083044d8 13:39:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:39:33 ---> Running in 3ae0a5cf4a51 13:39:33 Removing intermediate container 3ae0a5cf4a51 13:39:33 ---> cb4724fbdf62 13:39:33 Step 21/23 : LABEL arch=amd64 13:39:33 ---> Running in e5e8d93dbf3a 13:39:33 Removing intermediate container e5e8d93dbf3a 13:39:33 ---> e3d570a8599e 13:39:33 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 13:39:33 ---> Running in a3b3ec460ae0 13:39:33 Removing intermediate container a3b3ec460ae0 13:39:33 ---> 045fa6a0f1a5 13:39:33 Step 23/23 : LABEL version=0.0.0 13:39:33 ---> Running in e06f1dcfa180 13:39:34 Removing intermediate container e06f1dcfa180 13:39:34 ---> 814e52dacada 13:39:34 [Warning] One or more build-args [ARCH] were not consumed 13:39:34 Successfully built 814e52dacada 13:39:34 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 13:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:34 13:39:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:34 latest: Pulling from edgex-lftools-log-publisher 13:39:34 5eb5b503b376: Pulling fs layer 13:39:34 5c69ac0246d0: Pulling fs layer 13:39:34 ec43610c2a17: Pulling fs layer 13:39:34 3a2ae6a8a46f: Pulling fs layer 13:39:34 33b1e0a273af: Pulling fs layer 13:39:34 5d3b04190fa2: Pulling fs layer 13:39:34 2f39f015ded8: Pulling fs layer 13:39:34 3a2ae6a8a46f: Waiting 13:39:34 5d3b04190fa2: Waiting 13:39:34 2f39f015ded8: Waiting 13:39:34 5c69ac0246d0: Download complete 13:39:34 3a2ae6a8a46f: Verifying Checksum 13:39:34 3a2ae6a8a46f: Download complete 13:39:34 ec43610c2a17: Verifying Checksum 13:39:34 ec43610c2a17: Download complete 13:39:34 5d3b04190fa2: Download complete 13:39:34 33b1e0a273af: Verifying Checksum 13:39:34 33b1e0a273af: Download complete 13:39:35 5eb5b503b376: Verifying Checksum 13:39:35 5eb5b503b376: Download complete 13:39:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12366 in /w/workspace/gexfoundry_device-sdk-go_PR-1443 [Pipeline] { [Pipeline] ws 13:39:35 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 13:39:35 The recommended git tool is: git 13:39:36 2f39f015ded8: Verifying Checksum 13:39:36 2f39f015ded8: Download complete 13:39:36 5eb5b503b376: Pull complete 13:39:36 5c69ac0246d0: Pull complete 13:39:36 ec43610c2a17: Pull complete 13:39:36 3a2ae6a8a46f: Pull complete 13:39:36 33b1e0a273af: Pull complete 13:39:36 5d3b04190fa2: Pull complete 13:39:40 2f39f015ded8: Pull complete 13:39:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:39:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:41 prd-ubuntu20.04-docker-8c-8g-12365 does not seem to be running inside a container 13:39:41 $ 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 13:39:41 using credential edgex-jenkins-ssh 13:39:41 Cloning the remote Git repository 13:39:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:39:41 > git init /w/workspace/device-sdk-go/4 # timeout=10 13:39:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:39:41 > git --version # timeout=10 13:39:41 > git --version # 'git version 2.25.1' 13:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:39:42 $ docker top 72f002d96455a06d1bdb55cb48436c9d37eb28162fad599b1dcc583f67b832a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:39:42 ---> job-cost.sh 13:39:42 lf-activate-venv: SKIPPING 13:39:42 INFO: No Stack... 13:39:43 INFO: Retrieving Pricing Info for: v3-standard-8 13:39:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:39:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:39:43 INFO: Archiving Costs [Pipeline] sh 13:39:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/cost.csv 13:39:43 + cut -d, -f6 [Pipeline] lock 13:39:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] 13:39:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] did not exist. Created. 13:39:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:39:44 + echo total: 0.2199999988079071 [Pipeline] stash 13:39:44 Stashed 1 file(s) [Pipeline] } 13:39:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:39:44 $ docker stop --time=1 72f002d96455a06d1bdb55cb48436c9d37eb28162fad599b1dcc583f67b832a3 13:39:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:39:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:39:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:44 > 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 13:39:45 Merging remotes/origin/main commit 1f684668525fd42346bcfc2ecf4c1133232fc3c4 into PR head commit 61ec8093b165144a006433c656a45b83127e485c 13:39:45 Merge succeeded, producing 61ec8093b165144a006433c656a45b83127e485c 13:39:45 Checking out Revision 61ec8093b165144a006433c656a45b83127e485c (PR-1443) 13:39:45 $ docker rm -f --volumes 72f002d96455a06d1bdb55cb48436c9d37eb28162fad599b1dcc583f67b832a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:39:45 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 13:39:45 > git config core.sparsecheckout # timeout=10 13:39:45 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 13:39:45 > git remote # timeout=10 13:39:45 > git config --get remote.origin.url # timeout=10 13:39:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:45 > git merge 1f684668525fd42346bcfc2ecf4c1133232fc3c4 # timeout=10 13:39:45 > git rev-parse HEAD^{commit} # timeout=10 13:39:45 > git config core.sparsecheckout # timeout=10 13:39:45 > git checkout -f 61ec8093b165144a006433c656a45b83127e485c # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:39:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:39:46 % Total % Received % Xferd Average Speed Time Time Time Current 13:39:46 Dload Upload Total Spent Left Speed 13:39:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 13:39:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:39:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:39:47 + sudo tee /etc/docker/daemon.new 13:39:47 { 13:39:47 "registry-mirrors": [ 13:39:47 "https://nexus3.edgexfoundry.org:10001" 13:39:47 ], 13:39:47 "bip": "10.250.0.254/24", 13:39:47 "hosts": [ 13:39:47 "tcp://0.0.0.0:5555", 13:39:47 "unix:///var/run/docker.sock" 13:39:47 ], 13:39:47 "mtu": 1458, 13:39:47 "selinux-enabled": true, 13:39:47 "seccomp-profile": "/etc/docker/seccomp.json" 13:39:47 } [Pipeline] sh 13:39:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:39:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:40:06 provisioning config files... 13:40:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7478567862595051242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:07 ---> docker-login.sh 13:40:07 nexus3.edgexfoundry.org:10001 13:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:07 Configure a credential helper to remove this warning. See 13:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:07 13:40:07 Login Succeeded 13:40:07 nexus3.edgexfoundry.org:10002 13:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:08 Configure a credential helper to remove this warning. See 13:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:08 13:40:08 Login Succeeded 13:40:08 nexus3.edgexfoundry.org:10003 13:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:08 Configure a credential helper to remove this warning. See 13:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:08 13:40:08 Login Succeeded 13:40:08 nexus3.edgexfoundry.org:10004 13:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:08 Configure a credential helper to remove this warning. See 13:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:08 13:40:08 Login Succeeded 13:40:08 docker.io 13:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:40:09 Configure a credential helper to remove this warning. See 13:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:40:09 13:40:09 Login Succeeded 13:40:09 ---> docker-login.sh ends [Pipeline] } 13:40:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:40:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:40:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:40:09 ========================================================= 13:40:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:40:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:10 + 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 . 13:40:10 Sending build context to Docker daemon 5.93MB 13:40:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 13:40:10 Step 2/10 : FROM ${BASE} AS builder 13:40:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:40:10 c41833b44d91: Pulling fs layer 13:40:10 ed15518f5707: Pulling fs layer 13:40:10 feae8fd75edb: Pulling fs layer 13:40:10 242c74f7c9fa: Pulling fs layer 13:40:10 3cdef696dda3: Pulling fs layer 13:40:10 2ced38df9373: Pulling fs layer 13:40:10 58f1dce35555: Pulling fs layer 13:40:10 242c74f7c9fa: Waiting 13:40:10 3cdef696dda3: Waiting 13:40:10 2ced38df9373: Waiting 13:40:10 58f1dce35555: Waiting 13:40:10 ed15518f5707: Verifying Checksum 13:40:10 ed15518f5707: Download complete 13:40:10 242c74f7c9fa: Verifying Checksum 13:40:10 242c74f7c9fa: Download complete 13:40:10 3cdef696dda3: Download complete 13:40:10 c41833b44d91: Verifying Checksum 13:40:10 c41833b44d91: Download complete 13:40:11 58f1dce35555: Verifying Checksum 13:40:12 feae8fd75edb: Verifying Checksum 13:40:12 feae8fd75edb: Download complete 13:40:12 2ced38df9373: Verifying Checksum 13:40:12 2ced38df9373: Download complete 13:40:14 c41833b44d91: Pull complete 13:40:14 ed15518f5707: Pull complete 13:40:24 feae8fd75edb: Pull complete 13:40:24 242c74f7c9fa: Pull complete 13:40:24 3cdef696dda3: Pull complete 13:40:31 2ced38df9373: Pull complete 13:40:32 58f1dce35555: Pull complete 13:40:32 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:40:32 ---> fadd8f120f05 13:40:32 Step 3/10 : ARG MAKE=make build 13:40:34 ---> Running in 6e2e46dac44f 13:40:34 Removing intermediate container 6e2e46dac44f 13:40:34 ---> f24d5ad49027 13:40:34 Step 4/10 : WORKDIR /device-sdk-go 13:40:34 ---> Running in 86281dc8e6d7 13:40:34 Removing intermediate container 86281dc8e6d7 13:40:34 ---> db33fed887e4 13:40:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:40:34 ---> Running in c132027849ed 13:40:35 Removing intermediate container c132027849ed 13:40:35 ---> 8271ae2edabc 13:40:35 Step 6/10 : RUN apk add --update --no-cache make git 13:40:35 ---> Running in e21d0afa9b66 13:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:40:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:40:37 OK: 263 MiB in 53 packages 13:40:38 Removing intermediate container e21d0afa9b66 13:40:38 ---> 1f27a8c968b1 13:40:38 Step 7/10 : COPY go.mod vendor* ./ 13:40:41 ---> 0a99b266901c 13:40:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:40:41 ---> Running in e040f90d706e 13:41:37 Removing intermediate container e040f90d706e 13:41:37 ---> e5eb67a47737 13:41:37 Step 9/10 : COPY . . 13:41:39 ---> 7a5e18312f40 13:41:39 Step 10/10 : RUN ${MAKE} 13:41:39 ---> Running in b8f3dcf100c6 13:41:40 noop 13:41:41 Removing intermediate container b8f3dcf100c6 13:41:41 ---> 6cf996c03506 13:41:41 Successfully built 6cf996c03506 13:41:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:41 + docker inspect -f . ci-base-image-arm64 13:41:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:41 prd-ubuntu20.04-docker-arm64-4c-16g-12366 does not seem to be running inside a container 13:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 13:41:43 $ docker top 6caf23fb32d608a2ad47f22dc1f60520373a14b5dded6545a19887fa8e1b6e48 -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:43 + go version 13:41:43 go version go1.20.2 linux/arm64 [Pipeline] } 13:41:43 $ docker stop --time=1 6caf23fb32d608a2ad47f22dc1f60520373a14b5dded6545a19887fa8e1b6e48 13:41:46 $ docker rm -f --volumes 6caf23fb32d608a2ad47f22dc1f60520373a14b5dded6545a19887fa8e1b6e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:41:46 + docker inspect -f . ci-base-image-arm64 13:41:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:41:47 prd-ubuntu20.04-docker-arm64-4c-16g-12366 does not seem to be running inside a container 13:41:47 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 13:41:48 $ docker top 08c716017e44c0223eebcb647cf9ff1cc0abb20ec09749f69a1631d24c3d0069 -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 13:41:49 + make test 13:41:49 go test -race -coverprofile=coverage.out ./... 13:42:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:44:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:44:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.431s coverage: 27.6% of statements 13:44:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.341s coverage: 80.2% of statements 13:44:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:44:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:44:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.404s coverage: 86.0% of statements 13:44:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:44:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:44:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.508s coverage: 77.5% of statements 13:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.296s coverage: 14.6% of statements 13:44:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:44:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:44:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.412s coverage: 68.5% of statements 13:44:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.479s coverage: 89.2% of statements 13:44:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:44:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements 13:44:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:44:57 GO111MODULE=on go vet ./... 13:47:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:47:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:47:19 ./bin/test-attribution-txt.sh [Pipeline] echo 13:47:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:47:20 $ docker stop --time=1 08c716017e44c0223eebcb647cf9ff1cc0abb20ec09749f69a1631d24c3d0069 13:47:22 $ docker rm -f --volumes 08c716017e44c0223eebcb647cf9ff1cc0abb20ec09749f69a1631d24c3d0069 [Pipeline] // withDockerContainer [Pipeline] sh 13:47:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:47:24 Warning: overwriting stash ‘coverage-report’ 13:47:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:47:25 + ls -al . 13:47:25 total 268 13:47:25 drwxrwxr-x 10 jenkins jenkins 4096 May 2 13:41 . 13:47:25 drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:39 .. 13:47:25 -rw-rw-r-- 1 jenkins jenkins 140 May 2 13:39 .dockerignore 13:47:25 drwxrwxr-x 8 jenkins jenkins 4096 May 2 13:39 .git 13:47:25 drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:39 .github 13:47:25 -rw-rw-r-- 1 jenkins jenkins 131 May 2 13:39 .gitignore 13:47:25 -rw-rw-r-- 1 jenkins jenkins 42 May 2 13:39 .golangci.yml 13:47:25 -rw-rw-r-- 1 jenkins jenkins 31677 May 2 13:39 CHANGELOG.md 13:47:25 -rw-rw-r-- 1 jenkins jenkins 677 May 2 13:39 GOVERNANCE.md 13:47:25 -rw-rw-r-- 1 jenkins jenkins 885 May 2 13:39 Jenkinsfile 13:47:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 2 13:39 LICENSE 13:47:25 -rw-rw-r-- 1 jenkins jenkins 1714 May 2 13:39 Makefile 13:47:25 -rw-rw-r-- 1 jenkins jenkins 619 May 2 13:39 OWNERS.md 13:47:25 -rw-rw-r-- 1 jenkins jenkins 4891 May 2 13:39 README.md 13:47:25 -rw-rw-r-- 1 jenkins jenkins 5 May 2 13:37 VERSION 13:47:25 drwxrwxr-x 2 jenkins jenkins 4096 May 2 13:39 bin 13:47:25 -rw-r--r-- 1 jenkins jenkins 106119 May 2 13:44 coverage.out 13:47:25 drwxrwxr-x 5 jenkins jenkins 4096 May 2 13:39 example 13:47:25 -rw-rw-r-- 1 jenkins jenkins 3246 May 2 13:39 go.mod 13:47:25 -rw-rw-r-- 1 jenkins jenkins 30896 May 2 13:39 go.sum 13:47:25 drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:39 internal 13:47:25 drwxrwxr-x 3 jenkins jenkins 4096 May 2 13:39 openapi 13:47:25 drwxrwxr-x 6 jenkins jenkins 4096 May 2 13:39 pkg 13:47:25 drwxrwxr-x 4 jenkins jenkins 4096 May 2 13:39 snap 13:47:25 -rw-rw-r-- 1 jenkins jenkins 222 May 2 13:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:25 + 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 . 13:47:25 Sending build context to Docker daemon 6.037MB 13:47:25 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 13:47:25 Step 2/23 : FROM ${BASE} AS builder 13:47:25 ---> 6cf996c03506 13:47:25 Step 3/23 : ARG MAKE=make build 13:47:26 ---> Running in fc3d1ac84937 13:47:26 Removing intermediate container fc3d1ac84937 13:47:26 ---> 1d017f67b7e0 13:47:26 Step 4/23 : WORKDIR /device-sdk-go 13:47:26 ---> Running in 704f97bb759f 13:47:26 Removing intermediate container 704f97bb759f 13:47:26 ---> c34bb275af6d 13:47:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:47:27 ---> Running in eab54e5ac4c2 13:47:27 Removing intermediate container eab54e5ac4c2 13:47:27 ---> 62c7561d742a 13:47:27 Step 6/23 : RUN apk add --update --no-cache make git 13:47:27 ---> Running in 787bafbbde9e 13:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:47:29 OK: 263 MiB in 53 packages 13:47:30 Removing intermediate container 787bafbbde9e 13:47:30 ---> 1632a11f0a95 13:47:30 Step 7/23 : COPY go.mod vendor* ./ 13:47:34 ---> 862e1d2c494b 13:47:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:47:34 ---> Running in dd7ff1d539c6 13:47:36 Removing intermediate container dd7ff1d539c6 13:47:36 ---> a562c2d54e3a 13:47:36 Step 9/23 : COPY . . 13:47:38 ---> f9053e43e500 13:47:38 Step 10/23 : RUN ${MAKE} 13:47:38 ---> Running in ec77053117fd 13:47:39 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 13:49:45 Removing intermediate container ec77053117fd 13:49:45 ---> 9f1d3d3f380b 13:49:45 Step 11/23 : FROM alpine:3.17 13:49:45 3.17: Pulling from library/alpine 13:49:45 c41833b44d91: Already exists 13:49:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:49:45 Status: Downloaded newer image for alpine:3.17 13:49:45 ---> 51e60588ff2c 13:49:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:49:45 ---> Running in 42b40de941d3 13:49:45 Removing intermediate container 42b40de941d3 13:49:45 ---> 48e3dc7d3d3e 13:49:45 Step 13/23 : RUN apk add --update --no-cache 13:49:45 ---> Running in baf7f56be8b6 13:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:49:47 OK: 7 MiB in 15 packages 13:49:48 Removing intermediate container baf7f56be8b6 13:49:48 ---> ecd3b45a8080 13:49:48 Step 14/23 : WORKDIR / 13:49:49 ---> Running in ceae7b0f4ff9 13:49:49 Removing intermediate container ceae7b0f4ff9 13:49:49 ---> 31a206a111f8 13:49:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:49:50 ---> bf0ee9a79ac9 13:49:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:49:51 ---> be75c27bf1c5 13:49:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:49:51 ---> 6510f41e91aa 13:49:51 Step 18/23 : EXPOSE 59999 13:49:51 ---> Running in c35fae1678dd 13:49:51 Removing intermediate container c35fae1678dd 13:49:51 ---> 867d5ed854ad 13:49:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:49:52 ---> Running in dac40b489321 13:49:52 Removing intermediate container dac40b489321 13:49:52 ---> bd27567b8bb3 13:49:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:49:52 ---> Running in f5387aba9d89 13:49:52 Removing intermediate container f5387aba9d89 13:49:52 ---> ff685ecba96d 13:49:52 Step 21/23 : LABEL arch=arm64 13:49:52 ---> Running in 29748c8d82a3 13:49:53 Removing intermediate container 29748c8d82a3 13:49:53 ---> 1249eb33279a 13:49:53 Step 22/23 : LABEL git_sha=61ec8093b165144a006433c656a45b83127e485c 13:49:53 ---> Running in c2fc2242b11d 13:49:53 Removing intermediate container c2fc2242b11d 13:49:53 ---> a532b1794f6f 13:49:53 Step 23/23 : LABEL version=0.0.0 13:49:53 ---> Running in c69e534764ec 13:49:53 Removing intermediate container c69e534764ec 13:49:53 ---> 0f45cc4099b2 13:49:53 [Warning] One or more build-args [ARCH] were not consumed 13:49:53 Successfully built 0f45cc4099b2 13:49:53 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 13:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:54 13:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:49:54 arm64: Pulling from edgex-lftools-log-publisher 13:49:54 8998bd30e6a1: Pulling fs layer 13:49:54 04944245beec: Pulling fs layer 13:49:54 699f458cf7ca: Pulling fs layer 13:49:54 765212b225bb: Pulling fs layer 13:49:54 f23df028b6ca: Pulling fs layer 13:49:54 d65c8cfc05b1: Pulling fs layer 13:49:54 2437ff75d9bd: Pulling fs layer 13:49:54 f23df028b6ca: Waiting 13:49:54 765212b225bb: Waiting 13:49:54 d65c8cfc05b1: Waiting 13:49:54 2437ff75d9bd: Waiting 13:49:54 04944245beec: Verifying Checksum 13:49:54 04944245beec: Download complete 13:49:54 765212b225bb: Verifying Checksum 13:49:54 765212b225bb: Download complete 13:49:54 f23df028b6ca: Verifying Checksum 13:49:54 f23df028b6ca: Download complete 13:49:54 d65c8cfc05b1: Verifying Checksum 13:49:54 d65c8cfc05b1: Download complete 13:49:55 699f458cf7ca: Verifying Checksum 13:49:55 699f458cf7ca: Download complete 13:49:55 8998bd30e6a1: Download complete 13:49:58 2437ff75d9bd: Verifying Checksum 13:49:58 2437ff75d9bd: Download complete 13:50:01 8998bd30e6a1: Pull complete 13:50:02 04944245beec: Pull complete 13:50:03 699f458cf7ca: Pull complete 13:50:03 765212b225bb: Pull complete 13:50:04 f23df028b6ca: Pull complete 13:50:04 d65c8cfc05b1: Pull complete 13:50:19 2437ff75d9bd: Pull complete 13:50:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:50:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:19 prd-ubuntu20.04-docker-arm64-4c-16g-12366 does not seem to be running inside a container 13:50:19 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 13:50:22 $ docker top 48d460ce3270b68124f1806de3d54525afbc6977ff4e2fc3a505c9b645b0f0c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:50:22 ---> job-cost.sh 13:50:22 lf-activate-venv: SKIPPING 13:50:22 INFO: No Stack... 13:50:23 INFO: Retrieving Pricing Info for: v3-standard-4 13:50:24 INFO: Archiving Costs [Pipeline] sh 13:50:24 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 13:50:24 + cut -d, -f6 [Pipeline] lock 13:50:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] 13:50:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] did not exist. Created. 13:50:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:50:25 /w/workspace/device-sdk-go/4@tmp/durable-a8283120/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:50:25 + echo total: 0.10999999940395355 [Pipeline] stash 13:50:25 Warning: overwriting stash ‘stack-cost’ 13:50:25 Stashed 1 file(s) [Pipeline] } 13:50:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1443-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:50:25 $ docker stop --time=1 48d460ce3270b68124f1806de3d54525afbc6977ff4e2fc3a505c9b645b0f0c2 13:50:27 $ docker rm -f --volumes 48d460ce3270b68124f1806de3d54525afbc6977ff4e2fc3a505c9b645b0f0c2 [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 13:50:27 provisioning config files... 13:50:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config655547364792543977tmp [Pipeline] { [Pipeline] sh 13:50:28 + set +x 13:50:28 + curl -s https://codecov.io/bash 13:50:28 + bash -s -- 13:50:28 13:50:28 _____ _ 13:50:28 / ____| | | 13:50:28 | | ___ __| | ___ ___ _____ __ 13:50:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:50:28 | |___| (_) | (_| | __/ (_| (_) \ V / 13:50:28 \_____\___/ \__,_|\___|\___\___/ \_/ 13:50:28 Bash-1.0.6 13:50:28 13:50:28 13:50:28 ==> git version 2.25.1 found 13:50:28 ==> 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 13:50:28 Release-Date: 2020-01-08 13:50:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:50:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:50:28 ==> Jenkins CI detected. 13:50:28 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1443 13:50:28 project root: . 13:50:28 --> token set from env 13:50:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:50:28 ==> Running gcov in . (disable via -X gcov) 13:50:28 ==> Python coveragepy not found 13:50:28 ==> Searching for coverage reports in: 13:50:28 + . 13:50:28 -> Found 1 reports 13:50:28 ==> Detecting git/mercurial file structure 13:50:28 ==> Reading reports 13:50:28 + ./coverage.out bytes=106119 13:50:28 ==> Appending adjustments 13:50:28 https://docs.codecov.io/docs/fixing-reports 13:50:28 + Found adjustments 13:50:28 ==> Gzipping contents 13:50:28 16K /tmp/codecov.vPwsWp.gz 13:50:28 ==> Uploading reports 13:50:28 url: https://codecov.io 13:50:28 query: branch=PR-1443&commit=61ec8093b165144a006433c656a45b83127e485c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 13:50:28 -> Pinging Codecov 13:50:28 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=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1443%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1443&job=&cmd_args= 13:50:28 -> Uploading to 13:50:28 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/7E55EF52A471D76F132DFD9A03CDDE97/61ec8093b165144a006433c656a45b83127e485c/9bca1271-d001-45c1-bf88-da08da9d5a13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T135028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d98f43f67710715ee12b545b29d6ea7708d2737573473e80079b8821a576cb7 13:50:28 % Total % Received % Xferd Average Speed Time Time Time Current 13:50:28 Dload Upload Total Spent Left Speed 13:50:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 64900 --:--:-- --:--:-- --:--:-- 65182 13:50:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/61ec8093b165144a006433c656a45b83127e485c [Pipeline] } 13:50:28 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 13:50:29 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives ] 13:50:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 13:50:29 total 16 13:50:29 drwxr-xr-x 3 root root 4096 May 2 13:39 . 13:50:29 drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:39 .. 13:50:29 drwxr-xr-x 2 root root 4096 May 2 13:39 cost 13:50:29 -rw-r--r-- 1 root root 86 May 2 13:39 cost.csv 13:50:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 13:50:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives 13:50:29 total 16 13:50:29 drwxr-xr-x 3 jenkins jenkins 4096 May 2 13:39 . 13:50:29 drwxrwxr-x 12 jenkins jenkins 4096 May 2 13:39 .. 13:50:29 drwxr-xr-x 2 jenkins jenkins 4096 May 2 13:39 cost 13:50:29 -rw-r--r-- 1 jenkins jenkins 86 May 2 13:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:50:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:50:30 ---> package-listing.sh 13:50:30 ++ facter osfamily 13:50:30 ++ tr '[:upper:]' '[:lower:]' 13:50:31 + OS_FAMILY=debian 13:50:31 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1443 13:50:31 + START_PACKAGES=/tmp/packages_start.txt 13:50:31 + END_PACKAGES=/tmp/packages_end.txt 13:50:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:50:31 + PACKAGES=/tmp/packages_start.txt 13:50:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 13:50:31 + PACKAGES=/tmp/packages_end.txt 13:50:31 + case "${OS_FAMILY}" in 13:50:31 + dpkg -l 13:50:31 + grep '^ii' 13:50:31 + '[' -f /tmp/packages_start.txt ']' 13:50:31 + '[' -f /tmp/packages_end.txt ']' 13:50:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:50:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1443 ']' 13:50:31 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1443/archives/ 13:50:31 + 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 13:50:31 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 13:50:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:32 prd-ubuntu20.04-docker-8c-8g-12365 does not seem to be running inside a container 13:50:32 $ 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 13:50:32 $ docker top b5053ea89011786bbe65201f17c3f3ce70aa82073774aced61130e43ed1bc337 -eo pid,comm [Pipeline] { [Pipeline] sh 13:50:32 + touch /tmp/pre-build-complete [Pipeline] sh 13:50:33 + mkdir -p /var/log/sysstat [Pipeline] sh 13:50:33 + ls /var/log/sa-host 13:50:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:50:33 provisioning config files... 13:50:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1443@tmp/config5699733550712404507tmp [Pipeline] { [Pipeline] echo 13:50:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:50:33 ---> create-netrc.sh [Pipeline] } 13:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:50:34 ---> python-tools-install.sh [Pipeline] echo 13:50:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:50:34 ---> sudo-logs.sh 13:50:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:50:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:50:34 ---> job-cost.sh 13:50:34 lf-activate-venv: SKIPPING 13:50:34 DEBUG: total: 0.2199999988079071 13:50:34 INFO: Retrieving Stack Cost... 13:50:35 INFO: Retrieving Pricing Info for: v3-standard-8 13:50:35 INFO: Archiving Costs [Pipeline] echo 13:50:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:50:35 ---> logs-deploy.sh 13:50:35 lf-activate-venv: SKIPPING 13:50:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1443/4 13:50:35 INFO: archiving workspace using pattern(s): 13:50:36 Archives upload complete. 13:50:36 INFO: archiving logs to Nexus