Pull request #1473 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7267fd86e49b51741855a8cc4948ac0fe2320b28+2d1a40f8b95de1d6d37730263f65300101497f92 (db60c725875061892fd8d16e98aff93fcb92f1a6) 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-ssh4989959019599174467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2646976644823254231.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1473/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-1473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12263075235045591855.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-1473/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5575144692697928828.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh3839158124009675669.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-1473/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-1473/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1387835379309048806.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-772 in /w/workspace/gexfoundry_device-sdk-go_PR-1473 [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-1473 # 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 Merging remotes/origin/main commit 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit 7267fd86e49b51741855a8cc4948ac0fe2320b28 Merge succeeded, producing 7267fd86e49b51741855a8cc4948ac0fe2320b28 Checking out Revision 7267fd86e49b51741855a8cc4948ac0fe2320b28 (PR-1473) > 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/1473/head:refs/remotes/origin/PR-1473 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # 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 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 Commit message: "build: Update to latest go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:05 ========================================================= 20:41:05 EdgeX Global Pipelines Version Info 20:41:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:41:06 ------------------- 20:41:06 stable info: 20:41:06 ------------------- 20:41:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:41:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:41:06 Message: update stable to v1.0.250 20:41:07 ------------------- 20:41:07 experimental info: 20:41:07 ------------------- 20:41:07 Commited By: **** collab-it+edgex@linuxfoundation.org 20:41:07 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:41:07 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:41:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1473 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1473 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1473 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7267fd8 [Pipeline] echo 20:41:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:08 provisioning config files... 20:41:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config10317784231240217872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:09 ---> docker-login.sh 20:41:09 nexus3.edgexfoundry.org:10001 20:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:09 Configure a credential helper to remove this warning. See 20:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:09 20:41:09 Login Succeeded 20:41:09 nexus3.edgexfoundry.org:10002 20:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:09 Configure a credential helper to remove this warning. See 20:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:09 20:41:09 Login Succeeded 20:41:09 nexus3.edgexfoundry.org:10003 20:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:09 Configure a credential helper to remove this warning. See 20:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:09 20:41:09 Login Succeeded 20:41:09 nexus3.edgexfoundry.org:10004 20:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:09 Configure a credential helper to remove this warning. See 20:41:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:09 20:41:09 Login Succeeded 20:41:09 docker.io 20:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:10 Configure a credential helper to remove this warning. See 20:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:10 20:41:10 Login Succeeded 20:41:10 ---> docker-login.sh ends [Pipeline] } 20:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:10 + git rev-list -1 --merges 7267fd86e49b51741855a8cc4948ac0fe2320b28~1..7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo 20:41:11 -----------> git rev-list -1 --merges 7267fd86e49b51741855a8cc4948ac0fe2320b28~1..7267fd86e49b51741855a8cc4948ac0fe2320b28 7267fd86e49b51741855a8cc4948ac0fe2320b28 [false] [Pipeline] sh 20:41:11 + git log --format=format:%s -1 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo 20:41:11 ========================================================= 20:41:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:11 + git log --format=format:%s -1 7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] echo 20:41:11 [semverPrep] GIT_COMMIT: 7267fd86e49b51741855a8cc4948ac0fe2320b28, Commit Message: build: Update to latest go-mods [Pipeline] echo 20:41:11 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:12 + grep -v github /etc/ssh/ssh_known_hosts 20:41:12 + [ -e /tmp/ssh_known_hosts ] 20:41:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:12 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 20:41:12 tee -a /etc/ssh/ssh_known_hosts 20:41:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:12 20:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:13 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:13 b85a868b505f: Pulling fs layer 20:41:13 e2be974225ed: Pulling fs layer 20:41:13 339a4e72a1f5: Pulling fs layer 20:41:13 988bab9f4d93: Pulling fs layer 20:41:13 1469e6f7b9e6: Pulling fs layer 20:41:13 eaf3925da568: Pulling fs layer 20:41:13 bab4dde63d76: Pulling fs layer 20:41:13 bde34c3a00c8: Pulling fs layer 20:41:13 b352a97aabf1: Pulling fs layer 20:41:13 4872d77fe225: Pulling fs layer 20:41:13 5851b861e8e6: Pulling fs layer 20:41:13 bab4dde63d76: Waiting 20:41:13 bde34c3a00c8: Waiting 20:41:13 b352a97aabf1: Waiting 20:41:13 4872d77fe225: Waiting 20:41:13 5851b861e8e6: Waiting 20:41:13 988bab9f4d93: Waiting 20:41:13 1469e6f7b9e6: Waiting 20:41:13 eaf3925da568: Waiting 20:41:13 e2be974225ed: Verifying Checksum 20:41:13 e2be974225ed: Download complete 20:41:13 988bab9f4d93: Verifying Checksum 20:41:13 988bab9f4d93: Download complete 20:41:13 1469e6f7b9e6: Verifying Checksum 20:41:13 1469e6f7b9e6: Download complete 20:41:13 339a4e72a1f5: Verifying Checksum 20:41:13 339a4e72a1f5: Download complete 20:41:13 eaf3925da568: Download complete 20:41:13 bde34c3a00c8: Download complete 20:41:13 b352a97aabf1: Verifying Checksum 20:41:13 b352a97aabf1: Download complete 20:41:13 4872d77fe225: Verifying Checksum 20:41:13 4872d77fe225: Download complete 20:41:13 5851b861e8e6: Verifying Checksum 20:41:13 5851b861e8e6: Download complete 20:41:13 b85a868b505f: Verifying Checksum 20:41:13 b85a868b505f: Download complete 20:41:14 bab4dde63d76: Verifying Checksum 20:41:14 bab4dde63d76: Download complete 20:41:15 b85a868b505f: Pull complete 20:41:15 e2be974225ed: Pull complete 20:41:15 339a4e72a1f5: Pull complete 20:41:15 988bab9f4d93: Pull complete 20:41:16 1469e6f7b9e6: Pull complete 20:41:16 eaf3925da568: Pull complete 20:41:18 bab4dde63d76: Pull complete 20:41:18 bde34c3a00c8: Pull complete 20:41:18 b352a97aabf1: Pull complete 20:41:18 4872d77fe225: Pull complete 20:41:18 5851b861e8e6: Pull complete 20:41:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:18 prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container 20:41:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@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-devops/py-git-semver:0.1.4 cat 20:41:21 $ docker top 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 -eo pid,comm 20:41:21 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). 20:41:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:21 [ssh-agent] Looking for ssh-agent implementation... 20:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:22 $ docker exec 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent 20:41:22 SSH_AUTH_SOCK=/tmp/ssh-fNrRUBgf222K/agent.32 20:41:22 SSH_AGENT_PID=38 20:41:22 Running ssh-add (command line suppressed) 20:41:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_1933065442023965767.key (/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_1933065442023965767.key) 20:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:22 + git tag --points-at HEAD [Pipeline] } 20:41:22 $ docker exec --env ******** --env ******** 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent -k 20:41:22 unset SSH_AUTH_SOCK; 20:41:22 unset SSH_AGENT_PID; 20:41:22 echo Agent pid 38 killed; 20:41:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:22 [ssh-agent] Looking for ssh-agent implementation... 20:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:22 $ docker exec 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent 20:41:23 SSH_AUTH_SOCK=/tmp/ssh-cT9SYaVtxiVg/agent.70 20:41:23 SSH_AGENT_PID=76 20:41:23 Running ssh-add (command line suppressed) 20:41:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_6969241810655676179.key (/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/private_key_6969241810655676179.key) 20:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:23 + git semver init 20:41:23 2023-07-10 20:41:23,733 [run_init] DEBUG init version:0.0.0 force:False 20:41:23 2023-07-10 20:41:23,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver 20:41:23 2023-07-10 20:41:23,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver 20:41:23 2023-07-10 20:41:23,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473, universal_newlines=False, shell=None, istream=None) 20:41:24 2023-07-10 20:41:24,706 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.git/info/exclude 20:41:24 2023-07-10 20:41:24,707 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 with force:False 20:41:24 2023-07-10 20:41:24,707 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 20:41:24 2023-07-10 20:41:24,712 [execute] INFO git cat-file --batch-check 20:41:24 2023-07-10 20:41:24,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver, universal_newlines=False, shell=None, istream=) 20:41:24 2023-07-10 20:41:24,719 [execute] INFO git cat-file --batch 20:41:24 2023-07-10 20:41:24,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver, universal_newlines=False, shell=None, istream=) 20:41:24 2023-07-10 20:41:24,725 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1473/.semver/PR-1473 20:41:24 0.0.0 [Pipeline] } 20:41:25 $ docker exec --env ******** --env ******** 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 ssh-agent -k 20:41:25 unset SSH_AUTH_SOCK; 20:41:25 unset SSH_AGENT_PID; 20:41:25 echo Agent pid 76 killed; 20:41:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:25 + git semver [Pipeline] } 20:41:25 $ docker stop --time=1 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 20:41:27 $ docker rm -f --volumes 92bf9dd28f0bd177ffd7ee294bfa41d5939d1affbe8df483b8c12d98878551b7 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:27 Stashed 1 file(s) [Pipeline] echo 20:41:27 [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 20:41:28 provisioning config files... 20:41:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config10650353961543298808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:28 ---> docker-login.sh 20:41:28 nexus3.edgexfoundry.org:10001 20:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:28 Configure a credential helper to remove this warning. See 20:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:28 20:41:28 Login Succeeded 20:41:28 nexus3.edgexfoundry.org:10002 20:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:28 Configure a credential helper to remove this warning. See 20:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:28 20:41:28 Login Succeeded 20:41:28 nexus3.edgexfoundry.org:10003 20:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:29 Configure a credential helper to remove this warning. See 20:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:29 20:41:29 Login Succeeded 20:41:29 nexus3.edgexfoundry.org:10004 20:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:29 Configure a credential helper to remove this warning. See 20:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:29 20:41:29 Login Succeeded 20:41:29 docker.io 20:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:29 Configure a credential helper to remove this warning. See 20:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:29 20:41:29 Login Succeeded 20:41:29 ---> docker-login.sh ends [Pipeline] } 20:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:29 ========================================================= 20:41:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:41:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:30 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 20:41:30 Sending build context to Docker daemon 10.91MB 20:41:30 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:41:30 Step 2/10 : FROM ${BASE} AS builder 20:41:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:30 f56be85fc22e: Pulling fs layer 20:41:30 85791d961cd3: Pulling fs layer 20:41:30 d694b5ae8c79: Pulling fs layer 20:41:30 9f32a84ed3da: Pulling fs layer 20:41:30 4d19c01a9841: Pulling fs layer 20:41:30 9325e15d5711: Pulling fs layer 20:41:30 556b6ee489ea: Pulling fs layer 20:41:30 c5a4b2cf53e6: Pulling fs layer 20:41:30 9f32a84ed3da: Waiting 20:41:30 9325e15d5711: Waiting 20:41:30 4d19c01a9841: Waiting 20:41:30 556b6ee489ea: Waiting 20:41:30 c5a4b2cf53e6: Waiting 20:41:30 85791d961cd3: Download complete 20:41:30 9f32a84ed3da: Download complete 20:41:30 4d19c01a9841: Download complete 20:41:30 f56be85fc22e: Verifying Checksum 20:41:30 f56be85fc22e: Download complete 20:41:30 9325e15d5711: Verifying Checksum 20:41:30 9325e15d5711: Download complete 20:41:30 f56be85fc22e: Pull complete 20:41:30 85791d961cd3: Pull complete 20:41:31 c5a4b2cf53e6: Verifying Checksum 20:41:31 c5a4b2cf53e6: Download complete 20:41:31 d694b5ae8c79: Verifying Checksum 20:41:31 d694b5ae8c79: Download complete 20:41:31 556b6ee489ea: Verifying Checksum 20:41:31 556b6ee489ea: Download complete 20:41:35 d694b5ae8c79: Pull complete 20:41:35 9f32a84ed3da: Pull complete 20:41:35 4d19c01a9841: Pull complete 20:41:35 9325e15d5711: Pull complete 20:41:38 556b6ee489ea: Pull complete 20:41:38 c5a4b2cf53e6: Pull complete 20:41:38 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:41:38 ---> c4be618373d6 20:41:38 Step 3/10 : ARG MAKE=make build 20:41:43 Still waiting to schedule task 20:41:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:41:43 ---> Running in b11a75ebac77 20:41:43 Removing intermediate container b11a75ebac77 20:41:43 ---> 5c78524a05e4 20:41:43 Step 4/10 : WORKDIR /device-sdk-go 20:41:43 ---> Running in b4f3baaf9cd8 20:41:43 Removing intermediate container b4f3baaf9cd8 20:41:43 ---> 314ccbef166d 20:41:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:41:43 ---> Running in b1dfebe0fa16 20:41:43 Removing intermediate container b1dfebe0fa16 20:41:43 ---> 155b23f40d7d 20:41:43 Step 6/10 : RUN apk add --update --no-cache make git 20:41:43 ---> Running in 0872e5371363 20:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:41:44 OK: 265 MiB in 53 packages 20:41:44 Removing intermediate container 0872e5371363 20:41:44 ---> 5d3fdaca5798 20:41:44 Step 7/10 : COPY go.mod vendor* ./ 20:41:44 ---> 449a5f05c542 20:41:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:44 ---> Running in 0c86a3488142 20:42:23 Removing intermediate container 0c86a3488142 20:42:23 ---> 9e13030ff076 20:42:23 Step 9/10 : COPY . . 20:42:23 ---> 4f05c95dd2bf 20:42:23 Step 10/10 : RUN ${MAKE} 20:42:23 ---> Running in 0a5267492a0d 20:42:23 noop 20:42:23 Removing intermediate container 0a5267492a0d 20:42:23 ---> 27fe54d91f5c 20:42:23 Successfully built 27fe54d91f5c 20:42:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:24 + docker inspect -f . ci-base-image-x86_64 20:42:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:24 prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container 20:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:24 $ docker top a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:24 + go version 20:42:24 go version go1.20.2 linux/amd64 [Pipeline] } 20:42:24 $ docker stop --time=1 a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff 20:42:26 $ docker rm -f --volumes a6e82a071ce3a0606ee33bb359860ae5e25eb1d4791c63673e2f8cbc01ee72ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:26 + docker inspect -f . ci-base-image-x86_64 20:42:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:27 prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container 20:42:27 $ 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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:27 $ docker top 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1473 [Pipeline] fileExists [Pipeline] sh 20:42:28 + make test 20:42:28 go test -race -coverprofile=coverage.out ./... 20:42:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:42:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:42:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 80.2% of statements 20:42:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:42:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 77.5% of statements 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:42:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:42:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.3% of statements 20:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements 20:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements 20:42:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements 20:43:14 GO111MODULE=on go vet ./... 20:43:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-773 in /w/workspace/gexfoundry_device-sdk-go_PR-1473 [Pipeline] { [Pipeline] ws 20:43:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:43:17 The recommended git tool is: git 20:43:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:43:18 $ docker stop --time=1 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b 20:43:22 $ docker rm -f --volumes 92cf13ca0fca8354147c09c87625d45fbab251496eb99b4c1593a1314e73108b 20:43:22 using credential edgex-jenkins-ssh 20:43:22 Cloning the remote Git repository [Pipeline] // withDockerContainer [Pipeline] sh 20:43:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:43:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:43:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:43:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:43:23 > git --version # timeout=10 20:43:23 > git --version # 'git version 2.25.1' 20:43:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:24 + ls -al . 20:43:24 total 284 20:43:24 drwxrwxr-x 11 jenkins jenkins 4096 Jul 10 20:42 . 20:43:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:40 .. 20:43:24 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 20:41 .dockerignore 20:43:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 20:41 .git 20:43:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:41 .github 20:43:24 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 20:41 .gitignore 20:43:24 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 20:41 .golangci.yml 20:43:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 20:41 .semver 20:43:24 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 20:41 CHANGELOG.md 20:43:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 20:41 GOVERNANCE.md 20:43:24 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 20:41 Jenkinsfile 20:43:24 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 20:41 LICENSE 20:43:24 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 20:41 Makefile 20:43:24 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 20:41 OWNERS.md 20:43:24 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 20:41 README.md 20:43:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 20:41 VERSION 20:43:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:41 bin 20:43:24 -rw-r--r-- 1 jenkins jenkins 106152 Jul 10 20:42 coverage.out 20:43:24 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 20:41 example 20:43:24 -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 20:41 go.mod 20:43:24 -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 20:41 go.sum 20:43:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:41 internal 20:43:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 20:41 openapi 20:43:24 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 20:41 pkg 20:43:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:41 snap 20:43:24 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:24 + 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=7267fd86e49b51741855a8cc4948ac0fe2320b28 --label arch=amd64 --label version=0.0.0 . 20:43:24 Sending build context to Docker daemon 11.02MB 20:43:24 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 20:43:24 Step 2/23 : FROM ${BASE} AS builder 20:43:24 ---> 27fe54d91f5c 20:43:24 Step 3/23 : ARG MAKE=make build 20:43:24 ---> Running in 06ee18cffc2f 20:43:24 Removing intermediate container 06ee18cffc2f 20:43:24 ---> 2c1898bef331 20:43:24 Step 4/23 : WORKDIR /device-sdk-go 20:43:24 ---> Running in 9ac13faa752a 20:43:24 Removing intermediate container 9ac13faa752a 20:43:24 ---> 1c4ccf466aec 20:43:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:43:24 ---> Running in cb99172421ca 20:43:25 Removing intermediate container cb99172421ca 20:43:25 ---> e68c80e8f8f5 20:43:25 Step 6/23 : RUN apk add --update --no-cache make git 20:43:25 ---> Running in 90a7a9eddf35 20:43:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:43:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:43:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:43:25 OK: 265 MiB in 53 packages 20:43:26 Merging remotes/origin/main commit 2d1a40f8b95de1d6d37730263f65300101497f92 into PR head commit 7267fd86e49b51741855a8cc4948ac0fe2320b28 20:43:26 Removing intermediate container 90a7a9eddf35 20:43:26 ---> e4357aba6633 20:43:26 Step 7/23 : COPY go.mod vendor* ./ 20:43:26 ---> 2c770486b0e2 20:43:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:26 ---> Running in 01a629a2e2e5 20:43:26 Merge succeeded, producing 7267fd86e49b51741855a8cc4948ac0fe2320b28 20:43:26 Checking out Revision 7267fd86e49b51741855a8cc4948ac0fe2320b28 (PR-1473) 20:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:43:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1473/head:refs/remotes/origin/PR-1473 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:43:26 > git config core.sparsecheckout # timeout=10 20:43:26 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 20:43:26 > git remote # timeout=10 20:43:26 > git config --get remote.origin.url # timeout=10 20:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:26 > git merge 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 20:43:26 > git rev-parse HEAD^{commit} # timeout=10 20:43:26 > git config core.sparsecheckout # timeout=10 20:43:26 > git checkout -f 7267fd86e49b51741855a8cc4948ac0fe2320b28 # timeout=10 20:43:27 Removing intermediate container 01a629a2e2e5 20:43:27 ---> 71cfc49c4424 20:43:27 Step 9/23 : COPY . . 20:43:27 ---> c7ee7d6a2a47 20:43:27 Step 10/23 : RUN ${MAKE} 20:43:27 ---> Running in 4317228ed9a1 20:43:27 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:43:30 Commit message: "build: Update to latest go-mods" 20:43:30 > git --version # timeout=10 20:43:30 > git --version # 'git version 2.25.1' 20:43:30 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:31 Dload Upload Total Spent Left Speed 20:43:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 20:43:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:32 + sudo tee /etc/docker/daemon.new 20:43:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:32 { 20:43:32 "registry-mirrors": [ 20:43:32 "https://nexus3.edgexfoundry.org:10001" 20:43:32 ], 20:43:32 "bip": "10.250.0.254/24", 20:43:32 "hosts": [ 20:43:32 "tcp://0.0.0.0:5555", 20:43:32 "unix:///var/run/docker.sock" 20:43:32 ], 20:43:32 "mtu": 1458, 20:43:32 "selinux-enabled": true, 20:43:32 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:32 } [Pipeline] sh 20:43:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:32 + sudo service docker restart 20:43:49 Removing intermediate container 4317228ed9a1 20:43:49 ---> 5436a4b67e91 20:43:49 Step 11/23 : FROM alpine:3.17 20:43:49 3.17: Pulling from library/alpine 20:43:49 4db1b89c0bd1: Pulling fs layer 20:43:49 4db1b89c0bd1: Verifying Checksum 20:43:49 4db1b89c0bd1: Download complete 20:43:49 4db1b89c0bd1: Pull complete 20:43:49 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:43:49 Status: Downloaded newer image for alpine:3.17 20:43:49 ---> 1f73a9d63274 20:43:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:43:49 ---> Running in 40c51b74d0df 20:43:49 Removing intermediate container 40c51b74d0df 20:43:49 ---> b1a1e87d1682 20:43:49 Step 13/23 : RUN apk add --update --no-cache 20:43:49 ---> Running in 9f5819be3454 20:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:43:49 OK: 7 MiB in 15 packages 20:43:49 Removing intermediate container 9f5819be3454 20:43:49 ---> 9f8151a006a9 20:43:49 Step 14/23 : WORKDIR / 20:43:49 ---> Running in 02655f25ee2e 20:43:49 Removing intermediate container 02655f25ee2e 20:43:49 ---> aedff610c0a8 20:43:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:43:49 ---> 802338a8a596 20:43:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:43:50 ---> 9cd3f83deed4 20:43:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:43:50 ---> e04a42300aae 20:43:50 Step 18/23 : EXPOSE 59999 20:43:50 ---> Running in 8f9b09df5c60 20:43:50 Removing intermediate container 8f9b09df5c60 20:43:50 ---> 4a396ffbb8eb 20:43:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:43:50 ---> Running in cf19c736a6f5 20:43:50 Removing intermediate container cf19c736a6f5 20:43:50 ---> 1f342e2c6eae 20:43:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:43:50 ---> Running in 652f94d43294 20:43:50 Removing intermediate container 652f94d43294 20:43:50 ---> f6dc302a5c8a 20:43:50 Step 21/23 : LABEL arch=amd64 20:43:50 ---> Running in 53247cd6d24d 20:43:50 Removing intermediate container 53247cd6d24d 20:43:50 ---> a3b471991a5d 20:43:50 Step 22/23 : LABEL git_sha=7267fd86e49b51741855a8cc4948ac0fe2320b28 20:43:50 ---> Running in 0ba60928440d 20:43:50 Removing intermediate container 0ba60928440d 20:43:50 ---> fcdaefb9ade8 20:43:50 Step 23/23 : LABEL version=0.0.0 20:43:50 ---> Running in 25bd5d1d5ec9 20:43:50 Removing intermediate container 25bd5d1d5ec9 20:43:50 ---> acfc46dab749 20:43:50 [Warning] One or more build-args [ARCH] were not consumed 20:43:50 Successfully built acfc46dab749 20:43:50 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:51 provisioning config files... 20:43:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8615311185410852483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:51 20:43:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:51 ---> docker-login.sh 20:43:51 nexus3.edgexfoundry.org:10001 20:43:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:51 latest: Pulling from edgex-lftools-log-publisher 20:43:51 5eb5b503b376: Pulling fs layer 20:43:51 5c69ac0246d0: Pulling fs layer 20:43:51 ec43610c2a17: Pulling fs layer 20:43:51 3a2ae6a8a46f: Pulling fs layer 20:43:51 33b1e0a273af: Pulling fs layer 20:43:51 5d3b04190fa2: Pulling fs layer 20:43:51 2f39f015ded8: Pulling fs layer 20:43:51 3a2ae6a8a46f: Waiting 20:43:51 5d3b04190fa2: Waiting 20:43:51 2f39f015ded8: Waiting 20:43:51 5c69ac0246d0: Download complete 20:43:51 3a2ae6a8a46f: Verifying Checksum 20:43:51 3a2ae6a8a46f: Download complete 20:43:51 33b1e0a273af: Verifying Checksum 20:43:51 33b1e0a273af: Download complete 20:43:51 ec43610c2a17: Verifying Checksum 20:43:51 ec43610c2a17: Download complete 20:43:51 5d3b04190fa2: Download complete 20:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:52 5eb5b503b376: Verifying Checksum 20:43:52 5eb5b503b376: Download complete 20:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:52 Configure a credential helper to remove this warning. See 20:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:52 20:43:52 Login Succeeded 20:43:52 nexus3.edgexfoundry.org:10002 20:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:52 Configure a credential helper to remove this warning. See 20:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:52 20:43:52 Login Succeeded 20:43:52 2f39f015ded8: Verifying Checksum 20:43:52 2f39f015ded8: Download complete 20:43:52 nexus3.edgexfoundry.org:10003 20:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:53 Configure a credential helper to remove this warning. See 20:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:53 20:43:53 Login Succeeded 20:43:53 nexus3.edgexfoundry.org:10004 20:43:53 5eb5b503b376: Pull complete 20:43:53 5c69ac0246d0: Pull complete 20:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:53 Configure a credential helper to remove this warning. See 20:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:53 20:43:53 Login Succeeded 20:43:53 docker.io 20:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:53 ec43610c2a17: Pull complete 20:43:53 3a2ae6a8a46f: Pull complete 20:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:53 Configure a credential helper to remove this warning. See 20:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:53 20:43:53 Login Succeeded 20:43:53 ---> docker-login.sh ends [Pipeline] } 20:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:43:54 33b1e0a273af: Pull complete 20:43:54 5d3b04190fa2: Pull complete [Pipeline] echo 20:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:54 ========================================================= 20:43:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:43:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:54 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 20:43:55 Sending build context to Docker daemon 5.816MB 20:43:55 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:43:55 Step 2/10 : FROM ${BASE} AS builder 20:43:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:55 c41833b44d91: Pulling fs layer 20:43:55 ed15518f5707: Pulling fs layer 20:43:55 feae8fd75edb: Pulling fs layer 20:43:55 242c74f7c9fa: Pulling fs layer 20:43:55 3cdef696dda3: Pulling fs layer 20:43:55 2ced38df9373: Pulling fs layer 20:43:55 58f1dce35555: Pulling fs layer 20:43:55 242c74f7c9fa: Waiting 20:43:55 3cdef696dda3: Waiting 20:43:55 2ced38df9373: Waiting 20:43:55 58f1dce35555: Waiting 20:43:55 ed15518f5707: Verifying Checksum 20:43:55 ed15518f5707: Download complete 20:43:55 242c74f7c9fa: Verifying Checksum 20:43:55 242c74f7c9fa: Download complete 20:43:55 3cdef696dda3: Verifying Checksum 20:43:55 3cdef696dda3: Download complete 20:43:55 c41833b44d91: Verifying Checksum 20:43:55 c41833b44d91: Download complete 20:43:56 58f1dce35555: Verifying Checksum 20:43:56 58f1dce35555: Download complete 20:43:57 feae8fd75edb: Verifying Checksum 20:43:57 feae8fd75edb: Download complete 20:43:57 2ced38df9373: Verifying Checksum 20:43:57 2ced38df9373: Download complete 20:43:58 2f39f015ded8: Pull complete 20:43:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:58 prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container 20:43:58 $ 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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:58 c41833b44d91: Pull complete 20:43:59 ed15518f5707: Pull complete 20:44:03 $ docker top d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:04 ---> job-cost.sh 20:44:04 lf-activate-venv: SKIPPING 20:44:04 INFO: No Stack... 20:44:04 INFO: Retrieving Pricing Info for: v3-standard-8 20:44:05 INFO: Archiving Costs [Pipeline] sh 20:44:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/cost.csv 20:44:05 + cut -d, -f6 [Pipeline] lock 20:44:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] 20:44:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] did not exist. Created. 20:44:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:44:05 + echo total: 0.2199999988079071 [Pipeline] stash 20:44:06 Stashed 1 file(s) [Pipeline] } 20:44:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:44:06 $ docker stop --time=1 d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 20:44:07 $ docker rm -f --volumes d78224579a2b4070c5cf3361354b074b544bb05fb91ded48da6c9b55f70f3847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:44:14 feae8fd75edb: Pull complete 20:44:14 242c74f7c9fa: Pull complete 20:44:14 3cdef696dda3: Pull complete 20:44:19 2ced38df9373: Pull complete 20:44:22 58f1dce35555: Pull complete 20:44:22 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:44:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:44:22 ---> fadd8f120f05 20:44:22 Step 3/10 : ARG MAKE=make build 20:44:27 ---> Running in af183922ac91 20:44:27 Removing intermediate container af183922ac91 20:44:27 ---> ef4aabcae2aa 20:44:27 Step 4/10 : WORKDIR /device-sdk-go 20:44:28 ---> Running in b5650f286e88 20:44:28 Removing intermediate container b5650f286e88 20:44:28 ---> cb0ceafe55c8 20:44:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:44:28 ---> Running in 37941b8d47eb 20:44:28 Removing intermediate container 37941b8d47eb 20:44:28 ---> 01b4d17c4710 20:44:28 Step 6/10 : RUN apk add --update --no-cache make git 20:44:29 ---> Running in 546bb5c7d19b 20:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:44:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:44:32 OK: 263 MiB in 53 packages 20:44:32 Removing intermediate container 546bb5c7d19b 20:44:32 ---> 6dd9f2a9b9f3 20:44:32 Step 7/10 : COPY go.mod vendor* ./ 20:44:33 ---> 31ffabe3e67a 20:44:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:33 ---> Running in 51c5b60805eb 20:45:41 Removing intermediate container 51c5b60805eb 20:45:41 ---> 72a723ce2638 20:45:41 Step 9/10 : COPY . . 20:45:41 ---> a05baf3b22de 20:45:41 Step 10/10 : RUN ${MAKE} 20:45:41 ---> Running in e20eedb3ff41 20:45:41 noop 20:45:41 Removing intermediate container e20eedb3ff41 20:45:41 ---> 7baa469cf4fa 20:45:41 Successfully built 7baa469cf4fa 20:45:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:41 + docker inspect -f . ci-base-image-arm64 20:45:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:41 prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container 20:45:41 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:45:43 $ docker top 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:43 + go version 20:45:43 go version go1.20.2 linux/arm64 [Pipeline] } 20:45:43 $ docker stop --time=1 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 20:45:45 $ docker rm -f --volumes 19bb78ee46e4dd15d72de991eed249798de42e197577265512b204ccad4ff558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:46 + docker inspect -f . ci-base-image-arm64 20:45:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:46 prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container 20:45:46 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:45:47 $ docker top f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 20:45:48 + make test 20:45:48 go test -race -coverprofile=coverage.out ./... 20:46:27 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:48:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:48:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.230s coverage: 27.6% of statements 20:49:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.308s coverage: 80.2% of statements 20:49:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:49:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:49:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.356s coverage: 86.0% of statements 20:49:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:49:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.470s coverage: 77.5% of statements 20:49:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:49:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:49:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:49:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.271s coverage: 14.3% of statements 20:49:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.477s coverage: 68.5% of statements 20:49:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.463s coverage: 89.2% of statements 20:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:49:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.253s coverage: 5.7% of statements 20:49:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:37 GO111MODULE=on go vet ./... 20:52:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:52:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:52:14 ./bin/test-attribution-txt.sh [Pipeline] echo 20:52:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:52:14 $ docker stop --time=1 f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad 20:52:16 $ docker rm -f --volumes f3fcb72726fe463876fe4acb81229928cac2a775219c10b8d2786f2b8f5133ad [Pipeline] // withDockerContainer [Pipeline] sh 20:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:52:17 Warning: overwriting stash ‘coverage-report’ 20:52:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:52:19 + ls -al . 20:52:19 total 280 20:52:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 20:45 . 20:52:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:43 .. 20:52:19 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 20:43 .dockerignore 20:52:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 20:43 .git 20:52:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:43 .github 20:52:19 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 20:43 .gitignore 20:52:19 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 20:43 .golangci.yml 20:52:19 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 20:43 CHANGELOG.md 20:52:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 20:43 GOVERNANCE.md 20:52:19 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 20:43 Jenkinsfile 20:52:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 20:43 LICENSE 20:52:19 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 20:43 Makefile 20:52:19 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 20:43 OWNERS.md 20:52:19 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 20:43 README.md 20:52:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 20:41 VERSION 20:52:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 20:43 bin 20:52:19 -rw-r--r-- 1 jenkins jenkins 106150 Jul 10 20:49 coverage.out 20:52:19 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 20:43 example 20:52:19 -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 20:43 go.mod 20:52:19 -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 20:43 go.sum 20:52:19 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:43 internal 20:52:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 20:43 openapi 20:52:19 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 20:43 pkg 20:52:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 20:43 snap 20:52:19 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:19 + 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=7267fd86e49b51741855a8cc4948ac0fe2320b28 --label arch=arm64 --label version=0.0.0 . 20:52:20 Sending build context to Docker daemon 5.923MB 20:52:20 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 20:52:20 Step 2/23 : FROM ${BASE} AS builder 20:52:20 ---> 7baa469cf4fa 20:52:20 Step 3/23 : ARG MAKE=make build 20:52:20 ---> Running in d5d8bef4df76 20:52:20 Removing intermediate container d5d8bef4df76 20:52:20 ---> 357bb8f40b94 20:52:20 Step 4/23 : WORKDIR /device-sdk-go 20:52:20 ---> Running in 91edbbbc8915 20:52:21 Removing intermediate container 91edbbbc8915 20:52:21 ---> 1fcaa8f81432 20:52:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:52:21 ---> Running in 4264a248349d 20:52:21 Removing intermediate container 4264a248349d 20:52:21 ---> ec2f4bb2b857 20:52:21 Step 6/23 : RUN apk add --update --no-cache make git 20:52:21 ---> Running in 61b84b8d68b4 20:52:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:52:23 OK: 263 MiB in 53 packages 20:52:24 Removing intermediate container 61b84b8d68b4 20:52:24 ---> af723e4bbfc4 20:52:24 Step 7/23 : COPY go.mod vendor* ./ 20:52:25 ---> c93b31900b5f 20:52:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:25 ---> Running in 93f9d4fa8a10 20:52:28 Removing intermediate container 93f9d4fa8a10 20:52:28 ---> e145f6435a59 20:52:28 Step 9/23 : COPY . . 20:52:30 ---> 22f56d2a35bd 20:52:30 Step 10/23 : RUN ${MAKE} 20:52:30 ---> Running in 09c76a5cfb14 20:52:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:54:53 Removing intermediate container 09c76a5cfb14 20:54:53 ---> a357221ec6ae 20:54:53 Step 11/23 : FROM alpine:3.17 20:54:53 3.17: Pulling from library/alpine 20:54:53 edb6bdbacee9: Pulling fs layer 20:54:53 edb6bdbacee9: Verifying Checksum 20:54:53 edb6bdbacee9: Download complete 20:54:53 edb6bdbacee9: Pull complete 20:54:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:54:53 Status: Downloaded newer image for alpine:3.17 20:54:53 ---> 779605e5fbc0 20:54:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:54:53 ---> Running in c7029187498c 20:54:53 Removing intermediate container c7029187498c 20:54:53 ---> 8f1a4a08781f 20:54:53 Step 13/23 : RUN apk add --update --no-cache 20:54:53 ---> Running in 492e5f4bbe61 20:54:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:54:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:54:53 OK: 7 MiB in 15 packages 20:54:56 Removing intermediate container 492e5f4bbe61 20:54:56 ---> fb2641b8e0b8 20:54:56 Step 14/23 : WORKDIR / 20:54:56 ---> Running in 5e0e69cdb0a9 20:54:56 Removing intermediate container 5e0e69cdb0a9 20:54:56 ---> e9e4ee361990 20:54:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:54:56 ---> a3e4f8d10143 20:54:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:54:58 ---> a09c64e1f4b5 20:54:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:54:58 ---> ff869ea2d52f 20:54:58 Step 18/23 : EXPOSE 59999 20:54:58 ---> Running in 608fcf898739 20:54:58 Removing intermediate container 608fcf898739 20:54:58 ---> 86447732a1ef 20:54:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:54:58 ---> Running in cb97882e8a06 20:54:59 Removing intermediate container cb97882e8a06 20:54:59 ---> 33cb5f0896a3 20:54:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:54:59 ---> Running in abbaba5a6605 20:54:59 Removing intermediate container abbaba5a6605 20:54:59 ---> 284c05f881cd 20:54:59 Step 21/23 : LABEL arch=arm64 20:54:59 ---> Running in 79e7551e9ecf 20:54:59 Removing intermediate container 79e7551e9ecf 20:54:59 ---> 376a050a6fb6 20:54:59 Step 22/23 : LABEL git_sha=7267fd86e49b51741855a8cc4948ac0fe2320b28 20:54:59 ---> Running in 9fe06c723b1e 20:55:00 Removing intermediate container 9fe06c723b1e 20:55:00 ---> 7a9c8d2d5646 20:55:00 Step 23/23 : LABEL version=0.0.0 20:55:00 ---> Running in e743efb763e0 20:55:00 Removing intermediate container e743efb763e0 20:55:00 ---> bc0a1b2fc8a3 20:55:00 [Warning] One or more build-args [ARCH] were not consumed 20:55:00 Successfully built bc0a1b2fc8a3 20:55:00 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 20:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:01 20:55:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:02 arm64: Pulling from edgex-lftools-log-publisher 20:55:02 8998bd30e6a1: Pulling fs layer 20:55:02 04944245beec: Pulling fs layer 20:55:02 699f458cf7ca: Pulling fs layer 20:55:02 765212b225bb: Pulling fs layer 20:55:02 f23df028b6ca: Pulling fs layer 20:55:02 d65c8cfc05b1: Pulling fs layer 20:55:02 2437ff75d9bd: Pulling fs layer 20:55:02 f23df028b6ca: Waiting 20:55:02 d65c8cfc05b1: Waiting 20:55:02 2437ff75d9bd: Waiting 20:55:02 765212b225bb: Waiting 20:55:02 04944245beec: Verifying Checksum 20:55:02 04944245beec: Download complete 20:55:02 765212b225bb: Verifying Checksum 20:55:02 765212b225bb: Download complete 20:55:02 f23df028b6ca: Download complete 20:55:02 d65c8cfc05b1: Verifying Checksum 20:55:02 d65c8cfc05b1: Download complete 20:55:02 699f458cf7ca: Download complete 20:55:02 8998bd30e6a1: Verifying Checksum 20:55:02 8998bd30e6a1: Download complete 20:55:04 2437ff75d9bd: Verifying Checksum 20:55:04 2437ff75d9bd: Download complete 20:55:06 8998bd30e6a1: Pull complete 20:55:07 04944245beec: Pull complete 20:55:09 699f458cf7ca: Pull complete 20:55:09 765212b225bb: Pull complete 20:55:10 f23df028b6ca: Pull complete 20:55:10 d65c8cfc05b1: Pull complete 20:55:25 2437ff75d9bd: Pull complete 20:55:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:55:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:26 prd-ubuntu20.04-docker-arm64-4c-16g-773 does not seem to be running inside a container 20:55:26 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:55:28 $ docker top 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:29 ---> job-cost.sh 20:55:29 lf-activate-venv: SKIPPING 20:55:29 INFO: No Stack... 20:55:30 INFO: Retrieving Pricing Info for: v3-standard-4 20:55:31 INFO: Archiving Costs [Pipeline] sh 20:55:31 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 20:55:31 + cut -d, -f6 [Pipeline] lock 20:55:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] 20:55:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] did not exist. Created. 20:55:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:32 /w/workspace/device-sdk-go/1@tmp/durable-2ea1fe44/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:55:32 + echo total: 0.10999999940395355 [Pipeline] stash 20:55:33 Warning: overwriting stash ‘stack-cost’ 20:55:33 Stashed 1 file(s) [Pipeline] } 20:55:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1473-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:55:33 $ docker stop --time=1 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 20:55:37 $ docker rm -f --volumes 94d0a7d6888006b5b082be15ea0dd2cbe73a942ce7e9c6978319896d6bea9bc5 [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 20:55:38 provisioning config files... 20:55:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config3119441296541057267tmp [Pipeline] { [Pipeline] sh 20:55:38 + set +x 20:55:38 + curl -s https://codecov.io/bash 20:55:38 + bash -s -- 20:55:38 20:55:38 _____ _ 20:55:38 / ____| | | 20:55:38 | | ___ __| | ___ ___ _____ __ 20:55:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:55:38 | |___| (_) | (_| | __/ (_| (_) \ V / 20:55:38 \_____\___/ \__,_|\___|\___\___/ \_/ 20:55:38 Bash-1.0.6 20:55:38 20:55:38 20:55:38 ==> git version 2.25.1 found 20:55:38 ==> 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 20:55:38 Release-Date: 2020-01-08 20:55:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:55:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:55:38 ==> Jenkins CI detected. 20:55:38 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1473 20:55:38 project root: . 20:55:38 --> token set from env 20:55:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:55:38 ==> Running gcov in . (disable via -X gcov) 20:55:38 ==> Python coveragepy not found 20:55:38 ==> Searching for coverage reports in: 20:55:38 + . 20:55:38 -> Found 1 reports 20:55:38 ==> Detecting git/mercurial file structure 20:55:38 ==> Reading reports 20:55:38 + ./coverage.out bytes=106150 20:55:38 ==> Appending adjustments 20:55:38 https://docs.codecov.io/docs/fixing-reports 20:55:39 + Found adjustments 20:55:39 ==> Gzipping contents 20:55:39 16K /tmp/codecov.AGyGKo.gz 20:55:39 ==> Uploading reports 20:55:39 url: https://codecov.io 20:55:39 query: branch=PR-1473&commit=7267fd86e49b51741855a8cc4948ac0fe2320b28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1473&job=&cmd_args= 20:55:39 -> Pinging Codecov 20:55:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1473&commit=7267fd86e49b51741855a8cc4948ac0fe2320b28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1473%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1473&job=&cmd_args= 20:55:39 -> Uploading to 20:55:39 https://storage.googleapis.com/codecov/v4/raw/2023-07-10/7E55EF52A471D76F132DFD9A03CDDE97/7267fd86e49b51741855a8cc4948ac0fe2320b28/ecba5ba3-b423-4313-935b-3b7810107c84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230710%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230710T205538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c67d1e1b8ed3c0812e5202b49b0079dd78ac5ebb8a958088a1846995aa41b611 20:55:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:39 Dload Upload Total Spent Left Speed 20:55:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15152 0 0 100 15152 0 71136 --:--:-- --:--:-- --:--:-- 70803 100 15152 0 0 100 15152 0 71136 --:--:-- --:--:-- --:--:-- 70803 20:55:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7267fd86e49b51741855a8cc4948ac0fe2320b28 [Pipeline] } 20:55:39 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 20:55:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives ] 20:55:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives 20:55:41 total 16 20:55:41 drwxr-xr-x 3 root root 4096 Jul 10 20:44 . 20:55:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:44 .. 20:55:41 drwxr-xr-x 2 root root 4096 Jul 10 20:44 cost 20:55:41 -rw-r--r-- 1 root root 86 Jul 10 20:44 cost.csv 20:55:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives 20:55:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives 20:55:41 total 16 20:55:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 20:44 . 20:55:41 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 20:44 .. 20:55:41 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 20:44 cost 20:55:41 -rw-r--r-- 1 jenkins jenkins 86 Jul 10 20:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:55:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:55:42 ---> package-listing.sh 20:55:42 ++ facter osfamily 20:55:42 ++ tr '[:upper:]' '[:lower:]' 20:55:42 + OS_FAMILY=debian 20:55:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1473 20:55:42 + START_PACKAGES=/tmp/packages_start.txt 20:55:42 + END_PACKAGES=/tmp/packages_end.txt 20:55:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:55:42 + PACKAGES=/tmp/packages_start.txt 20:55:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1473 ']' 20:55:42 + PACKAGES=/tmp/packages_end.txt 20:55:42 + case "${OS_FAMILY}" in 20:55:42 + dpkg -l 20:55:42 + grep '^ii' 20:55:42 + '[' -f /tmp/packages_start.txt ']' 20:55:42 + '[' -f /tmp/packages_end.txt ']' 20:55:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:55:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1473 ']' 20:55:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/ 20:55:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1473/archives/ [Pipeline] echo 20:55:42 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-1473/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:55:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:43 prd-ubuntu20.04-docker-8c-8g-772 does not seem to be running inside a container 20:55:43 $ 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-1473/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-1473 -v /w/workspace/gexfoundry_device-sdk-go_PR-1473:/w/workspace/gexfoundry_device-sdk-go_PR-1473:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1473@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:55:43 $ docker top 50f82de0b1f77a9c7f7acf5ab60405fa6e112fa90d70c05c23781f19cff8d059 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:44 + touch /tmp/pre-build-complete [Pipeline] sh 20:55:44 + mkdir -p /var/log/sysstat [Pipeline] sh 20:55:44 + ls /var/log/sa-host 20:55:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:44 provisioning config files... 20:55:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1473@tmp/config2950413979027145487tmp [Pipeline] { [Pipeline] echo 20:55:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:55:45 ---> create-netrc.sh [Pipeline] } 20:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:55:45 ---> python-tools-install.sh [Pipeline] echo 20:55:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:55:46 ---> sudo-logs.sh 20:55:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:55:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:55:46 ---> job-cost.sh 20:55:46 lf-activate-venv: SKIPPING 20:55:46 DEBUG: total: 0.2199999988079071 20:55:46 INFO: Retrieving Stack Cost... 20:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:47 INFO: Archiving Costs [Pipeline] echo 20:55:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:55:48 ---> logs-deploy.sh 20:55:48 lf-activate-venv: SKIPPING 20:55:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1473/1 20:55:48 INFO: archiving workspace using pattern(s): 20:55:48 Archives upload complete. 20:55:48 INFO: archiving logs to Nexus