Pull request #1522 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e355dc9d6b62edc20a730d862a6067ddd7d335f9+8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (87495b73f6f1511081b0aee72f3ba6a52a5ba1a8) 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-ssh16872283674173710672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3111247496673891803.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1522/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-1522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3955295645751609650.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-1522/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14180509745505442642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18250515878799597511.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-1522/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-1522/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4088326610099002358.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-8543’ Running on prd-ubuntu20.04-docker-8c-8g-8545 in /w/workspace/gexfoundry_device-sdk-go_PR-1522 [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-1522 # 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/1522/head:refs/remotes/origin/PR-1522 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit e355dc9d6b62edc20a730d862a6067ddd7d335f9 Merge succeeded, producing e355dc9d6b62edc20a730d862a6067ddd7d335f9 Checking out Revision e355dc9d6b62edc20a730d862a6067ddd7d335f9 (PR-1522) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:53:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:53:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:53:26 ========================================================= 04:53:26 EdgeX Global Pipelines Version Info 04:53:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:53:26 ------------------- 04:53:26 stable info: 04:53:26 ------------------- 04:53:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:53:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:53:26 Message: update stable to v1.0.254 04:53:27 ------------------- 04:53:27 experimental info: 04:53:27 ------------------- 04:53:27 Commited By: **** collab-it+edgex@linuxfoundation.org 04:53:27 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:53:27 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:53:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:53:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:53:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:53:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:53:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1522 [Pipeline] echo 04:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1522 [Pipeline] echo 04:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1522 [Pipeline] echo 04:53:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo 04:53:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e355dc9 [Pipeline] echo 04:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:29 provisioning config files... 04:53:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config8242113292511477548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:29 ---> docker-login.sh 04:53:29 nexus3.edgexfoundry.org:10001 04:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:29 Configure a credential helper to remove this warning. See 04:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:29 04:53:29 Login Succeeded 04:53:30 nexus3.edgexfoundry.org:10002 04:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:30 Configure a credential helper to remove this warning. See 04:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:30 04:53:30 Login Succeeded 04:53:30 nexus3.edgexfoundry.org:10003 04:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:30 Configure a credential helper to remove this warning. See 04:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:30 04:53:30 Login Succeeded 04:53:30 nexus3.edgexfoundry.org:10004 04:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:30 Configure a credential helper to remove this warning. See 04:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:30 04:53:30 Login Succeeded 04:53:30 docker.io 04:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:30 Configure a credential helper to remove this warning. See 04:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:30 04:53:30 Login Succeeded 04:53:30 ---> docker-login.sh ends [Pipeline] } 04:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:53:31 + git rev-list -1 --merges e355dc9d6b62edc20a730d862a6067ddd7d335f9~1..e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo 04:53:31 -----------> git rev-list -1 --merges e355dc9d6b62edc20a730d862a6067ddd7d335f9~1..e355dc9d6b62edc20a730d862a6067ddd7d335f9 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [false] [Pipeline] sh 04:53:31 + git log --format=format:%s -1 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo 04:53:31 ========================================================= 04:53:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:53:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:53:32 + git log --format=format:%s -1 e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] echo 04:53:32 [semverPrep] GIT_COMMIT: e355dc9d6b62edc20a730d862a6067ddd7d335f9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:53:32 [semverPrep] This is not a build commit. [Pipeline] sh 04:53:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:53:32 + grep -v github /etc/ssh/ssh_known_hosts 04:53:32 + [ -e /tmp/ssh_known_hosts ] 04:53:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:53:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:53:32 + sudo tee -a /etc/ssh/ssh_known_hosts 04:53:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:33 04:53:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:33 0.1.4: Pulling from edgex-devops/py-git-semver 04:53:33 b85a868b505f: Pulling fs layer 04:53:33 e2be974225ed: Pulling fs layer 04:53:33 339a4e72a1f5: Pulling fs layer 04:53:33 988bab9f4d93: Pulling fs layer 04:53:33 1469e6f7b9e6: Pulling fs layer 04:53:33 eaf3925da568: Pulling fs layer 04:53:33 bab4dde63d76: Pulling fs layer 04:53:33 bde34c3a00c8: Pulling fs layer 04:53:33 b352a97aabf1: Pulling fs layer 04:53:33 4872d77fe225: Pulling fs layer 04:53:33 5851b861e8e6: Pulling fs layer 04:53:33 bde34c3a00c8: Waiting 04:53:33 4872d77fe225: Waiting 04:53:33 b352a97aabf1: Waiting 04:53:33 5851b861e8e6: Waiting 04:53:33 eaf3925da568: Waiting 04:53:33 988bab9f4d93: Waiting 04:53:33 1469e6f7b9e6: Waiting 04:53:33 bab4dde63d76: Waiting 04:53:33 e2be974225ed: Verifying Checksum 04:53:33 e2be974225ed: Download complete 04:53:33 988bab9f4d93: Verifying Checksum 04:53:33 988bab9f4d93: Download complete 04:53:33 1469e6f7b9e6: Verifying Checksum 04:53:33 1469e6f7b9e6: Download complete 04:53:33 339a4e72a1f5: Verifying Checksum 04:53:33 339a4e72a1f5: Download complete 04:53:33 eaf3925da568: Verifying Checksum 04:53:33 eaf3925da568: Download complete 04:53:33 bde34c3a00c8: Download complete 04:53:33 b352a97aabf1: Download complete 04:53:33 4872d77fe225: Download complete 04:53:33 5851b861e8e6: Verifying Checksum 04:53:33 5851b861e8e6: Download complete 04:53:33 b85a868b505f: Verifying Checksum 04:53:33 b85a868b505f: Download complete 04:53:33 bab4dde63d76: Verifying Checksum 04:53:33 bab4dde63d76: Download complete 04:53:34 b85a868b505f: Pull complete 04:53:35 e2be974225ed: Pull complete 04:53:35 339a4e72a1f5: Pull complete 04:53:35 988bab9f4d93: Pull complete 04:53:35 1469e6f7b9e6: Pull complete 04:53:35 eaf3925da568: Pull complete 04:53:37 bab4dde63d76: Pull complete 04:53:37 bde34c3a00c8: Pull complete 04:53:37 b352a97aabf1: Pull complete 04:53:37 4872d77fe225: Pull complete 04:53:38 5851b861e8e6: Pull complete 04:53:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:53:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:38 prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container 04:53:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:53:41 $ docker top 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 -eo pid,comm 04:53: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). 04:53:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:53:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:41 [ssh-agent] Looking for ssh-agent implementation... 04:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:41 $ docker exec 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent 04:53:41 SSH_AUTH_SOCK=/tmp/ssh-xXG6m8Y6OPzs/agent.33 04:53:41 SSH_AGENT_PID=39 04:53:41 Running ssh-add (command line suppressed) 04:53:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_12277650529670006130.key (/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_12277650529670006130.key) 04:53:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:42 + git tag --points-at HEAD [Pipeline] } 04:53:42 $ docker exec --env ******** --env ******** 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent -k 04:53:42 unset SSH_AUTH_SOCK; 04:53:42 unset SSH_AGENT_PID; 04:53:42 echo Agent pid 39 killed; 04:53:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:53:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:42 [ssh-agent] Looking for ssh-agent implementation... 04:53:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:42 $ docker exec 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent 04:53:42 SSH_AUTH_SOCK=/tmp/ssh-n5Kn9DfD7sEU/agent.72 04:53:42 SSH_AGENT_PID=78 04:53:42 Running ssh-add (command line suppressed) 04:53:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_9708963558301670216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/private_key_9708963558301670216.key) 04:53:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:43 + git semver init 04:53:43 2023-10-05 04:53:43,437 [run_init] DEBUG init version:0.0.0 force:False 04:53:43 2023-10-05 04:53:43,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver 04:53:43 2023-10-05 04:53:43,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver 04:53:43 2023-10-05 04:53:43,439 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522, universal_newlines=False, shell=None, istream=None) 04:53:44 2023-10-05 04:53:44,474 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.git/info/exclude 04:53:44 2023-10-05 04:53:44,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 with force:False 04:53:44 2023-10-05 04:53:44,474 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 04:53:44 2023-10-05 04:53:44,478 [execute] INFO git cat-file --batch-check 04:53:44 2023-10-05 04:53:44,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver, universal_newlines=False, shell=None, istream=) 04:53:44 2023-10-05 04:53:44,483 [execute] INFO git cat-file --batch 04:53:44 2023-10-05 04:53:44,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver, universal_newlines=False, shell=None, istream=) 04:53:44 2023-10-05 04:53:44,489 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1522/.semver/PR-1522 04:53:44 0.0.0 [Pipeline] } 04:53:44 $ docker exec --env ******** --env ******** 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 ssh-agent -k 04:53:45 unset SSH_AUTH_SOCK; 04:53:45 unset SSH_AGENT_PID; 04:53:45 echo Agent pid 78 killed; 04:53:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:53:45 + git semver [Pipeline] } 04:53:45 $ docker stop --time=1 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 04:53:47 $ docker rm -f --volumes 4e080051b1895ab2ffbf5244310317b37773a812c48cc2d3e84a414eb40a3ef8 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:47 Stashed 1 file(s) [Pipeline] echo 04:53:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:48 provisioning config files... 04:53:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config13154194852474912582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:48 ---> docker-login.sh 04:53:48 nexus3.edgexfoundry.org:10001 04:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:48 Configure a credential helper to remove this warning. See 04:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:48 04:53:48 Login Succeeded 04:53:48 nexus3.edgexfoundry.org:10002 04:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:48 Configure a credential helper to remove this warning. See 04:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:48 04:53:48 Login Succeeded 04:53:48 nexus3.edgexfoundry.org:10003 04:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:48 Configure a credential helper to remove this warning. See 04:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:48 04:53:48 Login Succeeded 04:53:48 nexus3.edgexfoundry.org:10004 04:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:48 Configure a credential helper to remove this warning. See 04:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:48 04:53:48 Login Succeeded 04:53:48 docker.io 04:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:49 Configure a credential helper to remove this warning. See 04:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:49 04:53:49 Login Succeeded 04:53:49 ---> docker-login.sh ends [Pipeline] } 04:53:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:49 ========================================================= 04:53:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:53:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:49 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:53:49 Sending build context to Docker daemon 11.23MB 04:53:49 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:53:49 Step 2/10 : FROM ${BASE} AS builder 04:53:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:49 7264a8db6415: Pulling fs layer 04:53:49 c4d48a809fc2: Pulling fs layer 04:53:49 4f1c88b9dad5: Pulling fs layer 04:53:49 ad3a456e5733: Pulling fs layer 04:53:49 33e27b845d1e: Pulling fs layer 04:53:49 c68163c4e522: Pulling fs layer 04:53:49 50da416c3ac9: Pulling fs layer 04:53:49 23d2d4c4bb30: Pulling fs layer 04:53:49 ad3a456e5733: Waiting 04:53:49 33e27b845d1e: Waiting 04:53:49 c68163c4e522: Waiting 04:53:49 23d2d4c4bb30: Waiting 04:53:49 50da416c3ac9: Waiting 04:53:49 c4d48a809fc2: Download complete 04:53:49 ad3a456e5733: Verifying Checksum 04:53:49 ad3a456e5733: Download complete 04:53:50 33e27b845d1e: Verifying Checksum 04:53:50 33e27b845d1e: Download complete 04:53:50 7264a8db6415: Verifying Checksum 04:53:50 7264a8db6415: Download complete 04:53:50 c68163c4e522: Verifying Checksum 04:53:50 c68163c4e522: Download complete 04:53:50 7264a8db6415: Pull complete 04:53:50 c4d48a809fc2: Pull complete 04:53:50 23d2d4c4bb30: Verifying Checksum 04:53:50 23d2d4c4bb30: Download complete 04:53:50 4f1c88b9dad5: Verifying Checksum 04:53:50 4f1c88b9dad5: Download complete 04:53:51 50da416c3ac9: Verifying Checksum 04:53:51 50da416c3ac9: Download complete 04:53:53 4f1c88b9dad5: Pull complete 04:53:53 ad3a456e5733: Pull complete 04:53:53 33e27b845d1e: Pull complete 04:53:53 c68163c4e522: Pull complete 04:53:56 50da416c3ac9: Pull complete 04:53:56 23d2d4c4bb30: Pull complete 04:53:56 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:53:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:53:56 ---> 0786185ac409 04:53:56 Step 3/10 : ARG MAKE=make build 04:54:01 ---> Running in cbbead756009 04:54:01 Removing intermediate container cbbead756009 04:54:01 ---> 34c038a8bd49 04:54:01 Step 4/10 : WORKDIR /device-sdk-go 04:54:01 ---> Running in 051f871e4db1 04:54:01 Removing intermediate container 051f871e4db1 04:54:01 ---> 371a74810589 04:54:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:01 ---> Running in d39e44d81482 04:54:01 Removing intermediate container d39e44d81482 04:54:01 ---> 9f096952003e 04:54:01 Step 6/10 : RUN apk add --update --no-cache make git 04:54:01 ---> Running in 136b48c18c7a 04:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:54:01 OK: 264 MiB in 52 packages 04:54:02 Removing intermediate container 136b48c18c7a 04:54:02 ---> d3474f0845ae 04:54:02 Step 7/10 : COPY go.mod vendor* ./ 04:54:02 ---> f29faf6518d2 04:54:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:02 ---> Running in d5fce7975d84 04:54:03 Still waiting to schedule task 04:54:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8544’ 04:54:41 Removing intermediate container d5fce7975d84 04:54:41 ---> 7b945ff70300 04:54:41 Step 9/10 : COPY . . 04:54:41 ---> 7dec2cd9569b 04:54:41 Step 10/10 : RUN ${MAKE} 04:54:41 ---> Running in 529b7482e8a9 04:54:41 noop 04:54:41 Removing intermediate container 529b7482e8a9 04:54:41 ---> 1d300a829f2f 04:54:41 Successfully built 1d300a829f2f 04:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:41 + docker inspect -f . ci-base-image-x86_64 04:54:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:41 prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container 04:54:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:42 $ docker top 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:42 + go version 04:54:42 go version go1.21.0 linux/amd64 [Pipeline] } 04:54:42 $ docker stop --time=1 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 04:54:43 $ docker rm -f --volumes 09a8238cfd07ce45c6240359dab7b01ad00109cd53a06de8b75f94ae391de9b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:44 + docker inspect -f . ci-base-image-x86_64 04:54:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:44 prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container 04:54:44 $ 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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:44 $ docker top 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1522 [Pipeline] fileExists [Pipeline] sh 04:54:45 + make test 04:54:45 go test -race -coverprofile=coverage.out ./... 04:54:52 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:55:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.045s coverage: 27.6% of statements 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:55:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements 04:55:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements 04:55:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements 04:55:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:55:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:55:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.047s coverage: 14.4% of statements 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.858s coverage: 45.9% of statements 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements 04:55:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements 04:55:33 GO111MODULE=on go vet ./... 04:55:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:35 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:35 $ docker stop --time=1 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 04:55:38 $ docker rm -f --volumes 37748545503ad7ec6e9b8813f90ef58e6ce1f2bc057c14a15765650f0c4c6845 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:40 + ls -al . 04:55:40 total 304 04:55:40 drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 04:54 . 04:55:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:53 .. 04:55:40 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:53 .dockerignore 04:55:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:55 .git 04:55:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:53 .github 04:55:40 -rw-rw-r-- 1 jenkins jenkins 137 Oct 5 04:53 .gitignore 04:55:40 -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:53 .golangci.yml 04:55:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:53 .semver 04:55:40 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 5 04:53 CHANGELOG.md 04:55:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:53 GOVERNANCE.md 04:55:40 -rw-rw-r-- 1 jenkins jenkins 885 Oct 5 04:53 Jenkinsfile 04:55:40 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:53 LICENSE 04:55:40 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 5 04:53 Makefile 04:55:40 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:53 OWNERS.md 04:55:40 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 5 04:53 README.md 04:55:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:53 VERSION 04:55:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:53 bin 04:55:40 -rw-r--r-- 1 jenkins jenkins 122153 Oct 5 04:55 coverage.out 04:55:40 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:53 example 04:55:40 -rw-rw-r-- 1 jenkins jenkins 3723 Oct 5 04:53 go.mod 04:55:40 -rw-rw-r-- 1 jenkins jenkins 34808 Oct 5 04:53 go.sum 04:55:40 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:53 internal 04:55:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:53 openapi 04:55:40 drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:53 pkg 04:55:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:53 snap 04:55:40 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:40 + 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=e355dc9d6b62edc20a730d862a6067ddd7d335f9 --label arch=amd64 --label version=0.0.0 . 04:55:40 Sending build context to Docker daemon 11.35MB 04:55:40 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:55:40 Step 2/23 : FROM ${BASE} AS builder 04:55:40 ---> 1d300a829f2f 04:55:40 Step 3/23 : ARG MAKE=make build 04:55:41 ---> Running in a1f70ddba654 04:55:41 Removing intermediate container a1f70ddba654 04:55:41 ---> df6e7be8b994 04:55:41 Step 4/23 : WORKDIR /device-sdk-go 04:55:41 ---> Running in 0f7785a2f7f9 04:55:41 Removing intermediate container 0f7785a2f7f9 04:55:41 ---> 8cdd0a3db093 04:55:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:41 ---> Running in 670a8e8d6d47 04:55:41 Removing intermediate container 670a8e8d6d47 04:55:41 ---> ddf65a298d51 04:55:41 Step 6/23 : RUN apk add --update --no-cache make git 04:55:41 ---> Running in 5ee976c7013c 04:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:55:41 OK: 264 MiB in 52 packages 04:55:42 Removing intermediate container 5ee976c7013c 04:55:42 ---> 50f454e2f9b8 04:55:42 Step 7/23 : COPY go.mod vendor* ./ 04:55:42 ---> 1c15fa5127f5 04:55:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:42 ---> Running in 95d7d164eaa4 04:55:43 Removing intermediate container 95d7d164eaa4 04:55:43 ---> 12ec40a32f4e 04:55:43 Step 9/23 : COPY . . 04:55:43 ---> ca739342d6da 04:55:43 Step 10/23 : RUN ${MAKE} 04:55:43 ---> Running in 5122926b56fc 04:55:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:56:05 Removing intermediate container 5122926b56fc 04:56:05 ---> 25f8e408259f 04:56:05 Step 11/23 : FROM alpine:3.18 04:56:05 3.18: Pulling from library/alpine 04:56:05 96526aa774ef: Pulling fs layer 04:56:05 96526aa774ef: Verifying Checksum 04:56:05 96526aa774ef: Download complete 04:56:05 96526aa774ef: Pull complete 04:56:05 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:56:05 Status: Downloaded newer image for alpine:3.18 04:56:05 ---> 8ca4688f4f35 04:56:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:56:05 ---> Running in ef0bb7080412 04:56:05 Removing intermediate container ef0bb7080412 04:56:05 ---> 1345a224483e 04:56:05 Step 13/23 : RUN apk add --update --no-cache 04:56:05 ---> Running in b023c322f8c8 04:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:05 OK: 7 MiB in 15 packages 04:56:05 Removing intermediate container b023c322f8c8 04:56:05 ---> 53fc86754b16 04:56:05 Step 14/23 : WORKDIR / 04:56:05 ---> Running in 0e5a4fcad499 04:56:05 Removing intermediate container 0e5a4fcad499 04:56:05 ---> 27dbdac6031c 04:56:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:56:05 ---> 27d5f5e81da4 04:56:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:56:05 ---> 2a146af017c5 04:56:05 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:56:06 ---> becf2e3de93b 04:56:06 Step 18/23 : EXPOSE 59999 04:56:06 ---> Running in 493fa59f6805 04:56:06 Removing intermediate container 493fa59f6805 04:56:06 ---> ec66987b6564 04:56:06 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:56:06 ---> Running in 8e3403e8c613 04:56:06 Removing intermediate container 8e3403e8c613 04:56:06 ---> 58bebe38f69e 04:56:06 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:06 ---> Running in 6dfbc5747bf1 04:56:06 Removing intermediate container 6dfbc5747bf1 04:56:06 ---> 8172afddc054 04:56:06 Step 21/23 : LABEL arch=amd64 04:56:06 ---> Running in 94d2b46f4bbb 04:56:06 Removing intermediate container 94d2b46f4bbb 04:56:06 ---> 5851872f8633 04:56:06 Step 22/23 : LABEL git_sha=e355dc9d6b62edc20a730d862a6067ddd7d335f9 04:56:06 ---> Running in 66ce7a83fb5b 04:56:06 Removing intermediate container 66ce7a83fb5b 04:56:06 ---> 618929948691 04:56:06 Step 23/23 : LABEL version=0.0.0 04:56:06 ---> Running in b531d811990f 04:56:06 Removing intermediate container b531d811990f 04:56:06 ---> e089f6942b2f 04:56:06 [Warning] One or more build-args [ARCH] were not consumed 04:56:06 Successfully built e089f6942b2f 04:56:06 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:07 04:56:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:08 latest: Pulling from edgex-lftools-log-publisher 04:56:08 5eb5b503b376: Pulling fs layer 04:56:08 5c69ac0246d0: Pulling fs layer 04:56:08 ec43610c2a17: Pulling fs layer 04:56:08 3a2ae6a8a46f: Pulling fs layer 04:56:08 33b1e0a273af: Pulling fs layer 04:56:08 5d3b04190fa2: Pulling fs layer 04:56:08 2f39f015ded8: Pulling fs layer 04:56:08 3a2ae6a8a46f: Waiting 04:56:08 33b1e0a273af: Waiting 04:56:08 5d3b04190fa2: Waiting 04:56:08 2f39f015ded8: Waiting 04:56:08 5c69ac0246d0: Download complete 04:56:08 3a2ae6a8a46f: Verifying Checksum 04:56:08 3a2ae6a8a46f: Download complete 04:56:08 33b1e0a273af: Verifying Checksum 04:56:08 33b1e0a273af: Download complete 04:56:08 5d3b04190fa2: Download complete 04:56:08 ec43610c2a17: Verifying Checksum 04:56:08 ec43610c2a17: Download complete 04:56:08 5eb5b503b376: Verifying Checksum 04:56:08 5eb5b503b376: Download complete 04:56:09 2f39f015ded8: Download complete 04:56:09 5eb5b503b376: Pull complete 04:56:09 5c69ac0246d0: Pull complete 04:56:10 ec43610c2a17: Pull complete 04:56:10 3a2ae6a8a46f: Pull complete 04:56:11 33b1e0a273af: Pull complete 04:56:11 5d3b04190fa2: Pull complete 04:56:15 2f39f015ded8: Pull complete 04:56:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:15 prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container 04:56:15 $ 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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:56:20 $ docker top 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:20 ---> job-cost.sh 04:56:20 lf-activate-venv: SKIPPING 04:56:20 INFO: No Stack... 04:56:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:56:21 INFO: Archiving Costs [Pipeline] sh 04:56:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/cost.csv 04:56:21 + cut -d, -f6 [Pipeline] lock 04:56:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] 04:56:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] did not exist. Created. 04:56:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:56:21 Stashed 1 file(s) [Pipeline] } 04:56:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:21 $ docker stop --time=1 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 04:56:23 $ docker rm -f --volumes 773ce99e50c355202c646df3235eec544a9633f36fe87a6d03e186982a852b20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:57:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8546 in /w/workspace/gexfoundry_device-sdk-go_PR-1522 [Pipeline] { [Pipeline] ws 04:57:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:57:27 The recommended git tool is: git 04:57:31 using credential edgex-jenkins-ssh 04:57:31 Cloning the remote Git repository 04:57:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:57:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:57:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:57:32 > git --version # timeout=10 04:57:32 > git --version # 'git version 2.25.1' 04:57:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:57:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:35 Merging remotes/origin/main commit 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 into PR head commit e355dc9d6b62edc20a730d862a6067ddd7d335f9 04:57:35 Merge succeeded, producing e355dc9d6b62edc20a730d862a6067ddd7d335f9 04:57:35 Checking out Revision e355dc9d6b62edc20a730d862a6067ddd7d335f9 (PR-1522) 04:57:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:57:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:57:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1522/head:refs/remotes/origin/PR-1522 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:57:35 > git config core.sparsecheckout # timeout=10 04:57:35 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 04:57:35 > git remote # timeout=10 04:57:35 > git config --get remote.origin.url # timeout=10 04:57:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:35 > git merge 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 04:57:35 > git rev-parse HEAD^{commit} # timeout=10 04:57:35 > git config core.sparsecheckout # timeout=10 04:57:35 > git checkout -f e355dc9d6b62edc20a730d862a6067ddd7d335f9 # timeout=10 04:57:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:57:36 > git --version # timeout=10 04:57:36 > git --version # 'git version 2.25.1' 04:57:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:57:37 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:37 Dload Upload Total Spent Left Speed 04:57:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 04:57:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:57:38 + sudo tee /etc/docker/daemon.new 04:57:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:57:38 { 04:57:38 "registry-mirrors": [ 04:57:38 "https://nexus3.edgexfoundry.org:10001" 04:57:38 ], 04:57:38 "bip": "10.250.0.254/24", 04:57:38 "hosts": [ 04:57:38 "tcp://0.0.0.0:5555", 04:57:38 "unix:///var/run/docker.sock" 04:57:38 ], 04:57:38 "mtu": 1458, 04:57:38 "selinux-enabled": true, 04:57:38 "seccomp-profile": "/etc/docker/seccomp.json" 04:57:38 } [Pipeline] sh 04:57:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:57:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:01 provisioning config files... 04:58:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14245282133378530695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:01 ---> docker-login.sh 04:58:01 nexus3.edgexfoundry.org:10001 04:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:02 Configure a credential helper to remove this warning. See 04:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:02 04:58:02 Login Succeeded 04:58:02 nexus3.edgexfoundry.org:10002 04:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:02 Configure a credential helper to remove this warning. See 04:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:02 04:58:02 Login Succeeded 04:58:02 nexus3.edgexfoundry.org:10003 04:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:03 Configure a credential helper to remove this warning. See 04:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:03 04:58:03 Login Succeeded 04:58:03 nexus3.edgexfoundry.org:10004 04:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:03 Configure a credential helper to remove this warning. See 04:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:03 04:58:03 Login Succeeded 04:58:03 docker.io 04:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:03 Configure a credential helper to remove this warning. See 04:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:03 04:58:03 Login Succeeded 04:58:03 ---> docker-login.sh ends [Pipeline] } 04:58:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:58:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:58:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:58:04 ========================================================= 04:58:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:58:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:04 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:58:05 Sending build context to Docker daemon 6.006MB 04:58:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:58:05 Step 2/10 : FROM ${BASE} AS builder 04:58:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:58:07 9fda8d8052c6: Pulling fs layer 04:58:07 5d54e960e981: Pulling fs layer 04:58:07 c4a7e357bf2a: Pulling fs layer 04:58:07 f0e02332f6b5: Pulling fs layer 04:58:07 cefa15bbcfad: Pulling fs layer 04:58:07 17808c966233: Pulling fs layer 04:58:07 f4c1fc716caa: Pulling fs layer 04:58:07 cefa15bbcfad: Waiting 04:58:07 17808c966233: Waiting 04:58:07 f4c1fc716caa: Waiting 04:58:07 f0e02332f6b5: Waiting 04:58:07 5d54e960e981: Verifying Checksum 04:58:07 5d54e960e981: Download complete 04:58:07 f0e02332f6b5: Verifying Checksum 04:58:07 f0e02332f6b5: Download complete 04:58:07 cefa15bbcfad: Verifying Checksum 04:58:07 cefa15bbcfad: Download complete 04:58:07 9fda8d8052c6: Download complete 04:58:07 f4c1fc716caa: Verifying Checksum 04:58:07 f4c1fc716caa: Download complete 04:58:08 9fda8d8052c6: Pull complete 04:58:08 5d54e960e981: Pull complete 04:58:09 c4a7e357bf2a: Verifying Checksum 04:58:09 c4a7e357bf2a: Download complete 04:58:10 17808c966233: Verifying Checksum 04:58:10 17808c966233: Download complete 04:58:22 c4a7e357bf2a: Pull complete 04:58:22 f0e02332f6b5: Pull complete 04:58:22 cefa15bbcfad: Pull complete 04:58:28 17808c966233: Pull complete 04:58:29 f4c1fc716caa: Pull complete 04:58:29 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:58:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:58:29 ---> ea914061e18c 04:58:29 Step 3/10 : ARG MAKE=make build 04:58:30 ---> Running in 71cba8fa5352 04:58:30 Removing intermediate container 71cba8fa5352 04:58:30 ---> f7866eb44f93 04:58:30 Step 4/10 : WORKDIR /device-sdk-go 04:58:30 ---> Running in 64479f4ddcf8 04:58:31 Removing intermediate container 64479f4ddcf8 04:58:31 ---> 252186ce8fc3 04:58:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:58:31 ---> Running in f5219da1af90 04:58:31 Removing intermediate container f5219da1af90 04:58:31 ---> 1428bfe87d0f 04:58:31 Step 6/10 : RUN apk add --update --no-cache make git 04:58:31 ---> Running in 281213d94c93 04:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:58:34 OK: 266 MiB in 52 packages 04:58:36 Removing intermediate container 281213d94c93 04:58:36 ---> 450e6ab2f3b0 04:58:36 Step 7/10 : COPY go.mod vendor* ./ 04:58:36 ---> 0ba643c3ffd3 04:58:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:36 ---> Running in 15a9284e847c 04:59:44 Removing intermediate container 15a9284e847c 04:59:44 ---> 390e7292ad76 04:59:44 Step 9/10 : COPY . . 04:59:44 ---> 2d0351da38bd 04:59:44 Step 10/10 : RUN ${MAKE} 04:59:44 ---> Running in 49b92e4fa2fd 04:59:44 noop 04:59:44 Removing intermediate container 49b92e4fa2fd 04:59:44 ---> a32f23ca533d 04:59:44 Successfully built a32f23ca533d 04:59:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:44 + docker inspect -f . ci-base-image-arm64 04:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:44 prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container 04:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:46 $ docker top da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:47 + go version 04:59:47 go version go1.21.0 linux/arm64 [Pipeline] } 04:59:47 $ docker stop --time=1 da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 04:59:48 $ docker rm -f --volumes da3759f6f66aa6bbada436e5a059298f5aadd9fbd703be106cf8771e3f927653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:49 + docker inspect -f . ci-base-image-arm64 04:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:49 prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container 04:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:50 $ docker top ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:51 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:59:51 + make test 04:59:51 go test -race -coverprofile=coverage.out ./... 05:00:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:02:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:02:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:02:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:02:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:02:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:02:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.255s coverage: 27.6% of statements 05:02:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.266s coverage: 81.5% of statements 05:02:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:02:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:02:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.483s coverage: 86.0% of statements 05:02:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:02:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.549s coverage: 71.8% of statements 05:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:02:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.295s coverage: 14.4% of statements 05:02:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.847s coverage: 45.6% of statements 05:02:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.480s coverage: 68.5% of statements 05:02:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.442s coverage: 89.2% of statements 05:02:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.226s coverage: 5.5% of statements 05:02:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:02:37 GO111MODULE=on go vet ./... 05:04:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:28 ./bin/test-attribution-txt.sh [Pipeline] echo 05:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:28 $ docker stop --time=1 ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 05:04:30 $ docker rm -f --volumes ee08e53fc292b3310c8e0fb68f5464d86984f6593f31bc8d9d727d25814c7943 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:32 Warning: overwriting stash ‘coverage-report’ 05:04:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:33 + ls -al . 05:04:33 total 300 05:04:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 04:59 . 05:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:57 .. 05:04:33 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:57 .dockerignore 05:04:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:57 .git 05:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:57 .github 05:04:33 -rw-rw-r-- 1 jenkins jenkins 137 Oct 5 04:57 .gitignore 05:04:33 -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:57 .golangci.yml 05:04:33 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 5 04:57 CHANGELOG.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:57 GOVERNANCE.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 885 Oct 5 04:57 Jenkinsfile 05:04:33 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:57 LICENSE 05:04:33 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 5 04:57 Makefile 05:04:33 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:57 OWNERS.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 5 04:57 README.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:53 VERSION 05:04:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:57 bin 05:04:33 -rw-r--r-- 1 jenkins jenkins 122151 Oct 5 05:02 coverage.out 05:04:33 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:57 example 05:04:33 -rw-rw-r-- 1 jenkins jenkins 3723 Oct 5 04:57 go.mod 05:04:33 -rw-rw-r-- 1 jenkins jenkins 34808 Oct 5 04:57 go.sum 05:04:33 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:57 internal 05:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:57 openapi 05:04:33 drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:57 pkg 05:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:57 snap 05:04:33 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:34 + 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=e355dc9d6b62edc20a730d862a6067ddd7d335f9 --label arch=arm64 --label version=0.0.0 . 05:04:34 Sending build context to Docker daemon 6.129MB 05:04:34 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:04:34 Step 2/23 : FROM ${BASE} AS builder 05:04:34 ---> a32f23ca533d 05:04:34 Step 3/23 : ARG MAKE=make build 05:04:34 ---> Running in f2ba098455a3 05:04:35 Removing intermediate container f2ba098455a3 05:04:35 ---> 7cbf22e16887 05:04:35 Step 4/23 : WORKDIR /device-sdk-go 05:04:35 ---> Running in 3bb1e2bb506e 05:04:35 Removing intermediate container 3bb1e2bb506e 05:04:35 ---> 070626a8a353 05:04:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:35 ---> Running in f5cf11e86b4c 05:04:35 Removing intermediate container f5cf11e86b4c 05:04:35 ---> 158a841a6250 05:04:35 Step 6/23 : RUN apk add --update --no-cache make git 05:04:35 ---> Running in 82b2ecd7e9b0 05:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:04:38 OK: 266 MiB in 52 packages 05:04:39 Removing intermediate container 82b2ecd7e9b0 05:04:39 ---> 9aeb1acd9dcc 05:04:39 Step 7/23 : COPY go.mod vendor* ./ 05:04:39 ---> 079d1895d5ec 05:04:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:39 ---> Running in 7564c87d7836 05:04:41 Removing intermediate container 7564c87d7836 05:04:41 ---> b1c5716c42b4 05:04:41 Step 9/23 : COPY . . 05:04:42 ---> c776ae7d85a4 05:04:42 Step 10/23 : RUN ${MAKE} 05:04:42 ---> Running in fa56c2a0a793 05:04:43 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 05:06:35 Removing intermediate container fa56c2a0a793 05:06:35 ---> 5fa6e02817c7 05:06:35 Step 11/23 : FROM alpine:3.18 05:06:35 3.18: Pulling from library/alpine 05:06:35 579b34f0a95b: Pulling fs layer 05:06:35 579b34f0a95b: Verifying Checksum 05:06:35 579b34f0a95b: Download complete 05:06:35 579b34f0a95b: Pull complete 05:06:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:06:35 Status: Downloaded newer image for alpine:3.18 05:06:35 ---> 3cc203321400 05:06:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:06:35 ---> Running in 27e2e228b847 05:06:35 Removing intermediate container 27e2e228b847 05:06:35 ---> 7258016fb04b 05:06:35 Step 13/23 : RUN apk add --update --no-cache 05:06:35 ---> Running in 041752b715cb 05:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:06:35 OK: 8 MiB in 15 packages 05:06:35 Removing intermediate container 041752b715cb 05:06:35 ---> 31f45ee59503 05:06:35 Step 14/23 : WORKDIR / 05:06:35 ---> Running in 7fe5b563a060 05:06:35 Removing intermediate container 7fe5b563a060 05:06:35 ---> fb8cefe4358f 05:06:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:06:35 ---> 55bed917c964 05:06:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:06:35 ---> a5d9ceea19af 05:06:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:06:35 ---> 74053ce9c1c2 05:06:35 Step 18/23 : EXPOSE 59999 05:06:35 ---> Running in a88524f9831a 05:06:35 Removing intermediate container a88524f9831a 05:06:35 ---> b1f3bd8f5cc8 05:06:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:06:35 ---> Running in afd13c69188a 05:06:35 Removing intermediate container afd13c69188a 05:06:35 ---> 510c963c1128 05:06:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:06:35 ---> Running in bc71195dfdd8 05:06:35 Removing intermediate container bc71195dfdd8 05:06:35 ---> b42d719a4825 05:06:35 Step 21/23 : LABEL arch=arm64 05:06:35 ---> Running in 5759b00c52da 05:06:35 Removing intermediate container 5759b00c52da 05:06:35 ---> ab6dc5a16844 05:06:35 Step 22/23 : LABEL git_sha=e355dc9d6b62edc20a730d862a6067ddd7d335f9 05:06:35 ---> Running in fc9a1f1f0e80 05:06:35 Removing intermediate container fc9a1f1f0e80 05:06:35 ---> 641f1e4c2beb 05:06:35 Step 23/23 : LABEL version=0.0.0 05:06:35 ---> Running in 7645e100f86a 05:06:35 Removing intermediate container 7645e100f86a 05:06:35 ---> 7cabb1967058 05:06:35 [Warning] One or more build-args [ARCH] were not consumed 05:06:35 Successfully built 7cabb1967058 05:06:35 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:36 05:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:36 arm64: Pulling from edgex-lftools-log-publisher 05:06:36 8998bd30e6a1: Pulling fs layer 05:06:36 04944245beec: Pulling fs layer 05:06:36 699f458cf7ca: Pulling fs layer 05:06:36 765212b225bb: Pulling fs layer 05:06:36 f23df028b6ca: Pulling fs layer 05:06:36 d65c8cfc05b1: Pulling fs layer 05:06:36 2437ff75d9bd: Pulling fs layer 05:06:36 765212b225bb: Waiting 05:06:36 f23df028b6ca: Waiting 05:06:36 d65c8cfc05b1: Waiting 05:06:36 2437ff75d9bd: Waiting 05:06:36 04944245beec: Verifying Checksum 05:06:36 04944245beec: Download complete 05:06:36 765212b225bb: Verifying Checksum 05:06:36 765212b225bb: Download complete 05:06:36 f23df028b6ca: Verifying Checksum 05:06:36 f23df028b6ca: Download complete 05:06:36 d65c8cfc05b1: Verifying Checksum 05:06:36 d65c8cfc05b1: Download complete 05:06:36 699f458cf7ca: Verifying Checksum 05:06:36 699f458cf7ca: Download complete 05:06:37 8998bd30e6a1: Verifying Checksum 05:06:37 8998bd30e6a1: Download complete 05:06:39 2437ff75d9bd: Verifying Checksum 05:06:39 2437ff75d9bd: Download complete 05:06:41 8998bd30e6a1: Pull complete 05:06:41 04944245beec: Pull complete 05:06:43 699f458cf7ca: Pull complete 05:06:43 765212b225bb: Pull complete 05:06:43 f23df028b6ca: Pull complete 05:06:44 d65c8cfc05b1: Pull complete 05:06:59 2437ff75d9bd: Pull complete 05:06:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:06:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:59 prd-ubuntu20.04-docker-arm64-4c-16g-8546 does not seem to be running inside a container 05:06:59 $ 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 05:07:02 $ docker top e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:03 ---> job-cost.sh 05:07:03 lf-activate-venv: SKIPPING 05:07:03 INFO: No Stack... 05:07:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:07:04 INFO: Archiving Costs [Pipeline] sh 05:07:04 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:07:04 + cut -d, -f6 [Pipeline] lock 05:07:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] 05:07:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] did not exist. Created. 05:07:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:05 /w/workspace/device-sdk-go/1@tmp/durable-5c1e6901/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:07:05 + echo total: 0.10999999940395355 [Pipeline] stash 05:07:05 Warning: overwriting stash ‘stack-cost’ 05:07:06 Stashed 1 file(s) [Pipeline] } 05:07:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1522-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:06 $ docker stop --time=1 e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a 05:07:07 $ docker rm -f --volumes e5054c41e84c9c4a4cbaac1005cb1d86573f9677e1c6e8e94816d75cd8fa938a [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 05:07:08 provisioning config files... 05:07:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config5317929438565285405tmp [Pipeline] { [Pipeline] sh 05:07:09 + set +x 05:07:09 + + bash -s -- 05:07:09 curl -s https://codecov.io/bash 05:07:09 05:07:09 _____ _ 05:07:09 / ____| | | 05:07:09 | | ___ __| | ___ ___ _____ __ 05:07:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:07:09 | |___| (_) | (_| | __/ (_| (_) \ V / 05:07:09 \_____\___/ \__,_|\___|\___\___/ \_/ 05:07:09 Bash-1.0.6 05:07:09 05:07:09 05:07:09 ==> git version 2.25.1 found 05:07:09 ==> 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 05:07:09 Release-Date: 2020-01-08 05:07:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:07:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:07:09 ==> Jenkins CI detected. 05:07:09 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1522 05:07:09 project root: . 05:07:09 --> token set from env 05:07:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:07:09 ==> Running gcov in . (disable via -X gcov) 05:07:09 ==> Python coveragepy not found 05:07:09 ==> Searching for coverage reports in: 05:07:09 + . 05:07:09 -> Found 1 reports 05:07:09 ==> Detecting git/mercurial file structure 05:07:09 ==> Reading reports 05:07:09 + ./coverage.out bytes=122151 05:07:09 ==> Appending adjustments 05:07:09 https://docs.codecov.io/docs/fixing-reports 05:07:09 + Found adjustments 05:07:09 ==> Gzipping contents 05:07:09 20K /tmp/codecov.r9sd9P.gz 05:07:09 ==> Uploading reports 05:07:09 url: https://codecov.io 05:07:09 query: branch=PR-1522&commit=e355dc9d6b62edc20a730d862a6067ddd7d335f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1522&job=&cmd_args= 05:07:09 -> Pinging Codecov 05:07:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1522&commit=e355dc9d6b62edc20a730d862a6067ddd7d335f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1522%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1522&job=&cmd_args= 05:07:09 -> Uploading to 05:07:09 https://storage.googleapis.com/codecov/v4/raw/2023-10-05/7E55EF52A471D76F132DFD9A03CDDE97/e355dc9d6b62edc20a730d862a6067ddd7d335f9/c4c6945e-b6f5-4972-8d7d-e83e0d4376b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231005T050709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58006073299467cc5c8e903dc7f74db325bcd7be11905224d16171c0ea18fd88 05:07:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:09 Dload Upload Total Spent Left Speed 05:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16754 0 0 100 16754 0 64937 --:--:-- --:--:-- --:--:-- 64937 05:07:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e355dc9d6b62edc20a730d862a6067ddd7d335f9 [Pipeline] } 05:07:10 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 05:07:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives ] 05:07:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives 05:07:11 total 16 05:07:11 drwxr-xr-x 3 root root 4096 Oct 5 04:56 . 05:07:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:56 .. 05:07:11 drwxr-xr-x 2 root root 4096 Oct 5 04:56 cost 05:07:11 -rw-r--r-- 1 root root 86 Oct 5 04:56 cost.csv 05:07:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives 05:07:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives 05:07:11 total 16 05:07:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:56 . 05:07:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:56 .. 05:07:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 04:56 cost 05:07:11 -rw-r--r-- 1 jenkins jenkins 86 Oct 5 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:07:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:07:13 ---> package-listing.sh 05:07:13 ++ facter osfamily 05:07:13 ++ tr '[:upper:]' '[:lower:]' 05:07:13 + OS_FAMILY=debian 05:07:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1522 05:07:13 + START_PACKAGES=/tmp/packages_start.txt 05:07:13 + END_PACKAGES=/tmp/packages_end.txt 05:07:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:07:13 + PACKAGES=/tmp/packages_start.txt 05:07:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1522 ']' 05:07:13 + PACKAGES=/tmp/packages_end.txt 05:07:13 + case "${OS_FAMILY}" in 05:07:13 + dpkg -l 05:07:13 + grep '^ii' 05:07:13 + '[' -f /tmp/packages_start.txt ']' 05:07:13 + '[' -f /tmp/packages_end.txt ']' 05:07:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:07:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1522 ']' 05:07:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/ 05:07:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1522/archives/ [Pipeline] echo 05:07:13 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-1522/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:07:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:14 prd-ubuntu20.04-docker-8c-8g-8545 does not seem to be running inside a container 05:07:14 $ 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-1522/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-1522 -v /w/workspace/gexfoundry_device-sdk-go_PR-1522:/w/workspace/gexfoundry_device-sdk-go_PR-1522:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1522@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 05:07:14 $ docker top 16d9ee91af854156dd085580fb15058f94485490e53d3a299e6dc2d9c97da627 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:07:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:07:15 + ls /var/log/sa-host 05:07:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:15 provisioning config files... 05:07:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1522@tmp/config2172394089298020788tmp [Pipeline] { [Pipeline] echo 05:07:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:07:16 ---> create-netrc.sh [Pipeline] } 05:07:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:07:16 ---> python-tools-install.sh [Pipeline] echo 05:07:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:07:16 ---> sudo-logs.sh 05:07:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:07:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:07:17 ---> job-cost.sh 05:07:17 lf-activate-venv: SKIPPING 05:07:17 DEBUG: total: 0.2199999988079071 05:07:17 INFO: Retrieving Stack Cost... 05:07:23 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:23 INFO: Archiving Costs [Pipeline] echo 05:07:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:07:24 ---> logs-deploy.sh 05:07:24 lf-activate-venv: SKIPPING 05:07:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1522/1 05:07:24 INFO: archiving workspace using pattern(s): 05:07:25 Archives upload complete. 05:07:25 INFO: archiving logs to Nexus