Pull request #1603 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5420c36d1ddd1543829903effd084c67805c7263+14bbcd9f0286f5af5971c01a4e00ee25c9ded14d (f807fc0bcedaa281648a57a96698895eb2f8cba3) 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-ssh1490290001274759936.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-ssh2681802103904810578.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2767433807893994998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6807908605413951314.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh647663177650310847.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1603/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1603/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17883943991943065270.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6402 in /w/workspace/gexfoundry_device-sdk-go_PR-1603 [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-1603 # 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 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d into PR head commit 5420c36d1ddd1543829903effd084c67805c7263 Merge succeeded, producing 5420c36d1ddd1543829903effd084c67805c7263 Checking out Revision 5420c36d1ddd1543829903effd084c67805c7263 (PR-1603) > 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/1603/head:refs/remotes/origin/PR-1603 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5420c36d1ddd1543829903effd084c67805c7263 # 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 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5420c36d1ddd1543829903effd084c67805c7263 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:09:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:09:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:09:35 ========================================================= 04:09:35 EdgeX Global Pipelines Version Info 04:09:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:09:36 ------------------- 04:09:36 stable info: 04:09:36 ------------------- 04:09:36 Commited By: Ginny Guan ginny@iotechsys.com 04:09:36 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:09:36 Message: update stable to v1.0.260 04:09:36 ------------------- 04:09:36 experimental info: 04:09:36 ------------------- 04:09:36 Commited By: Ginny Guan ginny@iotechsys.com 04:09:36 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:09:36 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1603 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1603 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1603 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5420c36d1ddd1543829903effd084c67805c7263 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5420c36 [Pipeline] echo 04:09:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:38 provisioning config files... 04:09:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/config15703803211582941517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:39 ---> ****-login.sh 04:09:39 nexus3.edgexfoundry.org:10001 04:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:40 Configure a credential helper to remove this warning. See 04:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:40 04:09:40 Login Succeeded 04:09:40 nexus3.edgexfoundry.org:10002 04:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:40 Configure a credential helper to remove this warning. See 04:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:40 04:09:40 Login Succeeded 04:09:40 nexus3.edgexfoundry.org:10003 04:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:40 Configure a credential helper to remove this warning. See 04:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:40 04:09:40 Login Succeeded 04:09:40 nexus3.edgexfoundry.org:10004 04:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:40 Configure a credential helper to remove this warning. See 04:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:40 04:09:40 Login Succeeded 04:09:40 ****.io 04:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:41 Configure a credential helper to remove this warning. See 04:09:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:41 04:09:41 Login Succeeded 04:09:41 ---> ****-login.sh ends [Pipeline] } 04:09:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:41 + git rev-list -1 --merges 5420c36d1ddd1543829903effd084c67805c7263~1..5420c36d1ddd1543829903effd084c67805c7263 [Pipeline] echo 04:09:41 -----------> git rev-list -1 --merges 5420c36d1ddd1543829903effd084c67805c7263~1..5420c36d1ddd1543829903effd084c67805c7263 5420c36d1ddd1543829903effd084c67805c7263 [false] [Pipeline] sh 04:09:42 + git log --format=format:%s -1 5420c36d1ddd1543829903effd084c67805c7263 [Pipeline] echo 04:09:42 ========================================================= 04:09:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:42 + git log --format=format:%s -1 5420c36d1ddd1543829903effd084c67805c7263 [Pipeline] echo 04:09:42 [semverPrep] GIT_COMMIT: 5420c36d1ddd1543829903effd084c67805c7263, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:09:42 [semverPrep] This is not a build commit. [Pipeline] sh 04:09:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:09:43 + grep -v github /etc/ssh/ssh_known_hosts 04:09:43 + [ -e /tmp/ssh_known_hosts ] 04:09:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:09:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:09:43 + sudo tee -a /etc/ssh/ssh_known_hosts 04:09:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:44 04:09:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:44 0.1.4: Pulling from edgex-devops/py-git-semver 04:09:44 b85a868b505f: Pulling fs layer 04:09:44 e2be974225ed: Pulling fs layer 04:09:44 339a4e72a1f5: Pulling fs layer 04:09:44 988bab9f4d93: Pulling fs layer 04:09:44 1469e6f7b9e6: Pulling fs layer 04:09:44 eaf3925da568: Pulling fs layer 04:09:44 bab4dde63d76: Pulling fs layer 04:09:44 bde34c3a00c8: Pulling fs layer 04:09:44 b352a97aabf1: Pulling fs layer 04:09:44 4872d77fe225: Pulling fs layer 04:09:44 5851b861e8e6: Pulling fs layer 04:09:44 1469e6f7b9e6: Waiting 04:09:44 eaf3925da568: Waiting 04:09:44 bab4dde63d76: Waiting 04:09:44 bde34c3a00c8: Waiting 04:09:44 b352a97aabf1: Waiting 04:09:44 4872d77fe225: Waiting 04:09:44 5851b861e8e6: Waiting 04:09:44 988bab9f4d93: Waiting 04:09:44 e2be974225ed: Verifying Checksum 04:09:44 e2be974225ed: Download complete 04:09:44 988bab9f4d93: Verifying Checksum 04:09:44 988bab9f4d93: Download complete 04:09:44 1469e6f7b9e6: Verifying Checksum 04:09:44 1469e6f7b9e6: Download complete 04:09:44 339a4e72a1f5: Verifying Checksum 04:09:44 339a4e72a1f5: Download complete 04:09:44 eaf3925da568: Verifying Checksum 04:09:44 eaf3925da568: Download complete 04:09:44 bde34c3a00c8: Download complete 04:09:44 b352a97aabf1: Verifying Checksum 04:09:44 b352a97aabf1: Download complete 04:09:44 4872d77fe225: Verifying Checksum 04:09:44 4872d77fe225: Download complete 04:09:44 5851b861e8e6: Verifying Checksum 04:09:44 5851b861e8e6: Download complete 04:09:44 b85a868b505f: Download complete 04:09:45 bab4dde63d76: Verifying Checksum 04:09:45 bab4dde63d76: Download complete 04:09:46 b85a868b505f: Pull complete 04:09:46 e2be974225ed: Pull complete 04:09:46 339a4e72a1f5: Pull complete 04:09:46 988bab9f4d93: Pull complete 04:09:47 1469e6f7b9e6: Pull complete 04:09:47 eaf3925da568: Pull complete 04:09:49 bab4dde63d76: Pull complete 04:09:49 bde34c3a00c8: Pull complete 04:09:49 b352a97aabf1: Pull complete 04:09:49 4872d77fe225: Pull complete 04:09:49 5851b861e8e6: Pull complete 04:09:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:49 prd-ubuntu20.04-docker-8c-8g-6402 does not seem to be running inside a container 04:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1603 -v /w/workspace/gexfoundry_device-sdk-go_PR-1603:/w/workspace/gexfoundry_device-sdk-go_PR-1603:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:09:52 $ docker top 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b -eo pid,comm 04:09:52 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). 04:09:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:53 [ssh-agent] Looking for ssh-agent implementation... 04:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:53 $ docker exec 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b ssh-agent 04:09:53 SSH_AUTH_SOCK=/tmp/ssh-8fuWvTOoAJAK/agent.33 04:09:53 SSH_AGENT_PID=39 04:09:53 Running ssh-add (command line suppressed) 04:09:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/private_key_13696275563061398368.key (/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/private_key_13696275563061398368.key) 04:09:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:53 + git tag --points-at HEAD [Pipeline] } 04:09:53 $ docker exec --env ******** --env ******** 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b ssh-agent -k 04:09:53 unset SSH_AUTH_SOCK; 04:09:53 unset SSH_AGENT_PID; 04:09:53 echo Agent pid 39 killed; 04:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:54 [ssh-agent] Looking for ssh-agent implementation... 04:09:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:54 $ docker exec 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b ssh-agent 04:09:54 SSH_AUTH_SOCK=/tmp/ssh-QacmpmpbXR7J/agent.72 04:09:54 SSH_AGENT_PID=78 04:09:54 Running ssh-add (command line suppressed) 04:09:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/private_key_2390471206111756250.key (/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/private_key_2390471206111756250.key) 04:09:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:54 + git semver init 04:09:55 2024-07-25 04:09:55,007 [run_init] DEBUG init version:0.0.0 force:False 04:09:55 2024-07-25 04:09:55,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver 04:09:55 2024-07-25 04:09:55,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver 04:09:55 2024-07-25 04:09:55,009 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1603, universal_newlines=False, shell=None, istream=None) 04:09:57 2024-07-25 04:09:57,125 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603/.git/info/exclude 04:09:57 2024-07-25 04:09:57,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver/PR-1603 with force:False 04:09:57 2024-07-25 04:09:57,126 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver/PR-1603 04:09:57 2024-07-25 04:09:57,131 [execute] INFO git cat-file --batch-check 04:09:57 2024-07-25 04:09:57,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver, universal_newlines=False, shell=None, istream=) 04:09:57 2024-07-25 04:09:57,137 [execute] INFO git cat-file --batch 04:09:57 2024-07-25 04:09:57,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver, universal_newlines=False, shell=None, istream=) 04:09:57 2024-07-25 04:09:57,141 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1603/.semver/PR-1603 04:09:57 0.0.0 [Pipeline] } 04:09:57 $ docker exec --env ******** --env ******** 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b ssh-agent -k 04:09:57 unset SSH_AUTH_SOCK; 04:09:57 unset SSH_AGENT_PID; 04:09:57 echo Agent pid 78 killed; 04:09:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:58 + git semver [Pipeline] } 04:09:58 $ docker stop --time=1 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b 04:09:59 $ docker rm -f --volumes 2e7acd1161c42b2df1d1eac01952da86100c616aed48ee2a42af39124a8ca40b [Pipeline] // withDockerContainer [Pipeline] sh 04:10:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:10:00 Stashed 1 file(s) [Pipeline] echo 04:10:00 [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 04:10:01 provisioning config files... 04:10:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/config5418266457874541976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:01 ---> ****-login.sh 04:10:01 nexus3.edgexfoundry.org:10001 04:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:10:01 Configure a credential helper to remove this warning. See 04:10:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:10:01 04:10:01 Login Succeeded 04:10:01 nexus3.edgexfoundry.org:10002 04:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:10:01 Configure a credential helper to remove this warning. See 04:10:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:10:01 04:10:01 Login Succeeded 04:10:01 nexus3.edgexfoundry.org:10003 04:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:10:02 Configure a credential helper to remove this warning. See 04:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:10:02 04:10:02 Login Succeeded 04:10:02 nexus3.edgexfoundry.org:10004 04:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:10:02 Configure a credential helper to remove this warning. See 04:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:10:02 04:10:02 Login Succeeded 04:10:02 ****.io 04:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:10:02 Configure a credential helper to remove this warning. See 04:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:10:02 04:10:02 Login Succeeded 04:10:02 ---> ****-login.sh ends [Pipeline] } 04:10:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:10:03 ========================================================= 04:10:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:10:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:03 + 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 . 04:10:03 Sending build context to Docker daemon 25.12MB 04:10:03 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:10:03 Step 2/10 : FROM ${BASE} AS builder 04:10:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:10:03 619be1103602: Pulling fs layer 04:10:03 7862e08f4a3e: Pulling fs layer 04:10:03 5df492c9dc93: Pulling fs layer 04:10:03 7629e6793208: Pulling fs layer 04:10:03 4f4fb700ef54: Pulling fs layer 04:10:03 fb5054dd5b73: Pulling fs layer 04:10:03 eeca6798cff9: Pulling fs layer 04:10:03 aa269ceb94a6: Pulling fs layer 04:10:03 ada007ff1a6a: Pulling fs layer 04:10:03 7629e6793208: Waiting 04:10:03 4f4fb700ef54: Waiting 04:10:03 fb5054dd5b73: Waiting 04:10:03 eeca6798cff9: Waiting 04:10:03 aa269ceb94a6: Waiting 04:10:03 ada007ff1a6a: Waiting 04:10:03 7862e08f4a3e: Verifying Checksum 04:10:03 7862e08f4a3e: Download complete 04:10:03 7629e6793208: Verifying Checksum 04:10:03 7629e6793208: Download complete 04:10:03 4f4fb700ef54: Verifying Checksum 04:10:03 4f4fb700ef54: Download complete 04:10:03 fb5054dd5b73: Download complete 04:10:03 619be1103602: Verifying Checksum 04:10:03 619be1103602: Download complete 04:10:03 eeca6798cff9: Verifying Checksum 04:10:03 eeca6798cff9: Download complete 04:10:04 619be1103602: Pull complete 04:10:04 ada007ff1a6a: Verifying Checksum 04:10:04 ada007ff1a6a: Download complete 04:10:04 7862e08f4a3e: Pull complete 04:10:04 5df492c9dc93: Verifying Checksum 04:10:04 5df492c9dc93: Download complete 04:10:05 aa269ceb94a6: Verifying Checksum 04:10:05 aa269ceb94a6: Download complete 04:10:07 5df492c9dc93: Pull complete 04:10:07 7629e6793208: Pull complete 04:10:07 4f4fb700ef54: Pull complete 04:10:07 fb5054dd5b73: Pull complete 04:10:08 eeca6798cff9: Pull complete 04:10:10 aa269ceb94a6: Pull complete 04:10:11 ada007ff1a6a: Pull complete 04:10:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:10:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:10:11 ---> f489d0715acc 04:10:11 Step 3/10 : ARG MAKE=make build 04:10:16 Still waiting to schedule task 04:10:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:10:16 ---> Running in c11731afc569 04:10:16 Removing intermediate container c11731afc569 04:10:16 ---> f9f31557e394 04:10:16 Step 4/10 : WORKDIR /device-sdk-go 04:10:16 ---> Running in 10c8ea97291f 04:10:16 Removing intermediate container 10c8ea97291f 04:10:16 ---> a1214f39f4ea 04:10:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:10:16 ---> Running in 290c6c79d2bc 04:10:16 Removing intermediate container 290c6c79d2bc 04:10:16 ---> c2856fa8a8b9 04:10:16 Step 6/10 : RUN apk add --update --no-cache make git 04:10:16 ---> Running in 58d694f742d9 04:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:10:17 OK: 264 MiB in 52 packages 04:10:17 Removing intermediate container 58d694f742d9 04:10:17 ---> 5c8eb94ec6cc 04:10:17 Step 7/10 : COPY go.mod vendor* ./ 04:10:17 ---> 8d65d37a02b0 04:10:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:17 ---> Running in 550a977180f3 04:11:31 Removing intermediate container 550a977180f3 04:11:31 ---> ea2fc438f657 04:11:31 Step 9/10 : COPY . . 04:11:31 ---> 2141b1299d92 04:11:31 Step 10/10 : RUN ${MAKE} 04:11:31 ---> Running in 5a6386be88fe 04:11:31 noop 04:11:31 Removing intermediate container 5a6386be88fe 04:11:31 ---> fcb06b70571b 04:11:31 Successfully built fcb06b70571b 04:11:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:32 + docker inspect -f . ci-base-image-x86_64 04:11:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:32 prd-ubuntu20.04-docker-8c-8g-6402 does not seem to be running inside a container 04:11:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1603 -v /w/workspace/gexfoundry_device-sdk-go_PR-1603:/w/workspace/gexfoundry_device-sdk-go_PR-1603:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1603@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 ******** ci-base-image-x86_64 cat 04:11:32 $ docker top 6906d7aa84ed9bd77cbb59846b6301d63c6f3078139bf9660f81cb5564e9f54a -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:33 + go version 04:11:33 go version go1.21.9 linux/amd64 [Pipeline] } 04:11:33 $ docker stop --time=1 6906d7aa84ed9bd77cbb59846b6301d63c6f3078139bf9660f81cb5564e9f54a 04:11:34 $ docker rm -f --volumes 6906d7aa84ed9bd77cbb59846b6301d63c6f3078139bf9660f81cb5564e9f54a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:35 + docker inspect -f . ci-base-image-x86_64 04:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:35 prd-ubuntu20.04-docker-8c-8g-6402 does not seem to be running inside a container 04:11:35 $ 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-1603 -v /w/workspace/gexfoundry_device-sdk-go_PR-1603:/w/workspace/gexfoundry_device-sdk-go_PR-1603:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1603@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 ******** ci-base-image-x86_64 cat 04:11:35 $ docker top 903b9ba50e008864ba4dbd9c80c234ca7cdecdac0d4dcc7a8126d1806f2439cf -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1603 [Pipeline] fileExists [Pipeline] sh 04:11:36 + make test 04:11:36 go test -race -coverprofile=coverage.out ./... 04:11:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:12:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6403 in /w/workspace/gexfoundry_device-sdk-go_PR-1603 [Pipeline] { [Pipeline] ws 04:12:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:12:06 The recommended git tool is: git 04:12:14 using credential edgex-jenkins-ssh 04:12:14 Cloning the remote Git repository 04:12:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:12:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:12:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:15 > git --version # timeout=10 04:12:15 > git --version # 'git version 2.25.1' 04:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:21 Merging remotes/origin/main commit 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d into PR head commit 5420c36d1ddd1543829903effd084c67805c7263 04:12:22 Merge succeeded, producing 5420c36d1ddd1543829903effd084c67805c7263 04:12:22 Checking out Revision 5420c36d1ddd1543829903effd084c67805c7263 (PR-1603) 04:12:22 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:12:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1603/head:refs/remotes/origin/PR-1603 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:12:21 > git config core.sparsecheckout # timeout=10 04:12:21 > git checkout -f 5420c36d1ddd1543829903effd084c67805c7263 # timeout=10 04:12:22 > git remote # timeout=10 04:12:22 > git config --get remote.origin.url # timeout=10 04:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:22 > git merge 14bbcd9f0286f5af5971c01a4e00ee25c9ded14d # timeout=10 04:12:22 > git rev-parse HEAD^{commit} # timeout=10 04:12:22 > git config core.sparsecheckout # timeout=10 04:12:22 > git checkout -f 5420c36d1ddd1543829903effd084c67805c7263 # timeout=10 04:12:22 > git --version # timeout=10 04:12:22 > git --version # 'git version 2.25.1' 04:12:22 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 27.0% of statements 04:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 80.0% of statements 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.050s coverage: 86.0% of statements 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:12:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:12:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 55.2% of statements 04:12:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.035s coverage: 14.4% of statements 04:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.248s coverage: 44.6% of statements 04:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.057s coverage: 68.5% of statements 04:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 89.2% of statements 04:12:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:12:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:28 Dload Upload Total Spent Left Speed 04:12:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh 04:12:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:12:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:12:28 + sudo tee /etc/docker/daemon.new 04:12:28 { 04:12:28 "registry-mirrors": [ 04:12:28 "https://nexus3.edgexfoundry.org:10001" 04:12:28 ], 04:12:28 "bip": "10.250.0.254/24", 04:12:28 "hosts": [ 04:12:28 "tcp://0.0.0.0:5555", 04:12:28 "unix:///var/run/docker.sock" 04:12:28 ], 04:12:28 "mtu": 1458, 04:12:28 "selinux-enabled": true, 04:12:28 "seccomp-profile": "/etc/docker/seccomp.json" 04:12:28 } [Pipeline] sh 04:12:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:12:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:47 provisioning config files... 04:12:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9062580923213416356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:48 ---> ****-login.sh 04:12:48 nexus3.edgexfoundry.org:10001 04:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:49 Configure a credential helper to remove this warning. See 04:12:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:49 04:12:49 Login Succeeded 04:12:49 nexus3.edgexfoundry.org:10002 04:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:49 Configure a credential helper to remove this warning. See 04:12:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:49 04:12:49 Login Succeeded 04:12:49 nexus3.edgexfoundry.org:10003 04:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:49 Configure a credential helper to remove this warning. See 04:12:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:49 04:12:49 Login Succeeded 04:12:49 nexus3.edgexfoundry.org:10004 04:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:50 Configure a credential helper to remove this warning. See 04:12:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:50 04:12:50 Login Succeeded 04:12:50 ****.io 04:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:51 Configure a credential helper to remove this warning. See 04:12:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:51 04:12:51 Login Succeeded 04:12:51 ---> ****-login.sh ends [Pipeline] } 04:12:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:12:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:12:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:12:51 ========================================================= 04:12:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:12:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:52 + 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 . 04:12:52 Sending build context to Docker daemon 12.99MB 04:12:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:12:52 Step 2/10 : FROM ${BASE} AS builder 04:12:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:12:53 c6b39de5b339: Pulling fs layer 04:12:53 a69c41024577: Pulling fs layer 04:12:53 d6de4b400683: Pulling fs layer 04:12:53 35cb2a7552d0: Pulling fs layer 04:12:53 4f4fb700ef54: Pulling fs layer 04:12:53 464afbd9ba4c: Pulling fs layer 04:12:53 00f215d4a9da: Pulling fs layer 04:12:53 d496ad576159: Pulling fs layer 04:12:53 35cb2a7552d0: Waiting 04:12:53 464afbd9ba4c: Waiting 04:12:53 d496ad576159: Waiting 04:12:53 4f4fb700ef54: Waiting 04:12:53 00f215d4a9da: Waiting 04:12:53 a69c41024577: Verifying Checksum 04:12:53 a69c41024577: Download complete 04:12:53 35cb2a7552d0: Verifying Checksum 04:12:53 35cb2a7552d0: Download complete 04:12:53 4f4fb700ef54: Verifying Checksum 04:12:53 4f4fb700ef54: Download complete 04:12:53 464afbd9ba4c: Verifying Checksum 04:12:53 464afbd9ba4c: Download complete 04:12:53 c6b39de5b339: Download complete 04:12:53 d496ad576159: Verifying Checksum 04:12:53 d496ad576159: Download complete 04:12:54 c6b39de5b339: Pull complete 04:12:55 a69c41024577: Pull complete 04:12:55 d6de4b400683: Verifying Checksum 04:12:55 d6de4b400683: Download complete 04:12:56 00f215d4a9da: Verifying Checksum 04:12:56 00f215d4a9da: Download complete 04:13:06 GO111MODULE=on go vet ./... 04:13:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:13:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:13:07 ./bin/test-attribution-txt.sh 04:13:07 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:13:07 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:13:07 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:13:07 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:13:07 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:13:07 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:13:07 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:13:07 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:13:07 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:13:07 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:13:07 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:13:07 $ docker stop --time=1 903b9ba50e008864ba4dbd9c80c234ca7cdecdac0d4dcc7a8126d1806f2439cf 04:13:09 d6de4b400683: Pull complete 04:13:09 35cb2a7552d0: Pull complete 04:13:09 4f4fb700ef54: Pull complete 04:13:09 464afbd9ba4c: Pull complete 04:13:11 $ docker rm -f --volumes 903b9ba50e008864ba4dbd9c80c234ca7cdecdac0d4dcc7a8126d1806f2439cf [Pipeline] // withDockerContainer [Pipeline] sh 04:13:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:13:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:13:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:13 + ls -al . 04:13:13 total 380 04:13:13 drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 04:11 . 04:13:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:09 .. 04:13:13 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 04:09 .dockerignore 04:13:13 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 04:12 .git 04:13:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:09 .github 04:13:13 -rw-rw-r-- 1 jenkins jenkins 137 Jul 25 04:09 .gitignore 04:13:13 -rw-rw-r-- 1 jenkins jenkins 42 Jul 25 04:09 .golangci.yml 04:13:13 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 04:09 .semver 04:13:13 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 25 04:09 CHANGELOG.md 04:13:13 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 04:09 GOVERNANCE.md 04:13:13 -rw-rw-r-- 1 jenkins jenkins 885 Jul 25 04:09 Jenkinsfile 04:13:13 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 25 04:09 LICENSE 04:13:13 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 25 04:09 Makefile 04:13:13 -rw-rw-r-- 1 jenkins jenkins 619 Jul 25 04:09 OWNERS.md 04:13:13 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 25 04:09 README.md 04:13:13 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 04:10 VERSION 04:13:13 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 04:09 bin 04:13:13 -rw-r--r-- 1 jenkins jenkins 125164 Jul 25 04:12 coverage.out 04:13:13 drwxrwxr-x 5 jenkins jenkins 4096 Jul 25 04:09 example 04:13:13 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 25 04:09 go.mod 04:13:13 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 25 04:09 go.sum 04:13:13 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:09 internal 04:13:13 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:09 openapi 04:13:13 drwxrwxr-x 6 jenkins jenkins 4096 Jul 25 04:09 pkg 04:13:13 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:09 snap 04:13:13 -rw-rw-r-- 1 jenkins jenkins 222 Jul 25 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:13 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5420c36d1ddd1543829903effd084c67805c7263 --label arch=amd64 --label version=0.0.0 . 04:13:13 Sending build context to Docker daemon 25.25MB 04:13:13 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:13:13 Step 2/24 : FROM ${BASE} AS builder 04:13:13 ---> fcb06b70571b 04:13:13 Step 3/24 : ARG MAKE=make build 04:13:14 ---> Running in 521fabd1ff9a 04:13:14 Removing intermediate container 521fabd1ff9a 04:13:14 ---> c4f25b342875 04:13:14 Step 4/24 : WORKDIR /device-sdk-go 04:13:14 ---> Running in a27808f6d821 04:13:14 Removing intermediate container a27808f6d821 04:13:14 ---> 608205cd22e9 04:13:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:13:14 ---> Running in 8e42643e7c87 04:13:14 Removing intermediate container 8e42643e7c87 04:13:14 ---> 29d042127d4d 04:13:14 Step 6/24 : RUN apk add --update --no-cache make git 04:13:14 ---> Running in c064a5170174 04:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:13:15 OK: 264 MiB in 52 packages 04:13:15 Removing intermediate container c064a5170174 04:13:15 ---> acc7c962b092 04:13:15 Step 7/24 : COPY go.mod vendor* ./ 04:13:15 ---> 3fa06041eb26 04:13:15 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:15 ---> Running in c1ffd7ad7db5 04:13:16 Removing intermediate container c1ffd7ad7db5 04:13:16 ---> ed5344261425 04:13:16 Step 9/24 : COPY . . 04:13:17 ---> 4b3966627b05 04:13:17 Step 10/24 : RUN ${MAKE} 04:13:17 ---> Running in b1ab783d0ebd 04:13:17 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 04:13:19 00f215d4a9da: Pull complete 04:13:20 d496ad576159: Pull complete 04:13:20 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:13:20 ---> f246e2811388 04:13:20 Step 3/10 : ARG MAKE=make build 04:13:21 ---> Running in 288b5c6a5654 04:13:21 Removing intermediate container 288b5c6a5654 04:13:21 ---> 1b538fd386bd 04:13:21 Step 4/10 : WORKDIR /device-sdk-go 04:13:21 ---> Running in 489f18bc65f3 04:13:21 Removing intermediate container 489f18bc65f3 04:13:21 ---> f069fdfdd309 04:13:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:13:21 ---> Running in 0c37e3fe2f78 04:13:22 Removing intermediate container 0c37e3fe2f78 04:13:22 ---> 5cff4c2a7e1e 04:13:22 Step 6/10 : RUN apk add --update --no-cache make git 04:13:22 ---> Running in 061b393479ca 04:13:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:13:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:13:25 OK: 266 MiB in 52 packages 04:13:26 Removing intermediate container 061b393479ca 04:13:26 ---> 45ab26c56971 04:13:26 Step 7/10 : COPY go.mod vendor* ./ 04:13:26 ---> aa4bb20813ce 04:13:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:27 ---> Running in 5d98fc0b6ba8 04:13:56 Removing intermediate container b1ab783d0ebd 04:13:56 ---> ba986973435c 04:13:56 Step 11/24 : FROM alpine:3.18 04:13:56 3.18: Pulling from library/alpine 04:13:56 930bdd4d222e: Pulling fs layer 04:13:56 930bdd4d222e: Verifying Checksum 04:13:56 930bdd4d222e: Download complete 04:13:56 930bdd4d222e: Pull complete 04:13:56 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:13:56 Status: Downloaded newer image for alpine:3.18 04:13:56 ---> 18f865063206 04:13:56 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:13:56 ---> Running in 2a3422653a8f 04:13:56 Removing intermediate container 2a3422653a8f 04:13:56 ---> 5cea9ac33c6c 04:13:56 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:13:56 ---> Running in b7332b31a618 04:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:13:56 (1/1) Installing dumb-init (1.2.5-r2) 04:13:56 Executing busybox-1.36.1-r7.trigger 04:13:56 OK: 7 MiB in 16 packages 04:13:56 Removing intermediate container b7332b31a618 04:13:56 ---> fcdae177398d 04:13:56 Step 14/24 : RUN apk --no-cache upgrade 04:13:56 ---> Running in 670e05a51703 04:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:13:56 OK: 7 MiB in 16 packages 04:13:56 Removing intermediate container 670e05a51703 04:13:56 ---> a8196024ff15 04:13:56 Step 15/24 : WORKDIR / 04:13:56 ---> Running in 34f25954690f 04:13:56 Removing intermediate container 34f25954690f 04:13:56 ---> d2fe5c29b201 04:13:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:13:56 ---> 0501f05d7529 04:13:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:13:56 ---> 9693507cf444 04:13:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:13:56 ---> 44763a4cb126 04:13:56 Step 19/24 : EXPOSE 59999 04:13:56 ---> Running in 1e9b06f41b36 04:13:56 Removing intermediate container 1e9b06f41b36 04:13:56 ---> d042d962338a 04:13:56 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:13:56 ---> Running in 85a90bc895a6 04:13:56 Removing intermediate container 85a90bc895a6 04:13:56 ---> 470583d7ccca 04:13:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:13:56 ---> Running in bc3a7c5f21be 04:13:56 Removing intermediate container bc3a7c5f21be 04:13:56 ---> 2a100351fd67 04:13:56 Step 22/24 : LABEL arch=amd64 04:13:56 ---> Running in c3bd51a1a85c 04:13:56 Removing intermediate container c3bd51a1a85c 04:13:56 ---> acae339369f6 04:13:56 Step 23/24 : LABEL git_sha=5420c36d1ddd1543829903effd084c67805c7263 04:13:56 ---> Running in cff0be8797af 04:13:56 Removing intermediate container cff0be8797af 04:13:56 ---> 726d2a65e625 04:13:56 Step 24/24 : LABEL version=0.0.0 04:13:56 ---> Running in b872628ae69f 04:13:56 Removing intermediate container b872628ae69f 04:13:56 ---> 5a4197cb3613 04:13:56 [Warning] One or more build-args [ARCH] were not consumed 04:13:56 Successfully built 5a4197cb3613 04:13:56 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 04:13:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:57 04:13:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:58 latest: Pulling from edgex-lftools-log-publisher 04:13:58 5eb5b503b376: Pulling fs layer 04:13:58 5c69ac0246d0: Pulling fs layer 04:13:58 ec43610c2a17: Pulling fs layer 04:13:58 3a2ae6a8a46f: Pulling fs layer 04:13:58 33b1e0a273af: Pulling fs layer 04:13:58 5d3b04190fa2: Pulling fs layer 04:13:58 2f39f015ded8: Pulling fs layer 04:13:58 3a2ae6a8a46f: Waiting 04:13:58 33b1e0a273af: Waiting 04:13:58 5d3b04190fa2: Waiting 04:13:58 2f39f015ded8: Waiting 04:13:58 5c69ac0246d0: Download complete 04:13:58 3a2ae6a8a46f: Verifying Checksum 04:13:58 3a2ae6a8a46f: Download complete 04:13:58 33b1e0a273af: Verifying Checksum 04:13:58 33b1e0a273af: Download complete 04:13:58 5d3b04190fa2: Verifying Checksum 04:13:58 5d3b04190fa2: Download complete 04:13:58 ec43610c2a17: Verifying Checksum 04:13:58 ec43610c2a17: Download complete 04:13:58 5eb5b503b376: Verifying Checksum 04:13:58 5eb5b503b376: Download complete 04:13:59 2f39f015ded8: Download complete 04:13:59 5eb5b503b376: Pull complete 04:13:59 5c69ac0246d0: Pull complete 04:14:00 ec43610c2a17: Pull complete 04:14:00 3a2ae6a8a46f: Pull complete 04:14:00 33b1e0a273af: Pull complete 04:14:00 5d3b04190fa2: Pull complete 04:14:07 2f39f015ded8: Pull complete 04:14:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:08 prd-ubuntu20.04-docker-8c-8g-6402 does not seem to be running inside a container 04:14:08 $ 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-1603 -v /w/workspace/gexfoundry_device-sdk-go_PR-1603:/w/workspace/gexfoundry_device-sdk-go_PR-1603:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:14:08 $ docker top 4d29961a6042196ccf38f8ddb7cea8c456e385c9b9b84d732a553f329451bb93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:08 ---> job-cost.sh 04:14:08 lf-activate-venv: SKIPPING 04:14:08 INFO: No Stack... 04:14:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:14:09 INFO: Archiving Costs [Pipeline] sh 04:14:09 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives/cost.csv 04:14:09 + cut -d, -f6 [Pipeline] lock 04:14:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] 04:14:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] did not exist. Created. 04:14:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:14:10 + echo total: 0.2199999988079071 [Pipeline] stash 04:14:10 Stashed 1 file(s) [Pipeline] } 04:14:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:14:10 $ docker stop --time=1 4d29961a6042196ccf38f8ddb7cea8c456e385c9b9b84d732a553f329451bb93 04:14:11 $ docker rm -f --volumes 4d29961a6042196ccf38f8ddb7cea8c456e385c9b9b84d732a553f329451bb93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:15:19 Removing intermediate container 5d98fc0b6ba8 04:15:19 ---> e3b5c71f959b 04:15:19 Step 9/10 : COPY . . 04:15:19 ---> 3537bf3c5c1f 04:15:19 Step 10/10 : RUN ${MAKE} 04:15:19 ---> Running in 97f0dee54bbb 04:15:19 noop 04:15:19 Removing intermediate container 97f0dee54bbb 04:15:19 ---> 40e2e21e396b 04:15:19 Successfully built 40e2e21e396b 04:15:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:20 + docker inspect -f . ci-base-image-arm64 04:15:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:20 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 04:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:15:22 $ docker top ace4dd691312c844f8ac3a4272367b6ea56667c3efd3be74a0f70b990850677d -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:23 + go version 04:15:23 go version go1.21.9 linux/arm64 [Pipeline] } 04:15:23 $ docker stop --time=1 ace4dd691312c844f8ac3a4272367b6ea56667c3efd3be74a0f70b990850677d 04:15:24 $ docker rm -f --volumes ace4dd691312c844f8ac3a4272367b6ea56667c3efd3be74a0f70b990850677d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:25 + docker inspect -f . ci-base-image-arm64 04:15:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:26 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 04:15:26 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:15:27 $ docker top 56c50c9dc7651dc62965bc5ee1b8f7fdba046dd09fce1d8a6798591118aecf80 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:15:29 + make test 04:15:29 go test -race -coverprofile=coverage.out ./... 04:16:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:19:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.111s coverage: 27.0% of statements 04:19:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.164s coverage: 80.0% of statements 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:19:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:19:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.288s coverage: 86.0% of statements 04:19:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:19:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.416s coverage: 55.2% of statements 04:20:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.150s coverage: 14.4% of statements 04:20:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.819s coverage: 44.6% of statements 04:20:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:20:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:20:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.317s coverage: 68.5% of statements 04:20:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.368s coverage: 89.2% of statements 04:20:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:20:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.240s coverage: 5.4% of statements 04:20:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:20:14 GO111MODULE=on go vet ./... 04:23:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:23:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:23:51 ./bin/test-attribution-txt.sh 04:23:51 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:23:51 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:23:51 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:23:51 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:23:51 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:23:51 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:23:51 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:23:51 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:23:51 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:23:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:23:51 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:23:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:23:51 $ docker stop --time=1 56c50c9dc7651dc62965bc5ee1b8f7fdba046dd09fce1d8a6798591118aecf80 04:23:53 $ docker rm -f --volumes 56c50c9dc7651dc62965bc5ee1b8f7fdba046dd09fce1d8a6798591118aecf80 [Pipeline] // withDockerContainer [Pipeline] sh 04:23:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:56 Warning: overwriting stash ‘coverage-report’ 04:23:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:57 + ls -al . 04:23:57 total 376 04:23:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 04:15 . 04:23:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:12 .. 04:23:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 04:12 .dockerignore 04:23:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 04:12 .git 04:23:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:12 .github 04:23:57 -rw-rw-r-- 1 jenkins jenkins 137 Jul 25 04:12 .gitignore 04:23:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 25 04:12 .golangci.yml 04:23:57 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 25 04:12 CHANGELOG.md 04:23:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 04:12 GOVERNANCE.md 04:23:57 -rw-rw-r-- 1 jenkins jenkins 885 Jul 25 04:12 Jenkinsfile 04:23:57 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 25 04:12 LICENSE 04:23:57 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 25 04:12 Makefile 04:23:57 -rw-rw-r-- 1 jenkins jenkins 619 Jul 25 04:12 OWNERS.md 04:23:57 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 25 04:12 README.md 04:23:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 04:10 VERSION 04:23:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 04:12 bin 04:23:57 -rw-r--r-- 1 jenkins jenkins 125163 Jul 25 04:20 coverage.out 04:23:57 drwxrwxr-x 5 jenkins jenkins 4096 Jul 25 04:12 example 04:23:57 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 25 04:12 go.mod 04:23:57 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 25 04:12 go.sum 04:23:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:12 internal 04:23:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 04:12 openapi 04:23:57 drwxrwxr-x 6 jenkins jenkins 4096 Jul 25 04:12 pkg 04:23:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 04:12 snap 04:23:57 -rw-rw-r-- 1 jenkins jenkins 222 Jul 25 04:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:58 + 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=5420c36d1ddd1543829903effd084c67805c7263 --label arch=arm64 --label version=0.0.0 . 04:23:58 Sending build context to Docker daemon 13.11MB 04:23:58 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:23:58 Step 2/24 : FROM ${BASE} AS builder 04:23:58 ---> 40e2e21e396b 04:23:58 Step 3/24 : ARG MAKE=make build 04:23:59 ---> Running in 8bbb237af535 04:23:59 Removing intermediate container 8bbb237af535 04:23:59 ---> 5a3f57d14bb4 04:23:59 Step 4/24 : WORKDIR /device-sdk-go 04:23:59 ---> Running in 444a50a00239 04:23:59 Removing intermediate container 444a50a00239 04:23:59 ---> eb5600400e0b 04:23:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:23:59 ---> Running in 2a10db079b4a 04:24:00 Removing intermediate container 2a10db079b4a 04:24:00 ---> f9924a1358aa 04:24:00 Step 6/24 : RUN apk add --update --no-cache make git 04:24:00 ---> Running in 272325bf055e 04:24:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:24:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:24:02 OK: 266 MiB in 52 packages 04:24:03 Removing intermediate container 272325bf055e 04:24:03 ---> 5cef095a9966 04:24:03 Step 7/24 : COPY go.mod vendor* ./ 04:24:03 ---> ae064b9c07c6 04:24:03 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:04 ---> Running in 376a2f364e72 04:24:05 Removing intermediate container 376a2f364e72 04:24:05 ---> 218318088707 04:24:05 Step 9/24 : COPY . . 04:24:07 ---> ec51dd5db9a4 04:24:07 Step 10/24 : RUN ${MAKE} 04:24:07 ---> Running in 5970dc43cf85 04:24:08 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 04:27:30 Removing intermediate container 5970dc43cf85 04:27:30 ---> 816a80f3c452 04:27:30 Step 11/24 : FROM alpine:3.18 04:27:30 3.18: Pulling from library/alpine 04:27:30 4983c3fe2029: Pulling fs layer 04:27:30 4983c3fe2029: Verifying Checksum 04:27:30 4983c3fe2029: Download complete 04:27:30 4983c3fe2029: Pull complete 04:27:30 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:27:30 Status: Downloaded newer image for alpine:3.18 04:27:30 ---> a0237000ae83 04:27:30 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:27:30 ---> Running in 2ab6eb09d779 04:27:30 Removing intermediate container 2ab6eb09d779 04:27:30 ---> 343e97f2274a 04:27:30 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:27:30 ---> Running in b0857929dc51 04:27:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:30 (1/1) Installing dumb-init (1.2.5-r2) 04:27:30 Executing busybox-1.36.1-r7.trigger 04:27:30 OK: 8 MiB in 16 packages 04:27:30 Removing intermediate container b0857929dc51 04:27:30 ---> 34414a0e55f3 04:27:30 Step 14/24 : RUN apk --no-cache upgrade 04:27:30 ---> Running in 5e95899a1d9e 04:27:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:32 OK: 8 MiB in 16 packages 04:27:33 Removing intermediate container 5e95899a1d9e 04:27:33 ---> cfe623a94e8d 04:27:33 Step 15/24 : WORKDIR / 04:27:33 ---> Running in d8419f3d8c95 04:27:33 Removing intermediate container d8419f3d8c95 04:27:33 ---> 6d4f703c2ccb 04:27:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:27:33 ---> 5b10c5fea1a5 04:27:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:27:35 ---> 219b1b187e79 04:27:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:27:36 ---> d4da463d2af2 04:27:36 Step 19/24 : EXPOSE 59999 04:27:36 ---> Running in 2c5b1ae8d0bc 04:27:36 Removing intermediate container 2c5b1ae8d0bc 04:27:36 ---> ee6379b98f54 04:27:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:27:36 ---> Running in f984edd06a5d 04:27:36 Removing intermediate container f984edd06a5d 04:27:36 ---> c69e8214984f 04:27:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:27:36 ---> Running in 0c28722c5210 04:27:37 Removing intermediate container 0c28722c5210 04:27:37 ---> 886383fd69f0 04:27:37 Step 22/24 : LABEL arch=arm64 04:27:37 ---> Running in 82e0e25569d7 04:27:37 Removing intermediate container 82e0e25569d7 04:27:37 ---> 798eed752c67 04:27:37 Step 23/24 : LABEL git_sha=5420c36d1ddd1543829903effd084c67805c7263 04:27:37 ---> Running in 3b3e9e80cf1c 04:27:38 Removing intermediate container 3b3e9e80cf1c 04:27:38 ---> dd2291f33b18 04:27:38 Step 24/24 : LABEL version=0.0.0 04:27:38 ---> Running in 0af412273a85 04:27:38 Removing intermediate container 0af412273a85 04:27:38 ---> 995be2780e30 04:27:38 [Warning] One or more build-args [ARCH] were not consumed 04:27:38 Successfully built 995be2780e30 04:27:38 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:39 04:27:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:40 arm64: Pulling from edgex-lftools-log-publisher 04:27:40 8998bd30e6a1: Pulling fs layer 04:27:40 04944245beec: Pulling fs layer 04:27:40 699f458cf7ca: Pulling fs layer 04:27:40 765212b225bb: Pulling fs layer 04:27:40 f23df028b6ca: Pulling fs layer 04:27:40 d65c8cfc05b1: Pulling fs layer 04:27:40 2437ff75d9bd: Pulling fs layer 04:27:40 f23df028b6ca: Waiting 04:27:40 2437ff75d9bd: Waiting 04:27:40 d65c8cfc05b1: Waiting 04:27:40 765212b225bb: Waiting 04:27:40 04944245beec: Verifying Checksum 04:27:40 04944245beec: Download complete 04:27:40 765212b225bb: Verifying Checksum 04:27:40 765212b225bb: Download complete 04:27:40 f23df028b6ca: Download complete 04:27:40 d65c8cfc05b1: Download complete 04:27:40 699f458cf7ca: Verifying Checksum 04:27:40 699f458cf7ca: Download complete 04:27:41 8998bd30e6a1: Verifying Checksum 04:27:41 8998bd30e6a1: Download complete 04:27:43 2437ff75d9bd: Verifying Checksum 04:27:43 2437ff75d9bd: Download complete 04:27:45 8998bd30e6a1: Pull complete 04:27:46 04944245beec: Pull complete 04:27:47 699f458cf7ca: Pull complete 04:27:47 765212b225bb: Pull complete 04:27:48 f23df028b6ca: Pull complete 04:27:48 d65c8cfc05b1: Pull complete 04:28:06 2437ff75d9bd: Pull complete 04:28:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:07 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 04:28:07 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:28:09 $ docker top d96ebdba394a2170497f569718d9c0156061e3b796cdafed44be1ca281d8e1d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:11 ---> job-cost.sh 04:28:11 lf-activate-venv: SKIPPING 04:28:11 INFO: No Stack... 04:28:11 INFO: Retrieving Pricing Info for: v3-standard-4 04:28:12 INFO: Archiving Costs [Pipeline] sh 04:28:12 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:28:12 + cut -d, -f6 [Pipeline] lock 04:28:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] 04:28:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] did not exist. Created. 04:28:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:13 /w/workspace/device-sdk-go/1@tmp/durable-9b89c4de/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:13 + echo total: 0.10999999940395355 [Pipeline] stash 04:28:13 Warning: overwriting stash ‘stack-cost’ 04:28:13 Stashed 1 file(s) [Pipeline] } 04:28:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1603-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:13 $ docker stop --time=1 d96ebdba394a2170497f569718d9c0156061e3b796cdafed44be1ca281d8e1d0 04:28:15 $ docker rm -f --volumes d96ebdba394a2170497f569718d9c0156061e3b796cdafed44be1ca281d8e1d0 [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 04:28:17 provisioning config files... 04:28:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/config14861671590029473771tmp [Pipeline] { [Pipeline] sh 04:28:17 + set +x 04:28:17 + + bash -s -- 04:28:17 curl -s https://codecov.io/bash 04:28:17 04:28:17 _____ _ 04:28:17 / ____| | | 04:28:17 | | ___ __| | ___ ___ _____ __ 04:28:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:17 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:17 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:17 Bash-1.0.6 04:28:17 04:28:17 04:28:17 ==> git version 2.25.1 found 04:28:17 ==> 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 04:28:17 Release-Date: 2020-01-08 04:28:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:28:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:28:17 ==> Jenkins CI detected. 04:28:17 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1603 04:28:17 project root: . 04:28:17 --> token set from env 04:28:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:17 ==> Running gcov in . (disable via -X gcov) 04:28:17 ==> Python coveragepy not found 04:28:17 ==> Searching for coverage reports in: 04:28:17 + . 04:28:18 -> Found 1 reports 04:28:18 ==> Detecting git/mercurial file structure 04:28:18 ==> Reading reports 04:28:18 + ./coverage.out bytes=125163 04:28:18 ==> Appending adjustments 04:28:18 https://docs.codecov.io/docs/fixing-reports 04:28:18 + Found adjustments 04:28:18 ==> Gzipping contents 04:28:18 20K /tmp/codecov.dNNy1E.gz 04:28:18 ==> Uploading reports 04:28:18 url: https://codecov.io 04:28:18 query: branch=PR-1603&commit=5420c36d1ddd1543829903effd084c67805c7263&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1603&job=&cmd_args= 04:28:18 -> Pinging Codecov 04:28:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1603&commit=5420c36d1ddd1543829903effd084c67805c7263&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1603&job=&cmd_args= 04:28:18 -> Uploading to 04:28:18 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/7E55EF52A471D76F132DFD9A03CDDE97/5420c36d1ddd1543829903effd084c67805c7263/94891724-86f2-4bd9-b6e8-eb0f21d1a1fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T042818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d42722452543beb81355e3978309616735986a83e3fad1e0727a4e433bc3199f 04:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:18 Dload Upload Total Spent Left Speed 04:28:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17075 0 0 100 17075 0 83700 --:--:-- --:--:-- --:--:-- 83292 100 17075 0 0 100 17075 0 67490 --:--:-- --:--:-- --:--:-- 67224 04:28:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5420c36d1ddd1543829903effd084c67805c7263 [Pipeline] } 04:28:18 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 04:28:21 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives ] 04:28:21 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives 04:28:21 total 16 04:28:21 drwxr-xr-x 3 root root 4096 Jul 25 04:14 . 04:28:21 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:14 .. 04:28:21 drwxr-xr-x 2 root root 4096 Jul 25 04:14 cost 04:28:21 -rw-r--r-- 1 root root 86 Jul 25 04:14 cost.csv 04:28:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives 04:28:21 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives 04:28:21 total 16 04:28:21 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 04:14 . 04:28:21 drwxrwxr-x 12 jenkins jenkins 4096 Jul 25 04:14 .. 04:28:21 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 04:14 cost 04:28:21 -rw-r--r-- 1 jenkins jenkins 86 Jul 25 04:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:22 ---> package-listing.sh 04:28:22 ++ facter osfamily 04:28:22 ++ tr '[:upper:]' '[:lower:]' 04:28:22 + OS_FAMILY=debian 04:28:22 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1603 04:28:22 + START_PACKAGES=/tmp/packages_start.txt 04:28:22 + END_PACKAGES=/tmp/packages_end.txt 04:28:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:22 + PACKAGES=/tmp/packages_start.txt 04:28:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1603 ']' 04:28:22 + PACKAGES=/tmp/packages_end.txt 04:28:22 + case "${OS_FAMILY}" in 04:28:22 + dpkg -l 04:28:22 + grep '^ii' 04:28:22 + '[' -f /tmp/packages_start.txt ']' 04:28:22 + '[' -f /tmp/packages_end.txt ']' 04:28:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1603 ']' 04:28:22 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives/ 04:28:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1603/archives/ [Pipeline] echo 04:28:22 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-1603/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:23 prd-ubuntu20.04-docker-8c-8g-6402 does not seem to be running inside a container 04:28:23 $ 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-1603/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-1603 -v /w/workspace/gexfoundry_device-sdk-go_PR-1603:/w/workspace/gexfoundry_device-sdk-go_PR-1603:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:24 $ docker top 244e1ba6220363bfc39545b34eb123947e06073ad4d927c2f0b0e36c3f79ee4a -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:24 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:24 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:25 + ls /var/log/sa-host 04:28:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:25 provisioning config files... 04:28:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1603@tmp/config10995745617757127252tmp [Pipeline] { [Pipeline] echo 04:28:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:25 ---> create-netrc.sh [Pipeline] } 04:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:26 ---> python-tools-install.sh [Pipeline] echo 04:28:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:26 ---> sudo-logs.sh 04:28:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:27 ---> job-cost.sh 04:28:27 lf-activate-venv: SKIPPING 04:28:27 DEBUG: total: 0.2199999988079071 04:28:27 INFO: Retrieving Stack Cost... 04:28:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:28 INFO: Archiving Costs [Pipeline] echo 04:28:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:28 ---> logs-deploy.sh 04:28:28 lf-activate-venv: SKIPPING 04:28:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1603/1 04:28:28 INFO: archiving workspace using pattern(s): 04:28:29 Archives upload complete. 04:28:29 INFO: archiving logs to Nexus