Pull request #755 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 843da740fefb41e4fa22e670f79c8e7e5317bf4c+2e0b14878cfb4a574be8745ab7c226ce26d53775 (12ceaccfaff5e87335e1de68b6db697c8e964d87) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-755/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-755/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 69a7e166112f335804d9fea76440e5140e47f034 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22786 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [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-755 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c Merge succeeded, producing 843da740fefb41e4fa22e670f79c8e7e5317bf4c Checking out Revision 843da740fefb41e4fa22e670f79c8e7e5317bf4c (PR-755) > 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/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:40 ========================================================= 06:14:40 EdgeX Global Pipelines Version Info 06:14:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:42 ------------------- 06:14:42 stable info: 06:14:42 ------------------- 06:14:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:42 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:14:42 Message: update stable to v1.0.179 06:14:44 ------------------- 06:14:44 experimental info: 06:14:44 ------------------- 06:14:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:44 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:14:44 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:14:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:14:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-755 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-755 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-755 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 843da740fefb41e4fa22e670f79c8e7e5317bf4c [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 843da74 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:14:49 provisioning config files... 06:14:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config164050001700629732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:49 ---> docker-login.sh 06:14:49 nexus3.edgexfoundry.org:10001 06:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:50 Configure a credential helper to remove this warning. See 06:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:50 06:14:50 Login Succeeded 06:14:50 nexus3.edgexfoundry.org:10002 06:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:50 Configure a credential helper to remove this warning. See 06:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:50 06:14:50 Login Succeeded 06:14:50 nexus3.edgexfoundry.org:10003 06:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:51 Configure a credential helper to remove this warning. See 06:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:51 06:14:51 Login Succeeded 06:14:51 nexus3.edgexfoundry.org:10004 06:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:51 Configure a credential helper to remove this warning. See 06:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:51 06:14:51 Login Succeeded 06:14:51 docker.io 06:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:52 Configure a credential helper to remove this warning. See 06:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:52 06:14:52 Login Succeeded 06:14:52 ---> docker-login.sh ends [Pipeline] } 06:14:52 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:14:53 + git log --format=format:%s -1 843da740fefb41e4fa22e670f79c8e7e5317bf4c [Pipeline] echo 06:14:53 GIT_COMMIT: 843da740fefb41e4fa22e670f79c8e7e5317bf4c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 06:14:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:14:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:14:54 06:14:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:14:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:14:55 latest: Pulling from edgex-devops/git-semver 06:14:55 31603596830f: Pulling fs layer 06:14:55 2a8b12db71e7: Pulling fs layer 06:14:55 6ca5941a6612: Pulling fs layer 06:14:55 ecc8261a40a4: Pulling fs layer 06:14:55 ecc8261a40a4: Waiting 06:14:55 2a8b12db71e7: Verifying Checksum 06:14:55 2a8b12db71e7: Download complete 06:14:56 31603596830f: Verifying Checksum 06:14:56 31603596830f: Download complete 06:14:56 6ca5941a6612: Verifying Checksum 06:14:56 6ca5941a6612: Download complete 06:14:56 ecc8261a40a4: Verifying Checksum 06:14:56 ecc8261a40a4: Download complete 06:14:57 31603596830f: Pull complete 06:14:57 2a8b12db71e7: Pull complete 06:14:59 6ca5941a6612: Pull complete 06:14:59 ecc8261a40a4: Pull complete 06:14:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:14:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:14:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:14:59 prd-centos7-docker-4c-2g-22786 does not seem to be running inside a container 06:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-755 -v /w/workspace/dgexfoundry_device-sdk-go_PR-755:/w/workspace/dgexfoundry_device-sdk-go_PR-755:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-755@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:10004/edgex-devops/git-semver:latest cat 06:15:03 $ docker top f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:03 [ssh-agent] Looking for ssh-agent implementation... 06:15:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:04 $ docker exec f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b ssh-agent 06:15:05 SSH_AUTH_SOCK=/tmp/ssh-oe0OIihtuyrU/agent.11 06:15:05 SSH_AGENT_PID=16 06:15:05 Running ssh-add (command line suppressed) 06:15:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_763016184967054224.key (/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_763016184967054224.key) 06:15:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:06 + git tag --points-at HEAD [Pipeline] } 06:15:06 $ docker exec --env ******** --env ******** f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b ssh-agent -k 06:15:07 unset SSH_AUTH_SOCK; 06:15:07 unset SSH_AGENT_PID; 06:15:07 echo Agent pid 16 killed; 06:15:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:07 [ssh-agent] Looking for ssh-agent implementation... 06:15:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:08 $ docker exec f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b ssh-agent 06:15:08 SSH_AUTH_SOCK=/tmp/ssh-Z4hRnZs1smOs/agent.44 06:15:08 SSH_AGENT_PID=49 06:15:08 Running ssh-add (command line suppressed) 06:15:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_9180968344696112436.key (/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/private_key_9180968344696112436.key) 06:15:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:10 + git semver init 06:15:10 # -> Open(): unable to determine branch for HEAD 06:15:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-755/.git 06:15:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-755 06:15:10 # $SEMVER_REMOTE_NAME = origin 06:15:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:15:10 # $SEMVER_USER_NAME = edgex-jenkins 06:15:10 # $SEMVER_BRANCH = PR-755 06:15:10 # $SEMVER_TEMP = /tmp/semver-004133117 06:15:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:15:11 # '/tmp/semver-004133117' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-755/.semver' 06:15:11 # -> Force: false 06:15:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-755/.semver [Pipeline] } 06:15:11 $ docker exec --env ******** --env ******** f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b ssh-agent -k 06:15:12 unset SSH_AUTH_SOCK; 06:15:12 unset SSH_AGENT_PID; 06:15:12 echo Agent pid 49 killed; 06:15:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:13 + git semver [Pipeline] } 06:15:13 $ docker stop --time=1 f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b 06:15:15 $ docker rm -f f8004587b2f0af6358883b4f0e6a1c968b29ae7b0940f602fa12d01f39b3821b [Pipeline] // withDockerContainer [Pipeline] sh 06:15:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:16 Stashed 1 file(s) [Pipeline] echo 06:15:16 [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:15:33 Still waiting to schedule task 06:15:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:15:33 Still waiting to schedule task 06:15:33 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22789’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 06:15:49 Running on prd-centos7-docker-4c-2g-22789 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [Pipeline] { [Pipeline] ws 06:15:49 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:15:52 using credential edgex-jenkins-ssh 06:15:52 Cloning the remote Git repository 06:15:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:15:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:15:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:52 > git --version # timeout=10 06:15:52 > git --version # 'git version 2.24.3' 06:15:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:53 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:15:53 Merge succeeded, producing 843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:15:53 Checking out Revision 843da740fefb41e4fa22e670f79c8e7e5317bf4c (PR-755) 06:15:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:53 > git config core.sparsecheckout # timeout=10 06:15:53 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 06:15:53 > git remote # timeout=10 06:15:53 > git config --get remote.origin.url # timeout=10 06:15:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:53 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:15:53 > git rev-parse HEAD^{commit} # timeout=10 06:15:53 > git config core.sparsecheckout # timeout=10 06:15:53 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 06:15:57 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 06:15:57 > git --version # timeout=10 06:15:57 > git --version # 'git version 2.24.3' 06:15:57 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:15:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:15:59 + sudo service docker restart 06:15:59 + true 06:15:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:00 provisioning config files... 06:16:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2611114080535829036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:01 ---> docker-login.sh 06:16:01 nexus3.edgexfoundry.org:10001 06:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:01 Configure a credential helper to remove this warning. See 06:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:01 06:16:01 Login Succeeded 06:16:01 nexus3.edgexfoundry.org:10002 06:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:02 Configure a credential helper to remove this warning. See 06:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:02 06:16:02 Login Succeeded 06:16:02 nexus3.edgexfoundry.org:10003 06:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:02 Configure a credential helper to remove this warning. See 06:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:02 06:16:02 Login Succeeded 06:16:02 nexus3.edgexfoundry.org:10004 06:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:02 Configure a credential helper to remove this warning. See 06:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:02 06:16:02 Login Succeeded 06:16:02 docker.io 06:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:03 Configure a credential helper to remove this warning. See 06:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:03 06:16:03 Login Succeeded 06:16:03 ---> docker-login.sh ends [Pipeline] } 06:16:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:03 ========================================================= 06:16:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:16:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:04 + 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:16:04 Sending build context to Docker daemon 2.564MB 06:16:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:16:04 Step 2/8 : FROM ${BASE} 06:16:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:04 188c0c94c7c5: Pulling fs layer 06:16:04 0ef7d3d256c8: Pulling fs layer 06:16:04 de9db76c5a1d: Pulling fs layer 06:16:04 bca2f99d35d6: Pulling fs layer 06:16:04 93359f2a8cfa: Pulling fs layer 06:16:04 7c6f9722023f: Pulling fs layer 06:16:04 a35cf1a2eb13: Pulling fs layer 06:16:04 93359f2a8cfa: Waiting 06:16:04 bca2f99d35d6: Waiting 06:16:04 7c6f9722023f: Waiting 06:16:04 a35cf1a2eb13: Waiting 06:16:04 de9db76c5a1d: Verifying Checksum 06:16:04 de9db76c5a1d: Download complete 06:16:04 0ef7d3d256c8: Verifying Checksum 06:16:04 0ef7d3d256c8: Download complete 06:16:04 93359f2a8cfa: Verifying Checksum 06:16:04 93359f2a8cfa: Download complete 06:16:04 188c0c94c7c5: Verifying Checksum 06:16:04 7c6f9722023f: Verifying Checksum 06:16:04 7c6f9722023f: Download complete 06:16:04 188c0c94c7c5: Pull complete 06:16:04 0ef7d3d256c8: Pull complete 06:16:05 de9db76c5a1d: Pull complete 06:16:06 a35cf1a2eb13: Verifying Checksum 06:16:06 a35cf1a2eb13: Download complete 06:16:07 bca2f99d35d6: Verifying Checksum 06:16:07 bca2f99d35d6: Download complete 06:16:12 bca2f99d35d6: Pull complete 06:16:12 93359f2a8cfa: Pull complete 06:16:12 7c6f9722023f: Pull complete 06:16:17 a35cf1a2eb13: Pull complete 06:16:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:16:17 ---> a62c8e92a672 06:16:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:17 ---> Running in 3a06beb15005 06:16:17 Removing intermediate container 3a06beb15005 06:16:17 ---> d837685d9341 06:16:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:17 ---> Running in 61e92c314221 06:16:18 Removing intermediate container 61e92c314221 06:16:18 ---> 6fd5f8a2f12b 06:16:18 Step 5/8 : RUN apk add --update --no-cache make git 06:16:19 ---> Running in 01a12b5c7c15 06:16:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:21 OK: 166 MiB in 39 packages 06:16:21 Removing intermediate container 01a12b5c7c15 06:16:21 ---> 4a1c6466f33e 06:16:21 Step 6/8 : WORKDIR /device-sdk-go 06:16:21 ---> Running in d814e3775980 06:16:22 Removing intermediate container d814e3775980 06:16:22 ---> 14eb25a27374 06:16:22 Step 7/8 : COPY . . 06:16:23 ---> 30dd1b3502e0 06:16:23 Step 8/8 : RUN go mod download 06:16:23 ---> Running in ddc59d56cf4f 06:16:50 Removing intermediate container ddc59d56cf4f 06:16:50 ---> d77d6f17651d 06:16:50 Successfully built d77d6f17651d 06:16:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:16:50 + docker inspect -f . ci-base-image-x86_64 06:16:50 . [Pipeline] withDockerContainer 06:16:50 prd-centos7-docker-4c-2g-22789 does not seem to be running inside a container 06:16:50 $ 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-x86_64 cat 06:16:51 $ docker top 5512e7d0d8621b0d4c1ba42b92ed31abb5ce7167a6ea4691afb630150875027d -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:52 + go version 06:16:52 go version go1.15.5 linux/amd64 [Pipeline] } 06:16:52 $ docker stop --time=1 5512e7d0d8621b0d4c1ba42b92ed31abb5ce7167a6ea4691afb630150875027d 06:16:53 $ docker rm -f 5512e7d0d8621b0d4c1ba42b92ed31abb5ce7167a6ea4691afb630150875027d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:54 + docker inspect -f . ci-base-image-x86_64 06:16:54 . [Pipeline] withDockerContainer 06:16:55 prd-centos7-docker-4c-2g-22789 does not seem to be running inside a container 06:16: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-x86_64 cat 06:16:55 $ docker top 716a365d120caf4ab8bfdf5b61cfa4081a78ddb667bb453ef4c3c3b3f0c7ae8e -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:56 + make test 06:16:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:17:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:17:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:17:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:17:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 06:17:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.493s coverage: 97.1% of statements 06:17:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22790 in /w/workspace/dgexfoundry_device-sdk-go_PR-755 [Pipeline] { [Pipeline] ws 06:17:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:17:28 using credential edgex-jenkins-ssh 06:17:28 Cloning the remote Git repository 06:17:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:17:28 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:17:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:28 > git --version # timeout=10 06:17:28 > git --version # 'git version 2.17.1' 06:17:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:30 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:17:31 Merge succeeded, producing 843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:17:31 Checking out Revision 843da740fefb41e4fa22e670f79c8e7e5317bf4c (PR-755) 06:17:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/755/head:refs/remotes/origin/PR-755 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:17:30 > git config core.sparsecheckout # timeout=10 06:17:30 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 06:17:31 > git remote # timeout=10 06:17:31 > git config --get remote.origin.url # timeout=10 06:17:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:31 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 06:17:31 > git rev-parse HEAD^{commit} # timeout=10 06:17:31 > git config core.sparsecheckout # timeout=10 06:17:31 > git checkout -f 843da740fefb41e4fa22e670f79c8e7e5317bf4c # timeout=10 06:17:35 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 06:17:35 > git --version # timeout=10 06:17:35 > git --version # 'git version 2.17.1' 06:17:35 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:17:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:38 + sudo service docker restart 06:17:38 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:41 provisioning config files... 06:17:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config599774137770293509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:41 ---> docker-login.sh 06:17:41 nexus3.edgexfoundry.org:10001 06:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:42 Configure a credential helper to remove this warning. See 06:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:42 06:17:42 Login Succeeded 06:17:42 nexus3.edgexfoundry.org:10002 06:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:43 Configure a credential helper to remove this warning. See 06:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:43 06:17:43 Login Succeeded 06:17:43 nexus3.edgexfoundry.org:10003 06:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:43 Configure a credential helper to remove this warning. See 06:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:43 06:17:43 Login Succeeded 06:17:43 nexus3.edgexfoundry.org:10004 06:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:44 Configure a credential helper to remove this warning. See 06:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:44 06:17:44 Login Succeeded 06:17:44 docker.io 06:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:45 Configure a credential helper to remove this warning. See 06:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:45 06:17:45 Login Succeeded 06:17:45 ---> docker-login.sh ends [Pipeline] } 06:17:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:45 ========================================================= 06:17:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:17:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:17:46 + 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:17:46 Sending build context to Docker daemon 2.556MB 06:17:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:17:46 Step 2/8 : FROM ${BASE} 06:17:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:46 5f621e34cdf4: Pulling fs layer 06:17:46 a4357932f1b6: Pulling fs layer 06:17:46 18c013af1878: Pulling fs layer 06:17:46 00ac8860ef70: Pulling fs layer 06:17:46 00ac8860ef70: Waiting 06:17:46 63d7cb157983: Pulling fs layer 06:17:46 b116817d02f9: Pulling fs layer 06:17:46 745a02a5169b: Pulling fs layer 06:17:46 63d7cb157983: Waiting 06:17:46 b116817d02f9: Waiting 06:17:46 745a02a5169b: Waiting 06:17:46 18c013af1878: Verifying Checksum 06:17:46 a4357932f1b6: Verifying Checksum 06:17:46 a4357932f1b6: Download complete 06:17:46 63d7cb157983: Verifying Checksum 06:17:46 63d7cb157983: Download complete 06:17:46 b116817d02f9: Verifying Checksum 06:17:46 b116817d02f9: Download complete 06:17:46 5f621e34cdf4: Verifying Checksum 06:17:46 5f621e34cdf4: Download complete 06:17:47 5f621e34cdf4: Pull complete 06:17:48 a4357932f1b6: Pull complete 06:17:48 18c013af1878: Pull complete 06:17:49 745a02a5169b: Verifying Checksum 06:17:49 745a02a5169b: Download complete 06:17:50 00ac8860ef70: Verifying Checksum 06:17:50 00ac8860ef70: Download complete 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 9.4% of statements 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.076s coverage: 21.7% of statements 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s coverage: 43.2% of statements 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.289s coverage: 68.9% of statements 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.089s coverage: 26.8% of statements 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.741s coverage: 83.5% of statements 06:17:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.2% of statements 06:17:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:17:55 GO111MODULE=on go vet ./... 06:18:00 00ac8860ef70: Pull complete 06:18:01 63d7cb157983: Pull complete 06:18:01 b116817d02f9: Pull complete 06:18:02 gofmt -l . 06:18:02 [ "`gofmt -l .`" = "" ] 06:18:02 ./bin/test-attribution-txt.sh 06:18:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:18:03 $ docker stop --time=1 716a365d120caf4ab8bfdf5b61cfa4081a78ddb667bb453ef4c3c3b3f0c7ae8e 06:18:05 $ docker rm -f 716a365d120caf4ab8bfdf5b61cfa4081a78ddb667bb453ef4c3c3b3f0c7ae8e 06:18:05 745a02a5169b: Pull complete 06:18:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:18:05 ---> b7e6874047d6 06:18:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] // withDockerContainer [Pipeline] sh 06:18:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:18:08 ---> Running in b2a2cc30d33c 06:18:08 Removing intermediate container b2a2cc30d33c 06:18:08 ---> f30f7eeee80c 06:18:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:08 ---> Running in a41e409664ff [Pipeline] sh 06:18:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:09 + ls -al . 06:18:09 total 216 06:18:09 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 26 06:18 . 06:18:09 drwxrwxr-x. 4 jenkins jenkins 28 Jan 26 06:15 .. 06:18:09 drwxrwxr-x. 2 jenkins jenkins 64 Jan 26 06:15 bin 06:18:09 -rw-r--r--. 1 jenkins jenkins 136842 Jan 26 06:17 coverage.out 06:18:09 -rw-rw-r--. 1 jenkins jenkins 949 Jan 26 06:15 Dockerfile.build 06:18:09 -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 06:15 .dockerignore 06:18:09 drwxrwxr-x. 4 jenkins jenkins 48 Jan 26 06:15 example 06:18:09 drwxrwxr-x. 8 jenkins jenkins 179 Jan 26 06:15 .git 06:18:09 drwxrwxr-x. 2 jenkins jenkins 103 Jan 26 06:15 .github 06:18:09 -rw-rw-r--. 1 jenkins jenkins 138 Jan 26 06:15 .gitignore 06:18:09 -rw-r--r--. 1 jenkins jenkins 514 Jan 26 06:18 go.mod 06:18:09 -rw-r--r--. 1 jenkins jenkins 14016 Jan 26 06:18 go.sum 06:18:09 drwxrwxr-x. 15 jenkins jenkins 211 Jan 26 06:15 internal 06:18:09 -rw-rw-r--. 1 jenkins jenkins 901 Jan 26 06:15 Jenkinsfile 06:18:09 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 06:15 LICENSE 06:18:09 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 26 06:15 Makefile 06:18:09 drwxrwxr-x. 4 jenkins jenkins 26 Jan 26 06:15 openapi 06:18:09 drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 06:15 pkg 06:18:09 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 26 06:15 README.md 06:18:09 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 26 06:15 RELEASE-NOTES.txt 06:18:09 drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 06:15 snap 06:18:09 -rw-rw-r--. 1 jenkins jenkins 5 Jan 26 06:15 VERSION 06:18:09 -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:18:10 + 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=843da740fefb41e4fa22e670f79c8e7e5317bf4c --label arch=amd64 --label version=0.0.0 . 06:18:10 Sending build context to Docker daemon 2.702MB 06:18:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:18:10 Step 2/24 : FROM ${BASE} AS builder 06:18:10 ---> d77d6f17651d 06:18:10 Step 3/24 : ARG MAKE='make build' 06:18:11 Removing intermediate container a41e409664ff 06:18:11 ---> 9d1e31414be8 06:18:11 Step 5/8 : RUN apk add --update --no-cache make git 06:18:11 ---> Running in dad8af36ddf3 06:18:11 ---> Running in 2c4a408803c1 06:18:11 Removing intermediate container 2c4a408803c1 06:18:11 ---> 7de38ae02691 06:18:11 Step 4/24 : WORKDIR /device-sdk-go 06:18:11 ---> Running in 227317c471ec 06:18:11 Removing intermediate container 227317c471ec 06:18:11 ---> 3baef9af0643 06:18:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:11 ---> Running in e678c073ca88 06:18:11 Removing intermediate container e678c073ca88 06:18:11 ---> 29cdc7994566 06:18:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:11 ---> Running in 745bb589f97c 06:18:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:18:13 Removing intermediate container 745bb589f97c 06:18:13 ---> 98e898c7c69b 06:18:13 Step 7/24 : RUN apk add --update --no-cache make git 06:18:13 ---> Running in e60c9a3114e0 06:18:13 OK: 142 MiB in 39 packages 06:18:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:18:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:18:15 Removing intermediate container dad8af36ddf3 06:18:15 ---> d6936107d4f0 06:18:15 Step 6/8 : WORKDIR /device-sdk-go 06:18:15 ---> Running in a449d651dd1f 06:18:15 OK: 166 MiB in 39 packages 06:18:15 Removing intermediate container e60c9a3114e0 06:18:15 ---> 9b8acf31fcc8 06:18:15 Step 8/24 : COPY . . 06:18:15 Removing intermediate container a449d651dd1f 06:18:15 ---> a16667c62c54 06:18:15 Step 7/8 : COPY . . 06:18:16 ---> 2170add61bb5 06:18:16 Step 9/24 : RUN ${MAKE} 06:18:16 ---> Running in db648a62f8eb 06:18:17 ---> 8d5c21760125 06:18:17 Step 8/8 : RUN go mod download 06:18:17 ---> Running in 0f37e1f3ddad 06:18:17 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 06:18:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:18:28 Removing intermediate container db648a62f8eb 06:18:28 ---> ff79738f8ba4 06:18:28 Step 10/24 : FROM scratch 06:18:28 ---> 06:18:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:28 ---> Running in bfcee0f4b950 06:18:28 Removing intermediate container bfcee0f4b950 06:18:28 ---> f937144d11b8 06:18:28 Step 12/24 : ENV APP_PORT=49990 06:18:28 ---> Running in dd877e769773 06:18:28 Removing intermediate container dd877e769773 06:18:28 ---> 1633257be577 06:18:28 Step 13/24 : EXPOSE $APP_PORT 06:18:28 ---> Running in 7fc95746c11d 06:18:29 Removing intermediate container 7fc95746c11d 06:18:29 ---> 2e1085d9e3c5 06:18:29 Step 14/24 : WORKDIR / 06:18:29 ---> Running in 7f7457f45d98 06:18:29 Removing intermediate container 7f7457f45d98 06:18:29 ---> 3b83425c7a9d 06:18:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:18:29 ---> c1c5076f3f04 06:18:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:18:29 ---> be49c94e7f59 06:18:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:18:30 ---> bbb6d1f1d04c 06:18:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:18:30 ---> afcac64e17be 06:18:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:18:30 ---> c1c6a782dc93 06:18:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:18:30 ---> Running in 6a9ce6ca7eb7 06:18:30 Removing intermediate container 6a9ce6ca7eb7 06:18:30 ---> 1738e8648d7e 06:18:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:30 ---> Running in f95a74884df8 06:18:31 Removing intermediate container f95a74884df8 06:18:31 ---> 87b4a689be85 06:18:31 Step 22/24 : LABEL arch=amd64 06:18:31 ---> Running in dc93b207b132 06:18:31 Removing intermediate container dc93b207b132 06:18:31 ---> 65f48d6528d6 06:18:31 Step 23/24 : LABEL git_sha=843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:18:31 ---> Running in b90cac000e75 06:18:31 Removing intermediate container b90cac000e75 06:18:31 ---> 92d3d28c32d9 06:18:31 Step 24/24 : LABEL version=0.0.0 06:18:31 ---> Running in 0d1f755130f6 06:18:32 Removing intermediate container 0d1f755130f6 06:18:32 ---> 43f4b903dd5a 06:18:32 [Warning] One or more build-args [ARCH] were not consumed 06:18:32 Successfully built 43f4b903dd5a 06:18:32 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:43 Removing intermediate container 0f37e1f3ddad 06:18:43 ---> 2b8c6b709889 06:18:43 Successfully built 2b8c6b709889 06:18:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:18:44 + docker inspect -f . ci-base-image-arm64 06:18:44 . [Pipeline] withDockerContainer 06:18:44 prd-ubuntu18.04-docker-arm64-4c-16g-22790 does not seem to be running inside a container 06:18:44 $ 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:18:46 $ docker top f2e02dc7754180df56889048a864dc3d1153f81dfee587669e263b18e1518fc9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:47 + go version 06:18:47 go version go1.15.5 linux/arm64 [Pipeline] } 06:18:47 $ docker stop --time=1 f2e02dc7754180df56889048a864dc3d1153f81dfee587669e263b18e1518fc9 06:18:49 $ docker rm -f f2e02dc7754180df56889048a864dc3d1153f81dfee587669e263b18e1518fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:18:50 + docker inspect -f . ci-base-image-arm64 06:18:50 . [Pipeline] withDockerContainer 06:18:51 prd-ubuntu18.04-docker-arm64-4c-16g-22790 does not seem to be running inside a container 06:18:51 $ 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:18:52 $ docker top 9043deb827369235b4a19c15df754f8bd142e25135530d21db75cd529c4026ea -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:53 + make test 06:18:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:19:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements 06:20:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.244s coverage: 97.1% of statements 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.132s coverage: 9.4% of statements 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.142s coverage: 21.7% of statements 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.560s coverage: 43.2% of statements 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.773s coverage: 68.9% of statements 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 26.8% of statements 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.032s coverage: 83.5% of statements 06:20:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 06:20:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:20:26 GO111MODULE=on go vet ./... 06:20:59 gofmt -l . 06:20:59 [ "`gofmt -l .`" = "" ] 06:20:59 ./bin/test-attribution-txt.sh 06:21:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:21:01 $ docker stop --time=1 9043deb827369235b4a19c15df754f8bd142e25135530d21db75cd529c4026ea 06:21:03 $ docker rm -f 9043deb827369235b4a19c15df754f8bd142e25135530d21db75cd529c4026ea [Pipeline] // withDockerContainer [Pipeline] sh 06:21:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:04 Warning: overwriting stash ‘coverage-report’ 06:21:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:21:06 + ls -al . 06:21:06 total 252 06:21:06 drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 06:21 . 06:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:17 .. 06:21:06 -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 06:17 .dockerignore 06:21:06 drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 06:17 .git 06:21:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:17 .github 06:21:06 -rw-rw-r-- 1 jenkins jenkins 138 Jan 26 06:17 .gitignore 06:21:06 -rw-rw-r-- 1 jenkins jenkins 949 Jan 26 06:17 Dockerfile.build 06:21:06 -rw-rw-r-- 1 jenkins jenkins 901 Jan 26 06:17 Jenkinsfile 06:21:06 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 06:17 LICENSE 06:21:06 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 26 06:17 Makefile 06:21:06 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 26 06:17 README.md 06:21:06 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 26 06:17 RELEASE-NOTES.txt 06:21:06 -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 06:15 VERSION 06:21:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 06:17 bin 06:21:06 -rw-r--r-- 1 jenkins jenkins 136843 Jan 26 06:20 coverage.out 06:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:17 example 06:21:06 -rw-r--r-- 1 jenkins jenkins 514 Jan 26 06:21 go.mod 06:21:06 -rw-r--r-- 1 jenkins jenkins 14016 Jan 26 06:21 go.sum 06:21:06 drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 06:17 internal 06:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:17 openapi 06:21:06 drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 06:17 pkg 06:21:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 06:17 snap 06:21:06 -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 06:17 version.go [Pipeline] isUnix [Pipeline] sh 06:21:07 + 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=843da740fefb41e4fa22e670f79c8e7e5317bf4c --label arch=arm64 --label version=0.0.0 . 06:21:08 Sending build context to Docker daemon 2.694MB 06:21:08 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:21:08 Step 2/24 : FROM ${BASE} AS builder 06:21:08 ---> 2b8c6b709889 06:21:08 Step 3/24 : ARG MAKE='make build' 06:21:08 ---> Running in 1db27aa10de8 06:21:08 Removing intermediate container 1db27aa10de8 06:21:08 ---> 1fb4fa6bbc60 06:21:08 Step 4/24 : WORKDIR /device-sdk-go 06:21:08 ---> Running in b2db1f89ce60 06:21:09 Removing intermediate container b2db1f89ce60 06:21:09 ---> eb464cf53cc2 06:21:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:09 ---> Running in a97026924fe3 06:21:10 Removing intermediate container a97026924fe3 06:21:10 ---> 4f75e60c494f 06:21:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:21:10 ---> Running in cfb540ef8c46 06:21:12 Removing intermediate container cfb540ef8c46 06:21:12 ---> 56cdc902021b 06:21:12 Step 7/24 : RUN apk add --update --no-cache make git 06:21:12 ---> Running in 81f334d75a84 06:21:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:21:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:21:15 OK: 142 MiB in 39 packages 06:21:16 Removing intermediate container 81f334d75a84 06:21:16 ---> d8b18d43b63d 06:21:16 Step 8/24 : COPY . . 06:21:18 ---> d56fa45f3217 06:21:18 Step 9/24 : RUN ${MAKE} 06:21:18 ---> Running in 6886be227c87 06:21:19 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 06:21:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:21:46 Removing intermediate container 6886be227c87 06:21:46 ---> ef2eb1b45555 06:21:46 Step 10/24 : FROM scratch 06:21:46 ---> 06:21:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:46 ---> Running in b4922de4ac7d 06:21:47 Removing intermediate container b4922de4ac7d 06:21:47 ---> 190cf0b134fd 06:21:47 Step 12/24 : ENV APP_PORT=49990 06:21:47 ---> Running in 311fe33381ec 06:21:47 Removing intermediate container 311fe33381ec 06:21:47 ---> 3ae4a01194ce 06:21:47 Step 13/24 : EXPOSE $APP_PORT 06:21:47 ---> Running in db6f61fa6df0 06:21:48 Removing intermediate container db6f61fa6df0 06:21:48 ---> 48d0ebc9748b 06:21:48 Step 14/24 : WORKDIR / 06:21:48 ---> Running in 1eb43a5a110b 06:21:48 Removing intermediate container 1eb43a5a110b 06:21:48 ---> bdf4b789bdbe 06:21:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:21:50 ---> ff2ef2427f8c 06:21:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:21:50 ---> e7332113fe53 06:21:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:21:51 ---> 973cc48245fd 06:21:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:21:52 ---> 814f5914c0a6 06:21:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:21:52 ---> 735e4a03ccc9 06:21:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:21:52 ---> Running in 179fae6c9c2c 06:21:53 Removing intermediate container 179fae6c9c2c 06:21:53 ---> 0d29b3b72b47 06:21:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:21:53 ---> Running in 655b0b0b98bd 06:21:54 Removing intermediate container 655b0b0b98bd 06:21:54 ---> b7cfc585043b 06:21:54 Step 22/24 : LABEL arch=arm64 06:21:54 ---> Running in bfe4079dd143 06:21:54 Removing intermediate container bfe4079dd143 06:21:54 ---> 1b8cacc83c96 06:21:54 Step 23/24 : LABEL git_sha=843da740fefb41e4fa22e670f79c8e7e5317bf4c 06:21:54 ---> Running in d781982aaef4 06:21:55 Removing intermediate container d781982aaef4 06:21:55 ---> 3a743775d62c 06:21:55 Step 24/24 : LABEL version=0.0.0 06:21:55 ---> Running in 367baa2a08fc 06:21:55 Removing intermediate container 367baa2a08fc 06:21:55 ---> cd0b7c431190 06:21:55 [Warning] One or more build-args [ARCH] were not consumed 06:21:55 Successfully built cd0b7c431190 06:21:55 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 [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 06:21:58 provisioning config files... 06:21:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config4557274428232341156tmp [Pipeline] { [Pipeline] sh 06:21:59 + set +x 06:21:59 + curl -s https://codecov.io/bash 06:21:59 + bash -s -- 06:21:59 06:21:59 _____ _ 06:21:59 / ____| | | 06:21:59 | | ___ __| | ___ ___ _____ __ 06:21:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:21:59 | |___| (_) | (_| | __/ (_| (_) \ V / 06:21:59 \_____\___/ \__,_|\___|\___\___/ \_/ 06:21:59 Bash-20210115-cec3c92 06:21:59 06:21:59 06:21:59 ==> git version 2.24.3 found 06:21:59 ==> 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 06:21:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:21:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:21:59 ==> Jenkins CI detected. 06:21:59 project root: . 06:21:59 --> token set from env 06:21:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:21:59 ==> Running gcov in . (disable via -X gcov) 06:21:59 ==> Python coveragepy not found 06:21:59 ==> Searching for coverage reports in: 06:21:59 + . 06:21:59 -> Found 1 reports 06:21:59 ==> Detecting git/mercurial file structure 06:21:59 ==> Reading reports 06:21:59 + ./coverage.out bytes=136843 06:21:59 ==> Appending adjustments 06:21:59 https://docs.codecov.io/docs/fixing-reports 06:22:01 + Found adjustments 06:22:01 ==> Gzipping contents 06:22:01 24K /tmp/codecov.PjkkOI.gz 06:22:01 ==> Uploading reports 06:22:01 url: https://codecov.io 06:22:01 query: branch=PR-755&commit=843da740fefb41e4fa22e670f79c8e7e5317bf4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-755%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=755&job=&cmd_args= 06:22:01 -> Pinging Codecov 06:22:01 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-755&commit=843da740fefb41e4fa22e670f79c8e7e5317bf4c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-755%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=755&job=&cmd_args= 06:22:01 -> Uploading to 06:22:01 https://storage.googleapis.com/codecov/v4/raw/2021-01-26/7E55EF52A471D76F132DFD9A03CDDE97/843da740fefb41e4fa22e670f79c8e7e5317bf4c/bd6df699-1e44-47b3-8bc7-3a0336511abc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T062201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a6af2e74622feea727031cf957b2e42f9c744088af8aa055f7645b3045ed958 06:22:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:01 Dload Upload Total Spent Left Speed 06:22:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21563 0 0 100 21563 0 37862 --:--:-- --:--:-- --:--:-- 37896 06:22:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/843da740fefb41e4fa22e670f79c8e7e5317bf4c [Pipeline] } 06:22:02 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 06:22:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:22:06 ---> package-listing.sh 06:22:06 ++ tr '[:upper:]' '[:lower:]' 06:22:06 ++ facter osfamily 06:22:06 + OS_FAMILY=redhat 06:22:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-755 06:22:06 + START_PACKAGES=/tmp/packages_start.txt 06:22:06 + END_PACKAGES=/tmp/packages_end.txt 06:22:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:22:06 + PACKAGES=/tmp/packages_start.txt 06:22:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-755 ']' 06:22:06 + PACKAGES=/tmp/packages_end.txt 06:22:06 + case "${OS_FAMILY}" in 06:22:06 + rpm -qa 06:22:06 + sort 06:22:13 + '[' -f /tmp/packages_start.txt ']' 06:22:13 + '[' -f /tmp/packages_end.txt ']' 06:22:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:22:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-755 ']' 06:22:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-755/archives/ 06:22:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-755/archives/ [Pipeline] echo 06:22:13 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-755/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:22:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:22:14 06:22:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:22:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:22:15 alpine: Pulling from edgex-lftools-log-publisher 06:22:15 df20fa9351a1: Pulling fs layer 06:22:15 36b3adc4ff6f: Pulling fs layer 06:22:15 8ad3a11d3b57: Pulling fs layer 06:22:15 46f8f816bc3b: Pulling fs layer 06:22:15 93b61091891f: Pulling fs layer 06:22:15 93b9cdb0e59b: Pulling fs layer 06:22:15 5e14af77c1be: Pulling fs layer 06:22:15 01666e4c0597: Pulling fs layer 06:22:15 aa168da1d23b: Pulling fs layer 06:22:15 93b9cdb0e59b: Waiting 06:22:15 5e14af77c1be: Waiting 06:22:15 01666e4c0597: Waiting 06:22:15 aa168da1d23b: Waiting 06:22:15 93b61091891f: Waiting 06:22:15 46f8f816bc3b: Waiting 06:22:15 36b3adc4ff6f: Verifying Checksum 06:22:15 36b3adc4ff6f: Download complete 06:22:15 46f8f816bc3b: Download complete 06:22:15 df20fa9351a1: Verifying Checksum 06:22:15 df20fa9351a1: Download complete 06:22:15 93b9cdb0e59b: Verifying Checksum 06:22:15 93b9cdb0e59b: Download complete 06:22:15 5e14af77c1be: Verifying Checksum 06:22:15 5e14af77c1be: Download complete 06:22:15 01666e4c0597: Verifying Checksum 06:22:15 01666e4c0597: Download complete 06:22:15 93b61091891f: Verifying Checksum 06:22:15 93b61091891f: Download complete 06:22:16 8ad3a11d3b57: Download complete 06:22:16 df20fa9351a1: Pull complete 06:22:16 36b3adc4ff6f: Pull complete 06:22:18 8ad3a11d3b57: Pull complete 06:22:18 46f8f816bc3b: Pull complete 06:22:19 93b61091891f: Pull complete 06:22:20 93b9cdb0e59b: Pull complete 06:22:20 5e14af77c1be: Pull complete 06:22:20 01666e4c0597: Pull complete 06:22:22 aa168da1d23b: Verifying Checksum 06:22:22 aa168da1d23b: Download complete 06:22:38 aa168da1d23b: Pull complete 06:22:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:22:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:22:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:22:38 prd-centos7-docker-4c-2g-22786 does not seem to be running inside a container 06:22:39 $ 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-755/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-755 -v /w/workspace/dgexfoundry_device-sdk-go_PR-755:/w/workspace/dgexfoundry_device-sdk-go_PR-755:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-755@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:22:45 $ docker top cde0525e621cd40131f25362bddd882c12e7113b8a5a85728148603af43ec458 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:45 + touch /tmp/pre-build-complete [Pipeline] sh 06:22:46 + mkdir -p /var/log/sa [Pipeline] sh 06:22:46 + ls /var/log/sa-host 06:22:46 + sadf -c /var/log/sa-host/sa23 06:22:46 file_magic: OK 06:22:46 HZ: Using current value: 100 06:22:46 file_header: OK 06:22:46 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:22:46 Statistics: 06:22:46 Hnuu...uuuununununu... 06:22:46 File successfully converted to sysstat format version 12.2.1 06:22:46 + sadf -c /var/log/sa-host/sa26 06:22:46 file_magic: OK 06:22:46 HZ: Using current value: 100 06:22:46 file_header: OK 06:22:46 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:22:46 Statistics: 06:22:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:22:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:47 provisioning config files... 06:22:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp/config7292416350501743319tmp [Pipeline] { [Pipeline] echo 06:22:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:22:49 ---> create-netrc.sh [Pipeline] } 06:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:22:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:22:51 ---> python-tools-install.sh [Pipeline] echo 06:22:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:22:52 ---> sudo-logs.sh 06:22:52 Archiving 'sudo' log.. [Pipeline] echo 06:22:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:22:52 ---> job-cost.sh 06:22:52 lf-activate-venv: SKIPPING 06:22:52 INFO: No Stack... 06:22:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:22:54 INFO: Archiving Costs [Pipeline] echo 06:22:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:22:56 ---> logs-deploy.sh 06:22:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-755/1 06:22:56 INFO: archiving workspace using pattern(s): 06:23:01 Archives upload complete. 06:23:01 INFO: archiving logs to Nexus 06:23:03 ---> uname -a: 06:23:03 Linux prd-centos7-docker-4c-2g-22786.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:23:03 06:23:03 06:23:03 ---> lscpu: 06:23:03 Architecture: x86_64 06:23:03 CPU op-mode(s): 32-bit, 64-bit 06:23:03 Byte Order: Little Endian 06:23:03 Address sizes: 40 bits physical, 48 bits virtual 06:23:03 CPU(s): 4 06:23:03 On-line CPU(s) list: 0-3 06:23:03 Thread(s) per core: 1 06:23:03 Core(s) per socket: 1 06:23:03 Socket(s): 4 06:23:03 NUMA node(s): 1 06:23:03 Vendor ID: GenuineIntel 06:23:03 CPU family: 6 06:23:03 Model: 44 06:23:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:23:03 Stepping: 1 06:23:03 CPU MHz: 2933.438 06:23:03 BogoMIPS: 5866.87 06:23:03 Virtualization: VT-x 06:23:03 Hypervisor vendor: KVM 06:23:03 Virtualization type: full 06:23:03 L1d cache: 128 KiB 06:23:03 L1i cache: 128 KiB 06:23:03 L2 cache: 16 MiB 06:23:03 L3 cache: 64 MiB 06:23:03 NUMA node0 CPU(s): 0-3 06:23:03 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:23:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:23:03 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:23:03 Vulnerability Meltdown: Mitigation; PTI 06:23:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:23:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:23:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:23:03 Vulnerability Srbds: Not affected 06:23:03 Vulnerability Tsx async abort: Not affected 06:23:03 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:23:03 06:23:03 06:23:03 ---> nproc: 06:23:03 4 06:23:03 06:23:03 06:23:03 ---> df -h: 06:23:03 Filesystem Size Used Available Use% Mounted on 06:23:03 overlay 50.0G 7.3G 42.7G 15% / 06:23:03 tmpfs 64.0M 0 64.0M 0% /dev 06:23:03 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:23:03 shm 64.0M 0 64.0M 0% /dev/shm 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-755 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-755@tmp 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:23:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:23:03 06:23:03 06:23:03 ---> free -m: 06:23:03 total used free shared buff/cache available 06:23:03 Mem: 1837 740 77 0 1019 992 06:23:03 Swap: 1023 1 1022 06:23:03 06:23:03 06:23:03 ---> ip addr: 06:23:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:23:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:23:03 inet 127.0.0.1/8 scope host lo 06:23:03 valid_lft forever preferred_lft forever 06:23:03 inet6 ::1/128 scope host 06:23:03 valid_lft forever preferred_lft forever 06:23:03 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:23:03 link/ether fa:16:3e:da:aa:b3 brd ff:ff:ff:ff:ff:ff 06:23:03 inet 10.30.123.179/23 brd 10.30.123.255 scope global dynamic eth0 06:23:03 valid_lft 85840sec preferred_lft 85840sec 06:23:03 inet6 fe80::f816:3eff:feda:aab3/64 scope link 06:23:03 valid_lft forever preferred_lft forever 06:23:03 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:23:03 link/ether 02:42:58:c0:83:36 brd ff:ff:ff:ff:ff:ff 06:23:03 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:23:03 valid_lft forever preferred_lft forever 06:23:03 inet6 fe80::42:58ff:fec0:8336/64 scope link 06:23:03 valid_lft forever preferred_lft forever 06:23:03 06:23:03 06:23:03 ---> sar -b -r -n DEV: 06:23:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/26/21 _x86_64_ (4 CPU) 06:23:03 06:23:03 06:13:31 LINUX RESTART (4 CPU) 06:23:03 06:23:03 06:14:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:23:03 06:15:01 135.39 53.30 82.09 0.00 7345.16 39427.35 0.00 06:23:03 06:16:01 11.83 3.41 8.42 0.00 1021.93 299.35 0.00 06:23:03 06:17:01 0.38 0.00 0.38 0.00 0.00 6.57 0.00 06:23:03 06:18:01 0.28 0.00 0.28 0.00 0.00 3.13 0.00 06:23:03 06:19:01 0.18 0.00 0.18 0.00 0.00 1.93 0.00 06:23:03 06:20:01 0.35 0.00 0.35 0.00 0.00 5.09 0.00 06:23:03 06:21:02 0.28 0.00 0.28 0.00 0.00 4.66 0.00 06:23:03 06:22:01 0.68 0.32 0.36 0.00 131.35 10.65 0.00 06:23:03 Average: 18.49 7.06 11.43 0.00 1052.20 4914.30 0.00 06:23:03 06:23:03 06:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:23:03 06:15:01 89504 0 599316 31.85 2620 1190104 1333844 45.52 401704 1186332 12 06:23:03 06:16:01 169512 0 576056 30.62 2620 1133356 1151364 39.29 372748 1139136 20 06:23:03 06:17:01 181752 0 563812 29.97 2620 1133360 1070724 36.54 378412 1123144 12 06:23:03 06:18:01 179060 0 566504 30.11 2620 1133360 1071028 36.55 379556 1125164 8 06:23:03 06:19:01 176984 0 568572 30.22 2620 1133368 1071276 36.56 388300 1118224 20 06:23:03 06:20:01 175540 0 570012 30.29 2620 1133372 1071192 36.56 397904 1110276 16 06:23:03 06:21:02 177280 0 568268 30.20 2620 1133376 1070916 36.55 418028 1088452 12 06:23:03 06:22:01 164624 0 576836 30.66 2620 1137464 1085564 37.05 425292 1092172 0 06:23:03 Average: 164282 0 573672 30.49 2620 1140970 1115738 38.08 395243 1122862 12 06:23:03 06:23:03 06:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:23:03 06:15:01 eth0 254.20 189.90 1053.40 80.89 0.00 0.00 0.00 0.00 06:23:03 06:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:16:01 eth0 23.83 19.07 47.16 10.28 0.00 0.00 0.00 0.00 06:23:03 06:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:16:01 docker0 3.91 4.41 0.90 23.11 0.00 0.00 0.00 0.00 06:23:03 06:17:01 eth0 1.66 0.08 0.16 0.01 0.00 0.00 0.00 0.00 06:23:03 06:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:18:01 eth0 3.99 0.81 0.80 0.39 0.00 0.00 0.00 0.00 06:23:03 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:19:01 eth0 3.18 1.26 1.43 0.97 0.00 0.00 0.00 0.00 06:23:03 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:20:01 eth0 0.77 0.50 0.41 0.30 0.00 0.00 0.00 0.00 06:23:03 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:21:02 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 06:23:03 06:21:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:21:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:22:01 eth0 5.67 3.27 4.82 1.69 0.00 0.00 0.00 0.00 06:23:03 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 Average: eth0 36.40 26.61 137.06 11.71 0.00 0.00 0.00 0.00 06:23:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:03 Average: docker0 0.49 0.55 0.11 2.90 0.00 0.00 0.00 0.00 06:23:03 06:23:03 06:23:03 ---> sar -P ALL: 06:23:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/26/21 _x86_64_ (4 CPU) 06:23:03 06:23:03 06:13:31 LINUX RESTART (4 CPU) 06:23:03 06:23:03 06:14:02 CPU %user %nice %system %iowait %steal %idle 06:23:03 06:15:01 all 12.43 0.00 7.80 4.84 19.16 55.77 06:23:03 06:15:01 0 10.46 0.00 6.82 4.54 21.46 56.72 06:23:03 06:15:01 1 14.43 0.00 8.09 4.98 17.97 54.53 06:23:03 06:15:01 2 11.45 0.00 5.63 5.72 19.43 57.77 06:23:03 06:15:01 3 13.48 0.00 10.80 4.08 17.69 53.94 06:23:03 06:16:01 all 1.00 0.00 1.17 0.14 7.93 89.76 06:23:03 06:16:01 0 0.96 0.00 0.99 0.13 8.42 89.50 06:23:03 06:16:01 1 1.18 0.00 1.06 0.10 7.58 90.09 06:23:03 06:16:01 2 0.96 0.00 1.25 0.27 7.90 89.60 06:23:03 06:16:01 3 0.91 0.00 1.36 0.05 7.81 89.87 06:23:03 06:17:01 all 0.10 0.00 0.07 0.00 1.15 98.69 06:23:03 06:17:01 0 0.03 0.00 0.07 0.00 1.19 98.71 06:23:03 06:17:01 1 0.30 0.00 0.08 0.00 1.25 98.37 06:23:03 06:17:01 2 0.05 0.00 0.07 0.00 1.37 98.52 06:23:03 06:17:01 3 0.02 0.00 0.05 0.00 0.78 99.16 06:23:03 06:18:01 all 0.12 0.00 0.10 0.00 1.51 98.27 06:23:03 06:18:01 0 0.18 0.00 0.18 0.00 2.03 97.61 06:23:03 06:18:01 1 0.08 0.00 0.05 0.00 1.42 98.45 06:23:03 06:18:01 2 0.15 0.00 0.03 0.00 1.90 97.92 06:23:03 06:18:01 3 0.05 0.00 0.13 0.00 0.70 99.12 06:23:03 06:19:01 all 0.10 0.00 0.06 0.00 1.16 98.67 06:23:03 06:19:01 0 0.10 0.00 0.08 0.00 1.84 97.98 06:23:03 06:19:01 1 0.05 0.00 0.02 0.00 0.65 99.29 06:23:03 06:19:01 2 0.20 0.00 0.05 0.00 1.61 98.14 06:23:03 06:19:01 3 0.07 0.00 0.10 0.00 0.53 99.30 06:23:03 06:20:01 all 0.09 0.00 0.20 0.00 1.59 98.12 06:23:03 06:20:01 0 0.03 0.00 0.28 0.00 1.86 97.83 06:23:03 06:20:01 1 0.26 0.00 0.10 0.00 2.05 97.59 06:23:03 06:20:01 2 0.03 0.00 0.18 0.00 1.55 98.24 06:23:03 06:20:01 3 0.03 0.00 0.25 0.00 0.88 98.84 06:23:03 06:21:02 all 0.10 0.00 0.07 0.00 0.93 98.90 06:23:03 06:21:02 0 0.02 0.00 0.03 0.00 0.76 99.19 06:23:03 06:21:02 1 0.35 0.00 0.02 0.00 1.32 98.32 06:23:03 06:21:02 2 0.03 0.00 0.03 0.00 1.37 98.57 06:23:03 06:21:02 3 0.02 0.00 0.18 0.00 0.27 99.54 06:23:03 06:22:01 all 0.31 0.00 0.35 0.01 1.92 97.41 06:23:03 06:22:01 0 0.23 0.00 0.43 0.00 2.91 96.43 06:23:03 06:22:01 1 0.25 0.00 0.18 0.00 1.85 97.71 06:23:03 06:22:01 2 0.50 0.00 0.40 0.03 1.70 97.36 06:23:03 06:22:01 3 0.25 0.00 0.39 0.02 1.21 98.13 06:23:03 Average: all 1.74 0.00 1.20 0.61 4.37 92.08 06:23:03 Average: 0 1.47 0.00 1.09 0.57 5.03 91.84 06:23:03 Average: 1 2.05 0.00 1.17 0.61 4.20 91.97 06:23:03 Average: 2 1.66 0.00 0.95 0.75 4.60 92.05 06:23:03 Average: 3 1.77 0.00 1.60 0.49 3.65 92.48 06:23:03 06:23:03 06:23:03