Pull request #1580 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 ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 911624c003e9e773b2d7c94646c77370a636792b rather than 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f Obtained Jenkinsfile from 911624c003e9e773b2d7c94646c77370a636792b 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-ssh7140065652433298056.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-ssh4220259213837624472.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-1580/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-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11221391354953655872.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-ssh9074994065193943989.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-1580/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-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12876084788170805316.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 ‘prd-ubuntu20.04-docker-8c-8g-3960’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3968 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [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-1580 # 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 Merging remotes/origin/main commit 911624c003e9e773b2d7c94646c77370a636792b into PR head commit 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f Merge succeeded, producing 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f Checking out Revision 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f (PR-1580) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f # 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 911624c003e9e773b2d7c94646c77370a636792b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f # timeout=10 Commit message: "Merge branch 'main' into main" > git rev-list --no-walk 5481bee4423f66d153869aa18b2cfd12d348cfbf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:28:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:28:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:28:15 ========================================================= 02:28:15 EdgeX Global Pipelines Version Info 02:28:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:28:16 ------------------- 02:28:16 stable info: 02:28:16 ------------------- 02:28:16 Commited By: Ginny Guan ginny@iotechsys.com 02:28:16 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:28:16 Message: update stable to v1.0.260 02:28:17 ------------------- 02:28:17 experimental info: 02:28:17 ------------------- 02:28:17 Commited By: Ginny Guan ginny@iotechsys.com 02:28:17 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:28:17 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5dab4a1 [Pipeline] echo 02:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:18 provisioning config files... 02:28:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config11242174447102190523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:18 ---> ****-login.sh 02:28:18 nexus3.edgexfoundry.org:10001 02:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:18 Configure a credential helper to remove this warning. See 02:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:18 02:28:18 Login Succeeded 02:28:18 nexus3.edgexfoundry.org:10002 02:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:18 Configure a credential helper to remove this warning. See 02:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:18 02:28:18 Login Succeeded 02:28:18 nexus3.edgexfoundry.org:10003 02:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:18 Configure a credential helper to remove this warning. See 02:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:18 02:28:18 Login Succeeded 02:28:18 nexus3.edgexfoundry.org:10004 02:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:19 Configure a credential helper to remove this warning. See 02:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:19 02:28:19 Login Succeeded 02:28:19 ****.io 02:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:19 Configure a credential helper to remove this warning. See 02:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:19 02:28:19 Login Succeeded 02:28:19 ---> ****-login.sh ends [Pipeline] } 02:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:28:19 + git rev-list -1 --merges 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f~1..5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [Pipeline] echo 02:28:19 -----------> git rev-list -1 --merges 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f~1..5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 02:28:19 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [false] [Pipeline] sh 02:28:20 + git log --format=format:%s -1 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [Pipeline] echo 02:28:20 ========================================================= 02:28:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:20 + git log --format=format:%s -1 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [Pipeline] echo 02:28:20 [semverPrep] GIT_COMMIT: 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f, Commit Message: Merge branch 'main' into main [Pipeline] echo 02:28:20 [semverPrep] This is not a build commit. [Pipeline] sh 02:28:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:28:20 + grep -v github /etc/ssh/ssh_known_hosts 02:28:20 + [ -e /tmp/ssh_known_hosts ] 02:28:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:28:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:28:20 + sudo tee -a /etc/ssh/ssh_known_hosts 02:28:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:21 02:28:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:21 0.1.4: Pulling from edgex-devops/py-git-semver 02:28:21 b85a868b505f: Pulling fs layer 02:28:21 e2be974225ed: Pulling fs layer 02:28:21 339a4e72a1f5: Pulling fs layer 02:28:21 988bab9f4d93: Pulling fs layer 02:28:21 1469e6f7b9e6: Pulling fs layer 02:28:21 eaf3925da568: Pulling fs layer 02:28:21 bab4dde63d76: Pulling fs layer 02:28:21 bde34c3a00c8: Pulling fs layer 02:28:21 b352a97aabf1: Pulling fs layer 02:28:21 4872d77fe225: Pulling fs layer 02:28:21 5851b861e8e6: Pulling fs layer 02:28:21 1469e6f7b9e6: Waiting 02:28:21 988bab9f4d93: Waiting 02:28:21 bde34c3a00c8: Waiting 02:28:21 bab4dde63d76: Waiting 02:28:21 4872d77fe225: Waiting 02:28:21 e2be974225ed: Download complete 02:28:21 988bab9f4d93: Verifying Checksum 02:28:21 988bab9f4d93: Download complete 02:28:21 1469e6f7b9e6: Verifying Checksum 02:28:21 1469e6f7b9e6: Download complete 02:28:21 eaf3925da568: Verifying Checksum 02:28:21 eaf3925da568: Download complete 02:28:21 339a4e72a1f5: Verifying Checksum 02:28:21 339a4e72a1f5: Download complete 02:28:21 bde34c3a00c8: Verifying Checksum 02:28:21 bde34c3a00c8: Download complete 02:28:21 b352a97aabf1: Download complete 02:28:21 4872d77fe225: Download complete 02:28:21 5851b861e8e6: Download complete 02:28:21 b85a868b505f: Verifying Checksum 02:28:21 b85a868b505f: Download complete 02:28:22 bab4dde63d76: Verifying Checksum 02:28:22 bab4dde63d76: Download complete 02:28:23 b85a868b505f: Pull complete 02:28:23 e2be974225ed: Pull complete 02:28:24 339a4e72a1f5: Pull complete 02:28:24 988bab9f4d93: Pull complete 02:28:24 1469e6f7b9e6: Pull complete 02:28:24 eaf3925da568: Pull complete 02:28:26 bab4dde63d76: Pull complete 02:28:26 bde34c3a00c8: Pull complete 02:28:26 b352a97aabf1: Pull complete 02:28:26 4872d77fe225: Pull complete 02:28:26 5851b861e8e6: Pull complete 02:28:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:27 prd-ubuntu20.04-docker-8c-8g-3968 does not seem to be running inside a container 02:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 02:28:30 $ docker top a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da -eo pid,comm 02:28:30 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). 02:28:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:30 [ssh-agent] Looking for ssh-agent implementation... 02:28:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:30 $ docker exec a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da ssh-agent 02:28:30 SSH_AUTH_SOCK=/tmp/ssh-1x2QWpOfrKf6/agent.32 02:28:30 SSH_AGENT_PID=38 02:28:30 Running ssh-add (command line suppressed) 02:28:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2536914776932109408.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2536914776932109408.key) 02:28:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:31 + git tag --points-at HEAD [Pipeline] } 02:28:31 $ docker exec --env ******** --env ******** a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da ssh-agent -k 02:28:31 unset SSH_AUTH_SOCK; 02:28:31 unset SSH_AGENT_PID; 02:28:31 echo Agent pid 38 killed; 02:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:28:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:31 [ssh-agent] Looking for ssh-agent implementation... 02:28:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:31 $ docker exec a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da ssh-agent 02:28:31 SSH_AUTH_SOCK=/tmp/ssh-AAsA3Ok3dimo/agent.71 02:28:31 SSH_AGENT_PID=77 02:28:31 Running ssh-add (command line suppressed) 02:28:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_14722650610458897790.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_14722650610458897790.key) 02:28:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:31 + git semver init 02:28:32 2024-06-19 02:28:32,165 [run_init] DEBUG init version:0.0.0 force:False 02:28:32 2024-06-19 02:28:32,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 02:28:32 2024-06-19 02:28:32,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 02:28:32 2024-06-19 02:28:32,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) 02:28:34 2024-06-19 02:28:34,123 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude 02:28:34 2024-06-19 02:28:34,124 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False 02:28:34 2024-06-19 02:28:34,124 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 02:28:34 2024-06-19 02:28:34,129 [execute] INFO git cat-file --batch-check 02:28:34 2024-06-19 02:28:34,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 02:28:34 2024-06-19 02:28:34,135 [execute] INFO git cat-file --batch 02:28:34 2024-06-19 02:28:34,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 02:28:34 2024-06-19 02:28:34,140 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 02:28:34 0.0.0 [Pipeline] } 02:28:34 $ docker exec --env ******** --env ******** a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da ssh-agent -k 02:28:34 unset SSH_AUTH_SOCK; 02:28:34 unset SSH_AGENT_PID; 02:28:34 echo Agent pid 77 killed; 02:28:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:28:34 + git semver [Pipeline] } 02:28:34 $ docker stop --time=1 a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da 02:28:36 $ docker rm -f --volumes a2854a69943b5142fd9a71109ce0140d36d84c368ba9486281d8d562dc5ef1da [Pipeline] // withDockerContainer [Pipeline] sh 02:28:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:28:36 Stashed 1 file(s) [Pipeline] echo 02:28:36 [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 02:28:37 provisioning config files... 02:28:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config6986612036360741049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:37 ---> ****-login.sh 02:28:37 nexus3.edgexfoundry.org:10001 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10002 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10003 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 nexus3.edgexfoundry.org:10004 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 ****.io 02:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:37 Configure a credential helper to remove this warning. See 02:28:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:37 02:28:37 Login Succeeded 02:28:37 ---> ****-login.sh ends [Pipeline] } 02:28:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:28:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:38 ========================================================= 02:28:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:28:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:38 + 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 . 02:28:38 Sending build context to Docker daemon 25.31MB 02:28:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:28:38 Step 2/10 : FROM ${BASE} AS builder 02:28:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:28:38 619be1103602: Pulling fs layer 02:28:38 7862e08f4a3e: Pulling fs layer 02:28:38 5df492c9dc93: Pulling fs layer 02:28:38 7629e6793208: Pulling fs layer 02:28:38 4f4fb700ef54: Pulling fs layer 02:28:38 fb5054dd5b73: Pulling fs layer 02:28:38 eeca6798cff9: Pulling fs layer 02:28:38 aa269ceb94a6: Pulling fs layer 02:28:38 ada007ff1a6a: Pulling fs layer 02:28:38 7629e6793208: Waiting 02:28:38 eeca6798cff9: Waiting 02:28:38 aa269ceb94a6: Waiting 02:28:38 4f4fb700ef54: Waiting 02:28:38 ada007ff1a6a: Waiting 02:28:38 fb5054dd5b73: Waiting 02:28:38 7862e08f4a3e: Verifying Checksum 02:28:38 7862e08f4a3e: Download complete 02:28:38 7629e6793208: Verifying Checksum 02:28:38 7629e6793208: Download complete 02:28:38 619be1103602: Verifying Checksum 02:28:38 619be1103602: Download complete 02:28:38 4f4fb700ef54: Download complete 02:28:38 fb5054dd5b73: Verifying Checksum 02:28:38 fb5054dd5b73: Download complete 02:28:38 eeca6798cff9: Verifying Checksum 02:28:38 eeca6798cff9: Download complete 02:28:38 619be1103602: Pull complete 02:28:38 7862e08f4a3e: Pull complete 02:28:38 ada007ff1a6a: Verifying Checksum 02:28:38 ada007ff1a6a: Download complete 02:28:39 5df492c9dc93: Download complete 02:28:39 aa269ceb94a6: Verifying Checksum 02:28:39 aa269ceb94a6: Download complete 02:28:42 5df492c9dc93: Pull complete 02:28:42 7629e6793208: Pull complete 02:28:42 4f4fb700ef54: Pull complete 02:28:42 fb5054dd5b73: Pull complete 02:28:42 eeca6798cff9: Pull complete 02:28:45 aa269ceb94a6: Pull complete 02:28:45 ada007ff1a6a: Pull complete 02:28:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:28:45 ---> f489d0715acc 02:28:45 Step 3/10 : ARG MAKE=make build 02:28:52 Still waiting to schedule task 02:28:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3964’ is offline 02:28:53 ---> Running in 27bd08ada892 02:28:53 Removing intermediate container 27bd08ada892 02:28:53 ---> 5a11b334b5e8 02:28:53 Step 4/10 : WORKDIR /device-sdk-go 02:28:53 ---> Running in 6d041f3f60f7 02:28:53 Removing intermediate container 6d041f3f60f7 02:28:53 ---> 62bf6f6a5d0f 02:28:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:28:53 ---> Running in 319b369d66c6 02:28:53 Removing intermediate container 319b369d66c6 02:28:53 ---> 7cff37a2c017 02:28:53 Step 6/10 : RUN apk add --update --no-cache make git 02:28:53 ---> Running in 5d107ea30273 02:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:28:53 OK: 264 MiB in 52 packages 02:28:53 Removing intermediate container 5d107ea30273 02:28:53 ---> c52db37e5182 02:28:53 Step 7/10 : COPY go.mod vendor* ./ 02:28:53 ---> 328002d95080 02:28:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:28:53 ---> Running in 906e0a1ce103 02:30:01 Removing intermediate container 906e0a1ce103 02:30:01 ---> 3fb24d419363 02:30:01 Step 9/10 : COPY . . 02:30:01 ---> b57533347d4c 02:30:01 Step 10/10 : RUN ${MAKE} 02:30:01 ---> Running in 0a4af3101e3a 02:30:01 noop 02:30:01 Removing intermediate container 0a4af3101e3a 02:30:01 ---> 047bb1d12d7e 02:30:01 Successfully built 047bb1d12d7e 02:30:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:02 + docker inspect -f . ci-base-image-x86_64 02:30:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:02 prd-ubuntu20.04-docker-8c-8g-3968 does not seem to be running inside a container 02:30:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 02:30:02 $ docker top 34dfe2743450c2ec1ed8a9145246108c93f419745789479e148b7faf6798abc5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:02 + go version 02:30:02 go version go1.21.9 linux/amd64 [Pipeline] } 02:30:02 $ docker stop --time=1 34dfe2743450c2ec1ed8a9145246108c93f419745789479e148b7faf6798abc5 02:30:04 $ docker rm -f --volumes 34dfe2743450c2ec1ed8a9145246108c93f419745789479e148b7faf6798abc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:04 + docker inspect -f . ci-base-image-x86_64 02:30:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:04 prd-ubuntu20.04-docker-8c-8g-3968 does not seem to be running inside a container 02:30:04 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 02:30:05 $ docker top c9855bdde0128dde29bf2423c6b1d556a5fdef14526a9e2b160b073fc674cc20 -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:05 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh 02:30:05 + make test 02:30:05 go test -race -coverprofile=coverage.out ./... 02:30:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:30:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3969 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws 02:30:33 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:30:33 The recommended git tool is: git 02:30:41 using credential edgex-jenkins-ssh 02:30:41 Cloning the remote Git repository 02:30:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:30:41 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:30:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:30:41 > git --version # timeout=10 02:30:41 > git --version # 'git version 2.25.1' 02:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:30:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:30:47 Merging remotes/origin/main commit 911624c003e9e773b2d7c94646c77370a636792b into PR head commit 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 02:30:48 Merge succeeded, producing 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 02:30:48 Checking out Revision 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f (PR-1580) 02:30:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:30:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:30:47 > git config core.sparsecheckout # timeout=10 02:30:48 > git checkout -f 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f # timeout=10 02:30:48 > git remote # timeout=10 02:30:48 > git config --get remote.origin.url # timeout=10 02:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:48 > git merge 911624c003e9e773b2d7c94646c77370a636792b # timeout=10 02:30:48 > git rev-parse HEAD^{commit} # timeout=10 02:30:48 > git config core.sparsecheckout # timeout=10 02:30:48 > git checkout -f 5dab4a1a971ef3a04e4edd09c3a19ba5782be86f # timeout=10 02:30:52 Commit message: "Merge branch 'main' into main" 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.0% of statements 02:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.065s coverage: 81.5% of statements 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:30:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.117s coverage: 71.8% of statements 02:30:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:30:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:30:53 Dload Upload Total Spent Left Speed 02:30:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 02:30:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:30:54 + sudo tee /etc/docker/daemon.new 02:30:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:30:54 { 02:30:54 "registry-mirrors": [ 02:30:54 "https://nexus3.edgexfoundry.org:10001" 02:30:54 ], 02:30:54 "bip": "10.250.0.254/24", 02:30:54 "hosts": [ 02:30:54 "tcp://0.0.0.0:5555", 02:30:54 "unix:///var/run/docker.sock" 02:30:54 ], 02:30:54 "mtu": 1458, 02:30:54 "selinux-enabled": true, 02:30:54 "seccomp-profile": "/etc/docker/seccomp.json" 02:30:54 } [Pipeline] sh 02:30:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:30:54 + sudo service docker restart 02:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements 02:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.849s coverage: 45.6% of statements 02:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.078s coverage: 68.5% of statements 02:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.107s coverage: 89.2% of statements 02:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.069s coverage: 5.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:13 provisioning config files... 02:31:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2469186693323521113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:13 ---> ****-login.sh 02:31:13 nexus3.edgexfoundry.org:10001 02:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:14 Configure a credential helper to remove this warning. See 02:31:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:14 02:31:14 Login Succeeded 02:31:14 nexus3.edgexfoundry.org:10002 02:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:14 Configure a credential helper to remove this warning. See 02:31:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:14 02:31:14 Login Succeeded 02:31:14 nexus3.edgexfoundry.org:10003 02:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:15 Configure a credential helper to remove this warning. See 02:31:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:15 02:31:15 Login Succeeded 02:31:15 nexus3.edgexfoundry.org:10004 02:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:15 Configure a credential helper to remove this warning. See 02:31:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:15 02:31:15 Login Succeeded 02:31:15 ****.io 02:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:15 Configure a credential helper to remove this warning. See 02:31:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:15 02:31:15 Login Succeeded 02:31:15 ---> ****-login.sh ends [Pipeline] } 02:31:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:16 ========================================================= 02:31:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:31:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:16 + 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 . 02:31:17 Sending build context to Docker daemon 13.19MB 02:31:17 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:31:17 Step 2/10 : FROM ${BASE} AS builder 02:31:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:31:17 c6b39de5b339: Pulling fs layer 02:31:17 a69c41024577: Pulling fs layer 02:31:17 d6de4b400683: Pulling fs layer 02:31:17 35cb2a7552d0: Pulling fs layer 02:31:17 4f4fb700ef54: Pulling fs layer 02:31:17 464afbd9ba4c: Pulling fs layer 02:31:17 00f215d4a9da: Pulling fs layer 02:31:17 d496ad576159: Pulling fs layer 02:31:17 35cb2a7552d0: Waiting 02:31:17 4f4fb700ef54: Waiting 02:31:17 464afbd9ba4c: Waiting 02:31:17 00f215d4a9da: Waiting 02:31:17 d496ad576159: Waiting 02:31:17 a69c41024577: Verifying Checksum 02:31:17 a69c41024577: Download complete 02:31:17 35cb2a7552d0: Verifying Checksum 02:31:17 35cb2a7552d0: Download complete 02:31:17 4f4fb700ef54: Verifying Checksum 02:31:17 4f4fb700ef54: Download complete 02:31:17 464afbd9ba4c: Verifying Checksum 02:31:17 464afbd9ba4c: Download complete 02:31:17 c6b39de5b339: Verifying Checksum 02:31:17 c6b39de5b339: Download complete 02:31:18 d496ad576159: Verifying Checksum 02:31:18 d496ad576159: Download complete 02:31:18 c6b39de5b339: Pull complete 02:31:18 a69c41024577: Pull complete 02:31:19 d6de4b400683: Verifying Checksum 02:31:19 d6de4b400683: Download complete 02:31:20 00f215d4a9da: Verifying Checksum 02:31:20 00f215d4a9da: Download complete 02:31:27 GO111MODULE=on go vet ./... 02:31:32 d6de4b400683: Pull complete 02:31:32 35cb2a7552d0: Pull complete 02:31:32 4f4fb700ef54: Pull complete 02:31:32 464afbd9ba4c: Pull complete 02:31:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:33 ./bin/test-attribution-txt.sh 02:31:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:31:33 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:31:33 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:31:33 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:31:33 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:31:33 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:31:33 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:31:33 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:31:33 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:31:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:31:33 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:31:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:31:34 $ docker stop --time=1 c9855bdde0128dde29bf2423c6b1d556a5fdef14526a9e2b160b073fc674cc20 02:31:40 $ docker rm -f --volumes c9855bdde0128dde29bf2423c6b1d556a5fdef14526a9e2b160b073fc674cc20 02:31:41 00f215d4a9da: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 02:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:42 + ls -al . 02:31:42 total 376 02:31:42 drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 02:30 . 02:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 02:28 .. 02:31:42 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 02:28 .dockerignore 02:31:42 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 02:30 .git 02:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 02:28 .github 02:31:42 -rw-rw-r-- 1 jenkins jenkins 137 Jun 19 02:28 .gitignore 02:31:42 -rw-rw-r-- 1 jenkins jenkins 42 Jun 19 02:28 .golangci.yml 02:31:42 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 02:28 .semver 02:31:42 -rw-rw-r-- 1 jenkins jenkins 48109 Jun 19 02:28 CHANGELOG.md 02:31:42 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 02:28 GOVERNANCE.md 02:31:42 -rw-rw-r-- 1 jenkins jenkins 885 Jun 19 02:28 Jenkinsfile 02:31:42 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 19 02:28 LICENSE 02:31:42 -rw-rw-r-- 1 jenkins jenkins 1842 Jun 19 02:28 Makefile 02:31:42 -rw-rw-r-- 1 jenkins jenkins 619 Jun 19 02:28 OWNERS.md 02:31:42 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 19 02:28 README.md 02:31:42 -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 02:28 VERSION 02:31:42 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 02:28 bin 02:31:42 -rw-r--r-- 1 jenkins jenkins 122495 Jun 19 02:30 coverage.out 02:31:42 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 02:28 example 02:31:42 -rw-rw-r-- 1 jenkins jenkins 7101 Jun 19 02:28 go.mod 02:31:42 -rw-rw-r-- 1 jenkins jenkins 101596 Jun 19 02:28 go.sum 02:31:42 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 02:28 internal 02:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 02:28 openapi 02:31:42 drwxrwxr-x 6 jenkins jenkins 4096 Jun 19 02:28 pkg 02:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 02:28 snap 02:31:42 -rw-rw-r-- 1 jenkins jenkins 222 Jun 19 02:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:42 + 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=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f --label arch=amd64 --label version=0.0.0 . 02:31:42 Sending build context to Docker daemon 25.43MB 02:31:42 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:31:42 Step 2/24 : FROM ${BASE} AS builder 02:31:42 ---> 047bb1d12d7e 02:31:42 Step 3/24 : ARG MAKE=make build 02:31:43 d496ad576159: Pull complete 02:31:43 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:31:43 ---> f246e2811388 02:31:43 Step 3/10 : ARG MAKE=make build 02:31:43 ---> Running in 66b4440f97a8 02:31:43 Removing intermediate container 66b4440f97a8 02:31:43 ---> 3280149c3b46 02:31:43 Step 4/24 : WORKDIR /device-sdk-go 02:31:43 ---> Running in 69dd0efb9314 02:31:43 Removing intermediate container 69dd0efb9314 02:31:43 ---> f9a776439194 02:31:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:31:43 ---> Running in 670dbe8b9476 02:31:43 Removing intermediate container 670dbe8b9476 02:31:43 ---> 48a1809fb6c1 02:31:43 Step 6/24 : RUN apk add --update --no-cache make git 02:31:43 ---> Running in d8bb94666d71 02:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:44 OK: 264 MiB in 52 packages 02:31:44 Removing intermediate container d8bb94666d71 02:31:44 ---> e35498986742 02:31:44 Step 7/24 : COPY go.mod vendor* ./ 02:31:44 ---> e4cea105c69e 02:31:44 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:44 ---> Running in e4948be3477a 02:31:44 ---> Running in 71873cada79a 02:31:44 Removing intermediate container 71873cada79a 02:31:44 ---> 5e991507fe4e 02:31:44 Step 4/10 : WORKDIR /device-sdk-go 02:31:44 ---> Running in c2ae77ebf006 02:31:45 Removing intermediate container c2ae77ebf006 02:31:45 ---> bcb19624a007 02:31:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:31:45 ---> Running in e4010829ba29 02:31:45 Removing intermediate container e4948be3477a 02:31:45 ---> a43338620f1e 02:31:45 Step 9/24 : COPY . . 02:31:45 Removing intermediate container e4010829ba29 02:31:45 ---> 6f8614109228 02:31:45 Step 6/10 : RUN apk add --update --no-cache make git 02:31:45 ---> Running in 964f53ad2932 02:31:45 ---> a60727a68adf 02:31:45 Step 10/24 : RUN ${MAKE} 02:31:45 ---> Running in 2d90de78b9d8 02:31:46 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 02:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:31:47 OK: 266 MiB in 52 packages 02:31:48 Removing intermediate container 964f53ad2932 02:31:48 ---> 4b8679fc55b9 02:31:48 Step 7/10 : COPY go.mod vendor* ./ 02:31:49 ---> f183a1bbbaa1 02:31:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:49 ---> Running in 15ef3b68d474 02:32:18 Removing intermediate container 2d90de78b9d8 02:32:18 ---> 7e6000ce760e 02:32:18 Step 11/24 : FROM alpine:3.18 02:32:18 3.18: Pulling from library/alpine 02:32:18 619be1103602: Already exists 02:32:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 02:32:18 Status: Downloaded newer image for alpine:3.18 02:32:18 ---> d3782b16ccc9 02:32:18 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:32:18 ---> Running in cfa9e4ef2228 02:32:18 Removing intermediate container cfa9e4ef2228 02:32:18 ---> 3312b5e2cb97 02:32:18 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:32:18 ---> Running in e6eabe70fccb 02:32:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:19 (1/1) Installing dumb-init (1.2.5-r2) 02:32:19 Executing busybox-1.36.1-r5.trigger 02:32:19 OK: 7 MiB in 16 packages 02:32:20 Removing intermediate container e6eabe70fccb 02:32:20 ---> a78f8f578f62 02:32:20 Step 14/24 : RUN apk --no-cache upgrade 02:32:20 ---> Running in 3dfb012cf11a 02:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:21 Upgrading critical system libraries and apk-tools: 02:32:21 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:32:21 Executing busybox-1.36.1-r5.trigger 02:32:21 Continuing the upgrade transaction with new apk-tools: 02:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:21 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r7) 02:32:21 Executing busybox-1.36.1-r7.post-upgrade 02:32:21 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r7) 02:32:21 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 02:32:21 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 02:32:21 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 02:32:21 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r7) 02:32:21 Executing busybox-1.36.1-r7.trigger 02:32:21 OK: 7 MiB in 16 packages 02:32:22 Removing intermediate container 3dfb012cf11a 02:32:22 ---> 08d816e999dc 02:32:22 Step 15/24 : WORKDIR / 02:32:22 ---> Running in 5d364f12af47 02:32:22 Removing intermediate container 5d364f12af47 02:32:22 ---> 5716f5445bc8 02:32:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:32:22 ---> 9393c69d75c5 02:32:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:32:23 ---> b5f2374ad446 02:32:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:32:24 ---> 3e3d522bb8e9 02:32:24 Step 19/24 : EXPOSE 59999 02:32:24 ---> Running in 8e64b072e682 02:32:24 Removing intermediate container 8e64b072e682 02:32:24 ---> ab2b4c116648 02:32:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:32:24 ---> Running in 6330e780318b 02:32:24 Removing intermediate container 6330e780318b 02:32:24 ---> 87bac20d1caa 02:32:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:32:24 ---> Running in f698248f07fb 02:32:24 Removing intermediate container f698248f07fb 02:32:24 ---> d2979cad73f3 02:32:24 Step 22/24 : LABEL arch=amd64 02:32:24 ---> Running in 65a3972847ce 02:32:24 Removing intermediate container 65a3972847ce 02:32:24 ---> d7fc2982f572 02:32:24 Step 23/24 : LABEL git_sha=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 02:32:24 ---> Running in 8d314b669b37 02:32:24 Removing intermediate container 8d314b669b37 02:32:24 ---> 71e1095c3a39 02:32:24 Step 24/24 : LABEL version=0.0.0 02:32:24 ---> Running in dd4a7b68e142 02:32:24 Removing intermediate container dd4a7b68e142 02:32:24 ---> 634ad2f92130 02:32:24 [Warning] One or more build-args [ARCH] were not consumed 02:32:24 Successfully built 634ad2f92130 02:32:24 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 02:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:25 02:32:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:25 latest: Pulling from edgex-lftools-log-publisher 02:32:25 5eb5b503b376: Pulling fs layer 02:32:25 5c69ac0246d0: Pulling fs layer 02:32:25 ec43610c2a17: Pulling fs layer 02:32:25 3a2ae6a8a46f: Pulling fs layer 02:32:25 33b1e0a273af: Pulling fs layer 02:32:25 5d3b04190fa2: Pulling fs layer 02:32:25 2f39f015ded8: Pulling fs layer 02:32:25 3a2ae6a8a46f: Waiting 02:32:25 33b1e0a273af: Waiting 02:32:25 5d3b04190fa2: Waiting 02:32:25 5c69ac0246d0: Verifying Checksum 02:32:25 5c69ac0246d0: Download complete 02:32:25 3a2ae6a8a46f: Download complete 02:32:25 33b1e0a273af: Verifying Checksum 02:32:25 33b1e0a273af: Download complete 02:32:25 5d3b04190fa2: Verifying Checksum 02:32:25 5d3b04190fa2: Download complete 02:32:25 ec43610c2a17: Verifying Checksum 02:32:25 ec43610c2a17: Download complete 02:32:26 5eb5b503b376: Verifying Checksum 02:32:26 5eb5b503b376: Download complete 02:32:26 2f39f015ded8: Download complete 02:32:27 5eb5b503b376: Pull complete 02:32:27 5c69ac0246d0: Pull complete 02:32:27 ec43610c2a17: Pull complete 02:32:27 3a2ae6a8a46f: Pull complete 02:32:28 33b1e0a273af: Pull complete 02:32:28 5d3b04190fa2: Pull complete 02:32:32 2f39f015ded8: Pull complete 02:32:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:32 prd-ubuntu20.04-docker-8c-8g-3968 does not seem to be running inside a container 02:32:32 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 02:32:36 $ docker top 72c37a69095a176fa75f9ee59640e1e61d24954dfd0a7bcac94fc841ac9a2848 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:37 ---> job-cost.sh 02:32:37 lf-activate-venv: SKIPPING 02:32:37 INFO: No Stack... 02:32:37 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:37 INFO: Archiving Costs [Pipeline] sh 02:32:38 + + catcut /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv -d, 02:32:38 -f6 [Pipeline] lock 02:32:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] 02:32:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] did not exist. Created. 02:32:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:38 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:38 Stashed 1 file(s) [Pipeline] } 02:32:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:38 $ docker stop --time=1 72c37a69095a176fa75f9ee59640e1e61d24954dfd0a7bcac94fc841ac9a2848 02:32:40 $ docker rm -f --volumes 72c37a69095a176fa75f9ee59640e1e61d24954dfd0a7bcac94fc841ac9a2848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:33:41 Removing intermediate container 15ef3b68d474 02:33:41 ---> e20172f36cef 02:33:41 Step 9/10 : COPY . . 02:33:41 ---> 9486d7cb0391 02:33:41 Step 10/10 : RUN ${MAKE} 02:33:41 ---> Running in 5120cefb9f0e 02:33:41 noop 02:33:41 Removing intermediate container 5120cefb9f0e 02:33:41 ---> cfc10b4a1dc4 02:33:41 Successfully built cfc10b4a1dc4 02:33:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:41 + docker inspect -f . ci-base-image-arm64 02:33:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:41 prd-ubuntu20.04-docker-arm64-4c-16g-3969 does not seem to be running inside a container 02:33:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 02:33:43 $ docker top 5b20a91531968c10295ecb4baba58e90bf486e48155769d437c3b39031be9b27 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:43 + go version 02:33:43 go version go1.21.9 linux/arm64 [Pipeline] } 02:33:43 $ docker stop --time=1 5b20a91531968c10295ecb4baba58e90bf486e48155769d437c3b39031be9b27 02:33:45 $ docker rm -f --volumes 5b20a91531968c10295ecb4baba58e90bf486e48155769d437c3b39031be9b27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:46 + docker inspect -f . ci-base-image-arm64 02:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:46 prd-ubuntu20.04-docker-arm64-4c-16g-3969 does not seem to be running inside a container 02:33:46 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 02:33:47 $ docker top 724c8948baa050a81801016ea9599bf9a9f537e7e826585130a5e4c1eb397858 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh 02:33:48 + make test 02:33:48 go test -race -coverprofile=coverage.out ./... 02:34:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:37:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:37:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:37:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:37:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:37:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:37:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.239s coverage: 27.0% of statements 02:37:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.281s coverage: 81.5% of statements 02:38:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:38:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:38:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.447s coverage: 86.0% of statements 02:38:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:38:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.545s coverage: 71.8% of statements 02:38:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.285s coverage: 14.4% of statements 02:38:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:38:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:38:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.584s coverage: 45.9% of statements 02:38:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.457s coverage: 68.5% of statements 02:38:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.493s coverage: 89.2% of statements 02:38:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:38:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.341s coverage: 5.4% of statements 02:38:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:38:22 GO111MODULE=on go vet ./... 02:41:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:58 ./bin/test-attribution-txt.sh 02:41:58 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:41:58 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:41:59 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:41:59 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:41:59 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:41:59 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:41:59 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:41:59 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:41:59 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:41:59 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:41:59 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:41:59 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:41:59 $ docker stop --time=1 724c8948baa050a81801016ea9599bf9a9f537e7e826585130a5e4c1eb397858 02:42:01 $ docker rm -f --volumes 724c8948baa050a81801016ea9599bf9a9f537e7e826585130a5e4c1eb397858 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:03 Warning: overwriting stash ‘coverage-report’ 02:42:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:04 + ls -al . 02:42:04 total 372 02:42:04 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 02:33 . 02:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 02:30 .. 02:42:04 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 02:30 .dockerignore 02:42:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 02:30 .git 02:42:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 02:30 .github 02:42:04 -rw-rw-r-- 1 jenkins jenkins 137 Jun 19 02:30 .gitignore 02:42:04 -rw-rw-r-- 1 jenkins jenkins 42 Jun 19 02:30 .golangci.yml 02:42:04 -rw-rw-r-- 1 jenkins jenkins 48109 Jun 19 02:30 CHANGELOG.md 02:42:04 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 02:30 GOVERNANCE.md 02:42:04 -rw-rw-r-- 1 jenkins jenkins 885 Jun 19 02:30 Jenkinsfile 02:42:04 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 19 02:30 LICENSE 02:42:04 -rw-rw-r-- 1 jenkins jenkins 1842 Jun 19 02:30 Makefile 02:42:04 -rw-rw-r-- 1 jenkins jenkins 619 Jun 19 02:30 OWNERS.md 02:42:04 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 19 02:30 README.md 02:42:04 -rw-rw-r-- 1 jenkins jenkins 5 Jun 19 02:28 VERSION 02:42:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 02:30 bin 02:42:04 -rw-r--r-- 1 jenkins jenkins 122495 Jun 19 02:38 coverage.out 02:42:04 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 02:30 example 02:42:04 -rw-rw-r-- 1 jenkins jenkins 7101 Jun 19 02:30 go.mod 02:42:04 -rw-rw-r-- 1 jenkins jenkins 101596 Jun 19 02:30 go.sum 02:42:04 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 02:30 internal 02:42:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 02:30 openapi 02:42:04 drwxrwxr-x 6 jenkins jenkins 4096 Jun 19 02:30 pkg 02:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 02:30 snap 02:42:04 -rw-rw-r-- 1 jenkins jenkins 222 Jun 19 02:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:05 + 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=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f --label arch=arm64 --label version=0.0.0 . 02:42:05 Sending build context to Docker daemon 13.31MB 02:42:05 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:42:05 Step 2/24 : FROM ${BASE} AS builder 02:42:05 ---> cfc10b4a1dc4 02:42:05 Step 3/24 : ARG MAKE=make build 02:42:06 ---> Running in 43725e285e33 02:42:06 Removing intermediate container 43725e285e33 02:42:06 ---> 7f23c0dabd5c 02:42:06 Step 4/24 : WORKDIR /device-sdk-go 02:42:06 ---> Running in c217c8b075b9 02:42:06 Removing intermediate container c217c8b075b9 02:42:06 ---> e0ce87cd559c 02:42:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:42:06 ---> Running in f94fcae91606 02:42:07 Removing intermediate container f94fcae91606 02:42:07 ---> c164434fa9d9 02:42:07 Step 6/24 : RUN apk add --update --no-cache make git 02:42:07 ---> Running in f76d8610a131 02:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:42:09 OK: 266 MiB in 52 packages 02:42:10 Removing intermediate container f76d8610a131 02:42:10 ---> 6bac754edcc4 02:42:10 Step 7/24 : COPY go.mod vendor* ./ 02:42:10 ---> 8956fa61674d 02:42:10 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:10 ---> Running in 9902aa1dbd7a 02:42:13 Removing intermediate container 9902aa1dbd7a 02:42:13 ---> f4ae198a16aa 02:42:13 Step 9/24 : COPY . . 02:42:14 ---> 5094596d0338 02:42:14 Step 10/24 : RUN ${MAKE} 02:42:14 ---> Running in 1197db8c0fa9 02:42:15 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 02:45:37 Removing intermediate container 1197db8c0fa9 02:45:37 ---> 118683a25481 02:45:37 Step 11/24 : FROM alpine:3.18 02:45:37 3.18: Pulling from library/alpine 02:45:37 c6b39de5b339: Already exists 02:45:37 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 02:45:37 Status: Downloaded newer image for alpine:3.18 02:45:37 ---> 33abbf032149 02:45:37 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:45:37 ---> Running in 18574b1e150d 02:45:37 Removing intermediate container 18574b1e150d 02:45:37 ---> f3f0cb5049b9 02:45:37 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:45:37 ---> Running in 2a7b67f1952f 02:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:37 (1/1) Installing dumb-init (1.2.5-r2) 02:45:37 Executing busybox-1.36.1-r5.trigger 02:45:37 OK: 8 MiB in 16 packages 02:45:37 Removing intermediate container 2a7b67f1952f 02:45:37 ---> 5493cf0c57b4 02:45:37 Step 14/24 : RUN apk --no-cache upgrade 02:45:37 ---> Running in ba237ff11152 02:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:39 Upgrading critical system libraries and apk-tools: 02:45:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 02:45:39 Executing busybox-1.36.1-r5.trigger 02:45:39 Continuing the upgrade transaction with new apk-tools: 02:45:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:45:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:45:40 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r7) 02:45:40 Executing busybox-1.36.1-r7.post-upgrade 02:45:40 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r7) 02:45:40 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 02:45:40 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 02:45:40 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 02:45:40 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r7) 02:45:40 Executing busybox-1.36.1-r7.trigger 02:45:40 OK: 8 MiB in 16 packages 02:45:42 Removing intermediate container ba237ff11152 02:45:42 ---> 3582050909ea 02:45:42 Step 15/24 : WORKDIR / 02:45:42 ---> Running in 0ebfcce37a3b 02:45:42 Removing intermediate container 0ebfcce37a3b 02:45:42 ---> 9af40fe55e3a 02:45:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:45:43 ---> 54dac8973562 02:45:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:45:45 ---> f5a076cfd06c 02:45:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:45:45 ---> 2c92820a6521 02:45:45 Step 19/24 : EXPOSE 59999 02:45:45 ---> Running in 09b331f7f3bc 02:45:46 Removing intermediate container 09b331f7f3bc 02:45:46 ---> 5fc1fe738508 02:45:46 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:45:46 ---> Running in 96bdf78b738a 02:45:46 Removing intermediate container 96bdf78b738a 02:45:46 ---> eda4b8ef8b07 02:45:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:45:46 ---> Running in e9d1531dc354 02:45:47 Removing intermediate container e9d1531dc354 02:45:47 ---> 104b61adf3f9 02:45:47 Step 22/24 : LABEL arch=arm64 02:45:47 ---> Running in 1a95dbb8d8a1 02:45:47 Removing intermediate container 1a95dbb8d8a1 02:45:47 ---> a11a29a821c5 02:45:47 Step 23/24 : LABEL git_sha=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f 02:45:47 ---> Running in c48873bda0bf 02:45:47 Removing intermediate container c48873bda0bf 02:45:47 ---> f4f989509f00 02:45:47 Step 24/24 : LABEL version=0.0.0 02:45:47 ---> Running in 2a6c1737a48b 02:45:47 Removing intermediate container 2a6c1737a48b 02:45:47 ---> b6bab9bf3872 02:45:47 [Warning] One or more build-args [ARCH] were not consumed 02:45:47 Successfully built b6bab9bf3872 02:45:47 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 02:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:48 02:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:48 arm64: Pulling from edgex-lftools-log-publisher 02:45:48 8998bd30e6a1: Pulling fs layer 02:45:48 04944245beec: Pulling fs layer 02:45:48 699f458cf7ca: Pulling fs layer 02:45:48 765212b225bb: Pulling fs layer 02:45:48 f23df028b6ca: Pulling fs layer 02:45:48 d65c8cfc05b1: Pulling fs layer 02:45:48 2437ff75d9bd: Pulling fs layer 02:45:48 765212b225bb: Waiting 02:45:48 f23df028b6ca: Waiting 02:45:48 d65c8cfc05b1: Waiting 02:45:48 2437ff75d9bd: Waiting 02:45:49 04944245beec: Verifying Checksum 02:45:49 04944245beec: Download complete 02:45:49 765212b225bb: Verifying Checksum 02:45:49 765212b225bb: Download complete 02:45:49 f23df028b6ca: Download complete 02:45:49 d65c8cfc05b1: Download complete 02:45:49 699f458cf7ca: Verifying Checksum 02:45:49 699f458cf7ca: Download complete 02:45:49 8998bd30e6a1: Verifying Checksum 02:45:49 8998bd30e6a1: Download complete 02:45:52 2437ff75d9bd: Verifying Checksum 02:45:52 2437ff75d9bd: Download complete 02:45:54 8998bd30e6a1: Pull complete 02:45:54 04944245beec: Pull complete 02:45:56 699f458cf7ca: Pull complete 02:45:56 765212b225bb: Pull complete 02:45:57 f23df028b6ca: Pull complete 02:45:57 d65c8cfc05b1: Pull complete 02:46:15 2437ff75d9bd: Pull complete 02:46:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:46:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:15 prd-ubuntu20.04-docker-arm64-4c-16g-3969 does not seem to be running inside a container 02:46:15 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 02:46:18 $ docker top 956b6f91b1dcb5553b8767342cc45b31917be084da80a0cefa5fbb5a698ca2f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:19 ---> job-cost.sh 02:46:19 lf-activate-venv: SKIPPING 02:46:19 INFO: No Stack... 02:46:19 INFO: Retrieving Pricing Info for: v3-standard-4 02:46:20 INFO: Archiving Costs [Pipeline] sh 02:46:20 + cut -d, -f6 02:46:20 + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock 02:46:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] 02:46:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] did not exist. Created. 02:46:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:46:21 /w/workspace/device-sdk-go/7@tmp/durable-141724aa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:46:22 + echo total: 0.10999999940395355 [Pipeline] stash 02:46:22 Warning: overwriting stash ‘stack-cost’ 02:46:22 Stashed 1 file(s) [Pipeline] } 02:46:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-7-stack-cost] [Pipeline] // lock [Pipeline] } 02:46:22 $ docker stop --time=1 956b6f91b1dcb5553b8767342cc45b31917be084da80a0cefa5fbb5a698ca2f0 02:46:23 $ docker rm -f --volumes 956b6f91b1dcb5553b8767342cc45b31917be084da80a0cefa5fbb5a698ca2f0 [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 02:46:24 provisioning config files... 02:46:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config11213652410911039371tmp [Pipeline] { [Pipeline] sh 02:46:24 + set +x 02:46:24 + curl -s https://codecov.io/bash 02:46:24 + bash -s -- 02:46:24 02:46:24 _____ _ 02:46:24 / ____| | | 02:46:24 | | ___ __| | ___ ___ _____ __ 02:46:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:46:24 | |___| (_) | (_| | __/ (_| (_) \ V / 02:46:24 \_____\___/ \__,_|\___|\___\___/ \_/ 02:46:24 Bash-1.0.6 02:46:24 02:46:24 02:46:24 ==> git version 2.25.1 found 02:46:24 ==> 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 02:46:24 Release-Date: 2020-01-08 02:46:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:46:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:46:24 ==> Jenkins CI detected. 02:46:24 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1580 02:46:24 project root: . 02:46:24 --> token set from env 02:46:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:46:24 ==> Running gcov in . (disable via -X gcov) 02:46:24 ==> Python coveragepy not found 02:46:24 ==> Searching for coverage reports in: 02:46:24 + . 02:46:25 -> Found 1 reports 02:46:25 ==> Detecting git/mercurial file structure 02:46:25 ==> Reading reports 02:46:25 + ./coverage.out bytes=122495 02:46:25 ==> Appending adjustments 02:46:25 https://docs.codecov.io/docs/fixing-reports 02:46:25 + Found adjustments 02:46:25 ==> Gzipping contents 02:46:25 20K /tmp/codecov.ZvtlPv.gz 02:46:25 ==> Uploading reports 02:46:25 url: https://codecov.io 02:46:25 query: branch=PR-1580&commit=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= 02:46:25 -> Pinging Codecov 02:46:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1580&commit=5dab4a1a971ef3a04e4edd09c3a19ba5782be86f&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= 02:46:25 -> Uploading to 02:46:25 https://storage.googleapis.com/codecov/v4/raw/2024-06-19/7E55EF52A471D76F132DFD9A03CDDE97/5dab4a1a971ef3a04e4edd09c3a19ba5782be86f/f8cf3ab4-b06c-44b6-982e-3f46821d4985.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240619%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240619T024625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec3f39ac8a43a67cfcce70497286ea9e2495ced1a27550cecdf9924f0b73b54a 02:46:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:46:25 Dload Upload Total Spent Left Speed 02:46:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16783 0 0 100 16783 0 81077 --:--:-- --:--:-- --:--:-- 80687 100 16783 0 0 100 16783 0 64799 --:--:-- --:--:-- --:--:-- 64799 02:46:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5dab4a1a971ef3a04e4edd09c3a19ba5782be86f [Pipeline] } 02:46:25 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 02:46:26 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] 02:46:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 02:46:26 total 16 02:46:26 drwxr-xr-x 3 root root 4096 Jun 19 02:32 . 02:46:26 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 02:32 .. 02:46:26 drwxr-xr-x 2 root root 4096 Jun 19 02:32 cost 02:46:26 -rw-r--r-- 1 root root 86 Jun 19 02:32 cost.csv 02:46:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 02:46:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 02:46:26 total 16 02:46:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 02:32 . 02:46:26 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 02:32 .. 02:46:26 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 02:32 cost 02:46:26 -rw-r--r-- 1 jenkins jenkins 86 Jun 19 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:46:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:46:27 ---> package-listing.sh 02:46:27 ++ facter osfamily 02:46:27 ++ tr '[:upper:]' '[:lower:]' 02:46:28 + OS_FAMILY=debian 02:46:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 02:46:28 + START_PACKAGES=/tmp/packages_start.txt 02:46:28 + END_PACKAGES=/tmp/packages_end.txt 02:46:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:46:28 + PACKAGES=/tmp/packages_start.txt 02:46:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 02:46:28 + PACKAGES=/tmp/packages_end.txt 02:46:28 + case "${OS_FAMILY}" in 02:46:28 + dpkg -l 02:46:28 + grep '^ii' 02:46:28 + '[' -f /tmp/packages_start.txt ']' 02:46:28 + '[' -f /tmp/packages_end.txt ']' 02:46:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:46:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 02:46:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ 02:46:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo 02:46:28 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-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:46:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:29 prd-ubuntu20.04-docker-8c-8g-3968 does not seem to be running inside a container 02:46:29 $ 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-1580/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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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 02:46:29 $ docker top 119fd165258e226d889193471e2ff173c3c0ed3d6bc91a0a627a1921df377c40 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:29 + touch /tmp/pre-build-complete [Pipeline] sh 02:46:30 + mkdir -p /var/log/sysstat [Pipeline] sh 02:46:30 + ls /var/log/sa-host 02:46:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:30 provisioning config files... 02:46:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config17738813179913345444tmp [Pipeline] { [Pipeline] echo 02:46:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:46:31 ---> create-netrc.sh [Pipeline] } 02:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:46:31 ---> python-tools-install.sh [Pipeline] echo 02:46:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:46:31 ---> sudo-logs.sh 02:46:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:46:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:46:32 ---> job-cost.sh 02:46:32 lf-activate-venv: SKIPPING 02:46:32 DEBUG: total: 0.2199999988079071 02:46:32 INFO: Retrieving Stack Cost... 02:46:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:32 INFO: Archiving Costs [Pipeline] echo 02:46:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:46:33 ---> logs-deploy.sh 02:46:33 lf-activate-venv: SKIPPING 02:46:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/7 02:46:33 INFO: archiving workspace using pattern(s): 02:46:34 Archives upload complete. 02:46:34 INFO: archiving logs to Nexus