Pull request #1507 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f6709ffcbf2227ccfd44463b0ff600ff8af94c37+44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (6eb618dd47356905c8a37dd38826df5d375ba82d) 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-ssh13846608822431726299.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11458559249316584846.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1507/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-1507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1582783125189623431.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-1507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10127477476779843575.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7892186097105707351.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-1507/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-1507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1627409953008922586.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-5563 in /w/workspace/gexfoundry_device-sdk-go_PR-1507 [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-1507 # 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/1507/head:refs/remotes/origin/PR-1507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit f6709ffcbf2227ccfd44463b0ff600ff8af94c37 Merge succeeded, producing f6709ffcbf2227ccfd44463b0ff600ff8af94c37 Checking out Revision f6709ffcbf2227ccfd44463b0ff600ff8af94c37 (PR-1507) > git config core.sparsecheckout # timeout=10 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # 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 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 Commit message: "fix: Adjust GetFileType() function for new secret URI format" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:20:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:20:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:20:43 ========================================================= 23:20:43 EdgeX Global Pipelines Version Info 23:20:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:20:43 ------------------- 23:20:43 stable info: 23:20:43 ------------------- 23:20:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:20:43 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:20:43 Message: update stable to v1.0.253 23:20:44 ------------------- 23:20:44 experimental info: 23:20:44 ------------------- 23:20:44 Commited By: **** collab-it+edgex@linuxfoundation.org 23:20:44 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:20:44 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1507 [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1507 [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1507 [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6709ff [Pipeline] echo 23:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:45 provisioning config files... 23:20:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config2651218423874811583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:46 ---> docker-login.sh 23:20:46 nexus3.edgexfoundry.org:10001 23:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:46 Configure a credential helper to remove this warning. See 23:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:46 23:20:46 Login Succeeded 23:20:46 nexus3.edgexfoundry.org:10002 23:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:46 Configure a credential helper to remove this warning. See 23:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:46 23:20:46 Login Succeeded 23:20:46 nexus3.edgexfoundry.org:10003 23:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:46 Configure a credential helper to remove this warning. See 23:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:46 23:20:46 Login Succeeded 23:20:46 nexus3.edgexfoundry.org:10004 23:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:47 Configure a credential helper to remove this warning. See 23:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:47 23:20:47 Login Succeeded 23:20:47 docker.io 23:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:47 Configure a credential helper to remove this warning. See 23:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:47 23:20:47 Login Succeeded 23:20:47 ---> docker-login.sh ends [Pipeline] } 23:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:20:48 + git rev-list -1 --merges f6709ffcbf2227ccfd44463b0ff600ff8af94c37~1..f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo 23:20:48 -----------> git rev-list -1 --merges f6709ffcbf2227ccfd44463b0ff600ff8af94c37~1..f6709ffcbf2227ccfd44463b0ff600ff8af94c37 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [false] [Pipeline] sh 23:20:48 + git log --format=format:%s -1 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo 23:20:48 ========================================================= 23:20:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:20:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:48 + git log --format=format:%s -1 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo 23:20:48 [semverPrep] GIT_COMMIT: f6709ffcbf2227ccfd44463b0ff600ff8af94c37, Commit Message: fix: Adjust GetFileType() function for new secret URI format [Pipeline] echo 23:20:48 [semverPrep] This is not a build commit. [Pipeline] sh 23:20:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:20:49 + grep -v github /etc/ssh/ssh_known_hosts 23:20:49 + [ -e /tmp/ssh_known_hosts ] 23:20:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:20:49 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 23:20:49 -a /etc/ssh/ssh_known_hosts 23:20:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:20:49 23:20:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:20:50 0.1.4: Pulling from edgex-devops/py-git-semver 23:20:50 b85a868b505f: Pulling fs layer 23:20:50 e2be974225ed: Pulling fs layer 23:20:50 339a4e72a1f5: Pulling fs layer 23:20:50 988bab9f4d93: Pulling fs layer 23:20:50 1469e6f7b9e6: Pulling fs layer 23:20:50 eaf3925da568: Pulling fs layer 23:20:50 bab4dde63d76: Pulling fs layer 23:20:50 bde34c3a00c8: Pulling fs layer 23:20:50 b352a97aabf1: Pulling fs layer 23:20:50 4872d77fe225: Pulling fs layer 23:20:50 5851b861e8e6: Pulling fs layer 23:20:50 bab4dde63d76: Waiting 23:20:50 b352a97aabf1: Waiting 23:20:50 bde34c3a00c8: Waiting 23:20:50 5851b861e8e6: Waiting 23:20:50 eaf3925da568: Waiting 23:20:50 1469e6f7b9e6: Waiting 23:20:50 4872d77fe225: Waiting 23:20:50 988bab9f4d93: Waiting 23:20:50 e2be974225ed: Verifying Checksum 23:20:50 e2be974225ed: Download complete 23:20:50 988bab9f4d93: Verifying Checksum 23:20:50 988bab9f4d93: Download complete 23:20:50 1469e6f7b9e6: Verifying Checksum 23:20:50 1469e6f7b9e6: Download complete 23:20:50 eaf3925da568: Download complete 23:20:50 339a4e72a1f5: Verifying Checksum 23:20:50 339a4e72a1f5: Download complete 23:20:50 bde34c3a00c8: Download complete 23:20:50 b352a97aabf1: Verifying Checksum 23:20:50 b352a97aabf1: Download complete 23:20:50 4872d77fe225: Verifying Checksum 23:20:50 4872d77fe225: Download complete 23:20:50 5851b861e8e6: Verifying Checksum 23:20:50 5851b861e8e6: Download complete 23:20:50 b85a868b505f: Verifying Checksum 23:20:50 b85a868b505f: Download complete 23:20:50 bab4dde63d76: Verifying Checksum 23:20:50 bab4dde63d76: Download complete 23:20:51 b85a868b505f: Pull complete 23:20:52 e2be974225ed: Pull complete 23:20:52 339a4e72a1f5: Pull complete 23:20:52 988bab9f4d93: Pull complete 23:20:52 1469e6f7b9e6: Pull complete 23:20:52 eaf3925da568: Pull complete 23:20:54 bab4dde63d76: Pull complete 23:20:54 bde34c3a00c8: Pull complete 23:20:54 b352a97aabf1: Pull complete 23:20:54 4872d77fe225: Pull complete 23:20:54 5851b861e8e6: Pull complete 23:20:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:20:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:20:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:54 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 23:20:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:20:57 $ docker top 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef -eo pid,comm 23:20:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:20:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:20:57 [ssh-agent] Looking for ssh-agent implementation... 23:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:57 $ docker exec 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent 23:20:57 SSH_AUTH_SOCK=/tmp/ssh-XT0u96drL2J3/agent.32 23:20:57 SSH_AGENT_PID=38 23:20:57 Running ssh-add (command line suppressed) 23:20:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_11731629500676409788.key (/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_11731629500676409788.key) 23:20:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:20:58 + git tag --points-at HEAD [Pipeline] } 23:20:58 $ docker exec --env ******** --env ******** 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent -k 23:20:58 unset SSH_AUTH_SOCK; 23:20:58 unset SSH_AGENT_PID; 23:20:58 echo Agent pid 38 killed; 23:20:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:20:58 [ssh-agent] Looking for ssh-agent implementation... 23:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:20:58 $ docker exec 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent 23:20:58 SSH_AUTH_SOCK=/tmp/ssh-zRkQxX1B2IIv/agent.70 23:20:58 SSH_AGENT_PID=76 23:20:58 Running ssh-add (command line suppressed) 23:20:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_9400653134475710046.key (/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_9400653134475710046.key) 23:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:20:59 + git semver init 23:20:59 2023-09-07 23:20:59,222 [run_init] DEBUG init version:0.0.0 force:False 23:20:59 2023-09-07 23:20:59,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver 23:20:59 2023-09-07 23:20:59,224 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver 23:20:59 2023-09-07 23:20:59,224 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507, universal_newlines=False, shell=None, istream=None) 23:21:00 2023-09-07 23:21:00,141 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.git/info/exclude 23:21:00 2023-09-07 23:21:00,141 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 with force:False 23:21:00 2023-09-07 23:21:00,142 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 23:21:00 2023-09-07 23:21:00,146 [execute] INFO git cat-file --batch-check 23:21:00 2023-09-07 23:21:00,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver, universal_newlines=False, shell=None, istream=) 23:21:00 2023-09-07 23:21:00,152 [execute] INFO git cat-file --batch 23:21:00 2023-09-07 23:21:00,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver, universal_newlines=False, shell=None, istream=) 23:21:00 2023-09-07 23:21:00,158 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 23:21:00 0.0.0 [Pipeline] } 23:21:00 $ docker exec --env ******** --env ******** 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent -k 23:21:00 unset SSH_AUTH_SOCK; 23:21:00 unset SSH_AGENT_PID; 23:21:00 echo Agent pid 76 killed; 23:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:00 + git semver [Pipeline] } 23:21:01 $ docker stop --time=1 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef 23:21:02 $ docker rm -f --volumes 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef [Pipeline] // withDockerContainer [Pipeline] sh 23:21:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:03 Stashed 1 file(s) [Pipeline] echo 23:21:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:03 provisioning config files... 23:21:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config17320038480523570694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:04 ---> docker-login.sh 23:21:04 nexus3.edgexfoundry.org:10001 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 nexus3.edgexfoundry.org:10002 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 nexus3.edgexfoundry.org:10003 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 nexus3.edgexfoundry.org:10004 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 docker.io 23:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:04 Configure a credential helper to remove this warning. See 23:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:04 23:21:04 Login Succeeded 23:21:04 ---> docker-login.sh ends [Pipeline] } 23:21:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:05 ========================================================= 23:21:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:21:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:05 + 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 . 23:21:05 Sending build context to Docker daemon 11.11MB 23:21:05 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:21:05 Step 2/10 : FROM ${BASE} AS builder 23:21:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:05 4db1b89c0bd1: Pulling fs layer 23:21:05 6911f1a30b25: Pulling fs layer 23:21:05 e194b8c5c2a9: Pulling fs layer 23:21:05 6863d3e3a2b1: Pulling fs layer 23:21:05 ec0bb842ea78: Pulling fs layer 23:21:05 40a00589a448: Pulling fs layer 23:21:05 6c08303d61cc: Pulling fs layer 23:21:05 798269fcf238: Pulling fs layer 23:21:05 6c08303d61cc: Waiting 23:21:05 ec0bb842ea78: Waiting 23:21:05 40a00589a448: Waiting 23:21:05 6863d3e3a2b1: Waiting 23:21:05 798269fcf238: Waiting 23:21:05 6911f1a30b25: Download complete 23:21:05 6863d3e3a2b1: Download complete 23:21:05 ec0bb842ea78: Download complete 23:21:05 4db1b89c0bd1: Verifying Checksum 23:21:05 4db1b89c0bd1: Download complete 23:21:05 40a00589a448: Verifying Checksum 23:21:05 40a00589a448: Download complete 23:21:05 4db1b89c0bd1: Pull complete 23:21:06 6911f1a30b25: Pull complete 23:21:06 798269fcf238: Verifying Checksum 23:21:06 798269fcf238: Download complete 23:21:06 e194b8c5c2a9: Verifying Checksum 23:21:06 e194b8c5c2a9: Download complete 23:21:06 6c08303d61cc: Verifying Checksum 23:21:06 6c08303d61cc: Download complete 23:21:09 e194b8c5c2a9: Pull complete 23:21:09 6863d3e3a2b1: Pull complete 23:21:09 ec0bb842ea78: Pull complete 23:21:09 40a00589a448: Pull complete 23:21:11 6c08303d61cc: Pull complete 23:21:12 798269fcf238: Pull complete 23:21:12 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:21:12 ---> ec979cd7f677 23:21:12 Step 3/10 : ARG MAKE=make build 23:21:17 ---> Running in 6f5bd453e061 23:21:17 Removing intermediate container 6f5bd453e061 23:21:17 ---> 245ef6057659 23:21:17 Step 4/10 : WORKDIR /device-sdk-go 23:21:17 ---> Running in 6a28dac217ab 23:21:17 Removing intermediate container 6a28dac217ab 23:21:17 ---> e8b59d0f78cb 23:21:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:21:17 ---> Running in 9e99005e6857 23:21:17 Removing intermediate container 9e99005e6857 23:21:17 ---> 3212ed7831a7 23:21:17 Step 6/10 : RUN apk add --update --no-cache make git 23:21:17 ---> Running in bb803288ef5d 23:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:21:17 OK: 265 MiB in 53 packages 23:21:17 Removing intermediate container bb803288ef5d 23:21:17 ---> 0ec21c491829 23:21:17 Step 7/10 : COPY go.mod vendor* ./ 23:21:17 ---> 96176754238d 23:21:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:17 ---> Running in 76c0f379ec74 23:21:18 Still waiting to schedule task 23:21:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:22:25 Removing intermediate container 76c0f379ec74 23:22:25 ---> eacdb3cdc52a 23:22:25 Step 9/10 : COPY . . 23:22:25 ---> e14c67b261cc 23:22:25 Step 10/10 : RUN ${MAKE} 23:22:25 ---> Running in b2dab69be43f 23:22:25 noop 23:22:25 Removing intermediate container b2dab69be43f 23:22:25 ---> 99861b8fa190 23:22:25 Successfully built 99861b8fa190 23:22:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:26 + docker inspect -f . ci-base-image-x86_64 23:22:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:26 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 23:22:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:26 $ docker top 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:27 + go version 23:22:27 go version go1.20.6 linux/amd64 [Pipeline] } 23:22:27 $ docker stop --time=1 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 23:22:28 $ docker rm -f --volumes 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:29 + docker inspect -f . ci-base-image-x86_64 23:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:29 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 23:22:29 $ 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-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:29 $ docker top 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1507 [Pipeline] fileExists [Pipeline] sh 23:22:30 + make test 23:22:30 go test -race -coverprofile=coverage.out ./... 23:22:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:22:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5564 in /w/workspace/gexfoundry_device-sdk-go_PR-1507 [Pipeline] { [Pipeline] ws 23:22:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:22:45 The recommended git tool is: git 23:22:50 using credential edgex-jenkins-ssh 23:22:50 Cloning the remote Git repository 23:22:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.082s coverage: 27.6% of statements 23:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.112s coverage: 80.2% of statements 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 71.8% of statements 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:22:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:22:50 > git --version # timeout=10 23:22:50 > git --version # 'git version 2.25.1' 23:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:22:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:54 Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit f6709ffcbf2227ccfd44463b0ff600ff8af94c37 23:22:54 Merge succeeded, producing f6709ffcbf2227ccfd44463b0ff600ff8af94c37 23:22:54 Checking out Revision f6709ffcbf2227ccfd44463b0ff600ff8af94c37 (PR-1507) 23:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.086s coverage: 14.1% of statements 23:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.997s coverage: 44.2% of statements 23:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 68.5% of statements 23:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.135s coverage: 89.2% of statements 23:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements 23:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1507/head:refs/remotes/origin/PR-1507 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:22:54 > git config core.sparsecheckout # timeout=10 23:22:54 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 23:22:54 > git remote # timeout=10 23:22:54 > git config --get remote.origin.url # timeout=10 23:22:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:54 > git merge 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 23:22:54 > git rev-parse HEAD^{commit} # timeout=10 23:22:54 > git config core.sparsecheckout # timeout=10 23:22:54 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 23:22:57 Commit message: "fix: Adjust GetFileType() function for new secret URI format" 23:22:57 > git --version # timeout=10 23:22:57 > git --version # 'git version 2.25.1' 23:22:57 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:22:59 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:59 Dload Upload Total Spent Left Speed 23:22:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 23:22:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:23:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:23:00 + sudo tee /etc/docker/daemon.new 23:23:00 { 23:23:00 "registry-mirrors": [ 23:23:00 "https://nexus3.edgexfoundry.org:10001" 23:23:00 ], 23:23:00 "bip": "10.250.0.254/24", 23:23:00 "hosts": [ 23:23:00 "tcp://0.0.0.0:5555", 23:23:00 "unix:///var/run/docker.sock" 23:23:00 ], 23:23:00 "mtu": 1458, 23:23:00 "selinux-enabled": true, 23:23:00 "seccomp-profile": "/etc/docker/seccomp.json" 23:23:00 } [Pipeline] sh 23:23:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:23:00 + sudo service docker restart 23:23:16 GO111MODULE=on go vet ./... 23:23:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:23:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:23:18 ./bin/test-attribution-txt.sh [Pipeline] echo 23:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:23:18 $ docker stop --time=1 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 23:23:22 $ docker rm -f --volumes 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:22 provisioning config files... 23:23:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9591149733993431179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:23:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 23:23:23 ---> docker-login.sh 23:23:23 nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Build) 23:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 23:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:23 Configure a credential helper to remove this warning. See 23:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:23 23:23:23 Login Succeeded 23:23:23 nexus3.edgexfoundry.org:10002 23:23:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:24 + ls -al . 23:23:24 total 304 23:23:24 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 23:22 . 23:23:24 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:20 .. 23:23:24 -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 23:20 .dockerignore 23:23:24 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 23:21 .git 23:23:24 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:20 .github 23:23:24 -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 23:20 .gitignore 23:23:24 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 23:20 .golangci.yml 23:23:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 23:21 .semver 23:23:24 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 7 23:20 CHANGELOG.md 23:23:24 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 23:20 GOVERNANCE.md 23:23:24 -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 23:20 Jenkinsfile 23:23:24 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 23:20 LICENSE 23:23:24 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 23:20 Makefile 23:23:24 -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 23:20 OWNERS.md 23:23:24 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 7 23:20 README.md 23:23:24 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 23:21 VERSION 23:23:24 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:20 bin 23:23:24 -rw-r--r-- 1 jenkins jenkins 120468 Sep 7 23:22 coverage.out 23:23:24 drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 23:20 example 23:23:24 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 7 23:20 go.mod 23:23:24 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 7 23:20 go.sum 23:23:24 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:20 internal 23:23:24 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 23:20 openapi 23:23:24 drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 23:20 pkg 23:23:24 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:20 snap 23:23:24 -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 23:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:24 Configure a credential helper to remove this warning. See 23:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:24 23:23:24 Login Succeeded 23:23:24 nexus3.edgexfoundry.org:10003 [Pipeline] sh 23:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:24 Configure a credential helper to remove this warning. See 23:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:24 23:23:24 Login Succeeded 23:23:24 nexus3.edgexfoundry.org:10004 23:23:24 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 --label arch=amd64 --label version=0.0.0 . 23:23:24 Sending build context to Docker daemon 11.23MB 23:23:24 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:23:24 Step 2/23 : FROM ${BASE} AS builder 23:23:24 ---> 99861b8fa190 23:23:24 Step 3/23 : ARG MAKE=make build 23:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:24 Configure a credential helper to remove this warning. See 23:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:24 23:23:24 Login Succeeded 23:23:24 docker.io 23:23:24 ---> Running in d403cf9557d9 23:23:24 Removing intermediate container d403cf9557d9 23:23:24 ---> ba0b0c85ae27 23:23:24 Step 4/23 : WORKDIR /device-sdk-go 23:23:24 ---> Running in f43c6ce3a0a0 23:23:24 Removing intermediate container f43c6ce3a0a0 23:23:24 ---> 834b82b9ad59 23:23:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:24 ---> Running in 32db05a2ce42 23:23:24 Removing intermediate container 32db05a2ce42 23:23:24 ---> d11fd86548ab 23:23:24 Step 6/23 : RUN apk add --update --no-cache make git 23:23:24 ---> Running in 124714f6dbf4 23:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:25 Configure a credential helper to remove this warning. See 23:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:25 23:23:25 Login Succeeded 23:23:25 ---> docker-login.sh ends [Pipeline] } 23:23:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 23:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 23:23:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:25 OK: 265 MiB in 53 packages 23:23:25 ========================================================= 23:23:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:23:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:26 Removing intermediate container 124714f6dbf4 23:23:26 ---> fad2fa33362b 23:23:26 Step 7/23 : COPY go.mod vendor* ./ 23:23:26 ---> f400cdfe65e1 23:23:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:26 ---> Running in 65df8ba6efd0 23:23:26 + 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 . 23:23:26 Sending build context to Docker daemon 5.941MB 23:23:26 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:23:26 Step 2/10 : FROM ${BASE} AS builder 23:23:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:26 edb6bdbacee9: Pulling fs layer 23:23:26 5f9638ab2659: Pulling fs layer 23:23:26 8d51d6327a98: Pulling fs layer 23:23:26 8b374f2dd631: Pulling fs layer 23:23:26 ec14aa9079de: Pulling fs layer 23:23:26 2f466654f4bb: Pulling fs layer 23:23:26 554e91adad29: Pulling fs layer 23:23:26 8b374f2dd631: Waiting 23:23:26 ec14aa9079de: Waiting 23:23:26 2f466654f4bb: Waiting 23:23:26 5f9638ab2659: Verifying Checksum 23:23:26 5f9638ab2659: Download complete 23:23:26 8b374f2dd631: Download complete 23:23:26 ec14aa9079de: Verifying Checksum 23:23:26 ec14aa9079de: Download complete 23:23:26 edb6bdbacee9: Verifying Checksum 23:23:26 Removing intermediate container 65df8ba6efd0 23:23:26 ---> 885c471100f4 23:23:26 Step 9/23 : COPY . . 23:23:27 ---> 71e363b7712d 23:23:27 Step 10/23 : RUN ${MAKE} 23:23:27 ---> Running in 9086b3435c9a 23:23:27 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:23:27 edb6bdbacee9: Pull complete 23:23:28 554e91adad29: Verifying Checksum 23:23:28 554e91adad29: Download complete 23:23:28 5f9638ab2659: Pull complete 23:23:29 8d51d6327a98: Verifying Checksum 23:23:29 8d51d6327a98: Download complete 23:23:29 2f466654f4bb: Verifying Checksum 23:23:29 2f466654f4bb: Download complete 23:23:41 8d51d6327a98: Pull complete 23:23:41 8b374f2dd631: Pull complete 23:23:41 ec14aa9079de: Pull complete 23:23:47 2f466654f4bb: Pull complete 23:23:49 Removing intermediate container 9086b3435c9a 23:23:49 ---> ba59f0a0630a 23:23:49 Step 11/23 : FROM alpine:3.17 23:23:49 3.17: Pulling from library/alpine 23:23:49 9398808236ff: Pulling fs layer 23:23:49 9398808236ff: Verifying Checksum 23:23:49 9398808236ff: Download complete 23:23:49 9398808236ff: Pull complete 23:23:49 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:23:49 Status: Downloaded newer image for alpine:3.17 23:23:49 ---> 1e0b8b5322fc 23:23:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:23:49 ---> Running in d466ebdb6676 23:23:49 Removing intermediate container d466ebdb6676 23:23:49 ---> 7619206c6b44 23:23:49 Step 13/23 : RUN apk add --update --no-cache 23:23:49 ---> Running in b3a232dd3a2c 23:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:23:49 OK: 7 MiB in 15 packages 23:23:49 Removing intermediate container b3a232dd3a2c 23:23:49 ---> 935e5c0e7aec 23:23:49 Step 14/23 : WORKDIR / 23:23:49 ---> Running in d698b4e43100 23:23:49 Removing intermediate container d698b4e43100 23:23:49 ---> 9102315e4f25 23:23:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:23:49 554e91adad29: Pull complete 23:23:49 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:23:49 ---> 1e15ea492957 23:23:49 Step 3/10 : ARG MAKE=make build 23:23:49 ---> 219bf5c8e1a8 23:23:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:23:50 ---> bce01279b31d 23:23:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:23:50 ---> eea11a437840 23:23:50 Step 18/23 : EXPOSE 59999 23:23:50 ---> Running in 97842bf0392e 23:23:50 Removing intermediate container 97842bf0392e 23:23:50 ---> 16e16ee09cd2 23:23:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:23:50 ---> Running in 8c77fcde5991 23:23:50 Removing intermediate container 8c77fcde5991 23:23:50 ---> 826d0630e951 23:23:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:23:50 ---> Running in 3f88f1b95a4a 23:23:50 Removing intermediate container 3f88f1b95a4a 23:23:50 ---> 47a083d4f988 23:23:50 Step 21/23 : LABEL arch=amd64 23:23:50 ---> Running in cf2c98957101 23:23:50 Removing intermediate container cf2c98957101 23:23:50 ---> e30476d4cac6 23:23:50 Step 22/23 : LABEL git_sha=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 23:23:50 ---> Running in eb5e1175a885 23:23:51 Removing intermediate container eb5e1175a885 23:23:51 ---> 505b6eda885b 23:23:51 Step 23/23 : LABEL version=0.0.0 23:23:51 ---> Running in 6f0d85c493fb 23:23:51 Removing intermediate container 6f0d85c493fb 23:23:51 ---> 1380f0e45c51 23:23:51 [Warning] One or more build-args [ARCH] were not consumed 23:23:51 Successfully built 1380f0e45c51 23:23:51 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] { 23:23:51 ---> Running in 7a42fc1abfc1 23:23:51 Removing intermediate container 7a42fc1abfc1 23:23:51 ---> 169c74c5946f 23:23:51 Step 4/10 : WORKDIR /device-sdk-go 23:23:51 ---> Running in e2e035afc3a4 [Pipeline] sh 23:23:52 Removing intermediate container e2e035afc3a4 23:23:52 ---> 089edb0a8252 23:23:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:23:52 ---> Running in b0c81db28fcf 23:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:52 23:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:52 Removing intermediate container b0c81db28fcf 23:23:52 ---> e665ad1227c4 23:23:52 Step 6/10 : RUN apk add --update --no-cache make git 23:23:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:52 latest: Pulling from edgex-lftools-log-publisher 23:23:52 5eb5b503b376: Pulling fs layer 23:23:52 5c69ac0246d0: Pulling fs layer 23:23:52 ec43610c2a17: Pulling fs layer 23:23:52 3a2ae6a8a46f: Pulling fs layer 23:23:52 33b1e0a273af: Pulling fs layer 23:23:52 5d3b04190fa2: Pulling fs layer 23:23:52 2f39f015ded8: Pulling fs layer 23:23:52 33b1e0a273af: Waiting 23:23:52 2f39f015ded8: Waiting 23:23:52 5c69ac0246d0: Verifying Checksum 23:23:52 5c69ac0246d0: Download complete 23:23:52 3a2ae6a8a46f: Verifying Checksum 23:23:52 3a2ae6a8a46f: Download complete 23:23:52 33b1e0a273af: Verifying Checksum 23:23:52 33b1e0a273af: Download complete 23:23:52 ec43610c2a17: Verifying Checksum 23:23:52 ec43610c2a17: Download complete 23:23:52 5d3b04190fa2: Download complete 23:23:52 ---> Running in ad26056b24dc 23:23:52 5eb5b503b376: Download complete 23:23:53 2f39f015ded8: Verifying Checksum 23:23:53 2f39f015ded8: Download complete 23:23:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:53 5eb5b503b376: Pull complete 23:23:53 5c69ac0246d0: Pull complete 23:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:54 ec43610c2a17: Pull complete 23:23:54 3a2ae6a8a46f: Pull complete 23:23:54 33b1e0a273af: Pull complete 23:23:54 5d3b04190fa2: Pull complete 23:23:55 OK: 263 MiB in 53 packages 23:23:55 Removing intermediate container ad26056b24dc 23:23:55 ---> 2c5468768b19 23:23:55 Step 7/10 : COPY go.mod vendor* ./ 23:23:56 ---> 903c69440fa0 23:23:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:56 ---> Running in ce08062a348e 23:23:58 2f39f015ded8: Pull complete 23:23:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:59 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 23:23:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:24:02 $ docker top 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:03 ---> job-cost.sh 23:24:03 lf-activate-venv: SKIPPING 23:24:03 INFO: No Stack... 23:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:24:03 INFO: Archiving Costs [Pipeline] sh 23:24:04 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/cost.csv 23:24:04 + cut -d, -f6 [Pipeline] lock 23:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] 23:24:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] did not exist. Created. 23:24:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:24:04 + echo total: 0.2199999988079071 [Pipeline] stash 23:24:04 Stashed 1 file(s) [Pipeline] } 23:24:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:24:04 $ docker stop --time=1 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 23:24:05 $ docker rm -f --volumes 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:04 Removing intermediate container ce08062a348e 23:25:04 ---> 889433d01644 23:25:04 Step 9/10 : COPY . . 23:25:04 ---> 829549c9604f 23:25:04 Step 10/10 : RUN ${MAKE} 23:25:04 ---> Running in 39048431143c 23:25:04 noop 23:25:04 Removing intermediate container 39048431143c 23:25:04 ---> b616c059908b 23:25:04 Successfully built b616c059908b 23:25:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:04 + docker inspect -f . ci-base-image-arm64 23:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:04 prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container 23:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:25:06 $ docker top bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:06 + go version 23:25:06 go version go1.20.6 linux/arm64 [Pipeline] } 23:25:06 $ docker stop --time=1 bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 23:25:08 $ docker rm -f --volumes bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:09 + docker inspect -f . ci-base-image-arm64 23:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:09 prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container 23:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:25:10 $ docker top 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:11 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 23:25:11 + make test 23:25:11 go test -race -coverprofile=coverage.out ./... 23:25:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:27:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:27:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:27:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:27:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:27:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:28:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.216s coverage: 27.6% of statements 23:28:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.253s coverage: 80.2% of statements 23:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.336s coverage: 86.0% of statements 23:28:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:28:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.415s coverage: 71.8% of statements 23:28:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.274s coverage: 14.1% of statements 23:28:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:28:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:28:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.889s coverage: 44.2% of statements 23:28:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.452s coverage: 68.5% of statements 23:28:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.431s coverage: 89.2% of statements 23:28:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:28:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements 23:28:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:28:36 GO111MODULE=on go vet ./... 23:30:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:30:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:30:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:30:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:30:58 $ docker stop --time=1 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 23:31:00 $ docker rm -f --volumes 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:01 Warning: overwriting stash ‘coverage-report’ 23:31:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:03 + ls -al . 23:31:03 total 300 23:31:03 drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 23:25 . 23:31:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:22 .. 23:31:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 23:22 .dockerignore 23:31:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 23:22 .git 23:31:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:22 .github 23:31:03 -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 23:22 .gitignore 23:31:03 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 23:22 .golangci.yml 23:31:03 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 7 23:22 CHANGELOG.md 23:31:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 23:22 GOVERNANCE.md 23:31:03 -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 23:22 Jenkinsfile 23:31:03 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 23:22 LICENSE 23:31:03 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 23:22 Makefile 23:31:03 -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 23:22 OWNERS.md 23:31:03 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 7 23:22 README.md 23:31:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 23:21 VERSION 23:31:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:22 bin 23:31:03 -rw-r--r-- 1 jenkins jenkins 120469 Sep 7 23:28 coverage.out 23:31:03 drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 23:22 example 23:31:03 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 7 23:22 go.mod 23:31:03 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 7 23:22 go.sum 23:31:03 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:22 internal 23:31:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 23:22 openapi 23:31:03 drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 23:22 pkg 23:31:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:22 snap 23:31:03 -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:03 + 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=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 --label arch=arm64 --label version=0.0.0 . 23:31:04 Sending build context to Docker daemon 6.063MB 23:31:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:31:04 Step 2/23 : FROM ${BASE} AS builder 23:31:04 ---> b616c059908b 23:31:04 Step 3/23 : ARG MAKE=make build 23:31:04 ---> Running in 8a948ce9e996 23:31:04 Removing intermediate container 8a948ce9e996 23:31:04 ---> 0ec38c2fe4d3 23:31:04 Step 4/23 : WORKDIR /device-sdk-go 23:31:04 ---> Running in a3b449333736 23:31:04 Removing intermediate container a3b449333736 23:31:04 ---> e6c0023035f2 23:31:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:31:04 ---> Running in fad54515308f 23:31:05 Removing intermediate container fad54515308f 23:31:05 ---> 2aa77b77b6ac 23:31:05 Step 6/23 : RUN apk add --update --no-cache make git 23:31:05 ---> Running in eefc766a97ed 23:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:07 OK: 263 MiB in 53 packages 23:31:08 Removing intermediate container eefc766a97ed 23:31:08 ---> ea3f5d01304e 23:31:08 Step 7/23 : COPY go.mod vendor* ./ 23:31:08 ---> a2553b3b8dbc 23:31:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:09 ---> Running in ee9bbe2f08e6 23:31:11 Removing intermediate container ee9bbe2f08e6 23:31:11 ---> aa7a1b8b0eda 23:31:11 Step 9/23 : COPY . . 23:31:12 ---> 718d06a7b9ac 23:31:12 Step 10/23 : RUN ${MAKE} 23:31:12 ---> Running in 1b4427215eca 23:31:12 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:33:34 Removing intermediate container 1b4427215eca 23:33:34 ---> 5cbe24553c67 23:33:34 Step 11/23 : FROM alpine:3.17 23:33:34 3.17: Pulling from library/alpine 23:33:34 4060ece20d7a: Pulling fs layer 23:33:34 4060ece20d7a: Verifying Checksum 23:33:34 4060ece20d7a: Download complete 23:33:34 4060ece20d7a: Pull complete 23:33:34 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:33:34 Status: Downloaded newer image for alpine:3.17 23:33:34 ---> 8650cd65339b 23:33:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:33:34 ---> Running in 3ce4ccb1f768 23:33:34 Removing intermediate container 3ce4ccb1f768 23:33:34 ---> 341f98fe72a4 23:33:34 Step 13/23 : RUN apk add --update --no-cache 23:33:34 ---> Running in 5f3fb54a1c53 23:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:33:34 OK: 7 MiB in 15 packages 23:33:34 Removing intermediate container 5f3fb54a1c53 23:33:34 ---> 6350c06c7466 23:33:34 Step 14/23 : WORKDIR / 23:33:34 ---> Running in 726e37330ff3 23:33:34 Removing intermediate container 726e37330ff3 23:33:34 ---> 89170f55a6dc 23:33:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:33:34 ---> ad4d577cb4bb 23:33:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:33:34 ---> 357ddaab94cb 23:33:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:33:34 ---> 06d18d265e3f 23:33:34 Step 18/23 : EXPOSE 59999 23:33:34 ---> Running in 812303a71815 23:33:34 Removing intermediate container 812303a71815 23:33:34 ---> 361311f0b30a 23:33:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:33:34 ---> Running in a46a4bf97fe6 23:33:34 Removing intermediate container a46a4bf97fe6 23:33:34 ---> 326f8a3cfb94 23:33:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:33:34 ---> Running in 4a3e2527b13d 23:33:34 Removing intermediate container 4a3e2527b13d 23:33:34 ---> 01bab64ac213 23:33:34 Step 21/23 : LABEL arch=arm64 23:33:34 ---> Running in ff7e40b45b7e 23:33:34 Removing intermediate container ff7e40b45b7e 23:33:34 ---> f9da347591fd 23:33:34 Step 22/23 : LABEL git_sha=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 23:33:34 ---> Running in e3e553184a70 23:33:34 Removing intermediate container e3e553184a70 23:33:34 ---> e8ab2dba9f19 23:33:34 Step 23/23 : LABEL version=0.0.0 23:33:34 ---> Running in a32609c276c2 23:33:34 Removing intermediate container a32609c276c2 23:33:34 ---> 1416879d34d4 23:33:34 [Warning] One or more build-args [ARCH] were not consumed 23:33:34 Successfully built 1416879d34d4 23:33:34 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 23:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:35 23:33:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:35 arm64: Pulling from edgex-lftools-log-publisher 23:33:35 8998bd30e6a1: Pulling fs layer 23:33:35 04944245beec: Pulling fs layer 23:33:35 699f458cf7ca: Pulling fs layer 23:33:35 765212b225bb: Pulling fs layer 23:33:35 f23df028b6ca: Pulling fs layer 23:33:35 d65c8cfc05b1: Pulling fs layer 23:33:35 2437ff75d9bd: Pulling fs layer 23:33:35 765212b225bb: Waiting 23:33:35 f23df028b6ca: Waiting 23:33:35 d65c8cfc05b1: Waiting 23:33:35 2437ff75d9bd: Waiting 23:33:36 04944245beec: Verifying Checksum 23:33:36 04944245beec: Download complete 23:33:36 765212b225bb: Verifying Checksum 23:33:36 765212b225bb: Download complete 23:33:36 f23df028b6ca: Verifying Checksum 23:33:36 f23df028b6ca: Download complete 23:33:36 d65c8cfc05b1: Download complete 23:33:36 699f458cf7ca: Verifying Checksum 23:33:36 699f458cf7ca: Download complete 23:33:36 8998bd30e6a1: Verifying Checksum 23:33:36 8998bd30e6a1: Download complete 23:33:38 2437ff75d9bd: Verifying Checksum 23:33:38 2437ff75d9bd: Download complete 23:33:40 8998bd30e6a1: Pull complete 23:33:40 04944245beec: Pull complete 23:33:42 699f458cf7ca: Pull complete 23:33:42 765212b225bb: Pull complete 23:33:45 f23df028b6ca: Pull complete 23:33:45 d65c8cfc05b1: Pull complete 23:34:00 2437ff75d9bd: Pull complete 23:34:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:00 prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container 23:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:34:02 $ docker top 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:03 ---> job-cost.sh 23:34:03 lf-activate-venv: SKIPPING 23:34:03 INFO: No Stack... 23:34:03 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:04 INFO: Archiving Costs [Pipeline] sh 23:34:05 + cut -d, -f6 23:34:05 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 23:34:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] 23:34:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] did not exist. Created. 23:34:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:05 /w/workspace/device-sdk-go/1@tmp/durable-419200aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:06 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:06 Warning: overwriting stash ‘stack-cost’ 23:34:06 Stashed 1 file(s) [Pipeline] } 23:34:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:06 $ docker stop --time=1 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 23:34:07 $ docker rm -f --volumes 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:34:12 provisioning config files... 23:34:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config3957229941959364136tmp [Pipeline] { [Pipeline] sh 23:34:12 + set +x 23:34:12 + curl -s https://codecov.io/bash 23:34:12 + bash -s -- 23:34:12 23:34:12 _____ _ 23:34:12 / ____| | | 23:34:12 | | ___ __| | ___ ___ _____ __ 23:34:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:34:12 | |___| (_) | (_| | __/ (_| (_) \ V / 23:34:12 \_____\___/ \__,_|\___|\___\___/ \_/ 23:34:12 Bash-1.0.6 23:34:12 23:34:12 23:34:12 ==> git version 2.25.1 found 23:34:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:34:12 Release-Date: 2020-01-08 23:34:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:34:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:34:12 ==> Jenkins CI detected. 23:34:12 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1507 23:34:12 project root: . 23:34:12 --> token set from env 23:34:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:34:13 ==> Running gcov in . (disable via -X gcov) 23:34:13 ==> Python coveragepy not found 23:34:13 ==> Searching for coverage reports in: 23:34:13 + . 23:34:13 -> Found 1 reports 23:34:13 ==> Detecting git/mercurial file structure 23:34:13 ==> Reading reports 23:34:13 + ./coverage.out bytes=120469 23:34:13 ==> Appending adjustments 23:34:13 https://docs.codecov.io/docs/fixing-reports 23:34:13 + Found adjustments 23:34:13 ==> Gzipping contents 23:34:13 20K /tmp/codecov.s58LFf.gz 23:34:13 ==> Uploading reports 23:34:13 url: https://codecov.io 23:34:13 query: branch=PR-1507&commit=f6709ffcbf2227ccfd44463b0ff600ff8af94c37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1507&job=&cmd_args= 23:34:13 -> Pinging Codecov 23:34:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1507&commit=f6709ffcbf2227ccfd44463b0ff600ff8af94c37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1507&job=&cmd_args= 23:34:13 -> Uploading to 23:34:13 https://storage.googleapis.com/codecov/v4/raw/2023-09-07/7E55EF52A471D76F132DFD9A03CDDE97/f6709ffcbf2227ccfd44463b0ff600ff8af94c37/07471edb-a732-40b9-96d6-f75ad23279ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T233413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8594f1bf135646079f265d31841dc55e34abfc948794e67a21c38010beb5799 23:34:13 % Total % Received % Xferd Average Speed Time Time Time Current 23:34:13 Dload Upload Total Spent Left Speed 23:34:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16421 0 0 100 16421 0 76023 --:--:-- --:--:-- --:--:-- 76023 23:34:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] } 23:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:34:15 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives ] 23:34:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives 23:34:15 total 16 23:34:15 drwxr-xr-x 3 root root 4096 Sep 7 23:24 . 23:34:15 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:24 .. 23:34:15 drwxr-xr-x 2 root root 4096 Sep 7 23:24 cost 23:34:15 -rw-r--r-- 1 root root 86 Sep 7 23:24 cost.csv 23:34:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives 23:34:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives 23:34:15 total 16 23:34:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 23:24 . 23:34:15 drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:24 .. 23:34:15 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 23:24 cost 23:34:15 -rw-r--r-- 1 jenkins jenkins 86 Sep 7 23:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> package-listing.sh 23:34:16 ++ facter osfamily 23:34:16 ++ tr '[:upper:]' '[:lower:]' 23:34:16 + OS_FAMILY=debian 23:34:16 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1507 23:34:16 + START_PACKAGES=/tmp/packages_start.txt 23:34:16 + END_PACKAGES=/tmp/packages_end.txt 23:34:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:16 + PACKAGES=/tmp/packages_start.txt 23:34:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1507 ']' 23:34:16 + PACKAGES=/tmp/packages_end.txt 23:34:16 + case "${OS_FAMILY}" in 23:34:16 + dpkg -l 23:34:16 + grep '^ii' 23:34:16 + '[' -f /tmp/packages_start.txt ']' 23:34:16 + '[' -f /tmp/packages_end.txt ']' 23:34:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1507 ']' 23:34:16 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/ 23:34:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/ [Pipeline] echo 23:34:16 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-1507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:17 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 23:34:18 $ 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-1507/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-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:18 $ docker top 0d733a4288b1629430d9ae6678b5798644959fb11ac000f85532ecc0db0de5b8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:18 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:18 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:19 + ls /var/log/sa-host 23:34:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:19 provisioning config files... 23:34:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config16859731130378895083tmp [Pipeline] { [Pipeline] echo 23:34:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:19 ---> create-netrc.sh [Pipeline] } 23:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:20 ---> python-tools-install.sh [Pipeline] echo 23:34:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:20 ---> sudo-logs.sh 23:34:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:20 ---> job-cost.sh 23:34:20 lf-activate-venv: SKIPPING 23:34:20 DEBUG: total: 0.2199999988079071 23:34:20 INFO: Retrieving Stack Cost... 23:34:21 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:21 INFO: Archiving Costs [Pipeline] echo 23:34:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:22 ---> logs-deploy.sh 23:34:22 lf-activate-venv: SKIPPING 23:34:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1507/1 23:34:22 INFO: archiving workspace using pattern(s): 23:34:22 Archives upload complete. 23:34:23 INFO: archiving logs to Nexus