Pull request #811 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 76e103c2ad1a104127ad77989930aecfa798f89b+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (90a0ffdedb11cf5ac56b02367f87907ac5fb63ac) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 shared 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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/v1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29098 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-811 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 76e103c2ad1a104127ad77989930aecfa798f89b > 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/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 Merge succeeded, producing 76e103c2ad1a104127ad77989930aecfa798f89b Checking out Revision 76e103c2ad1a104127ad77989930aecfa798f89b (PR-811) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 Commit message: "fix: update requested changes in PR" > git rev-list --no-walk c6939aed2e2b1cbbf6b23f724c716a1673109002 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:00:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:00:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:00:41 ========================================================= 05:00:41 EdgeX Global Pipelines Version Info 05:00:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:00:44 ------------------- 05:00:44 stable info: 05:00:44 ------------------- 05:00:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:00:44 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:00:44 Message: update stable to v1.0.184 05:00:45 ------------------- 05:00:45 experimental info: 05:00:45 ------------------- 05:00:45 Commited By: **** collab-it+edgex@linuxfoundation.org 05:00:45 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:00:45 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:00:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:00:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:00:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:00:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:00:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-811 [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-811 [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-811 [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76e103c2ad1a104127ad77989930aecfa798f89b [Pipeline] echo 05:00:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76e103c [Pipeline] echo 05:00:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:00:49 provisioning config files... 05:00:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config6246134751071026063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:49 ---> docker-login.sh 05:00:49 nexus3.edgexfoundry.org:10001 05:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:52 Configure a credential helper to remove this warning. See 05:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:52 05:00:52 Login Succeeded 05:00:52 nexus3.edgexfoundry.org:10002 05:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:53 Configure a credential helper to remove this warning. See 05:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:53 05:00:53 Login Succeeded 05:00:53 nexus3.edgexfoundry.org:10003 05:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:54 Configure a credential helper to remove this warning. See 05:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:54 05:00:54 Login Succeeded 05:00:54 nexus3.edgexfoundry.org:10004 05:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:55 Configure a credential helper to remove this warning. See 05:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:55 05:00:55 Login Succeeded 05:00:55 docker.io 05:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:00:55 Configure a credential helper to remove this warning. See 05:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:00:55 05:00:55 Login Succeeded 05:00:55 ---> docker-login.sh ends [Pipeline] } 05:00:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:56 + git log --format=format:%s -1 76e103c2ad1a104127ad77989930aecfa798f89b [Pipeline] echo 05:00:56 GIT_COMMIT: 76e103c2ad1a104127ad77989930aecfa798f89b, Commit Message: fix: update requested changes in PR [Pipeline] echo 05:00:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:00:58 05:00:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:00:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:00:58 latest: Pulling from edgex-devops/git-semver 05:00:58 31603596830f: Pulling fs layer 05:00:58 2a8b12db71e7: Pulling fs layer 05:00:58 6ca5941a6612: Pulling fs layer 05:00:58 ecc8261a40a4: Pulling fs layer 05:00:58 ecc8261a40a4: Waiting 05:00:58 2a8b12db71e7: Verifying Checksum 05:00:58 2a8b12db71e7: Download complete 05:00:58 31603596830f: Verifying Checksum 05:00:58 31603596830f: Download complete 05:00:58 ecc8261a40a4: Verifying Checksum 05:00:58 ecc8261a40a4: Download complete 05:00:58 6ca5941a6612: Verifying Checksum 05:00:58 6ca5941a6612: Download complete 05:00:59 31603596830f: Pull complete 05:01:00 2a8b12db71e7: Pull complete 05:01:03 6ca5941a6612: Pull complete 05:01:03 ecc8261a40a4: Pull complete 05:01:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:01:04 prd-centos7-docker-4c-2g-29098 does not seem to be running inside a container 05:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:01:08 $ docker top e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:09 [ssh-agent] Looking for ssh-agent implementation... 05:01:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:09 $ docker exec e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 ssh-agent 05:01:10 SSH_AUTH_SOCK=/tmp/ssh-EFPSqvejynBx/agent.12 05:01:10 SSH_AGENT_PID=17 05:01:10 Running ssh-add (command line suppressed) 05:01:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_8313078131187506456.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_8313078131187506456.key) 05:01:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:12 + git tag --points-at HEAD [Pipeline] } 05:01:12 $ docker exec --env ******** --env ******** e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 ssh-agent -k 05:01:13 unset SSH_AUTH_SOCK; 05:01:13 unset SSH_AGENT_PID; 05:01:13 echo Agent pid 17 killed; 05:01:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:01:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:13 [ssh-agent] Looking for ssh-agent implementation... 05:01:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:14 $ docker exec e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 ssh-agent 05:01:14 SSH_AUTH_SOCK=/tmp/ssh-NbuKHlOwnROK/agent.46 05:01:14 SSH_AGENT_PID=51 05:01:14 Running ssh-add (command line suppressed) 05:01:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_4923687163006894841.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_4923687163006894841.key) 05:01:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:15 + git semver init 05:01:15 # -> Open(): unable to determine branch for HEAD 05:01:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.git 05:01:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-811 05:01:15 # $SEMVER_REMOTE_NAME = origin 05:01:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:01:15 # $SEMVER_USER_NAME = edgex-jenkins 05:01:15 # $SEMVER_BRANCH = PR-811 05:01:15 # $SEMVER_TEMP = /tmp/semver-275524787 05:01:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:01:16 # '/tmp/semver-275524787' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver' 05:01:16 # -> Force: false 05:01:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver [Pipeline] } 05:01:16 $ docker exec --env ******** --env ******** e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 ssh-agent -k 05:01:16 unset SSH_AUTH_SOCK; 05:01:16 unset SSH_AGENT_PID; 05:01:16 echo Agent pid 51 killed; 05:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:17 + git semver [Pipeline] } 05:01:17 $ docker stop --time=1 e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 05:01:19 $ docker rm -f e24c92de0460d9839e1148d6612c87df4edbe22422984419c22480cefe416997 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:01:21 Stashed 1 file(s) [Pipeline] echo 05:01:21 [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] node [Pipeline] node 05:01:37 Still waiting to schedule task 05:01:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29098’ 05:01:37 Still waiting to schedule task 05:01:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:03:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29099 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws 05:03:29 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:03:34 using credential edgex-jenkins-ssh 05:03:34 Cloning the remote Git repository 05:03:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:03:34 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:03:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:34 > git --version # timeout=10 05:03:34 > git --version # 'git version 2.17.1' 05:03:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:36 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 76e103c2ad1a104127ad77989930aecfa798f89b 05:03:37 Merge succeeded, producing 76e103c2ad1a104127ad77989930aecfa798f89b 05:03:37 Checking out Revision 76e103c2ad1a104127ad77989930aecfa798f89b (PR-811) 05:03:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:03:36 > git config core.sparsecheckout # timeout=10 05:03:37 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 05:03:37 > git remote # timeout=10 05:03:37 > git config --get remote.origin.url # timeout=10 05:03:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:37 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 05:03:37 > git rev-parse HEAD^{commit} # timeout=10 05:03:37 > git config core.sparsecheckout # timeout=10 05:03:37 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 05:03:41 Commit message: "fix: update requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:03:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:03:44 + sudo+ service docker restarttrue 05:03:44 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:03:46 provisioning config files... 05:03:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5368008755635337020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:47 ---> docker-login.sh 05:03:47 nexus3.edgexfoundry.org:10001 05:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:48 Configure a credential helper to remove this warning. See 05:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:48 05:03:48 Login Succeeded 05:03:48 nexus3.edgexfoundry.org:10002 05:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:49 Configure a credential helper to remove this warning. See 05:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:49 05:03:49 Login Succeeded 05:03:49 nexus3.edgexfoundry.org:10003 05:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:49 Configure a credential helper to remove this warning. See 05:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:49 05:03:49 Login Succeeded 05:03:49 nexus3.edgexfoundry.org:10004 05:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:50 Configure a credential helper to remove this warning. See 05:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:50 05:03:50 Login Succeeded 05:03:50 docker.io 05:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:50 Configure a credential helper to remove this warning. See 05:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:50 05:03:50 Login Succeeded 05:03:50 ---> docker-login.sh ends [Pipeline] } 05:03:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:51 ========================================================= 05:03:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:03:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:03:51 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:03:52 Sending build context to Docker daemon 2.353MB 05:03:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:03:52 Step 2/8 : FROM ${BASE} 05:03:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:03:52 5f621e34cdf4: Pulling fs layer 05:03:52 a4357932f1b6: Pulling fs layer 05:03:52 18c013af1878: Pulling fs layer 05:03:52 00ac8860ef70: Pulling fs layer 05:03:52 63d7cb157983: Pulling fs layer 05:03:52 b116817d02f9: Pulling fs layer 05:03:52 745a02a5169b: Pulling fs layer 05:03:52 00ac8860ef70: Waiting 05:03:52 63d7cb157983: Waiting 05:03:52 b116817d02f9: Waiting 05:03:52 745a02a5169b: Waiting 05:03:52 18c013af1878: Verifying Checksum 05:03:52 18c013af1878: Download complete 05:03:52 a4357932f1b6: Verifying Checksum 05:03:52 a4357932f1b6: Download complete 05:03:52 63d7cb157983: Verifying Checksum 05:03:52 63d7cb157983: Download complete 05:03:53 5f621e34cdf4: Verifying Checksum 05:03:53 5f621e34cdf4: Download complete 05:03:53 b116817d02f9: Verifying Checksum 05:03:53 b116817d02f9: Download complete 05:03:53 Running on prd-centos7-docker-4c-2g-29100 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws 05:03:53 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 05:03:53 5f621e34cdf4: Pull complete 05:03:54 a4357932f1b6: Pull complete 05:03:54 18c013af1878: Pull complete 05:03:55 745a02a5169b: Download complete 05:03:55 using credential edgex-jenkins-ssh 05:03:55 Cloning the remote Git repository 05:03:56 00ac8860ef70: Verifying Checksum 05:03:56 00ac8860ef70: Download complete 05:03:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:03:55 > git init /w/workspace/device-sdk-go/3 # timeout=10 05:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:55 > git --version # timeout=10 05:03:55 > git --version # 'git version 2.24.3' 05:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:57 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 76e103c2ad1a104127ad77989930aecfa798f89b 05:03:57 Merge succeeded, producing 76e103c2ad1a104127ad77989930aecfa798f89b 05:03:57 Checking out Revision 76e103c2ad1a104127ad77989930aecfa798f89b (PR-811) 05:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:03:57 > git config core.sparsecheckout # timeout=10 05:03:57 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 05:03:57 > git remote # timeout=10 05:03:57 > git config --get remote.origin.url # timeout=10 05:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:57 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 05:03:57 > git rev-parse HEAD^{commit} # timeout=10 05:03:57 > git config core.sparsecheckout # timeout=10 05:03:57 > git checkout -f 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 05:04:01 Commit message: "fix: update requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:04:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:04:02 + sudo service docker restart 05:04:02 + true 05:04:02 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:04:04 provisioning config files... 05:04:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1992586984934909662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:04 ---> docker-login.sh 05:04:04 nexus3.edgexfoundry.org:10001 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 nexus3.edgexfoundry.org:10002 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 nexus3.edgexfoundry.org:10003 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 nexus3.edgexfoundry.org:10004 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 docker.io 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:06 Configure a credential helper to remove this warning. See 05:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:06 05:04:06 Login Succeeded 05:04:06 ---> docker-login.sh ends [Pipeline] } 05:04:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:06 ========================================================= 05:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:04:06 ========================================================= 05:04:06 00ac8860ef70: Pull complete [Pipeline] isUnix [Pipeline] sh 05:04:06 63d7cb157983: Pull complete 05:04:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:04:06 Sending build context to Docker daemon 2.354MB 05:04:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:04:06 Step 2/8 : FROM ${BASE} 05:04:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:07 188c0c94c7c5: Pulling fs layer 05:04:07 0ef7d3d256c8: Pulling fs layer 05:04:07 de9db76c5a1d: Pulling fs layer 05:04:07 bca2f99d35d6: Pulling fs layer 05:04:07 93359f2a8cfa: Pulling fs layer 05:04:07 7c6f9722023f: Pulling fs layer 05:04:07 a35cf1a2eb13: Pulling fs layer 05:04:07 93359f2a8cfa: Waiting 05:04:07 7c6f9722023f: Waiting 05:04:07 a35cf1a2eb13: Waiting 05:04:07 bca2f99d35d6: Waiting 05:04:07 de9db76c5a1d: Download complete 05:04:07 0ef7d3d256c8: Verifying Checksum 05:04:07 0ef7d3d256c8: Download complete 05:04:07 93359f2a8cfa: Verifying Checksum 05:04:07 93359f2a8cfa: Download complete 05:04:07 188c0c94c7c5: Verifying Checksum 05:04:07 188c0c94c7c5: Download complete 05:04:07 7c6f9722023f: Verifying Checksum 05:04:07 7c6f9722023f: Download complete 05:04:07 188c0c94c7c5: Pull complete 05:04:07 b116817d02f9: Pull complete 05:04:07 0ef7d3d256c8: Pull complete 05:04:07 de9db76c5a1d: Pull complete 05:04:09 a35cf1a2eb13: Verifying Checksum 05:04:09 a35cf1a2eb13: Download complete 05:04:09 bca2f99d35d6: Verifying Checksum 05:04:09 bca2f99d35d6: Download complete 05:04:11 745a02a5169b: Pull complete 05:04:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:04:11 ---> b7e6874047d6 05:04:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:04:14 ---> Running in b1f7f40726da 05:04:14 Removing intermediate container b1f7f40726da 05:04:14 ---> 0176c0029bd7 05:04:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:14 ---> Running in 422cb30eee37 05:04:15 bca2f99d35d6: Pull complete 05:04:15 93359f2a8cfa: Pull complete 05:04:15 7c6f9722023f: Pull complete 05:04:16 Removing intermediate container 422cb30eee37 05:04:16 ---> 0068211989a3 05:04:16 Step 5/8 : RUN apk add --update --no-cache make git 05:04:16 ---> Running in 8395dda6f3ed 05:04:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:04:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:04:19 OK: 142 MiB in 39 packages 05:04:20 a35cf1a2eb13: Pull complete 05:04:20 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:04:20 ---> a62c8e92a672 05:04:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:04:20 ---> Running in a08cd2c3e704 05:04:20 Removing intermediate container a08cd2c3e704 05:04:20 ---> aa0b64c691ec 05:04:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:20 ---> Running in 4396b13b406a 05:04:20 Removing intermediate container 8395dda6f3ed 05:04:20 ---> b5b234af2511 05:04:20 Step 6/8 : WORKDIR /device-sdk-go 05:04:20 ---> Running in ccfcb09507a6 05:04:21 Removing intermediate container ccfcb09507a6 05:04:21 ---> 68b4f725d90f 05:04:21 Step 7/8 : COPY . . 05:04:21 Removing intermediate container 4396b13b406a 05:04:21 ---> de09e6bbe6f3 05:04:21 Step 5/8 : RUN apk add --update --no-cache make git 05:04:21 ---> Running in 0097da4bf5d8 05:04:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:04:22 ---> d6a89c673756 05:04:22 Step 8/8 : RUN go mod download 05:04:22 ---> Running in ab268c06c155 05:04:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:04:23 OK: 166 MiB in 39 packages 05:04:23 Removing intermediate container 0097da4bf5d8 05:04:23 ---> 05161e84d808 05:04:23 Step 6/8 : WORKDIR /device-sdk-go 05:04:23 ---> Running in 2fdcf323e97e 05:04:23 Removing intermediate container 2fdcf323e97e 05:04:23 ---> 04ea75aba18c 05:04:23 Step 7/8 : COPY . . 05:04:25 ---> 77559bf01706 05:04:25 Step 8/8 : RUN go mod download 05:04:25 ---> Running in 6e5d87e8c3db 05:04:47 Removing intermediate container 6e5d87e8c3db 05:04:47 ---> c7125f134870 05:04:47 Successfully built c7125f134870 05:04:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:04:47 + docker inspect -f . ci-base-image-x86_64 05:04:47 . [Pipeline] withDockerContainer 05:04:48 prd-centos7-docker-4c-2g-29100 does not seem to be running inside a container 05:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 05:04:48 $ docker top fdaf08caa6f51a985f2def6af72c13db2c4aeaabfe26952cf02c3481214094f3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:49 + go version 05:04:49 go version go1.15.5 linux/amd64 [Pipeline] } 05:04:49 $ docker stop --time=1 fdaf08caa6f51a985f2def6af72c13db2c4aeaabfe26952cf02c3481214094f3 05:04:49 Removing intermediate container ab268c06c155 05:04:49 ---> 094436a88bfd 05:04:49 Successfully built 094436a88bfd 05:04:49 Successfully tagged ci-base-image-arm64:latest 05:04:50 $ docker rm -f fdaf08caa6f51a985f2def6af72c13db2c4aeaabfe26952cf02c3481214094f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:51 + docker inspect -f . ci-base-image-arm64 05:04:51 . [Pipeline] withDockerContainer 05:04:51 + docker inspect -f . ci-base-image-x86_64 05:04:51 . 05:04:51 prd-ubuntu18.04-docker-arm64-4c-16g-29099 does not seem to be running inside a container 05:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 05:04:53 $ docker top 5b78afd1311dadeb29f9e66b0f030adb047109cfec35bd9e20e6d8ca7100f4a7 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:04:53 prd-centos7-docker-4c-2g-29100 does not seem to be running inside a container 05:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 05:04:54 $ docker top 36b8aee50a8f7e9af9fc848bd2172948bba56b4459dbb4c296e46f6632ce4f15 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:04:54 + make test 05:04:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:04:55 + go version 05:04:55 go version go1.15.5 linux/arm64 [Pipeline] } 05:04:55 $ docker stop --time=1 5b78afd1311dadeb29f9e66b0f030adb047109cfec35bd9e20e6d8ca7100f4a7 05:04:57 $ docker rm -f 5b78afd1311dadeb29f9e66b0f030adb047109cfec35bd9e20e6d8ca7100f4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:58 + docker inspect -f . ci-base-image-arm64 05:04:58 . [Pipeline] withDockerContainer 05:04:58 prd-ubuntu18.04-docker-arm64-4c-16g-29099 does not seem to be running inside a container 05:04:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 05:04:59 $ docker top e9ae8ba93402dab888b3acc3488036ec39b6d5ce865995eb4ea7474f0eb4e0b3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:01 + make test 05:05:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:05:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:05:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:05:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:05:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:05:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 25.5% of statements 05:05:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 12.5% of statements 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 48.0% of statements 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.063s coverage: 81.3% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 24.8% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.107s coverage: 6.4% of statements 05:05:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.2% of statements 05:05:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:05:51 GO111MODULE=on go vet ./... 05:05:59 gofmt -l . 05:05:59 [ "`gofmt -l .`" = "" ] 05:05:59 ./bin/test-attribution-txt.sh 05:05:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:06:00 $ docker stop --time=1 36b8aee50a8f7e9af9fc848bd2172948bba56b4459dbb4c296e46f6632ce4f15 05:06:02 $ docker rm -f 36b8aee50a8f7e9af9fc848bd2172948bba56b4459dbb4c296e46f6632ce4f15 05:06:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:06:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:06:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] // withDockerContainer [Pipeline] sh 05:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:06 + ls -al . 05:06:06 total 184 05:06:06 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 9 05:05 . 05:06:06 drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 05:03 .. 05:06:06 drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 05:03 bin 05:06:06 -rw-r--r--. 1 jenkins jenkins 102110 Mar 9 05:05 coverage.out 05:06:06 -rw-rw-r--. 1 jenkins jenkins 949 Mar 9 05:03 Dockerfile.build 05:06:06 -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 05:03 .dockerignore 05:06:06 drwxrwxr-x. 4 jenkins jenkins 48 Mar 9 05:03 example 05:06:06 drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 05:04 .git 05:06:06 drwxrwxr-x. 2 jenkins jenkins 103 Mar 9 05:03 .github 05:06:06 -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 05:03 .gitignore 05:06:06 -rw-r--r--. 1 jenkins jenkins 479 Mar 9 05:05 go.mod 05:06:06 -rw-r--r--. 1 jenkins jenkins 17490 Mar 9 05:05 go.sum 05:06:06 drwxrwxr-x. 12 jenkins jenkins 171 Mar 9 05:03 internal 05:06:06 -rw-rw-r--. 1 jenkins jenkins 901 Mar 9 05:03 Jenkinsfile 05:06:06 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 05:03 LICENSE 05:06:06 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 9 05:03 Makefile 05:06:06 drwxrwxr-x. 4 jenkins jenkins 26 Mar 9 05:03 openapi 05:06:06 drwxrwxr-x. 5 jenkins jenkins 50 Mar 9 05:03 pkg 05:06:06 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 9 05:03 README.md 05:06:06 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 9 05:03 RELEASE-NOTES.txt 05:06:06 drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 05:03 snap 05:06:06 -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 05:01 VERSION 05:06:06 -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 05:03 version.go [Pipeline] isUnix [Pipeline] sh 05:06:06 + docker build -t docker-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=76e103c2ad1a104127ad77989930aecfa798f89b --label arch=amd64 --label version=0.0.0 . 05:06:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 25.5% of statements 05:06:06 Sending build context to Docker daemon 2.457MB 05:06:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:06:06 Step 2/24 : FROM ${BASE} AS builder 05:06:06 ---> c7125f134870 05:06:06 Step 3/24 : ARG MAKE='make build' 05:06:07 ---> Running in 0415a691b3fe 05:06:07 Removing intermediate container 0415a691b3fe 05:06:07 ---> d6a26bd2db05 05:06:07 Step 4/24 : WORKDIR /device-sdk-go 05:06:07 ---> Running in 29e9bfde1920 05:06:07 Removing intermediate container 29e9bfde1920 05:06:07 ---> 2b61727cd3c0 05:06:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:06:07 ---> Running in afbfe99d395d 05:06:07 Removing intermediate container afbfe99d395d 05:06:07 ---> 09093cec312d 05:06:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:07 ---> Running in b3d59da7ca4c 05:06:08 Removing intermediate container b3d59da7ca4c 05:06:08 ---> 029dba927526 05:06:08 Step 7/24 : RUN apk add --update --no-cache make git 05:06:08 ---> Running in b0ce4de0d8ea 05:06:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:06:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:06:10 OK: 166 MiB in 39 packages 05:06:10 Removing intermediate container b0ce4de0d8ea 05:06:10 ---> 68eab565bb39 05:06:10 Step 8/24 : COPY . . 05:06:11 ---> 791bd8dd06c0 05:06:11 Step 9/24 : RUN ${MAKE} 05:06:12 ---> Running in f8939b4287c1 05:06:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:06:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:06:22 Removing intermediate container f8939b4287c1 05:06:22 ---> d83023933e4f 05:06:22 Step 10/24 : FROM scratch 05:06:22 ---> 05:06:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:06:22 ---> Running in 13d25ff417ec 05:06:23 Removing intermediate container 13d25ff417ec 05:06:23 ---> 81658712dd6d 05:06:23 Step 12/24 : ENV APP_PORT=49990 05:06:23 ---> Running in 8e147c48c15d 05:06:23 Removing intermediate container 8e147c48c15d 05:06:23 ---> 648fe9cea529 05:06:23 Step 13/24 : EXPOSE $APP_PORT 05:06:23 ---> Running in a60b7690ef51 05:06:23 Removing intermediate container a60b7690ef51 05:06:23 ---> a1937764c6c6 05:06:23 Step 14/24 : WORKDIR / 05:06:23 ---> Running in 841df3154517 05:06:23 Removing intermediate container 841df3154517 05:06:23 ---> 97612c25758e 05:06:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:06:24 ---> 04f952c74704 05:06:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:06:24 ---> f63dc60e7ceb 05:06:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:06:24 ---> 82ff8bdf13d4 05:06:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:06:24 ---> f6e85ca2916c 05:06:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:06:25 ---> c66767ae17fb 05:06:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:06:25 ---> Running in 1ef00bbe0940 05:06:25 Removing intermediate container 1ef00bbe0940 05:06:25 ---> 763e9bfadff8 05:06:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:25 ---> Running in 0e3f33482dc7 05:06:25 Removing intermediate container 0e3f33482dc7 05:06:25 ---> 95eaef3bbe24 05:06:25 Step 22/24 : LABEL arch=amd64 05:06:25 ---> Running in 18f76815b644 05:06:25 Removing intermediate container 18f76815b644 05:06:25 ---> 9cd05fa2f0c7 05:06:25 Step 23/24 : LABEL git_sha=76e103c2ad1a104127ad77989930aecfa798f89b 05:06:25 ---> Running in e4beaa091084 05:06:26 Removing intermediate container e4beaa091084 05:06:26 ---> ce5e6a8825b2 05:06:26 Step 24/24 : LABEL version=0.0.0 05:06:26 ---> Running in b8b6683d8648 05:06:26 Removing intermediate container b8b6683d8648 05:06:26 ---> 58c54ec9e35a 05:06:26 [Warning] One or more build-args [ARCH] were not consumed 05:06:26 Successfully built 58c54ec9e35a 05:06:26 Successfully tagged docker-device-sdk-simple:latest [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] libraryResource [Pipeline] sh 05:06:27 ---> job-cost.sh 05:06:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LWZG 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 10.5% of statements 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.144s coverage: 12.5% of statements 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.158s coverage: 84.8% of statements 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 48.0% of statements 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.155s coverage: 81.3% of statements 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.810s coverage: 6.4% of statements 05:06:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.135s coverage: 5.2% of statements 05:06:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:06:38 GO111MODULE=on go vet ./... 05:06:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:07:08 lf-activate-venv(): INFO: Adding /tmp/venv-LWZG/bin to PATH 05:07:08 INFO: No Stack... 05:07:08 INFO: Retrieving Pricing Info for: v1-standard-2 05:07:09 INFO: Archiving Costs [Pipeline] sh 05:07:09 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:07:09 + cut -d, -f6 [Pipeline] lock 05:07:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] 05:07:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] did not exist. Created. 05:07:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:10 + echo total: 0.029999999329447746 [Pipeline] stash 05:07:10 Stashed 1 file(s) [Pipeline] } 05:07:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:11 gofmt -l . 05:07:11 [ "`gofmt -l .`" = "" ] 05:07:11 ./bin/test-attribution-txt.sh 05:07:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:07:11 $ docker stop --time=1 e9ae8ba93402dab888b3acc3488036ec39b6d5ce865995eb4ea7474f0eb4e0b3 05:07:13 $ docker rm -f e9ae8ba93402dab888b3acc3488036ec39b6d5ce865995eb4ea7474f0eb4e0b3 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:14 Warning: overwriting stash ‘coverage-report’ 05:07:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:16 + ls -al . 05:07:16 total 220 05:07:16 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 05:07 . 05:07:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 05:03 .. 05:07:16 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 05:03 .dockerignore 05:07:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 05:03 .git 05:07:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 05:03 .github 05:07:16 -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 05:03 .gitignore 05:07:16 -rw-rw-r-- 1 jenkins jenkins 949 Mar 9 05:03 Dockerfile.build 05:07:16 -rw-rw-r-- 1 jenkins jenkins 901 Mar 9 05:03 Jenkinsfile 05:07:16 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 05:03 LICENSE 05:07:16 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 9 05:03 Makefile 05:07:16 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 9 05:03 README.md 05:07:16 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 9 05:03 RELEASE-NOTES.txt 05:07:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 05:01 VERSION 05:07:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 05:03 bin 05:07:16 -rw-r--r-- 1 jenkins jenkins 102110 Mar 9 05:06 coverage.out 05:07:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 05:03 example 05:07:16 -rw-r--r-- 1 jenkins jenkins 479 Mar 9 05:07 go.mod 05:07:16 -rw-r--r-- 1 jenkins jenkins 17490 Mar 9 05:07 go.sum 05:07:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 05:03 internal 05:07:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 05:03 openapi 05:07:16 drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 05:03 pkg 05:07:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 05:03 snap 05:07:16 -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 05:03 version.go [Pipeline] isUnix [Pipeline] sh 05:07:17 + docker build -t docker-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=76e103c2ad1a104127ad77989930aecfa798f89b --label arch=arm64 --label version=0.0.0 . 05:07:17 Sending build context to Docker daemon 2.456MB 05:07:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:07:17 Step 2/24 : FROM ${BASE} AS builder 05:07:17 ---> 094436a88bfd 05:07:17 Step 3/24 : ARG MAKE='make build' 05:07:18 ---> Running in f76755743f0c 05:07:18 Removing intermediate container f76755743f0c 05:07:18 ---> f2e21d909174 05:07:18 Step 4/24 : WORKDIR /device-sdk-go 05:07:18 ---> Running in f9280dad890d 05:07:19 Removing intermediate container f9280dad890d 05:07:19 ---> 949f1d908846 05:07:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:07:19 ---> Running in 7535d4bb06a8 05:07:19 Removing intermediate container 7535d4bb06a8 05:07:19 ---> e9f2bc7cd574 05:07:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:19 ---> Running in da5c32381fb8 05:07:21 Removing intermediate container da5c32381fb8 05:07:21 ---> f6fc550a3471 05:07:21 Step 7/24 : RUN apk add --update --no-cache make git 05:07:22 ---> Running in cc76407dcfdf 05:07:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:07:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:07:24 OK: 142 MiB in 39 packages 05:07:25 Removing intermediate container cc76407dcfdf 05:07:25 ---> 56da80ae1f62 05:07:25 Step 8/24 : COPY . . 05:07:27 ---> 85f589747291 05:07:27 Step 9/24 : RUN ${MAKE} 05:07:27 ---> Running in 2c8c24eae8d5 05:07:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:07:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:07:55 Removing intermediate container 2c8c24eae8d5 05:07:55 ---> 1ecfaa223f0f 05:07:55 Step 10/24 : FROM scratch 05:07:55 ---> 05:07:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:07:56 ---> Running in 9e2e412487f8 05:07:56 Removing intermediate container 9e2e412487f8 05:07:56 ---> 44a2bcc2c89b 05:07:56 Step 12/24 : ENV APP_PORT=49990 05:07:56 ---> Running in a71288c9b246 05:07:57 Removing intermediate container a71288c9b246 05:07:57 ---> 4ab04ecde298 05:07:57 Step 13/24 : EXPOSE $APP_PORT 05:07:57 ---> Running in 2a29ddc84354 05:07:57 Removing intermediate container 2a29ddc84354 05:07:57 ---> 387c7f57da39 05:07:57 Step 14/24 : WORKDIR / 05:07:57 ---> Running in 8abc565f9d09 05:07:58 Removing intermediate container 8abc565f9d09 05:07:58 ---> 0ea47390191b 05:07:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:07:59 ---> 9a7050b61ca4 05:07:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:08:00 ---> 9290fc8c7bc4 05:08:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:08:00 ---> 63d46b3aa69f 05:08:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:08:01 ---> 5feab4082276 05:08:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:08:02 ---> dee06390d440 05:08:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:08:02 ---> Running in 82ef4f4d6748 05:08:02 Removing intermediate container 82ef4f4d6748 05:08:02 ---> ee8da78ff4cb 05:08:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:08:02 ---> Running in 14ad67344ed4 05:08:03 Removing intermediate container 14ad67344ed4 05:08:03 ---> 42bf31d6bb9b 05:08:03 Step 22/24 : LABEL arch=arm64 05:08:03 ---> Running in f193dcb12a50 05:08:03 Removing intermediate container f193dcb12a50 05:08:03 ---> c6235440a593 05:08:03 Step 23/24 : LABEL git_sha=76e103c2ad1a104127ad77989930aecfa798f89b 05:08:03 ---> Running in 8d65aa89eb8b 05:08:04 Removing intermediate container 8d65aa89eb8b 05:08:04 ---> 67ed67bdf1a0 05:08:04 Step 24/24 : LABEL version=0.0.0 05:08:04 ---> Running in f184b08af2e0 05:08:04 Removing intermediate container f184b08af2e0 05:08:04 ---> 05a8ac8618c4 05:08:04 [Warning] One or more build-args [ARCH] were not consumed 05:08:04 Successfully built 05a8ac8618c4 05:08:05 Successfully tagged docker-device-sdk-simple-arm64:latest [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] libraryResource [Pipeline] sh 05:08:05 ---> job-cost.sh 05:08:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-03Hx 05:08:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:10:21 lf-activate-venv(): INFO: Adding /tmp/venv-03Hx/bin to PATH 05:10:21 INFO: No Stack... 05:10:21 INFO: Retrieving Pricing Info for: lf-standard-4 05:10:21 INFO: Archiving Costs [Pipeline] sh 05:10:21 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 05:10:21 + cut -d, -f6 [Pipeline] lock 05:10:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] 05:10:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] did not exist. Created. 05:10:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:22 /w/workspace/device-sdk-go/3@tmp/durable-4cab80e4/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-4cab80e4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:10:22 + echo total: 0.20999999344348907 [Pipeline] stash 05:10:22 Warning: overwriting stash ‘stack-cost’ 05:10:23 Stashed 1 file(s) [Pipeline] } 05:10:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-3-stack-cost] [Pipeline] // lock [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] wrap 05:10:24 provisioning config files... 05:10:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config5530309373224539944tmp [Pipeline] { [Pipeline] sh 05:10:25 + set +x 05:10:25 + curl -s https://codecov.io/bash 05:10:25 + bash -s -- 05:10:25 05:10:25 _____ _ 05:10:25 / ____| | | 05:10:25 | | ___ __| | ___ ___ _____ __ 05:10:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:10:25 | |___| (_) | (_| | __/ (_| (_) \ V / 05:10:25 \_____\___/ \__,_|\___|\___\___/ \_/ 05:10:25 Bash-20210226-7100762 05:10:25 05:10:25 05:10:25 ==> git version 2.24.3 found 05:10:25 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:10:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:10:25 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:10:25 ==> Jenkins CI detected. 05:10:25 project root: . 05:10:25 --> token set from env 05:10:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:10:25 ==> Running gcov in . (disable via -X gcov) 05:10:25 ==> Python coveragepy not found 05:10:25 ==> Searching for coverage reports in: 05:10:25 + . 05:10:25 -> Found 1 reports 05:10:25 ==> Detecting git/mercurial file structure 05:10:25 ==> Reading reports 05:10:25 + ./coverage.out bytes=102110 05:10:25 ==> Appending adjustments 05:10:25 https://docs.codecov.io/docs/fixing-reports 05:10:26 + Found adjustments 05:10:26 ==> Gzipping contents 05:10:26 16K /tmp/codecov.A2TkDy.gz 05:10:26 ==> Uploading reports 05:10:26 url: https://codecov.io 05:10:26 query: branch=PR-811&commit=76e103c2ad1a104127ad77989930aecfa798f89b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= 05:10:26 -> Pinging Codecov 05:10:26 https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-811&commit=76e103c2ad1a104127ad77989930aecfa798f89b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= 05:10:26 -> Uploading to 05:10:26 https://storage.googleapis.com/codecov/v4/raw/2021-03-09/7E55EF52A471D76F132DFD9A03CDDE97/76e103c2ad1a104127ad77989930aecfa798f89b/7b24dc2a-916c-444c-ad6a-48dcbe6b51ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210309T051026Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=178a607cb834491f5aa8fae3038f55476e1fde4bff55f16469ab8f64ca9d2200 05:10:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:26 Dload Upload Total Spent Left Speed 05:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15178 0 0 100 15178 0 27852 --:--:-- --:--:-- --:--:-- 27849 05:10:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/76e103c2ad1a104127ad77989930aecfa798f89b [Pipeline] } 05:10:27 Deleting 1 temporary files [Pipeline] // wrap [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:10:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:10:30 ---> package-listing.sh 05:10:30 ++ facter osfamily 05:10:30 ++ tr '[:upper:]' '[:lower:]' 05:10:31 + OS_FAMILY=redhat 05:10:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-811 05:10:31 + START_PACKAGES=/tmp/packages_start.txt 05:10:31 + END_PACKAGES=/tmp/packages_end.txt 05:10:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:10:31 + PACKAGES=/tmp/packages_start.txt 05:10:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' 05:10:31 + PACKAGES=/tmp/packages_end.txt 05:10:31 + case "${OS_FAMILY}" in 05:10:31 + rpm -qa 05:10:31 + sort 05:10:41 + '[' -f /tmp/packages_start.txt ']' 05:10:41 + '[' -f /tmp/packages_end.txt ']' 05:10:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:10:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' 05:10:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ 05:10:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [Pipeline] echo 05:10:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-811/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:10:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:10:42 05:10:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:10:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:10:42 alpine: Pulling from edgex-lftools-log-publisher 05:10:42 df20fa9351a1: Pulling fs layer 05:10:42 36b3adc4ff6f: Pulling fs layer 05:10:42 8ad3a11d3b57: Pulling fs layer 05:10:42 46f8f816bc3b: Pulling fs layer 05:10:42 93b61091891f: Pulling fs layer 05:10:42 93b9cdb0e59b: Pulling fs layer 05:10:42 5e14af77c1be: Pulling fs layer 05:10:42 01666e4c0597: Pulling fs layer 05:10:42 aa168da1d23b: Pulling fs layer 05:10:42 93b9cdb0e59b: Waiting 05:10:42 5e14af77c1be: Waiting 05:10:42 01666e4c0597: Waiting 05:10:42 aa168da1d23b: Waiting 05:10:42 93b61091891f: Waiting 05:10:42 46f8f816bc3b: Waiting 05:10:43 36b3adc4ff6f: Verifying Checksum 05:10:43 36b3adc4ff6f: Download complete 05:10:43 46f8f816bc3b: Verifying Checksum 05:10:43 46f8f816bc3b: Download complete 05:10:43 df20fa9351a1: Download complete 05:10:43 93b9cdb0e59b: Verifying Checksum 05:10:43 93b9cdb0e59b: Download complete 05:10:43 5e14af77c1be: Verifying Checksum 05:10:43 5e14af77c1be: Download complete 05:10:43 01666e4c0597: Verifying Checksum 05:10:43 01666e4c0597: Download complete 05:10:43 93b61091891f: Verifying Checksum 05:10:43 93b61091891f: Download complete 05:10:43 df20fa9351a1: Pull complete 05:10:44 36b3adc4ff6f: Pull complete 05:10:44 8ad3a11d3b57: Verifying Checksum 05:10:44 8ad3a11d3b57: Download complete 05:10:45 8ad3a11d3b57: Pull complete 05:10:46 46f8f816bc3b: Pull complete 05:10:47 93b61091891f: Pull complete 05:10:48 93b9cdb0e59b: Pull complete 05:10:48 5e14af77c1be: Pull complete 05:10:49 01666e4c0597: Pull complete 05:10:50 aa168da1d23b: Verifying Checksum 05:10:50 aa168da1d23b: Download complete 05:11:13 aa168da1d23b: Pull complete 05:11:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:11:13 prd-centos7-docker-4c-2g-29098 does not seem to be running inside a container 05:11:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-811/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@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:alpine cat 05:11:19 $ docker top 6adb0eca5960abab0fb74c258e99f9cb4452d1ba9c3835c9ba75cb37e24cea6f -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:21 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:22 + mkdir -p /var/log/sa [Pipeline] sh 05:11:23 + ls /var/log/sa-host 05:11:23 + sadf -c /var/log/sa-host/sa09 05:11:23 file_magic: OK 05:11:23 HZ: Using current value: 100 05:11:23 file_header: OK 05:11:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:11:23 Statistics: 05:11:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:11:23 File successfully converted to sysstat format version 12.2.1 05:11:23 + sadf -c /var/log/sa-host/sa23 05:11:23 file_magic: OK 05:11:23 HZ: Using current value: 100 05:11:23 file_header: OK 05:11:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:11:23 Statistics: 05:11:23 Hnuu...uuuununununu... 05:11:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:23 provisioning config files... 05:11:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config2637089135346959494tmp [Pipeline] { [Pipeline] echo 05:11:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:24 ---> create-netrc.sh [Pipeline] } 05:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:11:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:11:24 ---> python-tools-install.sh [Pipeline] echo 05:11:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:25 ---> sudo-logs.sh 05:11:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:25 ---> job-cost.sh 05:11:26 lf-activate-venv: SKIPPING 05:11:26 DEBUG: total: 0.20999999344348907 05:11:26 INFO: Retrieving Stack Cost... 05:11:27 INFO: Retrieving Pricing Info for: v1-standard-2 05:11:28 INFO: Archiving Costs [Pipeline] echo 05:11:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:28 ---> logs-deploy.sh 05:11:28 lf-activate-venv: SKIPPING 05:11:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-811/3 05:11:28 INFO: archiving workspace using pattern(s): 05:11:34 Archives upload complete. 05:11:34 INFO: archiving logs to Nexus 05:11:36 ---> uname -a: 05:11:36 Linux prd-centos7-docker-4c-2g-29098.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:11:36 05:11:36 05:11:36 ---> lscpu: 05:11:36 Architecture: x86_64 05:11:36 CPU op-mode(s): 32-bit, 64-bit 05:11:36 Byte Order: Little Endian 05:11:36 Address sizes: 40 bits physical, 48 bits virtual 05:11:36 CPU(s): 4 05:11:36 On-line CPU(s) list: 0-3 05:11:36 Thread(s) per core: 1 05:11:36 Core(s) per socket: 1 05:11:36 Socket(s): 4 05:11:36 NUMA node(s): 1 05:11:36 Vendor ID: GenuineIntel 05:11:36 CPU family: 6 05:11:36 Model: 44 05:11:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:11:36 Stepping: 1 05:11:36 CPU MHz: 2933.438 05:11:36 BogoMIPS: 5866.87 05:11:36 Virtualization: VT-x 05:11:36 Hypervisor vendor: KVM 05:11:36 Virtualization type: full 05:11:36 L1d cache: 128 KiB 05:11:36 L1i cache: 128 KiB 05:11:36 L2 cache: 16 MiB 05:11:36 L3 cache: 64 MiB 05:11:36 NUMA node0 CPU(s): 0-3 05:11:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:11:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:11:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:11:36 Vulnerability Meltdown: Mitigation; PTI 05:11:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:11:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:11:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:11:36 Vulnerability Srbds: Not affected 05:11:36 Vulnerability Tsx async abort: Not affected 05:11:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 05:11:36 05:11:36 05:11:36 ---> nproc: 05:11:36 4 05:11:36 05:11:36