Pull request #1550 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fda592ce02a7c523567b60eaa4d22a875e8ea560+4eb5e29dea1939910f88077e170bd5bcfca266de (bd484f2da8e7516b7bc128baf3fc4c5b5083f31f) 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-ssh15376414814157326392.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17232127104114656809.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1550/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-1550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18085091834870591412.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-1550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2952822213640416861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh4922858878624919834.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-1550/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-1550/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8419044989461100656.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26225’ Running on prd-ubuntu20.04-docker-8c-8g-26227 in /w/workspace/gexfoundry_device-sdk-go_PR-1550 [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-1550 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1550/head:refs/remotes/origin/PR-1550 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit fda592ce02a7c523567b60eaa4d22a875e8ea560 Merge succeeded, producing fda592ce02a7c523567b60eaa4d22a875e8ea560 Checking out Revision fda592ce02a7c523567b60eaa4d22a875e8ea560 (PR-1550) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:04 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # 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 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:04 ========================================================= 04:19:04 EdgeX Global Pipelines Version Info 04:19:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:05 ------------------- 04:19:05 stable info: 04:19:05 ------------------- 04:19:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:19:05 Message: update stable to v1.0.258 04:19:06 ------------------- 04:19:06 experimental info: 04:19:06 ------------------- 04:19:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:19:06 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1550 [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1550 [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1550 [Pipeline] echo 04:19:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo 04:19:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fda592c [Pipeline] echo 04:19:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:09 provisioning config files... 04:19:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config7071699005854526388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> ****-login.sh 04:19:09 nexus3.edgexfoundry.org:10001 04:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:11 Configure a credential helper to remove this warning. See 04:19:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:11 04:19:11 Login Succeeded 04:19:11 nexus3.edgexfoundry.org:10002 04:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:11 Configure a credential helper to remove this warning. See 04:19:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:11 04:19:11 Login Succeeded 04:19:11 nexus3.edgexfoundry.org:10003 04:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:11 Configure a credential helper to remove this warning. See 04:19:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:11 04:19:11 Login Succeeded 04:19:11 nexus3.edgexfoundry.org:10004 04:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:11 Configure a credential helper to remove this warning. See 04:19:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:11 04:19:11 Login Succeeded 04:19:11 ****.io 04:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:12 Configure a credential helper to remove this warning. See 04:19:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:12 04:19:12 Login Succeeded 04:19:12 ---> ****-login.sh ends [Pipeline] } 04:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:12 + git rev-list -1 --merges fda592ce02a7c523567b60eaa4d22a875e8ea560~1..fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo 04:19:13 -----------> git rev-list -1 --merges fda592ce02a7c523567b60eaa4d22a875e8ea560~1..fda592ce02a7c523567b60eaa4d22a875e8ea560 fda592ce02a7c523567b60eaa4d22a875e8ea560 [false] [Pipeline] sh 04:19:13 + git log --format=format:%s -1 fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo 04:19:13 ========================================================= 04:19:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:13 + git log --format=format:%s -1 fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo 04:19:13 [semverPrep] GIT_COMMIT: fda592ce02a7c523567b60eaa4d22a875e8ea560, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:19:14 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:14 + grep -v github /etc/ssh/ssh_known_hosts 04:19:14 + [ -e /tmp/ssh_known_hosts ] 04:19:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:14 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:14 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:14 04:19:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:15 0.1.4: Pulling from edgex-devops/py-git-semver 04:19:15 b85a868b505f: Pulling fs layer 04:19:15 e2be974225ed: Pulling fs layer 04:19:15 339a4e72a1f5: Pulling fs layer 04:19:15 988bab9f4d93: Pulling fs layer 04:19:15 1469e6f7b9e6: Pulling fs layer 04:19:15 eaf3925da568: Pulling fs layer 04:19:15 bab4dde63d76: Pulling fs layer 04:19:15 bde34c3a00c8: Pulling fs layer 04:19:15 b352a97aabf1: Pulling fs layer 04:19:15 4872d77fe225: Pulling fs layer 04:19:15 5851b861e8e6: Pulling fs layer 04:19:15 1469e6f7b9e6: Waiting 04:19:15 eaf3925da568: Waiting 04:19:15 988bab9f4d93: Waiting 04:19:15 bab4dde63d76: Waiting 04:19:15 b352a97aabf1: Waiting 04:19:15 bde34c3a00c8: Waiting 04:19:15 4872d77fe225: Waiting 04:19:15 5851b861e8e6: Waiting 04:19:15 e2be974225ed: Verifying Checksum 04:19:15 e2be974225ed: Download complete 04:19:15 988bab9f4d93: Download complete 04:19:15 1469e6f7b9e6: Verifying Checksum 04:19:15 1469e6f7b9e6: Download complete 04:19:15 eaf3925da568: Download complete 04:19:15 339a4e72a1f5: Verifying Checksum 04:19:15 339a4e72a1f5: Download complete 04:19:15 bde34c3a00c8: Download complete 04:19:16 b352a97aabf1: Verifying Checksum 04:19:16 b352a97aabf1: Download complete 04:19:16 4872d77fe225: Verifying Checksum 04:19:16 4872d77fe225: Download complete 04:19:16 5851b861e8e6: Verifying Checksum 04:19:16 5851b861e8e6: Download complete 04:19:16 b85a868b505f: Verifying Checksum 04:19:16 b85a868b505f: Download complete 04:19:16 bab4dde63d76: Verifying Checksum 04:19:16 bab4dde63d76: Download complete 04:19:17 b85a868b505f: Pull complete 04:19:18 e2be974225ed: Pull complete 04:19:18 339a4e72a1f5: Pull complete 04:19:19 988bab9f4d93: Pull complete 04:19:19 1469e6f7b9e6: Pull complete 04:19:20 eaf3925da568: Pull complete 04:19:21 bab4dde63d76: Pull complete 04:19:22 bde34c3a00c8: Pull complete 04:19:23 b352a97aabf1: Pull complete 04:19:23 4872d77fe225: Pull complete 04:19:23 5851b861e8e6: Pull complete 04:19:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:24 prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container 04:19:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:19:32 $ docker top 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba -eo pid,comm 04:19:32 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:19:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:32 [ssh-agent] Looking for ssh-agent implementation... 04:19:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:33 $ docker exec 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent 04:19:33 SSH_AUTH_SOCK=/tmp/ssh-ztOQj6uVs9m9/agent.13 04:19:33 SSH_AGENT_PID=19 04:19:33 Running ssh-add (command line suppressed) 04:19:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_3606645758957906633.key (/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_3606645758957906633.key) 04:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:33 + git tag --points-at HEAD [Pipeline] } 04:19:33 $ docker exec --env ******** --env ******** 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent -k 04:19:33 unset SSH_AUTH_SOCK; 04:19:33 unset SSH_AGENT_PID; 04:19:33 echo Agent pid 19 killed; 04:19:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:33 [ssh-agent] Looking for ssh-agent implementation... 04:19:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:34 $ docker exec 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent 04:19:34 SSH_AUTH_SOCK=/tmp/ssh-Q7E7Aei1UAKE/agent.69 04:19:34 SSH_AGENT_PID=75 04:19:34 Running ssh-add (command line suppressed) 04:19:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_896752319728461444.key (/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_896752319728461444.key) 04:19:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:34 + git semver init 04:19:34 2023-12-27 04:19:34,883 [run_init] DEBUG init version:0.0.0 force:False 04:19:34 2023-12-27 04:19:34,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver 04:19:34 2023-12-27 04:19:34,886 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver 04:19:34 2023-12-27 04:19:34,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550, universal_newlines=False, shell=None, istream=None) 04:19:36 2023-12-27 04:19:36,476 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.git/info/exclude 04:19:36 2023-12-27 04:19:36,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 with force:False 04:19:36 2023-12-27 04:19:36,477 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 04:19:36 2023-12-27 04:19:36,481 [execute] INFO git cat-file --batch-check 04:19:36 2023-12-27 04:19:36,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver, universal_newlines=False, shell=None, istream=) 04:19:36 2023-12-27 04:19:36,487 [execute] INFO git cat-file --batch 04:19:36 2023-12-27 04:19:36,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver, universal_newlines=False, shell=None, istream=) 04:19:36 2023-12-27 04:19:36,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 04:19:36 0.0.0 [Pipeline] } 04:19:36 $ docker exec --env ******** --env ******** 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent -k 04:19:36 unset SSH_AUTH_SOCK; 04:19:36 unset SSH_AGENT_PID; 04:19:36 echo Agent pid 75 killed; 04:19:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:37 + git semver [Pipeline] } 04:19:37 $ docker stop --time=1 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba 04:19:40 $ docker rm -f --volumes 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba [Pipeline] // withDockerContainer [Pipeline] sh 04:19:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:40 Stashed 1 file(s) [Pipeline] echo 04:19:41 [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:19:41 provisioning config files... 04:19:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config6422490260024681270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:42 ---> ****-login.sh 04:19:42 nexus3.edgexfoundry.org:10001 04:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:42 Configure a credential helper to remove this warning. See 04:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:42 04:19:42 Login Succeeded 04:19:42 nexus3.edgexfoundry.org:10002 04:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:42 Configure a credential helper to remove this warning. See 04:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:42 04:19:42 Login Succeeded 04:19:42 nexus3.edgexfoundry.org:10003 04:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:42 Configure a credential helper to remove this warning. See 04:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:42 04:19:42 Login Succeeded 04:19:42 nexus3.edgexfoundry.org:10004 04:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:42 Configure a credential helper to remove this warning. See 04:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:42 04:19:42 Login Succeeded 04:19:42 ****.io 04:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:42 Configure a credential helper to remove this warning. See 04:19:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:42 04:19:42 Login Succeeded 04:19:42 ---> ****-login.sh ends [Pipeline] } 04:19:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:43 ========================================================= 04:19:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:19:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:43 + 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:19:43 Sending build context to Docker daemon 21.92MB 04:19:43 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:19:43 Step 2/10 : FROM ${BASE} AS builder 04:19:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:44 7264a8db6415: Pulling fs layer 04:19:44 c4d48a809fc2: Pulling fs layer 04:19:44 4f1c88b9dad5: Pulling fs layer 04:19:44 ad3a456e5733: Pulling fs layer 04:19:44 69c7f0334f64: Pulling fs layer 04:19:44 1f1c1a5573a3: Pulling fs layer 04:19:44 ce7588e14bc9: Pulling fs layer 04:19:44 b5e4710f87ac: Pulling fs layer 04:19:44 69c7f0334f64: Waiting 04:19:44 ad3a456e5733: Waiting 04:19:44 1f1c1a5573a3: Waiting 04:19:44 b5e4710f87ac: Waiting 04:19:44 ce7588e14bc9: Waiting 04:19:44 c4d48a809fc2: Download complete 04:19:44 ad3a456e5733: Verifying Checksum 04:19:44 ad3a456e5733: Download complete 04:19:44 69c7f0334f64: Verifying Checksum 04:19:44 69c7f0334f64: Download complete 04:19:44 7264a8db6415: Verifying Checksum 04:19:44 7264a8db6415: Download complete 04:19:44 1f1c1a5573a3: Verifying Checksum 04:19:44 1f1c1a5573a3: Download complete 04:19:44 b5e4710f87ac: Verifying Checksum 04:19:44 7264a8db6415: Pull complete 04:19:44 4f1c88b9dad5: Verifying Checksum 04:19:44 4f1c88b9dad5: Download complete 04:19:45 c4d48a809fc2: Pull complete 04:19:45 ce7588e14bc9: Verifying Checksum 04:19:45 ce7588e14bc9: Download complete 04:19:48 4f1c88b9dad5: Pull complete 04:19:48 ad3a456e5733: Pull complete 04:19:49 69c7f0334f64: Pull complete 04:19:49 1f1c1a5573a3: Pull complete 04:19:52 ce7588e14bc9: Pull complete 04:19:52 b5e4710f87ac: Pull complete 04:19:52 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:19:52 ---> 88b5674ff536 04:19:52 Step 3/10 : ARG MAKE=make build 04:19:56 Still waiting to schedule task 04:19:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26226’ is offline 04:20:02 ---> Running in f0e7a8a42450 04:20:02 Removing intermediate container f0e7a8a42450 04:20:02 ---> 0e0794d08bfe 04:20:02 Step 4/10 : WORKDIR /device-sdk-go 04:20:02 ---> Running in 4151aa90bb94 04:20:02 Removing intermediate container 4151aa90bb94 04:20:02 ---> 14d81cfbd344 04:20:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:02 ---> Running in 2cc45e484d6a 04:20:02 Removing intermediate container 2cc45e484d6a 04:20:02 ---> 2df22efc4d2c 04:20:02 Step 6/10 : RUN apk add --update --no-cache make git 04:20:02 ---> Running in 8001ed7fe3fa 04:20:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:03 OK: 264 MiB in 52 packages 04:20:03 Removing intermediate container 8001ed7fe3fa 04:20:03 ---> 8f49752847c2 04:20:03 Step 7/10 : COPY go.mod vendor* ./ 04:20:04 ---> 61e569ded3bc 04:20:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:04 ---> Running in cea4074a13f4 04:21:26 Removing intermediate container cea4074a13f4 04:21:26 ---> 3b34c84ad52f 04:21:26 Step 9/10 : COPY . . 04:21:26 ---> 324f8d774d44 04:21:26 Step 10/10 : RUN ${MAKE} 04:21:26 ---> Running in b1f242dbd7f1 04:21:26 noop 04:21:26 Removing intermediate container b1f242dbd7f1 04:21:26 ---> 529b6764d175 04:21:26 Successfully built 529b6764d175 04:21:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:27 + docker inspect -f . ci-base-image-x86_64 04:21:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:27 prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container 04:21:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@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-x86_64 cat 04:21:28 $ docker top 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:28 + go version 04:21:28 go version go1.21.0 linux/amd64 [Pipeline] } 04:21:28 $ docker stop --time=1 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 04:21:30 $ docker rm -f --volumes 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:31 + docker inspect -f . ci-base-image-x86_64 04:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:31 prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container 04:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@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-x86_64 cat 04:21:32 $ docker top 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1550 [Pipeline] fileExists [Pipeline] sh 04:21:33 + make test 04:21:33 go test -race -coverprofile=coverage.out ./... 04:21:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:21:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26228 in /w/workspace/gexfoundry_device-sdk-go_PR-1550 [Pipeline] { [Pipeline] ws 04:21:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:21:47 The recommended git tool is: git 04:21:52 using credential edgex-jenkins-ssh 04:21:52 Cloning the remote Git repository 04:21:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:21:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:52 > git --version # timeout=10 04:21:52 > git --version # 'git version 2.25.1' 04:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:21:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.060s coverage: 27.6% of statements 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:21:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.052s coverage: 81.5% of statements 04:21:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 04:21:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 71.8% of statements 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:21:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:21:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1550/head:refs/remotes/origin/PR-1550 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:21:58 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit fda592ce02a7c523567b60eaa4d22a875e8ea560 04:21:58 Merge succeeded, producing fda592ce02a7c523567b60eaa4d22a875e8ea560 04:21:58 Checking out Revision fda592ce02a7c523567b60eaa4d22a875e8ea560 (PR-1550) 04:21:58 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:21:58 > git config core.sparsecheckout # timeout=10 04:21:58 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 04:21:58 > git remote # timeout=10 04:21:58 > git config --get remote.origin.url # timeout=10 04:21:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:58 > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 04:21:58 > git rev-parse HEAD^{commit} # timeout=10 04:21:58 > git config core.sparsecheckout # timeout=10 04:21:58 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 04:21:59 > git --version # timeout=10 04:21:59 > git --version # 'git version 2.25.1' 04:21:59 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:21:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements 04:21:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.978s coverage: 45.9% of statements 04:21:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.068s coverage: 68.5% of statements 04:21:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.125s coverage: 89.2% of statements 04:21:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.038s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:00 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:00 Dload Upload Total Spent Left Speed 04:22:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh 04:22:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:01 + sudo tee /etc/docker/daemon.new 04:22:01 { 04:22:01 "registry-mirrors": [ 04:22:01 "https://nexus3.edgexfoundry.org:10001" 04:22:01 ], 04:22:01 "bip": "10.250.0.254/24", 04:22:01 "hosts": [ 04:22:01 "tcp://0.0.0.0:5555", 04:22:01 "unix:///var/run/docker.sock" 04:22:01 ], 04:22:01 "mtu": 1458, 04:22:01 "selinux-enabled": true, 04:22:01 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:01 } [Pipeline] sh 04:22:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:20 provisioning config files... 04:22:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18230660910200755971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:20 ---> ****-login.sh 04:22:20 nexus3.edgexfoundry.org:10001 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 GO111MODULE=on go vet ./... 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10002 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10003 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10004 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:22 Configure a credential helper to remove this warning. See 04:22:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:22 04:22:22 Login Succeeded 04:22:22 ****.io 04:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:22 Configure a credential helper to remove this warning. See 04:22:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:22 04:22:22 Login Succeeded 04:22:22 ---> ****-login.sh ends [Pipeline] } 04:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:23 ========================================================= 04:22:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:22:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:23 + 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:22:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:22:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:22:23 ./bin/test-attribution-txt.sh [Pipeline] echo 04:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:22:24 $ docker stop --time=1 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 04:22:25 #0 building with "default" instance using docker driver 04:22:25 04:22:25 #1 [internal] load .dockerignore 04:22:25 #1 transferring context: 182B done 04:22:25 #1 DONE 0.1s 04:22:25 04:22:25 #2 [internal] load build definition from Dockerfile 04:22:25 #2 transferring dockerfile: 1.54kB done 04:22:25 #2 DONE 0.1s 04:22:25 04:22:25 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:22:25 #3 DONE 0.1s 04:22:25 04:22:25 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:22:25 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:22:25 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:22:25 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:22:25 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 04:22:25 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 04:22:25 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 04:22:26 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 04:22:26 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:22:26 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 04:22:26 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:22:26 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s 04:22:26 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:22:26 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:22:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.4s 04:22:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 04:22:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 04:22:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.55MB / 11.40MB 0.5s 04:22:26 #4 ... 04:22:26 04:22:26 #5 [internal] load build context 04:22:26 #5 transferring context: 11.15MB 0.5s done 04:22:26 #5 DONE 0.6s 04:22:26 04:22:26 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.87MB / 63.99MB 0.6s 04:22:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 04:22:26 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:22:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.73MB / 97.63MB 0.8s 04:22:26 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s 04:22:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 0.9s 04:22:26 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 1.0s 04:22:26 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.61MB / 97.63MB 1.0s 04:22:26 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:22:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.64MB / 63.99MB 1.1s 04:22:27 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:22:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.24MB / 63.99MB 1.3s 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.3s 04:22:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.53MB / 63.99MB 1.4s 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.57MB / 97.63MB 1.4s 04:22:27 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.03MB / 97.63MB 1.6s 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s 04:22:27 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 1.8s 04:22:27 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.0s 04:22:28 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s done 04:22:33 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 04:22:35 $ docker rm -f --volumes 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:22:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:38 + ls -al . 04:22:38 total 308 04:22:38 drwxrwxr-x 11 jenkins jenkins 4096 Dec 27 04:21 . 04:22:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:19 .. 04:22:38 -rw-rw-r-- 1 jenkins jenkins 140 Dec 27 04:19 .dockerignore 04:22:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 27 04:22 .git 04:22:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:19 .github 04:22:38 -rw-rw-r-- 1 jenkins jenkins 137 Dec 27 04:19 .gitignore 04:22:38 -rw-rw-r-- 1 jenkins jenkins 42 Dec 27 04:19 .golangci.yml 04:22:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 27 04:19 .semver 04:22:38 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 27 04:19 CHANGELOG.md 04:22:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 27 04:19 GOVERNANCE.md 04:22:38 -rw-rw-r-- 1 jenkins jenkins 885 Dec 27 04:19 Jenkinsfile 04:22:38 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 27 04:19 LICENSE 04:22:38 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 27 04:19 Makefile 04:22:38 -rw-rw-r-- 1 jenkins jenkins 619 Dec 27 04:19 OWNERS.md 04:22:38 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 27 04:19 README.md 04:22:38 -rw-rw-r-- 1 jenkins jenkins 5 Dec 27 04:19 VERSION 04:22:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 27 04:19 bin 04:22:38 -rw-r--r-- 1 jenkins jenkins 122155 Dec 27 04:21 coverage.out 04:22:38 drwxrwxr-x 5 jenkins jenkins 4096 Dec 27 04:19 example 04:22:38 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 27 04:19 go.mod 04:22:38 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 27 04:19 go.sum 04:22:38 drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:19 internal 04:22:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:19 openapi 04:22:38 drwxrwxr-x 6 jenkins jenkins 4096 Dec 27 04:19 pkg 04:22:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:19 snap 04:22:38 -rw-rw-r-- 1 jenkins jenkins 222 Dec 27 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:38 + 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=fda592ce02a7c523567b60eaa4d22a875e8ea560 --label arch=amd64 --label version=0.0.0 . 04:22:38 Sending build context to Docker daemon 22.05MB 04:22:38 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:22:38 Step 2/23 : FROM ${BASE} AS builder 04:22:38 ---> 529b6764d175 04:22:38 Step 3/23 : ARG MAKE=make build 04:22:38 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 04:22:39 ---> Running in 74783bdbfe6a 04:22:39 Removing intermediate container 74783bdbfe6a 04:22:39 ---> 76dbddc1ad1b 04:22:39 Step 4/23 : WORKDIR /device-sdk-go 04:22:40 ---> Running in d858a50e0a02 04:22:40 Removing intermediate container d858a50e0a02 04:22:40 ---> 9034ced13b6c 04:22:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:22:40 ---> Running in 5cc46b063d04 04:22:41 Removing intermediate container 5cc46b063d04 04:22:41 ---> a73f555cd0b9 04:22:41 Step 6/23 : RUN apk add --update --no-cache make git 04:22:41 ---> Running in 2ff49afb9da7 04:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:22:42 OK: 264 MiB in 52 packages 04:22:43 Removing intermediate container 2ff49afb9da7 04:22:43 ---> 45cef8a644c2 04:22:43 Step 7/23 : COPY go.mod vendor* ./ 04:22:44 ---> 9db5324ccf6a 04:22:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:44 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done 04:22:44 ---> Running in 29be0b082c62 04:22:45 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:22:45 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 04:22:45 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:22:45 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:22:46 Removing intermediate container 29be0b082c62 04:22:46 ---> ec389f71ab37 04:22:46 Step 9/23 : COPY . . 04:22:49 ---> 27e6931054c1 04:22:49 Step 10/23 : RUN ${MAKE} 04:22:49 ---> Running in 5717861eb2fe 04:22:49 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:22:51 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:22:55 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 04:22:55 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:22:56 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:22:56 #4 DONE 31.1s 04:22:57 04:22:57 #6 [builder 2/7] WORKDIR /device-sdk-go 04:22:58 #6 DONE 1.6s 04:22:58 04:22:58 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:22:59 #7 0.723 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:22:59 #7 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:00 #7 2.086 OK: 266 MiB in 52 packages 04:23:00 #7 DONE 2.3s 04:23:00 04:23:00 #8 [builder 4/7] COPY go.mod vendor* ./ 04:23:00 #8 DONE 0.1s 04:23:01 04:23:01 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:28 Removing intermediate container 5717861eb2fe 04:23:28 ---> ce3a02903171 04:23:28 Step 11/23 : FROM alpine:3.18 04:23:28 3.18: Pulling from library/alpine 04:23:28 c926b61bad3b: Pulling fs layer 04:23:28 c926b61bad3b: Verifying Checksum 04:23:28 c926b61bad3b: Download complete 04:23:29 c926b61bad3b: Pull complete 04:23:29 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:23:29 Status: Downloaded newer image for alpine:3.18 04:23:29 ---> b541f2080109 04:23:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:23:30 ---> Running in 0a97e01b7a5c 04:23:31 Removing intermediate container 0a97e01b7a5c 04:23:31 ---> 728535e6af56 04:23:31 Step 13/23 : RUN apk add --update --no-cache 04:23:32 ---> Running in 673872c6a24a 04:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:33 OK: 7 MiB in 15 packages 04:23:34 Removing intermediate container 673872c6a24a 04:23:34 ---> 82709d531437 04:23:34 Step 14/23 : WORKDIR / 04:23:34 ---> Running in 9da8ba452536 04:23:35 Removing intermediate container 9da8ba452536 04:23:35 ---> c78b7dcd9b91 04:23:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:23:36 ---> 02419bc82b01 04:23:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:23:39 ---> f5549e0a04e9 04:23:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:23:39 ---> eee418a07810 04:23:39 Step 18/23 : EXPOSE 59999 04:23:40 ---> Running in 90c384066ba3 04:23:40 Removing intermediate container 90c384066ba3 04:23:40 ---> 7002310999dd 04:23:40 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:23:41 ---> Running in 126c0752ce10 04:23:41 Removing intermediate container 126c0752ce10 04:23:41 ---> c0f71ebdb943 04:23:41 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:23:42 ---> Running in ab3f7856cc69 04:23:42 Removing intermediate container ab3f7856cc69 04:23:42 ---> 55d4ffbe24c8 04:23:42 Step 21/23 : LABEL arch=amd64 04:23:43 ---> Running in fc6150653e5c 04:23:43 Removing intermediate container fc6150653e5c 04:23:43 ---> 089bf84d12cd 04:23:43 Step 22/23 : LABEL git_sha=fda592ce02a7c523567b60eaa4d22a875e8ea560 04:23:43 ---> Running in 3bd57a375bbd 04:23:44 Removing intermediate container 3bd57a375bbd 04:23:44 ---> 19f0f5775415 04:23:44 Step 23/23 : LABEL version=0.0.0 04:23:45 ---> Running in 8157fe4fd6a1 04:23:46 Removing intermediate container 8157fe4fd6a1 04:23:46 ---> 06973538cb1a 04:23:46 [Warning] One or more build-args [ARCH] were not consumed 04:23:46 Successfully built 06973538cb1a 04:23:46 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:47 04:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:47 latest: Pulling from edgex-lftools-log-publisher 04:23:47 5eb5b503b376: Pulling fs layer 04:23:47 5c69ac0246d0: Pulling fs layer 04:23:47 ec43610c2a17: Pulling fs layer 04:23:47 3a2ae6a8a46f: Pulling fs layer 04:23:47 33b1e0a273af: Pulling fs layer 04:23:47 5d3b04190fa2: Pulling fs layer 04:23:47 2f39f015ded8: Pulling fs layer 04:23:47 3a2ae6a8a46f: Waiting 04:23:47 33b1e0a273af: Waiting 04:23:47 5d3b04190fa2: Waiting 04:23:48 #9 DONE 39.9s 04:23:48 04:23:48 #10 [builder 6/7] COPY . . 04:23:48 #10 DONE 0.4s 04:23:48 04:23:48 #11 [builder 7/7] RUN echo noop 04:23:48 #11 0.576 noop 04:23:48 #11 DONE 0.7s 04:23:48 04:23:48 #12 exporting to image 04:23:48 #12 exporting layers 04:23:48 5c69ac0246d0: Verifying Checksum 04:23:48 5c69ac0246d0: Download complete 04:23:48 3a2ae6a8a46f: Verifying Checksum 04:23:48 3a2ae6a8a46f: Download complete 04:23:48 33b1e0a273af: Verifying Checksum 04:23:48 33b1e0a273af: Download complete 04:23:48 ec43610c2a17: Verifying Checksum 04:23:48 ec43610c2a17: Download complete 04:23:48 5d3b04190fa2: Verifying Checksum 04:23:48 5d3b04190fa2: Download complete 04:23:48 5eb5b503b376: Verifying Checksum 04:23:48 5eb5b503b376: Download complete 04:23:49 2f39f015ded8: Verifying Checksum 04:23:49 2f39f015ded8: Download complete 04:23:49 5eb5b503b376: Pull complete 04:23:49 5c69ac0246d0: Pull complete 04:23:51 ec43610c2a17: Pull complete 04:23:51 3a2ae6a8a46f: Pull complete 04:23:51 33b1e0a273af: Pull complete 04:23:52 5d3b04190fa2: Pull complete 04:24:06 #12 exporting layers 22.0s done 04:24:06 #12 writing image sha256:7c8e41e62d24f79bb7a9c195ada7d7264376a2874aa924c967ee8d2488e071f6 0.0s done 04:24:06 #12 naming to docker.io/library/ci-base-image-arm64 done 04:24:06 #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:06 + docker inspect -f . ci-base-image-arm64 04:24:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:07 2f39f015ded8: Pull complete 04:24:07 prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container 04:24:07 $ 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:24:08 $ docker top 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:09 + go version 04:24:09 go version go1.21.0 linux/arm64 [Pipeline] } 04:24:09 $ docker stop --time=1 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a 04:24:10 $ docker rm -f --volumes 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:24:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:11 prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container 04:24:11 $ 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-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@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:latest cat 04:24:12 $ docker top d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { 04:24:13 ---> job-cost.sh 04:24:13 lf-activate-venv: SKIPPING 04:24:13 INFO: No Stack... [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:13 + docker inspect -f . ci-base-image-arm64 04:24:13 . [Pipeline] } [Pipeline] // withEnv 04:24:13 INFO: Archiving Costs [Pipeline] withDockerContainer 04:24:14 prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container 04:24:14 $ 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:24:15 $ docker top 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:24:15 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/cost.csv 04:24:15 + cut -d, -f6 [Pipeline] lock 04:24:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] 04:24:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] did not exist. Created. 04:24:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] { 04:24:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] unstash [Pipeline] sh [Pipeline] sh 04:24:16 + make test 04:24:16 go test -race -coverprofile=coverage.out ./... 04:24:16 + echo total: 0.2199999988079071 [Pipeline] stash 04:24:16 Stashed 1 file(s) [Pipeline] } 04:24:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:16 $ docker stop --time=1 d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 04:24:18 $ docker rm -f --volumes d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:24:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:25:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:25:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.257s coverage: 27.6% of statements 04:25:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.274s coverage: 81.5% of statements 04:25:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.308s coverage: 86.0% of statements 04:26:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:26:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.469s coverage: 71.8% of statements 04:26:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:26:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:26:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements 04:26:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.912s coverage: 45.9% of statements 04:26:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.384s coverage: 68.5% of statements 04:26:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.427s coverage: 89.2% of statements 04:26:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:26:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.219s coverage: 5.5% of statements 04:26:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:26:06 GO111MODULE=on go vet ./... 04:27:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:14 ./bin/test-attribution-txt.sh [Pipeline] echo 04:27:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:27:14 $ docker stop --time=1 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 04:27:18 $ docker rm -f --volumes 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:20 Warning: overwriting stash ‘coverage-report’ 04:27:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:22 + ls -al . 04:27:22 total 304 04:27:22 drwxrwxr-x 10 jenkins jenkins 4096 Dec 27 04:24 . 04:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:21 .. 04:27:22 -rw-rw-r-- 1 jenkins jenkins 140 Dec 27 04:21 .dockerignore 04:27:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 27 04:21 .git 04:27:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:21 .github 04:27:22 -rw-rw-r-- 1 jenkins jenkins 137 Dec 27 04:21 .gitignore 04:27:22 -rw-rw-r-- 1 jenkins jenkins 42 Dec 27 04:21 .golangci.yml 04:27:22 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 27 04:21 CHANGELOG.md 04:27:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 27 04:21 GOVERNANCE.md 04:27:22 -rw-rw-r-- 1 jenkins jenkins 885 Dec 27 04:21 Jenkinsfile 04:27:22 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 27 04:21 LICENSE 04:27:22 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 27 04:21 Makefile 04:27:22 -rw-rw-r-- 1 jenkins jenkins 619 Dec 27 04:21 OWNERS.md 04:27:22 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 27 04:21 README.md 04:27:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 27 04:19 VERSION 04:27:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 27 04:21 bin 04:27:22 -rw-r--r-- 1 jenkins jenkins 122153 Dec 27 04:26 coverage.out 04:27:22 drwxrwxr-x 5 jenkins jenkins 4096 Dec 27 04:21 example 04:27:22 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 27 04:21 go.mod 04:27:22 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 27 04:21 go.sum 04:27:22 drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:21 internal 04:27:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:21 openapi 04:27:22 drwxrwxr-x 6 jenkins jenkins 4096 Dec 27 04:21 pkg 04:27:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:21 snap 04:27:22 -rw-rw-r-- 1 jenkins jenkins 222 Dec 27 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:22 + 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=fda592ce02a7c523567b60eaa4d22a875e8ea560 --label arch=arm64 --label version=0.0.0 . 04:27:23 #0 building with "default" instance using docker driver 04:27:23 04:27:23 #1 [internal] load build definition from Dockerfile 04:27:23 #1 transferring dockerfile: 1.54kB done 04:27:23 #1 DONE 0.0s 04:27:23 04:27:23 #2 [internal] load .dockerignore 04:27:23 #2 transferring context: 182B done 04:27:23 #2 DONE 0.0s 04:27:23 04:27:23 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:27:23 #3 DONE 0.0s 04:27:23 04:27:23 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:27:23 #4 DONE 0.2s 04:27:23 04:27:23 #5 [internal] load build context 04:27:23 #5 DONE 0.0s 04:27:23 04:27:23 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:27:23 #6 DONE 0.0s 04:27:23 04:27:23 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:23 #7 ... 04:27:23 04:27:23 #5 [internal] load build context 04:27:23 #5 transferring context: 138.47kB 0.1s done 04:27:23 #5 DONE 0.1s 04:27:23 04:27:23 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:23 #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:27:23 #7 ... 04:27:23 04:27:23 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:27:23 #6 DONE 0.2s 04:27:23 04:27:23 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:23 #7 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:27:23 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 04:27:23 #7 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:27:23 #7 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:27:23 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:27:23 #7 ... 04:27:23 04:27:23 #8 [builder 2/7] WORKDIR /device-sdk-go 04:27:23 #8 DONE 0.1s 04:27:23 04:27:23 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:23 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:27:24 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 04:27:24 #7 DONE 0.9s 04:27:24 04:27:24 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:27:25 #9 0.574 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:27 #9 2.898 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:28 #9 3.924 OK: 8 MiB in 15 packages 04:27:28 #9 DONE 4.2s 04:27:28 04:27:28 #10 [builder 3/7] RUN apk add --update --no-cache make git 04:27:28 #10 0.653 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:28 #10 3.544 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:28 #10 4.610 OK: 266 MiB in 52 packages 04:27:28 #10 DONE 4.9s 04:27:28 04:27:28 #11 [builder 4/7] COPY go.mod vendor* ./ 04:27:29 #11 DONE 0.2s 04:27:29 04:27:29 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:32 #12 DONE 3.1s 04:27:32 04:27:32 #13 [builder 6/7] COPY . . 04:27:32 #13 DONE 0.5s 04:27:32 04:27:32 #14 [builder 7/7] RUN make build 04:27:33 #14 0.602 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:28:41 #14 DONE 59.7s 04:28:41 04:28:41 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:41 #15 DONE 0.1s 04:28:41 04:28:41 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:41 #16 DONE 0.3s 04:28:41 04:28:41 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:41 #17 DONE 0.1s 04:28:41 04:28:41 #18 exporting to image 04:28:41 #18 exporting layers 04:28:41 #18 exporting layers 0.3s done 04:28:41 #18 writing image sha256:19f20179eef0ae779b49f890e9cf19b0ac48b073aaf24fa1be14b87b914395b7 done 04:28:41 #18 naming to docker.io/library/device-sdk-simple-arm64 done 04:28:41 #18 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:42 04:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:43 arm64: Pulling from edgex-lftools-log-publisher 04:28:43 8998bd30e6a1: Pulling fs layer 04:28:43 04944245beec: Pulling fs layer 04:28:43 699f458cf7ca: Pulling fs layer 04:28:43 765212b225bb: Pulling fs layer 04:28:43 f23df028b6ca: Pulling fs layer 04:28:43 d65c8cfc05b1: Pulling fs layer 04:28:43 2437ff75d9bd: Pulling fs layer 04:28:43 765212b225bb: Waiting 04:28:43 f23df028b6ca: Waiting 04:28:43 d65c8cfc05b1: Waiting 04:28:43 2437ff75d9bd: Waiting 04:28:43 04944245beec: Verifying Checksum 04:28:43 04944245beec: Download complete 04:28:43 765212b225bb: Download complete 04:28:43 f23df028b6ca: Download complete 04:28:43 d65c8cfc05b1: Verifying Checksum 04:28:43 d65c8cfc05b1: Download complete 04:28:43 699f458cf7ca: Verifying Checksum 04:28:43 699f458cf7ca: Download complete 04:28:44 8998bd30e6a1: Verifying Checksum 04:28:44 8998bd30e6a1: Download complete 04:28:46 2437ff75d9bd: Verifying Checksum 04:28:46 2437ff75d9bd: Download complete 04:28:50 8998bd30e6a1: Pull complete 04:28:50 04944245beec: Pull complete 04:28:52 699f458cf7ca: Pull complete 04:28:52 765212b225bb: Pull complete 04:28:53 f23df028b6ca: Pull complete 04:28:53 d65c8cfc05b1: Pull complete 04:29:15 2437ff75d9bd: Pull complete 04:29:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:16 prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container 04:29:16 $ 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:29:18 $ docker top e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:18 ---> job-cost.sh 04:29:19 lf-activate-venv: SKIPPING 04:29:19 INFO: No Stack... 04:29:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:20 INFO: Archiving Costs [Pipeline] sh 04:29:20 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:29:20 + cut -d, -f6 [Pipeline] lock 04:29:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] 04:29:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] did not exist. Created. 04:29:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:21 /w/workspace/device-sdk-go/1@tmp/durable-0a99f1bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:29:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:21 Warning: overwriting stash ‘stack-cost’ 04:29:21 Stashed 1 file(s) [Pipeline] } 04:29:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:22 $ docker stop --time=1 e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 04:29:23 $ docker rm -f --volumes e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 [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:29:25 provisioning config files... 04:29:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config5463638287250346137tmp [Pipeline] { [Pipeline] sh 04:29:25 + set +x 04:29:25 + bash -s -- 04:29:25 + curl -s https://codecov.io/bash 04:29:25 04:29:25 _____ _ 04:29:25 / ____| | | 04:29:25 | | ___ __| | ___ ___ _____ __ 04:29:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:29:25 | |___| (_) | (_| | __/ (_| (_) \ V / 04:29:25 \_____\___/ \__,_|\___|\___\___/ \_/ 04:29:25 Bash-1.0.6 04:29:25 04:29:25 04:29:25 ==> git version 2.25.1 found 04:29:25 ==> 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:29:25 Release-Date: 2020-01-08 04:29:25 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:29:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:29:25 ==> Jenkins CI detected. 04:29:25 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1550 04:29:25 project root: . 04:29:25 --> token set from env 04:29:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:29:25 ==> Running gcov in . (disable via -X gcov) 04:29:25 ==> Python coveragepy not found 04:29:25 ==> Searching for coverage reports in: 04:29:25 + . 04:29:25 -> Found 1 reports 04:29:25 ==> Detecting git/mercurial file structure 04:29:26 ==> Reading reports 04:29:26 + ./coverage.out bytes=122153 04:29:26 ==> Appending adjustments 04:29:26 https://docs.codecov.io/docs/fixing-reports 04:29:26 + Found adjustments 04:29:26 ==> Gzipping contents 04:29:26 20K /tmp/codecov.Y7Mwkx.gz 04:29:26 ==> Uploading reports 04:29:26 url: https://codecov.io 04:29:26 query: branch=PR-1550&commit=fda592ce02a7c523567b60eaa4d22a875e8ea560&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1550&job=&cmd_args= 04:29:26 -> Pinging Codecov 04:29:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1550&commit=fda592ce02a7c523567b60eaa4d22a875e8ea560&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1550&job=&cmd_args= 04:29:26 -> Uploading to 04:29:26 https://storage.googleapis.com/codecov/v4/raw/2023-12-27/7E55EF52A471D76F132DFD9A03CDDE97/fda592ce02a7c523567b60eaa4d22a875e8ea560/d24f71a2-63e3-4740-9dc1-9d2b113a4991.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231227T042926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f19ae0690e16abc87fe05b919f6371f443207115add457cdb7f71bfba76e5b1a 04:29:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:26 Dload Upload Total Spent Left Speed 04:29:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16779 0 0 100 16779 0 66320 --:--:-- --:--:-- --:--:-- 66320 04:29:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] } 04:29:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:29:30 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives ] 04:29:30 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives 04:29:30 total 16 04:29:30 drwxr-xr-x 3 root root 4096 Dec 27 04:24 . 04:29:30 drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:24 .. 04:29:30 drwxr-xr-x 2 root root 4096 Dec 27 04:24 cost 04:29:30 -rw-r--r-- 1 root root 86 Dec 27 04:24 cost.csv 04:29:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives 04:29:30 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives 04:29:30 total 16 04:29:30 drwxr-xr-x 3 jenkins jenkins 4096 Dec 27 04:24 . 04:29:30 drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:24 .. 04:29:30 drwxr-xr-x 2 jenkins jenkins 4096 Dec 27 04:24 cost 04:29:30 -rw-r--r-- 1 jenkins jenkins 86 Dec 27 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:29:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:29:31 ---> package-listing.sh 04:29:31 ++ facter osfamily 04:29:31 ++ tr '[:upper:]' '[:lower:]' 04:29:31 + OS_FAMILY=debian 04:29:31 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1550 04:29:31 + START_PACKAGES=/tmp/packages_start.txt 04:29:31 + END_PACKAGES=/tmp/packages_end.txt 04:29:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:29:31 + PACKAGES=/tmp/packages_start.txt 04:29:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1550 ']' 04:29:31 + PACKAGES=/tmp/packages_end.txt 04:29:31 + case "${OS_FAMILY}" in 04:29:31 + dpkg -l 04:29:31 + grep '^ii' 04:29:31 + '[' -f /tmp/packages_start.txt ']' 04:29:31 + '[' -f /tmp/packages_end.txt ']' 04:29:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:29:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1550 ']' 04:29:31 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/ 04:29:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/ [Pipeline] echo 04:29:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1550/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:29:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:32 prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container 04:29:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1550/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-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@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:29:33 $ docker top 08006c7faeaad78c1fa907e44adfe30ff6156f796bacb61b927761e758dacd52 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:33 + touch /tmp/pre-build-complete [Pipeline] sh 04:29:33 + mkdir -p /var/log/sysstat [Pipeline] sh 04:29:34 + ls /var/log/sa-host 04:29:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:34 provisioning config files... 04:29:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config11577852157518331494tmp [Pipeline] { [Pipeline] echo 04:29:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:34 ---> create-netrc.sh [Pipeline] } 04:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:29:35 ---> python-tools-install.sh [Pipeline] echo 04:29:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:35 ---> sudo-logs.sh 04:29:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:36 ---> job-cost.sh 04:29:36 lf-activate-venv: SKIPPING 04:29:36 DEBUG: total: 0.2199999988079071 04:29:36 INFO: Retrieving Stack Cost... 04:29:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:37 INFO: Archiving Costs [Pipeline] echo 04:29:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:37 ---> logs-deploy.sh 04:29:37 lf-activate-venv: SKIPPING 04:29:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1550/1 04:29:37 INFO: archiving workspace using pattern(s): 04:29:38 Archives upload complete. 04:29:38 INFO: archiving logs to Nexus