Pull request #684 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7336e8fc50ffcf086b545449c141024ad86ff095+c21ff6277396b81a1001baea71274dd2dd19f737 (c616db63e5eeb8343defe994f622b838f130c766) Running in Durability level: MAX_SURVIVABILITY 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-684/workspace@libs/edgex-global-pipelines # 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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-684/workspace@libs/lf-pipelines # 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 > 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 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-15334 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [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-684 # 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 > 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/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) > git config core.sparsecheckout # timeout=10 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:20:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:20:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:20:01 ========================================================= 06:20:01 EdgeX Global Pipelines Version Info 06:20:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:20:03 ------------------- 06:20:03 stable info: 06:20:03 ------------------- 06:20:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:20:03 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:20:03 Message: update stable to v1.0.172 06:20:04 ------------------- 06:20:04 experimental info: 06:20:04 ------------------- 06:20:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:20:04 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:20:04 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:20:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:20:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:20:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:20:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:20:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:20:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-684 [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-684 [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-684 [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7336e8fc50ffcf086b545449c141024ad86ff095 [Pipeline] echo 06:20:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7336e8f [Pipeline] echo 06:20:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:20:09 provisioning config files... 06:20:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/config5843296669944828792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:09 ---> docker-login.sh 06:20:09 nexus3.edgexfoundry.org:10001 06:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:10 Configure a credential helper to remove this warning. See 06:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:10 06:20:10 Login Succeeded 06:20:10 nexus3.edgexfoundry.org:10002 06:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:10 Configure a credential helper to remove this warning. See 06:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:10 06:20:10 Login Succeeded 06:20:10 nexus3.edgexfoundry.org:10003 06:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:10 Configure a credential helper to remove this warning. See 06:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:10 06:20:10 Login Succeeded 06:20:10 nexus3.edgexfoundry.org:10004 06:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:10 Configure a credential helper to remove this warning. See 06:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:10 06:20:10 Login Succeeded 06:20:10 docker.io 06:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:11 Configure a credential helper to remove this warning. See 06:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:11 06:20:11 Login Succeeded 06:20:11 ---> docker-login.sh ends [Pipeline] } 06:20:11 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 06:20:12 + git log --format=format:%s -1 7336e8fc50ffcf086b545449c141024ad86ff095 [Pipeline] echo 06:20:12 GIT_COMMIT: 7336e8fc50ffcf086b545449c141024ad86ff095, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:20:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:20:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:13 06:20:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:20:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:13 latest: Pulling from edgex-devops/git-semver 06:20:13 31603596830f: Pulling fs layer 06:20:13 2a8b12db71e7: Pulling fs layer 06:20:13 6ca5941a6612: Pulling fs layer 06:20:13 ecc8261a40a4: Pulling fs layer 06:20:13 ecc8261a40a4: Waiting 06:20:13 2a8b12db71e7: Verifying Checksum 06:20:13 2a8b12db71e7: Download complete 06:20:13 31603596830f: Verifying Checksum 06:20:13 31603596830f: Download complete 06:20:14 ecc8261a40a4: Verifying Checksum 06:20:14 ecc8261a40a4: Download complete 06:20:14 6ca5941a6612: Verifying Checksum 06:20:14 6ca5941a6612: Download complete 06:20:14 31603596830f: Pull complete 06:20:14 2a8b12db71e7: Pull complete 06:20:15 6ca5941a6612: Pull complete 06:20:15 ecc8261a40a4: Pull complete 06:20:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:20:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:20:15 prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container 06:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-684 -v /w/workspace/dgexfoundry_device-sdk-go_PR-684:/w/workspace/dgexfoundry_device-sdk-go_PR-684:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-684@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:20:18 $ docker top 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:18 [ssh-agent] Looking for ssh-agent implementation... 06:20:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:18 $ docker exec 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent 06:20:19 SSH_AUTH_SOCK=/tmp/ssh-XF6msss82G5H/agent.12 06:20:19 SSH_AGENT_PID=18 06:20:19 Running ssh-add (command line suppressed) 06:20:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_1359117148866254726.key (/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_1359117148866254726.key) 06:20:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:19 + git tag --points-at HEAD [Pipeline] } 06:20:19 $ docker exec --env ******** --env ******** 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent -k 06:20:19 unset SSH_AUTH_SOCK; 06:20:19 unset SSH_AGENT_PID; 06:20:19 echo Agent pid 18 killed; 06:20:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:20:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:20 [ssh-agent] Looking for ssh-agent implementation... 06:20:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:20 $ docker exec 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent 06:20:20 SSH_AUTH_SOCK=/tmp/ssh-AyJMYkOLmrsz/agent.47 06:20:20 SSH_AGENT_PID=52 06:20:20 Running ssh-add (command line suppressed) 06:20:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_7325074608991458781.key (/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/private_key_7325074608991458781.key) 06:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:20 + git semver init 06:20:20 # -> Open(): unable to determine branch for HEAD 06:20:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-684/.git 06:20:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-684 06:20:20 # $SEMVER_REMOTE_NAME = origin 06:20:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:20:20 # $SEMVER_USER_NAME = edgex-jenkins 06:20:20 # $SEMVER_BRANCH = PR-684 06:20:20 # $SEMVER_TEMP = /tmp/semver-045313787 06:20:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:20:21 # '/tmp/semver-045313787' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-684/.semver' 06:20:21 # -> Force: false 06:20:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-684/.semver [Pipeline] } 06:20:21 $ docker exec --env ******** --env ******** 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e ssh-agent -k 06:20:22 unset SSH_AUTH_SOCK; 06:20:22 unset SSH_AGENT_PID; 06:20:22 echo Agent pid 52 killed; 06:20:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:22 + git semver [Pipeline] } 06:20:22 $ docker stop --time=1 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e 06:20:24 $ docker rm -f 660b7dfc66842f2f22373f2d893b94689f83f921ac65a8e9c3ac05408e50655e [Pipeline] // withDockerContainer [Pipeline] sh 06:20:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:20:25 Stashed 1 file(s) [Pipeline] echo 06:20:25 [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 06:20:41 Still waiting to schedule task 06:20:41 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15334’ 06:20:41 Still waiting to schedule task 06:20:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:22:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15335 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [Pipeline] { [Pipeline] ws 06:22:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:22:36 using credential edgex-jenkins-ssh 06:22:36 Cloning the remote Git repository 06:22:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:22:37 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:22:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:37 > git --version # timeout=10 06:22:37 > git --version # 'git version 2.17.1' 06:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:39 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 06:22:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:22:39 > git config core.sparsecheckout # timeout=10 06:22:39 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 06:22:39 Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 06:22:39 Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) 06:22:39 > git remote # timeout=10 06:22:39 > git config --get remote.origin.url # timeout=10 06:22:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:39 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 06:22:39 > git rev-parse HEAD^{commit} # timeout=10 06:22:39 > git config core.sparsecheckout # timeout=10 06:22:39 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 06:22:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:22:43 > git --version # timeout=10 06:22:43 > git --version # 'git version 2.17.1' 06:22:43 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:22:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:22:46 + sudo+ service docker restarttrue 06:22:46 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:22:49 provisioning config files... 06:22:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4434986287195140355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:49 ---> docker-login.sh 06:22:49 nexus3.edgexfoundry.org:10001 06:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:51 Configure a credential helper to remove this warning. See 06:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:51 06:22:51 Login Succeeded 06:22:51 nexus3.edgexfoundry.org:10002 06:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:51 Configure a credential helper to remove this warning. See 06:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:51 06:22:51 Login Succeeded 06:22:51 nexus3.edgexfoundry.org:10003 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 nexus3.edgexfoundry.org:10004 06:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:52 Configure a credential helper to remove this warning. See 06:22:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:52 06:22:52 Login Succeeded 06:22:52 docker.io 06:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:22:53 Configure a credential helper to remove this warning. See 06:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:22:53 06:22:53 Login Succeeded 06:22:53 ---> docker-login.sh ends [Pipeline] } 06:22:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:22:54 ========================================================= 06:22:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:22:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:22:54 + 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 . 06:22:55 Sending build context to Docker daemon 2.369MB 06:22:55 Step 1/8 : ARG BASE=golang:1.15-alpine 06:22:55 Step 2/8 : FROM ${BASE} 06:22:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:22:55 5f621e34cdf4: Pulling fs layer 06:22:55 a4357932f1b6: Pulling fs layer 06:22:55 18c013af1878: Pulling fs layer 06:22:55 00ac8860ef70: Pulling fs layer 06:22:55 63d7cb157983: Pulling fs layer 06:22:55 b116817d02f9: Pulling fs layer 06:22:55 745a02a5169b: Pulling fs layer 06:22:55 63d7cb157983: Waiting 06:22:55 00ac8860ef70: Waiting 06:22:55 b116817d02f9: Waiting 06:22:55 745a02a5169b: Waiting 06:22:55 18c013af1878: Download complete 06:22:55 a4357932f1b6: Download complete 06:22:55 63d7cb157983: Verifying Checksum 06:22:55 63d7cb157983: Download complete 06:22:55 5f621e34cdf4: Verifying Checksum 06:22:55 5f621e34cdf4: Download complete 06:22:55 b116817d02f9: Download complete 06:22:56 5f621e34cdf4: Pull complete 06:22:57 a4357932f1b6: Pull complete 06:22:57 18c013af1878: Pull complete 06:22:58 745a02a5169b: Verifying Checksum 06:22:58 745a02a5169b: Download complete 06:22:59 00ac8860ef70: Verifying Checksum 06:22:59 00ac8860ef70: Download complete 06:23:09 00ac8860ef70: Pull complete 06:23:09 63d7cb157983: Pull complete 06:23:10 b116817d02f9: Pull complete 06:23:14 745a02a5169b: Pull complete 06:23:14 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:23:14 ---> b7e6874047d6 06:23:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:17 ---> Running in 041ca7b032dd 06:23:17 Removing intermediate container 041ca7b032dd 06:23:17 ---> b2cb9e6d779d 06:23:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:17 ---> Running in 649ef3e696ed 06:23:20 Removing intermediate container 649ef3e696ed 06:23:20 ---> 3b3ac707a395 06:23:20 Step 5/8 : RUN apk add --no-cache make git 06:23:20 ---> Running in 3dc4a9a2af0d 06:23:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:23:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:23:22 OK: 142 MiB in 39 packages 06:23:23 Removing intermediate container 3dc4a9a2af0d 06:23:23 ---> 34ec68c0d6d7 06:23:23 Step 6/8 : WORKDIR /device-sdk-go 06:23:23 ---> Running in 83a8ad9b73f4 06:23:24 Removing intermediate container 83a8ad9b73f4 06:23:24 ---> af950d492f12 06:23:24 Step 7/8 : COPY . . 06:23:25 ---> 8eba4f2dde0b 06:23:25 Step 8/8 : RUN go mod download 06:23:25 ---> Running in 8916eeb00244 06:23:35 Running on prd-centos7-docker-4c-2g-15336 in /w/workspace/dgexfoundry_device-sdk-go_PR-684 [Pipeline] { [Pipeline] ws 06:23:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:23:42 using credential edgex-jenkins-ssh 06:23:43 Cloning the remote Git repository 06:23:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:23:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:23:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:23:43 > git --version # timeout=10 06:23:43 > git --version # 'git version 2.24.3' 06:23:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:23:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:23:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:23:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:23:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:23:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:23:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:23:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/684/head:refs/remotes/origin/PR-684 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:23:44 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 7336e8fc50ffcf086b545449c141024ad86ff095 06:23:45 Merge succeeded, producing 7336e8fc50ffcf086b545449c141024ad86ff095 06:23:45 Checking out Revision 7336e8fc50ffcf086b545449c141024ad86ff095 (PR-684) 06:23:44 > git config core.sparsecheckout # timeout=10 06:23:44 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 06:23:45 > git remote # timeout=10 06:23:45 > git config --get remote.origin.url # timeout=10 06:23:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:23:45 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 06:23:45 > git rev-parse HEAD^{commit} # timeout=10 06:23:45 > git config core.sparsecheckout # timeout=10 06:23:45 > git checkout -f 7336e8fc50ffcf086b545449c141024ad86ff095 # timeout=10 06:23:47 Removing intermediate container 8916eeb00244 06:23:47 ---> efcdfc84fec6 06:23:47 Successfully built efcdfc84fec6 06:23:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:23:48 + docker inspect -f . ci-base-image-arm64 06:23:48 . [Pipeline] withDockerContainer 06:23:48 prd-ubuntu18.04-docker-arm64-4c-16g-15335 does not seem to be running inside a container 06:23:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:23:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:23:49 > git --version # timeout=10 06:23:49 > git --version # 'git version 2.24.3' 06:23:49 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 06:23:49 $ docker top 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:51 + go version 06:23:51 go version go1.15.5 linux/arm64 [Pipeline] } 06:23:51 $ docker stop --time=1 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 06:23:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 06:23:53 $ docker rm -f 5aac29a94ffdc0ab4423047c85da3dda82b1dc925ce38465e9e9ebd75caccd05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } 06:23:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 06:23:54 + sudo service docker restart 06:23:54 + true 06:23:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] isUnix [Pipeline] sh 06:23:54 + docker inspect -f . ci-base-image-arm64 06:23:54 . [Pipeline] withDockerContainer 06:23:55 prd-ubuntu18.04-docker-arm64-4c-16g-15335 does not seem to be running inside a container 06:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:23:56 $ docker top 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 06:23:57 provisioning config files... 06:23:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5690090083732990304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:57 + make test 06:23:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:23:57 ---> docker-login.sh 06:23:57 nexus3.edgexfoundry.org:10001 06:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:58 Configure a credential helper to remove this warning. See 06:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:58 06:23:58 Login Succeeded 06:23:58 nexus3.edgexfoundry.org:10002 06:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:59 Configure a credential helper to remove this warning. See 06:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:59 06:23:59 Login Succeeded 06:23:59 nexus3.edgexfoundry.org:10003 06:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:59 Configure a credential helper to remove this warning. See 06:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:59 06:23:59 Login Succeeded 06:23:59 nexus3.edgexfoundry.org:10004 06:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:00 Configure a credential helper to remove this warning. See 06:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:00 06:24:00 Login Succeeded 06:24:00 docker.io 06:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:00 Configure a credential helper to remove this warning. See 06:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:00 06:24:00 Login Succeeded 06:24:00 ---> docker-login.sh ends [Pipeline] } 06:24:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:24:01 ========================================================= 06:24:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:24:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:24:02 + 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 . 06:24:03 Sending build context to Docker daemon 2.372MB 06:24:03 Step 1/8 : ARG BASE=golang:1.15-alpine 06:24:03 Step 2/8 : FROM ${BASE} 06:24:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:24:03 188c0c94c7c5: Pulling fs layer 06:24:03 0ef7d3d256c8: Pulling fs layer 06:24:03 de9db76c5a1d: Pulling fs layer 06:24:03 bca2f99d35d6: Pulling fs layer 06:24:03 93359f2a8cfa: Pulling fs layer 06:24:03 7c6f9722023f: Pulling fs layer 06:24:03 a35cf1a2eb13: Pulling fs layer 06:24:03 bca2f99d35d6: Waiting 06:24:03 93359f2a8cfa: Waiting 06:24:03 7c6f9722023f: Waiting 06:24:03 a35cf1a2eb13: Waiting 06:24:03 de9db76c5a1d: Verifying Checksum 06:24:03 de9db76c5a1d: Download complete 06:24:03 0ef7d3d256c8: Verifying Checksum 06:24:03 0ef7d3d256c8: Download complete 06:24:03 93359f2a8cfa: Verifying Checksum 06:24:03 93359f2a8cfa: Download complete 06:24:03 7c6f9722023f: Verifying Checksum 06:24:03 7c6f9722023f: Download complete 06:24:04 188c0c94c7c5: Verifying Checksum 06:24:04 188c0c94c7c5: Download complete 06:24:05 188c0c94c7c5: Pull complete 06:24:05 0ef7d3d256c8: Pull complete 06:24:05 de9db76c5a1d: Pull complete 06:24:09 a35cf1a2eb13: Verifying Checksum 06:24:09 a35cf1a2eb13: Download complete 06:24:11 bca2f99d35d6: Verifying Checksum 06:24:11 bca2f99d35d6: Download complete 06:24:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:24:24 bca2f99d35d6: Pull complete 06:24:24 93359f2a8cfa: Pull complete 06:24:24 7c6f9722023f: Pull complete 06:24:29 a35cf1a2eb13: Pull complete 06:24:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:24:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:24:29 ---> a62c8e92a672 06:24:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:24:29 ---> Running in dbf22930954b 06:24:30 Removing intermediate container dbf22930954b 06:24:30 ---> b12a556b4ff8 06:24:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:30 ---> Running in f6570b93f922 06:24:32 Removing intermediate container f6570b93f922 06:24:32 ---> 54b2700577ff 06:24:32 Step 5/8 : RUN apk add --no-cache make git 06:24:32 ---> Running in a775906f8673 06:24:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:24:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:24:35 OK: 166 MiB in 39 packages 06:24:36 Removing intermediate container a775906f8673 06:24:36 ---> e24a19949399 06:24:36 Step 6/8 : WORKDIR /device-sdk-go 06:24:36 ---> Running in 8f460e4e91b9 06:24:36 Removing intermediate container 8f460e4e91b9 06:24:36 ---> 3eb82c9fad0d 06:24:36 Step 7/8 : COPY . . 06:24:37 ---> 392e2bfc21b3 06:24:37 Step 8/8 : RUN go mod download 06:24:37 ---> Running in 570643cad7f8 06:24:59 # github.com/edgexfoundry/device-sdk-go/internal/v2/application 06:24:59 internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading 06:24:59 internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) 06:24:59 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 20.6% of statements 06:25:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.128s coverage: 97.1% of statements 06:25:04 Removing intermediate container 570643cad7f8 06:25:04 ---> 027691983ade 06:25:04 Successfully built 027691983ade 06:25:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:25:05 + docker inspect -f . ci-base-image-x86_64 06:25:05 . [Pipeline] withDockerContainer 06:25:05 prd-centos7-docker-4c-2g-15336 does not seem to be running inside a container 06:25:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:25:07 $ docker top 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:08 + go version 06:25:08 go version go1.15.5 linux/amd64 [Pipeline] } 06:25:08 $ docker stop --time=1 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae 06:25:10 $ docker rm -f 0dad16168454cb2da0f7633a2ec6896ac48b827d006a110efbe6e95a7aee79ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:25:11 + docker inspect -f . ci-base-image-x86_64 06:25:11 . [Pipeline] withDockerContainer 06:25:11 prd-centos7-docker-4c-2g-15336 does not seem to be running inside a container 06:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:25:13 $ docker top 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:14 + make test 06:25:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:25:26 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:25:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.150s coverage: 9.4% of statements 06:25:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements 06:25:28 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:25:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.796s coverage: 68.9% of statements 06:25:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.270s coverage: 52.6% of statements 06:25:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.233s coverage: 68.9% of statements 06:25:28 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 06:25:28 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:25:28 $ docker stop --time=1 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 06:25:31 $ docker rm -f 7af8bf2317eac1d87fde30a754f62fb7f8c7fe41cbce0b422ddcbceca78384d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:25:33 Failed in branch arm64 06:25:49 # github.com/edgexfoundry/device-sdk-go/internal/v2/application 06:25:49 internal/v2/application/command.go:713:31: unknown field 'Name' in struct literal of type dtos.BaseReading 06:25:49 internal/v2/application/command.go:719:10: reading.FloatEncoding undefined (type *dtos.BaseReading has no field or method FloatEncoding) 06:25:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 20.6% of statements 06:25:57 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.714s coverage: 97.1% of statements 06:26:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements 06:26:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.153s coverage: 21.9% of statements 06:26:29 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:26:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.636s coverage: 68.9% of statements 06:26:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.097s coverage: 52.6% of statements 06:26:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.309s coverage: 68.9% of statements 06:26:29 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 06:26:29 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:26:29 $ docker stop --time=1 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 06:26:31 $ docker rm -f 56f1aee5e0ad78ff439cb8b60c4ca5ccbe0c7fcd3240aa6c343721bc59ffb5c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:26:34 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:26:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:39 ---> package-listing.sh 06:26:39 ++ facter osfamily 06:26:39 ++ tr '[:upper:]' '[:lower:]' 06:26:39 + OS_FAMILY=redhat 06:26:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-684 06:26:39 + START_PACKAGES=/tmp/packages_start.txt 06:26:39 + END_PACKAGES=/tmp/packages_end.txt 06:26:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:39 + PACKAGES=/tmp/packages_start.txt 06:26:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-684 ']' 06:26:39 + PACKAGES=/tmp/packages_end.txt 06:26:39 + case "${OS_FAMILY}" in 06:26:39 + rpm -qa 06:26:39 + sort 06:26:44 + '[' -f /tmp/packages_start.txt ']' 06:26:44 + '[' -f /tmp/packages_end.txt ']' 06:26:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-684 ']' 06:26:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-684/archives/ 06:26:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-684/archives/ [Pipeline] echo 06:26:44 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-684/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:26:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:45 06:26:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:26:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:45 alpine: Pulling from edgex-lftools-log-publisher 06:26:45 df20fa9351a1: Pulling fs layer 06:26:45 36b3adc4ff6f: Pulling fs layer 06:26:45 8ad3a11d3b57: Pulling fs layer 06:26:45 46f8f816bc3b: Pulling fs layer 06:26:45 93b61091891f: Pulling fs layer 06:26:45 93b9cdb0e59b: Pulling fs layer 06:26:45 5e14af77c1be: Pulling fs layer 06:26:45 01666e4c0597: Pulling fs layer 06:26:45 aa168da1d23b: Pulling fs layer 06:26:45 46f8f816bc3b: Waiting 06:26:45 93b61091891f: Waiting 06:26:45 93b9cdb0e59b: Waiting 06:26:45 5e14af77c1be: Waiting 06:26:45 01666e4c0597: Waiting 06:26:45 aa168da1d23b: Waiting 06:26:45 36b3adc4ff6f: Download complete 06:26:46 46f8f816bc3b: Verifying Checksum 06:26:46 46f8f816bc3b: Download complete 06:26:46 df20fa9351a1: Download complete 06:26:46 93b9cdb0e59b: Verifying Checksum 06:26:46 93b9cdb0e59b: Download complete 06:26:46 5e14af77c1be: Verifying Checksum 06:26:46 5e14af77c1be: Download complete 06:26:46 01666e4c0597: Verifying Checksum 06:26:46 01666e4c0597: Download complete 06:26:46 df20fa9351a1: Pull complete 06:26:46 93b61091891f: Verifying Checksum 06:26:46 93b61091891f: Download complete 06:26:46 8ad3a11d3b57: Verifying Checksum 06:26:46 8ad3a11d3b57: Download complete 06:26:46 36b3adc4ff6f: Pull complete 06:26:47 8ad3a11d3b57: Pull complete 06:26:47 46f8f816bc3b: Pull complete 06:26:47 93b61091891f: Pull complete 06:26:47 93b9cdb0e59b: Pull complete 06:26:48 5e14af77c1be: Pull complete 06:26:48 aa168da1d23b: Verifying Checksum 06:26:48 aa168da1d23b: Download complete 06:26:48 01666e4c0597: Pull complete 06:26:57 aa168da1d23b: Pull complete 06:26:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:26:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:26:57 prd-centos7-docker-4c-2g-15334 does not seem to be running inside a container 06:26:57 $ 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-684/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-684 -v /w/workspace/dgexfoundry_device-sdk-go_PR-684:/w/workspace/dgexfoundry_device-sdk-go_PR-684:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-684@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:27:00 $ docker top b14a88bfd35802fdc0636191d4024805aff5c16aae80c0b8e88ae0ca377dedbf -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:01 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:01 + mkdir -p /var/log/sa [Pipeline] sh 06:27:01 + ls /var/log/sa-host 06:27:01 + sadf -c /var/log/sa-host/sa10 06:27:01 file_magic: OK 06:27:01 HZ: Using current value: 100 06:27:01 file_header: OK 06:27:01 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 06:27:01 Statistics: 06:27:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:27:01 File successfully converted to sysstat format version 12.2.1 06:27:01 + sadf -c /var/log/sa-host/sa23 06:27:01 file_magic: OK 06:27:01 HZ: Using current value: 100 06:27:01 file_header: OK 06:27:01 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 06:27:01 Statistics: 06:27:01 Hnuu...uuuununununu... 06:27:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:02 provisioning config files... 06:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp/config7706931974917691621tmp [Pipeline] { [Pipeline] echo 06:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:03 ---> create-netrc.sh [Pipeline] } 06:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:27:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:27:03 ---> python-tools-install.sh [Pipeline] echo 06:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:03 ---> sudo-logs.sh 06:27:03 Archiving 'sudo' log.. [Pipeline] echo 06:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:04 ---> job-cost.sh 06:27:04 lf-activate-venv: SKIPPING 06:27:04 INFO: No Stack... 06:27:05 INFO: Retrieving Pricing Info for: v1-standard-2 06:27:05 INFO: Archiving Costs [Pipeline] echo 06:27:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:27:06 ---> logs-deploy.sh 06:27:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-684/1 06:27:06 INFO: archiving workspace using pattern(s): 06:27:08 Archives upload complete. 06:27:08 INFO: archiving logs to Nexus 06:27:09 ---> uname -a: 06:27:09 Linux prd-centos7-docker-4c-2g-15334.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:27:09 06:27:09 06:27:09 ---> lscpu: 06:27:09 Architecture: x86_64 06:27:09 CPU op-mode(s): 32-bit, 64-bit 06:27:09 Byte Order: Little Endian 06:27:09 Address sizes: 40 bits physical, 48 bits virtual 06:27:09 CPU(s): 4 06:27:09 On-line CPU(s) list: 0-3 06:27:09 Thread(s) per core: 1 06:27:09 Core(s) per socket: 1 06:27:09 Socket(s): 4 06:27:09 NUMA node(s): 1 06:27:09 Vendor ID: GenuineIntel 06:27:09 CPU family: 6 06:27:09 Model: 44 06:27:09 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:27:09 Stepping: 1 06:27:09 CPU MHz: 2933.438 06:27:09 BogoMIPS: 5866.87 06:27:09 Virtualization: VT-x 06:27:09 Hypervisor vendor: KVM 06:27:09 Virtualization type: full 06:27:09 L1d cache: 128 KiB 06:27:09 L1i cache: 128 KiB 06:27:09 L2 cache: 16 MiB 06:27:09 L3 cache: 64 MiB 06:27:09 NUMA node0 CPU(s): 0-3 06:27:09 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:27:09 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:27:09 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:27:09 Vulnerability Meltdown: Mitigation; PTI 06:27:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:27:09 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:27:09 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:27:09 Vulnerability Srbds: Not affected 06:27:09 Vulnerability Tsx async abort: Not affected 06:27:09 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 06:27:09 06:27:09 06:27:09 ---> nproc: 06:27:09 4 06:27:09 06:27:09 06:27:09 ---> df -h: 06:27:09 Filesystem Size Used Available Use% Mounted on 06:27:09 overlay 50.0G 7.3G 42.7G 15% / 06:27:09 tmpfs 64.0M 0 64.0M 0% /dev 06:27:09 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:27:09 shm 64.0M 0 64.0M 0% /dev/shm 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-684 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-684@tmp 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:27:09 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:27:09 06:27:09 06:27:09 ---> free -m: 06:27:09 total used free shared buff/cache available 06:27:09 Mem: 1837 690 86 0 1060 1042 06:27:09 Swap: 1023 1 1022 06:27:09 06:27:09 06:27:09 ---> ip addr: 06:27:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:27:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:27:09 inet 127.0.0.1/8 scope host lo 06:27:09 valid_lft forever preferred_lft forever 06:27:09 inet6 ::1/128 scope host 06:27:09 valid_lft forever preferred_lft forever 06:27:09 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:27:09 link/ether fa:16:3e:31:b5:96 brd ff:ff:ff:ff:ff:ff 06:27:09 inet 10.30.123.138/23 brd 10.30.123.255 scope global dynamic eth0 06:27:09 valid_lft 85939sec preferred_lft 85939sec 06:27:09 inet6 fe80::f816:3eff:fe31:b596/64 scope link 06:27:09 valid_lft forever preferred_lft forever 06:27:09 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:27:09 link/ether 02:42:df:4c:2e:8c brd ff:ff:ff:ff:ff:ff 06:27:09 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:27:09 valid_lft forever preferred_lft forever 06:27:09 inet6 fe80::42:dfff:fe4c:2e8c/64 scope link 06:27:09 valid_lft forever preferred_lft forever 06:27:09 06:27:09 06:27:09 ---> sar -b -r -n DEV: 06:27:09 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 06:27:09 06:27:09 06:19:17 LINUX RESTART (4 CPU) 06:27:09 06:27:09 06:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:27:09 06:21:01 32.11 11.35 20.76 0.00 4381.99 3107.76 0.00 06:27:09 06:22:01 1.67 0.00 1.67 0.00 0.00 28.20 0.00 06:27:09 06:23:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 06:27:09 06:24:01 0.25 0.00 0.25 0.00 0.00 2.66 0.00 06:27:09 06:25:01 0.20 0.00 0.20 0.00 0.00 2.76 0.00 06:27:09 06:26:01 0.37 0.00 0.37 0.00 0.00 4.70 0.00 06:27:09 06:27:01 128.88 70.33 58.55 0.00 6472.72 18401.27 0.00 06:27:09 Average: 23.39 11.67 11.72 0.00 1551.15 3079.55 0.00 06:27:09 06:27:09 06:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:27:09 06:21:01 160080 0 565420 30.05 2620 1153424 1101256 37.58 416448 1104644 20 06:27:09 06:22:01 165872 0 559624 29.74 2620 1153428 1060516 36.19 413520 1102856 8 06:27:09 06:23:01 165328 0 560160 29.77 2620 1153436 1060720 36.20 422276 1095272 8 06:27:09 06:24:01 163128 0 562360 29.89 2620 1153436 1060720 36.20 423600 1094812 20 06:27:09 06:25:01 164288 0 561192 29.83 2620 1153444 1060600 36.20 417700 1100200 16 06:27:09 06:26:01 164832 0 560644 29.80 2620 1153448 1060576 36.20 417596 1100200 12 06:27:09 06:27:01 152592 0 661140 35.14 2620 1065192 1333176 45.50 455656 1019472 48 06:27:09 Average: 162303 0 575791 30.60 2620 1140830 1105366 37.72 423828 1088208 19 06:27:09 06:27:09 06:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:27:09 06:21:01 eth0 161.96 125.60 468.99 42.10 0.00 0.00 0.00 0.00 06:27:09 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:21:01 docker0 10.74 8.74 1.49 20.48 0.00 0.00 0.00 0.00 06:27:09 06:22:01 eth0 0.67 0.03 0.06 0.00 0.00 0.00 0.00 0.00 06:27:09 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:23:01 eth0 2.07 0.92 1.15 0.21 0.00 0.00 0.00 0.00 06:27:09 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:24:01 eth0 0.55 0.40 0.30 0.24 0.00 0.00 0.00 0.00 06:27:09 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:25:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 06:27:09 06:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:26:01 eth0 0.22 0.17 0.07 0.01 0.00 0.00 0.00 0.00 06:27:09 06:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:27:01 eth0 199.40 168.42 2175.34 18.85 0.00 0.00 0.00 0.00 06:27:09 06:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 06:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 Average: eth0 52.17 42.26 378.11 8.78 0.00 0.00 0.00 0.00 06:27:09 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:09 Average: docker0 1.53 1.25 0.21 2.93 0.00 0.00 0.00 0.00 06:27:09 06:27:09 06:27:09 ---> sar -P ALL: 06:27:09 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 06:27:09 06:27:09 06:19:17 LINUX RESTART (4 CPU) 06:27:09 06:27:09 06:20:01 CPU %user %nice %system %iowait %steal %idle 06:27:09 06:21:01 all 2.98 0.00 2.08 0.67 0.03 94.24 06:27:09 06:21:01 0 2.87 0.00 2.15 0.35 0.03 94.60 06:27:09 06:21:01 1 2.95 0.00 2.18 0.25 0.02 94.60 06:27:09 06:21:01 2 2.82 0.00 1.83 1.43 0.03 93.90 06:27:09 06:21:01 3 3.27 0.00 2.18 0.67 0.02 93.87 06:27:09 06:22:01 all 0.12 0.00 0.05 0.00 0.00 99.84 06:27:09 06:22:01 0 0.35 0.00 0.03 0.00 0.00 99.62 06:27:09 06:22:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:27:09 06:22:01 2 0.07 0.00 0.07 0.00 0.00 99.87 06:27:09 06:22:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:27:09 06:23:01 all 0.13 0.00 0.05 0.00 0.00 99.81 06:27:09 06:23:01 0 0.30 0.00 0.07 0.00 0.00 99.63 06:27:09 06:23:01 1 0.10 0.00 0.05 0.00 0.00 99.85 06:27:09 06:23:01 2 0.08 0.00 0.05 0.00 0.02 99.85 06:27:09 06:23:01 3 0.03 0.00 0.05 0.00 0.00 99.92 06:27:09 06:24:01 all 0.17 0.00 0.04 0.00 0.00 99.79 06:27:09 06:24:01 0 0.57 0.00 0.03 0.00 0.00 99.40 06:27:09 06:24:01 1 0.07 0.00 0.05 0.00 0.00 99.88 06:27:09 06:24:01 2 0.03 0.00 0.05 0.00 0.00 99.92 06:27:09 06:24:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:27:09 06:25:01 all 0.18 0.00 0.12 0.00 0.00 99.70 06:27:09 06:25:01 0 0.52 0.00 0.05 0.00 0.00 99.43 06:27:09 06:25:01 1 0.12 0.00 0.17 0.00 0.00 99.72 06:27:09 06:25:01 2 0.03 0.00 0.13 0.00 0.00 99.83 06:27:09 06:25:01 3 0.03 0.00 0.13 0.00 0.02 99.82 06:27:09 06:26:01 all 0.14 0.00 0.02 0.00 0.00 99.83 06:27:09 06:26:01 0 0.12 0.00 0.00 0.00 0.00 99.88 06:27:09 06:26:01 1 0.05 0.00 0.05 0.00 0.02 99.88 06:27:09 06:26:01 2 0.40 0.00 0.02 0.00 0.00 99.58 06:27:09 06:26:01 3 0.00 0.00 0.02 0.00 0.00 99.98 06:27:09 06:27:01 all 5.49 0.00 3.83 2.48 0.01 88.20 06:27:09 06:27:01 0 4.87 0.00 3.64 1.35 0.00 90.14 06:27:09 06:27:01 1 4.71 0.00 3.75 2.42 0.00 89.11 06:27:09 06:27:01 2 7.28 0.00 3.98 5.53 0.03 83.18 06:27:09 06:27:01 3 5.07 0.00 3.94 0.61 0.00 90.38 06:27:09 Average: all 1.31 0.00 0.88 0.45 0.01 97.36 06:27:09 Average: 0 1.36 0.00 0.85 0.24 0.00 97.54 06:27:09 Average: 1 1.14 0.00 0.90 0.38 0.00 97.58 06:27:09 Average: 2 1.52 0.00 0.87 0.99 0.01 96.61 06:27:09 Average: 3 1.20 0.00 0.90 0.18 0.00 97.71 06:27:09 06:27:09 06:27:09