Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7951b8c72b787c8c13599feadf581ebd8b475afa+c4c7375013d1152251e98051bf37b0c1fd0193e8 (91ea240647097453dac8c25d8012c97b7e38d297) 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-ssh4077100745258901639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh17150798869540580159.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1144/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-1144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9709182770552946205.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-1144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4464922038644158685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh2938410179526129472.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1144/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-1144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7678411480331585915.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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/v2]] ========================================================= [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.17 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/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-191’ Running on prd-ubuntu20.04-docker-8c-8g-193 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 Merging remotes/origin/main commit c4c7375013d1152251e98051bf37b0c1fd0193e8 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa Merge succeeded, producing 7960e48a4aa37915ea5148864f47d37aed19320f Checking out Revision 7960e48a4aa37915ea5148864f47d37aed19320f (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # 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 c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7960e48a4aa37915ea5148864f47d37aed19320f # timeout=10 Commit message: "Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:43:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:10 ========================================================= 22:43:10 EdgeX Global Pipelines Version Info 22:43:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 # timeout=10 22:43:11 ------------------- 22:43:11 stable info: 22:43:11 ------------------- 22:43:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:11 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:43:11 Message: update stable to v1.0.230 22:43:11 ------------------- 22:43:11 experimental info: 22:43:11 ------------------- 22:43:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:11 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:43:11 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:43:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:43:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:43:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7960e48 [Pipeline] echo 22:43:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:12 provisioning config files... 22:43:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config8655317686441426366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:12 ---> docker-login.sh 22:43:12 nexus3.edgexfoundry.org:10001 22:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:12 Configure a credential helper to remove this warning. See 22:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:12 22:43:12 Login Succeeded 22:43:12 nexus3.edgexfoundry.org:10002 22:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:13 Configure a credential helper to remove this warning. See 22:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:13 22:43:13 Login Succeeded 22:43:13 nexus3.edgexfoundry.org:10003 22:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:13 Configure a credential helper to remove this warning. See 22:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:13 22:43:13 Login Succeeded 22:43:13 nexus3.edgexfoundry.org:10004 22:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:13 Configure a credential helper to remove this warning. See 22:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:13 22:43:13 Login Succeeded 22:43:13 docker.io 22:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:13 Configure a credential helper to remove this warning. See 22:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:13 22:43:13 Login Succeeded 22:43:13 ---> docker-login.sh ends [Pipeline] } 22:43:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:43:14 + git rev-list -1 --merges 7960e48a4aa37915ea5148864f47d37aed19320f~1..7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo 22:43:14 -----------> git rev-list -1 --merges 7960e48a4aa37915ea5148864f47d37aed19320f~1..7960e48a4aa37915ea5148864f47d37aed19320f 7960e48a4aa37915ea5148864f47d37aed19320f 22:43:14 7960e48a4aa37915ea5148864f47d37aed19320f [false] [Pipeline] sh 22:43:14 + git log --format=format:%s -1 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo 22:43:14 ========================================================= 22:43:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:43:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:15 + git log --format=format:%s -1 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo 22:43:15 [semverPrep] GIT_COMMIT: 7960e48a4aa37915ea5148864f47d37aed19320f, Commit Message: Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD [Pipeline] echo 22:43:15 [semverPrep] This is not a build commit. [Pipeline] sh 22:43:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:43:15 + grep -v github /etc/ssh/ssh_known_hosts 22:43:15 + [ -e /tmp/ssh_known_hosts ] 22:43:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:43:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:43:15 + sudo tee -a /etc/ssh/ssh_known_hosts 22:43:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:43:15 22:43:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:43:16 latest: Pulling from edgex-devops/py-git-semver 22:43:16 1fe172e4850f: Pulling fs layer 22:43:16 caf521ccaac6: Pulling fs layer 22:43:16 3ead6fa29328: Pulling fs layer 22:43:16 5c2a1cbceb83: Pulling fs layer 22:43:16 a8d5f1318db7: Pulling fs layer 22:43:16 c427282e49a2: Pulling fs layer 22:43:16 1827001aaf11: Pulling fs layer 22:43:16 0714d37db230: Pulling fs layer 22:43:16 ac28cf19c067: Pulling fs layer 22:43:16 ca983d60f3e2: Pulling fs layer 22:43:16 9f894cec8388: Pulling fs layer 22:43:16 1827001aaf11: Waiting 22:43:16 0714d37db230: Waiting 22:43:16 ac28cf19c067: Waiting 22:43:16 ca983d60f3e2: Waiting 22:43:16 9f894cec8388: Waiting 22:43:16 5c2a1cbceb83: Waiting 22:43:16 a8d5f1318db7: Waiting 22:43:16 c427282e49a2: Waiting 22:43:16 caf521ccaac6: Download complete 22:43:16 5c2a1cbceb83: Verifying Checksum 22:43:16 5c2a1cbceb83: Download complete 22:43:16 a8d5f1318db7: Verifying Checksum 22:43:16 a8d5f1318db7: Download complete 22:43:16 3ead6fa29328: Verifying Checksum 22:43:16 3ead6fa29328: Download complete 22:43:16 c427282e49a2: Verifying Checksum 22:43:16 c427282e49a2: Download complete 22:43:16 0714d37db230: Download complete 22:43:16 ac28cf19c067: Verifying Checksum 22:43:16 ac28cf19c067: Download complete 22:43:16 ca983d60f3e2: Download complete 22:43:16 9f894cec8388: Verifying Checksum 22:43:16 9f894cec8388: Download complete 22:43:16 1fe172e4850f: Verifying Checksum 22:43:16 1fe172e4850f: Download complete 22:43:16 1827001aaf11: Verifying Checksum 22:43:16 1827001aaf11: Download complete 22:43:17 1fe172e4850f: Pull complete 22:43:17 caf521ccaac6: Pull complete 22:43:18 3ead6fa29328: Pull complete 22:43:18 5c2a1cbceb83: Pull complete 22:43:18 a8d5f1318db7: Pull complete 22:43:18 c427282e49a2: Pull complete 22:43:20 1827001aaf11: Pull complete 22:43:20 0714d37db230: Pull complete 22:43:20 ac28cf19c067: Pull complete 22:43:20 ca983d60f3e2: Pull complete 22:43:20 9f894cec8388: Pull complete 22:43:20 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:43:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:20 prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container 22:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:43:22 $ docker top 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 -eo pid,comm 22:43:22 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). 22:43:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:43:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:22 [ssh-agent] Looking for ssh-agent implementation... 22:43:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:22 $ docker exec 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent 22:43:22 SSH_AUTH_SOCK=/tmp/ssh-KCsp2nSjSXB0/agent.32 22:43:22 SSH_AGENT_PID=38 22:43:22 Running ssh-add (command line suppressed) 22:43:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_7355852080296735679.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_7355852080296735679.key) 22:43:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:23 + git tag --points-at HEAD [Pipeline] } 22:43:23 $ docker exec --env ******** --env ******** 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent -k 22:43:23 unset SSH_AUTH_SOCK; 22:43:23 unset SSH_AGENT_PID; 22:43:23 echo Agent pid 38 killed; 22:43:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:43:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:23 [ssh-agent] Looking for ssh-agent implementation... 22:43:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:23 $ docker exec 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent 22:43:23 SSH_AUTH_SOCK=/tmp/ssh-2UZ2DsCHregw/agent.72 22:43:23 SSH_AGENT_PID=78 22:43:23 Running ssh-add (command line suppressed) 22:43:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1862869606061727670.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1862869606061727670.key) 22:43:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:24 + git semver init 22:43:24 2022-05-26 22:43:24,324 [run_init] DEBUG init version:0.0.0 force:False 22:43:24 2022-05-26 22:43:24,324 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver 22:43:24 2022-05-26 22:43:24,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver 22:43:24 2022-05-26 22:43:24,325 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) 22:43:25 2022-05-26 22:43:25,071 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude 22:43:25 2022-05-26 22:43:25,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False 22:43:25 2022-05-26 22:43:25,072 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 22:43:25 2022-05-26 22:43:25,077 [execute] INFO git cat-file --batch-check 22:43:25 2022-05-26 22:43:25,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) 22:43:25 2022-05-26 22:43:25,084 [execute] INFO git cat-file --batch 22:43:25 2022-05-26 22:43:25,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) 22:43:25 2022-05-26 22:43:25,091 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 22:43:25 0.0.0 [Pipeline] } 22:43:25 $ docker exec --env ******** --env ******** 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent -k 22:43:25 unset SSH_AUTH_SOCK; 22:43:25 unset SSH_AGENT_PID; 22:43:25 echo Agent pid 78 killed; 22:43:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:25 + git semver [Pipeline] } 22:43:26 $ docker stop --time=1 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 22:43:27 $ docker rm -f 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:27 Stashed 1 file(s) [Pipeline] echo 22:43:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:28 provisioning config files... 22:43:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config7173859471404383888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:28 ---> docker-login.sh 22:43:28 nexus3.edgexfoundry.org:10001 22:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:28 Configure a credential helper to remove this warning. See 22:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:28 22:43:28 Login Succeeded 22:43:28 nexus3.edgexfoundry.org:10002 22:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:28 Configure a credential helper to remove this warning. See 22:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:28 22:43:28 Login Succeeded 22:43:28 nexus3.edgexfoundry.org:10003 22:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:28 Configure a credential helper to remove this warning. See 22:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:28 22:43:28 Login Succeeded 22:43:28 nexus3.edgexfoundry.org:10004 22:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:28 Configure a credential helper to remove this warning. See 22:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:28 22:43:28 Login Succeeded 22:43:28 docker.io 22:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:29 Configure a credential helper to remove this warning. See 22:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:29 22:43:29 Login Succeeded 22:43:29 ---> docker-login.sh ends [Pipeline] } 22:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:29 ========================================================= 22:43:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:43:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:29 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 22:43:29 Sending build context to Docker daemon 9.632MB 22:43:29 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:43:29 Step 2/11 : FROM ${BASE} AS builder 22:43:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:29 59bf1c3509f3: Pulling fs layer 22:43:29 666ba61612fd: Pulling fs layer 22:43:29 8ed8ca486205: Pulling fs layer 22:43:29 4fe6c5a15a65: Pulling fs layer 22:43:29 22a0e8bec74d: Pulling fs layer 22:43:29 ca2b28591e48: Pulling fs layer 22:43:29 a51346096db8: Pulling fs layer 22:43:29 daebc70d1ce1: Pulling fs layer 22:43:29 0e18a0eac166: Pulling fs layer 22:43:29 4fe6c5a15a65: Waiting 22:43:29 22a0e8bec74d: Waiting 22:43:29 ca2b28591e48: Waiting 22:43:29 a51346096db8: Waiting 22:43:29 daebc70d1ce1: Waiting 22:43:29 0e18a0eac166: Waiting 22:43:29 8ed8ca486205: Verifying Checksum 22:43:29 8ed8ca486205: Download complete 22:43:29 666ba61612fd: Download complete 22:43:29 22a0e8bec74d: Verifying Checksum 22:43:29 22a0e8bec74d: Download complete 22:43:29 ca2b28591e48: Download complete 22:43:29 59bf1c3509f3: Verifying Checksum 22:43:29 a51346096db8: Verifying Checksum 22:43:29 a51346096db8: Download complete 22:43:29 daebc70d1ce1: Verifying Checksum 22:43:29 daebc70d1ce1: Download complete 22:43:29 59bf1c3509f3: Pull complete 22:43:30 666ba61612fd: Pull complete 22:43:30 8ed8ca486205: Pull complete 22:43:30 0e18a0eac166: Verifying Checksum 22:43:30 0e18a0eac166: Download complete 22:43:30 4fe6c5a15a65: Verifying Checksum 22:43:30 4fe6c5a15a65: Download complete 22:43:34 4fe6c5a15a65: Pull complete 22:43:34 22a0e8bec74d: Pull complete 22:43:34 ca2b28591e48: Pull complete 22:43:34 a51346096db8: Pull complete 22:43:34 daebc70d1ce1: Pull complete 22:43:36 0e18a0eac166: Pull complete 22:43:36 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:43:36 ---> f018257e8ee9 22:43:36 Step 3/11 : ARG MAKE=make build 22:43:38 ---> Running in 7bb681db5252 22:43:38 Removing intermediate container 7bb681db5252 22:43:38 ---> 3f61e4b2d6f6 22:43:38 Step 4/11 : WORKDIR /device-sdk-go 22:43:38 ---> Running in 496fc20f32f5 22:43:38 Removing intermediate container 496fc20f32f5 22:43:38 ---> 043ca014913b 22:43:38 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:38 ---> Running in 8ce573b9c52f 22:43:38 Removing intermediate container 8ce573b9c52f 22:43:38 ---> c1dfceccf53c 22:43:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:38 ---> Running in a19fa2485dec 22:43:39 Removing intermediate container a19fa2485dec 22:43:39 ---> 541948c1ae25 22:43:39 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:43:39 ---> Running in 6fdf0bbb12cc 22:43:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:43:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:43:40 OK: 221 MiB in 52 packages 22:43:40 Removing intermediate container 6fdf0bbb12cc 22:43:40 ---> 9d7e28b0d16d 22:43:40 Step 8/11 : COPY go.mod vendor* ./ 22:43:40 ---> 414db81aa670 22:43:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:40 ---> Running in 77247d7f1f4c 22:43:43 Still waiting to schedule task 22:43:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-192’ 22:43:55 Removing intermediate container 77247d7f1f4c 22:43:55 ---> 1389d893dc13 22:43:55 Step 10/11 : COPY . . 22:43:55 ---> d0646901739c 22:43:55 Step 11/11 : RUN ${MAKE} 22:43:55 ---> Running in 96211c27aa70 22:43:55 noop 22:43:56 Removing intermediate container 96211c27aa70 22:43:56 ---> 8792f21ab3f7 22:43:56 Successfully built 8792f21ab3f7 22:43:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:56 + docker inspect -f . ci-base-image-x86_64 22:43:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:56 prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container 22:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:43:57 $ docker top bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:57 + go version 22:43:57 go version go1.17.6 linux/amd64 [Pipeline] } 22:43:57 $ docker stop --time=1 bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 22:43:58 $ docker rm -f bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:59 + docker inspect -f . ci-base-image-x86_64 22:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:59 prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container 22:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:43:59 $ docker top d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:44:00 + make test 22:44:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:44:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 10.8% of statements 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:44:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 34.8% of statements 22:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:44:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 85.4% of statements 22:44:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:44:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:44:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 65.1% of statements 22:44:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements 22:44:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:44:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 22:44:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:44:33 GO111MODULE=on go vet ./... 22:44:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:44:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:44:36 ./bin/test-attribution-txt.sh [Pipeline] echo 22:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:44:37 $ docker stop --time=1 d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 22:44:39 $ docker rm -f d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 [Pipeline] // withDockerContainer [Pipeline] sh 22:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:44:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:40 + ls -al . 22:44:40 total 300 22:44:40 drwxrwxr-x 11 jenkins jenkins 4096 May 26 22:44 . 22:44:40 drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:43 .. 22:44:40 -rw-rw-r-- 1 jenkins jenkins 140 May 26 22:43 .dockerignore 22:44:40 drwxrwxr-x 8 jenkins jenkins 4096 May 26 22:43 .git 22:44:40 drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:43 .github 22:44:40 -rw-rw-r-- 1 jenkins jenkins 131 May 26 22:43 .gitignore 22:44:40 -rw-rw-r-- 1 jenkins jenkins 42 May 26 22:43 .golangci.yml 22:44:40 drwxr-xr-x 3 jenkins jenkins 4096 May 26 22:43 .semver 22:44:40 -rw-rw-r-- 1 jenkins jenkins 29536 May 26 22:43 CHANGELOG.md 22:44:40 -rw-rw-r-- 1 jenkins jenkins 677 May 26 22:43 GOVERNANCE.md 22:44:40 -rw-rw-r-- 1 jenkins jenkins 880 May 26 22:43 Jenkinsfile 22:44:40 -rw-rw-r-- 1 jenkins jenkins 11341 May 26 22:43 LICENSE 22:44:40 -rw-rw-r-- 1 jenkins jenkins 2015 May 26 22:43 Makefile 22:44:40 -rw-rw-r-- 1 jenkins jenkins 619 May 26 22:43 OWNERS.md 22:44:40 -rw-rw-r-- 1 jenkins jenkins 4881 May 26 22:43 README.md 22:44:40 -rw-rw-r-- 1 jenkins jenkins 5 May 26 22:43 VERSION 22:44:40 drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:43 bin 22:44:40 -rw-r--r-- 1 jenkins jenkins 131010 May 26 22:44 coverage.out 22:44:40 drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:43 example 22:44:40 -rw-rw-r-- 1 jenkins jenkins 3159 May 26 22:43 go.mod 22:44:40 -rw-rw-r-- 1 jenkins jenkins 34898 May 26 22:43 go.sum 22:44:40 drwxrwxr-x 15 jenkins jenkins 4096 May 26 22:43 internal 22:44:40 drwxrwxr-x 3 jenkins jenkins 4096 May 26 22:43 openapi 22:44:40 drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:43 pkg 22:44:40 drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:43 snap 22:44:40 -rw-rw-r-- 1 jenkins jenkins 222 May 26 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:41 + 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=7960e48a4aa37915ea5148864f47d37aed19320f --label arch=amd64 --label version=0.0.0 . 22:44:41 Sending build context to Docker daemon 9.763MB 22:44:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:44:41 Step 2/25 : FROM ${BASE} AS builder 22:44:41 ---> 8792f21ab3f7 22:44:41 Step 3/25 : ARG MAKE=make build 22:44:41 ---> Running in 06280aa9dec1 22:44:41 Removing intermediate container 06280aa9dec1 22:44:41 ---> b2bce057b50b 22:44:41 Step 4/25 : WORKDIR /device-sdk-go 22:44:41 ---> Running in 5896a12c8bd3 22:44:41 Removing intermediate container 5896a12c8bd3 22:44:41 ---> 3fd9025f737c 22:44:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:41 ---> Running in 5d39dc7d9dae 22:44:41 Removing intermediate container 5d39dc7d9dae 22:44:41 ---> e1c1101b7712 22:44:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:41 ---> Running in 22402843c0bd 22:44:42 Removing intermediate container 22402843c0bd 22:44:42 ---> b2f1500422d6 22:44:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:44:42 ---> Running in 29c50c1e387c 22:44:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:44:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:44:44 OK: 221 MiB in 52 packages 22:44:44 Removing intermediate container 29c50c1e387c 22:44:44 ---> e5f3dd720fd8 22:44:44 Step 8/25 : COPY go.mod vendor* ./ 22:44:44 ---> bf9354ca1556 22:44:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:44 ---> Running in 7d585a0147d1 22:44:45 Removing intermediate container 7d585a0147d1 22:44:45 ---> 9123fcbd2349 22:44:45 Step 10/25 : COPY . . 22:44:45 ---> f40b9cda32d4 22:44:45 Step 11/25 : RUN ${MAKE} 22:44:45 ---> Running in 1d78ad8bfa08 22:44:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:45:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:45:05 Removing intermediate container 1d78ad8bfa08 22:45:05 ---> 4eb6edefd7cf 22:45:05 Step 12/25 : FROM alpine:3.14 22:45:05 3.14: Pulling from library/alpine 22:45:05 8663204ce13b: Pulling fs layer 22:45:05 8663204ce13b: Verifying Checksum 22:45:05 8663204ce13b: Download complete 22:45:06 8663204ce13b: Pull complete 22:45:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:45:06 Status: Downloaded newer image for alpine:3.14 22:45:06 ---> e04c818066af 22:45:06 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:06 ---> Running in 46963fb15ba5 22:45:06 Removing intermediate container 46963fb15ba5 22:45:06 ---> 77919b8545b6 22:45:06 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:06 ---> Running in e8827a1cfb4c 22:45:07 Removing intermediate container e8827a1cfb4c 22:45:07 ---> 808192814643 22:45:07 Step 15/25 : RUN apk add --update --no-cache zeromq 22:45:07 ---> Running in c619ee59fe1d 22:45:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:45:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:45:08 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:45:08 (2/5) Installing libsodium (1.0.18-r0) 22:45:08 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:45:08 (4/5) Installing libzmq (4.3.4-r0) 22:45:09 (5/5) Installing zeromq (4.3.4-r0) 22:45:09 Executing busybox-1.33.1-r7.trigger 22:45:09 OK: 8 MiB in 19 packages 22:45:09 Removing intermediate container c619ee59fe1d 22:45:09 ---> bb92e2c9ba2d 22:45:09 Step 16/25 : WORKDIR / 22:45:09 ---> Running in 01a6ecee608f 22:45:09 Removing intermediate container 01a6ecee608f 22:45:09 ---> 496b1f4c8e78 22:45:09 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:45:09 ---> 52d72b12d1d1 22:45:09 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:45:10 ---> a596f614faa6 22:45:10 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:45:10 ---> 725f2a725474 22:45:10 Step 20/25 : EXPOSE 59999 22:45:10 ---> Running in 651a647dc180 22:45:10 Removing intermediate container 651a647dc180 22:45:10 ---> 7b5583a83bed 22:45:10 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:45:10 ---> Running in 50ca8b822a5f 22:45:10 Removing intermediate container 50ca8b822a5f 22:45:10 ---> 879ded243dc4 22:45:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:45:10 ---> Running in cd607d45d9dd 22:45:10 Removing intermediate container cd607d45d9dd 22:45:10 ---> f46548dbdc79 22:45:10 Step 23/25 : LABEL arch=amd64 22:45:11 ---> Running in 95ec27bbf153 22:45:11 Removing intermediate container 95ec27bbf153 22:45:11 ---> 03d5a845fa2a 22:45:11 Step 24/25 : LABEL git_sha=7960e48a4aa37915ea5148864f47d37aed19320f 22:45:11 ---> Running in 840d7159b023 22:45:11 Removing intermediate container 840d7159b023 22:45:11 ---> 023a18d9d82d 22:45:11 Step 25/25 : LABEL version=0.0.0 22:45:11 ---> Running in 7aadf358e1e6 22:45:11 Removing intermediate container 7aadf358e1e6 22:45:11 ---> cbbe06aa148e 22:45:11 [Warning] One or more build-args [ARCH] were not consumed 22:45:11 Successfully built cbbe06aa148e 22:45: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 22:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:11 22:45:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:12 latest: Pulling from edgex-lftools-log-publisher 22:45:12 5eb5b503b376: Pulling fs layer 22:45:12 5c69ac0246d0: Pulling fs layer 22:45:12 ec43610c2a17: Pulling fs layer 22:45:12 3a2ae6a8a46f: Pulling fs layer 22:45:12 33b1e0a273af: Pulling fs layer 22:45:12 5d3b04190fa2: Pulling fs layer 22:45:12 2f39f015ded8: Pulling fs layer 22:45:12 33b1e0a273af: Waiting 22:45:12 5d3b04190fa2: Waiting 22:45:12 2f39f015ded8: Waiting 22:45:12 3a2ae6a8a46f: Waiting 22:45:12 5c69ac0246d0: Download complete 22:45:12 3a2ae6a8a46f: Verifying Checksum 22:45:12 3a2ae6a8a46f: Download complete 22:45:12 33b1e0a273af: Verifying Checksum 22:45:12 33b1e0a273af: Download complete 22:45:12 ec43610c2a17: Verifying Checksum 22:45:12 ec43610c2a17: Download complete 22:45:12 5d3b04190fa2: Verifying Checksum 22:45:12 5d3b04190fa2: Download complete 22:45:12 5eb5b503b376: Verifying Checksum 22:45:12 5eb5b503b376: Download complete 22:45:12 2f39f015ded8: Verifying Checksum 22:45:12 2f39f015ded8: Download complete 22:45:13 5eb5b503b376: Pull complete 22:45:13 5c69ac0246d0: Pull complete 22:45:14 ec43610c2a17: Pull complete 22:45:14 3a2ae6a8a46f: Pull complete 22:45:14 33b1e0a273af: Pull complete 22:45:14 5d3b04190fa2: Pull complete 22:45:18 2f39f015ded8: Pull complete 22:45:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:18 prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container 22:45:18 $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:45:20 $ docker top 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:21 ---> job-cost.sh 22:45:21 lf-activate-venv: SKIPPING 22:45:21 INFO: No Stack... 22:45:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:45:21 INFO: Archiving Costs [Pipeline] sh 22:45:22 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv 22:45:22 + cut -d, -f6 [Pipeline] lock 22:45:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] 22:45:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] did not exist. Created. 22:45:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:45:22 + echo total: 0.2199999988079071 [Pipeline] stash 22:45:22 Stashed 1 file(s) [Pipeline] } 22:45:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] // lock [Pipeline] } 22:45:22 $ docker stop --time=1 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e 22:45:23 $ docker rm -f 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-194 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws 22:46:19 Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout 22:46:19 The recommended git tool is: git 22:46:25 using credential edgex-jenkins-ssh 22:46:25 Cloning the remote Git repository 22:46:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:46:25 > git init /w/workspace/device-sdk-go/17 # timeout=10 22:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:25 > git --version # timeout=10 22:46:25 > git --version # 'git version 2.25.1' 22:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:46:27 Merging remotes/origin/main commit c4c7375013d1152251e98051bf37b0c1fd0193e8 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa 22:46:27 Merge succeeded, producing 0d11391d3656177a7c207e9886d38f984a5e50c8 22:46:27 Checking out Revision 0d11391d3656177a7c207e9886d38f984a5e50c8 (PR-1144) 22:46:27 > git config core.sparsecheckout # timeout=10 22:46:27 > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 22:46:27 > git remote # timeout=10 22:46:27 > git config --get remote.origin.url # timeout=10 22:46:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:27 > git merge c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 22:46:27 > git rev-parse HEAD^{commit} # timeout=10 22:46:27 > git config core.sparsecheckout # timeout=10 22:46:27 > git checkout -f 0d11391d3656177a7c207e9886d38f984a5e50c8 # timeout=10 22:46:31 Commit message: "Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD" 22:46:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:31 > git rev-list --no-walk b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 # timeout=10 22:46:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:46:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:32 Dload Upload Total Spent Left Speed 22:46:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 22:46:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:46:33 + sudo jq+ sudo tee /etc/docker/daemon.new 22:46:33 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:46:33 { 22:46:33 "registry-mirrors": [ 22:46:33 "https://nexus3.edgexfoundry.org:10001" 22:46:33 ], 22:46:33 "bip": "10.250.0.254/24", 22:46:33 "hosts": [ 22:46:33 "tcp://0.0.0.0:5555", 22:46:33 "unix:///var/run/docker.sock" 22:46:33 ], 22:46:33 "mtu": 1458, 22:46:33 "selinux-enabled": true, 22:46:33 "seccomp-profile": "/etc/docker/seccomp.json" 22:46:33 } [Pipeline] sh 22:46:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:46:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:52 provisioning config files... 22:46:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config7285804964449195360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:53 ---> docker-login.sh 22:46:53 nexus3.edgexfoundry.org:10001 22:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:54 Configure a credential helper to remove this warning. See 22:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:54 22:46:54 Login Succeeded 22:46:54 nexus3.edgexfoundry.org:10002 22:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:54 Configure a credential helper to remove this warning. See 22:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:54 22:46:54 Login Succeeded 22:46:54 nexus3.edgexfoundry.org:10003 22:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:54 Configure a credential helper to remove this warning. See 22:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:54 22:46:54 Login Succeeded 22:46:54 nexus3.edgexfoundry.org:10004 22:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:55 Configure a credential helper to remove this warning. See 22:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:55 22:46:55 Login Succeeded 22:46:55 docker.io 22:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:56 Configure a credential helper to remove this warning. See 22:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:56 22:46:56 Login Succeeded 22:46:56 ---> docker-login.sh ends [Pipeline] } 22:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:56 ========================================================= 22:46:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:46:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:57 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 22:46:57 Sending build context to Docker daemon 5.157MB 22:46:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:46:57 Step 2/11 : FROM ${BASE} AS builder 22:46:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:57 9b3977197b4f: Pulling fs layer 22:46:57 1a89e8eeedd5: Pulling fs layer 22:46:57 94645a83ff95: Pulling fs layer 22:46:57 3f3a8bcf1eab: Pulling fs layer 22:46:57 0c92f367c5e7: Pulling fs layer 22:46:57 3096ccb668a1: Pulling fs layer 22:46:57 e8cf19c19ddd: Pulling fs layer 22:46:57 a4caa8a26152: Pulling fs layer 22:46:57 3f3a8bcf1eab: Waiting 22:46:57 3096ccb668a1: Waiting 22:46:57 e8cf19c19ddd: Waiting 22:46:57 a4caa8a26152: Waiting 22:46:57 0c92f367c5e7: Waiting 22:46:57 94645a83ff95: Verifying Checksum 22:46:57 94645a83ff95: Download complete 22:46:57 1a89e8eeedd5: Verifying Checksum 22:46:57 1a89e8eeedd5: Download complete 22:46:57 0c92f367c5e7: Verifying Checksum 22:46:57 0c92f367c5e7: Download complete 22:46:57 3096ccb668a1: Download complete 22:46:57 9b3977197b4f: Verifying Checksum 22:46:57 9b3977197b4f: Download complete 22:46:57 e8cf19c19ddd: Verifying Checksum 22:46:57 e8cf19c19ddd: Download complete 22:46:58 9b3977197b4f: Pull complete 22:46:59 1a89e8eeedd5: Pull complete 22:46:59 94645a83ff95: Pull complete 22:46:59 a4caa8a26152: Verifying Checksum 22:46:59 a4caa8a26152: Download complete 22:47:00 3f3a8bcf1eab: Verifying Checksum 22:47:00 3f3a8bcf1eab: Download complete 22:47:12 3f3a8bcf1eab: Pull complete 22:47:12 0c92f367c5e7: Pull complete 22:47:12 3096ccb668a1: Pull complete 22:47:12 e8cf19c19ddd: Pull complete 22:47:19 a4caa8a26152: Pull complete 22:47:19 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:47:19 ---> 725f1c02e7f9 22:47:19 Step 3/11 : ARG MAKE=make build 22:47:19 ---> Running in 594c901cb81a 22:47:20 Removing intermediate container 594c901cb81a 22:47:20 ---> 8a9ca29c3967 22:47:20 Step 4/11 : WORKDIR /device-sdk-go 22:47:20 ---> Running in dcd346dbee70 22:47:20 Removing intermediate container dcd346dbee70 22:47:20 ---> 5ede107a7023 22:47:20 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:20 ---> Running in 1061f38cfb0d 22:47:20 Removing intermediate container 1061f38cfb0d 22:47:20 ---> 0735e8a531c4 22:47:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:21 ---> Running in 985fffba8be5 22:47:23 Removing intermediate container 985fffba8be5 22:47:23 ---> 124817d4372f 22:47:23 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:23 ---> Running in 98673f9bb1c8 22:47:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:47:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:47:25 OK: 220 MiB in 52 packages 22:47:26 Removing intermediate container 98673f9bb1c8 22:47:26 ---> 76dc6b771c5d 22:47:26 Step 8/11 : COPY go.mod vendor* ./ 22:47:26 ---> 1158f40332f4 22:47:26 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:26 ---> Running in 6018065f40c0 22:48:13 Removing intermediate container 6018065f40c0 22:48:13 ---> 783155eb4686 22:48:13 Step 10/11 : COPY . . 22:48:13 ---> 6da90ae387e3 22:48:13 Step 11/11 : RUN ${MAKE} 22:48:13 ---> Running in cfc003012294 22:48:13 noop 22:48:13 Removing intermediate container cfc003012294 22:48:13 ---> 5d95063f3b14 22:48:13 Successfully built 5d95063f3b14 22:48:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:14 + docker inspect -f . ci-base-image-arm64 22:48:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:14 prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container 22:48:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:15 $ docker top dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:16 + go version 22:48:16 go version go1.17.6 linux/arm64 [Pipeline] } 22:48:16 $ docker stop --time=1 dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 22:48:18 $ docker rm -f dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:19 + docker inspect -f . ci-base-image-arm64 22:48:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:19 prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container 22:48:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:20 $ docker top fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:48:21 + make test 22:48:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:48:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:50:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:50:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:50:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:50:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.319s coverage: 23.3% of statements 22:50:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:50:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements 22:50:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.348s coverage: 78.9% of statements 22:50:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.283s coverage: 10.8% of statements 22:50:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.409s coverage: 60.0% of statements 22:50:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:50:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:50:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.418s coverage: 34.8% of statements 22:50:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:50:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.345s coverage: 85.4% of statements 22:50:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:50:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:50:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.459s coverage: 65.1% of statements 22:50:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.106s coverage: 89.2% of statements 22:50:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:50:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements 22:50:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:50:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:48 GO111MODULE=on go vet ./... 22:52:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:52:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:52:09 ./bin/test-attribution-txt.sh [Pipeline] echo 22:52:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:52:10 $ docker stop --time=1 fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 22:52:12 $ docker rm -f fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 [Pipeline] // withDockerContainer [Pipeline] sh 22:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:52:13 Warning: overwriting stash ‘coverage-report’ 22:52:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:52:14 + ls -al . 22:52:14 total 296 22:52:14 drwxrwxr-x 10 jenkins jenkins 4096 May 26 22:52 . 22:52:14 drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:46 .. 22:52:14 -rw-rw-r-- 1 jenkins jenkins 140 May 26 22:46 .dockerignore 22:52:14 drwxrwxr-x 8 jenkins jenkins 4096 May 26 22:46 .git 22:52:14 drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:46 .github 22:52:14 -rw-rw-r-- 1 jenkins jenkins 131 May 26 22:46 .gitignore 22:52:14 -rw-rw-r-- 1 jenkins jenkins 42 May 26 22:46 .golangci.yml 22:52:14 -rw-rw-r-- 1 jenkins jenkins 29536 May 26 22:46 CHANGELOG.md 22:52:14 -rw-rw-r-- 1 jenkins jenkins 677 May 26 22:46 GOVERNANCE.md 22:52:14 -rw-rw-r-- 1 jenkins jenkins 880 May 26 22:46 Jenkinsfile 22:52:14 -rw-rw-r-- 1 jenkins jenkins 11341 May 26 22:46 LICENSE 22:52:14 -rw-rw-r-- 1 jenkins jenkins 2015 May 26 22:46 Makefile 22:52:14 -rw-rw-r-- 1 jenkins jenkins 619 May 26 22:46 OWNERS.md 22:52:14 -rw-rw-r-- 1 jenkins jenkins 4881 May 26 22:46 README.md 22:52:14 -rw-rw-r-- 1 jenkins jenkins 5 May 26 22:43 VERSION 22:52:14 drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:46 bin 22:52:14 -rw-r--r-- 1 jenkins jenkins 131010 May 26 22:50 coverage.out 22:52:14 drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:46 example 22:52:14 -rw-rw-r-- 1 jenkins jenkins 3159 May 26 22:46 go.mod 22:52:14 -rw-rw-r-- 1 jenkins jenkins 34898 May 26 22:46 go.sum 22:52:14 drwxrwxr-x 15 jenkins jenkins 4096 May 26 22:46 internal 22:52:14 drwxrwxr-x 3 jenkins jenkins 4096 May 26 22:46 openapi 22:52:14 drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:46 pkg 22:52:14 drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:46 snap 22:52:14 -rw-rw-r-- 1 jenkins jenkins 222 May 26 22:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:15 + 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=0d11391d3656177a7c207e9886d38f984a5e50c8 --label arch=arm64 --label version=0.0.0 . 22:52:15 Sending build context to Docker daemon 5.289MB 22:52:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:52:15 Step 2/25 : FROM ${BASE} AS builder 22:52:15 ---> 5d95063f3b14 22:52:15 Step 3/25 : ARG MAKE=make build 22:52:15 ---> Running in a8990e645ab5 22:52:16 Removing intermediate container a8990e645ab5 22:52:16 ---> 2e1ed12267fb 22:52:16 Step 4/25 : WORKDIR /device-sdk-go 22:52:16 ---> Running in 55ecb27009cc 22:52:16 Removing intermediate container 55ecb27009cc 22:52:16 ---> f4a365b5cb9e 22:52:16 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:52:16 ---> Running in ae3d2b7231a8 22:52:17 Removing intermediate container ae3d2b7231a8 22:52:17 ---> b8e45d1fe207 22:52:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:17 ---> Running in 83c36f034ec6 22:52:19 Removing intermediate container 83c36f034ec6 22:52:19 ---> d232fdb6a3fd 22:52:19 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:52:19 ---> Running in 3970d57810e0 22:52:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:52:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:52:21 OK: 220 MiB in 52 packages 22:52:22 Removing intermediate container 3970d57810e0 22:52:22 ---> 33531e228b1e 22:52:22 Step 8/25 : COPY go.mod vendor* ./ 22:52:22 ---> 0880671c97fe 22:52:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:52:22 ---> Running in 09782c072f1d 22:52:24 Removing intermediate container 09782c072f1d 22:52:24 ---> 34018054522e 22:52:24 Step 10/25 : COPY . . 22:52:25 ---> 8dd3bea7b5a2 22:52:25 Step 11/25 : RUN ${MAKE} 22:52:25 ---> Running in f6e9b0268d24 22:52:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:54:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:54:21 Removing intermediate container f6e9b0268d24 22:54:21 ---> 82a7062a4e0f 22:54:21 Step 12/25 : FROM alpine:3.14 22:54:21 3.14: Pulling from library/alpine 22:54:21 455c02918c45: Pulling fs layer 22:54:21 455c02918c45: Verifying Checksum 22:54:21 455c02918c45: Download complete 22:54:22 455c02918c45: Pull complete 22:54:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:54:22 Status: Downloaded newer image for alpine:3.14 22:54:22 ---> ac73e934f311 22:54:22 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:22 ---> Running in 30b4b4e98f49 22:54:22 Removing intermediate container 30b4b4e98f49 22:54:22 ---> 1543d0548ed5 22:54:22 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:22 ---> Running in 8ace976cc239 22:54:24 Removing intermediate container 8ace976cc239 22:54:24 ---> 52fc53d981a9 22:54:24 Step 15/25 : RUN apk add --update --no-cache zeromq 22:54:24 ---> Running in 3b530ccf4733 22:54:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:54:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:54:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:54:27 (2/5) Installing libsodium (1.0.18-r0) 22:54:27 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:54:27 (4/5) Installing libzmq (4.3.4-r0) 22:54:27 (5/5) Installing zeromq (4.3.4-r0) 22:54:27 Executing busybox-1.33.1-r7.trigger 22:54:27 OK: 8 MiB in 19 packages 22:54:28 Removing intermediate container 3b530ccf4733 22:54:28 ---> d3d98e71c07e 22:54:28 Step 16/25 : WORKDIR / 22:54:28 ---> Running in f9dc421d2a05 22:54:28 Removing intermediate container f9dc421d2a05 22:54:28 ---> ab089c0b54b1 22:54:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:54:29 ---> fa97e7a471d9 22:54:29 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:54:30 ---> 6b99171fd6d5 22:54:30 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:54:31 ---> 668e2602a9ee 22:54:31 Step 20/25 : EXPOSE 59999 22:54:31 ---> Running in b345ee6b54a1 22:54:31 Removing intermediate container b345ee6b54a1 22:54:31 ---> 3865e489af99 22:54:31 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:54:31 ---> Running in b7cb0e548411 22:54:32 Removing intermediate container b7cb0e548411 22:54:32 ---> 40f24822bee5 22:54:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:54:32 ---> Running in 4e3c4067ffa7 22:54:32 Removing intermediate container 4e3c4067ffa7 22:54:32 ---> dd64d08db93f 22:54:32 Step 23/25 : LABEL arch=arm64 22:54:32 ---> Running in 82e87ef81dc6 22:54:32 Removing intermediate container 82e87ef81dc6 22:54:32 ---> ce978d8ab94d 22:54:32 Step 24/25 : LABEL git_sha=0d11391d3656177a7c207e9886d38f984a5e50c8 22:54:32 ---> Running in 30b6c4ee1094 22:54:33 Removing intermediate container 30b6c4ee1094 22:54:33 ---> 36e95309e758 22:54:33 Step 25/25 : LABEL version=0.0.0 22:54:33 ---> Running in b42aa0e23ca4 22:54:33 Removing intermediate container b42aa0e23ca4 22:54:33 ---> d7ad31722d92 22:54:33 [Warning] One or more build-args [ARCH] were not consumed 22:54:33 Successfully built d7ad31722d92 22:54:33 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 22:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:34 22:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:34 arm64: Pulling from edgex-lftools-log-publisher 22:54:34 8998bd30e6a1: Pulling fs layer 22:54:34 04944245beec: Pulling fs layer 22:54:34 699f458cf7ca: Pulling fs layer 22:54:34 765212b225bb: Pulling fs layer 22:54:34 f23df028b6ca: Pulling fs layer 22:54:34 d65c8cfc05b1: Pulling fs layer 22:54:34 2437ff75d9bd: Pulling fs layer 22:54:34 765212b225bb: Waiting 22:54:34 f23df028b6ca: Waiting 22:54:34 d65c8cfc05b1: Waiting 22:54:34 2437ff75d9bd: Waiting 22:54:34 04944245beec: Verifying Checksum 22:54:34 04944245beec: Download complete 22:54:34 765212b225bb: Verifying Checksum 22:54:34 765212b225bb: Download complete 22:54:34 f23df028b6ca: Verifying Checksum 22:54:34 f23df028b6ca: Download complete 22:54:34 d65c8cfc05b1: Verifying Checksum 22:54:34 d65c8cfc05b1: Download complete 22:54:35 699f458cf7ca: Verifying Checksum 22:54:35 699f458cf7ca: Download complete 22:54:35 8998bd30e6a1: Verifying Checksum 22:54:35 8998bd30e6a1: Download complete 22:54:37 2437ff75d9bd: Verifying Checksum 22:54:37 2437ff75d9bd: Download complete 22:54:40 8998bd30e6a1: Pull complete 22:54:40 04944245beec: Pull complete 22:54:42 699f458cf7ca: Pull complete 22:54:42 765212b225bb: Pull complete 22:54:43 f23df028b6ca: Pull complete 22:54:43 d65c8cfc05b1: Pull complete 22:54:58 2437ff75d9bd: Pull complete 22:54:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:58 prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container 22:54:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:55:01 $ docker top c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:02 ---> job-cost.sh 22:55:02 lf-activate-venv: SKIPPING 22:55:02 INFO: No Stack... 22:55:03 INFO: Retrieving Pricing Info for: v3-standard-4 22:55:04 INFO: Archiving Costs [Pipeline] sh 22:55:04 + cut -d, -f6 22:55:04 + cat /w/workspace/device-sdk-go/17/archives/cost.csv [Pipeline] lock 22:55:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] 22:55:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] did not exist. Created. 22:55:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:05 /w/workspace/device-sdk-go/17@tmp/durable-0e0518c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:55:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:55:06 Warning: overwriting stash ‘stack-cost’ 22:55:06 Stashed 1 file(s) [Pipeline] } 22:55:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] // lock [Pipeline] } 22:55:06 $ docker stop --time=1 c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 22:55:07 $ docker rm -f c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 [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 22:55:08 provisioning config files... 22:55:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config760376992526287237tmp [Pipeline] { [Pipeline] sh 22:55:08 + set +x 22:55:08 + curl -s https://codecov.io/bash 22:55:08 + bash -s -- 22:55:08 22:55:08 _____ _ 22:55:08 / ____| | | 22:55:08 | | ___ __| | ___ ___ _____ __ 22:55:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:55:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:55:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:55:08 Bash-1.0.6 22:55:08 22:55:08 22:55:08 ==> git version 2.25.1 found 22:55:08 ==> 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 22:55:08 Release-Date: 2020-01-08 22:55:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:55:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:55:08 ==> Jenkins CI detected. 22:55:08 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 22:55:08 project root: . 22:55:08 --> token set from env 22:55:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:55:08 ==> Running gcov in . (disable via -X gcov) 22:55:08 ==> Python coveragepy not found 22:55:08 ==> Searching for coverage reports in: 22:55:08 + . 22:55:08 -> Found 1 reports 22:55:08 ==> Detecting git/mercurial file structure 22:55:08 ==> Reading reports 22:55:08 + ./coverage.out bytes=131010 22:55:08 ==> Appending adjustments 22:55:08 https://docs.codecov.io/docs/fixing-reports 22:55:09 + Found adjustments 22:55:09 ==> Gzipping contents 22:55:09 20K /tmp/codecov.CD42df.gz 22:55:09 ==> Uploading reports 22:55:09 url: https://codecov.io 22:55:09 query: branch=PR-1144&commit=7960e48a4aa37915ea5148864f47d37aed19320f&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 22:55:09 -> Pinging Codecov 22:55:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=7960e48a4aa37915ea5148864f47d37aed19320f&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 22:55:09 -> Uploading to 22:55:09 https://storage.googleapis.com/codecov/v4/raw/2022-05-26/7E55EF52A471D76F132DFD9A03CDDE97/7960e48a4aa37915ea5148864f47d37aed19320f/56043157-e51d-4c36-b654-c1ab9361c6ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T225509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c12b7fe324ffc382656b9c0b25978c00e5a5610e1713bdd388d1e66bb02d4a9f 22:55:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:09 Dload Upload Total Spent Left Speed 22:55:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16848 0 0 100 16848 0 73894 --:--:-- --:--:-- --:--:-- 74220 22:55:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] } 22:55:09 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 22:55:10 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] 22:55:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 22:55:10 total 16 22:55:10 drwxr-xr-x 3 root root 4096 May 26 22:45 . 22:55:10 drwxrwxr-x 12 jenkins jenkins 4096 May 26 22:45 .. 22:55:10 drwxr-xr-x 2 root root 4096 May 26 22:45 cost 22:55:10 -rw-r--r-- 1 root root 86 May 26 22:45 cost.csv 22:55:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 22:55:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 22:55:10 total 16 22:55:10 drwxr-xr-x 3 jenkins jenkins 4096 May 26 22:45 . 22:55:10 drwxrwxr-x 12 jenkins jenkins 4096 May 26 22:45 .. 22:55:10 drwxr-xr-x 2 jenkins jenkins 4096 May 26 22:45 cost 22:55:10 -rw-r--r-- 1 jenkins jenkins 86 May 26 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:55:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:11 ---> package-listing.sh 22:55:11 ++ facter osfamily 22:55:11 ++ tr '[:upper:]' '[:lower:]' 22:55:11 + OS_FAMILY=debian 22:55:11 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 22:55:11 + START_PACKAGES=/tmp/packages_start.txt 22:55:11 + END_PACKAGES=/tmp/packages_end.txt 22:55:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:11 + PACKAGES=/tmp/packages_start.txt 22:55:11 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 22:55:11 + PACKAGES=/tmp/packages_end.txt 22:55:11 + case "${OS_FAMILY}" in 22:55:11 + dpkg -l 22:55:11 + grep '^ii' 22:55:11 + '[' -f /tmp/packages_start.txt ']' 22:55:11 + '[' -f /tmp/packages_end.txt ']' 22:55:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:11 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 22:55:11 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ 22:55:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo 22:55:11 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:55:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:12 prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container 22:55:12 $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:55:12 $ docker top c93e4e7ceed9dbb81cada755770ce718e1493e91cba1750143c3cf75fe5009c2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:13 + touch /tmp/pre-build-complete [Pipeline] sh 22:55:13 + mkdir -p /var/log/sysstat [Pipeline] sh 22:55:13 + ls /var/log/sa-host 22:55:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:14 provisioning config files... 22:55:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6377039593661040771tmp [Pipeline] { [Pipeline] echo 22:55:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> create-netrc.sh [Pipeline] } 22:55:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> python-tools-install.sh [Pipeline] echo 22:55:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> sudo-logs.sh 22:55:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:55:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:55:15 ---> job-cost.sh 22:55:15 lf-activate-venv: SKIPPING 22:55:15 DEBUG: total: 0.2199999988079071 22:55:15 INFO: Retrieving Stack Cost... 22:55:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:16 INFO: Archiving Costs [Pipeline] echo 22:55:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:55:16 ---> logs-deploy.sh 22:55:16 lf-activate-venv: SKIPPING 22:55:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/17 22:55:16 INFO: archiving workspace using pattern(s): 22:55:17 Archives upload complete. 22:55:17 INFO: archiving logs to Nexus