Pull request #1425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bef7e6d0673e0e6a9cfa0b0abf49804674033489+3feff72630b5a64f0b1c499fc37cf8ca79db70fa (311ee3047c0fc79a73ef42f81f1c0fa92c1a187a) 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-ssh1071842585770434698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17061034206928225111.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1425/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-1425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3542769548609090146.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-1425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12120810179066015364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7833577798547260694.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-1425/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-1425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15831134973106207971.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-8863 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [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-1425 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 Merge succeeded, producing bef7e6d0673e0e6a9cfa0b0abf49804674033489 Checking out Revision bef7e6d0673e0e6a9cfa0b0abf49804674033489 (PR-1425) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:00:13 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # 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 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:00:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:00:13 ========================================================= 05:00:13 EdgeX Global Pipelines Version Info 05:00:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:00:14 ------------------- 05:00:14 stable info: 05:00:14 ------------------- 05:00:14 Commited By: Bill Mahoney bill.mahoney@intel.com 05:00:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:00:14 Message: update stable to v1.0.248 05:00:14 ------------------- 05:00:14 experimental info: 05:00:14 ------------------- 05:00:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:00:14 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:00:14 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:00:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1425 [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1425 [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1425 [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bef7e6d [Pipeline] echo 05:00:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:16 provisioning config files... 05:00:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config17356156972495303881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:17 ---> docker-login.sh 05:00:17 nexus3.edgexfoundry.org:10001 05:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:17 Configure a credential helper to remove this warning. See 05:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:17 05:00:17 Login Succeeded 05:00:17 nexus3.edgexfoundry.org:10002 05:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:17 Configure a credential helper to remove this warning. See 05:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:17 05:00:17 Login Succeeded 05:00:17 nexus3.edgexfoundry.org:10003 05:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:17 Configure a credential helper to remove this warning. See 05:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:17 05:00:17 Login Succeeded 05:00:17 nexus3.edgexfoundry.org:10004 05:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:17 Configure a credential helper to remove this warning. See 05:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:17 05:00:17 Login Succeeded 05:00:17 docker.io 05:00:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:19 Configure a credential helper to remove this warning. See 05:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:19 05:00:19 Login Succeeded 05:00:19 ---> docker-login.sh ends [Pipeline] } 05:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:00:19 + git rev-list -1 --merges bef7e6d0673e0e6a9cfa0b0abf49804674033489~1..bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo 05:00:19 -----------> git rev-list -1 --merges bef7e6d0673e0e6a9cfa0b0abf49804674033489~1..bef7e6d0673e0e6a9cfa0b0abf49804674033489 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [false] [Pipeline] sh 05:00:20 + git log --format=format:%s -1 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo 05:00:20 ========================================================= 05:00:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:00:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:20 + git log --format=format:%s -1 bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] echo 05:00:20 [semverPrep] GIT_COMMIT: bef7e6d0673e0e6a9cfa0b0abf49804674033489, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 05:00:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:21 + grep -v github /etc/ssh/ssh_known_hosts 05:00:21 + [ -e /tmp/ssh_known_hosts ] 05:00:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:00:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:00:21 + sudo tee -a /etc/ssh/ssh_known_hosts 05:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:21 05:00:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:21 0.1.4: Pulling from edgex-devops/py-git-semver 05:00:21 b85a868b505f: Pulling fs layer 05:00:21 e2be974225ed: Pulling fs layer 05:00:21 339a4e72a1f5: Pulling fs layer 05:00:21 988bab9f4d93: Pulling fs layer 05:00:21 1469e6f7b9e6: Pulling fs layer 05:00:21 eaf3925da568: Pulling fs layer 05:00:21 bab4dde63d76: Pulling fs layer 05:00:21 bde34c3a00c8: Pulling fs layer 05:00:21 b352a97aabf1: Pulling fs layer 05:00:21 4872d77fe225: Pulling fs layer 05:00:21 5851b861e8e6: Pulling fs layer 05:00:21 bab4dde63d76: Waiting 05:00:21 bde34c3a00c8: Waiting 05:00:21 b352a97aabf1: Waiting 05:00:21 4872d77fe225: Waiting 05:00:21 5851b861e8e6: Waiting 05:00:21 eaf3925da568: Waiting 05:00:21 1469e6f7b9e6: Waiting 05:00:21 988bab9f4d93: Waiting 05:00:21 e2be974225ed: Verifying Checksum 05:00:21 988bab9f4d93: Verifying Checksum 05:00:21 988bab9f4d93: Download complete 05:00:22 339a4e72a1f5: Verifying Checksum 05:00:22 339a4e72a1f5: Download complete 05:00:22 1469e6f7b9e6: Verifying Checksum 05:00:22 1469e6f7b9e6: Download complete 05:00:22 eaf3925da568: Download complete 05:00:22 bde34c3a00c8: Verifying Checksum 05:00:22 bde34c3a00c8: Download complete 05:00:22 b85a868b505f: Verifying Checksum 05:00:22 b85a868b505f: Download complete 05:00:22 b352a97aabf1: Download complete 05:00:22 4872d77fe225: Download complete 05:00:22 5851b861e8e6: Download complete 05:00:22 bab4dde63d76: Verifying Checksum 05:00:22 bab4dde63d76: Download complete 05:00:23 b85a868b505f: Pull complete 05:00:23 e2be974225ed: Pull complete 05:00:24 339a4e72a1f5: Pull complete 05:00:24 988bab9f4d93: Pull complete 05:00:24 1469e6f7b9e6: Pull complete 05:00:24 eaf3925da568: Pull complete 05:00:26 bab4dde63d76: Pull complete 05:00:26 bde34c3a00c8: Pull complete 05:00:26 b352a97aabf1: Pull complete 05:00:26 4872d77fe225: Pull complete 05:00:26 5851b861e8e6: Pull complete 05:00:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:27 prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container 05:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:29 $ docker top 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec -eo pid,comm 05:00:29 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). 05:00:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:30 [ssh-agent] Looking for ssh-agent implementation... 05:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:30 $ docker exec 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent 05:00:30 SSH_AUTH_SOCK=/tmp/ssh-5qdTX14BqBGW/agent.32 05:00:30 SSH_AGENT_PID=38 05:00:30 Running ssh-add (command line suppressed) 05:00:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_5789320581080858434.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_5789320581080858434.key) 05:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:30 + git tag --points-at HEAD [Pipeline] } 05:00:30 $ docker exec --env ******** --env ******** 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent -k 05:00:30 unset SSH_AUTH_SOCK; 05:00:30 unset SSH_AGENT_PID; 05:00:30 echo Agent pid 38 killed; 05:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:30 [ssh-agent] Looking for ssh-agent implementation... 05:00:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:31 $ docker exec 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent 05:00:31 SSH_AUTH_SOCK=/tmp/ssh-emEXmUplU3zn/agent.71 05:00:31 SSH_AGENT_PID=77 05:00:31 Running ssh-add (command line suppressed) 05:00:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11847498656652948990.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11847498656652948990.key) 05:00:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:31 + git semver init 05:00:31 2023-04-18 05:00:31,917 [run_init] DEBUG init version:0.0.0 force:False 05:00:31 2023-04-18 05:00:31,917 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver 05:00:31 2023-04-18 05:00:31,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver 05:00:31 2023-04-18 05:00:31,918 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425, universal_newlines=False, shell=None, istream=None) 05:00:32 2023-04-18 05:00:32,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.git/info/exclude 05:00:32 2023-04-18 05:00:32,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 with force:False 05:00:32 2023-04-18 05:00:32,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 05:00:32 2023-04-18 05:00:32,815 [execute] INFO git cat-file --batch-check 05:00:32 2023-04-18 05:00:32,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) 05:00:32 2023-04-18 05:00:32,824 [execute] INFO git cat-file --batch 05:00:32 2023-04-18 05:00:32,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) 05:00:32 2023-04-18 05:00:32,831 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 05:00:32 0.0.0 [Pipeline] } 05:00:32 $ docker exec --env ******** --env ******** 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec ssh-agent -k 05:00:33 unset SSH_AUTH_SOCK; 05:00:33 unset SSH_AGENT_PID; 05:00:33 echo Agent pid 77 killed; 05:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:33 + git semver [Pipeline] } 05:00:33 $ docker stop --time=1 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec 05:00:35 $ docker rm -f --volumes 7f78ac715ba6210747192c38a433305e9f673846a610847d9215de6cd97f9eec [Pipeline] // withDockerContainer [Pipeline] sh 05:00:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:00:35 Stashed 1 file(s) [Pipeline] echo 05:00:35 [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 05:00:36 provisioning config files... 05:00:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config16279356714804541048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:36 ---> docker-login.sh 05:00:36 nexus3.edgexfoundry.org:10001 05:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:36 Configure a credential helper to remove this warning. See 05:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:36 05:00:36 Login Succeeded 05:00:36 nexus3.edgexfoundry.org:10002 05:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:36 Configure a credential helper to remove this warning. See 05:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:36 05:00:36 Login Succeeded 05:00:36 nexus3.edgexfoundry.org:10003 05:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:36 Configure a credential helper to remove this warning. See 05:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:36 05:00:36 Login Succeeded 05:00:36 nexus3.edgexfoundry.org:10004 05:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:36 Configure a credential helper to remove this warning. See 05:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:36 05:00:36 Login Succeeded 05:00:36 docker.io 05:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:37 Configure a credential helper to remove this warning. See 05:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:37 05:00:37 Login Succeeded 05:00:37 ---> docker-login.sh ends [Pipeline] } 05:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:00:38 ========================================================= 05:00:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:00:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:38 + 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 . 05:00:38 Sending build context to Docker daemon 10.98MB 05:00:38 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:00:38 Step 2/10 : FROM ${BASE} AS builder 05:00:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:00:38 63b65145d645: Pulling fs layer 05:00:38 a2d21d5440eb: Pulling fs layer 05:00:38 935e6c44a52c: Pulling fs layer 05:00:38 94cc34f8dd06: Pulling fs layer 05:00:38 30dea6a524f1: Pulling fs layer 05:00:38 a2aff8979fd8: Pulling fs layer 05:00:38 6808be2612f2: Pulling fs layer 05:00:38 f25807f1079a: Pulling fs layer 05:00:38 30dea6a524f1: Waiting 05:00:38 a2aff8979fd8: Waiting 05:00:38 94cc34f8dd06: Waiting 05:00:38 a2d21d5440eb: Verifying Checksum 05:00:38 a2d21d5440eb: Download complete 05:00:38 94cc34f8dd06: Verifying Checksum 05:00:38 94cc34f8dd06: Download complete 05:00:38 30dea6a524f1: Verifying Checksum 05:00:38 30dea6a524f1: Download complete 05:00:38 63b65145d645: Verifying Checksum 05:00:38 63b65145d645: Download complete 05:00:38 a2aff8979fd8: Verifying Checksum 05:00:38 a2aff8979fd8: Download complete 05:00:39 63b65145d645: Pull complete 05:00:39 a2d21d5440eb: Pull complete 05:00:39 f25807f1079a: Verifying Checksum 05:00:39 f25807f1079a: Download complete 05:00:39 935e6c44a52c: Verifying Checksum 05:00:39 935e6c44a52c: Download complete 05:00:39 6808be2612f2: Verifying Checksum 05:00:39 6808be2612f2: Download complete 05:00:42 935e6c44a52c: Pull complete 05:00:42 94cc34f8dd06: Pull complete 05:00:42 30dea6a524f1: Pull complete 05:00:42 a2aff8979fd8: Pull complete 05:00:45 6808be2612f2: Pull complete 05:00:46 f25807f1079a: Pull complete 05:00:46 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:00:46 ---> 3b553350e43f 05:00:46 Step 3/10 : ARG MAKE=make build 05:00:50 ---> Running in 1ed0ad7a5b47 05:00:50 Removing intermediate container 1ed0ad7a5b47 05:00:50 ---> 54c42a87c052 05:00:50 Step 4/10 : WORKDIR /device-sdk-go 05:00:50 ---> Running in a0c4e12b4a6e 05:00:50 Removing intermediate container a0c4e12b4a6e 05:00:50 ---> 3feef09dcd63 05:00:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:00:50 ---> Running in 1fd097a3895f 05:00:50 Removing intermediate container 1fd097a3895f 05:00:50 ---> 8d93c4e06bfb 05:00:50 Step 6/10 : RUN apk add --update --no-cache make git 05:00:50 ---> Running in 6c4f78feead4 05:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:00:51 Still waiting to schedule task 05:00:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8864’ is offline 05:00:51 OK: 265 MiB in 53 packages 05:00:51 Removing intermediate container 6c4f78feead4 05:00:51 ---> 322af3608955 05:00:51 Step 7/10 : COPY go.mod vendor* ./ 05:00:51 ---> 7c0c122a5ede 05:00:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:51 ---> Running in f1901463fb27 05:01:38 Removing intermediate container f1901463fb27 05:01:38 ---> 37676048da6f 05:01:38 Step 9/10 : COPY . . 05:01:38 ---> 75d825013108 05:01:38 Step 10/10 : RUN ${MAKE} 05:01:38 ---> Running in 0d317ef9fbeb 05:01:38 noop 05:01:38 Removing intermediate container 0d317ef9fbeb 05:01:38 ---> 9fe726392f27 05:01:38 Successfully built 9fe726392f27 05:01:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:39 + docker inspect -f . ci-base-image-x86_64 05:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:39 prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container 05:01:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** ci-base-image-x86_64 cat 05:01:39 $ docker top 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:40 + go version 05:01:40 go version go1.20.2 linux/amd64 [Pipeline] } 05:01:40 $ docker stop --time=1 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 05:01:41 $ docker rm -f --volumes 01d35c56ef8177715a211e5a5e065b1888cd8a020cdcd75b250d52f675948469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:42 + docker inspect -f . ci-base-image-x86_64 05:01:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:42 prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container 05:01:42 $ 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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** ci-base-image-x86_64 cat 05:01:42 $ docker top d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] fileExists [Pipeline] sh 05:01:43 + make test 05:01:43 go test -race -coverprofile=coverage.out ./... 05:01:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 80.2% of statements 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 77.5% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:02:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:02:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.6% of statements 05:02:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.103s coverage: 68.5% of statements 05:02:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements 05:02:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.5% of statements 05:02:31 GO111MODULE=on go vet ./... 05:02:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:35 $ docker stop --time=1 d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 05:02:38 $ docker rm -f --volumes d24a47fd9fdc9a9f8e1492eeded2e979f2ad105a6bd8baf0d1589e2e346f7f07 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:40 + ls -al . 05:02:40 total 272 05:02:40 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:01 . 05:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:00 .. 05:02:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:00 .dockerignore 05:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:00 .git 05:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:00 .github 05:02:40 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 05:00 .gitignore 05:02:40 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 05:00 .golangci.yml 05:02:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:00 .semver 05:02:40 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 05:00 CHANGELOG.md 05:02:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:00 GOVERNANCE.md 05:02:40 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 05:00 Jenkinsfile 05:02:40 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 05:00 LICENSE 05:02:40 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 05:00 Makefile 05:02:40 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 05:00 OWNERS.md 05:02:40 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 05:00 README.md 05:02:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:00 VERSION 05:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:00 bin 05:02:40 -rw-r--r-- 1 jenkins jenkins 106121 Apr 18 05:02 coverage.out 05:02:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 05:00 example 05:02:40 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 05:00 go.mod 05:02:40 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 05:00 go.sum 05:02:40 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:00 internal 05:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:00 openapi 05:02:40 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 05:00 pkg 05:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:00 snap 05:02:40 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:40 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bef7e6d0673e0e6a9cfa0b0abf49804674033489 --label arch=amd64 --label version=0.0.0 . 05:02:40 Sending build context to Docker daemon 11.09MB 05:02:40 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:02:40 Step 2/23 : FROM ${BASE} AS builder 05:02:40 ---> 9fe726392f27 05:02:40 Step 3/23 : ARG MAKE=make build 05:02:40 ---> Running in 595725bba693 05:02:40 Removing intermediate container 595725bba693 05:02:40 ---> afb5b4e41bbf 05:02:40 Step 4/23 : WORKDIR /device-sdk-go 05:02:40 ---> Running in 4776c4d4430c 05:02:41 Removing intermediate container 4776c4d4430c 05:02:41 ---> ce76b0d33d99 05:02:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:02:41 ---> Running in ffda7df955dc 05:02:41 Removing intermediate container ffda7df955dc 05:02:41 ---> f70a7f655fa9 05:02:41 Step 6/23 : RUN apk add --update --no-cache make git 05:02:41 ---> Running in d63f5a122a4e 05:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:02:41 OK: 265 MiB in 53 packages 05:02:41 Removing intermediate container d63f5a122a4e 05:02:41 ---> a621a507c97a 05:02:41 Step 7/23 : COPY go.mod vendor* ./ 05:02:42 ---> 7642b36c3c51 05:02:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:42 ---> Running in c145897ed55c 05:02:43 Removing intermediate container c145897ed55c 05:02:43 ---> 3e1fff144c62 05:02:43 Step 9/23 : COPY . . 05:02:43 ---> b781be7dd4a4 05:02:43 Step 10/23 : RUN ${MAKE} 05:02:43 ---> Running in a068396295bd 05:02:44 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 05:03:05 Removing intermediate container a068396295bd 05:03:05 ---> 20a786208640 05:03:05 Step 11/23 : FROM alpine:3.17 05:03:05 3.17: Pulling from library/alpine 05:03:05 f56be85fc22e: Pulling fs layer 05:03:05 f56be85fc22e: Verifying Checksum 05:03:05 f56be85fc22e: Download complete 05:03:05 f56be85fc22e: Pull complete 05:03:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:03:05 Status: Downloaded newer image for alpine:3.17 05:03:05 ---> 9ed4aefc74f6 05:03:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:03:05 ---> Running in 8d16857171d6 05:03:05 Removing intermediate container 8d16857171d6 05:03:05 ---> a3eacb1ebb2d 05:03:05 Step 13/23 : RUN apk add --update --no-cache 05:03:05 ---> Running in 11740be680e3 05:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:03:05 OK: 7 MiB in 15 packages 05:03:05 Removing intermediate container 11740be680e3 05:03:05 ---> 1d6ea8abe083 05:03:05 Step 14/23 : WORKDIR / 05:03:05 ---> Running in 5421f3162759 05:03:05 Removing intermediate container 5421f3162759 05:03:05 ---> c6eacd5b8a90 05:03:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:03:05 ---> cd497194ef5e 05:03:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:03:06 ---> cafabd2241fa 05:03:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:03:06 ---> fbe7a6f12b70 05:03:06 Step 18/23 : EXPOSE 59999 05:03:06 ---> Running in 39d76d618d96 05:03:06 Removing intermediate container 39d76d618d96 05:03:06 ---> a302b86b0ce6 05:03:06 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:03:06 ---> Running in 05fff8742008 05:03:07 Removing intermediate container 05fff8742008 05:03:07 ---> 56aa8ed6404c 05:03:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:03:07 ---> Running in bdd96ed726b9 05:03:07 Removing intermediate container bdd96ed726b9 05:03:07 ---> 87f8a5075eb4 05:03:07 Step 21/23 : LABEL arch=amd64 05:03:07 ---> Running in 6950e917d588 05:03:07 Removing intermediate container 6950e917d588 05:03:07 ---> 3d64be231022 05:03:07 Step 22/23 : LABEL git_sha=bef7e6d0673e0e6a9cfa0b0abf49804674033489 05:03:07 ---> Running in 04df89713593 05:03:07 Removing intermediate container 04df89713593 05:03:07 ---> 9817c6b9a618 05:03:07 Step 23/23 : LABEL version=0.0.0 05:03:07 ---> Running in 64225055178b 05:03:07 Removing intermediate container 64225055178b 05:03:07 ---> 9acd9dd25999 05:03:07 [Warning] One or more build-args [ARCH] were not consumed 05:03:07 Successfully built 9acd9dd25999 05:03:07 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 05:03:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:08 05:03:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:08 latest: Pulling from edgex-lftools-log-publisher 05:03:08 5eb5b503b376: Pulling fs layer 05:03:08 5c69ac0246d0: Pulling fs layer 05:03:08 ec43610c2a17: Pulling fs layer 05:03:08 3a2ae6a8a46f: Pulling fs layer 05:03:08 33b1e0a273af: Pulling fs layer 05:03:08 5d3b04190fa2: Pulling fs layer 05:03:08 2f39f015ded8: Pulling fs layer 05:03:08 33b1e0a273af: Waiting 05:03:08 5d3b04190fa2: Waiting 05:03:08 2f39f015ded8: Waiting 05:03:08 3a2ae6a8a46f: Waiting 05:03:08 5c69ac0246d0: Download complete 05:03:08 3a2ae6a8a46f: Verifying Checksum 05:03:08 3a2ae6a8a46f: Download complete 05:03:08 33b1e0a273af: Verifying Checksum 05:03:08 33b1e0a273af: Download complete 05:03:08 ec43610c2a17: Verifying Checksum 05:03:08 ec43610c2a17: Download complete 05:03:08 5d3b04190fa2: Verifying Checksum 05:03:08 5d3b04190fa2: Download complete 05:03:08 5eb5b503b376: Verifying Checksum 05:03:08 5eb5b503b376: Download complete 05:03:09 2f39f015ded8: Verifying Checksum 05:03:09 2f39f015ded8: Download complete 05:03:09 5eb5b503b376: Pull complete 05:03:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8867 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] { [Pipeline] ws 05:03:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:03:10 The recommended git tool is: git 05:03:10 5c69ac0246d0: Pull complete 05:03:10 ec43610c2a17: Pull complete 05:03:10 3a2ae6a8a46f: Pull complete 05:03:11 33b1e0a273af: Pull complete 05:03:11 5d3b04190fa2: Pull complete 05:03:15 2f39f015ded8: Pull complete 05:03:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:15 prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container 05:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:03:16 using credential edgex-jenkins-ssh 05:03:16 Cloning the remote Git repository 05:03:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:03:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:03:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:17 > git --version # timeout=10 05:03:17 > git --version # 'git version 2.25.1' 05:03:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:19 $ docker top 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 -eo pid,comm [Pipeline] { 05:03:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] libraryResource [Pipeline] sh 05:03:19 ---> job-cost.sh 05:03:19 lf-activate-venv: SKIPPING 05:03:19 INFO: No Stack... 05:03:19 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:20 INFO: Archiving Costs [Pipeline] sh 05:03:20 + + catcut /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/cost.csv -d, 05:03:20 -f6 [Pipeline] lock 05:03:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] 05:03:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] did not exist. Created. 05:03:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:03:20 Merging remotes/origin/main commit 3feff72630b5a64f0b1c499fc37cf8ca79db70fa into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 05:03:20 + echo total: 0.2199999988079071 [Pipeline] stash 05:03:20 Stashed 1 file(s) [Pipeline] } 05:03:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:20 $ docker stop --time=1 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 05:03:21 Merge succeeded, producing bef7e6d0673e0e6a9cfa0b0abf49804674033489 05:03:21 Checking out Revision bef7e6d0673e0e6a9cfa0b0abf49804674033489 (PR-1425) 05:03:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" 05:03:21 > git --version # timeout=10 05:03:21 > git --version # 'git version 2.25.1' 05:03:21 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:03:20 > git config core.sparsecheckout # timeout=10 05:03:20 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 05:03:20 > git remote # timeout=10 05:03:20 > git config --get remote.origin.url # timeout=10 05:03:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:20 > git merge 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 05:03:21 > git rev-parse HEAD^{commit} # timeout=10 05:03:21 > git config core.sparsecheckout # timeout=10 05:03:21 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 05:03:22 $ docker rm -f --volumes 05cf7f58ebb86682e01d4e5f0e963ff6b8e9056b00fbea88619a7d5c06b6cd28 05:03:22 05:03:22 GitHub has been notified of this commit’s build result 05:03:22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:23 Dload Upload Total Spent Left Speed 05:03:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 05:03:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:03:24 + sudo+ tee /etc/docker/daemon.new 05:03:24 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:03:24 { 05:03:24 "registry-mirrors": [ 05:03:24 "https://nexus3.edgexfoundry.org:10001" 05:03:24 ], 05:03:24 "bip": "10.250.0.254/24", 05:03:24 "hosts": [ 05:03:24 "tcp://0.0.0.0:5555", 05:03:24 "unix:///var/run/docker.sock" 05:03:24 ], 05:03:24 "mtu": 1458, 05:03:24 "selinux-enabled": true, 05:03:24 "seccomp-profile": "/etc/docker/seccomp.json" 05:03:24 } [Pipeline] sh 05:03:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:03:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:43 provisioning config files... 05:03:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10301389612643539412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:43 ---> docker-login.sh 05:03:43 nexus3.edgexfoundry.org:10001 05:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:44 Configure a credential helper to remove this warning. See 05:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:44 05:03:44 Login Succeeded 05:03:44 nexus3.edgexfoundry.org:10002 05:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:44 Configure a credential helper to remove this warning. See 05:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:44 05:03:44 Login Succeeded 05:03:44 nexus3.edgexfoundry.org:10003 05:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:45 Configure a credential helper to remove this warning. See 05:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:45 05:03:45 Login Succeeded 05:03:45 nexus3.edgexfoundry.org:10004 05:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:45 Configure a credential helper to remove this warning. See 05:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:45 05:03:45 Login Succeeded 05:03:45 docker.io 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:46 Configure a credential helper to remove this warning. See 05:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:46 05:03:46 Login Succeeded 05:03:46 ---> docker-login.sh ends [Pipeline] } 05:03:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:46 ========================================================= 05:03:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:03:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:47 + 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 . 05:03:48 Sending build context to Docker daemon 5.895MB 05:03:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:03:48 Step 2/10 : FROM ${BASE} AS builder 05:03:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:03:48 af6eaf76a39c: Pulling fs layer 05:03:48 55522c791124: Pulling fs layer 05:03:48 ce5c4a1c91eb: Pulling fs layer 05:03:48 169dfbe0d373: Pulling fs layer 05:03:48 e1ff8fa3b103: Pulling fs layer 05:03:48 52ebb69f0ebf: Pulling fs layer 05:03:48 5abe8eddf0d5: Pulling fs layer 05:03:48 e1ff8fa3b103: Waiting 05:03:48 169dfbe0d373: Waiting 05:03:48 5abe8eddf0d5: Waiting 05:03:48 52ebb69f0ebf: Waiting 05:03:48 55522c791124: Download complete 05:03:48 169dfbe0d373: Verifying Checksum 05:03:48 169dfbe0d373: Download complete 05:03:48 e1ff8fa3b103: Verifying Checksum 05:03:48 e1ff8fa3b103: Download complete 05:03:48 af6eaf76a39c: Verifying Checksum 05:03:49 af6eaf76a39c: Pull complete 05:03:49 5abe8eddf0d5: Verifying Checksum 05:03:49 5abe8eddf0d5: Download complete 05:03:49 55522c791124: Pull complete 05:03:50 ce5c4a1c91eb: Verifying Checksum 05:03:50 ce5c4a1c91eb: Download complete 05:03:50 52ebb69f0ebf: Verifying Checksum 05:03:50 52ebb69f0ebf: Download complete 05:04:03 ce5c4a1c91eb: Pull complete 05:04:03 169dfbe0d373: Pull complete 05:04:03 e1ff8fa3b103: Pull complete 05:04:08 52ebb69f0ebf: Pull complete 05:04:09 5abe8eddf0d5: Pull complete 05:04:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:04:09 ---> 6cb57ee374ae 05:04:09 Step 3/10 : ARG MAKE=make build 05:04:11 ---> Running in 8c2cdd840eb0 05:04:12 Removing intermediate container 8c2cdd840eb0 05:04:12 ---> b0f42299eac8 05:04:12 Step 4/10 : WORKDIR /device-sdk-go 05:04:12 ---> Running in 85b6cea10bf6 05:04:12 Removing intermediate container 85b6cea10bf6 05:04:12 ---> 47df878f3f49 05:04:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:12 ---> Running in 6384fc5b7765 05:04:13 Removing intermediate container 6384fc5b7765 05:04:13 ---> 1c636f0a1dd1 05:04:13 Step 6/10 : RUN apk add --update --no-cache make git 05:04:13 ---> Running in 9feb39c808bb 05:04:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:16 OK: 263 MiB in 53 packages 05:04:16 Removing intermediate container 9feb39c808bb 05:04:16 ---> 8bff7513116c 05:04:16 Step 7/10 : COPY go.mod vendor* ./ 05:04:17 ---> 1bc23d0bc01a 05:04:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:17 ---> Running in 1b4d49214892 05:05:25 Removing intermediate container 1b4d49214892 05:05:25 ---> 5bf6293f0096 05:05:25 Step 9/10 : COPY . . 05:05:25 ---> 99259b9ab169 05:05:25 Step 10/10 : RUN ${MAKE} 05:05:25 ---> Running in 5a93eed1a931 05:05:25 noop 05:05:25 Removing intermediate container 5a93eed1a931 05:05:25 ---> 1dd7f2a565be 05:05:25 Successfully built 1dd7f2a565be 05:05:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:25 + docker inspect -f . ci-base-image-arm64 05:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container 05:05:26 $ 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 ******** ci-base-image-arm64 cat 05:05:27 $ docker top 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:28 + go version 05:05:28 go version go1.20.2 linux/arm64 [Pipeline] } 05:05:28 $ docker stop --time=1 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 05:05:30 $ docker rm -f --volumes 0a7acd9ad60f38ac600f1a9b61097ea15155e17e20a263755057ae3057b7c219 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:31 + docker inspect -f . ci-base-image-arm64 05:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:31 prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container 05:05:31 $ 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 ******** ci-base-image-arm64 cat 05:05:32 $ docker top 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:05:34 + make test 05:05:34 go test -race -coverprofile=coverage.out ./... 05:06:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:08:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:08:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:08:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:08:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:08:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:08:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements 05:08:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.305s coverage: 80.2% of statements 05:09:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:09:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:09:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.401s coverage: 86.0% of statements 05:09:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:09:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:09:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.503s coverage: 77.5% of statements 05:09:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.299s coverage: 14.6% of statements 05:09:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:09:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:09:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.502s coverage: 68.5% of statements 05:09:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.486s coverage: 89.2% of statements 05:09:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:09:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.279s coverage: 5.5% of statements 05:09:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:26 GO111MODULE=on go vet ./... 05:12:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:17 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:17 $ docker stop --time=1 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 05:12:19 $ docker rm -f --volumes 456450b2051a50093690ef217b3b957a9a8b48970e3694b46e6e7a52dcc78547 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:21 Warning: overwriting stash ‘coverage-report’ 05:12:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:23 + ls -al . 05:12:23 total 268 05:12:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:05 . 05:12:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:03 .. 05:12:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:03 .dockerignore 05:12:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:03 .git 05:12:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:03 .github 05:12:23 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 05:03 .gitignore 05:12:23 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 05:03 .golangci.yml 05:12:23 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 05:03 CHANGELOG.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:03 GOVERNANCE.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 05:03 Jenkinsfile 05:12:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 05:03 LICENSE 05:12:23 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 05:03 Makefile 05:12:23 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 05:03 OWNERS.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 05:03 README.md 05:12:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:00 VERSION 05:12:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:03 bin 05:12:23 -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 05:09 coverage.out 05:12:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 05:03 example 05:12:23 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 05:03 go.mod 05:12:23 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 05:03 go.sum 05:12:23 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 internal 05:12:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 openapi 05:12:23 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 05:03 pkg 05:12:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:03 snap 05:12:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:23 + 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=bef7e6d0673e0e6a9cfa0b0abf49804674033489 --label arch=arm64 --label version=0.0.0 . 05:12:24 Sending build context to Docker daemon 6.002MB 05:12:24 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:12:24 Step 2/23 : FROM ${BASE} AS builder 05:12:24 ---> 1dd7f2a565be 05:12:24 Step 3/23 : ARG MAKE=make build 05:12:24 ---> Running in 0dafadcb539e 05:12:24 Removing intermediate container 0dafadcb539e 05:12:24 ---> b52902206d41 05:12:24 Step 4/23 : WORKDIR /device-sdk-go 05:12:25 ---> Running in 760dd4774d2a 05:12:25 Removing intermediate container 760dd4774d2a 05:12:25 ---> 93c3a4d5b0da 05:12:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:12:25 ---> Running in d2c6b9092ad6 05:12:25 Removing intermediate container d2c6b9092ad6 05:12:25 ---> c3ef7feb86e8 05:12:25 Step 6/23 : RUN apk add --update --no-cache make git 05:12:25 ---> Running in 5ed8e6853b7e 05:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:12:28 OK: 263 MiB in 53 packages 05:12:29 Removing intermediate container 5ed8e6853b7e 05:12:29 ---> 030cb56d4e14 05:12:29 Step 7/23 : COPY go.mod vendor* ./ 05:12:30 ---> 490c8211220e 05:12:30 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:30 ---> Running in bfe64e2191c7 05:12:33 Removing intermediate container bfe64e2191c7 05:12:33 ---> e3b396a0e51a 05:12:33 Step 9/23 : COPY . . 05:12:34 ---> eff5f88f6a4e 05:12:34 Step 10/23 : RUN ${MAKE} 05:12:37 ---> Running in 14b5bfc7f25d 05:12:38 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 05:14:59 Removing intermediate container 14b5bfc7f25d 05:14:59 ---> 05984dac135f 05:14:59 Step 11/23 : FROM alpine:3.17 05:14:59 3.17: Pulling from library/alpine 05:14:59 c41833b44d91: Pulling fs layer 05:14:59 c41833b44d91: Verifying Checksum 05:14:59 c41833b44d91: Download complete 05:14:59 c41833b44d91: Pull complete 05:14:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:14:59 Status: Downloaded newer image for alpine:3.17 05:14:59 ---> 51e60588ff2c 05:14:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:14:59 ---> Running in 1b01f0803c73 05:14:59 Removing intermediate container 1b01f0803c73 05:14:59 ---> 11aabd8e1e80 05:14:59 Step 13/23 : RUN apk add --update --no-cache 05:14:59 ---> Running in 5673f1fe6e01 05:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:14:59 OK: 7 MiB in 15 packages 05:14:59 Removing intermediate container 5673f1fe6e01 05:14:59 ---> fd61432a0609 05:14:59 Step 14/23 : WORKDIR / 05:14:59 ---> Running in d030f6f6593a 05:15:00 Removing intermediate container d030f6f6593a 05:15:00 ---> 1e1b5a95b01e 05:15:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:15:00 ---> 3d0c8367ed46 05:15:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:15:02 ---> e38641e83002 05:15:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:15:02 ---> f5fa491ab8e2 05:15:02 Step 18/23 : EXPOSE 59999 05:15:02 ---> Running in ea0e5dcd3dc6 05:15:02 Removing intermediate container ea0e5dcd3dc6 05:15:02 ---> 9df8dc3fafaa 05:15:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:15:02 ---> Running in 4e345b8da055 05:15:03 Removing intermediate container 4e345b8da055 05:15:03 ---> 369016a27cca 05:15:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:15:03 ---> Running in 95e8e1336e88 05:15:03 Removing intermediate container 95e8e1336e88 05:15:03 ---> 92eac922795d 05:15:03 Step 21/23 : LABEL arch=arm64 05:15:03 ---> Running in 98b1f63907dc 05:15:03 Removing intermediate container 98b1f63907dc 05:15:03 ---> 3e83464a3108 05:15:03 Step 22/23 : LABEL git_sha=bef7e6d0673e0e6a9cfa0b0abf49804674033489 05:15:03 ---> Running in fff261ee517b 05:15:04 Removing intermediate container fff261ee517b 05:15:04 ---> aecd726a1ba5 05:15:04 Step 23/23 : LABEL version=0.0.0 05:15:04 ---> Running in 8118f2348ac0 05:15:04 Removing intermediate container 8118f2348ac0 05:15:04 ---> cad59b3eee38 05:15:04 [Warning] One or more build-args [ARCH] were not consumed 05:15:04 Successfully built cad59b3eee38 05:15:04 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:05 05:15:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:06 arm64: Pulling from edgex-lftools-log-publisher 05:15:06 8998bd30e6a1: Pulling fs layer 05:15:06 04944245beec: Pulling fs layer 05:15:06 699f458cf7ca: Pulling fs layer 05:15:06 765212b225bb: Pulling fs layer 05:15:06 f23df028b6ca: Pulling fs layer 05:15:06 d65c8cfc05b1: Pulling fs layer 05:15:06 2437ff75d9bd: Pulling fs layer 05:15:06 f23df028b6ca: Waiting 05:15:06 d65c8cfc05b1: Waiting 05:15:06 2437ff75d9bd: Waiting 05:15:06 04944245beec: Verifying Checksum 05:15:06 04944245beec: Download complete 05:15:06 765212b225bb: Verifying Checksum 05:15:06 765212b225bb: Download complete 05:15:06 f23df028b6ca: Download complete 05:15:06 d65c8cfc05b1: Verifying Checksum 05:15:06 d65c8cfc05b1: Download complete 05:15:06 699f458cf7ca: Verifying Checksum 05:15:06 699f458cf7ca: Download complete 05:15:06 8998bd30e6a1: Verifying Checksum 05:15:06 8998bd30e6a1: Download complete 05:15:08 2437ff75d9bd: Verifying Checksum 05:15:08 2437ff75d9bd: Download complete 05:15:10 8998bd30e6a1: Pull complete 05:15:10 04944245beec: Pull complete 05:15:14 699f458cf7ca: Pull complete 05:15:14 765212b225bb: Pull complete 05:15:14 f23df028b6ca: Pull complete 05:15:14 d65c8cfc05b1: Pull complete 05:15:27 2437ff75d9bd: Pull complete 05:15:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:15:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:27 prd-ubuntu20.04-docker-arm64-4c-16g-8867 does not seem to be running inside a container 05:15:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:15:30 $ docker top d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:31 ---> job-cost.sh 05:15:31 lf-activate-venv: SKIPPING 05:15:31 INFO: No Stack... 05:15:31 INFO: Retrieving Pricing Info for: v3-standard-4 05:15:32 INFO: Archiving Costs [Pipeline] sh 05:15:33 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:15:33 + cut -d, -f6 [Pipeline] lock 05:15:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] 05:15:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] did not exist. Created. 05:15:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:34 /w/workspace/device-sdk-go/1@tmp/durable-1bdcae1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:34 + echo total: 0.10999999940395355 [Pipeline] stash 05:15:34 Warning: overwriting stash ‘stack-cost’ 05:15:34 Stashed 1 file(s) [Pipeline] } 05:15:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:34 $ docker stop --time=1 d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 05:15:36 $ docker rm -f --volumes d76606a907a521c482f5dac126b26ed3252e1f2fbc63d72ac64b7842bf51b969 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:15:37 provisioning config files... 05:15:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config12052266556926743750tmp [Pipeline] { [Pipeline] sh 05:15:37 + set +x 05:15:37 + curl -s https://codecov.io/bash 05:15:37 + bash -s -- 05:15:37 05:15:37 _____ _ 05:15:37 / ____| | | 05:15:37 | | ___ __| | ___ ___ _____ __ 05:15:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:37 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:37 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:37 Bash-1.0.6 05:15:37 05:15:37 05:15:37 ==> git version 2.25.1 found 05:15:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:15:37 Release-Date: 2020-01-08 05:15:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:15:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:15:37 ==> Jenkins CI detected. 05:15:37 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1425 05:15:37 project root: . 05:15:37 --> token set from env 05:15:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:37 ==> Running gcov in . (disable via -X gcov) 05:15:37 ==> Python coveragepy not found 05:15:37 ==> Searching for coverage reports in: 05:15:37 + . 05:15:37 -> Found 1 reports 05:15:37 ==> Detecting git/mercurial file structure 05:15:37 ==> Reading reports 05:15:37 + ./coverage.out bytes=106119 05:15:37 ==> Appending adjustments 05:15:37 https://docs.codecov.io/docs/fixing-reports 05:15:38 + Found adjustments 05:15:38 ==> Gzipping contents 05:15:38 16K /tmp/codecov.6Eoo9K.gz 05:15:38 ==> Uploading reports 05:15:38 url: https://codecov.io 05:15:38 query: branch=PR-1425&commit=bef7e6d0673e0e6a9cfa0b0abf49804674033489&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= 05:15:38 -> Pinging Codecov 05:15:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1425&commit=bef7e6d0673e0e6a9cfa0b0abf49804674033489&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= 05:15:38 -> Uploading to 05:15:38 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/bef7e6d0673e0e6a9cfa0b0abf49804674033489/0f2e3dfa-98e6-4ca3-9996-39b257269857.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T051538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6afc6ff1c04bdf4545128d27b060456fbfac39b97c31a50ffe0e130a8804bc4 05:15:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:38 Dload Upload Total Spent Left Speed 05:15:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14998 0 0 100 14998 0 71419 --:--:-- --:--:-- --:--:-- 71080 100 14998 0 0 100 14998 0 62753 --:--:-- --:--:-- --:--:-- 62491 05:15:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bef7e6d0673e0e6a9cfa0b0abf49804674033489 [Pipeline] } 05:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:15:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives ] 05:15:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives 05:15:40 total 16 05:15:40 drwxr-xr-x 3 root root 4096 Apr 18 05:03 . 05:15:40 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 .. 05:15:40 drwxr-xr-x 2 root root 4096 Apr 18 05:03 cost 05:15:40 -rw-r--r-- 1 root root 86 Apr 18 05:03 cost.csv 05:15:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives 05:15:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives 05:15:40 total 16 05:15:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:03 . 05:15:40 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 05:03 .. 05:15:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:03 cost 05:15:40 -rw-r--r-- 1 jenkins jenkins 86 Apr 18 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:41 ---> package-listing.sh 05:15:41 ++ facter osfamily 05:15:41 ++ tr '[:upper:]' '[:lower:]' 05:15:41 + OS_FAMILY=debian 05:15:41 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1425 05:15:41 + START_PACKAGES=/tmp/packages_start.txt 05:15:41 + END_PACKAGES=/tmp/packages_end.txt 05:15:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:41 + PACKAGES=/tmp/packages_start.txt 05:15:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' 05:15:41 + PACKAGES=/tmp/packages_end.txt 05:15:41 + case "${OS_FAMILY}" in 05:15:41 + dpkg -l 05:15:41 + grep '^ii' 05:15:41 + '[' -f /tmp/packages_start.txt ']' 05:15:41 + '[' -f /tmp/packages_end.txt ']' 05:15:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' 05:15:41 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ 05:15:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ [Pipeline] echo 05:15:41 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-1425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:42 prd-ubuntu20.04-docker-8c-8g-8863 does not seem to be running inside a container 05:15:42 $ 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-1425/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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:43 $ docker top d8d4a856e2de9fc4ad4abfbc8cf75b8fa3c64b0e76ab755af0ba13bee96c56aa -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:43 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:43 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:44 + ls /var/log/sa-host 05:15:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:44 provisioning config files... 05:15:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config3857379978792668727tmp [Pipeline] { [Pipeline] echo 05:15:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:44 ---> create-netrc.sh [Pipeline] } 05:15:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:45 ---> python-tools-install.sh [Pipeline] echo 05:15:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:45 ---> sudo-logs.sh 05:15:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:45 ---> job-cost.sh 05:15:45 lf-activate-venv: SKIPPING 05:15:45 DEBUG: total: 0.2199999988079071 05:15:45 INFO: Retrieving Stack Cost... 05:15:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:46 INFO: Archiving Costs [Pipeline] echo 05:15:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:46 ---> logs-deploy.sh 05:15:46 lf-activate-venv: SKIPPING 05:15:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1425/1 05:15:46 INFO: archiving workspace using pattern(s): 05:15:47 Archives upload complete. 05:15:47 INFO: archiving logs to Nexus