Pull request #1592 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d3feba1c982b2f62bc77890c1d033099c75a49c+674285bf94d6af221e4eaa16557cf1203e8f19ad (82ae5c0d1ff821d23e240b35fc0b25796009cd01) 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-ssh18052513329404521875.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4939030095051734194.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1592/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-1592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11559596964917071687.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-1592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17060857879803726665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6128445709484419608.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-1592/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-1592/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5969894147601041503.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4871’ Running on prd-ubuntu20.04-docker-8c-8g-4874 in /w/workspace/gexfoundry_device-sdk-go_PR-1592 [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-1592 # 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 Merging remotes/origin/main commit 674285bf94d6af221e4eaa16557cf1203e8f19ad into PR head commit 7d3feba1c982b2f62bc77890c1d033099c75a49c Merge succeeded, producing 7d3feba1c982b2f62bc77890c1d033099c75a49c Checking out Revision 7d3feba1c982b2f62bc77890c1d033099c75a49c (PR-1592) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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/1592/head:refs/remotes/origin/PR-1592 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d3feba1c982b2f62bc77890c1d033099c75a49c # 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 674285bf94d6af221e4eaa16557cf1203e8f19ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d3feba1c982b2f62bc77890c1d033099c75a49c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:16:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:16:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:16:29 ========================================================= 04:16:29 EdgeX Global Pipelines Version Info 04:16:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:16:30 ------------------- 04:16:30 stable info: 04:16:30 ------------------- 04:16:30 Commited By: Ginny Guan ginny@iotechsys.com 04:16:30 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:16:30 Message: update stable to v1.0.260 04:16:30 ------------------- 04:16:30 experimental info: 04:16:30 ------------------- 04:16:30 Commited By: Ginny Guan ginny@iotechsys.com 04:16:30 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:16:30 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:16:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1592 [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1592 [Pipeline] echo 04:16:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1592 [Pipeline] echo 04:16:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d3feba1c982b2f62bc77890c1d033099c75a49c [Pipeline] echo 04:16:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d3feba [Pipeline] echo 04:16:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:33 provisioning config files... 04:16:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/config14161301834530052234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:33 ---> ****-login.sh 04:16:33 nexus3.edgexfoundry.org:10001 04:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:34 Configure a credential helper to remove this warning. See 04:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:34 04:16:34 Login Succeeded 04:16:34 nexus3.edgexfoundry.org:10002 04:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:34 Configure a credential helper to remove this warning. See 04:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:34 04:16:34 Login Succeeded 04:16:34 nexus3.edgexfoundry.org:10003 04:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:34 Configure a credential helper to remove this warning. See 04:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:34 04:16:34 Login Succeeded 04:16:34 nexus3.edgexfoundry.org:10004 04:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:34 Configure a credential helper to remove this warning. See 04:16:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:34 04:16:34 Login Succeeded 04:16:34 ****.io 04:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:35 Configure a credential helper to remove this warning. See 04:16:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:35 04:16:35 Login Succeeded 04:16:35 ---> ****-login.sh ends [Pipeline] } 04:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:16:35 + git rev-list -1 --merges 7d3feba1c982b2f62bc77890c1d033099c75a49c~1..7d3feba1c982b2f62bc77890c1d033099c75a49c [Pipeline] echo 04:16:35 -----------> git rev-list -1 --merges 7d3feba1c982b2f62bc77890c1d033099c75a49c~1..7d3feba1c982b2f62bc77890c1d033099c75a49c 7d3feba1c982b2f62bc77890c1d033099c75a49c [false] [Pipeline] sh 04:16:36 + git log --format=format:%s -1 7d3feba1c982b2f62bc77890c1d033099c75a49c [Pipeline] echo 04:16:36 ========================================================= 04:16:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:16:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:36 + git log --format=format:%s -1 7d3feba1c982b2f62bc77890c1d033099c75a49c [Pipeline] echo 04:16:37 [semverPrep] GIT_COMMIT: 7d3feba1c982b2f62bc77890c1d033099c75a49c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:16:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:16:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:16:37 + grep -v github /etc/ssh/ssh_known_hosts 04:16:37 + [ -e /tmp/ssh_known_hosts ] 04:16:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:16:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 04:16:37 tee -a /etc/ssh/ssh_known_hosts 04:16:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:38 04:16:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:16:38 b85a868b505f: Pulling fs layer 04:16:38 e2be974225ed: Pulling fs layer 04:16:38 339a4e72a1f5: Pulling fs layer 04:16:38 988bab9f4d93: Pulling fs layer 04:16:38 1469e6f7b9e6: Pulling fs layer 04:16:38 eaf3925da568: Pulling fs layer 04:16:38 bab4dde63d76: Pulling fs layer 04:16:38 bde34c3a00c8: Pulling fs layer 04:16:38 b352a97aabf1: Pulling fs layer 04:16:38 4872d77fe225: Pulling fs layer 04:16:38 5851b861e8e6: Pulling fs layer 04:16:38 bab4dde63d76: Waiting 04:16:38 b352a97aabf1: Waiting 04:16:38 4872d77fe225: Waiting 04:16:38 5851b861e8e6: Waiting 04:16:38 988bab9f4d93: Waiting 04:16:38 1469e6f7b9e6: Waiting 04:16:38 bde34c3a00c8: Waiting 04:16:38 e2be974225ed: Download complete 04:16:38 988bab9f4d93: Verifying Checksum 04:16:38 988bab9f4d93: Download complete 04:16:38 1469e6f7b9e6: Verifying Checksum 04:16:38 1469e6f7b9e6: Download complete 04:16:38 eaf3925da568: Verifying Checksum 04:16:38 eaf3925da568: Download complete 04:16:38 339a4e72a1f5: Verifying Checksum 04:16:38 339a4e72a1f5: Download complete 04:16:38 bde34c3a00c8: Download complete 04:16:38 b352a97aabf1: Verifying Checksum 04:16:38 b352a97aabf1: Download complete 04:16:38 4872d77fe225: Download complete 04:16:38 5851b861e8e6: Download complete 04:16:38 b85a868b505f: Verifying Checksum 04:16:38 b85a868b505f: Download complete 04:16:39 bab4dde63d76: Verifying Checksum 04:16:39 bab4dde63d76: Download complete 04:16:40 b85a868b505f: Pull complete 04:16:40 e2be974225ed: Pull complete 04:16:40 339a4e72a1f5: Pull complete 04:16:40 988bab9f4d93: Pull complete 04:16:40 1469e6f7b9e6: Pull complete 04:16:41 eaf3925da568: Pull complete 04:16:43 bab4dde63d76: Pull complete 04:16:43 bde34c3a00c8: Pull complete 04:16:43 b352a97aabf1: Pull complete 04:16:43 4872d77fe225: Pull complete 04:16:43 5851b861e8e6: Pull complete 04:16:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:16:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:43 prd-ubuntu20.04-docker-8c-8g-4874 does not seem to be running inside a container 04:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1592 -v /w/workspace/gexfoundry_device-sdk-go_PR-1592:/w/workspace/gexfoundry_device-sdk-go_PR-1592:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1592@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:16:48 $ docker top 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:48 [ssh-agent] Looking for ssh-agent implementation... 04:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:48 $ docker exec 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 ssh-agent 04:16:48 SSH_AUTH_SOCK=/tmp/ssh-g9qH6gmLWHrK/agent.31 04:16:48 SSH_AGENT_PID=37 04:16:48 Running ssh-add (command line suppressed) 04:16:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/private_key_4915106544765128504.key (/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/private_key_4915106544765128504.key) 04:16:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:49 + git tag --points-at HEAD [Pipeline] } 04:16:49 $ docker exec --env ******** --env ******** 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 ssh-agent -k 04:16:49 unset SSH_AUTH_SOCK; 04:16:49 unset SSH_AGENT_PID; 04:16:49 echo Agent pid 37 killed; 04:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:49 [ssh-agent] Looking for ssh-agent implementation... 04:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:49 $ docker exec 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 ssh-agent 04:16:49 SSH_AUTH_SOCK=/tmp/ssh-prhqLIVRgPaK/agent.71 04:16:49 SSH_AGENT_PID=77 04:16:49 Running ssh-add (command line suppressed) 04:16:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/private_key_7571288344473643177.key (/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/private_key_7571288344473643177.key) 04:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:50 + git semver init 04:16:50 2024-07-03 04:16:50,692 [run_init] DEBUG init version:0.0.0 force:False 04:16:50 2024-07-03 04:16:50,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver 04:16:50 2024-07-03 04:16:50,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver 04:16:50 2024-07-03 04:16:50,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1592, universal_newlines=False, shell=None, istream=None) 04:16:54 2024-07-03 04:16:53,485 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592/.git/info/exclude 04:16:54 2024-07-03 04:16:53,486 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver/PR-1592 with force:False 04:16:54 2024-07-03 04:16:53,486 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver/PR-1592 04:16:54 2024-07-03 04:16:53,490 [execute] INFO git cat-file --batch-check 04:16:54 2024-07-03 04:16:53,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver, universal_newlines=False, shell=None, istream=) 04:16:54 2024-07-03 04:16:53,496 [execute] INFO git cat-file --batch 04:16:54 2024-07-03 04:16:53,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver, universal_newlines=False, shell=None, istream=) 04:16:54 2024-07-03 04:16:53,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1592/.semver/PR-1592 04:16:54 0.0.0 [Pipeline] } 04:16:54 $ docker exec --env ******** --env ******** 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 ssh-agent -k 04:16:54 unset SSH_AUTH_SOCK; 04:16:54 unset SSH_AGENT_PID; 04:16:54 echo Agent pid 77 killed; 04:16:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:16:54 + git semver [Pipeline] } 04:16:54 $ docker stop --time=1 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 04:16:58 $ docker rm -f --volumes 2019805be6c84350171152957ecc7e6ce3a68e923e26703f993f6d8b39411e23 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:16:59 Stashed 1 file(s) [Pipeline] echo 04:16:59 [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:16:59 provisioning config files... 04:16:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/config15908217594885759354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:00 ---> ****-login.sh 04:17:00 nexus3.edgexfoundry.org:10001 04:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:00 Configure a credential helper to remove this warning. See 04:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:00 04:17:00 Login Succeeded 04:17:00 nexus3.edgexfoundry.org:10002 04:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:00 Configure a credential helper to remove this warning. See 04:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:00 04:17:00 Login Succeeded 04:17:00 nexus3.edgexfoundry.org:10003 04:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:00 Configure a credential helper to remove this warning. See 04:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:00 04:17:00 Login Succeeded 04:17:00 nexus3.edgexfoundry.org:10004 04:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:00 Configure a credential helper to remove this warning. See 04:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:00 04:17:00 Login Succeeded 04:17:00 ****.io 04:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:17:00 Configure a credential helper to remove this warning. See 04:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:17:00 04:17:00 Login Succeeded 04:17:00 ---> ****-login.sh ends [Pipeline] } 04:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:17:01 ========================================================= 04:17:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:17:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:01 + 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:17:01 Sending build context to Docker daemon 24.97MB 04:17:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:17:02 Step 2/10 : FROM ${BASE} AS builder 04:17:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:17:03 619be1103602: Pulling fs layer 04:17:03 7862e08f4a3e: Pulling fs layer 04:17:03 5df492c9dc93: Pulling fs layer 04:17:03 7629e6793208: Pulling fs layer 04:17:03 4f4fb700ef54: Pulling fs layer 04:17:03 fb5054dd5b73: Pulling fs layer 04:17:03 eeca6798cff9: Pulling fs layer 04:17:03 7629e6793208: Waiting 04:17:03 4f4fb700ef54: Waiting 04:17:03 aa269ceb94a6: Pulling fs layer 04:17:03 ada007ff1a6a: Pulling fs layer 04:17:03 eeca6798cff9: Waiting 04:17:03 aa269ceb94a6: Waiting 04:17:03 ada007ff1a6a: Waiting 04:17:03 7862e08f4a3e: Download complete 04:17:03 7629e6793208: Verifying Checksum 04:17:03 7629e6793208: Download complete 04:17:03 4f4fb700ef54: Verifying Checksum 04:17:03 4f4fb700ef54: Download complete 04:17:03 fb5054dd5b73: Download complete 04:17:03 619be1103602: Verifying Checksum 04:17:03 619be1103602: Download complete 04:17:03 eeca6798cff9: Verifying Checksum 04:17:03 ada007ff1a6a: Verifying Checksum 04:17:03 ada007ff1a6a: Download complete 04:17:03 5df492c9dc93: Verifying Checksum 04:17:03 5df492c9dc93: Download complete 04:17:03 619be1103602: Pull complete 04:17:04 aa269ceb94a6: Verifying Checksum 04:17:04 aa269ceb94a6: Download complete 04:17:05 7862e08f4a3e: Pull complete 04:17:09 5df492c9dc93: Pull complete 04:17:09 7629e6793208: Pull complete 04:17:09 4f4fb700ef54: Pull complete 04:17:09 fb5054dd5b73: Pull complete 04:17:09 eeca6798cff9: Pull complete 04:17:12 aa269ceb94a6: Pull complete 04:17:12 ada007ff1a6a: Pull complete 04:17:12 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:17:12 ---> f489d0715acc 04:17:12 Step 3/10 : ARG MAKE=make build 04:17:14 Still waiting to schedule task 04:17:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4872’ is offline 04:17:19 ---> Running in b364dcc71936 04:17:19 Removing intermediate container b364dcc71936 04:17:19 ---> 8a496b857fe4 04:17:19 Step 4/10 : WORKDIR /device-sdk-go 04:17:19 ---> Running in 5880d7e645de 04:17:19 Removing intermediate container 5880d7e645de 04:17:19 ---> cbaca25aa32e 04:17:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:17:19 ---> Running in 0a8b7ef7b70d 04:17:19 Removing intermediate container 0a8b7ef7b70d 04:17:19 ---> 18e7b7e4b6f3 04:17:19 Step 6/10 : RUN apk add --update --no-cache make git 04:17:19 ---> Running in 004691d84458 04:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:17:19 OK: 264 MiB in 52 packages 04:17:20 Removing intermediate container 004691d84458 04:17:20 ---> ffb746f0fcb4 04:17:20 Step 7/10 : COPY go.mod vendor* ./ 04:17:20 ---> c08cf8f75313 04:17:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:20 ---> Running in 050e37358137 04:18:42 Removing intermediate container 050e37358137 04:18:42 ---> c7920bcdd271 04:18:42 Step 9/10 : COPY . . 04:18:42 ---> 088c5193359b 04:18:42 Step 10/10 : RUN ${MAKE} 04:18:42 ---> Running in fa27346a867f 04:18:42 noop 04:18:42 Removing intermediate container fa27346a867f 04:18:42 ---> 5ccc2369471e 04:18:42 Successfully built 5ccc2369471e 04:18:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:43 + docker inspect -f . ci-base-image-x86_64 04:18:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:43 prd-ubuntu20.04-docker-8c-8g-4874 does not seem to be running inside a container 04:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1592 -v /w/workspace/gexfoundry_device-sdk-go_PR-1592:/w/workspace/gexfoundry_device-sdk-go_PR-1592:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1592@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:18:43 $ docker top df5060889975ec8dd16bb344e84c3495e106d16cf963dc6b721e3ead86348b2b -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:44 + go version 04:18:44 go version go1.21.9 linux/amd64 [Pipeline] } 04:18:44 $ docker stop --time=1 df5060889975ec8dd16bb344e84c3495e106d16cf963dc6b721e3ead86348b2b 04:18:45 $ docker rm -f --volumes df5060889975ec8dd16bb344e84c3495e106d16cf963dc6b721e3ead86348b2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:46 + docker inspect -f . ci-base-image-x86_64 04:18:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:46 prd-ubuntu20.04-docker-8c-8g-4874 does not seem to be running inside a container 04:18:46 $ 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-1592 -v /w/workspace/gexfoundry_device-sdk-go_PR-1592:/w/workspace/gexfoundry_device-sdk-go_PR-1592:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1592@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:18:47 $ docker top 03a0ef6fd96562934bc2d1bfc0b84ff5acd997b95254d76ba744b891eb3e07bf -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1592 [Pipeline] fileExists [Pipeline] sh 04:18:47 + make test 04:18:47 go test -race -coverprofile=coverage.out ./... 04:18:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4876 in /w/workspace/gexfoundry_device-sdk-go_PR-1592 [Pipeline] { [Pipeline] ws 04:18:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:18:55 The recommended git tool is: git 04:18:56 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:19:03 using credential edgex-jenkins-ssh 04:19:03 Cloning the remote Git repository 04:19:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:19:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:19:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:03 > git --version # timeout=10 04:19:03 > git --version # 'git version 2.25.1' 04:19:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:08 Merging remotes/origin/main commit 674285bf94d6af221e4eaa16557cf1203e8f19ad into PR head commit 7d3feba1c982b2f62bc77890c1d033099c75a49c 04:19:08 Merge succeeded, producing 7d3feba1c982b2f62bc77890c1d033099c75a49c 04:19:08 Checking out Revision 7d3feba1c982b2f62bc77890c1d033099c75a49c (PR-1592) 04:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1592/head:refs/remotes/origin/PR-1592 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:08 > git config core.sparsecheckout # timeout=10 04:19:08 > git checkout -f 7d3feba1c982b2f62bc77890c1d033099c75a49c # timeout=10 04:19:08 > git remote # timeout=10 04:19:08 > git config --get remote.origin.url # timeout=10 04:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:08 > git merge 674285bf94d6af221e4eaa16557cf1203e8f19ad # timeout=10 04:19:08 > git rev-parse HEAD^{commit} # timeout=10 04:19:08 > git config core.sparsecheckout # timeout=10 04:19:08 > git checkout -f 7d3feba1c982b2f62bc77890c1d033099c75a49c # timeout=10 04:19:09 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:19:09 > git --version # timeout=10 04:19:09 > git --version # 'git version 2.25.1' 04:19:09 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:14 Dload Upload Total Spent Left Speed 04:19:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 04:19:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:19:15 + sudo tee /etc/docker/daemon.new 04:19:15 { 04:19:15 "registry-mirrors": [ 04:19:15 "https://nexus3.edgexfoundry.org:10001" 04:19:15 ], 04:19:15 "bip": "10.250.0.254/24", 04:19:15 "hosts": [ 04:19:15 "tcp://0.0.0.0:5555", 04:19:15 "unix:///var/run/docker.sock" 04:19:15 ], 04:19:15 "mtu": 1458, 04:19:15 "selinux-enabled": true, 04:19:15 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:15 } [Pipeline] sh 04:19:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:19:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:34 provisioning config files... 04:19:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config708123404155217690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:19:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 27.6% of statements 04:19:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 80.0% of statements 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:19:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:19:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 71.8% of statements 04:19:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:19:35 ---> ****-login.sh 04:19:35 nexus3.edgexfoundry.org:10001 04:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:35 Configure a credential helper to remove this warning. See 04:19:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:35 04:19:35 Login Succeeded 04:19:35 nexus3.edgexfoundry.org:10002 04:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:36 Configure a credential helper to remove this warning. See 04:19:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:36 04:19:36 Login Succeeded 04:19:36 nexus3.edgexfoundry.org:10003 04:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements 04:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.895s coverage: 44.6% of statements 04:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.049s coverage: 68.5% of statements 04:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 89.2% of statements 04:19:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.5% of statements 04:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:36 Configure a credential helper to remove this warning. See 04:19:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:36 04:19:36 Login Succeeded 04:19:36 nexus3.edgexfoundry.org:10004 04:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:36 Configure a credential helper to remove this warning. See 04:19:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:36 04:19:36 Login Succeeded 04:19:36 ****.io 04:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:37 Configure a credential helper to remove this warning. See 04:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:37 04:19:37 Login Succeeded 04:19:37 ---> ****-login.sh ends [Pipeline] } 04:19:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:37 ========================================================= 04:19:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:19:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:38 + 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:19:39 Sending build context to Docker daemon 12.9MB 04:19:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:19:39 Step 2/10 : FROM ${BASE} AS builder 04:19:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:19:39 c6b39de5b339: Pulling fs layer 04:19:39 a69c41024577: Pulling fs layer 04:19:39 d6de4b400683: Pulling fs layer 04:19:39 35cb2a7552d0: Pulling fs layer 04:19:39 4f4fb700ef54: Pulling fs layer 04:19:39 464afbd9ba4c: Pulling fs layer 04:19:39 00f215d4a9da: Pulling fs layer 04:19:39 d496ad576159: Pulling fs layer 04:19:39 4f4fb700ef54: Waiting 04:19:39 464afbd9ba4c: Waiting 04:19:39 00f215d4a9da: Waiting 04:19:39 d496ad576159: Waiting 04:19:39 35cb2a7552d0: Waiting 04:19:39 a69c41024577: Download complete 04:19:39 35cb2a7552d0: Verifying Checksum 04:19:39 35cb2a7552d0: Download complete 04:19:39 4f4fb700ef54: Verifying Checksum 04:19:39 4f4fb700ef54: Download complete 04:19:39 464afbd9ba4c: Verifying Checksum 04:19:39 464afbd9ba4c: Download complete 04:19:39 c6b39de5b339: Verifying Checksum 04:19:39 c6b39de5b339: Download complete 04:19:39 d496ad576159: Verifying Checksum 04:19:39 d496ad576159: Download complete 04:19:40 c6b39de5b339: Pull complete 04:19:40 a69c41024577: Pull complete 04:19:41 d6de4b400683: Verifying Checksum 04:19:41 d6de4b400683: Download complete 04:19:42 00f215d4a9da: Verifying Checksum 04:19:42 00f215d4a9da: Download complete 04:19:54 d6de4b400683: Pull complete 04:19:54 35cb2a7552d0: Pull complete 04:19:54 4f4fb700ef54: Pull complete 04:19:54 464afbd9ba4c: Pull complete 04:20:02 00f215d4a9da: Pull complete 04:20:04 d496ad576159: Pull complete 04:20:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:20:04 ---> f246e2811388 04:20:04 Step 3/10 : ARG MAKE=make build 04:20:05 ---> Running in 5ef1928ddc7f 04:20:06 Removing intermediate container 5ef1928ddc7f 04:20:06 ---> 83e59c8168f2 04:20:06 Step 4/10 : WORKDIR /device-sdk-go 04:20:06 ---> Running in 1dc463e6c2ef 04:20:06 Removing intermediate container 1dc463e6c2ef 04:20:06 ---> 8e552881b919 04:20:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:06 ---> Running in c45fcd6de228 04:20:07 Removing intermediate container c45fcd6de228 04:20:07 ---> b7017088d97b 04:20:07 Step 6/10 : RUN apk add --update --no-cache make git 04:20:07 ---> Running in eef1ba36eadf 04:20:08 GO111MODULE=on go vet ./... 04:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:08 ./bin/test-attribution-txt.sh 04:20:08 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:20:08 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:20:09 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:20:09 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:20:09 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:20:09 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:20:09 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:20:09 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:20:09 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:20:09 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:20:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:20:09 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:20:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:20:09 $ docker stop --time=1 03a0ef6fd96562934bc2d1bfc0b84ff5acd997b95254d76ba744b891eb3e07bf 04:20:09 OK: 266 MiB in 52 packages 04:20:10 Removing intermediate container eef1ba36eadf 04:20:10 ---> 5328139efec2 04:20:10 Step 7/10 : COPY go.mod vendor* ./ 04:20:11 ---> 3c6bf48bcbe7 04:20:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:11 ---> Running in 891ba34e7b88 04:20:16 $ docker rm -f --volumes 03a0ef6fd96562934bc2d1bfc0b84ff5acd997b95254d76ba744b891eb3e07bf [Pipeline] // withDockerContainer [Pipeline] sh 04:20:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:18 + ls -al . 04:20:18 total 376 04:20:18 drwxrwxr-x 11 jenkins jenkins 4096 Jul 3 04:18 . 04:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:16 .. 04:20:18 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 04:16 .dockerignore 04:20:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:19 .git 04:20:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:16 .github 04:20:18 -rw-rw-r-- 1 jenkins jenkins 137 Jul 3 04:16 .gitignore 04:20:18 -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:16 .golangci.yml 04:20:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:16 .semver 04:20:18 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 3 04:16 CHANGELOG.md 04:20:18 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:16 GOVERNANCE.md 04:20:18 -rw-rw-r-- 1 jenkins jenkins 885 Jul 3 04:16 Jenkinsfile 04:20:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 3 04:16 LICENSE 04:20:18 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 3 04:16 Makefile 04:20:18 -rw-rw-r-- 1 jenkins jenkins 619 Jul 3 04:16 OWNERS.md 04:20:18 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 3 04:16 README.md 04:20:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:16 VERSION 04:20:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:16 bin 04:20:18 -rw-r--r-- 1 jenkins jenkins 122320 Jul 3 04:19 coverage.out 04:20:18 drwxrwxr-x 5 jenkins jenkins 4096 Jul 3 04:16 example 04:20:18 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 3 04:16 go.mod 04:20:18 -rw-rw-r-- 1 jenkins jenkins 101738 Jul 3 04:16 go.sum 04:20:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 3 04:16 internal 04:20:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:16 openapi 04:20:18 drwxrwxr-x 6 jenkins jenkins 4096 Jul 3 04:16 pkg 04:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:16 snap 04:20:18 -rw-rw-r-- 1 jenkins jenkins 222 Jul 3 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:18 + 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=7d3feba1c982b2f62bc77890c1d033099c75a49c --label arch=amd64 --label version=0.0.0 . 04:20:18 Sending build context to Docker daemon 25.09MB 04:20:18 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:20:18 Step 2/24 : FROM ${BASE} AS builder 04:20:18 ---> 5ccc2369471e 04:20:18 Step 3/24 : ARG MAKE=make build 04:20:19 ---> Running in 7f52a55b88a9 04:20:19 Removing intermediate container 7f52a55b88a9 04:20:19 ---> 2540410cab0d 04:20:19 Step 4/24 : WORKDIR /device-sdk-go 04:20:19 ---> Running in 90e8fd584bb3 04:20:19 Removing intermediate container 90e8fd584bb3 04:20:19 ---> 265145fdd30b 04:20:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:19 ---> Running in 3a21f6edde5f 04:20:20 Removing intermediate container 3a21f6edde5f 04:20:20 ---> ee328ca9d745 04:20:20 Step 6/24 : RUN apk add --update --no-cache make git 04:20:20 ---> Running in c41060bfe182 04:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:20 OK: 264 MiB in 52 packages 04:20:21 Removing intermediate container c41060bfe182 04:20:21 ---> 67180140e21d 04:20:21 Step 7/24 : COPY go.mod vendor* ./ 04:20:21 ---> c50255b2c0f3 04:20:21 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:21 ---> Running in 7bdacdd0a5a6 04:20:21 Removing intermediate container 7bdacdd0a5a6 04:20:21 ---> 9b0ca7a4faa5 04:20:21 Step 9/24 : COPY . . 04:20:23 ---> 49f99d3961ad 04:20:23 Step 10/24 : RUN ${MAKE} 04:20:23 ---> Running in fb71b2ab3626 04:20:23 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:21:02 Removing intermediate container fb71b2ab3626 04:21:02 ---> 993d54fefc3a 04:21:02 Step 11/24 : FROM alpine:3.18 04:21:02 3.18: Pulling from library/alpine 04:21:02 73baa7ef167e: Pulling fs layer 04:21:02 73baa7ef167e: Download complete 04:21:02 73baa7ef167e: Pull complete 04:21:02 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:21:02 Status: Downloaded newer image for alpine:3.18 04:21:02 ---> 8fd7cac70a4a 04:21:02 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:02 ---> Running in a320ecf4e1e1 04:21:02 Removing intermediate container a320ecf4e1e1 04:21:02 ---> 5379f2592e8e 04:21:02 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:21:02 ---> Running in f6c7c5315c37 04:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:21:03 (1/1) Installing dumb-init (1.2.5-r2) 04:21:03 Executing busybox-1.36.1-r7.trigger 04:21:03 OK: 7 MiB in 16 packages 04:21:03 Removing intermediate container f6c7c5315c37 04:21:03 ---> 2e541a5b3d2b 04:21:03 Step 14/24 : RUN apk --no-cache upgrade 04:21:03 ---> Running in 1b69f03208a5 04:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:21:04 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:21:04 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:21:04 OK: 7 MiB in 16 packages 04:21:05 Removing intermediate container 1b69f03208a5 04:21:05 ---> c3d542c2e26d 04:21:05 Step 15/24 : WORKDIR / 04:21:05 ---> Running in 4fd0ab5775c9 04:21:05 Removing intermediate container 4fd0ab5775c9 04:21:05 ---> 4b28e8da3679 04:21:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:05 ---> 2ccde3f2cf45 04:21:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:07 ---> 06028864a517 04:21:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:07 ---> a0c8d2fcd1ac 04:21:07 Step 19/24 : EXPOSE 59999 04:21:07 ---> Running in 65cfde1d1410 04:21:07 Removing intermediate container 65cfde1d1410 04:21:07 ---> 6cf0223d9e8c 04:21:07 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:21:07 ---> Running in 9152ebfcfb9c 04:21:07 Removing intermediate container 9152ebfcfb9c 04:21:07 ---> 072da46cca73 04:21:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:21:07 ---> Running in 143cef123046 04:21:07 Removing intermediate container 143cef123046 04:21:07 ---> a88455da8128 04:21:07 Step 22/24 : LABEL arch=amd64 04:21:08 ---> Running in a437299fed23 04:21:08 Removing intermediate container a437299fed23 04:21:08 ---> 6b9f7996b824 04:21:08 Step 23/24 : LABEL git_sha=7d3feba1c982b2f62bc77890c1d033099c75a49c 04:21:08 ---> Running in 3f2c6bf2a4e3 04:21:08 Removing intermediate container 3f2c6bf2a4e3 04:21:08 ---> 267bbf3c4f85 04:21:08 Step 24/24 : LABEL version=0.0.0 04:21:08 ---> Running in b05a6702f5a7 04:21:08 Removing intermediate container b05a6702f5a7 04:21:08 ---> 381dba13f0b6 04:21:08 [Warning] One or more build-args [ARCH] were not consumed 04:21:08 Successfully built 381dba13f0b6 04:21:08 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:09 04:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:10 latest: Pulling from edgex-lftools-log-publisher 04:21:10 5eb5b503b376: Pulling fs layer 04:21:10 5c69ac0246d0: Pulling fs layer 04:21:10 ec43610c2a17: Pulling fs layer 04:21:10 3a2ae6a8a46f: Pulling fs layer 04:21:10 33b1e0a273af: Pulling fs layer 04:21:10 5d3b04190fa2: Pulling fs layer 04:21:10 2f39f015ded8: Pulling fs layer 04:21:10 33b1e0a273af: Waiting 04:21:10 3a2ae6a8a46f: Waiting 04:21:10 2f39f015ded8: Waiting 04:21:10 5c69ac0246d0: Verifying Checksum 04:21:10 5c69ac0246d0: Download complete 04:21:10 3a2ae6a8a46f: Download complete 04:21:10 33b1e0a273af: Verifying Checksum 04:21:10 33b1e0a273af: Download complete 04:21:10 5d3b04190fa2: Verifying Checksum 04:21:10 5d3b04190fa2: Download complete 04:21:10 ec43610c2a17: Verifying Checksum 04:21:10 ec43610c2a17: Download complete 04:21:10 5eb5b503b376: Verifying Checksum 04:21:10 5eb5b503b376: Download complete 04:21:11 2f39f015ded8: Download complete 04:21:11 5eb5b503b376: Pull complete 04:21:12 5c69ac0246d0: Pull complete 04:21:12 ec43610c2a17: Pull complete 04:21:12 3a2ae6a8a46f: Pull complete 04:21:12 33b1e0a273af: Pull complete 04:21:15 5d3b04190fa2: Pull complete 04:21:20 2f39f015ded8: Pull complete 04:21:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:20 prd-ubuntu20.04-docker-8c-8g-4874 does not seem to be running inside a container 04:21:20 $ 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-1592 -v /w/workspace/gexfoundry_device-sdk-go_PR-1592:/w/workspace/gexfoundry_device-sdk-go_PR-1592:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1592@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:21:24 $ docker top 78b11b143bf9339f199d51480e6fd7ec552585154575234a84589f7145cec3f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:24 ---> job-cost.sh 04:21:24 lf-activate-venv: SKIPPING 04:21:24 INFO: No Stack... 04:21:25 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:25 INFO: Archiving Costs [Pipeline] sh 04:21:26 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives/cost.csv 04:21:26 + cut -d, -f6 [Pipeline] lock 04:21:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] 04:21:26 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] did not exist. Created. 04:21:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:26 + echo total: 0.2199999988079071 [Pipeline] stash 04:21:26 Stashed 1 file(s) [Pipeline] } 04:21:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:26 $ docker stop --time=1 78b11b143bf9339f199d51480e6fd7ec552585154575234a84589f7145cec3f7 04:21:27 $ docker rm -f --volumes 78b11b143bf9339f199d51480e6fd7ec552585154575234a84589f7145cec3f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:22:02 Removing intermediate container 891ba34e7b88 04:22:02 ---> 8c3cc4307604 04:22:02 Step 9/10 : COPY . . 04:22:02 ---> b87f020bce0b 04:22:02 Step 10/10 : RUN ${MAKE} 04:22:02 ---> Running in eb75e575491e 04:22:02 noop 04:22:02 Removing intermediate container eb75e575491e 04:22:02 ---> 4dd115226037 04:22:02 Successfully built 4dd115226037 04:22:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:03 + docker inspect -f . ci-base-image-arm64 04:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:03 prd-ubuntu20.04-docker-arm64-4c-16g-4876 does not seem to be running inside a container 04:22:03 $ 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:22:05 $ docker top 892e750122fce535b00bf9b8dcbdd1d8e11991466da78e8ced296f44357dcc56 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:05 + go version 04:22:05 go version go1.21.9 linux/arm64 [Pipeline] } 04:22:05 $ docker stop --time=1 892e750122fce535b00bf9b8dcbdd1d8e11991466da78e8ced296f44357dcc56 04:22:07 $ docker rm -f --volumes 892e750122fce535b00bf9b8dcbdd1d8e11991466da78e8ced296f44357dcc56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:08 + docker inspect -f . ci-base-image-arm64 04:22:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-4876 does not seem to be running inside a container 04:22:08 $ 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:22:10 $ docker top 19fa591e8fdef8681d21c5c9c191e4af9663159d0a05929b851e6f2d97771201 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:22:11 + make test 04:22:11 go test -race -coverprofile=coverage.out ./... 04:22:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:26:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:26:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.130s coverage: 27.6% of statements 04:26:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.167s coverage: 80.0% of statements 04:26:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:26:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:26:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.253s coverage: 86.0% of statements 04:26:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:26:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.521s coverage: 71.8% of statements 04:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.141s coverage: 14.4% of statements 04:26:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:26:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:26:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.531s coverage: 44.6% of statements 04:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.321s coverage: 68.5% of statements 04:26:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.342s coverage: 89.2% of statements 04:26:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.238s coverage: 5.5% of statements 04:26:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:26:43 GO111MODULE=on go vet ./... 04:30:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:30:20 ./bin/test-attribution-txt.sh 04:30:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:30:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:30:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:30:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:30:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:30:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:30:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:30:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:30:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:30:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:30:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:30:20 $ docker stop --time=1 19fa591e8fdef8681d21c5c9c191e4af9663159d0a05929b851e6f2d97771201 04:30:22 $ docker rm -f --volumes 19fa591e8fdef8681d21c5c9c191e4af9663159d0a05929b851e6f2d97771201 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:24 Warning: overwriting stash ‘coverage-report’ 04:30:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:30:26 + ls -al . 04:30:26 total 372 04:30:26 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 04:22 . 04:30:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:19 .. 04:30:26 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 04:19 .dockerignore 04:30:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:19 .git 04:30:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:19 .github 04:30:26 -rw-rw-r-- 1 jenkins jenkins 137 Jul 3 04:19 .gitignore 04:30:26 -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:19 .golangci.yml 04:30:26 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 3 04:19 CHANGELOG.md 04:30:26 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:19 GOVERNANCE.md 04:30:26 -rw-rw-r-- 1 jenkins jenkins 885 Jul 3 04:19 Jenkinsfile 04:30:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 3 04:19 LICENSE 04:30:26 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 3 04:19 Makefile 04:30:26 -rw-rw-r-- 1 jenkins jenkins 619 Jul 3 04:19 OWNERS.md 04:30:26 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 3 04:19 README.md 04:30:26 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:16 VERSION 04:30:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:19 bin 04:30:26 -rw-r--r-- 1 jenkins jenkins 122322 Jul 3 04:26 coverage.out 04:30:26 drwxrwxr-x 5 jenkins jenkins 4096 Jul 3 04:19 example 04:30:26 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 3 04:19 go.mod 04:30:26 -rw-rw-r-- 1 jenkins jenkins 101738 Jul 3 04:19 go.sum 04:30:26 drwxrwxr-x 12 jenkins jenkins 4096 Jul 3 04:19 internal 04:30:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:19 openapi 04:30:26 drwxrwxr-x 6 jenkins jenkins 4096 Jul 3 04:19 pkg 04:30:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:19 snap 04:30:26 -rw-rw-r-- 1 jenkins jenkins 222 Jul 3 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:27 + 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=7d3feba1c982b2f62bc77890c1d033099c75a49c --label arch=arm64 --label version=0.0.0 . 04:30:27 Sending build context to Docker daemon 13.02MB 04:30:27 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:30:27 Step 2/24 : FROM ${BASE} AS builder 04:30:27 ---> 4dd115226037 04:30:27 Step 3/24 : ARG MAKE=make build 04:30:27 ---> Running in ad45d901be12 04:30:27 Removing intermediate container ad45d901be12 04:30:27 ---> 18c03ea2bcb2 04:30:27 Step 4/24 : WORKDIR /device-sdk-go 04:30:28 ---> Running in c01f2a21fbf7 04:30:28 Removing intermediate container c01f2a21fbf7 04:30:28 ---> 081411523497 04:30:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:30:28 ---> Running in 70d0df038140 04:30:28 Removing intermediate container 70d0df038140 04:30:28 ---> 923f81bda850 04:30:28 Step 6/24 : RUN apk add --update --no-cache make git 04:30:28 ---> Running in 0db14116352b 04:30:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:30:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:30:31 OK: 266 MiB in 52 packages 04:30:31 Removing intermediate container 0db14116352b 04:30:31 ---> 06c817e7ecf4 04:30:31 Step 7/24 : COPY go.mod vendor* ./ 04:30:32 ---> 86a88e7a2a2d 04:30:32 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:32 ---> Running in 4acf480e29e5 04:30:34 Removing intermediate container 4acf480e29e5 04:30:34 ---> 60b04d646cdd 04:30:34 Step 9/24 : COPY . . 04:30:36 ---> 3f24efadae92 04:30:36 Step 10/24 : RUN ${MAKE} 04:30:36 ---> Running in 54a549ca0edb 04:30:37 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:33:58 Removing intermediate container 54a549ca0edb 04:33:58 ---> 6981f6f2713b 04:33:58 Step 11/24 : FROM alpine:3.18 04:33:58 3.18: Pulling from library/alpine 04:33:58 5c905c7ebe2f: Pulling fs layer 04:33:58 5c905c7ebe2f: Verifying Checksum 04:33:58 5c905c7ebe2f: Download complete 04:33:58 5c905c7ebe2f: Pull complete 04:33:58 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:33:58 Status: Downloaded newer image for alpine:3.18 04:33:58 ---> dec292d02e07 04:33:58 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:33:58 ---> Running in 2df61eadc6c9 04:33:58 Removing intermediate container 2df61eadc6c9 04:33:58 ---> cd4636c89404 04:33:58 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:33:58 ---> Running in 1c399d38811f 04:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:58 (1/1) Installing dumb-init (1.2.5-r2) 04:33:58 Executing busybox-1.36.1-r7.trigger 04:33:58 OK: 8 MiB in 16 packages 04:33:59 Removing intermediate container 1c399d38811f 04:33:59 ---> 00a38125ad3e 04:33:59 Step 14/24 : RUN apk --no-cache upgrade 04:33:59 ---> Running in 02e0a5498e08 04:34:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:01 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:34:01 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:34:01 OK: 8 MiB in 16 packages 04:34:02 Removing intermediate container 02e0a5498e08 04:34:02 ---> bea05c61c367 04:34:02 Step 15/24 : WORKDIR / 04:34:02 ---> Running in 33975b1d48bc 04:34:03 Removing intermediate container 33975b1d48bc 04:34:03 ---> 2baf4ad65c97 04:34:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:34:03 ---> 6e0b329a92fd 04:34:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:34:05 ---> f2c0098c80ec 04:34:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:34:06 ---> 6d95946972b3 04:34:06 Step 19/24 : EXPOSE 59999 04:34:06 ---> Running in dd10e7a57ba7 04:34:06 Removing intermediate container dd10e7a57ba7 04:34:06 ---> bf0ba49c8b6e 04:34:06 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:34:06 ---> Running in f822cce063fd 04:34:06 Removing intermediate container f822cce063fd 04:34:06 ---> f94f0e75a7b1 04:34:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:34:07 ---> Running in dbb751171c2c 04:34:07 Removing intermediate container dbb751171c2c 04:34:07 ---> bcb2ecc461fb 04:34:07 Step 22/24 : LABEL arch=arm64 04:34:07 ---> Running in f41b5535dd39 04:34:07 Removing intermediate container f41b5535dd39 04:34:07 ---> 35b84aa4c02f 04:34:07 Step 23/24 : LABEL git_sha=7d3feba1c982b2f62bc77890c1d033099c75a49c 04:34:07 ---> Running in e461b36b9edc 04:34:07 Removing intermediate container e461b36b9edc 04:34:07 ---> 3a2d1d926a07 04:34:07 Step 24/24 : LABEL version=0.0.0 04:34:07 ---> Running in 0dcfbb5d12a5 04:34:08 Removing intermediate container 0dcfbb5d12a5 04:34:08 ---> e5799eb479d9 04:34:08 [Warning] One or more build-args [ARCH] were not consumed 04:34:08 Successfully built e5799eb479d9 04:34:08 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:09 04:34:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:09 arm64: Pulling from edgex-lftools-log-publisher 04:34:09 8998bd30e6a1: Pulling fs layer 04:34:09 04944245beec: Pulling fs layer 04:34:09 699f458cf7ca: Pulling fs layer 04:34:09 765212b225bb: Pulling fs layer 04:34:09 f23df028b6ca: Pulling fs layer 04:34:09 d65c8cfc05b1: Pulling fs layer 04:34:09 2437ff75d9bd: Pulling fs layer 04:34:09 f23df028b6ca: Waiting 04:34:09 765212b225bb: Waiting 04:34:09 d65c8cfc05b1: Waiting 04:34:09 2437ff75d9bd: Waiting 04:34:10 04944245beec: Verifying Checksum 04:34:10 04944245beec: Download complete 04:34:10 765212b225bb: Verifying Checksum 04:34:10 765212b225bb: Download complete 04:34:10 f23df028b6ca: Verifying Checksum 04:34:10 f23df028b6ca: Download complete 04:34:10 d65c8cfc05b1: Verifying Checksum 04:34:10 d65c8cfc05b1: Download complete 04:34:10 699f458cf7ca: Verifying Checksum 04:34:10 699f458cf7ca: Download complete 04:34:10 8998bd30e6a1: Verifying Checksum 04:34:10 8998bd30e6a1: Download complete 04:34:13 2437ff75d9bd: Verifying Checksum 04:34:13 2437ff75d9bd: Download complete 04:34:15 8998bd30e6a1: Pull complete 04:34:15 04944245beec: Pull complete 04:34:17 699f458cf7ca: Pull complete 04:34:17 765212b225bb: Pull complete 04:34:18 f23df028b6ca: Pull complete 04:34:18 d65c8cfc05b1: Pull complete 04:34:36 2437ff75d9bd: Pull complete 04:34:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:34:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:37 prd-ubuntu20.04-docker-arm64-4c-16g-4876 does not seem to be running inside a container 04:34:37 $ 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:34:39 $ docker top 12d7f3bd6c026a8a77e35987cd4e14ee405d08c86aaf31f140150183aad8fa32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:40 ---> job-cost.sh 04:34:40 lf-activate-venv: SKIPPING 04:34:40 INFO: No Stack... 04:34:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:34:41 INFO: Archiving Costs [Pipeline] sh 04:34:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:34:42 + cut -d, -f6 [Pipeline] lock 04:34:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] 04:34:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] did not exist. Created. 04:34:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:42 /w/workspace/device-sdk-go/1@tmp/durable-f0ce7079/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:34:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:34:43 Warning: overwriting stash ‘stack-cost’ 04:34:43 Stashed 1 file(s) [Pipeline] } 04:34:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1592-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:43 $ docker stop --time=1 12d7f3bd6c026a8a77e35987cd4e14ee405d08c86aaf31f140150183aad8fa32 04:34:44 $ docker rm -f --volumes 12d7f3bd6c026a8a77e35987cd4e14ee405d08c86aaf31f140150183aad8fa32 [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:34:46 provisioning config files... 04:34:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/config10780982955125513640tmp [Pipeline] { [Pipeline] sh 04:34:46 + set +x 04:34:46 + curl -s https://codecov.io/bash 04:34:46 + bash -s -- 04:34:46 04:34:46 _____ _ 04:34:46 / ____| | | 04:34:46 | | ___ __| | ___ ___ _____ __ 04:34:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:34:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:34:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:34:46 Bash-1.0.6 04:34:46 04:34:46 04:34:46 ==> git version 2.25.1 found 04:34:46 ==> 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:34:46 Release-Date: 2020-01-08 04:34:46 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:34:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:34:46 ==> Jenkins CI detected. 04:34:46 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1592 04:34:46 project root: . 04:34:46 --> token set from env 04:34:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:34:46 ==> Running gcov in . (disable via -X gcov) 04:34:46 ==> Python coveragepy not found 04:34:46 ==> Searching for coverage reports in: 04:34:46 + . 04:34:46 -> Found 1 reports 04:34:46 ==> Detecting git/mercurial file structure 04:34:46 ==> Reading reports 04:34:46 + ./coverage.out bytes=122322 04:34:46 ==> Appending adjustments 04:34:46 https://docs.codecov.io/docs/fixing-reports 04:34:46 + Found adjustments 04:34:46 ==> Gzipping contents 04:34:46 20K /tmp/codecov.o8VFvt.gz 04:34:46 ==> Uploading reports 04:34:46 url: https://codecov.io 04:34:46 query: branch=PR-1592&commit=7d3feba1c982b2f62bc77890c1d033099c75a49c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1592&job=&cmd_args= 04:34:46 -> Pinging Codecov 04:34:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1592&commit=7d3feba1c982b2f62bc77890c1d033099c75a49c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1592&job=&cmd_args= 04:34:46 -> Uploading to 04:34:46 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/7E55EF52A471D76F132DFD9A03CDDE97/7d3feba1c982b2f62bc77890c1d033099c75a49c/8716a6c0-3eac-44c9-98c2-abc16aea26f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T043446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=047424fca3af998ccb9764fcc4bdeedf3490c8b5842fcbe62608e4476b1402e2 04:34:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:34:46 Dload Upload Total Spent Left Speed 04:34:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16734 0 0 100 16734 0 73718 --:--:-- --:--:-- --:--:-- 73718 04:34:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7d3feba1c982b2f62bc77890c1d033099c75a49c [Pipeline] } 04:34:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:34:49 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives ] 04:34:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives 04:34:49 total 16 04:34:49 drwxr-xr-x 3 root root 4096 Jul 3 04:21 . 04:34:49 drwxrwxr-x 12 jenkins jenkins 4096 Jul 3 04:21 .. 04:34:49 drwxr-xr-x 2 root root 4096 Jul 3 04:21 cost 04:34:49 -rw-r--r-- 1 root root 86 Jul 3 04:21 cost.csv 04:34:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives 04:34:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives 04:34:49 total 16 04:34:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:21 . 04:34:49 drwxrwxr-x 12 jenkins jenkins 4096 Jul 3 04:21 .. 04:34:49 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 04:21 cost 04:34:49 -rw-r--r-- 1 jenkins jenkins 86 Jul 3 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:34:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:34:50 ---> package-listing.sh 04:34:50 ++ facter osfamily 04:34:50 ++ tr '[:upper:]' '[:lower:]' 04:34:51 + OS_FAMILY=debian 04:34:51 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1592 04:34:51 + START_PACKAGES=/tmp/packages_start.txt 04:34:51 + END_PACKAGES=/tmp/packages_end.txt 04:34:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:34:51 + PACKAGES=/tmp/packages_start.txt 04:34:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1592 ']' 04:34:51 + PACKAGES=/tmp/packages_end.txt 04:34:51 + case "${OS_FAMILY}" in 04:34:51 + grep '^ii' 04:34:51 + dpkg -l 04:34:51 + '[' -f /tmp/packages_start.txt ']' 04:34:51 + '[' -f /tmp/packages_end.txt ']' 04:34:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:34:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1592 ']' 04:34:51 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives/ 04:34:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1592/archives/ [Pipeline] echo 04:34:51 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-1592/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:34:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:52 prd-ubuntu20.04-docker-8c-8g-4874 does not seem to be running inside a container 04:34:52 $ 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-1592/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-1592 -v /w/workspace/gexfoundry_device-sdk-go_PR-1592:/w/workspace/gexfoundry_device-sdk-go_PR-1592:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1592@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:34:52 $ docker top 054deb95b89dff984e7b6076d8cd8b22891c50efc97ed135e9474a1ff4a5fadd -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:52 + touch /tmp/pre-build-complete [Pipeline] sh 04:34:53 + mkdir -p /var/log/sysstat [Pipeline] sh 04:34:53 + ls /var/log/sa-host 04:34:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:53 provisioning config files... 04:34:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1592@tmp/config15745379009780988652tmp [Pipeline] { [Pipeline] echo 04:34:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:34:54 ---> create-netrc.sh [Pipeline] } 04:34:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:34:54 ---> python-tools-install.sh [Pipeline] echo 04:34:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:34:54 ---> sudo-logs.sh 04:34:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:34:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:34:55 ---> job-cost.sh 04:34:55 lf-activate-venv: SKIPPING 04:34:55 DEBUG: total: 0.2199999988079071 04:34:55 INFO: Retrieving Stack Cost... 04:34:55 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:55 INFO: Archiving Costs [Pipeline] echo 04:34:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:34:56 ---> logs-deploy.sh 04:34:56 lf-activate-venv: SKIPPING 04:34:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1592/1 04:34:56 INFO: archiving workspace using pattern(s): 04:34:57 Archives upload complete. 04:34:57 INFO: archiving logs to Nexus