Pull request #1602 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b640ae78592723ef65e60eeea955d9bd08ba7ee6+af8fd86a570d66ea1cfaede877fe074423b1d236 (983cfd852fb222f401b0a7ab48e8b3baeeb8a419) 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-ssh15096685601874346403.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-ssh17569201532912569642.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-1602/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-1602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6282920687065128280.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-1602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8076344569327277847.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-ssh16136559998587986515.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-1602/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-1602/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10772854717262304426.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 ‘prd-ubuntu20.04-docker-8c-8g-6283’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6287 in /w/workspace/gexfoundry_device-sdk-go_PR-1602 [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-1602 # 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 af8fd86a570d66ea1cfaede877fe074423b1d236 into PR head commit b640ae78592723ef65e60eeea955d9bd08ba7ee6 Merge succeeded, producing b640ae78592723ef65e60eeea955d9bd08ba7ee6 Checking out Revision b640ae78592723ef65e60eeea955d9bd08ba7ee6 (PR-1602) > 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/1602/head:refs/remotes/origin/PR-1602 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b640ae78592723ef65e60eeea955d9bd08ba7ee6 # 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 af8fd86a570d66ea1cfaede877fe074423b1d236 # timeout=10 > git rev-parse HEAD^{commit} # 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b640ae78592723ef65e60eeea955d9bd08ba7ee6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:38:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:38:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:38:22 ========================================================= 04:38:22 EdgeX Global Pipelines Version Info 04:38:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:38:22 ------------------- 04:38:22 stable info: 04:38:22 ------------------- 04:38:22 Commited By: Ginny Guan ginny@iotechsys.com 04:38:22 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:38:22 Message: update stable to v1.0.260 04:38:23 ------------------- 04:38:23 experimental info: 04:38:23 ------------------- 04:38:23 Commited By: Ginny Guan ginny@iotechsys.com 04:38:23 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:38:23 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:38:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:38:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1602 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1602 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1602 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b640ae78592723ef65e60eeea955d9bd08ba7ee6 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b640ae7 [Pipeline] echo 04:38:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:25 provisioning config files... 04:38:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/config4623341647028558963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:26 ---> ****-login.sh 04:38:26 nexus3.edgexfoundry.org:10001 04:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:26 Configure a credential helper to remove this warning. See 04:38:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:26 04:38:26 Login Succeeded 04:38:26 nexus3.edgexfoundry.org:10002 04:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:26 Configure a credential helper to remove this warning. See 04:38:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:26 04:38:26 Login Succeeded 04:38:26 nexus3.edgexfoundry.org:10003 04:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:26 Configure a credential helper to remove this warning. See 04:38:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:26 04:38:26 Login Succeeded 04:38:26 nexus3.edgexfoundry.org:10004 04:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:27 Configure a credential helper to remove this warning. See 04:38:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:27 04:38:27 Login Succeeded 04:38:27 ****.io 04:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:27 Configure a credential helper to remove this warning. See 04:38:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:27 04:38:27 Login Succeeded 04:38:27 ---> ****-login.sh ends [Pipeline] } 04:38:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:38:28 + git rev-list -1 --merges b640ae78592723ef65e60eeea955d9bd08ba7ee6~1..b640ae78592723ef65e60eeea955d9bd08ba7ee6 [Pipeline] echo 04:38:28 -----------> git rev-list -1 --merges b640ae78592723ef65e60eeea955d9bd08ba7ee6~1..b640ae78592723ef65e60eeea955d9bd08ba7ee6 b640ae78592723ef65e60eeea955d9bd08ba7ee6 [false] [Pipeline] sh 04:38:28 + git log --format=format:%s -1 b640ae78592723ef65e60eeea955d9bd08ba7ee6 [Pipeline] echo 04:38:28 ========================================================= 04:38:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:38:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:29 + git log --format=format:%s -1 b640ae78592723ef65e60eeea955d9bd08ba7ee6 [Pipeline] echo 04:38:29 [semverPrep] GIT_COMMIT: b640ae78592723ef65e60eeea955d9bd08ba7ee6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:38:29 [semverPrep] This is not a build commit. [Pipeline] sh 04:38:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:29 + grep -v github /etc/ssh/ssh_known_hosts 04:38:29 + [ -e /tmp/ssh_known_hosts ] 04:38:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:38:29 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 04:38:29 tee -a /etc/ssh/ssh_known_hosts 04:38:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:29 04:38:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:30 0.1.4: Pulling from edgex-devops/py-git-semver 04:38:30 b85a868b505f: Pulling fs layer 04:38:30 e2be974225ed: Pulling fs layer 04:38:30 339a4e72a1f5: Pulling fs layer 04:38:30 988bab9f4d93: Pulling fs layer 04:38:30 1469e6f7b9e6: Pulling fs layer 04:38:30 eaf3925da568: Pulling fs layer 04:38:30 bab4dde63d76: Pulling fs layer 04:38:30 bde34c3a00c8: Pulling fs layer 04:38:30 b352a97aabf1: Pulling fs layer 04:38:30 4872d77fe225: Pulling fs layer 04:38:30 5851b861e8e6: Pulling fs layer 04:38:30 bde34c3a00c8: Waiting 04:38:30 b352a97aabf1: Waiting 04:38:30 5851b861e8e6: Waiting 04:38:30 988bab9f4d93: Waiting 04:38:30 bab4dde63d76: Waiting 04:38:30 eaf3925da568: Waiting 04:38:30 e2be974225ed: Download complete 04:38:30 988bab9f4d93: Verifying Checksum 04:38:30 988bab9f4d93: Download complete 04:38:30 1469e6f7b9e6: Verifying Checksum 04:38:30 1469e6f7b9e6: Download complete 04:38:30 eaf3925da568: Verifying Checksum 04:38:30 eaf3925da568: Download complete 04:38:30 339a4e72a1f5: Download complete 04:38:30 bde34c3a00c8: Verifying Checksum 04:38:30 bde34c3a00c8: Download complete 04:38:30 b352a97aabf1: Verifying Checksum 04:38:30 b352a97aabf1: Download complete 04:38:30 4872d77fe225: Download complete 04:38:30 5851b861e8e6: Verifying Checksum 04:38:30 5851b861e8e6: Download complete 04:38:30 b85a868b505f: Verifying Checksum 04:38:30 b85a868b505f: Download complete 04:38:31 bab4dde63d76: Verifying Checksum 04:38:31 bab4dde63d76: Download complete 04:38:32 b85a868b505f: Pull complete 04:38:32 e2be974225ed: Pull complete 04:38:32 339a4e72a1f5: Pull complete 04:38:32 988bab9f4d93: Pull complete 04:38:33 1469e6f7b9e6: Pull complete 04:38:33 eaf3925da568: Pull complete 04:38:35 bab4dde63d76: Pull complete 04:38:35 bde34c3a00c8: Pull complete 04:38:35 b352a97aabf1: Pull complete 04:38:35 4872d77fe225: Pull complete 04:38:35 5851b861e8e6: Pull complete 04:38:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:38:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:35 prd-ubuntu20.04-docker-8c-8g-6287 does not seem to be running inside a container 04:38:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1602 -v /w/workspace/gexfoundry_device-sdk-go_PR-1602:/w/workspace/gexfoundry_device-sdk-go_PR-1602:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1602@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:38:42 $ docker top 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 -eo pid,comm 04:38:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:38:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:42 [ssh-agent] Looking for ssh-agent implementation... 04:38:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:42 $ docker exec 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 ssh-agent 04:38:42 SSH_AUTH_SOCK=/tmp/ssh-GeaoblFzIJWO/agent.32 04:38:42 SSH_AGENT_PID=39 04:38:42 Running ssh-add (command line suppressed) 04:38:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/private_key_4371611196746151028.key (/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/private_key_4371611196746151028.key) 04:38:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:43 + git tag --points-at HEAD [Pipeline] } 04:38:43 $ docker exec --env ******** --env ******** 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 ssh-agent -k 04:38:43 unset SSH_AUTH_SOCK; 04:38:43 unset SSH_AGENT_PID; 04:38:43 echo Agent pid 39 killed; 04:38:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:38:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:43 [ssh-agent] Looking for ssh-agent implementation... 04:38:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:43 $ docker exec 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 ssh-agent 04:38:43 SSH_AUTH_SOCK=/tmp/ssh-EHVrhflu4rdm/agent.70 04:38:43 SSH_AGENT_PID=76 04:38:43 Running ssh-add (command line suppressed) 04:38:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/private_key_16573731475274378121.key (/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/private_key_16573731475274378121.key) 04:38:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:44 + git semver init 04:38:44 2024-07-24 04:38:44,256 [run_init] DEBUG init version:0.0.0 force:False 04:38:44 2024-07-24 04:38:44,256 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver 04:38:44 2024-07-24 04:38:44,257 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver 04:38:44 2024-07-24 04:38:44,257 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1602, universal_newlines=False, shell=None, istream=None) 04:38:46 2024-07-24 04:38:46,284 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602/.git/info/exclude 04:38:46 2024-07-24 04:38:46,284 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver/PR-1602 with force:False 04:38:46 2024-07-24 04:38:46,284 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver/PR-1602 04:38:46 2024-07-24 04:38:46,289 [execute] INFO git cat-file --batch-check 04:38:46 2024-07-24 04:38:46,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver, universal_newlines=False, shell=None, istream=) 04:38:46 2024-07-24 04:38:46,294 [execute] INFO git cat-file --batch 04:38:46 2024-07-24 04:38:46,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver, universal_newlines=False, shell=None, istream=) 04:38:46 2024-07-24 04:38:46,299 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1602/.semver/PR-1602 04:38:46 0.0.0 [Pipeline] } 04:38:46 $ docker exec --env ******** --env ******** 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 ssh-agent -k 04:38:47 unset SSH_AUTH_SOCK; 04:38:47 unset SSH_AGENT_PID; 04:38:47 echo Agent pid 76 killed; 04:38:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:47 + git semver [Pipeline] } 04:38:47 $ docker stop --time=1 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 04:38:49 $ docker rm -f --volumes 7dc81094f957259fef94a65adecb515af9a989241e7cc81b673d048812ab9ad5 [Pipeline] // withDockerContainer [Pipeline] sh 04:38:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:38:49 Stashed 1 file(s) [Pipeline] echo 04:38:49 [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:38:50 provisioning config files... 04:38:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/config2704193403088687598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:51 ---> ****-login.sh 04:38:51 nexus3.edgexfoundry.org:10001 04:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:51 Configure a credential helper to remove this warning. See 04:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:51 04:38:51 Login Succeeded 04:38:51 nexus3.edgexfoundry.org:10002 04:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:51 Configure a credential helper to remove this warning. See 04:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:51 04:38:51 Login Succeeded 04:38:51 nexus3.edgexfoundry.org:10003 04:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:51 Configure a credential helper to remove this warning. See 04:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:51 04:38:51 Login Succeeded 04:38:51 nexus3.edgexfoundry.org:10004 04:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:51 Configure a credential helper to remove this warning. See 04:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:51 04:38:51 Login Succeeded 04:38:51 ****.io 04:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:51 Configure a credential helper to remove this warning. See 04:38:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:51 04:38:51 Login Succeeded 04:38:51 ---> ****-login.sh ends [Pipeline] } 04:38:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:38:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:38:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:38:52 ========================================================= 04:38:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:38:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:52 + 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:38:52 Sending build context to Docker daemon 25.11MB 04:38:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:38:52 Step 2/10 : FROM ${BASE} AS builder 04:38:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:38:52 619be1103602: Pulling fs layer 04:38:52 7862e08f4a3e: Pulling fs layer 04:38:52 5df492c9dc93: Pulling fs layer 04:38:52 7629e6793208: Pulling fs layer 04:38:52 4f4fb700ef54: Pulling fs layer 04:38:52 fb5054dd5b73: Pulling fs layer 04:38:52 eeca6798cff9: Pulling fs layer 04:38:52 aa269ceb94a6: Pulling fs layer 04:38:52 ada007ff1a6a: Pulling fs layer 04:38:52 eeca6798cff9: Waiting 04:38:52 aa269ceb94a6: Waiting 04:38:52 ada007ff1a6a: Waiting 04:38:52 4f4fb700ef54: Waiting 04:38:52 7629e6793208: Waiting 04:38:52 fb5054dd5b73: Waiting 04:38:52 7862e08f4a3e: Download complete 04:38:52 7629e6793208: Verifying Checksum 04:38:52 7629e6793208: Download complete 04:38:52 4f4fb700ef54: Download complete 04:38:52 fb5054dd5b73: Verifying Checksum 04:38:52 fb5054dd5b73: Download complete 04:38:52 619be1103602: Verifying Checksum 04:38:52 619be1103602: Download complete 04:38:52 eeca6798cff9: Verifying Checksum 04:38:52 eeca6798cff9: Download complete 04:38:53 619be1103602: Pull complete 04:38:53 ada007ff1a6a: Verifying Checksum 04:38:53 ada007ff1a6a: Download complete 04:38:53 7862e08f4a3e: Pull complete 04:38:53 5df492c9dc93: Verifying Checksum 04:38:53 5df492c9dc93: Download complete 04:38:54 aa269ceb94a6: Verifying Checksum 04:38:54 aa269ceb94a6: Download complete 04:38:57 5df492c9dc93: Pull complete 04:38:57 7629e6793208: Pull complete 04:38:57 4f4fb700ef54: Pull complete 04:38:57 fb5054dd5b73: Pull complete 04:38:57 eeca6798cff9: Pull complete 04:38:59 aa269ceb94a6: Pull complete 04:39:00 ada007ff1a6a: Pull complete 04:39:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:39:00 ---> f489d0715acc 04:39:00 Step 3/10 : ARG MAKE=make build 04:39:05 Still waiting to schedule task 04:39:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:39:10 ---> Running in 771136247c8d 04:39:10 Removing intermediate container 771136247c8d 04:39:10 ---> d1b92f875efb 04:39:10 Step 4/10 : WORKDIR /device-sdk-go 04:39:10 ---> Running in 003839c9b67d 04:39:10 Removing intermediate container 003839c9b67d 04:39:10 ---> 4a5d8449b12a 04:39:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:10 ---> Running in 518fad753713 04:39:10 Removing intermediate container 518fad753713 04:39:10 ---> d1802ab53844 04:39:10 Step 6/10 : RUN apk add --update --no-cache make git 04:39:10 ---> Running in dbfe62662361 04:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:39:11 OK: 264 MiB in 52 packages 04:39:11 Removing intermediate container dbfe62662361 04:39:11 ---> 76f2e14daa47 04:39:11 Step 7/10 : COPY go.mod vendor* ./ 04:39:11 ---> d96d0b2ad160 04:39:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:11 ---> Running in ca288ec06770 04:40:33 Removing intermediate container ca288ec06770 04:40:33 ---> a83d8c858980 04:40:33 Step 9/10 : COPY . . 04:40:33 ---> 4d993fe880f5 04:40:33 Step 10/10 : RUN ${MAKE} 04:40:33 ---> Running in 287d6aa6f610 04:40:33 noop 04:40:33 Removing intermediate container 287d6aa6f610 04:40:33 ---> 14c7ccd67c8a 04:40:33 Successfully built 14c7ccd67c8a 04:40:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:33 + docker inspect -f . ci-base-image-x86_64 04:40:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:33 prd-ubuntu20.04-docker-8c-8g-6287 does not seem to be running inside a container 04:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1602 -v /w/workspace/gexfoundry_device-sdk-go_PR-1602:/w/workspace/gexfoundry_device-sdk-go_PR-1602:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1602@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:40:34 $ docker top b05f05fdc7ada56e07a4e5ca25fc625945b96e5ec520417ea6504185447c45c3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:34 + go version 04:40:34 go version go1.21.9 linux/amd64 [Pipeline] } 04:40:34 $ docker stop --time=1 b05f05fdc7ada56e07a4e5ca25fc625945b96e5ec520417ea6504185447c45c3 04:40:35 $ docker rm -f --volumes b05f05fdc7ada56e07a4e5ca25fc625945b96e5ec520417ea6504185447c45c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:36 + docker inspect -f . ci-base-image-x86_64 04:40:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:36 prd-ubuntu20.04-docker-8c-8g-6287 does not seem to be running inside a container 04:40:37 $ 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-1602 -v /w/workspace/gexfoundry_device-sdk-go_PR-1602:/w/workspace/gexfoundry_device-sdk-go_PR-1602:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1602@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:40:37 $ docker top 820b4fb92c76189b9dd1a64254a603da952dbc803c8eed31ffbfcccb485a654a -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1602 [Pipeline] fileExists [Pipeline] sh 04:40:38 + make test 04:40:38 go test -race -coverprofile=coverage.out ./... 04:40:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:41:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 27.0% of statements 04:41:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.036s coverage: 80.0% of statements 04:41:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:41:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 55.2% of statements 04:41:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:41:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements 04:41:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.406s coverage: 44.6% of statements 04:41:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements 04:41:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 89.2% of statements 04:41:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.4% of statements 04:41:56 GO111MODULE=on go vet ./... 04:41:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:57 ./bin/test-attribution-txt.sh 04:41:57 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:41:57 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:41:57 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:41:57 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:41:57 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:41:57 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:41:57 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:41:57 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:41:57 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:41:57 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:41:57 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:41:57 $ docker stop --time=1 820b4fb92c76189b9dd1a64254a603da952dbc803c8eed31ffbfcccb485a654a 04:42:04 $ docker rm -f --volumes 820b4fb92c76189b9dd1a64254a603da952dbc803c8eed31ffbfcccb485a654a [Pipeline] // withDockerContainer [Pipeline] sh 04:42:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:42:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:42:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:42:06 + ls -al . 04:42:06 total 380 04:42:06 drwxrwxr-x 11 jenkins jenkins 4096 Jul 24 04:40 . 04:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 04:38 .. 04:42:06 -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 04:38 .dockerignore 04:42:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 04:41 .git 04:42:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 04:38 .github 04:42:06 -rw-rw-r-- 1 jenkins jenkins 137 Jul 24 04:38 .gitignore 04:42:06 -rw-rw-r-- 1 jenkins jenkins 42 Jul 24 04:38 .golangci.yml 04:42:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 04:38 .semver 04:42:06 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 24 04:38 CHANGELOG.md 04:42:06 -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 04:38 GOVERNANCE.md 04:42:06 -rw-rw-r-- 1 jenkins jenkins 885 Jul 24 04:38 Jenkinsfile 04:42:06 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 04:38 LICENSE 04:42:06 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 24 04:38 Makefile 04:42:06 -rw-rw-r-- 1 jenkins jenkins 619 Jul 24 04:38 OWNERS.md 04:42:06 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 24 04:38 README.md 04:42:06 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 04:38 VERSION 04:42:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 04:38 bin 04:42:06 -rw-r--r-- 1 jenkins jenkins 125161 Jul 24 04:41 coverage.out 04:42:06 drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 04:38 example 04:42:06 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 24 04:38 go.mod 04:42:06 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 24 04:38 go.sum 04:42:06 drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 04:38 internal 04:42:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 04:38 openapi 04:42:06 drwxrwxr-x 6 jenkins jenkins 4096 Jul 24 04:38 pkg 04:42:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 04:38 snap 04:42:06 -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:07 + 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=b640ae78592723ef65e60eeea955d9bd08ba7ee6 --label arch=amd64 --label version=0.0.0 . 04:42:07 Sending build context to Docker daemon 25.24MB 04:42:07 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:42:07 Step 2/24 : FROM ${BASE} AS builder 04:42:07 ---> 14c7ccd67c8a 04:42:07 Step 3/24 : ARG MAKE=make build 04:42:07 ---> Running in a9791993dca7 04:42:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6289 in /w/workspace/gexfoundry_device-sdk-go_PR-1602 [Pipeline] { [Pipeline] ws 04:42:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 04:42:08 Removing intermediate container a9791993dca7 04:42:08 ---> 3746b7cc7ba8 04:42:08 Step 4/24 : WORKDIR /device-sdk-go 04:42:08 ---> Running in 0063b366b005 04:42:08 Removing intermediate container 0063b366b005 04:42:08 ---> a3f0d8541a9a 04:42:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:42:08 ---> Running in d17f24594533 04:42:08 Removing intermediate container d17f24594533 04:42:08 ---> 40eb7fa183b2 04:42:08 Step 6/24 : RUN apk add --update --no-cache make git 04:42:08 ---> Running in cf41af270909 [Pipeline] checkout 04:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:09 OK: 264 MiB in 52 packages 04:42:09 Removing intermediate container cf41af270909 04:42:09 ---> dbd16c13ef63 04:42:09 Step 7/24 : COPY go.mod vendor* ./ 04:42:09 ---> 0c13bed40e13 04:42:09 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:42:09 ---> Running in 51b87ea52e1d 04:42:10 Removing intermediate container 51b87ea52e1d 04:42:10 ---> 08f9fda0eeec 04:42:10 Step 9/24 : COPY . . 04:42:11 ---> dc87f7750144 04:42:11 Step 10/24 : RUN ${MAKE} 04:42:11 ---> Running in 3e33447f80e0 04:42:11 The recommended git tool is: git 04:42:11 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:42:20 using credential edgex-jenkins-ssh 04:42:20 Cloning the remote Git repository 04:42:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:42:20 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:42:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:42:20 > git --version # timeout=10 04:42:20 > git --version # 'git version 2.25.1' 04:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:42:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:42:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1602/head:refs/remotes/origin/PR-1602 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:42:26 Merging remotes/origin/main commit af8fd86a570d66ea1cfaede877fe074423b1d236 into PR head commit b640ae78592723ef65e60eeea955d9bd08ba7ee6 04:42:26 Merge succeeded, producing b640ae78592723ef65e60eeea955d9bd08ba7ee6 04:42:26 Checking out Revision b640ae78592723ef65e60eeea955d9bd08ba7ee6 (PR-1602) 04:42:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:42:27 > git --version # timeout=10 04:42:27 > git --version # 'git version 2.25.1' 04:42:27 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:42:26 > git config core.sparsecheckout # timeout=10 04:42:26 > git checkout -f b640ae78592723ef65e60eeea955d9bd08ba7ee6 # timeout=10 04:42:26 > git remote # timeout=10 04:42:26 > git config --get remote.origin.url # timeout=10 04:42:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:26 > git merge af8fd86a570d66ea1cfaede877fe074423b1d236 # timeout=10 04:42:26 > git rev-parse HEAD^{commit} # timeout=10 04:42:26 > git config core.sparsecheckout # timeout=10 04:42:27 > git checkout -f b640ae78592723ef65e60eeea955d9bd08ba7ee6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:42:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:32 Dload Upload Total Spent Left Speed 04:42:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 04:42:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:42:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:42:33 + sudo tee /etc/docker/daemon.new 04:42:33 { 04:42:33 "registry-mirrors": [ 04:42:33 "https://nexus3.edgexfoundry.org:10001" 04:42:33 ], 04:42:33 "bip": "10.250.0.254/24", 04:42:33 "hosts": [ 04:42:33 "tcp://0.0.0.0:5555", 04:42:33 "unix:///var/run/docker.sock" 04:42:33 ], 04:42:33 "mtu": 1458, 04:42:33 "selinux-enabled": true, 04:42:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:42:33 } [Pipeline] sh 04:42:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:42:34 + sudo service docker restart 04:42:43 Removing intermediate container 3e33447f80e0 04:42:43 ---> fc49618272ef 04:42:43 Step 11/24 : FROM alpine:3.18 04:42:43 3.18: Pulling from library/alpine 04:42:43 930bdd4d222e: Pulling fs layer 04:42:43 930bdd4d222e: Verifying Checksum 04:42:43 930bdd4d222e: Download complete 04:42:43 930bdd4d222e: Pull complete 04:42:43 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:42:43 Status: Downloaded newer image for alpine:3.18 04:42:43 ---> 18f865063206 04:42:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:42:43 ---> Running in 06870320f6e1 04:42:43 Removing intermediate container 06870320f6e1 04:42:43 ---> 52bf4f5d594c 04:42:43 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:42:43 ---> Running in 55d69966d602 04:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:43 (1/1) Installing dumb-init (1.2.5-r2) 04:42:43 Executing busybox-1.36.1-r7.trigger 04:42:43 OK: 7 MiB in 16 packages 04:42:44 Removing intermediate container 55d69966d602 04:42:44 ---> 43d48a4397aa 04:42:44 Step 14/24 : RUN apk --no-cache upgrade 04:42:44 ---> Running in c7a17833a962 04:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:42:45 OK: 7 MiB in 16 packages 04:42:45 Removing intermediate container c7a17833a962 04:42:45 ---> cd9f151ff991 04:42:45 Step 15/24 : WORKDIR / 04:42:45 ---> Running in a4cedbfdc2ce 04:42:45 Removing intermediate container a4cedbfdc2ce 04:42:45 ---> 5b97f3ffebef 04:42:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:42:45 ---> a472cb858f77 04:42:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:42:47 ---> 969ac94f52e8 04:42:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:42:48 ---> 5d7ea81f3c11 04:42:48 Step 19/24 : EXPOSE 59999 04:42:48 ---> Running in b371d36a7a4f 04:42:48 Removing intermediate container b371d36a7a4f 04:42:48 ---> 66102b5f7921 04:42:48 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:42:48 ---> Running in 5ae9397fd93f 04:42:48 Removing intermediate container 5ae9397fd93f 04:42:48 ---> 32a327d413e6 04:42:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:42:48 ---> Running in 86309bce80c5 04:42:48 Removing intermediate container 86309bce80c5 04:42:48 ---> c14d9c00270c 04:42:48 Step 22/24 : LABEL arch=amd64 04:42:48 ---> Running in 18e65d9e9a7a 04:42:48 Removing intermediate container 18e65d9e9a7a 04:42:48 ---> 34bb3a08471a 04:42:48 Step 23/24 : LABEL git_sha=b640ae78592723ef65e60eeea955d9bd08ba7ee6 04:42:48 ---> Running in 2b5e254861a7 04:42:48 Removing intermediate container 2b5e254861a7 04:42:48 ---> c0782d9fecc4 04:42:48 Step 24/24 : LABEL version=0.0.0 04:42:48 ---> Running in 7b10e3b5ceeb 04:42:48 Removing intermediate container 7b10e3b5ceeb 04:42:48 ---> 688993b35721 04:42:48 [Warning] One or more build-args [ARCH] were not consumed 04:42:48 Successfully built 688993b35721 04:42:48 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:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:49 04:42:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:50 latest: Pulling from edgex-lftools-log-publisher 04:42:50 5eb5b503b376: Pulling fs layer 04:42:50 5c69ac0246d0: Pulling fs layer 04:42:50 ec43610c2a17: Pulling fs layer 04:42:50 3a2ae6a8a46f: Pulling fs layer 04:42:50 33b1e0a273af: Pulling fs layer 04:42:50 5d3b04190fa2: Pulling fs layer 04:42:50 2f39f015ded8: Pulling fs layer 04:42:50 33b1e0a273af: Waiting 04:42:50 5d3b04190fa2: Waiting 04:42:50 2f39f015ded8: Waiting 04:42:50 3a2ae6a8a46f: Waiting 04:42:50 5c69ac0246d0: Verifying Checksum 04:42:50 5c69ac0246d0: Download complete 04:42:50 3a2ae6a8a46f: Verifying Checksum 04:42:50 3a2ae6a8a46f: Download complete 04:42:50 33b1e0a273af: Verifying Checksum 04:42:50 33b1e0a273af: Download complete 04:42:50 5d3b04190fa2: Verifying Checksum 04:42:50 5d3b04190fa2: Download complete 04:42:50 ec43610c2a17: Verifying Checksum 04:42:50 ec43610c2a17: Download complete 04:42:50 5eb5b503b376: Verifying Checksum 04:42:50 5eb5b503b376: Download complete 04:42:51 2f39f015ded8: Download complete 04:42:52 5eb5b503b376: Pull complete 04:42:52 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:52 provisioning config files... 04:42:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13356952298536715185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:53 ec43610c2a17: Pull complete 04:42:53 3a2ae6a8a46f: Pull complete 04:42:53 33b1e0a273af: Pull complete 04:42:53 5d3b04190fa2: Pull complete 04:42:53 ---> ****-login.sh 04:42:53 nexus3.edgexfoundry.org:10001 04:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:53 Configure a credential helper to remove this warning. See 04:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:53 04:42:53 Login Succeeded 04:42:53 nexus3.edgexfoundry.org:10002 04:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:54 Configure a credential helper to remove this warning. See 04:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:54 04:42:54 Login Succeeded 04:42:54 nexus3.edgexfoundry.org:10003 04:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:54 Configure a credential helper to remove this warning. See 04:42:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:54 04:42:54 Login Succeeded 04:42:54 nexus3.edgexfoundry.org:10004 04:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:55 Configure a credential helper to remove this warning. See 04:42:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:55 04:42:55 Login Succeeded 04:42:55 ****.io 04:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:55 Configure a credential helper to remove this warning. See 04:42:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:55 04:42:55 Login Succeeded 04:42:55 ---> ****-login.sh ends [Pipeline] } 04:42:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:56 ========================================================= 04:42:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:42:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:56 + 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:42:57 Sending build context to Docker daemon 12.98MB 04:42:57 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:42:57 Step 2/10 : FROM ${BASE} AS builder 04:42:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:42:57 c6b39de5b339: Pulling fs layer 04:42:57 a69c41024577: Pulling fs layer 04:42:57 d6de4b400683: Pulling fs layer 04:42:57 35cb2a7552d0: Pulling fs layer 04:42:57 4f4fb700ef54: Pulling fs layer 04:42:57 464afbd9ba4c: Pulling fs layer 04:42:57 00f215d4a9da: Pulling fs layer 04:42:57 35cb2a7552d0: Waiting 04:42:57 d496ad576159: Pulling fs layer 04:42:57 00f215d4a9da: Waiting 04:42:57 4f4fb700ef54: Waiting 04:42:57 464afbd9ba4c: Waiting 04:42:57 d496ad576159: Waiting 04:42:57 a69c41024577: Verifying Checksum 04:42:57 a69c41024577: Download complete 04:42:57 35cb2a7552d0: Download complete 04:42:57 c6b39de5b339: Verifying Checksum 04:42:57 c6b39de5b339: Download complete 04:42:57 4f4fb700ef54: Verifying Checksum 04:42:57 4f4fb700ef54: Download complete 04:42:57 464afbd9ba4c: Download complete 04:42:57 d496ad576159: Verifying Checksum 04:42:57 d496ad576159: Download complete 04:42:58 c6b39de5b339: Pull complete 04:42:59 a69c41024577: Pull complete 04:42:59 d6de4b400683: Verifying Checksum 04:42:59 d6de4b400683: Download complete 04:43:00 00f215d4a9da: Verifying Checksum 04:43:00 00f215d4a9da: Download complete 04:43:01 2f39f015ded8: Pull complete 04:43:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:01 prd-ubuntu20.04-docker-8c-8g-6287 does not seem to be running inside a container 04:43:01 $ 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-1602 -v /w/workspace/gexfoundry_device-sdk-go_PR-1602:/w/workspace/gexfoundry_device-sdk-go_PR-1602:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1602@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:43:02 $ docker top cf335464f48550c6f3d3425631751dd6085b59a975711e76d2de3f4f1b4c8003 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:02 ---> job-cost.sh 04:43:02 lf-activate-venv: SKIPPING 04:43:02 INFO: No Stack... 04:43:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:43:02 INFO: Archiving Costs [Pipeline] sh 04:43:03 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives/cost.csv 04:43:03 + cut -d, -f6 [Pipeline] lock 04:43:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] 04:43:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] did not exist. Created. 04:43:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:43:04 + echo total: 0.2199999988079071 [Pipeline] stash 04:43:05 Stashed 1 file(s) [Pipeline] } 04:43:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:43:05 $ docker stop --time=1 cf335464f48550c6f3d3425631751dd6085b59a975711e76d2de3f4f1b4c8003 04:43:07 $ docker rm -f --volumes cf335464f48550c6f3d3425631751dd6085b59a975711e76d2de3f4f1b4c8003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:43:12 d6de4b400683: Pull complete 04:43:12 35cb2a7552d0: Pull complete 04:43:12 4f4fb700ef54: Pull complete 04:43:12 464afbd9ba4c: Pull complete 04:43:22 00f215d4a9da: Pull complete 04:43:22 d496ad576159: Pull complete 04:43:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:43:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:43:22 ---> f246e2811388 04:43:22 Step 3/10 : ARG MAKE=make build 04:43:24 ---> Running in c9e9a5f6b026 04:43:25 Removing intermediate container c9e9a5f6b026 04:43:25 ---> 5fad323cf313 04:43:25 Step 4/10 : WORKDIR /device-sdk-go 04:43:25 ---> Running in 2076e4f571da 04:43:25 Removing intermediate container 2076e4f571da 04:43:25 ---> 5b3ba070bd3e 04:43:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:43:25 ---> Running in 45d406f4cdd1 04:43:25 Removing intermediate container 45d406f4cdd1 04:43:25 ---> 3967f94b6f5f 04:43:25 Step 6/10 : RUN apk add --update --no-cache make git 04:43:25 ---> Running in de46071981de 04:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:43:28 OK: 266 MiB in 52 packages 04:43:29 Removing intermediate container de46071981de 04:43:29 ---> 725bc717d44b 04:43:29 Step 7/10 : COPY go.mod vendor* ./ 04:43:29 ---> e2d9727fd478 04:43:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:29 ---> Running in 762a8271e1f1 04:45:21 Removing intermediate container 762a8271e1f1 04:45:21 ---> e81c3b95840c 04:45:21 Step 9/10 : COPY . . 04:45:21 ---> 9fafb64c25b4 04:45:21 Step 10/10 : RUN ${MAKE} 04:45:21 ---> Running in 97e872226477 04:45:21 noop 04:45:21 Removing intermediate container 97e872226477 04:45:21 ---> e190fdde9f1b 04:45:21 Successfully built e190fdde9f1b 04:45:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:22 + docker inspect -f . ci-base-image-arm64 04:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:22 prd-ubuntu20.04-docker-arm64-4c-16g-6289 does not seem to be running inside a container 04:45:22 $ 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:45:23 $ docker top 32ac214385c58e5813237410f7d927d4f5e5a7780bfc867fda75f512fffc59ce -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:24 + go version 04:45:24 go version go1.21.9 linux/arm64 [Pipeline] } 04:45:24 $ docker stop --time=1 32ac214385c58e5813237410f7d927d4f5e5a7780bfc867fda75f512fffc59ce 04:45:26 $ docker rm -f --volumes 32ac214385c58e5813237410f7d927d4f5e5a7780bfc867fda75f512fffc59ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:27 + docker inspect -f . ci-base-image-arm64 04:45:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:27 prd-ubuntu20.04-docker-arm64-4c-16g-6289 does not seem to be running inside a container 04:45:27 $ 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:45:28 $ docker top 8f65cd373b4fea5dda2599a29fb43948aacc1ffb4e890eb3c207ba34cc207347 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:29 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:45:30 + make test 04:45:30 go test -race -coverprofile=coverage.out ./... 04:46:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:49:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:49:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.113s coverage: 27.0% of statements 04:49:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.179s coverage: 80.0% of statements 04:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:50:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements 04:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.413s coverage: 55.2% of statements 04:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.184s coverage: 14.4% of statements 04:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.966s coverage: 44.6% of statements 04:50:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:50:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:50:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.375s coverage: 68.5% of statements 04:50:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.376s coverage: 89.2% of statements 04:50:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:50:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.4% of statements 04:50:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:50:30 GO111MODULE=on go vet ./... 04:54:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:22 ./bin/test-attribution-txt.sh 04:54:22 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:54:22 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:54:22 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:54:22 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:54:22 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:54:22 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:54:22 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:54:22 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:54:22 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:54:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:54:22 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:54:22 $ docker stop --time=1 8f65cd373b4fea5dda2599a29fb43948aacc1ffb4e890eb3c207ba34cc207347 04:54:24 $ docker rm -f --volumes 8f65cd373b4fea5dda2599a29fb43948aacc1ffb4e890eb3c207ba34cc207347 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:27 Warning: overwriting stash ‘coverage-report’ 04:54:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:28 + ls -al . 04:54:28 total 376 04:54:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 04:45 . 04:54:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 04:42 .. 04:54:28 -rw-rw-r-- 1 jenkins jenkins 140 Jul 24 04:42 .dockerignore 04:54:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 04:42 .git 04:54:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 04:42 .github 04:54:28 -rw-rw-r-- 1 jenkins jenkins 137 Jul 24 04:42 .gitignore 04:54:28 -rw-rw-r-- 1 jenkins jenkins 42 Jul 24 04:42 .golangci.yml 04:54:28 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 24 04:42 CHANGELOG.md 04:54:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 04:42 GOVERNANCE.md 04:54:28 -rw-rw-r-- 1 jenkins jenkins 885 Jul 24 04:42 Jenkinsfile 04:54:28 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 24 04:42 LICENSE 04:54:28 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 24 04:42 Makefile 04:54:28 -rw-rw-r-- 1 jenkins jenkins 619 Jul 24 04:42 OWNERS.md 04:54:28 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 24 04:42 README.md 04:54:28 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 04:38 VERSION 04:54:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 04:42 bin 04:54:28 -rw-r--r-- 1 jenkins jenkins 125163 Jul 24 04:50 coverage.out 04:54:28 drwxrwxr-x 5 jenkins jenkins 4096 Jul 24 04:42 example 04:54:28 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 24 04:42 go.mod 04:54:28 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 24 04:42 go.sum 04:54:28 drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 04:42 internal 04:54:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 04:42 openapi 04:54:28 drwxrwxr-x 6 jenkins jenkins 4096 Jul 24 04:42 pkg 04:54:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 04:42 snap 04:54:28 -rw-rw-r-- 1 jenkins jenkins 222 Jul 24 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:29 + 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=b640ae78592723ef65e60eeea955d9bd08ba7ee6 --label arch=arm64 --label version=0.0.0 . 04:54:29 Sending build context to Docker daemon 13.11MB 04:54:29 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:54:29 Step 2/24 : FROM ${BASE} AS builder 04:54:29 ---> e190fdde9f1b 04:54:29 Step 3/24 : ARG MAKE=make build 04:54:29 ---> Running in e06c16ec5def 04:54:30 Removing intermediate container e06c16ec5def 04:54:30 ---> b55e42ad8aa1 04:54:30 Step 4/24 : WORKDIR /device-sdk-go 04:54:30 ---> Running in c45617329464 04:54:30 Removing intermediate container c45617329464 04:54:30 ---> 417a04729afd 04:54:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:30 ---> Running in 338201ad157c 04:54:30 Removing intermediate container 338201ad157c 04:54:30 ---> 63760bb2ac39 04:54:30 Step 6/24 : RUN apk add --update --no-cache make git 04:54:30 ---> Running in 0a73fa1fce60 04:54:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:54:33 OK: 266 MiB in 52 packages 04:54:34 Removing intermediate container 0a73fa1fce60 04:54:34 ---> b911d648e8f8 04:54:34 Step 7/24 : COPY go.mod vendor* ./ 04:54:34 ---> 6767870090a9 04:54:34 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:34 ---> Running in 612c6a8d9008 04:54:36 Removing intermediate container 612c6a8d9008 04:54:36 ---> 488fa9002c1e 04:54:36 Step 9/24 : COPY . . 04:54:38 ---> feef1e3679a7 04:54:38 Step 10/24 : RUN ${MAKE} 04:54:38 ---> Running in 0405a7b51bba 04:54:39 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:58:01 Removing intermediate container 0405a7b51bba 04:58:01 ---> 527b94186793 04:58:01 Step 11/24 : FROM alpine:3.18 04:58:01 3.18: Pulling from library/alpine 04:58:01 4983c3fe2029: Pulling fs layer 04:58:01 4983c3fe2029: Verifying Checksum 04:58:01 4983c3fe2029: Download complete 04:58:01 4983c3fe2029: Pull complete 04:58:01 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:58:01 Status: Downloaded newer image for alpine:3.18 04:58:01 ---> a0237000ae83 04:58:01 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:01 ---> Running in 359d8d6adf7f 04:58:01 Removing intermediate container 359d8d6adf7f 04:58:01 ---> 057ff56c075c 04:58:01 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:58:01 ---> Running in d511af0e433b 04:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:01 (1/1) Installing dumb-init (1.2.5-r2) 04:58:01 Executing busybox-1.36.1-r7.trigger 04:58:01 OK: 8 MiB in 16 packages 04:58:01 Removing intermediate container d511af0e433b 04:58:01 ---> 7e6b57446175 04:58:01 Step 14/24 : RUN apk --no-cache upgrade 04:58:01 ---> Running in bb4987c60ad8 04:58:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:03 OK: 8 MiB in 16 packages 04:58:04 Removing intermediate container bb4987c60ad8 04:58:04 ---> de5a80092123 04:58:04 Step 15/24 : WORKDIR / 04:58:04 ---> Running in aac461a651fb 04:58:04 Removing intermediate container aac461a651fb 04:58:04 ---> 78dd4d1257a6 04:58:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:58:05 ---> b48380e3f640 04:58:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:58:07 ---> d1f4d527460a 04:58:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:58:07 ---> c00531902510 04:58:07 Step 19/24 : EXPOSE 59999 04:58:08 ---> Running in 2b9e1e636536 04:58:08 Removing intermediate container 2b9e1e636536 04:58:08 ---> 2dedecd792d4 04:58:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:58:08 ---> Running in 7e0e43ebbe59 04:58:08 Removing intermediate container 7e0e43ebbe59 04:58:08 ---> 76cdb87e4017 04:58:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:58:08 ---> Running in fd8747d4a766 04:58:08 Removing intermediate container fd8747d4a766 04:58:08 ---> 83929e5a25ac 04:58:08 Step 22/24 : LABEL arch=arm64 04:58:08 ---> Running in 9bcb57ddd017 04:58:09 Removing intermediate container 9bcb57ddd017 04:58:09 ---> 959dd89ec6eb 04:58:09 Step 23/24 : LABEL git_sha=b640ae78592723ef65e60eeea955d9bd08ba7ee6 04:58:09 ---> Running in 268f490d83d5 04:58:09 Removing intermediate container 268f490d83d5 04:58:09 ---> 88ced21f92dd 04:58:09 Step 24/24 : LABEL version=0.0.0 04:58:09 ---> Running in 09a0dc4d3aaa 04:58:09 Removing intermediate container 09a0dc4d3aaa 04:58:09 ---> a4397c1c7285 04:58:09 [Warning] One or more build-args [ARCH] were not consumed 04:58:10 Successfully built a4397c1c7285 04:58:10 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:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:11 04:58:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:11 arm64: Pulling from edgex-lftools-log-publisher 04:58:11 8998bd30e6a1: Pulling fs layer 04:58:11 04944245beec: Pulling fs layer 04:58:11 699f458cf7ca: Pulling fs layer 04:58:11 765212b225bb: Pulling fs layer 04:58:11 f23df028b6ca: Pulling fs layer 04:58:11 d65c8cfc05b1: Pulling fs layer 04:58:11 2437ff75d9bd: Pulling fs layer 04:58:11 765212b225bb: Waiting 04:58:11 f23df028b6ca: Waiting 04:58:11 d65c8cfc05b1: Waiting 04:58:11 2437ff75d9bd: Waiting 04:58:11 04944245beec: Verifying Checksum 04:58:11 04944245beec: Download complete 04:58:11 765212b225bb: Verifying Checksum 04:58:11 765212b225bb: Download complete 04:58:11 f23df028b6ca: Download complete 04:58:11 d65c8cfc05b1: Verifying Checksum 04:58:11 d65c8cfc05b1: Download complete 04:58:12 699f458cf7ca: Verifying Checksum 04:58:12 699f458cf7ca: Download complete 04:58:12 8998bd30e6a1: Verifying Checksum 04:58:12 8998bd30e6a1: Download complete 04:58:15 2437ff75d9bd: Verifying Checksum 04:58:15 2437ff75d9bd: Download complete 04:58:17 8998bd30e6a1: Pull complete 04:58:17 04944245beec: Pull complete 04:58:19 699f458cf7ca: Pull complete 04:58:19 765212b225bb: Pull complete 04:58:20 f23df028b6ca: Pull complete 04:58:20 d65c8cfc05b1: Pull complete 04:58:38 2437ff75d9bd: Pull complete 04:58:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:39 prd-ubuntu20.04-docker-arm64-4c-16g-6289 does not seem to be running inside a container 04:58:39 $ 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:58:41 $ docker top 8d0eec46f33aa53ae36c8673cceb653ac619858716e8e2f81de94229ca498387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:42 ---> job-cost.sh 04:58:42 lf-activate-venv: SKIPPING 04:58:42 INFO: No Stack... 04:58:43 INFO: Retrieving Pricing Info for: v3-standard-4 04:58:44 INFO: Archiving Costs [Pipeline] sh 04:58:44 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:58:44 + cut -d, -f6 [Pipeline] lock 04:58:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] 04:58:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] did not exist. Created. 04:58:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:45 /w/workspace/device-sdk-go/1@tmp/durable-0d69f8ae/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:58:46 + echo total: 0.10999999940395355 [Pipeline] stash 04:58:46 Warning: overwriting stash ‘stack-cost’ 04:58:46 Stashed 1 file(s) [Pipeline] } 04:58:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1602-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:58:46 $ docker stop --time=1 8d0eec46f33aa53ae36c8673cceb653ac619858716e8e2f81de94229ca498387 04:58:48 $ docker rm -f --volumes 8d0eec46f33aa53ae36c8673cceb653ac619858716e8e2f81de94229ca498387 [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:58:49 provisioning config files... 04:58:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/config1356899114988596158tmp [Pipeline] { [Pipeline] sh 04:58:50 + set +x 04:58:50 + curl -s https://codecov.io/bash 04:58:50 + bash -s -- 04:58:50 04:58:50 _____ _ 04:58:50 / ____| | | 04:58:50 | | ___ __| | ___ ___ _____ __ 04:58:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:58:50 | |___| (_) | (_| | __/ (_| (_) \ V / 04:58:50 \_____\___/ \__,_|\___|\___\___/ \_/ 04:58:50 Bash-1.0.6 04:58:50 04:58:50 04:58:50 ==> git version 2.25.1 found 04:58:50 ==> 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:58:50 Release-Date: 2020-01-08 04:58:50 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:58:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:58:50 ==> Jenkins CI detected. 04:58:50 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1602 04:58:50 project root: . 04:58:50 --> token set from env 04:58:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:58:50 ==> Running gcov in . (disable via -X gcov) 04:58:50 ==> Python coveragepy not found 04:58:50 ==> Searching for coverage reports in: 04:58:50 + . 04:58:50 -> Found 1 reports 04:58:50 ==> Detecting git/mercurial file structure 04:58:50 ==> Reading reports 04:58:50 + ./coverage.out bytes=125163 04:58:50 ==> Appending adjustments 04:58:50 https://docs.codecov.io/docs/fixing-reports 04:58:50 + Found adjustments 04:58:50 ==> Gzipping contents 04:58:50 20K /tmp/codecov.9swYJ5.gz 04:58:50 ==> Uploading reports 04:58:50 url: https://codecov.io 04:58:50 query: branch=PR-1602&commit=b640ae78592723ef65e60eeea955d9bd08ba7ee6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1602&job=&cmd_args= 04:58:50 -> Pinging Codecov 04:58:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1602&commit=b640ae78592723ef65e60eeea955d9bd08ba7ee6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1602&job=&cmd_args= 04:58:50 -> Uploading to 04:58:50 https://storage.googleapis.com/codecov/v4/raw/2024-07-24/7E55EF52A471D76F132DFD9A03CDDE97/b640ae78592723ef65e60eeea955d9bd08ba7ee6/905ab13c-a3ee-4d6a-b137-0582b3ae6395.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240724%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240724T045850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1316d1e47b0e6f820adb2eb6687f6d3286aa86517a006d0d1de65d7322c49fdf 04:58:50 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:50 Dload Upload Total Spent Left Speed 04:58:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17072 0 0 100 17072 0 64422 --:--:-- --:--:-- --:--:-- 64666 04:58:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b640ae78592723ef65e60eeea955d9bd08ba7ee6 [Pipeline] } 04:58:51 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:58:53 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives ] 04:58:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives 04:58:53 total 16 04:58:53 drwxr-xr-x 3 root root 4096 Jul 24 04:43 . 04:58:53 drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 04:43 .. 04:58:53 drwxr-xr-x 2 root root 4096 Jul 24 04:43 cost 04:58:53 -rw-r--r-- 1 root root 86 Jul 24 04:43 cost.csv 04:58:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives 04:58:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives 04:58:53 total 16 04:58:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 04:43 . 04:58:53 drwxrwxr-x 12 jenkins jenkins 4096 Jul 24 04:43 .. 04:58:53 drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 04:43 cost 04:58:53 -rw-r--r-- 1 jenkins jenkins 86 Jul 24 04:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:58:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:58:54 ---> package-listing.sh 04:58:54 ++ facter osfamily 04:58:54 ++ tr '[:upper:]' '[:lower:]' 04:58:54 + OS_FAMILY=debian 04:58:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1602 04:58:54 + START_PACKAGES=/tmp/packages_start.txt 04:58:54 + END_PACKAGES=/tmp/packages_end.txt 04:58:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:58:54 + PACKAGES=/tmp/packages_start.txt 04:58:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1602 ']' 04:58:54 + PACKAGES=/tmp/packages_end.txt 04:58:54 + case "${OS_FAMILY}" in 04:58:54 + dpkg -l 04:58:54 + grep '^ii' 04:58:54 + '[' -f /tmp/packages_start.txt ']' 04:58:54 + '[' -f /tmp/packages_end.txt ']' 04:58:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:58:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1602 ']' 04:58:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives/ 04:58:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1602/archives/ [Pipeline] echo 04:58:54 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-1602/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:58:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:56 prd-ubuntu20.04-docker-8c-8g-6287 does not seem to be running inside a container 04:58:56 $ 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-1602/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-1602 -v /w/workspace/gexfoundry_device-sdk-go_PR-1602:/w/workspace/gexfoundry_device-sdk-go_PR-1602:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1602@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:58:56 $ docker top 0a77cc3727446d152a084c17bafd356a6c9f9f34cfd6740a458db37effa76877 -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:56 + touch /tmp/pre-build-complete [Pipeline] sh 04:58:57 + mkdir -p /var/log/sysstat [Pipeline] sh 04:58:57 + ls /var/log/sa-host 04:58:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:57 provisioning config files... 04:58:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1602@tmp/config3642378551869433546tmp [Pipeline] { [Pipeline] echo 04:58:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:58:58 ---> create-netrc.sh [Pipeline] } 04:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:58:58 ---> python-tools-install.sh [Pipeline] echo 04:58:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:58:59 ---> sudo-logs.sh 04:58:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:58:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:58:59 ---> job-cost.sh 04:58:59 lf-activate-venv: SKIPPING 04:58:59 DEBUG: total: 0.2199999988079071 04:58:59 INFO: Retrieving Stack Cost... 04:58:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:59:00 INFO: Archiving Costs [Pipeline] echo 04:59:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:59:00 ---> logs-deploy.sh 04:59:00 lf-activate-venv: SKIPPING 04:59:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1602/1 04:59:00 INFO: archiving workspace using pattern(s): 04:59:01 Archives upload complete. 04:59:01 INFO: archiving logs to Nexus