Pull request #1584 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lance5890 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 81445e9f6878a65f8ef1da1da155eafc431130c6 rather than 581c97a92a3a8adbad42633b4d460162c03abb0f Obtained Jenkinsfile from 81445e9f6878a65f8ef1da1da155eafc431130c6 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-ssh14649672482760140579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh4058275220504921770.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1584/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-1584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17421961103923895637.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh4450690778592450869.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-1584/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-1584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1780141866158356883.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.21 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-1032 in /w/workspace/gexfoundry_device-sdk-go_PR-1584 [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-1584 # 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 Merging remotes/origin/main commit 81445e9f6878a65f8ef1da1da155eafc431130c6 into PR head commit 581c97a92a3a8adbad42633b4d460162c03abb0f Merge succeeded, producing 581c97a92a3a8adbad42633b4d460162c03abb0f Checking out Revision 581c97a92a3a8adbad42633b4d460162c03abb0f (PR-1584) > 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/1584/head:refs/remotes/origin/PR-1584 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 581c97a92a3a8adbad42633b4d460162c03abb0f # 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 81445e9f6878a65f8ef1da1da155eafc431130c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 581c97a92a3a8adbad42633b4d460162c03abb0f # timeout=10 Commit message: "docs: correct the ProtocolDriver links in README" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:35:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:35:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:35:58 ========================================================= 09:35:58 EdgeX Global Pipelines Version Info 09:35:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e6f87812df993850198ed6cb0da268ebdfdc5a5f # timeout=10 09:35:59 ------------------- 09:35:59 stable info: 09:35:59 ------------------- 09:35:59 Commited By: Ginny Guan ginny@iotechsys.com 09:35:59 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:35:59 Message: update stable to v1.0.260 09:36:00 ------------------- 09:36:00 experimental info: 09:36:00 ------------------- 09:36:00 Commited By: Ginny Guan ginny@iotechsys.com 09:36:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:36:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1584 [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1584 [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1584 [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 581c97a92a3a8adbad42633b4d460162c03abb0f [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 581c97a [Pipeline] echo 09:36:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:01 provisioning config files... 09:36:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/config8413276336155958134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:01 ---> ****-login.sh 09:36:01 nexus3.edgexfoundry.org:10001 09:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:01 Configure a credential helper to remove this warning. See 09:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:01 09:36:01 Login Succeeded 09:36:01 nexus3.edgexfoundry.org:10002 09:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:01 Configure a credential helper to remove this warning. See 09:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:01 09:36:01 Login Succeeded 09:36:01 nexus3.edgexfoundry.org:10003 09:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:02 Configure a credential helper to remove this warning. See 09:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:02 09:36:02 Login Succeeded 09:36:02 nexus3.edgexfoundry.org:10004 09:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:02 Configure a credential helper to remove this warning. See 09:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:02 09:36:02 Login Succeeded 09:36:02 ****.io 09:36:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:02 Configure a credential helper to remove this warning. See 09:36:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:02 09:36:02 Login Succeeded 09:36:02 ---> ****-login.sh ends [Pipeline] } 09:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:36:02 + git rev-list -1 --merges 581c97a92a3a8adbad42633b4d460162c03abb0f~1..581c97a92a3a8adbad42633b4d460162c03abb0f [Pipeline] echo 09:36:02 -----------> git rev-list -1 --merges 581c97a92a3a8adbad42633b4d460162c03abb0f~1..581c97a92a3a8adbad42633b4d460162c03abb0f 581c97a92a3a8adbad42633b4d460162c03abb0f [false] [Pipeline] sh 09:36:03 + git log --format=format:%s -1 581c97a92a3a8adbad42633b4d460162c03abb0f [Pipeline] echo 09:36:03 ========================================================= 09:36:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:36:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:03 + git log --format=format:%s -1 581c97a92a3a8adbad42633b4d460162c03abb0f [Pipeline] echo 09:36:03 [semverPrep] GIT_COMMIT: 581c97a92a3a8adbad42633b4d460162c03abb0f, Commit Message: docs: correct the ProtocolDriver links in README [Pipeline] echo 09:36:03 [semverPrep] This is not a build commit. [Pipeline] sh 09:36:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:36:03 + grep -v github /etc/ssh/ssh_known_hosts 09:36:03 + [ -e /tmp/ssh_known_hosts ] 09:36:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:36:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:36:03 + sudo tee -a /etc/ssh/ssh_known_hosts 09:36:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:36:04 09:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:36:04 0.1.4: Pulling from edgex-devops/py-git-semver 09:36:04 b85a868b505f: Pulling fs layer 09:36:04 e2be974225ed: Pulling fs layer 09:36:04 339a4e72a1f5: Pulling fs layer 09:36:04 988bab9f4d93: Pulling fs layer 09:36:04 1469e6f7b9e6: Pulling fs layer 09:36:04 eaf3925da568: Pulling fs layer 09:36:04 bab4dde63d76: Pulling fs layer 09:36:04 bde34c3a00c8: Pulling fs layer 09:36:04 b352a97aabf1: Pulling fs layer 09:36:04 4872d77fe225: Pulling fs layer 09:36:04 5851b861e8e6: Pulling fs layer 09:36:04 988bab9f4d93: Waiting 09:36:04 bde34c3a00c8: Waiting 09:36:04 1469e6f7b9e6: Waiting 09:36:04 b352a97aabf1: Waiting 09:36:04 bab4dde63d76: Waiting 09:36:04 4872d77fe225: Waiting 09:36:04 5851b861e8e6: Waiting 09:36:04 eaf3925da568: Waiting 09:36:04 e2be974225ed: Verifying Checksum 09:36:04 e2be974225ed: Download complete 09:36:04 988bab9f4d93: Verifying Checksum 09:36:04 988bab9f4d93: Download complete 09:36:04 1469e6f7b9e6: Verifying Checksum 09:36:04 1469e6f7b9e6: Download complete 09:36:04 eaf3925da568: Verifying Checksum 09:36:04 eaf3925da568: Download complete 09:36:04 339a4e72a1f5: Verifying Checksum 09:36:04 339a4e72a1f5: Download complete 09:36:04 bde34c3a00c8: Download complete 09:36:04 b352a97aabf1: Verifying Checksum 09:36:04 b352a97aabf1: Download complete 09:36:04 4872d77fe225: Verifying Checksum 09:36:04 4872d77fe225: Download complete 09:36:04 5851b861e8e6: Verifying Checksum 09:36:04 5851b861e8e6: Download complete 09:36:04 b85a868b505f: Verifying Checksum 09:36:04 b85a868b505f: Download complete 09:36:05 bab4dde63d76: Verifying Checksum 09:36:05 bab4dde63d76: Download complete 09:36:06 b85a868b505f: Pull complete 09:36:06 e2be974225ed: Pull complete 09:36:07 339a4e72a1f5: Pull complete 09:36:07 988bab9f4d93: Pull complete 09:36:07 1469e6f7b9e6: Pull complete 09:36:07 eaf3925da568: Pull complete 09:36:09 bab4dde63d76: Pull complete 09:36:09 bde34c3a00c8: Pull complete 09:36:09 b352a97aabf1: Pull complete 09:36:09 4872d77fe225: Pull complete 09:36:09 5851b861e8e6: Pull complete 09:36:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:36:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:09 prd-ubuntu20.04-docker-8c-8g-1032 does not seem to be running inside a container 09:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1584 -v /w/workspace/gexfoundry_device-sdk-go_PR-1584:/w/workspace/gexfoundry_device-sdk-go_PR-1584:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1584@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-devops/py-git-semver:0.1.4 cat 09:36:12 $ docker top 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 -eo pid,comm 09:36:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:36:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:36:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:36:12 [ssh-agent] Looking for ssh-agent implementation... 09:36:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:36:12 $ docker exec 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 ssh-agent 09:36:12 SSH_AUTH_SOCK=/tmp/ssh-usHSzkC0jOpm/agent.32 09:36:12 SSH_AGENT_PID=38 09:36:12 Running ssh-add (command line suppressed) 09:36:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/private_key_7264762338771686338.key (/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/private_key_7264762338771686338.key) 09:36:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:36:13 + git tag --points-at HEAD [Pipeline] } 09:36:13 $ docker exec --env ******** --env ******** 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 ssh-agent -k 09:36:13 unset SSH_AUTH_SOCK; 09:36:13 unset SSH_AGENT_PID; 09:36:13 echo Agent pid 38 killed; 09:36:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:36:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:36:13 [ssh-agent] Looking for ssh-agent implementation... 09:36:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:36:13 $ docker exec 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 ssh-agent 09:36:13 SSH_AUTH_SOCK=/tmp/ssh-HXerdjBtbXM9/agent.71 09:36:13 SSH_AGENT_PID=77 09:36:13 Running ssh-add (command line suppressed) 09:36:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/private_key_2732454715321820756.key (/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/private_key_2732454715321820756.key) 09:36:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:36:14 + git semver init 09:36:14 2024-05-29 09:36:14,222 [run_init] DEBUG init version:0.0.0 force:False 09:36:14 2024-05-29 09:36:14,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver 09:36:14 2024-05-29 09:36:14,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver 09:36:14 2024-05-29 09:36:14,223 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1584, universal_newlines=False, shell=None, istream=None) 09:36:15 2024-05-29 09:36:15,493 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584/.git/info/exclude 09:36:15 2024-05-29 09:36:15,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver/PR-1584 with force:False 09:36:15 2024-05-29 09:36:15,493 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver/PR-1584 09:36:15 2024-05-29 09:36:15,497 [execute] INFO git cat-file --batch-check 09:36:15 2024-05-29 09:36:15,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver, universal_newlines=False, shell=None, istream=) 09:36:15 2024-05-29 09:36:15,504 [execute] INFO git cat-file --batch 09:36:15 2024-05-29 09:36:15,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver, universal_newlines=False, shell=None, istream=) 09:36:15 2024-05-29 09:36:15,510 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1584/.semver/PR-1584 09:36:15 0.0.0 [Pipeline] } 09:36:15 $ docker exec --env ******** --env ******** 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 ssh-agent -k 09:36:15 unset SSH_AUTH_SOCK; 09:36:15 unset SSH_AGENT_PID; 09:36:15 echo Agent pid 77 killed; 09:36:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:36:16 + git semver [Pipeline] } 09:36:16 $ docker stop --time=1 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 09:36:17 $ docker rm -f --volumes 6365ddcde6d7085834b1d089d7cf960a87879f4b3ef16ff60bab087f24518824 [Pipeline] // withDockerContainer [Pipeline] sh 09:36:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:36:18 Stashed 1 file(s) [Pipeline] echo 09:36:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:18 provisioning config files... 09:36:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/config14299967824481062522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:18 ---> ****-login.sh 09:36:18 nexus3.edgexfoundry.org:10001 09:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:18 Configure a credential helper to remove this warning. See 09:36:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:18 09:36:18 Login Succeeded 09:36:18 nexus3.edgexfoundry.org:10002 09:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:18 Configure a credential helper to remove this warning. See 09:36:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:18 09:36:18 Login Succeeded 09:36:18 nexus3.edgexfoundry.org:10003 09:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:19 Configure a credential helper to remove this warning. See 09:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:19 09:36:19 Login Succeeded 09:36:19 nexus3.edgexfoundry.org:10004 09:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:19 Configure a credential helper to remove this warning. See 09:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:19 09:36:19 Login Succeeded 09:36:19 ****.io 09:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:36:19 Configure a credential helper to remove this warning. See 09:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:36:19 09:36:19 Login Succeeded 09:36:19 ---> ****-login.sh ends [Pipeline] } 09:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:36:19 ========================================================= 09:36:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:36:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:19 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 09:36:19 Sending build context to Docker daemon 25.73MB 09:36:19 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:36:19 Step 2/10 : FROM ${BASE} AS builder 09:36:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:36:20 619be1103602: Pulling fs layer 09:36:20 7862e08f4a3e: Pulling fs layer 09:36:20 5df492c9dc93: Pulling fs layer 09:36:20 7629e6793208: Pulling fs layer 09:36:20 4f4fb700ef54: Pulling fs layer 09:36:20 fb5054dd5b73: Pulling fs layer 09:36:20 eeca6798cff9: Pulling fs layer 09:36:20 aa269ceb94a6: Pulling fs layer 09:36:20 ada007ff1a6a: Pulling fs layer 09:36:20 7629e6793208: Waiting 09:36:20 4f4fb700ef54: Waiting 09:36:20 fb5054dd5b73: Waiting 09:36:20 eeca6798cff9: Waiting 09:36:20 aa269ceb94a6: Waiting 09:36:20 ada007ff1a6a: Waiting 09:36:20 7862e08f4a3e: Verifying Checksum 09:36:20 7862e08f4a3e: Download complete 09:36:20 7629e6793208: Download complete 09:36:20 4f4fb700ef54: Verifying Checksum 09:36:20 4f4fb700ef54: Download complete 09:36:20 619be1103602: Verifying Checksum 09:36:20 619be1103602: Download complete 09:36:20 fb5054dd5b73: Verifying Checksum 09:36:20 fb5054dd5b73: Download complete 09:36:20 eeca6798cff9: Verifying Checksum 09:36:20 eeca6798cff9: Download complete 09:36:20 619be1103602: Pull complete 09:36:20 ada007ff1a6a: Verifying Checksum 09:36:20 ada007ff1a6a: Download complete 09:36:20 7862e08f4a3e: Pull complete 09:36:20 5df492c9dc93: Verifying Checksum 09:36:20 5df492c9dc93: Download complete 09:36:20 aa269ceb94a6: Verifying Checksum 09:36:20 aa269ceb94a6: Download complete 09:36:24 5df492c9dc93: Pull complete 09:36:24 7629e6793208: Pull complete 09:36:24 4f4fb700ef54: Pull complete 09:36:24 fb5054dd5b73: Pull complete 09:36:24 eeca6798cff9: Pull complete 09:36:26 aa269ceb94a6: Pull complete 09:36:26 ada007ff1a6a: Pull complete 09:36:26 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:36:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:36:26 ---> f489d0715acc 09:36:26 Step 3/10 : ARG MAKE=make build 09:36:31 ---> Running in 9c0a9f59b5d9 09:36:31 Removing intermediate container 9c0a9f59b5d9 09:36:31 ---> f5582d39f635 09:36:31 Step 4/10 : WORKDIR /device-sdk-go 09:36:31 ---> Running in b92a98f660dd 09:36:31 Removing intermediate container b92a98f660dd 09:36:31 ---> 79fa0bda8723 09:36:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:36:31 ---> Running in 4afc5bc70dd8 09:36:31 Removing intermediate container 4afc5bc70dd8 09:36:31 ---> 8519c0c4589f 09:36:31 Step 6/10 : RUN apk add --update --no-cache make git 09:36:31 ---> Running in 6af9a8c25959 09:36:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:36:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:36:32 OK: 264 MiB in 52 packages 09:36:32 Removing intermediate container 6af9a8c25959 09:36:32 ---> 7e6757ec3b03 09:36:32 Step 7/10 : COPY go.mod vendor* ./ 09:36:32 ---> 8de8307c09aa 09:36:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:32 ---> Running in 4114efc9f274 09:36:33 Still waiting to schedule task 09:36:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1030’ is offline 09:37:28 Removing intermediate container 4114efc9f274 09:37:28 ---> f44dd0a78d2c 09:37:28 Step 9/10 : COPY . . 09:37:28 ---> 7f355c9a7f46 09:37:28 Step 10/10 : RUN ${MAKE} 09:37:28 ---> Running in 28cbaee8278d 09:37:28 noop 09:37:28 Removing intermediate container 28cbaee8278d 09:37:28 ---> aa0b1037b5cc 09:37:28 Successfully built aa0b1037b5cc 09:37:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:29 + docker inspect -f . ci-base-image-x86_64 09:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:29 prd-ubuntu20.04-docker-8c-8g-1032 does not seem to be running inside a container 09:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1584 -v /w/workspace/gexfoundry_device-sdk-go_PR-1584:/w/workspace/gexfoundry_device-sdk-go_PR-1584:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:37:29 $ docker top 1db6d02ef305b686187556fadd19a3dd0976b2f70a79cbf32847e55b15e3c14d -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:29 + go version 09:37:29 go version go1.21.9 linux/amd64 [Pipeline] } 09:37:29 $ docker stop --time=1 1db6d02ef305b686187556fadd19a3dd0976b2f70a79cbf32847e55b15e3c14d 09:37:31 $ docker rm -f --volumes 1db6d02ef305b686187556fadd19a3dd0976b2f70a79cbf32847e55b15e3c14d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:31 + docker inspect -f . ci-base-image-x86_64 09:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:31 prd-ubuntu20.04-docker-8c-8g-1032 does not seem to be running inside a container 09:37:31 $ 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-1584 -v /w/workspace/gexfoundry_device-sdk-go_PR-1584:/w/workspace/gexfoundry_device-sdk-go_PR-1584:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:37:32 $ docker top 2c5fe65001f78083e1da1951e2797c6c05a7bfe5c48f7f56d05fe008f03b229d -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1584 [Pipeline] fileExists [Pipeline] sh 09:37:32 + make test 09:37:32 go test -race -coverprofile=coverage.out ./... 09:37:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:38:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.255s coverage: 27.6% of statements 09:38:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.066s coverage: 81.5% of statements 09:38:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.078s coverage: 86.0% of statements 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:38:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 71.8% of statements 09:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:38:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1033 in /w/workspace/gexfoundry_device-sdk-go_PR-1584 [Pipeline] { [Pipeline] ws 09:38:18 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:38:18 The recommended git tool is: git 09:38:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.058s coverage: 14.4% of statements 09:38:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.188s coverage: 45.9% of statements 09:38:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.081s coverage: 68.5% of statements 09:38:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.124s coverage: 89.2% of statements 09:38:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.083s coverage: 5.5% of statements 09:38:27 using credential edgex-jenkins-ssh 09:38:27 Cloning the remote Git repository 09:38:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:38:27 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:38:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:38:27 > git --version # timeout=10 09:38:27 > git --version # 'git version 2.25.1' 09:38:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:38:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:38:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:38:33 Merging remotes/origin/main commit 81445e9f6878a65f8ef1da1da155eafc431130c6 into PR head commit 581c97a92a3a8adbad42633b4d460162c03abb0f 09:38:33 Merge succeeded, producing 581c97a92a3a8adbad42633b4d460162c03abb0f 09:38:33 Checking out Revision 581c97a92a3a8adbad42633b4d460162c03abb0f (PR-1584) 09:38:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:38:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:38:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1584/head:refs/remotes/origin/PR-1584 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:38:33 > git config core.sparsecheckout # timeout=10 09:38:33 > git checkout -f 581c97a92a3a8adbad42633b4d460162c03abb0f # timeout=10 09:38:33 > git remote # timeout=10 09:38:33 > git config --get remote.origin.url # timeout=10 09:38:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:38:33 > git merge 81445e9f6878a65f8ef1da1da155eafc431130c6 # timeout=10 09:38:33 > git rev-parse HEAD^{commit} # timeout=10 09:38:33 > git config core.sparsecheckout # timeout=10 09:38:33 > git checkout -f 581c97a92a3a8adbad42633b4d460162c03abb0f # timeout=10 09:38:37 Commit message: "docs: correct the ProtocolDriver links in README" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:38:39 % Total % Received % Xferd Average Speed Time Time Time Current 09:38:39 Dload Upload Total Spent Left Speed 09:38:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 09:38:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:38:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:38:39 + sudo tee /etc/docker/daemon.new 09:38:39 { 09:38:39 "registry-mirrors": [ 09:38:39 "https://nexus3.edgexfoundry.org:10001" 09:38:39 ], 09:38:39 "bip": "10.250.0.254/24", 09:38:39 "hosts": [ 09:38:39 "tcp://0.0.0.0:5555", 09:38:39 "unix:///var/run/docker.sock" 09:38:39 ], 09:38:39 "mtu": 1458, 09:38:39 "selinux-enabled": true, 09:38:39 "seccomp-profile": "/etc/docker/seccomp.json" 09:38:39 } [Pipeline] sh 09:38:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:38:40 + sudo service docker restart 09:38:52 GO111MODULE=on go vet ./... 09:38:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:38:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:38:53 ./bin/test-attribution-txt.sh 09:38:53 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:38:53 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:38:53 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:38:53 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:38:53 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:38:53 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:38:53 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:38:53 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:38:53 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:38:53 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:38:53 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:38:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:38:53 $ docker stop --time=1 2c5fe65001f78083e1da1951e2797c6c05a7bfe5c48f7f56d05fe008f03b229d 09:38:58 $ docker rm -f --volumes 2c5fe65001f78083e1da1951e2797c6c05a7bfe5c48f7f56d05fe008f03b229d [Pipeline] // withDockerContainer [Pipeline] sh 09:38:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:38:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] configFileProvider 09:38:58 provisioning config files... 09:38:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7253424167534611008tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:38:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:38:59 ---> ****-login.sh 09:38:59 nexus3.edgexfoundry.org:10001 09:38:59 + ls -al . 09:38:59 total 376 09:38:59 drwxrwxr-x 11 jenkins jenkins 4096 May 29 09:37 . 09:38:59 drwxrwxr-x 4 jenkins jenkins 4096 May 29 09:35 .. 09:38:59 -rw-rw-r-- 1 jenkins jenkins 140 May 29 09:35 .dockerignore 09:38:59 drwxrwxr-x 8 jenkins jenkins 4096 May 29 09:38 .git 09:38:59 drwxrwxr-x 3 jenkins jenkins 4096 May 29 09:35 .github 09:38:59 -rw-rw-r-- 1 jenkins jenkins 137 May 29 09:35 .gitignore 09:38:59 -rw-rw-r-- 1 jenkins jenkins 42 May 29 09:35 .golangci.yml 09:38:59 drwxr-xr-x 3 jenkins jenkins 4096 May 29 09:36 .semver 09:38:59 -rw-rw-r-- 1 jenkins jenkins 48109 May 29 09:35 CHANGELOG.md 09:38:59 -rw-rw-r-- 1 jenkins jenkins 677 May 29 09:35 GOVERNANCE.md 09:38:59 -rw-rw-r-- 1 jenkins jenkins 885 May 29 09:35 Jenkinsfile 09:38:59 -rw-rw-r-- 1 jenkins jenkins 11341 May 29 09:35 LICENSE 09:38:59 -rw-rw-r-- 1 jenkins jenkins 1842 May 29 09:35 Makefile 09:38:59 -rw-rw-r-- 1 jenkins jenkins 619 May 29 09:35 OWNERS.md 09:38:59 -rw-rw-r-- 1 jenkins jenkins 4937 May 29 09:35 README.md 09:38:59 -rw-rw-r-- 1 jenkins jenkins 5 May 29 09:36 VERSION 09:38:59 drwxrwxr-x 2 jenkins jenkins 4096 May 29 09:35 bin 09:38:59 -rw-r--r-- 1 jenkins jenkins 122153 May 29 09:38 coverage.out 09:38:59 drwxrwxr-x 5 jenkins jenkins 4096 May 29 09:35 example 09:38:59 -rw-rw-r-- 1 jenkins jenkins 7064 May 29 09:35 go.mod 09:38:59 -rw-rw-r-- 1 jenkins jenkins 101331 May 29 09:35 go.sum 09:38:59 drwxrwxr-x 12 jenkins jenkins 4096 May 29 09:35 internal 09:38:59 drwxrwxr-x 3 jenkins jenkins 4096 May 29 09:35 openapi 09:38:59 drwxrwxr-x 6 jenkins jenkins 4096 May 29 09:35 pkg 09:38:59 drwxrwxr-x 4 jenkins jenkins 4096 May 29 09:35 snap 09:38:59 -rw-rw-r-- 1 jenkins jenkins 222 May 29 09:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:59 + 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=581c97a92a3a8adbad42633b4d460162c03abb0f --label arch=amd64 --label version=0.0.0 . 09:38:59 Sending build context to Docker daemon 25.85MB 09:38:59 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:38:59 Step 2/24 : FROM ${BASE} AS builder 09:38:59 ---> aa0b1037b5cc 09:38:59 Step 3/24 : ARG MAKE=make build 09:39:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:00 Configure a credential helper to remove this warning. See 09:39:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:00 09:39:00 Login Succeeded 09:39:00 nexus3.edgexfoundry.org:10002 09:39:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:00 Configure a credential helper to remove this warning. See 09:39:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:00 09:39:00 Login Succeeded 09:39:00 ---> Running in 933065ceedb8 09:39:00 Removing intermediate container 933065ceedb8 09:39:00 ---> df20e4eb3c2e 09:39:00 Step 4/24 : WORKDIR /device-sdk-go 09:39:00 ---> Running in 70e1f21bcd74 09:39:00 Removing intermediate container 70e1f21bcd74 09:39:00 ---> e4240f80dbb3 09:39:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:39:00 ---> Running in 9a86d6ee28ed 09:39:00 Removing intermediate container 9a86d6ee28ed 09:39:00 ---> 391a800ff08f 09:39:00 Step 6/24 : RUN apk add --update --no-cache make git 09:39:00 nexus3.edgexfoundry.org:10003 09:39:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:00 ---> Running in ffd6470d29d1 09:39:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:00 Configure a credential helper to remove this warning. See 09:39:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:00 09:39:00 Login Succeeded 09:39:00 nexus3.edgexfoundry.org:10004 09:39:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:39:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:01 Configure a credential helper to remove this warning. See 09:39:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:01 09:39:01 Login Succeeded 09:39:01 ****.io 09:39:01 OK: 264 MiB in 52 packages 09:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:39:01 Configure a credential helper to remove this warning. See 09:39:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:39:01 09:39:01 Login Succeeded 09:39:01 ---> ****-login.sh ends [Pipeline] } 09:39:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:39:01 Removing intermediate container ffd6470d29d1 09:39:01 ---> fc879080a2db 09:39:01 Step 7/24 : COPY go.mod vendor* ./ 09:39:01 ---> 770b868199e0 09:39:01 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:39:01 ---> Running in 70b26610bec2 [Pipeline] echo 09:39:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:39:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:39:02 ========================================================= 09:39:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:39:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:02 Removing intermediate container 70b26610bec2 09:39:02 ---> 24cb62f1ba9b 09:39:02 Step 9/24 : COPY . . 09:39:02 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 09:39:02 Sending build context to Docker daemon 13.28MB 09:39:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:39:02 Step 2/10 : FROM ${BASE} AS builder 09:39:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:39:02 c6b39de5b339: Pulling fs layer 09:39:02 a69c41024577: Pulling fs layer 09:39:02 d6de4b400683: Pulling fs layer 09:39:02 35cb2a7552d0: Pulling fs layer 09:39:02 4f4fb700ef54: Pulling fs layer 09:39:02 464afbd9ba4c: Pulling fs layer 09:39:03 00f215d4a9da: Pulling fs layer 09:39:03 d496ad576159: Pulling fs layer 09:39:03 4f4fb700ef54: Waiting 09:39:03 464afbd9ba4c: Waiting 09:39:03 35cb2a7552d0: Waiting 09:39:03 00f215d4a9da: Waiting 09:39:03 d496ad576159: Waiting 09:39:03 a69c41024577: Verifying Checksum 09:39:03 a69c41024577: Download complete 09:39:03 35cb2a7552d0: Download complete 09:39:03 4f4fb700ef54: Verifying Checksum 09:39:03 4f4fb700ef54: Download complete 09:39:03 464afbd9ba4c: Verifying Checksum 09:39:03 464afbd9ba4c: Download complete 09:39:03 c6b39de5b339: Verifying Checksum 09:39:03 c6b39de5b339: Download complete 09:39:03 ---> 17085b1a9e7d 09:39:03 Step 10/24 : RUN ${MAKE} 09:39:03 ---> Running in 7ae131ae5783 09:39:03 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:39:03 d496ad576159: Verifying Checksum 09:39:03 d496ad576159: Download complete 09:39:04 c6b39de5b339: Pull complete 09:39:04 a69c41024577: Pull complete 09:39:04 d6de4b400683: Verifying Checksum 09:39:04 d6de4b400683: Download complete 09:39:06 00f215d4a9da: Verifying Checksum 09:39:06 00f215d4a9da: Download complete 09:39:18 d6de4b400683: Pull complete 09:39:18 35cb2a7552d0: Pull complete 09:39:18 4f4fb700ef54: Pull complete 09:39:18 464afbd9ba4c: Pull complete 09:39:26 00f215d4a9da: Pull complete 09:39:28 d496ad576159: Pull complete 09:39:28 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:39:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:39:28 ---> f246e2811388 09:39:28 Step 3/10 : ARG MAKE=make build 09:39:29 ---> Running in 8a07bcc47ecc 09:39:29 Removing intermediate container 8a07bcc47ecc 09:39:29 ---> fe6984e555b4 09:39:29 Step 4/10 : WORKDIR /device-sdk-go 09:39:30 ---> Running in 035855ec3329 09:39:30 Removing intermediate container 035855ec3329 09:39:30 ---> 1ba683338c5a 09:39:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:39:30 ---> Running in 45560a54f530 09:39:30 Removing intermediate container 45560a54f530 09:39:30 ---> 5f97073fa9c6 09:39:30 Step 6/10 : RUN apk add --update --no-cache make git 09:39:30 ---> Running in cb496b766a2a 09:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:39:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:39:33 OK: 266 MiB in 52 packages 09:39:34 Removing intermediate container cb496b766a2a 09:39:34 ---> 55b212d5490e 09:39:34 Step 7/10 : COPY go.mod vendor* ./ 09:39:35 Removing intermediate container 7ae131ae5783 09:39:35 ---> 9b2d39efd65c 09:39:35 Step 11/24 : FROM alpine:3.18 09:39:35 3.18: Pulling from library/alpine 09:39:35 619be1103602: Already exists 09:39:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:39:35 Status: Downloaded newer image for alpine:3.18 09:39:35 ---> d3782b16ccc9 09:39:35 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:39:35 ---> Running in 8139824b4736 09:39:35 Removing intermediate container 8139824b4736 09:39:35 ---> 6e522dabc6ef 09:39:35 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:39:35 ---> Running in a0d457c4ce5e 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:39:35 (1/1) Installing dumb-init (1.2.5-r2) 09:39:35 Executing busybox-1.36.1-r5.trigger 09:39:35 OK: 7 MiB in 16 packages 09:39:35 Removing intermediate container a0d457c4ce5e 09:39:35 ---> ccbe70c409b3 09:39:35 Step 14/24 : RUN apk --no-cache upgrade 09:39:35 ---> Running in 5e31cf8912d7 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:39:35 Upgrading critical system libraries and apk-tools: 09:39:35 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:39:35 Executing busybox-1.36.1-r5.trigger 09:39:35 Continuing the upgrade transaction with new apk-tools: 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:39:35 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:39:35 Executing busybox-1.36.1-r6.post-upgrade 09:39:35 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:39:35 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:39:35 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:39:35 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:39:35 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:39:35 Executing busybox-1.36.1-r6.trigger 09:39:35 OK: 7 MiB in 16 packages 09:39:35 Removing intermediate container 5e31cf8912d7 09:39:35 ---> 31d0b02cd1dc 09:39:35 Step 15/24 : WORKDIR / 09:39:35 ---> Running in c90122368729 09:39:35 ---> 39e28aaf8044 09:39:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:39:35 ---> Running in a41da5249a0b 09:39:35 Removing intermediate container c90122368729 09:39:35 ---> ef9623b80a92 09:39:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:39:35 ---> f46d0ca4bec0 09:39:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:39:37 ---> dab4c0a51291 09:39:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:39:37 ---> 5787be604b71 09:39:37 Step 19/24 : EXPOSE 59999 09:39:37 ---> Running in 9c6301e559d0 09:39:37 Removing intermediate container 9c6301e559d0 09:39:37 ---> 07c3e9f155ef 09:39:37 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:39:37 ---> Running in 1923934a5891 09:39:37 Removing intermediate container 1923934a5891 09:39:37 ---> 9ceace0f1f57 09:39:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:39:37 ---> Running in 6675a81fc41c 09:39:37 Removing intermediate container 6675a81fc41c 09:39:37 ---> 6fa685ec923d 09:39:37 Step 22/24 : LABEL arch=amd64 09:39:37 ---> Running in 4433deb0af75 09:39:37 Removing intermediate container 4433deb0af75 09:39:37 ---> 57cc5d3fb0de 09:39:37 Step 23/24 : LABEL git_sha=581c97a92a3a8adbad42633b4d460162c03abb0f 09:39:37 ---> Running in 3bb4a4572123 09:39:37 Removing intermediate container 3bb4a4572123 09:39:37 ---> 45e47f2fb9df 09:39:37 Step 24/24 : LABEL version=0.0.0 09:39:37 ---> Running in 6759b33a0304 09:39:37 Removing intermediate container 6759b33a0304 09:39:37 ---> 804049621d15 09:39:37 [Warning] One or more build-args [ARCH] were not consumed 09:39:37 Successfully built 804049621d15 09:39:37 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:39:38 09:39:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:39:38 latest: Pulling from edgex-lftools-log-publisher 09:39:38 5eb5b503b376: Pulling fs layer 09:39:38 5c69ac0246d0: Pulling fs layer 09:39:38 ec43610c2a17: Pulling fs layer 09:39:38 3a2ae6a8a46f: Pulling fs layer 09:39:38 33b1e0a273af: Pulling fs layer 09:39:38 5d3b04190fa2: Pulling fs layer 09:39:38 2f39f015ded8: Pulling fs layer 09:39:38 3a2ae6a8a46f: Waiting 09:39:38 33b1e0a273af: Waiting 09:39:38 5d3b04190fa2: Waiting 09:39:38 2f39f015ded8: Waiting 09:39:38 5c69ac0246d0: Verifying Checksum 09:39:38 5c69ac0246d0: Download complete 09:39:38 3a2ae6a8a46f: Download complete 09:39:38 33b1e0a273af: Verifying Checksum 09:39:38 33b1e0a273af: Download complete 09:39:38 5d3b04190fa2: Verifying Checksum 09:39:38 5d3b04190fa2: Download complete 09:39:38 ec43610c2a17: Verifying Checksum 09:39:38 ec43610c2a17: Download complete 09:39:38 5eb5b503b376: Verifying Checksum 09:39:38 5eb5b503b376: Download complete 09:39:39 2f39f015ded8: Download complete 09:39:40 5eb5b503b376: Pull complete 09:39:40 5c69ac0246d0: Pull complete 09:39:40 ec43610c2a17: Pull complete 09:39:40 3a2ae6a8a46f: Pull complete 09:39:40 33b1e0a273af: Pull complete 09:39:40 5d3b04190fa2: Pull complete 09:39:45 2f39f015ded8: Pull complete 09:39:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:39:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:45 prd-ubuntu20.04-docker-8c-8g-1032 does not seem to be running inside a container 09:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1584 -v /w/workspace/gexfoundry_device-sdk-go_PR-1584:/w/workspace/gexfoundry_device-sdk-go_PR-1584:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:39:48 $ docker top 84904b6e515454e5cab3fd70c911355f9bd7b128263af9714b9a715f66ff4f58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:49 ---> job-cost.sh 09:39:49 lf-activate-venv: SKIPPING 09:39:49 INFO: No Stack... 09:39:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:39:49 INFO: Archiving Costs [Pipeline] sh 09:39:50 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives/cost.csv 09:39:50 + cut -d, -f6 [Pipeline] lock 09:39:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] 09:39:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] did not exist. Created. 09:39:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:39:50 + echo total: 0.2199999988079071 [Pipeline] stash 09:39:50 Stashed 1 file(s) [Pipeline] } 09:39:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:39:50 $ docker stop --time=1 84904b6e515454e5cab3fd70c911355f9bd7b128263af9714b9a715f66ff4f58 09:39:51 $ docker rm -f --volumes 84904b6e515454e5cab3fd70c911355f9bd7b128263af9714b9a715f66ff4f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:41:27 Removing intermediate container a41da5249a0b 09:41:27 ---> f577ea14af2c 09:41:27 Step 9/10 : COPY . . 09:41:27 ---> 7e3e8412522c 09:41:27 Step 10/10 : RUN ${MAKE} 09:41:27 ---> Running in 68b7da0b3f73 09:41:27 noop 09:41:27 Removing intermediate container 68b7da0b3f73 09:41:27 ---> 74aa4b6d1080 09:41:27 Successfully built 74aa4b6d1080 09:41:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:27 + docker inspect -f . ci-base-image-arm64 09:41:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:28 prd-ubuntu20.04-docker-arm64-4c-16g-1033 does not seem to be running inside a container 09:41:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:41:29 $ docker top 009c57ee2d9cec54bafa40cd7441c5ce1ed0f363b0bab09bce3032a59d59a084 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:30 + go version 09:41:30 go version go1.21.9 linux/arm64 [Pipeline] } 09:41:30 $ docker stop --time=1 009c57ee2d9cec54bafa40cd7441c5ce1ed0f363b0bab09bce3032a59d59a084 09:41:31 $ docker rm -f --volumes 009c57ee2d9cec54bafa40cd7441c5ce1ed0f363b0bab09bce3032a59d59a084 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:32 + docker inspect -f . ci-base-image-arm64 09:41:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:41:32 prd-ubuntu20.04-docker-arm64-4c-16g-1033 does not seem to be running inside a container 09:41:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:41:33 $ docker top 19f1d6172eb59622bd30380e34d5245bfa1f347a4727405805879ecead87ac56 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:34 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 09:41:35 + make test 09:41:35 go test -race -coverprofile=coverage.out ./... 09:42:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:45:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:45:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.237s coverage: 27.6% of statements 09:45:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.286s coverage: 81.5% of statements 09:45:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:45:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:45:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.375s coverage: 86.0% of statements 09:45:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:45:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.677s coverage: 71.8% of statements 09:46:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.247s coverage: 14.4% of statements 09:46:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:46:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:46:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.943s coverage: 45.9% of statements 09:46:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.485s coverage: 68.5% of statements 09:46:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.494s coverage: 89.2% of statements 09:46:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:46:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.346s coverage: 5.5% of statements 09:46:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:46:11 GO111MODULE=on go vet ./... 09:50:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:50:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:50:03 ./bin/test-attribution-txt.sh 09:50:03 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:50:03 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:50:03 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:50:03 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:50:03 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:50:03 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:50:03 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:50:03 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:50:03 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:50:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:50:03 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:50:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:50:03 $ docker stop --time=1 19f1d6172eb59622bd30380e34d5245bfa1f347a4727405805879ecead87ac56 09:50:05 $ docker rm -f --volumes 19f1d6172eb59622bd30380e34d5245bfa1f347a4727405805879ecead87ac56 [Pipeline] // withDockerContainer [Pipeline] sh 09:50:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:07 Warning: overwriting stash ‘coverage-report’ 09:50:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:09 + ls -al . 09:50:09 total 372 09:50:09 drwxrwxr-x 10 jenkins jenkins 4096 May 29 09:41 . 09:50:09 drwxrwxr-x 4 jenkins jenkins 4096 May 29 09:38 .. 09:50:09 -rw-rw-r-- 1 jenkins jenkins 140 May 29 09:38 .dockerignore 09:50:09 drwxrwxr-x 8 jenkins jenkins 4096 May 29 09:38 .git 09:50:09 drwxrwxr-x 3 jenkins jenkins 4096 May 29 09:38 .github 09:50:09 -rw-rw-r-- 1 jenkins jenkins 137 May 29 09:38 .gitignore 09:50:09 -rw-rw-r-- 1 jenkins jenkins 42 May 29 09:38 .golangci.yml 09:50:09 -rw-rw-r-- 1 jenkins jenkins 48109 May 29 09:38 CHANGELOG.md 09:50:09 -rw-rw-r-- 1 jenkins jenkins 677 May 29 09:38 GOVERNANCE.md 09:50:09 -rw-rw-r-- 1 jenkins jenkins 885 May 29 09:38 Jenkinsfile 09:50:09 -rw-rw-r-- 1 jenkins jenkins 11341 May 29 09:38 LICENSE 09:50:09 -rw-rw-r-- 1 jenkins jenkins 1842 May 29 09:38 Makefile 09:50:09 -rw-rw-r-- 1 jenkins jenkins 619 May 29 09:38 OWNERS.md 09:50:09 -rw-rw-r-- 1 jenkins jenkins 4937 May 29 09:38 README.md 09:50:09 -rw-rw-r-- 1 jenkins jenkins 5 May 29 09:36 VERSION 09:50:09 drwxrwxr-x 2 jenkins jenkins 4096 May 29 09:38 bin 09:50:09 -rw-r--r-- 1 jenkins jenkins 122156 May 29 09:46 coverage.out 09:50:09 drwxrwxr-x 5 jenkins jenkins 4096 May 29 09:38 example 09:50:09 -rw-rw-r-- 1 jenkins jenkins 7064 May 29 09:38 go.mod 09:50:09 -rw-rw-r-- 1 jenkins jenkins 101331 May 29 09:38 go.sum 09:50:09 drwxrwxr-x 12 jenkins jenkins 4096 May 29 09:38 internal 09:50:09 drwxrwxr-x 3 jenkins jenkins 4096 May 29 09:38 openapi 09:50:09 drwxrwxr-x 6 jenkins jenkins 4096 May 29 09:38 pkg 09:50:09 drwxrwxr-x 4 jenkins jenkins 4096 May 29 09:38 snap 09:50:09 -rw-rw-r-- 1 jenkins jenkins 222 May 29 09:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:09 + 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=581c97a92a3a8adbad42633b4d460162c03abb0f --label arch=arm64 --label version=0.0.0 . 09:50:10 Sending build context to Docker daemon 13.4MB 09:50:10 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:50:10 Step 2/24 : FROM ${BASE} AS builder 09:50:10 ---> 74aa4b6d1080 09:50:10 Step 3/24 : ARG MAKE=make build 09:50:10 ---> Running in fcc13a217f36 09:50:10 Removing intermediate container fcc13a217f36 09:50:10 ---> 044c615fe143 09:50:10 Step 4/24 : WORKDIR /device-sdk-go 09:50:10 ---> Running in 9c3f350b1ae0 09:50:11 Removing intermediate container 9c3f350b1ae0 09:50:11 ---> d5aa18401b1b 09:50:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:50:11 ---> Running in e4a01a3689b2 09:50:11 Removing intermediate container e4a01a3689b2 09:50:11 ---> d5f53c294e27 09:50:11 Step 6/24 : RUN apk add --update --no-cache make git 09:50:11 ---> Running in 343f9eccc25c 09:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:50:14 OK: 266 MiB in 52 packages 09:50:15 Removing intermediate container 343f9eccc25c 09:50:15 ---> c39acc779def 09:50:15 Step 7/24 : COPY go.mod vendor* ./ 09:50:15 ---> 5ef68dc8b515 09:50:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:15 ---> Running in 6b874e073998 09:50:18 Removing intermediate container 6b874e073998 09:50:18 ---> a3370ce5c38d 09:50:18 Step 9/24 : COPY . . 09:50:19 ---> e0ac31ebfb6d 09:50:19 Step 10/24 : RUN ${MAKE} 09:50:19 ---> Running in d7e6051f3f60 09:50:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:53:42 Removing intermediate container d7e6051f3f60 09:53:42 ---> 04101f052bab 09:53:42 Step 11/24 : FROM alpine:3.18 09:53:42 3.18: Pulling from library/alpine 09:53:42 c6b39de5b339: Already exists 09:53:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:53:42 Status: Downloaded newer image for alpine:3.18 09:53:42 ---> 33abbf032149 09:53:42 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:53:42 ---> Running in f004763bdc02 09:53:42 Removing intermediate container f004763bdc02 09:53:42 ---> cc3fa3517164 09:53:42 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:53:42 ---> Running in 4e4b3d99fb05 09:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:42 (1/1) Installing dumb-init (1.2.5-r2) 09:53:42 Executing busybox-1.36.1-r5.trigger 09:53:42 OK: 8 MiB in 16 packages 09:53:43 Removing intermediate container 4e4b3d99fb05 09:53:43 ---> 086172ad4723 09:53:43 Step 14/24 : RUN apk --no-cache upgrade 09:53:43 ---> Running in b3a5008925be 09:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:45 Upgrading critical system libraries and apk-tools: 09:53:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:53:45 Executing busybox-1.36.1-r5.trigger 09:53:45 Continuing the upgrade transaction with new apk-tools: 09:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:46 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:53:46 Executing busybox-1.36.1-r6.post-upgrade 09:53:46 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:53:46 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:53:46 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:53:46 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:53:47 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:53:47 Executing busybox-1.36.1-r6.trigger 09:53:47 OK: 8 MiB in 16 packages 09:53:48 Removing intermediate container b3a5008925be 09:53:48 ---> 785bb3e837da 09:53:48 Step 15/24 : WORKDIR / 09:53:48 ---> Running in dc9dd5d64f9a 09:53:48 Removing intermediate container dc9dd5d64f9a 09:53:48 ---> 414c105e31a0 09:53:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:53:48 ---> 510e2e174624 09:53:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:53:50 ---> 1c1d2daf542d 09:53:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:53:51 ---> 52575c161cd0 09:53:51 Step 19/24 : EXPOSE 59999 09:53:51 ---> Running in 3c62782c775d 09:53:51 Removing intermediate container 3c62782c775d 09:53:51 ---> 4681bc57ea7d 09:53:51 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:53:51 ---> Running in fe61d2119a93 09:53:52 Removing intermediate container fe61d2119a93 09:53:52 ---> 955526c5e023 09:53:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:53:52 ---> Running in 9e35ce9b248d 09:53:52 Removing intermediate container 9e35ce9b248d 09:53:52 ---> f5b3b217597d 09:53:52 Step 22/24 : LABEL arch=arm64 09:53:52 ---> Running in 8939c349f74c 09:53:53 Removing intermediate container 8939c349f74c 09:53:53 ---> b89aa8819915 09:53:53 Step 23/24 : LABEL git_sha=581c97a92a3a8adbad42633b4d460162c03abb0f 09:53:53 ---> Running in 5ec4cc038ac1 09:53:53 Removing intermediate container 5ec4cc038ac1 09:53:53 ---> d0e9b88305e2 09:53:53 Step 24/24 : LABEL version=0.0.0 09:53:53 ---> Running in e2eb8d61fbc3 09:53:53 Removing intermediate container e2eb8d61fbc3 09:53:53 ---> 5bfd69bcaf6a 09:53:53 [Warning] One or more build-args [ARCH] were not consumed 09:53:53 Successfully built 5bfd69bcaf6a 09:53: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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:54 09:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:54 arm64: Pulling from edgex-lftools-log-publisher 09:53:54 8998bd30e6a1: Pulling fs layer 09:53:54 04944245beec: Pulling fs layer 09:53:54 699f458cf7ca: Pulling fs layer 09:53:54 765212b225bb: Pulling fs layer 09:53:54 f23df028b6ca: Pulling fs layer 09:53:54 d65c8cfc05b1: Pulling fs layer 09:53:54 2437ff75d9bd: Pulling fs layer 09:53:54 765212b225bb: Waiting 09:53:54 f23df028b6ca: Waiting 09:53:54 d65c8cfc05b1: Waiting 09:53:54 2437ff75d9bd: Waiting 09:53:54 04944245beec: Verifying Checksum 09:53:54 04944245beec: Download complete 09:53:54 765212b225bb: Verifying Checksum 09:53:54 765212b225bb: Download complete 09:53:54 f23df028b6ca: Verifying Checksum 09:53:54 f23df028b6ca: Download complete 09:53:54 d65c8cfc05b1: Verifying Checksum 09:53:54 d65c8cfc05b1: Download complete 09:53:55 699f458cf7ca: Verifying Checksum 09:53:55 699f458cf7ca: Download complete 09:53:55 8998bd30e6a1: Download complete 09:53:58 2437ff75d9bd: Verifying Checksum 09:53:58 2437ff75d9bd: Download complete 09:53:59 8998bd30e6a1: Pull complete 09:54:00 04944245beec: Pull complete 09:54:02 699f458cf7ca: Pull complete 09:54:02 765212b225bb: Pull complete 09:54:03 f23df028b6ca: Pull complete 09:54:03 d65c8cfc05b1: Pull complete 09:54:21 2437ff75d9bd: Pull complete 09:54:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:54:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:21 prd-ubuntu20.04-docker-arm64-4c-16g-1033 does not seem to be running inside a container 09:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:54:24 $ docker top 953a80816ff252ffe267fd1533d47e2c766a6bc6fa56261143b2ccbe9151afba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:25 ---> job-cost.sh 09:54:25 lf-activate-venv: SKIPPING 09:54:25 INFO: No Stack... 09:54:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:54:26 INFO: Archiving Costs [Pipeline] sh 09:54:27 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 09:54:27 + cut -d, -f6 [Pipeline] lock 09:54:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] 09:54:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] did not exist. Created. 09:54:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:27 /w/workspace/device-sdk-go/3@tmp/durable-d44bd883/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:54:28 + echo total: 0.10999999940395355 [Pipeline] stash 09:54:28 Warning: overwriting stash ‘stack-cost’ 09:54:28 Stashed 1 file(s) [Pipeline] } 09:54:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1584-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:54:28 $ docker stop --time=1 953a80816ff252ffe267fd1533d47e2c766a6bc6fa56261143b2ccbe9151afba 09:54:29 $ docker rm -f --volumes 953a80816ff252ffe267fd1533d47e2c766a6bc6fa56261143b2ccbe9151afba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:54:30 provisioning config files... 09:54:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/config940050704505111911tmp [Pipeline] { [Pipeline] sh 09:54:30 + set +x 09:54:30 + curl+ -s https://codecov.io/bash 09:54:30 bash -s -- 09:54:30 09:54:30 _____ _ 09:54:30 / ____| | | 09:54:30 | | ___ __| | ___ ___ _____ __ 09:54:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:54:30 | |___| (_) | (_| | __/ (_| (_) \ V / 09:54:30 \_____\___/ \__,_|\___|\___\___/ \_/ 09:54:30 Bash-1.0.6 09:54:30 09:54:30 09:54:30 ==> git version 2.25.1 found 09:54:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:54:30 Release-Date: 2020-01-08 09:54:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:54:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:54:30 ==> Jenkins CI detected. 09:54:30 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1584 09:54:30 project root: . 09:54:30 --> token set from env 09:54:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:54:30 ==> Running gcov in . (disable via -X gcov) 09:54:30 ==> Python coveragepy not found 09:54:30 ==> Searching for coverage reports in: 09:54:30 + . 09:54:30 -> Found 1 reports 09:54:30 ==> Detecting git/mercurial file structure 09:54:30 ==> Reading reports 09:54:30 + ./coverage.out bytes=122156 09:54:30 ==> Appending adjustments 09:54:30 https://docs.codecov.io/docs/fixing-reports 09:54:31 + Found adjustments 09:54:31 ==> Gzipping contents 09:54:31 20K /tmp/codecov.lUL4z6.gz 09:54:31 ==> Uploading reports 09:54:31 url: https://codecov.io 09:54:31 query: branch=PR-1584&commit=581c97a92a3a8adbad42633b4d460162c03abb0f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1584%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1584&job=&cmd_args= 09:54:31 -> Pinging Codecov 09:54:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1584&commit=581c97a92a3a8adbad42633b4d460162c03abb0f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1584%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1584&job=&cmd_args= 09:54:31 -> Uploading to 09:54:31 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/7E55EF52A471D76F132DFD9A03CDDE97/581c97a92a3a8adbad42633b4d460162c03abb0f/8002f0a1-ebc6-4dd1-af72-1b5698fc39e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T095431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd013eee328f3ab3bb31ce974d417c4ed5135ad83693f3c09a36a6194dfa3755 09:54:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:54:31 Dload Upload Total Spent Left Speed 09:54:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16741 0 0 100 16741 0 66432 --:--:-- --:--:-- --:--:-- 66432 09:54:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/581c97a92a3a8adbad42633b4d460162c03abb0f [Pipeline] } 09:54:31 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:54:32 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives ] 09:54:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives 09:54:32 total 16 09:54:32 drwxr-xr-x 3 root root 4096 May 29 09:39 . 09:54:32 drwxrwxr-x 12 jenkins jenkins 4096 May 29 09:39 .. 09:54:32 drwxr-xr-x 2 root root 4096 May 29 09:39 cost 09:54:32 -rw-r--r-- 1 root root 86 May 29 09:39 cost.csv 09:54:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives 09:54:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives 09:54:32 total 16 09:54:32 drwxr-xr-x 3 jenkins jenkins 4096 May 29 09:39 . 09:54:32 drwxrwxr-x 12 jenkins jenkins 4096 May 29 09:39 .. 09:54:32 drwxr-xr-x 2 jenkins jenkins 4096 May 29 09:39 cost 09:54:32 -rw-r--r-- 1 jenkins jenkins 86 May 29 09:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:54:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:33 ---> package-listing.sh 09:54:33 ++ facter osfamily 09:54:33 ++ tr '[:upper:]' '[:lower:]' 09:54:34 + OS_FAMILY=debian 09:54:34 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1584 09:54:34 + START_PACKAGES=/tmp/packages_start.txt 09:54:34 + END_PACKAGES=/tmp/packages_end.txt 09:54:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:34 + PACKAGES=/tmp/packages_start.txt 09:54:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1584 ']' 09:54:34 + PACKAGES=/tmp/packages_end.txt 09:54:34 + case "${OS_FAMILY}" in 09:54:34 + dpkg -l 09:54:34 + grep '^ii' 09:54:34 + '[' -f /tmp/packages_start.txt ']' 09:54:34 + '[' -f /tmp/packages_end.txt ']' 09:54:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1584 ']' 09:54:34 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives/ 09:54:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1584/archives/ [Pipeline] echo 09:54:34 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-1584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:54:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:35 prd-ubuntu20.04-docker-8c-8g-1032 does not seem to be running inside a container 09:54:35 $ 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-1584/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-1584 -v /w/workspace/gexfoundry_device-sdk-go_PR-1584:/w/workspace/gexfoundry_device-sdk-go_PR-1584:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:35 $ docker top f7ca93c612d1f71cc8bfb5e288e87eacd647ed508af94c613bf856f395afe38d -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:35 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:36 + mkdir -p /var/log/sysstat [Pipeline] sh 09:54:36 + ls /var/log/sa-host 09:54:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:36 provisioning config files... 09:54:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1584@tmp/config16818747759053958935tmp [Pipeline] { [Pipeline] echo 09:54:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:36 ---> create-netrc.sh [Pipeline] } 09:54:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:37 ---> python-tools-install.sh [Pipeline] echo 09:54:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:37 ---> sudo-logs.sh 09:54:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:54:37 ---> job-cost.sh 09:54:37 lf-activate-venv: SKIPPING 09:54:37 DEBUG: total: 0.2199999988079071 09:54:37 INFO: Retrieving Stack Cost... 09:54:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:38 INFO: Archiving Costs [Pipeline] echo 09:54:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:54:38 ---> logs-deploy.sh 09:54:38 lf-activate-venv: SKIPPING 09:54:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1584/3 09:54:38 INFO: archiving workspace using pattern(s): 09:54:39 Archives upload complete. 09:54:39 INFO: archiving logs to Nexus