Pull request #1340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89+64ca9b081847739b4160c0dc87966f6c81a47c16 (d0763f1c05249af318cacca9a3dfeba90f0ef160) 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-ssh8059306939868196418.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3448315033649771217.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1340/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-1340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15934914001935582770.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-1340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11389278332911609095.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16319725779178290015.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-1340/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-1340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17241868584738841280.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6982’ Running on prd-ubuntu20.04-docker-8c-8g-6984 in /w/workspace/gexfoundry_device-sdk-go_PR-1340 [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-1340 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1340/head:refs/remotes/origin/PR-1340 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 Merge succeeded, producing 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 Checking out Revision 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 (PR-1340) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:15:52 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 # 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:15:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:15:52 ========================================================= 04:15:52 EdgeX Global Pipelines Version Info 04:15:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:15:53 ------------------- 04:15:53 stable info: 04:15:53 ------------------- 04:15:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:15:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:15:53 Message: update stable to v1.0.244 04:15:53 ------------------- 04:15:53 experimental info: 04:15:53 ------------------- 04:15:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:15:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:15:53 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:15:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1340 [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1340 [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1340 [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8089d35 [Pipeline] echo 04:15:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:55 provisioning config files... 04:15:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config9913604760282134543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:55 ---> docker-login.sh 04:15:55 nexus3.edgexfoundry.org:10001 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 nexus3.edgexfoundry.org:10002 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 nexus3.edgexfoundry.org:10003 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 nexus3.edgexfoundry.org:10004 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 docker.io 04:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:56 Configure a credential helper to remove this warning. See 04:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:56 04:15:56 Login Succeeded 04:15:56 ---> docker-login.sh ends [Pipeline] } 04:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:15:57 + git rev-list -1 --merges 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89~1..8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [Pipeline] echo 04:15:57 -----------> git rev-list -1 --merges 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89~1..8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [false] [Pipeline] sh 04:15:57 + git log --format=format:%s -1 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [Pipeline] echo 04:15:57 ========================================================= 04:15:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:58 + git log --format=format:%s -1 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [Pipeline] echo 04:15:58 [semverPrep] GIT_COMMIT: 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:15:58 [semverPrep] This is not a build commit. [Pipeline] sh 04:15:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:58 + grep -v github /etc/ssh/ssh_known_hosts 04:15:58 + [ -e /tmp/ssh_known_hosts ] 04:15:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:15:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:15:58 + sudo tee -a /etc/ssh/ssh_known_hosts 04:15:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:59 04:15:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:59 0.1.4: Pulling from edgex-devops/py-git-semver 04:15:59 b85a868b505f: Pulling fs layer 04:15:59 e2be974225ed: Pulling fs layer 04:15:59 339a4e72a1f5: Pulling fs layer 04:15:59 988bab9f4d93: Pulling fs layer 04:15:59 1469e6f7b9e6: Pulling fs layer 04:15:59 eaf3925da568: Pulling fs layer 04:15:59 bab4dde63d76: Pulling fs layer 04:15:59 bde34c3a00c8: Pulling fs layer 04:15:59 b352a97aabf1: Pulling fs layer 04:15:59 4872d77fe225: Pulling fs layer 04:15:59 988bab9f4d93: Waiting 04:15:59 1469e6f7b9e6: Waiting 04:15:59 bab4dde63d76: Waiting 04:15:59 bde34c3a00c8: Waiting 04:15:59 eaf3925da568: Waiting 04:15:59 b352a97aabf1: Waiting 04:15:59 5851b861e8e6: Pulling fs layer 04:15:59 5851b861e8e6: Waiting 04:15:59 e2be974225ed: Download complete 04:15:59 988bab9f4d93: Download complete 04:15:59 1469e6f7b9e6: Verifying Checksum 04:15:59 1469e6f7b9e6: Download complete 04:15:59 eaf3925da568: Verifying Checksum 04:15:59 eaf3925da568: Download complete 04:15:59 339a4e72a1f5: Verifying Checksum 04:15:59 339a4e72a1f5: Download complete 04:15:59 bde34c3a00c8: Download complete 04:15:59 b352a97aabf1: Download complete 04:15:59 4872d77fe225: Verifying Checksum 04:15:59 4872d77fe225: Download complete 04:15:59 5851b861e8e6: Verifying Checksum 04:15:59 5851b861e8e6: Download complete 04:16:00 b85a868b505f: Verifying Checksum 04:16:00 b85a868b505f: Download complete 04:16:00 bab4dde63d76: Verifying Checksum 04:16:00 bab4dde63d76: Download complete 04:16:01 b85a868b505f: Pull complete 04:16:01 e2be974225ed: Pull complete 04:16:01 339a4e72a1f5: Pull complete 04:16:01 988bab9f4d93: Pull complete 04:16:02 1469e6f7b9e6: Pull complete 04:16:02 eaf3925da568: Pull complete 04:16:04 bab4dde63d76: Pull complete 04:16:04 bde34c3a00c8: Pull complete 04:16:04 b352a97aabf1: Pull complete 04:16:04 4872d77fe225: Pull complete 04:16:04 5851b861e8e6: Pull complete 04:16:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:16:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:04 prd-ubuntu20.04-docker-8c-8g-6984 does not seem to be running inside a container 04:16:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@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:16:05 $ docker top 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 -eo pid,comm 04:16:05 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:16:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:16:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:05 [ssh-agent] Looking for ssh-agent implementation... 04:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:06 $ docker exec 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 ssh-agent 04:16:06 SSH_AUTH_SOCK=/tmp/ssh-uol4KdzwQtwC/agent.32 04:16:06 SSH_AGENT_PID=38 04:16:06 Running ssh-add (command line suppressed) 04:16:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_14556645300208792307.key (/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_14556645300208792307.key) 04:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:06 + git tag --points-at HEAD [Pipeline] } 04:16:06 $ docker exec --env ******** --env ******** 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 ssh-agent -k 04:16:06 unset SSH_AUTH_SOCK; 04:16:06 unset SSH_AGENT_PID; 04:16:06 echo Agent pid 38 killed; 04:16:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:16:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:16:06 [ssh-agent] Looking for ssh-agent implementation... 04:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:16:06 $ docker exec 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 ssh-agent 04:16:07 SSH_AUTH_SOCK=/tmp/ssh-fuQjqd91IGyy/agent.70 04:16:07 SSH_AGENT_PID=76 04:16:07 Running ssh-add (command line suppressed) 04:16:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_198479653868169710.key (/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_198479653868169710.key) 04:16:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:16:07 + git semver init 04:16:07 2023-02-22 04:16:07,754 [run_init] DEBUG init version:0.0.0 force:False 04:16:07 2023-02-22 04:16:07,755 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver 04:16:07 2023-02-22 04:16:07,755 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver 04:16:07 2023-02-22 04:16:07,755 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340, universal_newlines=False, shell=None, istream=None) 04:16:08 2023-02-22 04:16:08,727 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.git/info/exclude 04:16:08 2023-02-22 04:16:08,728 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 with force:False 04:16:08 2023-02-22 04:16:08,728 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 04:16:08 2023-02-22 04:16:08,733 [execute] INFO git cat-file --batch-check 04:16:08 2023-02-22 04:16:08,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver, universal_newlines=False, shell=None, istream=) 04:16:08 2023-02-22 04:16:08,740 [execute] INFO git cat-file --batch 04:16:08 2023-02-22 04:16:08,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver, universal_newlines=False, shell=None, istream=) 04:16:08 2023-02-22 04:16:08,747 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 04:16:08 0.0.0 [Pipeline] } 04:16:09 $ docker exec --env ******** --env ******** 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 ssh-agent -k 04:16:09 unset SSH_AUTH_SOCK; 04:16:09 unset SSH_AGENT_PID; 04:16:09 echo Agent pid 76 killed; 04:16:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:16:09 + git semver [Pipeline] } 04:16:09 $ docker stop --time=1 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 04:16:11 $ docker rm -f --volumes 063c27e8489a2ab05192a1482ac52a9168a588f92f83696f65af4266de9cd132 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:16:11 Stashed 1 file(s) [Pipeline] echo 04:16:11 [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:16:12 provisioning config files... 04:16:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config4631526371472484119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:12 ---> docker-login.sh 04:16:12 nexus3.edgexfoundry.org:10001 04:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:12 Configure a credential helper to remove this warning. See 04:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:12 04:16:12 Login Succeeded 04:16:12 nexus3.edgexfoundry.org:10002 04:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:12 Configure a credential helper to remove this warning. See 04:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:12 04:16:12 Login Succeeded 04:16:12 nexus3.edgexfoundry.org:10003 04:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:12 Configure a credential helper to remove this warning. See 04:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:12 04:16:12 Login Succeeded 04:16:12 nexus3.edgexfoundry.org:10004 04:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:12 Configure a credential helper to remove this warning. See 04:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:12 04:16:12 Login Succeeded 04:16:12 docker.io 04:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:13 Configure a credential helper to remove this warning. See 04:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:13 04:16:13 Login Succeeded 04:16:13 ---> docker-login.sh ends [Pipeline] } 04:16:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:16:13 ========================================================= 04:16:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:16:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:13 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 04:16:13 Sending build context to Docker daemon 10.54MB 04:16:13 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:16:13 Step 2/10 : FROM ${BASE} AS builder 04:16:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:16:14 213ec9aee27d: Pulling fs layer 04:16:14 4583459ba037: Pulling fs layer 04:16:14 93c1e223e6f2: Pulling fs layer 04:16:14 53926ce57604: Pulling fs layer 04:16:14 21b2b0c7a3f4: Pulling fs layer 04:16:14 22ff95d597cd: Pulling fs layer 04:16:14 12d6caf4c0d1: Pulling fs layer 04:16:14 96b7cbca73a9: Pulling fs layer 04:16:14 a7acece74701: Pulling fs layer 04:16:14 53926ce57604: Waiting 04:16:14 22ff95d597cd: Waiting 04:16:14 21b2b0c7a3f4: Waiting 04:16:14 12d6caf4c0d1: Waiting 04:16:14 96b7cbca73a9: Waiting 04:16:14 a7acece74701: Waiting 04:16:14 93c1e223e6f2: Download complete 04:16:14 4583459ba037: Verifying Checksum 04:16:14 4583459ba037: Download complete 04:16:14 21b2b0c7a3f4: Verifying Checksum 04:16:14 21b2b0c7a3f4: Download complete 04:16:14 22ff95d597cd: Download complete 04:16:14 213ec9aee27d: Download complete 04:16:14 213ec9aee27d: Pull complete 04:16:14 12d6caf4c0d1: Verifying Checksum 04:16:14 12d6caf4c0d1: Download complete 04:16:14 4583459ba037: Pull complete 04:16:14 93c1e223e6f2: Pull complete 04:16:15 a7acece74701: Verifying Checksum 04:16:15 a7acece74701: Download complete 04:16:16 96b7cbca73a9: Verifying Checksum 04:16:16 96b7cbca73a9: Download complete 04:16:16 53926ce57604: Verifying Checksum 04:16:16 53926ce57604: Download complete 04:16:19 53926ce57604: Pull complete 04:16:19 21b2b0c7a3f4: Pull complete 04:16:19 22ff95d597cd: Pull complete 04:16:19 12d6caf4c0d1: Pull complete 04:16:21 96b7cbca73a9: Pull complete 04:16:22 a7acece74701: Pull complete 04:16:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:16:22 ---> db6d94c90886 04:16:22 Step 3/10 : ARG MAKE=make build 04:16:23 ---> Running in 9ee4dc9772fe 04:16:23 Removing intermediate container 9ee4dc9772fe 04:16:23 ---> 0d13037d7e03 04:16:23 Step 4/10 : WORKDIR /device-sdk-go 04:16:23 ---> Running in 226685b9b617 04:16:23 Removing intermediate container 226685b9b617 04:16:23 ---> c9c1f5714d9a 04:16:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:16:23 ---> Running in 4a96e38fa405 04:16:24 Removing intermediate container 4a96e38fa405 04:16:24 ---> 1d505e2162b7 04:16:24 Step 6/10 : RUN apk add --update --no-cache make git 04:16:24 ---> Running in 30061b147d54 04:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:16:24 OK: 211 MiB in 51 packages 04:16:25 Removing intermediate container 30061b147d54 04:16:25 ---> 42c1e633f231 04:16:25 Step 7/10 : COPY go.mod vendor* ./ 04:16:25 ---> 93d2c6921c1e 04:16:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:25 ---> Running in f4f1fdd0418a 04:16:27 Still waiting to schedule task 04:16:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6983’ 04:17:03 Removing intermediate container f4f1fdd0418a 04:17:03 ---> b75b29ae8382 04:17:03 Step 9/10 : COPY . . 04:17:03 ---> d4b2e0f456c8 04:17:03 Step 10/10 : RUN ${MAKE} 04:17:03 ---> Running in 4671f437f6a8 04:17:03 noop 04:17:03 Removing intermediate container 4671f437f6a8 04:17:03 ---> 30d8fbb9fa79 04:17:03 Successfully built 30d8fbb9fa79 04:17:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:04 + docker inspect -f . ci-base-image-x86_64 04:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:04 prd-ubuntu20.04-docker-8c-8g-6984 does not seem to be running inside a container 04:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@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:17:04 $ docker top fc3478626d41e4b6a60b9576c5ccce9a4879b4440408c7cec970ceeaf3908a38 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:05 + go version 04:17:05 go version go1.18.7 linux/amd64 [Pipeline] } 04:17:05 $ docker stop --time=1 fc3478626d41e4b6a60b9576c5ccce9a4879b4440408c7cec970ceeaf3908a38 04:17:06 $ docker rm -f --volumes fc3478626d41e4b6a60b9576c5ccce9a4879b4440408c7cec970ceeaf3908a38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:07 + docker inspect -f . ci-base-image-x86_64 04:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:07 prd-ubuntu20.04-docker-8c-8g-6984 does not seem to be running inside a container 04:17:07 $ 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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@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:17:08 $ docker top d671783204e2a0232f88635174c65581dd4e16f17edf7de3dbf495908a9338b6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1340 [Pipeline] fileExists [Pipeline] sh 04:17:08 + make test 04:17:08 go test -race -coverprofile=coverage.out ./... 04:17:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:17:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 04:17:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:17:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.134s coverage: 86.0% of statements 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:17:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:17:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.0% of statements 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:17:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.2% of statements 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:17:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:17:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.7% of statements 04:17:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:17:42 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:17:42 GO111MODULE=on go vet ./... 04:17:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:44 ./bin/test-attribution-txt.sh [Pipeline] echo 04:17:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:44 $ docker stop --time=1 d671783204e2a0232f88635174c65581dd4e16f17edf7de3dbf495908a9338b6 04:17:46 $ docker rm -f --volumes d671783204e2a0232f88635174c65581dd4e16f17edf7de3dbf495908a9338b6 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:17:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:48 + ls -al . 04:17:48 total 272 04:17:48 drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 04:17 . 04:17:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:15 .. 04:17:48 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:15 .dockerignore 04:17:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:17 .git 04:17:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:15 .github 04:17:48 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:15 .gitignore 04:17:48 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:15 .golangci.yml 04:17:48 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:16 .semver 04:17:48 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:15 CHANGELOG.md 04:17:48 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:15 GOVERNANCE.md 04:17:48 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:15 Jenkinsfile 04:17:48 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:15 LICENSE 04:17:48 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:15 Makefile 04:17:48 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:15 OWNERS.md 04:17:48 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:15 README.md 04:17:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:16 VERSION 04:17:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:15 bin 04:17:48 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 04:17 coverage.out 04:17:48 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:15 example 04:17:48 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:15 go.mod 04:17:48 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:15 go.sum 04:17:48 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:15 internal 04:17:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:15 openapi 04:17:48 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:15 pkg 04:17:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:15 snap 04:17:48 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:48 + 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=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 --label arch=amd64 --label version=0.0.0 . 04:17:48 Sending build context to Docker daemon 10.64MB 04:17:48 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:17:48 Step 2/23 : FROM ${BASE} AS builder 04:17:48 ---> 30d8fbb9fa79 04:17:48 Step 3/23 : ARG MAKE=make build 04:17:48 ---> Running in b9ac3e900c39 04:17:49 Removing intermediate container b9ac3e900c39 04:17:49 ---> 7024a72b4159 04:17:49 Step 4/23 : WORKDIR /device-sdk-go 04:17:49 ---> Running in e54d214a7318 04:17:49 Removing intermediate container e54d214a7318 04:17:49 ---> acbf41e17cfe 04:17:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:17:49 ---> Running in 5cc7eb8a5581 04:17:49 Removing intermediate container 5cc7eb8a5581 04:17:49 ---> 94614a402a55 04:17:49 Step 6/23 : RUN apk add --update --no-cache make git 04:17:49 ---> Running in 8d94940c2fd0 04:17:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:17:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:17:50 OK: 211 MiB in 51 packages 04:17:50 Removing intermediate container 8d94940c2fd0 04:17:50 ---> c36fd1979174 04:17:50 Step 7/23 : COPY go.mod vendor* ./ 04:17:50 ---> 3f141ebfec14 04:17:50 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:50 ---> Running in f8f55e2e0004 04:17:51 Removing intermediate container f8f55e2e0004 04:17:51 ---> 861d01fb8e38 04:17:51 Step 9/23 : COPY . . 04:17:51 ---> c26ee6051541 04:17:51 Step 10/23 : RUN ${MAKE} 04:17:51 ---> Running in 09be8f6e9934 04:17:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:18:10 Removing intermediate container 09be8f6e9934 04:18:10 ---> 72daa02c0a62 04:18:10 Step 11/23 : FROM alpine:3.16 04:18:10 3.16: Pulling from library/alpine 04:18:10 ef5531b6e74e: Pulling fs layer 04:18:10 ef5531b6e74e: Download complete 04:18:10 ef5531b6e74e: Pull complete 04:18:10 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:18:10 Status: Downloaded newer image for alpine:3.16 04:18:10 ---> dfd21b5a31f5 04:18:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:10 ---> Running in fe5ff29c6ce3 04:18:10 Removing intermediate container fe5ff29c6ce3 04:18:10 ---> 02d1ee9ec0a2 04:18:10 Step 13/23 : RUN apk add --update --no-cache 04:18:10 ---> Running in 72287d4c36e3 04:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:18:10 OK: 6 MiB in 14 packages 04:18:10 Removing intermediate container 72287d4c36e3 04:18:10 ---> ef238dc30543 04:18:10 Step 14/23 : WORKDIR / 04:18:10 ---> Running in a06645550f53 04:18:10 Removing intermediate container a06645550f53 04:18:10 ---> f21eab999ef7 04:18:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:18:10 ---> ca5e412fe6e4 04:18:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:18:10 ---> d8610bbdb44b 04:18:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:18:10 ---> 03b400acb633 04:18:10 Step 18/23 : EXPOSE 59999 04:18:10 ---> Running in 4a53fe08afe4 04:18:10 Removing intermediate container 4a53fe08afe4 04:18:10 ---> bb155a097269 04:18:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:18:10 ---> Running in c55da86d17f4 04:18:11 Removing intermediate container c55da86d17f4 04:18:11 ---> 492f49fad3cf 04:18:11 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:18:11 ---> Running in 1846c2057c90 04:18:11 Removing intermediate container 1846c2057c90 04:18:11 ---> debfc09ee6c9 04:18:11 Step 21/23 : LABEL arch=amd64 04:18:11 ---> Running in 7c80bec415d2 04:18:11 Removing intermediate container 7c80bec415d2 04:18:11 ---> 55ccdc5cc05b 04:18:11 Step 22/23 : LABEL git_sha=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 04:18:11 ---> Running in 3d59f246c6ce 04:18:11 Removing intermediate container 3d59f246c6ce 04:18:11 ---> 99a1041cdab8 04:18:11 Step 23/23 : LABEL version=0.0.0 04:18:11 ---> Running in 61e7bef6923c 04:18:11 Removing intermediate container 61e7bef6923c 04:18:11 ---> 59bcf47aff78 04:18:11 [Warning] One or more build-args [ARCH] were not consumed 04:18:11 Successfully built 59bcf47aff78 04:18:11 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:12 04:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:12 latest: Pulling from edgex-lftools-log-publisher 04:18:12 5eb5b503b376: Pulling fs layer 04:18:12 5c69ac0246d0: Pulling fs layer 04:18:12 ec43610c2a17: Pulling fs layer 04:18:12 3a2ae6a8a46f: Pulling fs layer 04:18:12 33b1e0a273af: Pulling fs layer 04:18:12 5d3b04190fa2: Pulling fs layer 04:18:12 3a2ae6a8a46f: Waiting 04:18:12 33b1e0a273af: Waiting 04:18:12 5d3b04190fa2: Waiting 04:18:12 2f39f015ded8: Pulling fs layer 04:18:12 2f39f015ded8: Waiting 04:18:12 5c69ac0246d0: Verifying Checksum 04:18:12 5c69ac0246d0: Download complete 04:18:12 3a2ae6a8a46f: Verifying Checksum 04:18:12 3a2ae6a8a46f: Download complete 04:18:12 33b1e0a273af: Verifying Checksum 04:18:12 33b1e0a273af: Download complete 04:18:12 5d3b04190fa2: Download complete 04:18:12 ec43610c2a17: Verifying Checksum 04:18:12 ec43610c2a17: Download complete 04:18:13 5eb5b503b376: Verifying Checksum 04:18:13 5eb5b503b376: Download complete 04:18:13 2f39f015ded8: Download complete 04:18:14 5eb5b503b376: Pull complete 04:18:14 5c69ac0246d0: Pull complete 04:18:14 ec43610c2a17: Pull complete 04:18:14 3a2ae6a8a46f: Pull complete 04:18:14 33b1e0a273af: Pull complete 04:18:14 5d3b04190fa2: Pull complete 04:18:18 2f39f015ded8: Pull complete 04:18:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:19 prd-ubuntu20.04-docker-8c-8g-6984 does not seem to be running inside a container 04:18:19 $ 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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@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:18:20 $ docker top 0ece862860b259a3a1c4773ca49b86e813603e67acfb11b4d25dfa440c7ba68f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:20 ---> job-cost.sh 04:18:20 lf-activate-venv: SKIPPING 04:18:20 INFO: No Stack... 04:18:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:21 INFO: Archiving Costs [Pipeline] sh 04:18:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/cost.csv 04:18:21 + cut -d, -f6 [Pipeline] lock 04:18:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] 04:18:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] did not exist. Created. 04:18:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:18:21 Stashed 1 file(s) [Pipeline] } 04:18:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:22 $ docker stop --time=1 0ece862860b259a3a1c4773ca49b86e813603e67acfb11b4d25dfa440c7ba68f 04:18:23 $ docker rm -f --volumes 0ece862860b259a3a1c4773ca49b86e813603e67acfb11b4d25dfa440c7ba68f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:18:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6992 in /w/workspace/gexfoundry_device-sdk-go_PR-1340 [Pipeline] { [Pipeline] ws 04:18:54 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:18:54 The recommended git tool is: git 04:19:00 using credential edgex-jenkins-ssh 04:19:00 Cloning the remote Git repository 04:19:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:19:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:19:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:01 > git --version # timeout=10 04:19:01 > git --version # 'git version 2.25.1' 04:19:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:19:05 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 04:19:05 Merge succeeded, producing 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 04:19:05 Checking out Revision 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 (PR-1340) 04:19:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:19:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1340/head:refs/remotes/origin/PR-1340 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:19:05 > git config core.sparsecheckout # timeout=10 04:19:05 > git checkout -f 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 # timeout=10 04:19:05 > git remote # timeout=10 04:19:05 > git config --get remote.origin.url # timeout=10 04:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:05 > git merge 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 04:19:05 > git rev-parse HEAD^{commit} # timeout=10 04:19:05 > git config core.sparsecheckout # timeout=10 04:19:05 > git checkout -f 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 # timeout=10 04:19:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:19:06 > git --version # timeout=10 04:19:06 > git --version # 'git version 2.25.1' 04:19:06 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:07 Dload Upload Total Spent Left Speed 04:19:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 04:19:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:08 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 04:19:08 tee /etc/docker/daemon.new 04:19:08 { 04:19:08 "registry-mirrors": [ 04:19:08 "https://nexus3.edgexfoundry.org:10001" 04:19:08 ], 04:19:08 "bip": "10.250.0.254/24", 04:19:08 "hosts": [ 04:19:08 "tcp://0.0.0.0:5555", 04:19:08 "unix:///var/run/docker.sock" 04:19:08 ], 04:19:08 "mtu": 1458, 04:19:08 "selinux-enabled": true, 04:19:08 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:08 } [Pipeline] sh 04:19:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:19:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:27 provisioning config files... 04:19:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2643856495522183686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:28 ---> docker-login.sh 04:19:28 nexus3.edgexfoundry.org:10001 04:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:29 Configure a credential helper to remove this warning. See 04:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:29 04:19:29 Login Succeeded 04:19:29 nexus3.edgexfoundry.org:10002 04:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:29 Configure a credential helper to remove this warning. See 04:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:29 04:19:29 Login Succeeded 04:19:29 nexus3.edgexfoundry.org:10003 04:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:29 Configure a credential helper to remove this warning. See 04:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:29 04:19:29 Login Succeeded 04:19:29 nexus3.edgexfoundry.org:10004 04:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:30 Configure a credential helper to remove this warning. See 04:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:30 04:19:30 Login Succeeded 04:19:30 docker.io 04:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:31 Configure a credential helper to remove this warning. See 04:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:31 04:19:31 Login Succeeded 04:19:31 ---> docker-login.sh ends [Pipeline] } 04:19:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:31 ========================================================= 04:19:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:19:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:32 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 04:19:32 Sending build context to Docker daemon 5.66MB 04:19:32 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:19:32 Step 2/10 : FROM ${BASE} AS builder 04:19:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:19:32 9b18e9b68314: Pulling fs layer 04:19:32 35d82f9e3411: Pulling fs layer 04:19:32 e16973657156: Pulling fs layer 04:19:32 fc693d55d65f: Pulling fs layer 04:19:32 7e9fc2657dce: Pulling fs layer 04:19:32 dda99020689f: Pulling fs layer 04:19:32 db1c61fa0a46: Pulling fs layer 04:19:32 891c053d2c06: Pulling fs layer 04:19:32 fc693d55d65f: Waiting 04:19:32 7e9fc2657dce: Waiting 04:19:32 dda99020689f: Waiting 04:19:32 db1c61fa0a46: Waiting 04:19:32 891c053d2c06: Waiting 04:19:32 e16973657156: Verifying Checksum 04:19:32 e16973657156: Download complete 04:19:32 35d82f9e3411: Verifying Checksum 04:19:32 35d82f9e3411: Download complete 04:19:33 7e9fc2657dce: Verifying Checksum 04:19:33 7e9fc2657dce: Download complete 04:19:33 dda99020689f: Download complete 04:19:33 9b18e9b68314: Verifying Checksum 04:19:33 9b18e9b68314: Download complete 04:19:34 9b18e9b68314: Pull complete 04:19:34 891c053d2c06: Verifying Checksum 04:19:34 891c053d2c06: Download complete 04:19:34 35d82f9e3411: Pull complete 04:19:34 e16973657156: Pull complete 04:19:35 db1c61fa0a46: Verifying Checksum 04:19:36 fc693d55d65f: Verifying Checksum 04:19:36 fc693d55d65f: Download complete 04:19:51 fc693d55d65f: Pull complete 04:19:51 7e9fc2657dce: Pull complete 04:19:51 dda99020689f: Pull complete 04:19:55 db1c61fa0a46: Pull complete 04:19:56 891c053d2c06: Pull complete 04:19:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:19:56 ---> f96f9c87975a 04:19:56 Step 3/10 : ARG MAKE=make build 04:19:59 ---> Running in 47a66090982d 04:19:59 Removing intermediate container 47a66090982d 04:19:59 ---> 8a27c5bbb373 04:19:59 Step 4/10 : WORKDIR /device-sdk-go 04:19:59 ---> Running in ae00cef14988 04:19:59 Removing intermediate container ae00cef14988 04:19:59 ---> 52382e690dbe 04:19:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:00 ---> Running in f5859e425bb1 04:20:00 Removing intermediate container f5859e425bb1 04:20:00 ---> e3525facaf10 04:20:00 Step 6/10 : RUN apk add --update --no-cache make git 04:20:00 ---> Running in 8350d3de28f4 04:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:20:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:20:03 OK: 221 MiB in 51 packages 04:20:06 Removing intermediate container 8350d3de28f4 04:20:06 ---> 44dfaaa2ecd2 04:20:06 Step 7/10 : COPY go.mod vendor* ./ 04:20:06 ---> 08a9c3275b2b 04:20:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:06 ---> Running in c52348ef7420 04:21:14 Removing intermediate container c52348ef7420 04:21:14 ---> 5e976c21a0c3 04:21:14 Step 9/10 : COPY . . 04:21:14 ---> 2d610ca5b3fb 04:21:14 Step 10/10 : RUN ${MAKE} 04:21:14 ---> Running in 7e53b3a3dd60 04:21:14 noop 04:21:14 Removing intermediate container 7e53b3a3dd60 04:21:14 ---> 17dbf543ee6d 04:21:14 Successfully built 17dbf543ee6d 04:21:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:15 + docker inspect -f . ci-base-image-arm64 04:21:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:15 prd-ubuntu20.04-docker-arm64-4c-16g-6992 does not seem to be running inside a container 04:21:15 $ 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:21:17 $ docker top b2bf0efc5e98b412666925d6f991f107cc27ec3994ba13f4f87752a4c59eff2d -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:18 + go version 04:21:18 go version go1.18.7 linux/arm64 [Pipeline] } 04:21:18 $ docker stop --time=1 b2bf0efc5e98b412666925d6f991f107cc27ec3994ba13f4f87752a4c59eff2d 04:21:19 $ docker rm -f --volumes b2bf0efc5e98b412666925d6f991f107cc27ec3994ba13f4f87752a4c59eff2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:20 + docker inspect -f . ci-base-image-arm64 04:21:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:21 prd-ubuntu20.04-docker-arm64-4c-16g-6992 does not seem to be running inside a container 04:21:21 $ 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:21:22 $ docker top 46d660a5dba70eca358aea171ce0deb20d0cdc7f5e99246db0851a1533bc5406 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:21:24 + make test 04:21:24 go test -race -coverprofile=coverage.out ./... 04:22:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:24:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:24:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:24:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:24:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:24:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:24:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.306s coverage: 27.6% of statements 04:24:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.376s coverage: 78.9% of statements 04:24:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:24:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.448s coverage: 86.0% of statements 04:24:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:24:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:24:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.691s coverage: 77.0% of statements 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:24:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.510s coverage: 65.2% of statements 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:24:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.836s coverage: 89.2% of statements 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:24:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.322s coverage: 4.7% of statements 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:24:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:24:33 GO111MODULE=on go vet ./... 04:26:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:26:25 ./bin/test-attribution-txt.sh [Pipeline] echo 04:26:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:26:25 $ docker stop --time=1 46d660a5dba70eca358aea171ce0deb20d0cdc7f5e99246db0851a1533bc5406 04:26:27 $ docker rm -f --volumes 46d660a5dba70eca358aea171ce0deb20d0cdc7f5e99246db0851a1533bc5406 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:29 Warning: overwriting stash ‘coverage-report’ 04:26:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:31 + ls -al . 04:26:31 total 268 04:26:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 04:21 . 04:26:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:19 .. 04:26:31 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:19 .dockerignore 04:26:31 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:19 .git 04:26:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:19 .github 04:26:31 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:19 .gitignore 04:26:31 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:19 .golangci.yml 04:26:31 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:19 CHANGELOG.md 04:26:31 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:19 GOVERNANCE.md 04:26:31 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:19 Jenkinsfile 04:26:31 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:19 LICENSE 04:26:31 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:19 Makefile 04:26:31 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:19 OWNERS.md 04:26:31 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:19 README.md 04:26:31 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:16 VERSION 04:26:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:19 bin 04:26:31 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 04:24 coverage.out 04:26:31 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:19 example 04:26:31 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:19 go.mod 04:26:31 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:19 go.sum 04:26:31 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:19 internal 04:26:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:19 openapi 04:26:31 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:19 pkg 04:26:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:19 snap 04:26:31 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:31 + 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=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 --label arch=arm64 --label version=0.0.0 . 04:26:32 Sending build context to Docker daemon 5.759MB 04:26:32 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:26:32 Step 2/23 : FROM ${BASE} AS builder 04:26:32 ---> 17dbf543ee6d 04:26:32 Step 3/23 : ARG MAKE=make build 04:26:32 ---> Running in 1027853614a1 04:26:32 Removing intermediate container 1027853614a1 04:26:32 ---> a5b6a41bfee2 04:26:32 Step 4/23 : WORKDIR /device-sdk-go 04:26:32 ---> Running in 08a327c4292c 04:26:32 Removing intermediate container 08a327c4292c 04:26:32 ---> d5a83e469cdd 04:26:32 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:26:32 ---> Running in b0dd549ac107 04:26:33 Removing intermediate container b0dd549ac107 04:26:33 ---> 41ae1e103a1e 04:26:33 Step 6/23 : RUN apk add --update --no-cache make git 04:26:33 ---> Running in 89649ca92a0a 04:26:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:26:36 OK: 221 MiB in 51 packages 04:26:37 Removing intermediate container 89649ca92a0a 04:26:37 ---> 0f3f9c20d445 04:26:37 Step 7/23 : COPY go.mod vendor* ./ 04:26:37 ---> 725a93c8a32f 04:26:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:37 ---> Running in ae22d546b1a2 04:26:40 Removing intermediate container ae22d546b1a2 04:26:40 ---> 48063c4ba6b0 04:26:40 Step 9/23 : COPY . . 04:26:41 ---> 79188db90315 04:26:41 Step 10/23 : RUN ${MAKE} 04:26:41 ---> Running in 187a0b9664b7 04:26:42 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:29:19 Removing intermediate container 187a0b9664b7 04:29:19 ---> 6015aac1b1e8 04:29:19 Step 11/23 : FROM alpine:3.16 04:29:19 3.16: Pulling from library/alpine 04:29:19 3760b48202b3: Pulling fs layer 04:29:19 3760b48202b3: Download complete 04:29:19 3760b48202b3: Pull complete 04:29:19 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:29:19 Status: Downloaded newer image for alpine:3.16 04:29:19 ---> 4c81e5bf8899 04:29:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:29:19 ---> Running in ee747def2d22 04:29:19 Removing intermediate container ee747def2d22 04:29:19 ---> a47e93bd87ab 04:29:19 Step 13/23 : RUN apk add --update --no-cache 04:29:19 ---> Running in c22f43913002 04:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:29:19 OK: 5 MiB in 14 packages 04:29:19 Removing intermediate container c22f43913002 04:29:19 ---> c054af27cfd9 04:29:19 Step 14/23 : WORKDIR / 04:29:19 ---> Running in 957e06168403 04:29:19 Removing intermediate container 957e06168403 04:29:19 ---> 4f9cefe0abcb 04:29:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:29:19 ---> 20373d05029e 04:29:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:29:19 ---> 43f472a39fd9 04:29:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:29:19 ---> 0c6d78e3b9b3 04:29:19 Step 18/23 : EXPOSE 59999 04:29:19 ---> Running in 13b886f8987d 04:29:19 Removing intermediate container 13b886f8987d 04:29:19 ---> 26e6ebbb97b7 04:29:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:29:19 ---> Running in 74f82ac62552 04:29:19 Removing intermediate container 74f82ac62552 04:29:19 ---> 6f222f3e4b24 04:29:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:29:19 ---> Running in 618343bf7ff4 04:29:19 Removing intermediate container 618343bf7ff4 04:29:19 ---> 75e3adad3c3a 04:29:19 Step 21/23 : LABEL arch=arm64 04:29:19 ---> Running in 848738851baa 04:29:19 Removing intermediate container 848738851baa 04:29:19 ---> 0e6f9f6dbe48 04:29:19 Step 22/23 : LABEL git_sha=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 04:29:19 ---> Running in 59bf87393a25 04:29:19 Removing intermediate container 59bf87393a25 04:29:19 ---> 75880c1e957a 04:29:19 Step 23/23 : LABEL version=0.0.0 04:29:19 ---> Running in e76649454846 04:29:19 Removing intermediate container e76649454846 04:29:19 ---> da38498f5882 04:29:19 [Warning] One or more build-args [ARCH] were not consumed 04:29:19 Successfully built da38498f5882 04:29:19 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:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:20 04:29:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:21 arm64: Pulling from edgex-lftools-log-publisher 04:29:21 8998bd30e6a1: Pulling fs layer 04:29:21 04944245beec: Pulling fs layer 04:29:21 699f458cf7ca: Pulling fs layer 04:29:21 765212b225bb: Pulling fs layer 04:29:21 f23df028b6ca: Pulling fs layer 04:29:21 d65c8cfc05b1: Pulling fs layer 04:29:21 2437ff75d9bd: Pulling fs layer 04:29:21 f23df028b6ca: Waiting 04:29:21 d65c8cfc05b1: Waiting 04:29:21 2437ff75d9bd: Waiting 04:29:21 765212b225bb: Waiting 04:29:21 04944245beec: Verifying Checksum 04:29:21 04944245beec: Download complete 04:29:21 765212b225bb: Verifying Checksum 04:29:21 765212b225bb: Download complete 04:29:21 f23df028b6ca: Verifying Checksum 04:29:21 f23df028b6ca: Download complete 04:29:21 d65c8cfc05b1: Verifying Checksum 04:29:21 d65c8cfc05b1: Download complete 04:29:21 699f458cf7ca: Verifying Checksum 04:29:21 699f458cf7ca: Download complete 04:29:21 8998bd30e6a1: Verifying Checksum 04:29:21 8998bd30e6a1: Download complete 04:29:24 2437ff75d9bd: Verifying Checksum 04:29:24 2437ff75d9bd: Download complete 04:29:26 8998bd30e6a1: Pull complete 04:29:26 04944245beec: Pull complete 04:29:28 699f458cf7ca: Pull complete 04:29:28 765212b225bb: Pull complete 04:29:29 f23df028b6ca: Pull complete 04:29:29 d65c8cfc05b1: Pull complete 04:29:44 2437ff75d9bd: Pull complete 04:29:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:44 prd-ubuntu20.04-docker-arm64-4c-16g-6992 does not seem to be running inside a container 04:29:44 $ 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:29:47 $ docker top d2a5b000fd5ebe5e9b73409d2fef89712bc0e1c934cca4d9bb38b11122a5725e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:48 ---> job-cost.sh 04:29:48 lf-activate-venv: SKIPPING 04:29:48 INFO: No Stack... 04:29:48 INFO: Retrieving Pricing Info for: v3-standard-4 04:29:49 INFO: Archiving Costs [Pipeline] sh 04:29:50 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:29:50 + cut -d, -f6 [Pipeline] lock 04:29:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] 04:29:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] did not exist. Created. 04:29:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:51 /w/workspace/device-sdk-go/1@tmp/durable-74178c05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:29:51 + echo total: 0.10999999940395355 [Pipeline] stash 04:29:51 Warning: overwriting stash ‘stack-cost’ 04:29:51 Stashed 1 file(s) [Pipeline] } 04:29:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:51 $ docker stop --time=1 d2a5b000fd5ebe5e9b73409d2fef89712bc0e1c934cca4d9bb38b11122a5725e 04:29:53 $ docker rm -f --volumes d2a5b000fd5ebe5e9b73409d2fef89712bc0e1c934cca4d9bb38b11122a5725e [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:29:54 provisioning config files... 04:29:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config13159423020055039364tmp [Pipeline] { [Pipeline] sh 04:29:54 + set +x 04:29:54 + curl -s https://codecov.io/bash 04:29:54 + bash -s -- 04:29:54 04:29:54 _____ _ 04:29:54 / ____| | | 04:29:54 | | ___ __| | ___ ___ _____ __ 04:29:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:29:54 | |___| (_) | (_| | __/ (_| (_) \ V / 04:29:54 \_____\___/ \__,_|\___|\___\___/ \_/ 04:29:54 Bash-1.0.6 04:29:54 04:29:54 04:29:54 ==> git version 2.25.1 found 04:29:54 ==> 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:29:54 Release-Date: 2020-01-08 04:29:54 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:29:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:29:54 ==> Jenkins CI detected. 04:29:54 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1340 04:29:54 project root: . 04:29:54 --> token set from env 04:29:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:29:54 ==> Running gcov in . (disable via -X gcov) 04:29:54 ==> Python coveragepy not found 04:29:54 ==> Searching for coverage reports in: 04:29:54 + . 04:29:54 -> Found 1 reports 04:29:54 ==> Detecting git/mercurial file structure 04:29:54 ==> Reading reports 04:29:55 + ./coverage.out bytes=98530 04:29:55 ==> Appending adjustments 04:29:55 https://docs.codecov.io/docs/fixing-reports 04:29:55 + Found adjustments 04:29:55 ==> Gzipping contents 04:29:55 16K /tmp/codecov.wMLiNy.gz 04:29:55 ==> Uploading reports 04:29:55 url: https://codecov.io 04:29:55 query: branch=PR-1340&commit=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1340&job=&cmd_args= 04:29:55 -> Pinging Codecov 04:29:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1340&commit=8089d354aaf66bae519b71d6cd2ba74a9e3c5d89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1340&job=&cmd_args= 04:29:55 -> Uploading to 04:29:55 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/8089d354aaf66bae519b71d6cd2ba74a9e3c5d89/1bf1bb6f-b613-4c38-99b4-59e25ae72559.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T042955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=decbf5046bbca4f2542fb5e29c3273ba068bffbfa4f56e50f8ec44db3b34c0d8 04:29:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:55 Dload Upload Total Spent Left Speed 04:29:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14353 0 0 100 14353 0 71054 --:--:-- --:--:-- --:--:-- 70704 100 14353 0 0 100 14353 0 62134 --:--:-- --:--:-- --:--:-- 61866 04:29:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 [Pipeline] } 04:29:55 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:29:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives ] 04:29:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives 04:29:57 total 16 04:29:57 drwxr-xr-x 3 root root 4096 Feb 22 04:18 . 04:29:57 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:18 .. 04:29:57 drwxr-xr-x 2 root root 4096 Feb 22 04:18 cost 04:29:57 -rw-r--r-- 1 root root 86 Feb 22 04:18 cost.csv 04:29:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives 04:29:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives 04:29:57 total 16 04:29:57 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:18 . 04:29:57 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:18 .. 04:29:57 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 04:18 cost 04:29:57 -rw-r--r-- 1 jenkins jenkins 86 Feb 22 04:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:29:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:29:58 ---> package-listing.sh 04:29:58 ++ facter osfamily 04:29:58 ++ tr '[:upper:]' '[:lower:]' 04:29:58 + OS_FAMILY=debian 04:29:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1340 04:29:58 + START_PACKAGES=/tmp/packages_start.txt 04:29:58 + END_PACKAGES=/tmp/packages_end.txt 04:29:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:29:58 + PACKAGES=/tmp/packages_start.txt 04:29:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1340 ']' 04:29:58 + PACKAGES=/tmp/packages_end.txt 04:29:58 + case "${OS_FAMILY}" in 04:29:58 + dpkg -l 04:29:58 + grep '^ii' 04:29:58 + '[' -f /tmp/packages_start.txt ']' 04:29:58 + '[' -f /tmp/packages_end.txt ']' 04:29:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:29:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1340 ']' 04:29:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/ 04:29:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/ [Pipeline] echo 04:29:58 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-1340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:29:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:59 prd-ubuntu20.04-docker-8c-8g-6984 does not seem to be running inside a container 04:30:00 $ 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-1340/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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@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:30:00 $ docker top 1723a2baf8bdb6cfdfb99463db02d71c2d537aea11be9b3c03d417f0a26d86ce -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:01 + ls /var/log/sa-host 04:30:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:01 provisioning config files... 04:30:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config14564128912533088812tmp [Pipeline] { [Pipeline] echo 04:30:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:01 ---> create-netrc.sh [Pipeline] } 04:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:30:02 ---> python-tools-install.sh [Pipeline] echo 04:30:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:02 ---> sudo-logs.sh 04:30:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:02 ---> job-cost.sh 04:30:02 lf-activate-venv: SKIPPING 04:30:02 DEBUG: total: 0.2199999988079071 04:30:02 INFO: Retrieving Stack Cost... 04:30:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:03 INFO: Archiving Costs [Pipeline] echo 04:30:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:04 ---> logs-deploy.sh 04:30:04 lf-activate-venv: SKIPPING 04:30:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1340/1 04:30:04 INFO: archiving workspace using pattern(s): 04:30:05 Archives upload complete. 04:30:05 INFO: archiving logs to Nexus