Pull request #1492 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e091e5f8efce8c81a9f693009b3399adb4b6b9d3+33fe8b615815503aada03d5ced23786186fa4554 (8dd07a5b9c5564efa0d9b40ffe26d7142e0393a2) 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-ssh1151528708921413343.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16231171701818613002.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1492/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-1492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh283051259406477410.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-1492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7018438714889044290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10720697320030549405.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-1492/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-1492/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18257549725523536583.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3176 in /w/workspace/gexfoundry_device-sdk-go_PR-1492 [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-1492 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 33fe8b615815503aada03d5ced23786186fa4554 into PR head commit e091e5f8efce8c81a9f693009b3399adb4b6b9d3 Merge succeeded, producing e091e5f8efce8c81a9f693009b3399adb4b6b9d3 Checking out Revision e091e5f8efce8c81a9f693009b3399adb4b6b9d3 (PR-1492) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 > 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/1492/head:refs/remotes/origin/PR-1492 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # 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 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:28:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:28:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:28:25 ========================================================= 04:28:25 EdgeX Global Pipelines Version Info 04:28:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:28:25 ------------------- 04:28:25 stable info: 04:28:25 ------------------- 04:28:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:28:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:28:25 Message: update stable to v1.0.250 04:28:26 ------------------- 04:28:26 experimental info: 04:28:26 ------------------- 04:28:26 Commited By: **** collab-it+edgex@linuxfoundation.org 04:28:26 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 04:28:26 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:28:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1492 [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1492 [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1492 [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e091e5f [Pipeline] echo 04:28:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:28 provisioning config files... 04:28:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config11977032662227509882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:28 ---> docker-login.sh 04:28:28 nexus3.edgexfoundry.org:10001 04:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:28 Configure a credential helper to remove this warning. See 04:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:28 04:28:28 Login Succeeded 04:28:28 nexus3.edgexfoundry.org:10002 04:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:28 Configure a credential helper to remove this warning. See 04:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:28 04:28:28 Login Succeeded 04:28:28 nexus3.edgexfoundry.org:10003 04:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:29 Configure a credential helper to remove this warning. See 04:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:29 04:28:29 Login Succeeded 04:28:29 nexus3.edgexfoundry.org:10004 04:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:29 Configure a credential helper to remove this warning. See 04:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:29 04:28:29 Login Succeeded 04:28:29 docker.io 04:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:29 Configure a credential helper to remove this warning. See 04:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:29 04:28:29 Login Succeeded 04:28:29 ---> docker-login.sh ends [Pipeline] } 04:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:28:30 + git rev-list -1 --merges e091e5f8efce8c81a9f693009b3399adb4b6b9d3~1..e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo 04:28:30 -----------> git rev-list -1 --merges e091e5f8efce8c81a9f693009b3399adb4b6b9d3~1..e091e5f8efce8c81a9f693009b3399adb4b6b9d3 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [false] [Pipeline] sh 04:28:30 + git log --format=format:%s -1 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo 04:28:30 ========================================================= 04:28:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:28:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:30 + git log --format=format:%s -1 e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] echo 04:28:31 [semverPrep] GIT_COMMIT: e091e5f8efce8c81a9f693009b3399adb4b6b9d3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:28:31 [semverPrep] This is not a build commit. [Pipeline] sh 04:28:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:31 + grep -v github /etc/ssh/ssh_known_hosts 04:28:31 + [ -e /tmp/ssh_known_hosts ] 04:28:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:28:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:28:31 + sudo tee -a /etc/ssh/ssh_known_hosts 04:28:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:31 04:28:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:32 0.1.4: Pulling from edgex-devops/py-git-semver 04:28:32 b85a868b505f: Pulling fs layer 04:28:32 e2be974225ed: Pulling fs layer 04:28:32 339a4e72a1f5: Pulling fs layer 04:28:32 988bab9f4d93: Pulling fs layer 04:28:32 1469e6f7b9e6: Pulling fs layer 04:28:32 eaf3925da568: Pulling fs layer 04:28:32 bab4dde63d76: Pulling fs layer 04:28:32 bde34c3a00c8: Pulling fs layer 04:28:32 b352a97aabf1: Pulling fs layer 04:28:32 4872d77fe225: Pulling fs layer 04:28:32 5851b861e8e6: Pulling fs layer 04:28:32 988bab9f4d93: Waiting 04:28:32 1469e6f7b9e6: Waiting 04:28:32 bab4dde63d76: Waiting 04:28:32 bde34c3a00c8: Waiting 04:28:32 b352a97aabf1: Waiting 04:28:32 4872d77fe225: Waiting 04:28:32 5851b861e8e6: Waiting 04:28:32 eaf3925da568: Waiting 04:28:32 e2be974225ed: Verifying Checksum 04:28:32 e2be974225ed: Download complete 04:28:32 988bab9f4d93: Verifying Checksum 04:28:32 988bab9f4d93: Download complete 04:28:32 1469e6f7b9e6: Verifying Checksum 04:28:32 1469e6f7b9e6: Download complete 04:28:32 339a4e72a1f5: Verifying Checksum 04:28:32 339a4e72a1f5: Download complete 04:28:32 eaf3925da568: Download complete 04:28:32 bde34c3a00c8: Download complete 04:28:32 b352a97aabf1: Verifying Checksum 04:28:32 b352a97aabf1: Download complete 04:28:32 4872d77fe225: Verifying Checksum 04:28:32 4872d77fe225: Download complete 04:28:32 5851b861e8e6: Download complete 04:28:32 b85a868b505f: Verifying Checksum 04:28:32 b85a868b505f: Download complete 04:28:32 bab4dde63d76: Verifying Checksum 04:28:32 bab4dde63d76: Download complete 04:28:34 b85a868b505f: Pull complete 04:28:34 e2be974225ed: Pull complete 04:28:34 339a4e72a1f5: Pull complete 04:28:34 988bab9f4d93: Pull complete 04:28:35 1469e6f7b9e6: Pull complete 04:28:35 eaf3925da568: Pull complete 04:28:37 bab4dde63d76: Pull complete 04:28:37 bde34c3a00c8: Pull complete 04:28:37 b352a97aabf1: Pull complete 04:28:37 4872d77fe225: Pull complete 04:28:37 5851b861e8e6: Pull complete 04:28:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:37 prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container 04:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:28:40 $ docker top 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f -eo pid,comm 04:28:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:28:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:40 [ssh-agent] Looking for ssh-agent implementation... 04:28:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:40 $ docker exec 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent 04:28:40 SSH_AUTH_SOCK=/tmp/ssh-ZH3rHMRjPlaR/agent.32 04:28:40 SSH_AGENT_PID=38 04:28:40 Running ssh-add (command line suppressed) 04:28:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_5144974186127470147.key (/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_5144974186127470147.key) 04:28:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:41 + git tag --points-at HEAD [Pipeline] } 04:28:41 $ docker exec --env ******** --env ******** 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent -k 04:28:41 unset SSH_AUTH_SOCK; 04:28:41 unset SSH_AGENT_PID; 04:28:41 echo Agent pid 38 killed; 04:28:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:28:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:41 [ssh-agent] Looking for ssh-agent implementation... 04:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:41 $ docker exec 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent 04:28:41 SSH_AUTH_SOCK=/tmp/ssh-Z7kZth62rZzg/agent.70 04:28:41 SSH_AGENT_PID=76 04:28:41 Running ssh-add (command line suppressed) 04:28:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_7693850234573374861.key (/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/private_key_7693850234573374861.key) 04:28:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:42 + git semver init 04:28:42 2023-08-09 04:28:42,319 [run_init] DEBUG init version:0.0.0 force:False 04:28:42 2023-08-09 04:28:42,319 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver 04:28:42 2023-08-09 04:28:42,320 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver 04:28:42 2023-08-09 04:28:42,320 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492, universal_newlines=False, shell=None, istream=None) 04:28:43 2023-08-09 04:28:43,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.git/info/exclude 04:28:43 2023-08-09 04:28:43,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 with force:False 04:28:43 2023-08-09 04:28:43,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 04:28:43 2023-08-09 04:28:43,241 [execute] INFO git cat-file --batch-check 04:28:43 2023-08-09 04:28:43,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver, universal_newlines=False, shell=None, istream=) 04:28:43 2023-08-09 04:28:43,249 [execute] INFO git cat-file --batch 04:28:43 2023-08-09 04:28:43,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver, universal_newlines=False, shell=None, istream=) 04:28:43 2023-08-09 04:28:43,255 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1492/.semver/PR-1492 04:28:43 0.0.0 [Pipeline] } 04:28:43 $ docker exec --env ******** --env ******** 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f ssh-agent -k 04:28:43 unset SSH_AUTH_SOCK; 04:28:43 unset SSH_AGENT_PID; 04:28:43 echo Agent pid 76 killed; 04:28:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:43 + git semver [Pipeline] } 04:28:44 $ docker stop --time=1 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f 04:28:45 $ docker rm -f --volumes 243fe25ecf436e1c2014c1082314ad2f9422f6605069e2bd68f90819b54ac59f [Pipeline] // withDockerContainer [Pipeline] sh 04:28:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:28:46 Stashed 1 file(s) [Pipeline] echo 04:28:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:46 provisioning config files... 04:28:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config6940068488744984163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:47 ---> docker-login.sh 04:28:47 nexus3.edgexfoundry.org:10001 04:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded 04:28:47 nexus3.edgexfoundry.org:10002 04:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded 04:28:47 nexus3.edgexfoundry.org:10003 04:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded 04:28:47 nexus3.edgexfoundry.org:10004 04:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded 04:28:47 docker.io 04:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:47 Configure a credential helper to remove this warning. See 04:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:47 04:28:47 Login Succeeded 04:28:47 ---> docker-login.sh ends [Pipeline] } 04:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:28:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:47 ========================================================= 04:28:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:28:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:48 + 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 . 04:28:48 Sending build context to Docker daemon 11.05MB 04:28:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:28:48 Step 2/10 : FROM ${BASE} AS builder 04:28:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:28:48 4db1b89c0bd1: Pulling fs layer 04:28:48 6911f1a30b25: Pulling fs layer 04:28:48 e194b8c5c2a9: Pulling fs layer 04:28:48 6863d3e3a2b1: Pulling fs layer 04:28:48 ec0bb842ea78: Pulling fs layer 04:28:48 40a00589a448: Pulling fs layer 04:28:48 6c08303d61cc: Pulling fs layer 04:28:48 798269fcf238: Pulling fs layer 04:28:48 6863d3e3a2b1: Waiting 04:28:48 ec0bb842ea78: Waiting 04:28:48 40a00589a448: Waiting 04:28:48 6c08303d61cc: Waiting 04:28:48 798269fcf238: Waiting 04:28:48 6911f1a30b25: Retrying in 5 seconds 04:28:48 4db1b89c0bd1: Verifying Checksum 04:28:48 4db1b89c0bd1: Download complete 04:28:48 6863d3e3a2b1: Verifying Checksum 04:28:48 6863d3e3a2b1: Download complete 04:28:48 ec0bb842ea78: Download complete 04:28:48 40a00589a448: Verifying Checksum 04:28:48 40a00589a448: Download complete 04:28:48 4db1b89c0bd1: Pull complete 04:28:49 e194b8c5c2a9: Verifying Checksum 04:28:49 e194b8c5c2a9: Download complete 04:28:49 6911f1a30b25: Retrying in 4 seconds 04:28:49 6c08303d61cc: Verifying Checksum 04:28:49 6c08303d61cc: Download complete 04:28:49 798269fcf238: Download complete 04:28:50 6911f1a30b25: Retrying in 3 seconds 04:28:51 6911f1a30b25: Retrying in 2 seconds 04:28:52 6911f1a30b25: Retrying in 1 second 04:28:53 6911f1a30b25: Retrying in 10 seconds 04:28:54 6911f1a30b25: Retrying in 9 seconds 04:28:55 6911f1a30b25: Retrying in 8 seconds 04:28:56 6911f1a30b25: Retrying in 7 seconds 04:28:57 6911f1a30b25: Retrying in 6 seconds 04:28:58 6911f1a30b25: Retrying in 5 seconds 04:28:59 6911f1a30b25: Retrying in 4 seconds 04:29:00 6911f1a30b25: Retrying in 3 seconds 04:29:01 Still waiting to schedule task 04:29:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:29:01 6911f1a30b25: Retrying in 2 seconds 04:29:02 6911f1a30b25: Retrying in 1 second 04:29:03 6911f1a30b25: Verifying Checksum 04:29:03 6911f1a30b25: Download complete 04:29:03 6911f1a30b25: Pull complete 04:29:07 e194b8c5c2a9: Pull complete 04:29:07 6863d3e3a2b1: Pull complete 04:29:07 ec0bb842ea78: Pull complete 04:29:07 40a00589a448: Pull complete 04:29:09 6c08303d61cc: Pull complete 04:29:10 798269fcf238: Pull complete 04:29:11 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:29:11 ---> ec979cd7f677 04:29:11 Step 3/10 : ARG MAKE=make build 04:29:15 ---> Running in 551596d3e9df 04:29:15 Removing intermediate container 551596d3e9df 04:29:15 ---> 8e456eef8569 04:29:15 Step 4/10 : WORKDIR /device-sdk-go 04:29:15 ---> Running in 3e09d4225dba 04:29:15 Removing intermediate container 3e09d4225dba 04:29:15 ---> 27b9bc87dd45 04:29:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:29:15 ---> Running in a6efb16f5672 04:29:15 Removing intermediate container a6efb16f5672 04:29:15 ---> c4610210f587 04:29:15 Step 6/10 : RUN apk add --update --no-cache make git 04:29:15 ---> Running in e0b9ab325268 04:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:29:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:29:16 OK: 265 MiB in 53 packages 04:29:16 Removing intermediate container e0b9ab325268 04:29:16 ---> 763ce6b306fb 04:29:16 Step 7/10 : COPY go.mod vendor* ./ 04:29:16 ---> 1501ade200eb 04:29:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:16 ---> Running in c48537c873b6 04:30:12 Removing intermediate container c48537c873b6 04:30:12 ---> 7bfce2705ae3 04:30:12 Step 9/10 : COPY . . 04:30:12 ---> 455b843738e6 04:30:12 Step 10/10 : RUN ${MAKE} 04:30:12 ---> Running in a450ad7a9cd2 04:30:12 noop 04:30:12 Removing intermediate container a450ad7a9cd2 04:30:12 ---> b5e26636a9c9 04:30:12 Successfully built b5e26636a9c9 04:30:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:13 + docker inspect -f . ci-base-image-x86_64 04:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:13 prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container 04:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:13 $ docker top 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:14 + go version 04:30:14 go version go1.20.6 linux/amd64 [Pipeline] } 04:30:14 $ docker stop --time=1 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 04:30:15 $ docker rm -f --volumes 024237f88a4b6d3606e2d06283a307bef01ff0977dae8da9f9a5c7ae06cb46e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:16 + docker inspect -f . ci-base-image-x86_64 04:30:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:16 prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container 04:30:16 $ 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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:16 $ docker top 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1492 [Pipeline] fileExists [Pipeline] sh 04:30:17 + make test 04:30:17 go test -race -coverprofile=coverage.out ./... 04:30:25 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:30:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3177 in /w/workspace/gexfoundry_device-sdk-go_PR-1492 [Pipeline] { [Pipeline] ws 04:30:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:30:35 The recommended git tool is: git 04:30:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:30:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:30:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:30:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:30:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:30:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements 04:30:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 80.2% of statements 04:30:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:30:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:30:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.111s coverage: 86.0% of statements 04:30:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:30:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.084s coverage: 71.8% of statements 04:30:40 using credential edgex-jenkins-ssh 04:30:40 Cloning the remote Git repository 04:30:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:30:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:30:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:30:40 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:30:40 > git --version # timeout=10 04:30:40 > git --version # 'git version 2.25.1' 04:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:30:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:30:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.3% of statements 04:30:43 Merging remotes/origin/main commit 33fe8b615815503aada03d5ced23786186fa4554 into PR head commit e091e5f8efce8c81a9f693009b3399adb4b6b9d3 04:30:44 Merge succeeded, producing e091e5f8efce8c81a9f693009b3399adb4b6b9d3 04:30:44 Checking out Revision e091e5f8efce8c81a9f693009b3399adb4b6b9d3 (PR-1492) 04:30:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:30:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:30:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1492/head:refs/remotes/origin/PR-1492 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:43 > git config core.sparsecheckout # timeout=10 04:30:43 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 04:30:43 > git remote # timeout=10 04:30:43 > git config --get remote.origin.url # timeout=10 04:30:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:44 > git merge 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 04:30:44 > git rev-parse HEAD^{commit} # timeout=10 04:30:44 > git config core.sparsecheckout # timeout=10 04:30:44 > git checkout -f e091e5f8efce8c81a9f693009b3399adb4b6b9d3 # timeout=10 04:30:44 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:30:44 > git --version # timeout=10 04:30:44 > git --version # 'git version 2.25.1' 04:30:44 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.616s coverage: 43.8% of statements 04:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements 04:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements 04:30:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 04:30:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:30:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:45 Dload Upload Total Spent Left Speed 04:30:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 33822 0 --:--:-- --:--:-- --:--:-- 33822 [Pipeline] sh 04:30:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:30:47 + sudo tee /etc/docker/daemon.new 04:30:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:30:47 { 04:30:47 "registry-mirrors": [ 04:30:47 "https://nexus3.edgexfoundry.org:10001" 04:30:47 ], 04:30:47 "bip": "10.250.0.254/24", 04:30:47 "hosts": [ 04:30:47 "tcp://0.0.0.0:5555", 04:30:47 "unix:///var/run/docker.sock" 04:30:47 ], 04:30:47 "mtu": 1458, 04:30:47 "selinux-enabled": true, 04:30:47 "seccomp-profile": "/etc/docker/seccomp.json" 04:30:47 } [Pipeline] sh 04:30:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:30:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:06 provisioning config files... 04:31:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15178704366117834275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:06 ---> docker-login.sh 04:31:06 nexus3.edgexfoundry.org:10001 04:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:07 Configure a credential helper to remove this warning. See 04:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:07 04:31:07 Login Succeeded 04:31:07 nexus3.edgexfoundry.org:10002 04:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:07 Configure a credential helper to remove this warning. See 04:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:07 04:31:07 Login Succeeded 04:31:07 nexus3.edgexfoundry.org:10003 04:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:07 Configure a credential helper to remove this warning. See 04:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:07 04:31:07 Login Succeeded 04:31:07 nexus3.edgexfoundry.org:10004 04:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:08 Configure a credential helper to remove this warning. See 04:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:08 04:31:08 Login Succeeded 04:31:08 docker.io 04:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:08 Configure a credential helper to remove this warning. See 04:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:08 04:31:08 Login Succeeded 04:31:08 ---> docker-login.sh ends [Pipeline] } 04:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:31:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:09 ========================================================= 04:31:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:31:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:09 + 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 . 04:31:09 Sending build context to Docker daemon 5.893MB 04:31:09 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:31:09 Step 2/10 : FROM ${BASE} AS builder 04:31:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:31:10 edb6bdbacee9: Pulling fs layer 04:31:10 5f9638ab2659: Pulling fs layer 04:31:10 8d51d6327a98: Pulling fs layer 04:31:10 8b374f2dd631: Pulling fs layer 04:31:10 ec14aa9079de: Pulling fs layer 04:31:10 2f466654f4bb: Pulling fs layer 04:31:10 554e91adad29: Pulling fs layer 04:31:10 8b374f2dd631: Waiting 04:31:10 ec14aa9079de: Waiting 04:31:10 2f466654f4bb: Waiting 04:31:10 554e91adad29: Waiting 04:31:10 5f9638ab2659: Verifying Checksum 04:31:10 5f9638ab2659: Download complete 04:31:10 8b374f2dd631: Verifying Checksum 04:31:10 8b374f2dd631: Download complete 04:31:10 ec14aa9079de: Verifying Checksum 04:31:10 ec14aa9079de: Download complete 04:31:10 edb6bdbacee9: Verifying Checksum 04:31:10 edb6bdbacee9: Download complete 04:31:11 edb6bdbacee9: Pull complete 04:31:11 554e91adad29: Verifying Checksum 04:31:11 554e91adad29: Download complete 04:31:12 GO111MODULE=on go vet ./... 04:31:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:31:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:31:12 ./bin/test-attribution-txt.sh 04:31:12 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:31:12 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:31:12 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:31:12 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:31:12 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:31:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:31:12 $ docker stop --time=1 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b 04:31:12 8d51d6327a98: Verifying Checksum 04:31:12 8d51d6327a98: Download complete 04:31:12 2f466654f4bb: Verifying Checksum 04:31:12 2f466654f4bb: Download complete 04:31:13 5f9638ab2659: Pull complete 04:31:15 $ docker rm -f --volumes 88c862725eced73d24e157bbc103dfdb31691f8b7eded2288c6a25cb69cb0c4b [Pipeline] // withDockerContainer [Pipeline] sh 04:31:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:31:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:31:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:31:17 + ls -al . 04:31:17 total 304 04:31:17 drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 04:30 . 04:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:28 .. 04:31:17 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 04:28 .dockerignore 04:31:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 04:28 .git 04:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:28 .github 04:31:17 -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 04:28 .gitignore 04:31:17 -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 04:28 .golangci.yml 04:31:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 04:28 .semver 04:31:17 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 04:28 CHANGELOG.md 04:31:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 04:28 GOVERNANCE.md 04:31:17 -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 04:28 Jenkinsfile 04:31:17 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 04:28 LICENSE 04:31:17 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 04:28 Makefile 04:31:17 -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 04:28 OWNERS.md 04:31:17 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 04:28 README.md 04:31:17 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 04:28 VERSION 04:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:28 bin 04:31:17 -rw-r--r-- 1 jenkins jenkins 120273 Aug 9 04:30 coverage.out 04:31:17 drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 04:28 example 04:31:17 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 04:28 go.mod 04:31:17 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 04:28 go.sum 04:31:17 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:28 internal 04:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 04:28 openapi 04:31:17 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 04:28 pkg 04:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:28 snap 04:31:17 -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:18 + 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=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 --label arch=amd64 --label version=0.0.0 . 04:31:18 Sending build context to Docker daemon 11.17MB 04:31:18 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:31:18 Step 2/23 : FROM ${BASE} AS builder 04:31:18 ---> b5e26636a9c9 04:31:18 Step 3/23 : ARG MAKE=make build 04:31:18 ---> Running in 10a7a16b12ce 04:31:18 Removing intermediate container 10a7a16b12ce 04:31:18 ---> 01c561be2538 04:31:18 Step 4/23 : WORKDIR /device-sdk-go 04:31:18 ---> Running in 07710613a3a2 04:31:18 Removing intermediate container 07710613a3a2 04:31:18 ---> f50403484b08 04:31:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:31:18 ---> Running in 811cd6718e2e 04:31:18 Removing intermediate container 811cd6718e2e 04:31:18 ---> 70e0bf5566ce 04:31:18 Step 6/23 : RUN apk add --update --no-cache make git 04:31:18 ---> Running in b7da3ae8aa72 04:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:31:19 OK: 265 MiB in 53 packages 04:31:19 Removing intermediate container b7da3ae8aa72 04:31:19 ---> 6cfc852796db 04:31:19 Step 7/23 : COPY go.mod vendor* ./ 04:31:19 ---> 2d7cb6803773 04:31:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:19 ---> Running in ed275930ce59 04:31:20 Removing intermediate container ed275930ce59 04:31:20 ---> 09bcda9d75cf 04:31:20 Step 9/23 : COPY . . 04:31:21 ---> 91a4f2dbb375 04:31:21 Step 10/23 : RUN ${MAKE} 04:31:21 ---> Running in ff93ab0ae74b 04:31:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:31:28 8d51d6327a98: Pull complete 04:31:28 8b374f2dd631: Pull complete 04:31:28 ec14aa9079de: Pull complete 04:31:35 2f466654f4bb: Pull complete 04:31:36 554e91adad29: Pull complete 04:31:36 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:31:36 ---> 1e15ea492957 04:31:36 Step 3/10 : ARG MAKE=make build 04:31:42 ---> Running in c167877aa9a8 04:31:42 Removing intermediate container c167877aa9a8 04:31:42 ---> 16a9b43169ae 04:31:42 Step 4/10 : WORKDIR /device-sdk-go 04:31:42 ---> Running in dfc4c591f9eb 04:31:42 Removing intermediate container dfc4c591f9eb 04:31:42 ---> ad03c6341ba6 04:31:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:31:42 ---> Running in 3aa7310a63a6 04:31:43 Removing intermediate container 3aa7310a63a6 04:31:43 ---> 8d69defa7802 04:31:43 Step 6/10 : RUN apk add --update --no-cache make git 04:31:43 ---> Running in b8ba5d14395b 04:31:43 Removing intermediate container ff93ab0ae74b 04:31:43 ---> ce17529eef05 04:31:43 Step 11/23 : FROM alpine:3.17 04:31:43 3.17: Pulling from library/alpine 04:31:43 9398808236ff: Pulling fs layer 04:31:43 9398808236ff: Verifying Checksum 04:31:43 9398808236ff: Download complete 04:31:43 9398808236ff: Pull complete 04:31:43 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:31:43 Status: Downloaded newer image for alpine:3.17 04:31:43 ---> 1e0b8b5322fc 04:31:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:31:43 ---> Running in bd2c0a42abff 04:31:43 Removing intermediate container bd2c0a42abff 04:31:43 ---> 87b1f0c113f2 04:31:43 Step 13/23 : RUN apk add --update --no-cache 04:31:43 ---> Running in 0cae1035fe59 04:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:31:44 OK: 7 MiB in 15 packages 04:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:31:44 Removing intermediate container 0cae1035fe59 04:31:44 ---> a4e9c3d3dd81 04:31:44 Step 14/23 : WORKDIR / 04:31:44 ---> Running in c7bccb019680 04:31:44 Removing intermediate container c7bccb019680 04:31:44 ---> 3dd6d50813ab 04:31:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:31:44 ---> 5c76745c941d 04:31:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:31:45 ---> eeb8e57ef9fe 04:31:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:31:45 ---> 380b29abc1ef 04:31:45 Step 18/23 : EXPOSE 59999 04:31:45 ---> Running in 516a605dd7da 04:31:45 OK: 263 MiB in 53 packages 04:31:45 Removing intermediate container 516a605dd7da 04:31:45 ---> 47a1334cb727 04:31:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:31:45 ---> Running in fff9fab68237 04:31:45 Removing intermediate container fff9fab68237 04:31:45 ---> b231ad556984 04:31:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:31:45 ---> Running in a0095439a0d0 04:31:45 Removing intermediate container a0095439a0d0 04:31:45 ---> 1df8439a91ff 04:31:45 Step 21/23 : LABEL arch=amd64 04:31:46 ---> Running in d86bfa68fadd 04:31:46 Removing intermediate container d86bfa68fadd 04:31:46 ---> e3258ea24685 04:31:46 Step 22/23 : LABEL git_sha=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 04:31:46 ---> Running in 0ed058bcce4b 04:31:46 Removing intermediate container 0ed058bcce4b 04:31:46 ---> cc90cc5c1c97 04:31:46 Step 23/23 : LABEL version=0.0.0 04:31:46 ---> Running in 2ba58cd0074a 04:31:46 Removing intermediate container 2ba58cd0074a 04:31:46 ---> 176da5e446ef 04:31:46 [Warning] One or more build-args [ARCH] were not consumed 04:31:46 Successfully built 176da5e446ef 04:31:46 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] } 04:31:46 Removing intermediate container b8ba5d14395b 04:31:46 ---> f3a3b4ea2e90 04:31:46 Step 7/10 : COPY go.mod vendor* ./ [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 04:31:46 ---> b597b17e9223 04:31:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:46 ---> Running in f9b1500fd8b5 [Pipeline] sh 04:31:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:47 04:31:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:47 latest: Pulling from edgex-lftools-log-publisher 04:31:47 5eb5b503b376: Pulling fs layer 04:31:47 5c69ac0246d0: Pulling fs layer 04:31:47 ec43610c2a17: Pulling fs layer 04:31:47 3a2ae6a8a46f: Pulling fs layer 04:31:47 33b1e0a273af: Pulling fs layer 04:31:47 5d3b04190fa2: Pulling fs layer 04:31:47 2f39f015ded8: Pulling fs layer 04:31:47 3a2ae6a8a46f: Waiting 04:31:47 33b1e0a273af: Waiting 04:31:47 2f39f015ded8: Waiting 04:31:47 5d3b04190fa2: Waiting 04:31:47 5c69ac0246d0: Verifying Checksum 04:31:47 5c69ac0246d0: Download complete 04:31:47 3a2ae6a8a46f: Verifying Checksum 04:31:47 3a2ae6a8a46f: Download complete 04:31:47 33b1e0a273af: Verifying Checksum 04:31:47 33b1e0a273af: Download complete 04:31:47 5d3b04190fa2: Verifying Checksum 04:31:47 5d3b04190fa2: Download complete 04:31:47 ec43610c2a17: Verifying Checksum 04:31:47 ec43610c2a17: Download complete 04:31:47 5eb5b503b376: Verifying Checksum 04:31:47 5eb5b503b376: Download complete 04:31:48 2f39f015ded8: Download complete 04:31:49 5eb5b503b376: Pull complete 04:31:49 5c69ac0246d0: Pull complete 04:31:49 ec43610c2a17: Pull complete 04:31:49 3a2ae6a8a46f: Pull complete 04:31:49 33b1e0a273af: Pull complete 04:31:50 5d3b04190fa2: Pull complete 04:31:55 2f39f015ded8: Pull complete 04:31:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:55 prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container 04:31:55 $ 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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:32:00 $ docker top 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:00 ---> job-cost.sh 04:32:00 lf-activate-venv: SKIPPING 04:32:00 INFO: No Stack... 04:32:00 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:01 INFO: Archiving Costs [Pipeline] sh 04:32:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/cost.csv 04:32:01 + cut -d, -f6 [Pipeline] lock 04:32:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] 04:32:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] did not exist. Created. 04:32:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:32:02 + echo total: 0.2199999988079071 [Pipeline] stash 04:32:02 Stashed 1 file(s) [Pipeline] } 04:32:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:32:02 $ docker stop --time=1 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 04:32:03 $ docker rm -f --volumes 52f31365de5f235532b3695815acf9b9e68a2f6738e22e3ca2ffed7e8fd7de08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:32:54 Removing intermediate container f9b1500fd8b5 04:32:54 ---> 6f5b0e897b25 04:32:54 Step 9/10 : COPY . . 04:32:54 ---> 90df44c23bd4 04:32:54 Step 10/10 : RUN ${MAKE} 04:32:54 ---> Running in fb18cf63567c 04:32:54 noop 04:32:54 Removing intermediate container fb18cf63567c 04:32:54 ---> 4e5dd95aec4c 04:32:54 Successfully built 4e5dd95aec4c 04:32:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:55 + docker inspect -f . ci-base-image-arm64 04:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container 04:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:32:56 $ docker top 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:57 + go version 04:32:57 go version go1.20.6 linux/arm64 [Pipeline] } 04:32:57 $ docker stop --time=1 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 04:32:59 $ docker rm -f --volumes 44e8b3681281e765f0110f8944585d62007f935673b9d472e7ee81bd5e6296e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:00 + docker inspect -f . ci-base-image-arm64 04:33:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:00 prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container 04:33:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:33:01 $ docker top d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:33:02 + make test 04:33:02 go test -race -coverprofile=coverage.out ./... 04:33:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:35:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:35:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:35:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:35:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:35:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:35:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements 04:35:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements 04:36:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:36:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:36:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements 04:36:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:36:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.424s coverage: 71.8% of statements 04:36:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.274s coverage: 14.3% of statements 04:36:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:36:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:36:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 6.582s coverage: 43.8% of statements 04:36:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 68.5% of statements 04:36:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.434s coverage: 89.2% of statements 04:36:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:36:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.240s coverage: 5.5% of statements 04:36:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:36:29 GO111MODULE=on go vet ./... 04:38:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:38:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:38:51 ./bin/test-attribution-txt.sh 04:38:51 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:38:51 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:38:51 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:38:51 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:38:51 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:38:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:38:51 $ docker stop --time=1 d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 04:38:52 $ docker rm -f --volumes d442e257f971b7316975022fa6bb396c012e2f5a32218eede1cbd63f196efc25 [Pipeline] // withDockerContainer [Pipeline] sh 04:38:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:38:54 Warning: overwriting stash ‘coverage-report’ 04:38:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:38:56 + ls -al . 04:38:56 total 300 04:38:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 04:33 . 04:38:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:30 .. 04:38:56 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 04:30 .dockerignore 04:38:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 04:30 .git 04:38:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:30 .github 04:38:56 -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 04:30 .gitignore 04:38:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 04:30 .golangci.yml 04:38:56 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 04:30 CHANGELOG.md 04:38:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 04:30 GOVERNANCE.md 04:38:56 -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 04:30 Jenkinsfile 04:38:56 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 04:30 LICENSE 04:38:56 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 04:30 Makefile 04:38:56 -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 04:30 OWNERS.md 04:38:56 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 04:30 README.md 04:38:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 04:28 VERSION 04:38:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 04:30 bin 04:38:56 -rw-r--r-- 1 jenkins jenkins 120271 Aug 9 04:36 coverage.out 04:38:56 drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 04:30 example 04:38:56 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 04:30 go.mod 04:38:56 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 04:30 go.sum 04:38:56 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:30 internal 04:38:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 04:30 openapi 04:38:56 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 04:30 pkg 04:38:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 04:30 snap 04:38:56 -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:56 + 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=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 --label arch=arm64 --label version=0.0.0 . 04:38:56 Sending build context to Docker daemon 6.013MB 04:38:56 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:38:56 Step 2/23 : FROM ${BASE} AS builder 04:38:56 ---> 4e5dd95aec4c 04:38:56 Step 3/23 : ARG MAKE=make build 04:38:56 ---> Running in 343225134cdb 04:38:57 Removing intermediate container 343225134cdb 04:38:57 ---> e36e066d82d8 04:38:57 Step 4/23 : WORKDIR /device-sdk-go 04:38:57 ---> Running in b46b3bdbc1ca 04:38:57 Removing intermediate container b46b3bdbc1ca 04:38:57 ---> 74935bef04f2 04:38:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:38:57 ---> Running in 291ce30891c5 04:38:58 Removing intermediate container 291ce30891c5 04:38:58 ---> d00c89be3615 04:38:58 Step 6/23 : RUN apk add --update --no-cache make git 04:38:58 ---> Running in d75283385040 04:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:39:00 OK: 263 MiB in 53 packages 04:39:02 Removing intermediate container d75283385040 04:39:02 ---> 551eac9318a1 04:39:02 Step 7/23 : COPY go.mod vendor* ./ 04:39:02 ---> 365eba437824 04:39:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:02 ---> Running in a008eaef16cd 04:39:04 Removing intermediate container a008eaef16cd 04:39:04 ---> 50760b7cb4a9 04:39:04 Step 9/23 : COPY . . 04:39:05 ---> 8f9dee7d2eb2 04:39:05 Step 10/23 : RUN ${MAKE} 04:39:05 ---> Running in 2caeefbbf875 04:39:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:41:13 Removing intermediate container 2caeefbbf875 04:41:13 ---> 401b1a485ec3 04:41:13 Step 11/23 : FROM alpine:3.17 04:41:16 3.17: Pulling from library/alpine 04:41:16 4060ece20d7a: Pulling fs layer 04:41:17 4060ece20d7a: Verifying Checksum 04:41:17 4060ece20d7a: Pull complete 04:41:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:41:17 Status: Downloaded newer image for alpine:3.17 04:41:17 ---> 8650cd65339b 04:41:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:41:17 ---> Running in 41a23830b6d7 04:41:17 Removing intermediate container 41a23830b6d7 04:41:17 ---> edf197611867 04:41:17 Step 13/23 : RUN apk add --update --no-cache 04:41:17 ---> Running in ef0575512c62 04:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:41:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:41:20 OK: 7 MiB in 15 packages 04:41:21 Removing intermediate container ef0575512c62 04:41:21 ---> ee6248811175 04:41:21 Step 14/23 : WORKDIR / 04:41:21 ---> Running in 1b27348901b8 04:41:21 Removing intermediate container 1b27348901b8 04:41:21 ---> 1515434a2f61 04:41:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:41:22 ---> bdc40cf5cf6d 04:41:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:41:23 ---> bda925bfef92 04:41:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:41:23 ---> 63847bca489a 04:41:23 Step 18/23 : EXPOSE 59999 04:41:23 ---> Running in d8ed56101793 04:41:24 Removing intermediate container d8ed56101793 04:41:24 ---> ece41570edaf 04:41:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:41:24 ---> Running in 5bfb0d9c05dc 04:41:24 Removing intermediate container 5bfb0d9c05dc 04:41:24 ---> 8c46a6933983 04:41:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:41:24 ---> Running in f0812c881222 04:41:25 Removing intermediate container f0812c881222 04:41:25 ---> 102dcab6df45 04:41:25 Step 21/23 : LABEL arch=arm64 04:41:25 ---> Running in 43b6563f9af3 04:41:25 Removing intermediate container 43b6563f9af3 04:41:25 ---> 993242ebb9eb 04:41:25 Step 22/23 : LABEL git_sha=e091e5f8efce8c81a9f693009b3399adb4b6b9d3 04:41:25 ---> Running in 7a59a3802a6f 04:41:25 Removing intermediate container 7a59a3802a6f 04:41:25 ---> 1afcae695e4e 04:41:25 Step 23/23 : LABEL version=0.0.0 04:41:25 ---> Running in 7e17cac08bbc 04:41:25 Removing intermediate container 7e17cac08bbc 04:41:25 ---> 232c76aa16c8 04:41:25 [Warning] One or more build-args [ARCH] were not consumed 04:41:26 Successfully built 232c76aa16c8 04:41:26 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 04:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:26 04:41:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:27 arm64: Pulling from edgex-lftools-log-publisher 04:41:27 8998bd30e6a1: Pulling fs layer 04:41:27 04944245beec: Pulling fs layer 04:41:27 699f458cf7ca: Pulling fs layer 04:41:27 765212b225bb: Pulling fs layer 04:41:27 f23df028b6ca: Pulling fs layer 04:41:27 d65c8cfc05b1: Pulling fs layer 04:41:27 2437ff75d9bd: Pulling fs layer 04:41:27 765212b225bb: Waiting 04:41:27 d65c8cfc05b1: Waiting 04:41:27 2437ff75d9bd: Waiting 04:41:27 f23df028b6ca: Waiting 04:41:27 04944245beec: Verifying Checksum 04:41:27 04944245beec: Download complete 04:41:27 765212b225bb: Verifying Checksum 04:41:27 765212b225bb: Download complete 04:41:27 f23df028b6ca: Verifying Checksum 04:41:27 f23df028b6ca: Download complete 04:41:27 d65c8cfc05b1: Verifying Checksum 04:41:27 d65c8cfc05b1: Download complete 04:41:27 699f458cf7ca: Verifying Checksum 04:41:27 699f458cf7ca: Download complete 04:41:28 8998bd30e6a1: Verifying Checksum 04:41:28 8998bd30e6a1: Download complete 04:41:30 2437ff75d9bd: Verifying Checksum 04:41:30 2437ff75d9bd: Download complete 04:41:31 8998bd30e6a1: Pull complete 04:41:32 04944245beec: Pull complete 04:41:33 699f458cf7ca: Pull complete 04:41:33 765212b225bb: Pull complete 04:41:34 f23df028b6ca: Pull complete 04:41:34 d65c8cfc05b1: Pull complete 04:41:49 2437ff75d9bd: Pull complete 04:41:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:50 prd-ubuntu20.04-docker-arm64-4c-16g-3177 does not seem to be running inside a container 04:41:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:41:52 $ docker top 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:53 ---> job-cost.sh 04:41:53 lf-activate-venv: SKIPPING 04:41:53 INFO: No Stack... 04:41:53 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:54 INFO: Archiving Costs [Pipeline] sh 04:41:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:41:55 + cut -d, -f6 [Pipeline] lock 04:41:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] 04:41:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] did not exist. Created. 04:41:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:55 /w/workspace/device-sdk-go/1@tmp/durable-9e1167d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:56 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:56 Warning: overwriting stash ‘stack-cost’ 04:41:56 Stashed 1 file(s) [Pipeline] } 04:41:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1492-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:56 $ docker stop --time=1 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c 04:41:57 $ docker rm -f --volumes 72e2fb7f5c0e4fabf4e584a5f337a248cb1080bc2472c4884f601799fbb8603c [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 04:41:58 provisioning config files... 04:41:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config16038463775467890188tmp [Pipeline] { [Pipeline] sh 04:41:59 + set +x 04:41:59 + curl -s https://codecov.io/bash 04:41:59 + bash -s -- 04:41:59 04:41:59 _____ _ 04:41:59 / ____| | | 04:41:59 | | ___ __| | ___ ___ _____ __ 04:41:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:59 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:59 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:59 Bash-1.0.6 04:41:59 04:41:59 04:41:59 ==> git version 2.25.1 found 04:41:59 ==> 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 04:41:59 Release-Date: 2020-01-08 04:41:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:59 ==> Jenkins CI detected. 04:41:59 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1492 04:41:59 project root: . 04:41:59 --> token set from env 04:41:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:59 ==> Running gcov in . (disable via -X gcov) 04:41:59 ==> Python coveragepy not found 04:41:59 ==> Searching for coverage reports in: 04:41:59 + . 04:41:59 -> Found 1 reports 04:41:59 ==> Detecting git/mercurial file structure 04:41:59 ==> Reading reports 04:41:59 + ./coverage.out bytes=120271 04:41:59 ==> Appending adjustments 04:41:59 https://docs.codecov.io/docs/fixing-reports 04:41:59 + Found adjustments 04:41:59 ==> Gzipping contents 04:41:59 20K /tmp/codecov.EQGxaT.gz 04:41:59 ==> Uploading reports 04:41:59 url: https://codecov.io 04:41:59 query: branch=PR-1492&commit=e091e5f8efce8c81a9f693009b3399adb4b6b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1492&job=&cmd_args= 04:41:59 -> Pinging Codecov 04:41:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1492&commit=e091e5f8efce8c81a9f693009b3399adb4b6b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1492&job=&cmd_args= 04:41:59 -> Uploading to 04:41:59 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7E55EF52A471D76F132DFD9A03CDDE97/e091e5f8efce8c81a9f693009b3399adb4b6b9d3/bec46802-77b6-43f5-b711-47e9b026065b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T044159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=457611671c9099086ec9570b0eae1f479cfc82b6b3b0c35e8c9e200d0cabe564 04:41:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:59 Dload Upload Total Spent Left Speed 04:42:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16464 0 0 100 16464 0 84865 --:--:-- --:--:-- --:--:-- 84865 04:42:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e091e5f8efce8c81a9f693009b3399adb4b6b9d3 [Pipeline] } 04:42:00 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 04:42:02 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives ] 04:42:02 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives 04:42:02 total 16 04:42:02 drwxr-xr-x 3 root root 4096 Aug 9 04:32 . 04:42:02 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:32 .. 04:42:02 drwxr-xr-x 2 root root 4096 Aug 9 04:32 cost 04:42:02 -rw-r--r-- 1 root root 86 Aug 9 04:32 cost.csv 04:42:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives 04:42:02 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives 04:42:02 total 16 04:42:02 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 04:32 . 04:42:02 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 04:32 .. 04:42:02 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 04:32 cost 04:42:02 -rw-r--r-- 1 jenkins jenkins 86 Aug 9 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:42:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:42:03 ---> package-listing.sh 04:42:03 ++ facter osfamily 04:42:03 ++ tr '[:upper:]' '[:lower:]' 04:42:03 + OS_FAMILY=debian 04:42:03 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1492 04:42:03 + START_PACKAGES=/tmp/packages_start.txt 04:42:03 + END_PACKAGES=/tmp/packages_end.txt 04:42:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:42:03 + PACKAGES=/tmp/packages_start.txt 04:42:03 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1492 ']' 04:42:03 + PACKAGES=/tmp/packages_end.txt 04:42:03 + case "${OS_FAMILY}" in 04:42:03 + grep '^ii' 04:42:03 + dpkg -l 04:42:03 + '[' -f /tmp/packages_start.txt ']' 04:42:03 + '[' -f /tmp/packages_end.txt ']' 04:42:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:42:03 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1492 ']' 04:42:03 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/ 04:42:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1492/archives/ [Pipeline] echo 04:42:03 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-1492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:42:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:04 prd-ubuntu20.04-docker-8c-8g-3176 does not seem to be running inside a container 04:42:04 $ 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-1492/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-1492 -v /w/workspace/gexfoundry_device-sdk-go_PR-1492:/w/workspace/gexfoundry_device-sdk-go_PR-1492:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:42:05 $ docker top 0bc9c563502d63fa0b8b59ebbee952261034d1b8dfe0ea5fbf9bf46117a60826 -eo pid,comm [Pipeline] { [Pipeline] sh 04:42:05 + touch /tmp/pre-build-complete [Pipeline] sh 04:42:05 + mkdir -p /var/log/sysstat [Pipeline] sh 04:42:06 + ls /var/log/sa-host 04:42:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:06 provisioning config files... 04:42:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1492@tmp/config4185351992439350845tmp [Pipeline] { [Pipeline] echo 04:42:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:42:06 ---> create-netrc.sh [Pipeline] } 04:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:42:07 ---> python-tools-install.sh [Pipeline] echo 04:42:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:42:07 ---> sudo-logs.sh 04:42:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:42:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:42:07 ---> job-cost.sh 04:42:07 lf-activate-venv: SKIPPING 04:42:07 DEBUG: total: 0.2199999988079071 04:42:07 INFO: Retrieving Stack Cost... 04:42:08 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:08 INFO: Archiving Costs [Pipeline] echo 04:42:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:42:08 ---> logs-deploy.sh 04:42:08 lf-activate-venv: SKIPPING 04:42:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1492/1 04:42:08 INFO: archiving workspace using pattern(s): 04:42:09 Archives upload complete. 04:42:10 INFO: archiving logs to Nexus 04:42:10 ---> uname -a: 04:42:10 Linux prd-ubuntu20-04-docker-8c-8g-3176 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:42:10 04:42:10