Pull request #1548 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3ec8dba13955847a6809293528a6225dc344730+4eb5e29dea1939910f88077e170bd5bcfca266de (4fbe72f7baaaefd9a31a2dc4d991224dba8944d4) 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-ssh15364390720599660126.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16356526487030179991.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1548/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-1548/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5041339613993503661.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-1548/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15400900391799528306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17882192639705791221.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-1548/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-1548/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9248917926083176546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-25332’ Running on prd-ubuntu20.04-docker-8c-8g-25335 in /w/workspace/gexfoundry_device-sdk-go_PR-1548 [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-1548 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1548/head:refs/remotes/origin/PR-1548 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit c3ec8dba13955847a6809293528a6225dc344730 Merge succeeded, producing c3ec8dba13955847a6809293528a6225dc344730 Checking out Revision c3ec8dba13955847a6809293528a6225dc344730 (PR-1548) Commit message: "build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec8dba13955847a6809293528a6225dc344730 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ec8dba13955847a6809293528a6225dc344730 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:32:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:32:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:32:24 ========================================================= 23:32:24 EdgeX Global Pipelines Version Info 23:32:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:32:25 ------------------- 23:32:25 stable info: 23:32:25 ------------------- 23:32:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:32:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:32:25 Message: update stable to v1.0.258 23:32:25 ------------------- 23:32:25 experimental info: 23:32:25 ------------------- 23:32:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:32:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:32:25 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:32:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1548 [Pipeline] echo 23:32:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1548 [Pipeline] echo 23:32:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1548 [Pipeline] echo 23:32:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3ec8dba13955847a6809293528a6225dc344730 [Pipeline] echo 23:32:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3ec8db [Pipeline] echo 23:32:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:28 provisioning config files... 23:32:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/config168333433385793238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:28 ---> ****-login.sh 23:32:28 nexus3.edgexfoundry.org:10001 23:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:29 Configure a credential helper to remove this warning. See 23:32:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:29 23:32:29 Login Succeeded 23:32:29 nexus3.edgexfoundry.org:10002 23:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:29 Configure a credential helper to remove this warning. See 23:32:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:29 23:32:29 Login Succeeded 23:32:29 nexus3.edgexfoundry.org:10003 23:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:29 Configure a credential helper to remove this warning. See 23:32:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:29 23:32:29 Login Succeeded 23:32:29 nexus3.edgexfoundry.org:10004 23:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:29 Configure a credential helper to remove this warning. See 23:32:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:29 23:32:29 Login Succeeded 23:32:29 ****.io 23:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:29 Configure a credential helper to remove this warning. See 23:32:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:29 23:32:29 Login Succeeded 23:32:29 ---> ****-login.sh ends [Pipeline] } 23:32:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:32:30 + git rev-list -1 --merges c3ec8dba13955847a6809293528a6225dc344730~1..c3ec8dba13955847a6809293528a6225dc344730 [Pipeline] echo 23:32:30 -----------> git rev-list -1 --merges c3ec8dba13955847a6809293528a6225dc344730~1..c3ec8dba13955847a6809293528a6225dc344730 c3ec8dba13955847a6809293528a6225dc344730 [false] [Pipeline] sh 23:32:31 + git log --format=format:%s -1 c3ec8dba13955847a6809293528a6225dc344730 [Pipeline] echo 23:32:31 ========================================================= 23:32:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:32:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:31 + git log --format=format:%s -1 c3ec8dba13955847a6809293528a6225dc344730 [Pipeline] echo 23:32:31 [semverPrep] GIT_COMMIT: c3ec8dba13955847a6809293528a6225dc344730, Commit Message: build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 [Pipeline] echo 23:32:31 [semverPrep] This is not a build commit. [Pipeline] sh 23:32:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:32:32 + grep -v github /etc/ssh/ssh_known_hosts 23:32:32 + [ -e /tmp/ssh_known_hosts ] 23:32:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:32:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:32:32 + sudo tee -a /etc/ssh/ssh_known_hosts 23:32:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:32:32 23:32:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:32:33 0.1.4: Pulling from edgex-devops/py-git-semver 23:32:33 b85a868b505f: Pulling fs layer 23:32:33 e2be974225ed: Pulling fs layer 23:32:33 339a4e72a1f5: Pulling fs layer 23:32:33 988bab9f4d93: Pulling fs layer 23:32:33 1469e6f7b9e6: Pulling fs layer 23:32:33 eaf3925da568: Pulling fs layer 23:32:33 bab4dde63d76: Pulling fs layer 23:32:33 bde34c3a00c8: Pulling fs layer 23:32:33 b352a97aabf1: Pulling fs layer 23:32:33 4872d77fe225: Pulling fs layer 23:32:33 5851b861e8e6: Pulling fs layer 23:32:33 988bab9f4d93: Waiting 23:32:33 1469e6f7b9e6: Waiting 23:32:33 eaf3925da568: Waiting 23:32:33 bab4dde63d76: Waiting 23:32:33 bde34c3a00c8: Waiting 23:32:33 b352a97aabf1: Waiting 23:32:33 4872d77fe225: Waiting 23:32:33 5851b861e8e6: Waiting 23:32:33 e2be974225ed: Verifying Checksum 23:32:33 e2be974225ed: Download complete 23:32:33 988bab9f4d93: Verifying Checksum 23:32:33 988bab9f4d93: Download complete 23:32:33 1469e6f7b9e6: Verifying Checksum 23:32:33 1469e6f7b9e6: Download complete 23:32:33 eaf3925da568: Verifying Checksum 23:32:33 eaf3925da568: Download complete 23:32:33 339a4e72a1f5: Verifying Checksum 23:32:33 339a4e72a1f5: Download complete 23:32:33 bde34c3a00c8: Download complete 23:32:33 b352a97aabf1: Verifying Checksum 23:32:33 b352a97aabf1: Download complete 23:32:33 5851b861e8e6: Verifying Checksum 23:32:33 5851b861e8e6: Download complete 23:32:33 b85a868b505f: Download complete 23:32:33 bab4dde63d76: Verifying Checksum 23:32:33 bab4dde63d76: Download complete 23:32:34 b85a868b505f: Pull complete 23:32:34 e2be974225ed: Pull complete 23:32:35 339a4e72a1f5: Pull complete 23:32:35 988bab9f4d93: Pull complete 23:32:35 1469e6f7b9e6: Pull complete 23:32:35 eaf3925da568: Pull complete 23:32:37 bab4dde63d76: Pull complete 23:32:37 bde34c3a00c8: Pull complete 23:32:37 b352a97aabf1: Pull complete 23:32:37 4872d77fe225: Pull complete 23:32:37 5851b861e8e6: Pull complete 23:32:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:32:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:32:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:37 prd-ubuntu20.04-docker-8c-8g-25335 does not seem to be running inside a container 23:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1548 -v /w/workspace/gexfoundry_device-sdk-go_PR-1548:/w/workspace/gexfoundry_device-sdk-go_PR-1548:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1548@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 23:32:41 $ docker top 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 -eo pid,comm 23:32:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:32:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:32:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:32:41 [ssh-agent] Looking for ssh-agent implementation... 23:32:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:32:41 $ docker exec 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 ssh-agent 23:32:41 SSH_AUTH_SOCK=/tmp/ssh-hOdOyikHctsN/agent.32 23:32:41 SSH_AGENT_PID=38 23:32:41 Running ssh-add (command line suppressed) 23:32:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/private_key_13109639453344240064.key (/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/private_key_13109639453344240064.key) 23:32:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:32:42 + git tag --points-at HEAD [Pipeline] } 23:32:42 $ docker exec --env ******** --env ******** 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 ssh-agent -k 23:32:42 unset SSH_AUTH_SOCK; 23:32:42 unset SSH_AGENT_PID; 23:32:42 echo Agent pid 38 killed; 23:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:32:42 [ssh-agent] Looking for ssh-agent implementation... 23:32:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:32:42 $ docker exec 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 ssh-agent 23:32:42 SSH_AUTH_SOCK=/tmp/ssh-uwEkGv0pJGwY/agent.70 23:32:42 SSH_AGENT_PID=76 23:32:42 Running ssh-add (command line suppressed) 23:32:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/private_key_13300307380734894015.key (/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/private_key_13300307380734894015.key) 23:32:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:32:43 + git semver init 23:32:43 2023-12-18 23:32:43,559 [run_init] DEBUG init version:0.0.0 force:False 23:32:43 2023-12-18 23:32:43,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver 23:32:43 2023-12-18 23:32:43,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver 23:32:43 2023-12-18 23:32:43,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1548, universal_newlines=False, shell=None, istream=None) 23:32:45 2023-12-18 23:32:44,969 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548/.git/info/exclude 23:32:45 2023-12-18 23:32:44,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver/PR-1548 with force:False 23:32:45 2023-12-18 23:32:44,970 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver/PR-1548 23:32:45 2023-12-18 23:32:44,974 [execute] INFO git cat-file --batch-check 23:32:45 2023-12-18 23:32:44,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver, universal_newlines=False, shell=None, istream=) 23:32:45 2023-12-18 23:32:44,982 [execute] INFO git cat-file --batch 23:32:45 2023-12-18 23:32:44,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver, universal_newlines=False, shell=None, istream=) 23:32:45 2023-12-18 23:32:44,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1548/.semver/PR-1548 23:32:45 0.0.0 [Pipeline] } 23:32:45 $ docker exec --env ******** --env ******** 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 ssh-agent -k 23:32:45 unset SSH_AUTH_SOCK; 23:32:45 unset SSH_AGENT_PID; 23:32:45 echo Agent pid 76 killed; 23:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:32:45 + git semver [Pipeline] } 23:32:46 $ docker stop --time=1 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 23:32:47 $ docker rm -f --volumes 4dbb835d4f69d054bed7ae50c6ba6552c6a53f6a6b89adb6960396751595c725 [Pipeline] // withDockerContainer [Pipeline] sh 23:32:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:32:48 Stashed 1 file(s) [Pipeline] echo 23:32:48 [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 23:32:49 provisioning config files... 23:32:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/config17786783766245982968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:49 ---> ****-login.sh 23:32:49 nexus3.edgexfoundry.org:10001 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 nexus3.edgexfoundry.org:10002 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 nexus3.edgexfoundry.org:10003 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 nexus3.edgexfoundry.org:10004 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 ****.io 23:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:49 Configure a credential helper to remove this warning. See 23:32:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:49 23:32:49 Login Succeeded 23:32:49 ---> ****-login.sh ends [Pipeline] } 23:32:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:32:50 ========================================================= 23:32:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:32:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:50 + 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 . 23:32:50 Sending build context to Docker daemon 21.9MB 23:32:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:32:50 Step 2/10 : FROM ${BASE} AS builder 23:32:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:32:51 7264a8db6415: Pulling fs layer 23:32:51 c4d48a809fc2: Pulling fs layer 23:32:51 4f1c88b9dad5: Pulling fs layer 23:32:51 ad3a456e5733: Pulling fs layer 23:32:51 69c7f0334f64: Pulling fs layer 23:32:51 ad3a456e5733: Waiting 23:32:51 1f1c1a5573a3: Pulling fs layer 23:32:51 69c7f0334f64: Waiting 23:32:51 ce7588e14bc9: Pulling fs layer 23:32:51 b5e4710f87ac: Pulling fs layer 23:32:51 1f1c1a5573a3: Waiting 23:32:51 ce7588e14bc9: Waiting 23:32:51 c4d48a809fc2: Verifying Checksum 23:32:51 c4d48a809fc2: Download complete 23:32:51 ad3a456e5733: Verifying Checksum 23:32:51 ad3a456e5733: Download complete 23:32:51 69c7f0334f64: Verifying Checksum 23:32:51 69c7f0334f64: Download complete 23:32:51 7264a8db6415: Verifying Checksum 23:32:51 7264a8db6415: Download complete 23:32:51 1f1c1a5573a3: Verifying Checksum 23:32:51 1f1c1a5573a3: Download complete 23:32:51 7264a8db6415: Pull complete 23:32:51 b5e4710f87ac: Verifying Checksum 23:32:51 b5e4710f87ac: Download complete 23:32:51 c4d48a809fc2: Pull complete 23:32:51 4f1c88b9dad5: Download complete 23:32:52 ce7588e14bc9: Verifying Checksum 23:32:52 ce7588e14bc9: Download complete 23:32:55 4f1c88b9dad5: Pull complete 23:32:55 ad3a456e5733: Pull complete 23:32:55 69c7f0334f64: Pull complete 23:32:55 1f1c1a5573a3: Pull complete 23:32:57 ce7588e14bc9: Pull complete 23:32:58 b5e4710f87ac: Pull complete 23:32:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:32:58 ---> 88b5674ff536 23:32:58 Step 3/10 : ARG MAKE=make build 23:33:03 Still waiting to schedule task 23:33:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-25333’ 23:33:05 ---> Running in b89f334ac2a1 23:33:05 Removing intermediate container b89f334ac2a1 23:33:05 ---> 048120644eef 23:33:05 Step 4/10 : WORKDIR /device-sdk-go 23:33:05 ---> Running in f87ccd1b28d5 23:33:05 Removing intermediate container f87ccd1b28d5 23:33:05 ---> aa01a166c7af 23:33:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:33:05 ---> Running in cf288b63a896 23:33:05 Removing intermediate container cf288b63a896 23:33:05 ---> 4716f65831d2 23:33:05 Step 6/10 : RUN apk add --update --no-cache make git 23:33:05 ---> Running in 937b45d0e48b 23:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:33:05 OK: 264 MiB in 52 packages 23:33:05 Removing intermediate container 937b45d0e48b 23:33:05 ---> d1180d6198ad 23:33:05 Step 7/10 : COPY go.mod vendor* ./ 23:33:06 ---> 4f45bc025513 23:33:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:06 ---> Running in 5b0dd737eb67 23:33:52 Removing intermediate container 5b0dd737eb67 23:33:52 ---> a9231d08005e 23:33:52 Step 9/10 : COPY . . 23:33:52 ---> eb18bf4fe052 23:33:52 Step 10/10 : RUN ${MAKE} 23:33:52 ---> Running in 99af9b5d55c6 23:33:52 noop 23:33:52 Removing intermediate container 99af9b5d55c6 23:33:52 ---> 864d6ddc6d57 23:33:52 Successfully built 864d6ddc6d57 23:33:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:53 + docker inspect -f . ci-base-image-x86_64 23:33:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:53 prd-ubuntu20.04-docker-8c-8g-25335 does not seem to be running inside a container 23:33:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1548 -v /w/workspace/gexfoundry_device-sdk-go_PR-1548:/w/workspace/gexfoundry_device-sdk-go_PR-1548:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1548@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 23:33:54 $ docker top 6d780ff9e9f830640d71c4e00ddb8ace04f874b06df6bb24b68f9988dc59b2d0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:54 + go version 23:33:54 go version go1.21.0 linux/amd64 [Pipeline] } 23:33:54 $ docker stop --time=1 6d780ff9e9f830640d71c4e00ddb8ace04f874b06df6bb24b68f9988dc59b2d0 23:33:55 $ docker rm -f --volumes 6d780ff9e9f830640d71c4e00ddb8ace04f874b06df6bb24b68f9988dc59b2d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:57 + docker inspect -f . ci-base-image-x86_64 23:33:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:57 prd-ubuntu20.04-docker-8c-8g-25335 does not seem to be running inside a container 23:33:57 $ 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-1548 -v /w/workspace/gexfoundry_device-sdk-go_PR-1548:/w/workspace/gexfoundry_device-sdk-go_PR-1548:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1548@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 23:33:57 $ docker top ef32d50c69dcf99499c84bad2cd2d1abba48802d8f4e48f4483b116a7c813f6e -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1548 [Pipeline] fileExists [Pipeline] sh 23:33:58 + make test 23:33:58 go test -race -coverprofile=coverage.out ./... 23:34:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.6% of statements 23:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements 23:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.094s coverage: 86.0% of statements 23:34:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:34:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.093s coverage: 71.8% of statements 23:34:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:34:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:34:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements 23:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.986s coverage: 45.9% of statements 23:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements 23:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements 23:34:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements 23:34:49 GO111MODULE=on go vet ./... 23:34:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:34:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:34:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:34:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:34:52 $ docker stop --time=1 ef32d50c69dcf99499c84bad2cd2d1abba48802d8f4e48f4483b116a7c813f6e 23:34:56 $ docker rm -f --volumes ef32d50c69dcf99499c84bad2cd2d1abba48802d8f4e48f4483b116a7c813f6e [Pipeline] // withDockerContainer [Pipeline] sh 23:34:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:34:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:34:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:34:59 + ls -al . 23:34:59 total 308 23:34:59 drwxrwxr-x 11 jenkins jenkins 4096 Dec 18 23:33 . 23:34:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:32 .. 23:34:59 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:32 .dockerignore 23:34:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:34 .git 23:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:32 .github 23:34:59 -rw-rw-r-- 1 jenkins jenkins 137 Dec 18 23:32 .gitignore 23:34:59 -rw-rw-r-- 1 jenkins jenkins 42 Dec 18 23:32 .golangci.yml 23:34:59 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:32 .semver 23:34:59 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 18 23:32 CHANGELOG.md 23:34:59 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:32 GOVERNANCE.md 23:34:59 -rw-rw-r-- 1 jenkins jenkins 885 Dec 18 23:32 Jenkinsfile 23:34:59 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 18 23:32 LICENSE 23:34:59 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 18 23:32 Makefile 23:34:59 -rw-rw-r-- 1 jenkins jenkins 619 Dec 18 23:32 OWNERS.md 23:34:59 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 18 23:32 README.md 23:34:59 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:32 VERSION 23:34:59 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:32 bin 23:34:59 -rw-r--r-- 1 jenkins jenkins 122153 Dec 18 23:34 coverage.out 23:34:59 drwxrwxr-x 5 jenkins jenkins 4096 Dec 18 23:32 example 23:34:59 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 18 23:32 go.mod 23:34:59 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 18 23:32 go.sum 23:34:59 drwxrwxr-x 12 jenkins jenkins 4096 Dec 18 23:32 internal 23:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:32 openapi 23:34:59 drwxrwxr-x 6 jenkins jenkins 4096 Dec 18 23:32 pkg 23:34:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:32 snap 23:34:59 -rw-rw-r-- 1 jenkins jenkins 222 Dec 18 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:59 + 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=c3ec8dba13955847a6809293528a6225dc344730 --label arch=amd64 --label version=0.0.0 . 23:34:59 Sending build context to Docker daemon 22.03MB 23:34:59 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:34:59 Step 2/23 : FROM ${BASE} AS builder 23:34:59 ---> 864d6ddc6d57 23:34:59 Step 3/23 : ARG MAKE=make build 23:35:00 ---> Running in 1822160200f5 23:35:00 Removing intermediate container 1822160200f5 23:35:00 ---> 0f5f3ad7bc76 23:35:00 Step 4/23 : WORKDIR /device-sdk-go 23:35:00 ---> Running in bc9940785f0e 23:35:00 Removing intermediate container bc9940785f0e 23:35:00 ---> 99131e5c07d4 23:35:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:35:00 ---> Running in 43a752cd7c69 23:35:00 Removing intermediate container 43a752cd7c69 23:35:00 ---> d3f53b2e9267 23:35:00 Step 6/23 : RUN apk add --update --no-cache make git 23:35:00 ---> Running in bbda4fbc8972 23:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:35:01 OK: 264 MiB in 52 packages 23:35:01 Removing intermediate container bbda4fbc8972 23:35:01 ---> ca7b3d955f01 23:35:01 Step 7/23 : COPY go.mod vendor* ./ 23:35:01 ---> ea7ee0a1255c 23:35:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:01 ---> Running in 9dbb19b4325a 23:35:02 Removing intermediate container 9dbb19b4325a 23:35:02 ---> cd1b915ab23a 23:35:02 Step 9/23 : COPY . . 23:35:03 ---> 42fd3e51cbfa 23:35:03 Step 10/23 : RUN ${MAKE} 23:35:03 ---> Running in d27a11c28f95 23:35:03 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 23:35:25 Removing intermediate container d27a11c28f95 23:35:25 ---> 617c24008009 23:35:25 Step 11/23 : FROM alpine:3.18 23:35:25 3.18: Pulling from library/alpine 23:35:25 c926b61bad3b: Pulling fs layer 23:35:25 c926b61bad3b: Download complete 23:35:25 c926b61bad3b: Pull complete 23:35:25 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:35:25 Status: Downloaded newer image for alpine:3.18 23:35:25 ---> b541f2080109 23:35:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:35:25 ---> Running in 7d7f26b898b9 23:35:25 Removing intermediate container 7d7f26b898b9 23:35:25 ---> 4eaaf1f68836 23:35:25 Step 13/23 : RUN apk add --update --no-cache 23:35:25 ---> Running in bc13206a1a56 23:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:35:25 OK: 7 MiB in 15 packages 23:35:26 Removing intermediate container bc13206a1a56 23:35:26 ---> 6c339344d82d 23:35:26 Step 14/23 : WORKDIR / 23:35:26 ---> Running in 7a22786c3a29 23:35:26 Removing intermediate container 7a22786c3a29 23:35:26 ---> 1e7605fbd6a3 23:35:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:35:26 ---> 8559fd4f4073 23:35:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:35:27 ---> 66de71a7a265 23:35:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:35:27 ---> 0d41c1ef9e3f 23:35:27 Step 18/23 : EXPOSE 59999 23:35:27 ---> Running in 63e1bcd7a4c4 23:35:27 Removing intermediate container 63e1bcd7a4c4 23:35:27 ---> 17b3ed4154c2 23:35:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:35:27 ---> Running in 630008e1b207 23:35:27 Removing intermediate container 630008e1b207 23:35:27 ---> f0d3113c762d 23:35:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:35:27 ---> Running in f0ff2ac88c05 23:35:27 Removing intermediate container f0ff2ac88c05 23:35:27 ---> 3c04f7b74320 23:35:27 Step 21/23 : LABEL arch=amd64 23:35:27 ---> Running in d21d4349c022 23:35:27 Removing intermediate container d21d4349c022 23:35:27 ---> 89fae048e5ce 23:35:27 Step 22/23 : LABEL git_sha=c3ec8dba13955847a6809293528a6225dc344730 23:35:27 ---> Running in 9a2b591aa00d 23:35:27 Removing intermediate container 9a2b591aa00d 23:35:27 ---> 867af45d17d0 23:35:27 Step 23/23 : LABEL version=0.0.0 23:35:27 ---> Running in bd962b469c20 23:35:27 Removing intermediate container bd962b469c20 23:35:27 ---> 4d6c1f852160 23:35:27 [Warning] One or more build-args [ARCH] were not consumed 23:35:27 Successfully built 4d6c1f852160 23:35:27 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:29 23:35:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:29 latest: Pulling from edgex-lftools-log-publisher 23:35:29 5eb5b503b376: Pulling fs layer 23:35:29 5c69ac0246d0: Pulling fs layer 23:35:29 ec43610c2a17: Pulling fs layer 23:35:29 3a2ae6a8a46f: Pulling fs layer 23:35:29 33b1e0a273af: Pulling fs layer 23:35:29 5d3b04190fa2: Pulling fs layer 23:35:29 2f39f015ded8: Pulling fs layer 23:35:29 5d3b04190fa2: Waiting 23:35:29 3a2ae6a8a46f: Waiting 23:35:29 33b1e0a273af: Waiting 23:35:29 2f39f015ded8: Waiting 23:35:29 5c69ac0246d0: Download complete 23:35:29 3a2ae6a8a46f: Verifying Checksum 23:35:29 3a2ae6a8a46f: Download complete 23:35:29 33b1e0a273af: Verifying Checksum 23:35:29 33b1e0a273af: Download complete 23:35:29 5d3b04190fa2: Verifying Checksum 23:35:29 5d3b04190fa2: Download complete 23:35:29 ec43610c2a17: Verifying Checksum 23:35:29 ec43610c2a17: Download complete 23:35:29 5eb5b503b376: Verifying Checksum 23:35:29 5eb5b503b376: Download complete 23:35:30 2f39f015ded8: Download complete 23:35:31 5eb5b503b376: Pull complete 23:35:31 5c69ac0246d0: Pull complete 23:35:31 ec43610c2a17: Pull complete 23:35:31 3a2ae6a8a46f: Pull complete 23:35:32 33b1e0a273af: Pull complete 23:35:32 5d3b04190fa2: Pull complete 23:35:36 2f39f015ded8: Pull complete 23:35:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:36 prd-ubuntu20.04-docker-8c-8g-25335 does not seem to be running inside a container 23:35:36 $ 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-1548 -v /w/workspace/gexfoundry_device-sdk-go_PR-1548:/w/workspace/gexfoundry_device-sdk-go_PR-1548:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1548@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 23:35:41 $ docker top e96e48c54d9e73c0fa0c913f6b60d4103d6bf5e5985afb2af9ba53a985cffdfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:41 ---> job-cost.sh 23:35:41 lf-activate-venv: SKIPPING 23:35:41 INFO: No Stack... 23:35:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:35:42 INFO: Archiving Costs [Pipeline] sh 23:35:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives/cost.csv 23:35:43 + cut -d, -f6 [Pipeline] lock 23:35:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] 23:35:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] did not exist. Created. 23:35:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:35:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:35:43 Stashed 1 file(s) [Pipeline] } 23:35:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:35:44 $ docker stop --time=1 e96e48c54d9e73c0fa0c913f6b60d4103d6bf5e5985afb2af9ba53a985cffdfc 23:35:45 $ docker rm -f --volumes e96e48c54d9e73c0fa0c913f6b60d4103d6bf5e5985afb2af9ba53a985cffdfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:36:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25340 in /w/workspace/gexfoundry_device-sdk-go_PR-1548 [Pipeline] { [Pipeline] ws 23:36:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:36:04 The recommended git tool is: git 23:36:12 using credential edgex-jenkins-ssh 23:36:12 Cloning the remote Git repository 23:36:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:36:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:36:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:36:12 > git --version # timeout=10 23:36:12 > git --version # 'git version 2.25.1' 23:36:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:36:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:17 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit c3ec8dba13955847a6809293528a6225dc344730 23:36:17 Merge succeeded, producing c3ec8dba13955847a6809293528a6225dc344730 23:36:17 Checking out Revision c3ec8dba13955847a6809293528a6225dc344730 (PR-1548) 23:36:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:36:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:36:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1548/head:refs/remotes/origin/PR-1548 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:36:17 > git config core.sparsecheckout # timeout=10 23:36:17 > git checkout -f c3ec8dba13955847a6809293528a6225dc344730 # timeout=10 23:36:17 > git remote # timeout=10 23:36:17 > git config --get remote.origin.url # timeout=10 23:36:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:17 > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 23:36:17 > git rev-parse HEAD^{commit} # timeout=10 23:36:17 > git config core.sparsecheckout # timeout=10 23:36:17 > git checkout -f c3ec8dba13955847a6809293528a6225dc344730 # timeout=10 23:36:18 Commit message: "build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0" 23:36:18 > git --version # timeout=10 23:36:18 > git --version # 'git version 2.25.1' 23:36:18 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:36:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:36:20 Dload Upload Total Spent Left Speed 23:36:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 23:36:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:36:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:36:20 + sudo tee /etc/docker/daemon.new 23:36:20 { 23:36:20 "registry-mirrors": [ 23:36:20 "https://nexus3.edgexfoundry.org:10001" 23:36:20 ], 23:36:20 "bip": "10.250.0.254/24", 23:36:20 "hosts": [ 23:36:20 "tcp://0.0.0.0:5555", 23:36:20 "unix:///var/run/docker.sock" 23:36:20 ], 23:36:20 "mtu": 1458, 23:36:20 "selinux-enabled": true, 23:36:20 "seccomp-profile": "/etc/docker/seccomp.json" 23:36:20 } [Pipeline] sh 23:36:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:36:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:40 provisioning config files... 23:36:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17833347546134630773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:40 ---> ****-login.sh 23:36:40 nexus3.edgexfoundry.org:10001 23:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:41 Configure a credential helper to remove this warning. See 23:36:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:41 23:36:41 Login Succeeded 23:36:41 nexus3.edgexfoundry.org:10002 23:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:41 Configure a credential helper to remove this warning. See 23:36:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:41 23:36:41 Login Succeeded 23:36:41 nexus3.edgexfoundry.org:10003 23:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:41 Configure a credential helper to remove this warning. See 23:36:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:41 23:36:41 Login Succeeded 23:36:41 nexus3.edgexfoundry.org:10004 23:36:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:41 Configure a credential helper to remove this warning. See 23:36:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:41 23:36:41 Login Succeeded 23:36:41 ****.io 23:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:42 Configure a credential helper to remove this warning. See 23:36:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:42 23:36:42 Login Succeeded 23:36:42 ---> ****-login.sh ends [Pipeline] } 23:36:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:36:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:36:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:36:43 ========================================================= 23:36:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:36:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:43 + 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 . 23:36:45 #0 building with "default" instance using docker driver 23:36:45 23:36:45 #1 [internal] load build definition from Dockerfile 23:36:45 #1 transferring dockerfile: 1.54kB 0.0s done 23:36:45 #1 DONE 0.1s 23:36:45 23:36:45 #2 [internal] load .dockerignore 23:36:45 #2 transferring context: 182B done 23:36:45 #2 DONE 0.1s 23:36:45 23:36:45 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:36:45 #3 DONE 0.2s 23:36:45 23:36:45 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:36:45 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 23:36:45 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.72MB / 63.99MB 0.2s 23:36:45 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 23:36:45 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 23:36:45 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 23:36:45 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 23:36:45 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 23:36:45 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 23:36:45 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 23:36:45 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 23:36:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.38kB / 97.63MB 0.3s 23:36:45 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 23:36:45 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 23:36:45 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.4s 23:36:45 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 23:36:45 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 23:36:45 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 23:36:46 #4 ... 23:36:46 23:36:46 #5 [internal] load build context 23:36:46 #5 transferring context: 11.14MB 0.5s done 23:36:46 #5 DONE 0.6s 23:36:46 23:36:46 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:36:46 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s 23:36:46 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 23:36:46 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.8s 23:36:46 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 23:36:46 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.8s 23:36:46 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 23:36:46 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 23:36:46 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 1.1s 23:36:46 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.54MB / 97.63MB 1.1s 23:36:46 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.12MB / 63.99MB 1.2s 23:36:46 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 23:36:46 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.70MB / 63.99MB 1.3s 23:36:46 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.01MB / 97.63MB 1.3s 23:36:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.04MB / 63.99MB 1.5s 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.5s 23:36:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.89MB / 63.99MB 1.6s 23:36:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.96MB / 63.99MB 1.7s 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.7s 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.87MB / 97.63MB 1.8s 23:36:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 2.0s 23:36:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 2.2s 23:36:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.27MB / 97.63MB 2.4s 23:36:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.94MB / 97.63MB 2.6s 23:36:53 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 7.0s done 23:36:53 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 23:36:57 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.4s 23:37:03 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.6s 23:37:07 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.6s done 23:37:08 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 23:37:08 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 23:37:08 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 23:37:08 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23:37:14 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 23:37:17 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done 23:37:17 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 23:37:19 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 23:37:21 #4 DONE 35.9s 23:37:21 23:37:21 #6 [builder 2/7] WORKDIR /device-sdk-go 23:37:23 #6 DONE 1.7s 23:37:23 23:37:23 #7 [builder 3/7] RUN apk add --update --no-cache make git 23:37:23 #7 0.807 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:37:24 #7 1.258 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:37:25 #7 2.526 OK: 266 MiB in 52 packages 23:37:25 #7 DONE 2.8s 23:37:25 23:37:25 #8 [builder 4/7] COPY go.mod vendor* ./ 23:37:26 #8 DONE 0.2s 23:37:26 23:37:26 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:52 #9 DONE 24.0s 23:37:52 23:37:52 #10 [builder 6/7] COPY . . 23:37:52 #10 DONE 0.4s 23:37:52 23:37:52 #11 [builder 7/7] RUN echo noop 23:37:52 #11 0.668 noop 23:37:52 #11 DONE 0.7s 23:37:52 23:37:52 #12 exporting to image 23:37:52 #12 exporting layers 23:38:15 #12 exporting layers 21.3s done 23:38:15 #12 writing image sha256:e63f30fe50a937dac96534f0d590e49cd82205f67df14ad021e7955ec0101d2e done 23:38:15 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 23:38:15 #12 DONE 21.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:15 + docker inspect -f . ci-base-image-arm64 23:38:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:16 prd-ubuntu20.04-docker-arm64-4c-16g-25340 does not seem to be running inside a container 23:38:16 $ 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 23:38:20 $ docker top 4b779e9f76c57e5b2ff3c2daf6c05c9d7d4c02c7084accfb44654f2430880741 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:21 + go version 23:38:21 go version go1.21.0 linux/arm64 [Pipeline] } 23:38:21 $ docker stop --time=1 4b779e9f76c57e5b2ff3c2daf6c05c9d7d4c02c7084accfb44654f2430880741 23:38:22 $ docker rm -f --volumes 4b779e9f76c57e5b2ff3c2daf6c05c9d7d4c02c7084accfb44654f2430880741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:24 + docker inspect -f . ci-base-image-arm64 23:38:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:24 prd-ubuntu20.04-docker-arm64-4c-16g-25340 does not seem to be running inside a container 23:38:24 $ 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 23:38:25 $ docker top 999f884ee202093ba06a6e18b13d77bd517d9e768ce8ba01c9f8c365c12048ed -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:26 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 23:38:26 + make test 23:38:26 go test -race -coverprofile=coverage.out ./... 23:39:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:40:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.264s coverage: 27.6% of statements 23:40:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:40:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.324s coverage: 81.5% of statements 23:40:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.403s coverage: 86.0% of statements 23:40:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.767s coverage: 71.8% of statements 23:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:40:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.587s coverage: 14.4% of statements 23:40:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.118s coverage: 45.9% of statements 23:40:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.440s coverage: 68.5% of statements 23:40:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.450s coverage: 89.2% of statements 23:40:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:40:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.236s coverage: 5.5% of statements 23:40:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:40:43 GO111MODULE=on go vet ./... 23:42:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:42:20 $ docker stop --time=1 999f884ee202093ba06a6e18b13d77bd517d9e768ce8ba01c9f8c365c12048ed 23:42:22 $ docker rm -f --volumes 999f884ee202093ba06a6e18b13d77bd517d9e768ce8ba01c9f8c365c12048ed [Pipeline] // withDockerContainer [Pipeline] sh 23:42:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:24 Warning: overwriting stash ‘coverage-report’ 23:42:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:26 + ls -al . 23:42:26 total 304 23:42:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:38 . 23:42:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:36 .. 23:42:26 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:36 .dockerignore 23:42:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:36 .git 23:42:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:36 .github 23:42:26 -rw-rw-r-- 1 jenkins jenkins 137 Dec 18 23:36 .gitignore 23:42:26 -rw-rw-r-- 1 jenkins jenkins 42 Dec 18 23:36 .golangci.yml 23:42:26 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 18 23:36 CHANGELOG.md 23:42:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:36 GOVERNANCE.md 23:42:26 -rw-rw-r-- 1 jenkins jenkins 885 Dec 18 23:36 Jenkinsfile 23:42:26 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 18 23:36 LICENSE 23:42:26 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 18 23:36 Makefile 23:42:26 -rw-rw-r-- 1 jenkins jenkins 619 Dec 18 23:36 OWNERS.md 23:42:26 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 18 23:36 README.md 23:42:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:32 VERSION 23:42:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:36 bin 23:42:26 -rw-r--r-- 1 jenkins jenkins 122155 Dec 18 23:40 coverage.out 23:42:26 drwxrwxr-x 5 jenkins jenkins 4096 Dec 18 23:36 example 23:42:26 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 18 23:36 go.mod 23:42:26 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 18 23:36 go.sum 23:42:26 drwxrwxr-x 12 jenkins jenkins 4096 Dec 18 23:36 internal 23:42:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:36 openapi 23:42:26 drwxrwxr-x 6 jenkins jenkins 4096 Dec 18 23:36 pkg 23:42:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:36 snap 23:42:26 -rw-rw-r-- 1 jenkins jenkins 222 Dec 18 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:26 + 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=c3ec8dba13955847a6809293528a6225dc344730 --label arch=arm64 --label version=0.0.0 . 23:42:27 #0 building with "default" instance using docker driver 23:42:27 23:42:27 #1 [internal] load build definition from Dockerfile 23:42:27 #1 transferring dockerfile: 1.54kB 0.0s done 23:42:27 #1 DONE 0.0s 23:42:27 23:42:27 #2 [internal] load .dockerignore 23:42:27 #2 transferring context: 182B 0.0s done 23:42:27 #2 DONE 0.0s 23:42:27 23:42:27 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 23:42:27 #3 DONE 0.0s 23:42:27 23:42:27 #4 [internal] load metadata for docker.io/library/alpine:3.18 23:42:28 #4 DONE 0.3s 23:42:28 23:42:28 #5 [internal] load build context 23:42:28 #5 transferring context: 137.09kB 0.1s done 23:42:28 #5 DONE 0.2s 23:42:28 23:42:28 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:42:28 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 23:42:28 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 23:42:28 #6 ... 23:42:28 23:42:28 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 23:42:28 #7 DONE 0.3s 23:42:28 23:42:28 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:42:28 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 23:42:28 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 23:42:28 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 23:42:28 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 23:42:28 #6 ... 23:42:28 23:42:28 #8 [builder 2/7] WORKDIR /device-sdk-go 23:42:28 #8 DONE 0.1s 23:42:28 23:42:28 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:42:28 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 23:42:28 #6 DONE 1.0s 23:42:28 23:42:28 #9 [stage-1 2/6] RUN apk add --update --no-cache 23:42:29 #9 0.700 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:42:29 #9 1.058 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:42:31 #9 ... 23:42:31 23:42:31 #10 [builder 3/7] RUN apk add --update --no-cache make git 23:42:31 #10 0.791 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:42:31 #10 1.253 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:42:31 #10 2.434 OK: 266 MiB in 52 packages 23:42:31 #10 DONE 2.7s 23:42:31 23:42:31 #9 [stage-1 2/6] RUN apk add --update --no-cache 23:42:31 #9 2.203 OK: 8 MiB in 15 packages 23:42:31 #9 ... 23:42:31 23:42:31 #11 [builder 4/7] COPY go.mod vendor* ./ 23:42:31 #11 DONE 0.2s 23:42:31 23:42:31 #9 [stage-1 2/6] RUN apk add --update --no-cache 23:42:31 #9 DONE 2.5s 23:42:31 23:42:31 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:32 #12 DONE 1.3s 23:42:32 23:42:32 #13 [builder 6/7] COPY . . 23:42:33 #13 DONE 0.5s 23:42:33 23:42:33 #14 [builder 7/7] RUN make build 23:42:33 #14 0.669 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 23:43:55 #14 DONE 70.2s 23:43:55 23:43:55 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:43:55 #15 DONE 0.1s 23:43:55 23:43:55 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:43:55 #16 DONE 0.3s 23:43:55 23:43:55 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:43:55 #17 DONE 0.1s 23:43:55 23:43:55 #18 exporting to image 23:43:55 #18 exporting layers 23:43:55 #18 exporting layers 0.4s done 23:43:55 #18 writing image sha256:07efda3c857e261344f9418be07098b5d2c04ad3c9e80bfc7999cd05125852a8 done 23:43:55 #18 naming to docker.io/library/device-sdk-simple-arm64 done 23:43:55 #18 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:56 23:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:57 arm64: Pulling from edgex-lftools-log-publisher 23:43:57 8998bd30e6a1: Pulling fs layer 23:43:57 04944245beec: Pulling fs layer 23:43:57 699f458cf7ca: Pulling fs layer 23:43:57 765212b225bb: Pulling fs layer 23:43:57 f23df028b6ca: Pulling fs layer 23:43:57 d65c8cfc05b1: Pulling fs layer 23:43:57 2437ff75d9bd: Pulling fs layer 23:43:57 f23df028b6ca: Waiting 23:43:57 d65c8cfc05b1: Waiting 23:43:57 2437ff75d9bd: Waiting 23:43:57 765212b225bb: Waiting 23:43:57 04944245beec: Verifying Checksum 23:43:57 04944245beec: Download complete 23:43:57 765212b225bb: Verifying Checksum 23:43:57 765212b225bb: Download complete 23:43:57 f23df028b6ca: Verifying Checksum 23:43:57 f23df028b6ca: Download complete 23:43:57 d65c8cfc05b1: Download complete 23:43:57 699f458cf7ca: Verifying Checksum 23:43:57 699f458cf7ca: Download complete 23:43:57 8998bd30e6a1: Verifying Checksum 23:43:57 8998bd30e6a1: Download complete 23:43:59 2437ff75d9bd: Verifying Checksum 23:43:59 2437ff75d9bd: Download complete 23:44:04 8998bd30e6a1: Pull complete 23:44:04 04944245beec: Pull complete 23:44:06 699f458cf7ca: Pull complete 23:44:06 765212b225bb: Pull complete 23:44:07 f23df028b6ca: Pull complete 23:44:09 d65c8cfc05b1: Pull complete 23:44:36 2437ff75d9bd: Pull complete 23:44:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:36 prd-ubuntu20.04-docker-arm64-4c-16g-25340 does not seem to be running inside a container 23:44:36 $ 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 23:44:41 $ docker top e9ab52ef04f2a66e8e9b642572a687a0c1175470bb11817b132997360446e91b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:41 ---> job-cost.sh 23:44:42 lf-activate-venv: SKIPPING 23:44:42 INFO: No Stack... 23:44:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:44:43 INFO: Archiving Costs [Pipeline] sh 23:44:43 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 23:44:43 + cut -d, -f6 [Pipeline] lock 23:44:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] 23:44:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] did not exist. Created. 23:44:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:44 /w/workspace/device-sdk-go/1@tmp/durable-eed88037/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:44:44 + echo total: 0.2199999988079071 [Pipeline] stash 23:44:44 Warning: overwriting stash ‘stack-cost’ 23:44:44 Stashed 1 file(s) [Pipeline] } 23:44:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1548-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:44 $ docker stop --time=1 e9ab52ef04f2a66e8e9b642572a687a0c1175470bb11817b132997360446e91b 23:44:46 $ docker rm -f --volumes e9ab52ef04f2a66e8e9b642572a687a0c1175470bb11817b132997360446e91b [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 23:44:48 provisioning config files... 23:44:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/config2695388583603882524tmp [Pipeline] { [Pipeline] sh 23:44:48 + set +x 23:44:48 + bash -s -- 23:44:48 + curl -s https://codecov.io/bash 23:44:48 23:44:48 _____ _ 23:44:48 / ____| | | 23:44:48 | | ___ __| | ___ ___ _____ __ 23:44:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:44:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:44:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:44:48 Bash-1.0.6 23:44:48 23:44:48 23:44:48 ==> git version 2.25.1 found 23:44:48 ==> 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 23:44:48 Release-Date: 2020-01-08 23:44:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:44:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:44:48 ==> Jenkins CI detected. 23:44:48 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1548 23:44:48 project root: . 23:44:48 --> token set from env 23:44:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:44:49 ==> Running gcov in . (disable via -X gcov) 23:44:49 ==> Python coveragepy not found 23:44:49 ==> Searching for coverage reports in: 23:44:49 + . 23:44:49 -> Found 1 reports 23:44:49 ==> Detecting git/mercurial file structure 23:44:49 ==> Reading reports 23:44:49 + ./coverage.out bytes=122155 23:44:49 ==> Appending adjustments 23:44:49 https://docs.codecov.io/docs/fixing-reports 23:44:49 + Found adjustments 23:44:49 ==> Gzipping contents 23:44:49 20K /tmp/codecov.BseyCy.gz 23:44:49 ==> Uploading reports 23:44:49 url: https://codecov.io 23:44:49 query: branch=PR-1548&commit=c3ec8dba13955847a6809293528a6225dc344730&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1548%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1548&job=&cmd_args= 23:44:49 -> Pinging Codecov 23:44:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1548&commit=c3ec8dba13955847a6809293528a6225dc344730&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1548%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1548&job=&cmd_args= 23:44:49 -> Uploading to 23:44:49 https://storage.googleapis.com/codecov/v4/raw/2023-12-18/7E55EF52A471D76F132DFD9A03CDDE97/c3ec8dba13955847a6809293528a6225dc344730/fc5a7c25-7eaf-40a1-8084-d740faa68456.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231218T234449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bde7a95fca35bfa7d16374efd514428dcd150264064ab1ae3227e4de3d3379b 23:44:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:44:49 Dload Upload Total Spent Left Speed 23:44:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16755 0 0 100 16755 0 72219 --:--:-- --:--:-- --:--:-- 72219 23:44:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c3ec8dba13955847a6809293528a6225dc344730 [Pipeline] } 23:44:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:44:53 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives ] 23:44:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives 23:44:53 total 16 23:44:53 drwxr-xr-x 3 root root 4096 Dec 18 23:35 . 23:44:53 drwxrwxr-x 12 jenkins jenkins 4096 Dec 18 23:35 .. 23:44:53 drwxr-xr-x 2 root root 4096 Dec 18 23:35 cost 23:44:53 -rw-r--r-- 1 root root 86 Dec 18 23:35 cost.csv 23:44:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives 23:44:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives 23:44:53 total 16 23:44:53 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:35 . 23:44:53 drwxrwxr-x 12 jenkins jenkins 4096 Dec 18 23:35 .. 23:44:53 drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 23:35 cost 23:44:53 -rw-r--r-- 1 jenkins jenkins 86 Dec 18 23:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:44:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:44:54 ---> package-listing.sh 23:44:54 ++ facter osfamily 23:44:54 ++ tr '[:upper:]' '[:lower:]' 23:44:54 + OS_FAMILY=debian 23:44:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1548 23:44:54 + START_PACKAGES=/tmp/packages_start.txt 23:44:54 + END_PACKAGES=/tmp/packages_end.txt 23:44:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:44:54 + PACKAGES=/tmp/packages_start.txt 23:44:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1548 ']' 23:44:54 + PACKAGES=/tmp/packages_end.txt 23:44:54 + case "${OS_FAMILY}" in 23:44:54 + dpkg -l 23:44:54 + grep '^ii' 23:44:54 + '[' -f /tmp/packages_start.txt ']' 23:44:54 + '[' -f /tmp/packages_end.txt ']' 23:44:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:44:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1548 ']' 23:44:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives/ 23:44:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1548/archives/ [Pipeline] echo 23:44:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1548/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:44:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:56 prd-ubuntu20.04-docker-8c-8g-25335 does not seem to be running inside a container 23:44:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1548/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-1548 -v /w/workspace/gexfoundry_device-sdk-go_PR-1548:/w/workspace/gexfoundry_device-sdk-go_PR-1548:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1548@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 23:44:56 $ docker top b73c4b3a54982c2436db4198a757b3b5bf2d531f9916a0dd50e430e0251ef84d -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:56 + touch /tmp/pre-build-complete [Pipeline] sh 23:44:57 + mkdir -p /var/log/sysstat [Pipeline] sh 23:44:57 + ls /var/log/sa-host 23:44:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:57 provisioning config files... 23:44:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1548@tmp/config9802615812319306340tmp [Pipeline] { [Pipeline] echo 23:44:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:44:58 ---> create-netrc.sh [Pipeline] } 23:44:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:44:58 ---> python-tools-install.sh [Pipeline] echo 23:44:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:44:58 ---> sudo-logs.sh 23:44:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:44:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:44:59 ---> job-cost.sh 23:44:59 lf-activate-venv: SKIPPING 23:44:59 DEBUG: total: 0.2199999988079071 23:44:59 INFO: Retrieving Stack Cost... 23:44:59 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:00 INFO: Archiving Costs [Pipeline] echo 23:45:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:00 ---> logs-deploy.sh 23:45:00 lf-activate-venv: SKIPPING 23:45:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1548/1 23:45:00 INFO: archiving workspace using pattern(s): 23:45:01 Archives upload complete. 23:45:01 INFO: archiving logs to Nexus