Pull request #656 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ddd40b9f98c115ab6261d98e9aa02185be072950+34e320ac99befae92f8b4aae2047dc1351ba020b (14f6691c8179dfec84fe92936464c72a68c82a84) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-656/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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-656/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-13250 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [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-656 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 > 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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) > git config core.sparsecheckout # timeout=10 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # 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 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:14 ========================================================= 07:19:14 EdgeX Global Pipelines Version Info 07:19:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:16 ------------------- 07:19:16 stable info: 07:19:16 ------------------- 07:19:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:19:16 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:19:16 Message: update stable to v1.0.167 07:19:17 ------------------- 07:19:17 experimental info: 07:19:17 ------------------- 07:19:17 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:17 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:19:17 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:19:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:19:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:19:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:19:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-656 [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-656 [Pipeline] echo 07:19:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-656 [Pipeline] echo 07:19:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] echo 07:19:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ddd40b9 [Pipeline] echo 07:19:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:19:22 provisioning config files... 07:19:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config659747816366028019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:23 ---> docker-login.sh 07:19:23 nexus3.edgexfoundry.org:10001 07:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:23 Configure a credential helper to remove this warning. See 07:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:23 07:19:23 Login Succeeded 07:19:23 nexus3.edgexfoundry.org:10002 07:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:23 Configure a credential helper to remove this warning. See 07:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:23 07:19:23 Login Succeeded 07:19:23 nexus3.edgexfoundry.org:10003 07:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:23 Configure a credential helper to remove this warning. See 07:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:23 07:19:23 Login Succeeded 07:19:23 nexus3.edgexfoundry.org:10004 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 docker.io 07:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:24 Configure a credential helper to remove this warning. See 07:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:24 07:19:24 Login Succeeded 07:19:24 ---> docker-login.sh ends [Pipeline] } 07:19:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:25 + git log --format=format:%s -1 ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] echo 07:19:25 GIT_COMMIT: ddd40b9f98c115ab6261d98e9aa02185be072950, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 07:19:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:26 07:19:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:19:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:27 latest: Pulling from edgex-devops/git-semver 07:19:27 31603596830f: Pulling fs layer 07:19:27 2a8b12db71e7: Pulling fs layer 07:19:27 6ca5941a6612: Pulling fs layer 07:19:27 ecc8261a40a4: Pulling fs layer 07:19:27 ecc8261a40a4: Waiting 07:19:27 2a8b12db71e7: Verifying Checksum 07:19:27 2a8b12db71e7: Download complete 07:19:27 31603596830f: Verifying Checksum 07:19:27 31603596830f: Download complete 07:19:27 ecc8261a40a4: Verifying Checksum 07:19:27 ecc8261a40a4: Download complete 07:19:27 6ca5941a6612: Verifying Checksum 07:19:27 6ca5941a6612: Download complete 07:19:27 31603596830f: Pull complete 07:19:27 2a8b12db71e7: Pull complete 07:19:28 6ca5941a6612: Pull complete 07:19:28 ecc8261a40a4: Pull complete 07:19:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:19:29 prd-centos7-docker-4c-2g-13250 does not seem to be running inside a container 07:19:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-656 -v /w/workspace/dgexfoundry_device-sdk-go_PR-656:/w/workspace/dgexfoundry_device-sdk-go_PR-656:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:19:31 $ docker top fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:32 [ssh-agent] Looking for ssh-agent implementation... 07:19:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:32 $ docker exec fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent 07:19:32 SSH_AUTH_SOCK=/tmp/ssh-9ZtPPtLy0FqC/agent.11 07:19:32 SSH_AGENT_PID=16 07:19:32 Running ssh-add (command line suppressed) 07:19:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_53127408401850455.key (/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_53127408401850455.key) 07:19:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:33 + git tag --points-at HEAD [Pipeline] } 07:19:33 $ docker exec --env ******** --env ******** fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent -k 07:19:33 unset SSH_AUTH_SOCK; 07:19:33 unset SSH_AGENT_PID; 07:19:33 echo Agent pid 16 killed; 07:19:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:33 [ssh-agent] Looking for ssh-agent implementation... 07:19:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:33 $ docker exec fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent 07:19:33 SSH_AUTH_SOCK=/tmp/ssh-jpHXPSEUtFzF/agent.45 07:19:33 SSH_AGENT_PID=50 07:19:33 Running ssh-add (command line suppressed) 07:19:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_4158992478491326462.key (/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_4158992478491326462.key) 07:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:34 + git semver init 07:19:34 # -> Open(): unable to determine branch for HEAD 07:19:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-656/.git 07:19:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-656 07:19:34 # $SEMVER_REMOTE_NAME = origin 07:19:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:19:34 # $SEMVER_USER_NAME = edgex-jenkins 07:19:34 # $SEMVER_BRANCH = PR-656 07:19:34 # $SEMVER_TEMP = /tmp/semver-010426536 07:19:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:19:34 # '/tmp/semver-010426536' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-656/.semver' 07:19:34 # -> Force: false 07:19:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-656/.semver [Pipeline] } 07:19:34 $ docker exec --env ******** --env ******** fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent -k 07:19:35 unset SSH_AUTH_SOCK; 07:19:35 unset SSH_AGENT_PID; 07:19:35 echo Agent pid 50 killed; 07:19:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:35 + git semver [Pipeline] } 07:19:35 $ docker stop --time=1 fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 07:19:37 $ docker rm -f fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:38 Stashed 1 file(s) [Pipeline] echo 07:19:38 [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 07:19:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13251 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [Pipeline] { [Pipeline] ws 07:19:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:19:54 Still waiting to schedule task 07:19:54 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13250’ 07:19:56 using credential edgex-jenkins-ssh 07:19:56 Cloning the remote Git repository 07:19:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:19:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:19:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:56 > git --version # timeout=10 07:19:56 > git --version # 'git version 2.17.1' 07:19:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:19:58 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 07:19:59 Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 07:19:59 Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) 07:19:58 > git config core.sparsecheckout # timeout=10 07:19:58 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 07:19:59 > git remote # timeout=10 07:19:59 > git config --get remote.origin.url # timeout=10 07:19:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:59 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 07:19:59 > git rev-parse HEAD^{commit} # timeout=10 07:19:59 > git config core.sparsecheckout # timeout=10 07:19:59 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 07:20:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 07:20:03 > git --version # timeout=10 07:20:03 > git --version # 'git version 2.17.1' 07:20:03 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:20:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:20:05 + + sudotrue service 07:20:05 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:20:08 provisioning config files... 07:20:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3756281640324183753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:09 ---> docker-login.sh 07:20:09 nexus3.edgexfoundry.org:10001 07:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:10 Configure a credential helper to remove this warning. See 07:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:10 07:20:10 Login Succeeded 07:20:10 nexus3.edgexfoundry.org:10002 07:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:10 Configure a credential helper to remove this warning. See 07:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:10 07:20:10 Login Succeeded 07:20:10 nexus3.edgexfoundry.org:10003 07:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:11 Configure a credential helper to remove this warning. See 07:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:11 07:20:11 Login Succeeded 07:20:11 nexus3.edgexfoundry.org:10004 07:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:11 Configure a credential helper to remove this warning. See 07:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:11 07:20:11 Login Succeeded 07:20:11 docker.io 07:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:12 Configure a credential helper to remove this warning. See 07:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:12 07:20:12 Login Succeeded 07:20:12 ---> docker-login.sh ends [Pipeline] } 07:20:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:13 ========================================================= 07:20:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:20:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:20:13 + 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 . 07:20:14 Sending build context to Docker daemon 2.356MB 07:20:14 Step 1/8 : ARG BASE=golang:1.15-alpine 07:20:14 Step 2/8 : FROM ${BASE} 07:20:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:20:14 b538f80385f9: Pulling fs layer 07:20:14 74f711af9a0d: Pulling fs layer 07:20:14 99f96fe45779: Pulling fs layer 07:20:14 8529a6b9a6be: Pulling fs layer 07:20:14 45590311c82a: Pulling fs layer 07:20:14 69ca0ff8b7b3: Pulling fs layer 07:20:14 209524e5b208: Pulling fs layer 07:20:14 8529a6b9a6be: Waiting 07:20:14 45590311c82a: Waiting 07:20:14 69ca0ff8b7b3: Waiting 07:20:14 209524e5b208: Waiting 07:20:14 99f96fe45779: Verifying Checksum 07:20:14 99f96fe45779: Download complete 07:20:14 74f711af9a0d: Verifying Checksum 07:20:14 74f711af9a0d: Download complete 07:20:14 45590311c82a: Verifying Checksum 07:20:14 45590311c82a: Download complete 07:20:14 69ca0ff8b7b3: Verifying Checksum 07:20:14 69ca0ff8b7b3: Download complete 07:20:14 b538f80385f9: Verifying Checksum 07:20:14 b538f80385f9: Download complete 07:20:15 b538f80385f9: Pull complete 07:20:16 74f711af9a0d: Pull complete 07:20:16 99f96fe45779: Pull complete 07:20:16 209524e5b208: Verifying Checksum 07:20:16 209524e5b208: Download complete 07:20:18 8529a6b9a6be: Verifying Checksum 07:20:18 8529a6b9a6be: Download complete 07:20:30 8529a6b9a6be: Pull complete 07:20:30 45590311c82a: Pull complete 07:20:30 69ca0ff8b7b3: Pull complete 07:20:33 209524e5b208: Pull complete 07:20:33 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:20:33 ---> 5bddaf1c2fca 07:20:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:20:35 ---> Running in e24c62722b1b 07:20:36 Removing intermediate container e24c62722b1b 07:20:36 ---> e788cb9f0428 07:20:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:36 ---> Running in 15f1eb11c9a5 07:20:39 Removing intermediate container 15f1eb11c9a5 07:20:39 ---> 10b9a2bf0bfb 07:20:39 Step 5/8 : RUN apk add --no-cache make git 07:20:39 ---> Running in 666a57b7da4e 07:20:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:20:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:20:42 OK: 142 MiB in 39 packages 07:20:43 Removing intermediate container 666a57b7da4e 07:20:43 ---> 807de67272ad 07:20:43 Step 6/8 : WORKDIR /device-sdk-go 07:20:43 ---> Running in 0ab78c8a075d 07:20:43 Removing intermediate container 0ab78c8a075d 07:20:43 ---> 6e4ef2c3684b 07:20:43 Step 7/8 : COPY . . 07:20:45 ---> 6619405866df 07:20:45 Step 8/8 : RUN go mod download 07:20:45 ---> Running in bc457eb0dd6e 07:21:07 Removing intermediate container bc457eb0dd6e 07:21:07 ---> f17fa8dea06d 07:21:07 Successfully built f17fa8dea06d 07:21:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:21:08 + docker inspect -f . ci-base-image-arm64 07:21:08 . [Pipeline] withDockerContainer 07:21:08 prd-ubuntu18.04-docker-arm64-4c-16g-13251 does not seem to be running inside a container 07:21:08 $ 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 07:21:10 $ docker top a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:12 + go version 07:21:12 go version go1.15.2 linux/arm64 [Pipeline] } 07:21:12 $ docker stop --time=1 a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 07:21:14 $ docker rm -f a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:21:15 + docker inspect -f . ci-base-image-arm64 07:21:15 . [Pipeline] withDockerContainer 07:21:15 prd-ubuntu18.04-docker-arm64-4c-16g-13251 does not seem to be running inside a container 07:21:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:21:17 $ docker top f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:19 + make test 07:21:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:21:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:22:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:22:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:22:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:22:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.6% of statements 07:22:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.158s coverage: 97.1% of statements 07:22:29 Running on prd-centos7-docker-4c-2g-13255 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [Pipeline] { [Pipeline] ws 07:22:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:22:32 using credential edgex-jenkins-ssh 07:22:32 Cloning the remote Git repository 07:22:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:22:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:22:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:22:32 > git --version # timeout=10 07:22:32 > git --version # 'git version 2.16.5' 07:22:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:33 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 07:22:33 Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 07:22:33 Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) 07:22:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:22:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:22:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:22:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:22:33 > git config core.sparsecheckout # timeout=10 07:22:33 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 07:22:33 > git remote # timeout=10 07:22:33 > git config --get remote.origin.url # timeout=10 07:22:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:33 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 07:22:33 > git rev-parse HEAD^{commit} # timeout=10 07:22:33 > git config core.sparsecheckout # timeout=10 07:22:33 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 07:22:37 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 07:22:37 > git --version # timeout=10 07:22:37 > git --version # 'git version 2.16.5' 07:22:37 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:22:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:22:39 + sudo service docker restart 07:22:39 + true 07:22:39 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:22:41 provisioning config files... 07:22:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2318900133295599645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:41 ---> docker-login.sh 07:22:41 nexus3.edgexfoundry.org:10001 07:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:42 Configure a credential helper to remove this warning. See 07:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:42 07:22:42 Login Succeeded 07:22:42 nexus3.edgexfoundry.org:10002 07:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:42 Configure a credential helper to remove this warning. See 07:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:42 07:22:42 Login Succeeded 07:22:42 nexus3.edgexfoundry.org:10003 07:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:42 Configure a credential helper to remove this warning. See 07:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:42 07:22:42 Login Succeeded 07:22:42 nexus3.edgexfoundry.org:10004 07:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:42 Configure a credential helper to remove this warning. See 07:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:42 07:22:42 Login Succeeded 07:22:42 docker.io 07:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:43 Configure a credential helper to remove this warning. See 07:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:43 07:22:43 Login Succeeded 07:22:43 ---> docker-login.sh ends [Pipeline] } 07:22:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:22:43 ========================================================= 07:22:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:22:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:22:44 + 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 . 07:22:44 Sending build context to Docker daemon 2.354MB 07:22:44 Step 1/8 : ARG BASE=golang:1.15-alpine 07:22:44 Step 2/8 : FROM ${BASE} 07:22:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:22:44 df20fa9351a1: Pulling fs layer 07:22:44 ed8968b2872e: Pulling fs layer 07:22:44 a92cc7c5fd73: Pulling fs layer 07:22:44 e871e8e8d7a9: Pulling fs layer 07:22:44 e73272ec9a57: Pulling fs layer 07:22:44 1e910a182e73: Pulling fs layer 07:22:44 4e634b169226: Pulling fs layer 07:22:44 e73272ec9a57: Waiting 07:22:44 1e910a182e73: Waiting 07:22:44 4e634b169226: Waiting 07:22:44 e871e8e8d7a9: Waiting 07:22:44 a92cc7c5fd73: Verifying Checksum 07:22:44 a92cc7c5fd73: Download complete 07:22:44 ed8968b2872e: Download complete 07:22:44 e73272ec9a57: Verifying Checksum 07:22:44 e73272ec9a57: Download complete 07:22:44 1e910a182e73: Verifying Checksum 07:22:44 1e910a182e73: Download complete 07:22:44 df20fa9351a1: Verifying Checksum 07:22:44 df20fa9351a1: Download complete 07:22:44 df20fa9351a1: Pull complete 07:22:45 ed8968b2872e: Pull complete 07:22:45 a92cc7c5fd73: Pull complete 07:22:47 4e634b169226: Verifying Checksum 07:22:47 4e634b169226: Download complete 07:22:48 e871e8e8d7a9: Verifying Checksum 07:22:48 e871e8e8d7a9: Download complete 07:22:53 e871e8e8d7a9: Pull complete 07:22:53 e73272ec9a57: Pull complete 07:22:53 1e910a182e73: Pull complete 07:22:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements 07:22:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.9% of statements 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:22:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.581s coverage: 42.5% of statements 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:22:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.774s coverage: 68.9% of statements 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:22:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.197s coverage: 52.6% of statements 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:22:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:22:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.705s coverage: 68.9% of statements 07:22:56 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements 07:22:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:22:56 GO111MODULE=on go vet ./... 07:22:58 4e634b169226: Pull complete 07:22:58 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:22:58 ---> f7629b54cfaa 07:22:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:22:58 ---> Running in 68af084ca8e3 07:22:58 Removing intermediate container 68af084ca8e3 07:22:58 ---> 927dc9716638 07:22:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:22:58 ---> Running in d4860711672a 07:23:00 Removing intermediate container d4860711672a 07:23:00 ---> 64c450c1f714 07:23:00 Step 5/8 : RUN apk add --no-cache make git 07:23:00 ---> Running in 6a6129fc4299 07:23:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:23:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:23:02 OK: 166 MiB in 39 packages 07:23:02 Removing intermediate container 6a6129fc4299 07:23:02 ---> f9655e3fc2c3 07:23:02 Step 6/8 : WORKDIR /device-sdk-go 07:23:02 ---> Running in 7933d84639bd 07:23:02 Removing intermediate container 7933d84639bd 07:23:02 ---> 35af3c8559db 07:23:02 Step 7/8 : COPY . . 07:23:04 ---> cb8e32a6c02a 07:23:04 Step 8/8 : RUN go mod download 07:23:04 ---> Running in fc617637c558 07:23:22 Removing intermediate container fc617637c558 07:23:22 ---> f6adbcd603d2 07:23:22 Successfully built f6adbcd603d2 07:23:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:23:22 + docker inspect -f . ci-base-image-x86_64 07:23:22 . [Pipeline] withDockerContainer 07:23:22 prd-centos7-docker-4c-2g-13255 does not seem to be running inside a container 07:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:23 gofmt -l . 07:23:23 [ "`gofmt -l .`" = "" ] 07:23:23 ./bin/test-attribution-txt.sh 07:23:23 ./bin/test-go-mod-tidy.sh 07:23:23 $ docker top d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e -eo pid,comm [Pipeline] { [Pipeline] } 07:23:23 $ docker stop --time=1 f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 07:23:26 $ docker rm -f f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 07:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:23:27 + go version 07:23:27 go version go1.15.2 linux/amd64 [Pipeline] } 07:23:27 $ docker stop --time=1 d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e 07:23:28 Stashed 1 file(s) 07:23:28 $ docker rm -f d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:23:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:23:32 + docker inspect -f . ci-base-image-x86_64 07:23:32 . [Pipeline] withDockerContainer 07:23:32 prd-centos7-docker-4c-2g-13255 does not seem to be running inside a container 07:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:32 + ls -al . 07:23:32 total 244 07:23:32 drwxrwxr-x 10 jenkins jenkins 4096 Nov 23 07:23 . 07:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 .. 07:23:32 -rw-rw-r-- 1 jenkins jenkins 140 Nov 23 07:19 .dockerignore 07:23:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 23 07:20 .git 07:23:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 07:19 .github 07:23:32 -rw-rw-r-- 1 jenkins jenkins 138 Nov 23 07:19 .gitignore 07:23:32 -rw-rw-r-- 1 jenkins jenkins 936 Nov 23 07:19 Dockerfile.build 07:23:32 -rw-rw-r-- 1 jenkins jenkins 901 Nov 23 07:19 Jenkinsfile 07:23:32 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 23 07:19 LICENSE 07:23:32 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 23 07:19 Makefile 07:23:32 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 23 07:19 README.md 07:23:32 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 23 07:19 RELEASE-NOTES.txt 07:23:32 -rw-rw-r-- 1 jenkins jenkins 5 Nov 23 07:19 VERSION 07:23:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 07:19 bin 07:23:32 -rw-r--r-- 1 jenkins jenkins 127610 Nov 23 07:22 coverage.out 07:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 example 07:23:32 -rw-r--r-- 1 jenkins jenkins 518 Nov 23 07:23 go.mod 07:23:32 -rw-r--r-- 1 jenkins jenkins 13546 Nov 23 07:23 go.sum 07:23:32 drwxrwxr-x 15 jenkins jenkins 4096 Nov 23 07:19 internal 07:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 openapi 07:23:32 drwxrwxr-x 5 jenkins jenkins 4096 Nov 23 07:19 pkg 07:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 snap 07:23:32 -rw-rw-r-- 1 jenkins jenkins 222 Nov 23 07:19 version.go 07:23:33 $ docker top 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:23:33 + make test 07:23:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:23:33 + 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=ddd40b9f98c115ab6261d98e9aa02185be072950 --label arch=arm64 --label version=0.0.0 . 07:23:34 Sending build context to Docker daemon 2.485MB 07:23:34 Step 1/24 : ARG BASE=golang:1.15-alpine 07:23:34 Step 2/24 : FROM ${BASE} AS builder 07:23:34 ---> f17fa8dea06d 07:23:34 Step 3/24 : ARG MAKE='make build' 07:23:34 ---> Running in e06363598b67 07:23:35 Removing intermediate container e06363598b67 07:23:35 ---> ca0ae42770aa 07:23:35 Step 4/24 : WORKDIR /device-sdk-go 07:23:35 ---> Running in bd1ea311ce1a 07:23:35 Removing intermediate container bd1ea311ce1a 07:23:35 ---> 3ec1d70f26da 07:23:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:23:35 ---> Running in 59b210f18a2a 07:23:36 Removing intermediate container 59b210f18a2a 07:23:36 ---> efd957813ebb 07:23:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:36 ---> Running in 766106ff89ed 07:23:39 Removing intermediate container 766106ff89ed 07:23:39 ---> 50e0495a254b 07:23:39 Step 7/24 : RUN apk add --update --no-cache make git 07:23:39 ---> Running in 23cd52df8ceb 07:23:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:23:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:23:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:23:42 OK: 142 MiB in 39 packages 07:23:43 Removing intermediate container 23cd52df8ceb 07:23:43 ---> d625d50d5c8d 07:23:43 Step 8/24 : COPY . . 07:23:44 ---> 517165177e7a 07:23:44 Step 9/24 : RUN ${MAKE} 07:23:44 ---> Running in ac1d05697830 07:23:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:23:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:23:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:23:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:23:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.6% of statements 07:23:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.470s coverage: 97.1% of statements 07:24:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:24:13 Removing intermediate container ac1d05697830 07:24:13 ---> 69125c60450d 07:24:13 Step 10/24 : FROM scratch 07:24:13 ---> 07:24:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:24:13 ---> Running in 6c79d7d4fe71 07:24:13 Removing intermediate container 6c79d7d4fe71 07:24:13 ---> 1027c859f670 07:24:13 Step 12/24 : ENV APP_PORT=49990 07:24:13 ---> Running in da78a998e147 07:24:13 Removing intermediate container da78a998e147 07:24:13 ---> 2b68957dde0e 07:24:13 Step 13/24 : EXPOSE $APP_PORT 07:24:13 ---> Running in b6b668ed7337 07:24:13 Removing intermediate container b6b668ed7337 07:24:13 ---> 8eed5f8c314c 07:24:13 Step 14/24 : WORKDIR / 07:24:14 ---> Running in 81de63207fe8 07:24:14 Removing intermediate container 81de63207fe8 07:24:14 ---> 6ec74a5363f7 07:24:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:24:15 ---> 02475a74c05d 07:24:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:24:16 ---> cef892ccb951 07:24:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:24:17 ---> 21c150752ec4 07:24:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:24:18 ---> 15d7c1b5b3ea 07:24:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:24:18 ---> 1e00010e766e 07:24:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:24:18 ---> Running in c78673d3f1d8 07:24:19 Removing intermediate container c78673d3f1d8 07:24:19 ---> 34104c0db4ba 07:24:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:24:19 ---> Running in b1e178f91b17 07:24:19 Removing intermediate container b1e178f91b17 07:24:19 ---> 6c85b0322e15 07:24:19 Step 22/24 : LABEL arch=arm64 07:24:19 ---> Running in aa78bc080ed4 07:24:20 Removing intermediate container aa78bc080ed4 07:24:20 ---> 2bd93d203667 07:24:20 Step 23/24 : LABEL git_sha=ddd40b9f98c115ab6261d98e9aa02185be072950 07:24:20 ---> Running in 7f692ebcb14d 07:24:21 Removing intermediate container 7f692ebcb14d 07:24:21 ---> 527250e47737 07:24:21 Step 24/24 : LABEL version=0.0.0 07:24:21 ---> Running in b24c71f92d27 07:24:21 Removing intermediate container b24c71f92d27 07:24:21 ---> a7bf0f9a53e9 07:24:21 [Warning] One or more build-args [ARCH] were not consumed 07:24:21 Successfully built a7bf0f9a53e9 07:24:21 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] } 07:24:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements 07:24:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:24:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.255s coverage: 42.5% of statements 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:24:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.284s coverage: 68.9% of statements 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:24:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:24:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:24:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.329s coverage: 68.9% of statements 07:24:28 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.056s coverage: 4.7% of statements 07:24:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:24:28 GO111MODULE=on go vet ./... 07:24:35 gofmt -l . 07:24:35 [ "`gofmt -l .`" = "" ] 07:24:35 ./bin/test-attribution-txt.sh 07:24:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:24:36 $ docker stop --time=1 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 07:24:38 $ docker rm -f 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 [Pipeline] // withDockerContainer [Pipeline] sh 07:24:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:39 Warning: overwriting stash ‘coverage-report’ 07:24:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:24:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:40 + ls -al . 07:24:40 total 208 07:24:40 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 23 07:24 . 07:24:40 drwxrwxr-x. 4 jenkins jenkins 28 Nov 23 07:22 .. 07:24:40 drwxrwxr-x. 2 jenkins jenkins 64 Nov 23 07:22 bin 07:24:40 -rw-r--r--. 1 jenkins jenkins 127611 Nov 23 07:24 coverage.out 07:24:40 -rw-rw-r--. 1 jenkins jenkins 936 Nov 23 07:22 Dockerfile.build 07:24:40 -rw-rw-r--. 1 jenkins jenkins 140 Nov 23 07:22 .dockerignore 07:24:40 drwxrwxr-x. 4 jenkins jenkins 48 Nov 23 07:22 example 07:24:40 drwxrwxr-x. 8 jenkins jenkins 179 Nov 23 07:22 .git 07:24:40 drwxrwxr-x. 2 jenkins jenkins 60 Nov 23 07:22 .github 07:24:40 -rw-rw-r--. 1 jenkins jenkins 138 Nov 23 07:22 .gitignore 07:24:40 -rw-r--r--. 1 jenkins jenkins 518 Nov 23 07:24 go.mod 07:24:40 -rw-r--r--. 1 jenkins jenkins 13546 Nov 23 07:24 go.sum 07:24:40 drwxrwxr-x. 15 jenkins jenkins 211 Nov 23 07:22 internal 07:24:40 -rw-rw-r--. 1 jenkins jenkins 901 Nov 23 07:22 Jenkinsfile 07:24:40 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 23 07:22 LICENSE 07:24:40 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 23 07:22 Makefile 07:24:40 drwxrwxr-x. 4 jenkins jenkins 26 Nov 23 07:22 openapi 07:24:40 drwxrwxr-x. 5 jenkins jenkins 50 Nov 23 07:22 pkg 07:24:40 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 23 07:22 README.md 07:24:40 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 23 07:22 RELEASE-NOTES.txt 07:24:40 drwxrwxr-x. 4 jenkins jenkins 54 Nov 23 07:22 snap 07:24:40 -rw-rw-r--. 1 jenkins jenkins 5 Nov 23 07:19 VERSION 07:24:40 -rw-rw-r--. 1 jenkins jenkins 222 Nov 23 07:22 version.go [Pipeline] isUnix [Pipeline] sh 07:24:40 + 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=ddd40b9f98c115ab6261d98e9aa02185be072950 --label arch=amd64 --label version=0.0.0 . 07:24:41 Sending build context to Docker daemon 2.482MB 07:24:41 Step 1/24 : ARG BASE=golang:1.15-alpine 07:24:41 Step 2/24 : FROM ${BASE} AS builder 07:24:41 ---> f6adbcd603d2 07:24:41 Step 3/24 : ARG MAKE='make build' 07:24:41 ---> Running in 3ff78f8f406a 07:24:42 Removing intermediate container 3ff78f8f406a 07:24:42 ---> 1821f1aa1b63 07:24:42 Step 4/24 : WORKDIR /device-sdk-go 07:24:42 ---> Running in 96501964fc19 07:24:42 Removing intermediate container 96501964fc19 07:24:42 ---> 2fb8030e89ab 07:24:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:24:42 ---> Running in b681558a1799 07:24:42 Removing intermediate container b681558a1799 07:24:42 ---> cfb301946eef 07:24:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:42 ---> Running in 2dfd37b1de21 07:24:43 Removing intermediate container 2dfd37b1de21 07:24:43 ---> d67c1e0744d2 07:24:43 Step 7/24 : RUN apk add --update --no-cache make git 07:24:43 ---> Running in 5770d7d0485f 07:24:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:24:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:24:45 OK: 166 MiB in 39 packages 07:24:45 Removing intermediate container 5770d7d0485f 07:24:45 ---> f03da5d11874 07:24:45 Step 8/24 : COPY . . 07:24:46 ---> 6e7d6ff2c80d 07:24:46 Step 9/24 : RUN ${MAKE} 07:24:46 ---> Running in 861e5a381905 07:24:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:24:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:24:58 Removing intermediate container 861e5a381905 07:24:58 ---> 9fedf42db0e1 07:24:58 Step 10/24 : FROM scratch 07:24:58 ---> 07:24:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:24:58 ---> Running in 09aedd9b3983 07:24:58 Removing intermediate container 09aedd9b3983 07:24:58 ---> 19202e4da182 07:24:58 Step 12/24 : ENV APP_PORT=49990 07:24:58 ---> Running in c9bfc6c95c81 07:24:58 Removing intermediate container c9bfc6c95c81 07:24:58 ---> ae1c16c23368 07:24:58 Step 13/24 : EXPOSE $APP_PORT 07:24:58 ---> Running in c90413d3982e 07:24:58 Removing intermediate container c90413d3982e 07:24:58 ---> 2a620ec350c2 07:24:58 Step 14/24 : WORKDIR / 07:24:58 ---> Running in 8c8e47f8dd8b 07:24:58 Removing intermediate container 8c8e47f8dd8b 07:24:58 ---> 7f373921763f 07:24:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:24:59 ---> fb4fec1a1981 07:24:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:24:59 ---> 6cda88d0d224 07:24:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:24:59 ---> 5cae5adf6edd 07:24:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:25:00 ---> 631c868bce3a 07:25:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:25:00 ---> d449596a0916 07:25:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:25:00 ---> Running in 13b12249fa79 07:25:00 Removing intermediate container 13b12249fa79 07:25:00 ---> ed8ce8facda2 07:25:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:25:00 ---> Running in 4960bf8ba84d 07:25:00 Removing intermediate container 4960bf8ba84d 07:25:00 ---> bf793b3abe8e 07:25:00 Step 22/24 : LABEL arch=amd64 07:25:00 ---> Running in c06b33e8180d 07:25:00 Removing intermediate container c06b33e8180d 07:25:00 ---> 390313f9d897 07:25:00 Step 23/24 : LABEL git_sha=ddd40b9f98c115ab6261d98e9aa02185be072950 07:25:00 ---> Running in cb9bca416b78 07:25:01 Removing intermediate container cb9bca416b78 07:25:01 ---> a45b6dcb08e7 07:25:01 Step 24/24 : LABEL version=0.0.0 07:25:01 ---> Running in 2c1b9cb7b00a 07:25:01 Removing intermediate container 2c1b9cb7b00a 07:25:01 ---> 47b9e705e6a0 07:25:01 [Warning] One or more build-args [ARCH] were not consumed 07:25:01 Successfully built 47b9e705e6a0 07:25:01 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:25:04 provisioning config files... 07:25:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config1159801713410259515tmp [Pipeline] { [Pipeline] sh 07:25:04 + set +x 07:25:04 + curl -s https://codecov.io/bash 07:25:04 + bash -s -- 07:25:04 07:25:04 _____ _ 07:25:04 / ____| | | 07:25:04 | | ___ __| | ___ ___ _____ __ 07:25:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:04 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:04 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:04 Bash-20201123-d0fed5f 07:25:04 07:25:04 07:25:04 ==> Jenkins CI detected. 07:25:04 project root: . 07:25:04 --> token set from env 07:25:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:04 ==> Running gcov in . (disable via -X gcov) 07:25:04 ==> Python coveragepy not found 07:25:04 ==> Searching for coverage reports in: 07:25:04 + . 07:25:04 -> Found 1 reports 07:25:04 ==> Detecting git/mercurial file structure 07:25:04 ==> Reading reports 07:25:04 + ./coverage.out bytes=127611 07:25:04 ==> Appending adjustments 07:25:04 https://docs.codecov.io/docs/fixing-reports 07:25:05 + Found adjustments 07:25:05 ==> Gzipping contents 07:25:05 ==> Uploading reports 07:25:05 url: https://codecov.io 07:25:05 query: branch=PR-656&commit=ddd40b9f98c115ab6261d98e9aa02185be072950&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=656&job=&cmd_args= 07:25:05 -> Pinging Codecov 07:25:05 https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-656&commit=ddd40b9f98c115ab6261d98e9aa02185be072950&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=656&job=&cmd_args= 07:25:06 -> Uploading to 07:25:06 https://storage.googleapis.com/codecov/v4/raw/2020-11-23/7E55EF52A471D76F132DFD9A03CDDE97/ddd40b9f98c115ab6261d98e9aa02185be072950/e733c471-d65d-4fec-b2e1-35acc618df2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201123T072505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5651338a55260093c24c85e8f6056e167632fe3b3351a6807cc7f5773c41d5b6 07:25:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:06 Dload Upload Total Spent Left Speed 07:25:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20885 0 0 100 20885 0 48267 --:--:-- --:--:-- --:--:-- 48233 07:25:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] } 07:25:06 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 07:25:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:25:10 ---> package-listing.sh 07:25:10 ++ facter osfamily 07:25:10 ++ tr '[:upper:]' '[:lower:]' 07:25:10 + OS_FAMILY=redhat 07:25:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-656 07:25:10 + START_PACKAGES=/tmp/packages_start.txt 07:25:10 + END_PACKAGES=/tmp/packages_end.txt 07:25:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:25:10 + PACKAGES=/tmp/packages_start.txt 07:25:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-656 ']' 07:25:10 + PACKAGES=/tmp/packages_end.txt 07:25:10 + case "${OS_FAMILY}" in 07:25:10 + rpm -qa 07:25:10 + sort 07:25:15 + '[' -f /tmp/packages_start.txt ']' 07:25:15 + '[' -f /tmp/packages_end.txt ']' 07:25:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:25:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-656 ']' 07:25:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-656/archives/ 07:25:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-656/archives/ [Pipeline] echo 07:25:15 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-656/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:25:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:25:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:15 07:25:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:25:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:16 alpine: Pulling from edgex-lftools-log-publisher 07:25:16 df20fa9351a1: Pulling fs layer 07:25:16 36b3adc4ff6f: Pulling fs layer 07:25:16 8ad3a11d3b57: Pulling fs layer 07:25:16 46f8f816bc3b: Pulling fs layer 07:25:16 93b61091891f: Pulling fs layer 07:25:16 93b9cdb0e59b: Pulling fs layer 07:25:16 5e14af77c1be: Pulling fs layer 07:25:16 01666e4c0597: Pulling fs layer 07:25:16 aa168da1d23b: Pulling fs layer 07:25:16 93b9cdb0e59b: Waiting 07:25:16 5e14af77c1be: Waiting 07:25:16 01666e4c0597: Waiting 07:25:16 aa168da1d23b: Waiting 07:25:16 46f8f816bc3b: Waiting 07:25:16 93b61091891f: Waiting 07:25:16 36b3adc4ff6f: Verifying Checksum 07:25:16 36b3adc4ff6f: Download complete 07:25:16 46f8f816bc3b: Verifying Checksum 07:25:16 46f8f816bc3b: Download complete 07:25:16 df20fa9351a1: Verifying Checksum 07:25:16 df20fa9351a1: Download complete 07:25:16 93b9cdb0e59b: Verifying Checksum 07:25:16 93b9cdb0e59b: Download complete 07:25:16 5e14af77c1be: Verifying Checksum 07:25:16 5e14af77c1be: Download complete 07:25:16 01666e4c0597: Verifying Checksum 07:25:16 01666e4c0597: Download complete 07:25:16 93b61091891f: Verifying Checksum 07:25:16 93b61091891f: Download complete 07:25:16 8ad3a11d3b57: Verifying Checksum 07:25:16 8ad3a11d3b57: Download complete 07:25:16 df20fa9351a1: Pull complete 07:25:17 36b3adc4ff6f: Pull complete 07:25:17 8ad3a11d3b57: Pull complete 07:25:17 46f8f816bc3b: Pull complete 07:25:18 93b61091891f: Pull complete 07:25:18 aa168da1d23b: Download complete 07:25:18 93b9cdb0e59b: Pull complete 07:25:18 5e14af77c1be: Pull complete 07:25:18 01666e4c0597: Pull complete 07:25:27 aa168da1d23b: Pull complete 07:25:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:25:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:25:27 prd-centos7-docker-4c-2g-13250 does not seem to be running inside a container 07:25:27 $ 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-656/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-656 -v /w/workspace/dgexfoundry_device-sdk-go_PR-656:/w/workspace/dgexfoundry_device-sdk-go_PR-656:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:25:30 $ docker top fa6ed89ca4fb5359760ade9428a8832c34eb9be1382dce84b3422a509c2b0784 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:31 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:31 + mkdir -p /var/log/sa [Pipeline] sh 07:25:31 + ls /var/log/sa-host 07:25:31 + sadf -c /var/log/sa-host/sa05 07:25:31 file_magic: OK 07:25:31 HZ: Using current value: 100 07:25:31 file_header: OK 07:25:31 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 07:25:31 Statistics: 07:25:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:25:31 File successfully converted to sysstat format version 12.2.1 07:25:31 + sadf -c /var/log/sa-host/sa23 07:25:31 file_magic: OK 07:25:31 HZ: Using current value: 100 07:25:31 file_header: OK 07:25:31 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 07:25:31 Statistics: 07:25:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:25:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:32 provisioning config files... 07:25:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config7124815886017496761tmp [Pipeline] { [Pipeline] echo 07:25:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:33 ---> create-netrc.sh [Pipeline] } 07:25:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:25:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:25:33 ---> python-tools-install.sh [Pipeline] echo 07:25:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:34 ---> sudo-logs.sh 07:25:34 Archiving 'sudo' log.. [Pipeline] echo 07:25:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:34 ---> job-cost.sh 07:25:34 lf-activate-venv: SKIPPING 07:25:34 INFO: No Stack... 07:25:35 INFO: Retrieving Pricing Info for: v1-standard-2 07:25:35 INFO: Archiving Costs [Pipeline] echo 07:25:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:36 ---> logs-deploy.sh 07:25:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-656/1 07:25:36 INFO: archiving workspace using pattern(s): 07:25:38 Archives upload complete. 07:25:38 INFO: archiving logs to Nexus 07:25:39 ---> uname -a: 07:25:39 Linux prd-centos7-docker-4c-2g-13250.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:25:39 07:25:39 07:25:39 ---> lscpu: 07:25:39 Architecture: x86_64 07:25:39 CPU op-mode(s): 32-bit, 64-bit 07:25:39 Byte Order: Little Endian 07:25:39 Address sizes: 40 bits physical, 48 bits virtual 07:25:39 CPU(s): 4 07:25:39 On-line CPU(s) list: 0-3 07:25:39 Thread(s) per core: 1 07:25:39 Core(s) per socket: 1 07:25:39 Socket(s): 4 07:25:39 NUMA node(s): 1 07:25:39 Vendor ID: GenuineIntel 07:25:39 CPU family: 6 07:25:39 Model: 44 07:25:39 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:25:39 Stepping: 1 07:25:39 CPU MHz: 2933.438 07:25:39 BogoMIPS: 5866.87 07:25:39 Virtualization: VT-x 07:25:39 Hypervisor vendor: KVM 07:25:39 Virtualization type: full 07:25:39 L1d cache: 128 KiB 07:25:39 L1i cache: 128 KiB 07:25:39 L2 cache: 16 MiB 07:25:39 L3 cache: 64 MiB 07:25:39 NUMA node0 CPU(s): 0-3 07:25:39 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:25:39 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:25:39 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:25:39 Vulnerability Meltdown: Mitigation; PTI 07:25:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:25:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:25:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:25:39 Vulnerability Tsx async abort: Not affected 07:25:39 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 07:25:39 07:25:39 07:25:39 ---> nproc: 07:25:39 4 07:25:39 07:25:39 07:25:39 ---> df -h: 07:25:39 Filesystem Size Used Available Use% Mounted on 07:25:39 overlay 50.0G 7.2G 42.8G 14% / 07:25:39 tmpfs 64.0M 0 64.0M 0% /dev 07:25:39 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:25:39 shm 64.0M 0 64.0M 0% /dev/shm 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-656 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 07:25:39 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 07:25:39 07:25:39 07:25:39 ---> free -m: 07:25:39 total used free shared buff/cache available 07:25:39 Mem: 1837 678 112 0 1046 1056 07:25:39 Swap: 1023 1 1022 07:25:39 07:25:39 07:25:39 ---> ip addr: 07:25:39 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:25:39 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:25:39 inet 127.0.0.1/8 scope host lo 07:25:39 valid_lft forever preferred_lft forever 07:25:39 inet6 ::1/128 scope host 07:25:39 valid_lft forever preferred_lft forever 07:25:39 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:25:39 link/ether fa:16:3e:e9:ac:89 brd ff:ff:ff:ff:ff:ff 07:25:39 inet 10.30.122.124/23 brd 10.30.123.255 scope global dynamic eth0 07:25:39 valid_lft 85981sec preferred_lft 85981sec 07:25:39 inet6 fe80::f816:3eff:fee9:ac89/64 scope link 07:25:39 valid_lft forever preferred_lft forever 07:25:39 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:25:39 link/ether 02:42:cd:c8:e8:ca brd ff:ff:ff:ff:ff:ff 07:25:39 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:25:39 valid_lft forever preferred_lft forever 07:25:39 inet6 fe80::42:cdff:fec8:e8ca/64 scope link 07:25:39 valid_lft forever preferred_lft forever 07:25:39 07:25:39 07:25:39 ---> sar -b -r -n DEV: 07:25:39 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/23/20 _x86_64_ (4 CPU) 07:25:39 07:25:39 07:18:22 LINUX RESTART (4 CPU) 07:25:39 07:25:39 07:19:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:25:39 07:20:01 63.93 16.27 47.66 0.00 5295.32 5145.54 0.00 07:25:39 07:21:01 0.98 0.00 0.98 0.00 0.00 21.17 0.00 07:25:39 07:22:01 0.22 0.00 0.22 0.00 0.00 3.25 0.00 07:25:39 07:23:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 07:25:39 07:24:01 0.67 0.00 0.67 0.00 0.00 7.56 0.00 07:25:39 07:25:01 0.52 0.00 0.52 0.00 0.00 7.09 0.00 07:25:39 Average: 10.81 2.64 8.17 0.00 858.32 841.19 0.00 07:25:39 07:25:39 07:19:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:25:39 07:20:01 175144 0 576672 30.65 2620 1127120 1108836 37.84 428460 1117684 128 07:25:39 07:21:01 180012 0 571792 30.39 2620 1127132 1072604 36.61 428228 1114460 20 07:25:39 07:22:01 179376 0 572424 30.42 2620 1127136 1072640 36.61 428368 1114456 8 07:25:39 07:23:01 177928 0 573872 30.50 2620 1127136 1072616 36.61 432316 1111880 8 07:25:39 07:24:01 179232 0 572560 30.43 2620 1127144 1072424 36.60 443696 1099460 8 07:25:39 07:25:01 179004 0 572784 30.44 2620 1127148 1072532 36.60 444276 1099460 8 07:25:39 Average: 178449 0 573351 30.47 2620 1127136 1078609 36.81 434224 1109567 30 07:25:39 07:25:39 07:19:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:25:39 07:20:01 eth0 457.06 311.38 855.19 87.16 0.00 0.00 0.00 0.00 07:25:39 07:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:20:01 docker0 7.39 5.84 1.20 20.81 0.00 0.00 0.00 0.00 07:25:39 07:21:01 eth0 1.23 0.37 0.35 0.24 0.00 0.00 0.00 0.00 07:25:39 07:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:22:01 eth0 1.60 0.42 0.36 0.18 0.00 0.00 0.00 0.00 07:25:39 07:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:23:01 eth0 1.17 0.62 0.56 0.40 0.00 0.00 0.00 0.00 07:25:39 07:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:24:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 07:25:39 07:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:25:01 eth0 0.30 0.22 0.14 0.07 0.00 0.00 0.00 0.00 07:25:39 07:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 07:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 Average: eth0 74.82 50.76 138.86 14.28 0.00 0.00 0.00 0.00 07:25:39 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:25:39 Average: docker0 1.20 0.95 0.20 3.37 0.00 0.00 0.00 0.00 07:25:39 07:25:39 07:25:39 ---> sar -P ALL: 07:25:39 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/23/20 _x86_64_ (4 CPU) 07:25:39 07:25:39 07:18:22 LINUX RESTART (4 CPU) 07:25:39 07:25:39 07:19:02 CPU %user %nice %system %iowait %steal %idle 07:25:39 07:20:01 all 7.11 0.00 3.69 2.04 0.03 87.13 07:25:39 07:20:01 0 7.39 0.00 4.29 1.03 0.02 87.27 07:25:39 07:20:01 1 6.67 0.00 3.47 0.82 0.02 89.02 07:25:39 07:20:01 2 7.11 0.00 3.67 2.45 0.03 86.73 07:25:39 07:20:01 3 7.27 0.00 3.33 3.85 0.03 85.51 07:25:39 07:21:01 all 0.11 0.00 0.05 0.00 0.00 99.83 07:25:39 07:21:01 0 0.07 0.00 0.05 0.00 0.00 99.88 07:25:39 07:21:01 1 0.03 0.00 0.05 0.00 0.00 99.92 07:25:39 07:21:01 2 0.28 0.00 0.05 0.00 0.00 99.67 07:25:39 07:21:01 3 0.07 0.00 0.07 0.00 0.00 99.87 07:25:39 07:22:01 all 0.17 0.00 0.04 0.00 0.00 99.79 07:25:39 07:22:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:25:39 07:22:01 1 0.05 0.00 0.07 0.00 0.00 99.88 07:25:39 07:22:01 2 0.55 0.00 0.02 0.00 0.00 99.43 07:25:39 07:22:01 3 0.08 0.00 0.05 0.00 0.00 99.87 07:25:39 07:23:01 all 0.18 0.00 0.03 0.00 0.00 99.79 07:25:39 07:23:01 0 0.05 0.00 0.03 0.00 0.00 99.92 07:25:39 07:23:01 1 0.08 0.00 0.03 0.00 0.00 99.88 07:25:39 07:23:01 2 0.53 0.00 0.03 0.00 0.00 99.43 07:25:39 07:23:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:25:39 07:24:01 all 0.16 0.00 0.06 0.00 0.00 99.78 07:25:39 07:24:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:25:39 07:24:01 1 0.05 0.00 0.17 0.00 0.00 99.78 07:25:39 07:24:01 2 0.53 0.00 0.02 0.00 0.00 99.45 07:25:39 07:24:01 3 0.05 0.00 0.02 0.00 0.02 99.92 07:25:39 07:25:01 all 0.15 0.00 0.04 0.00 0.00 99.80 07:25:39 07:25:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:25:39 07:25:01 1 0.05 0.00 0.07 0.00 0.00 99.88 07:25:39 07:25:01 2 0.52 0.00 0.03 0.00 0.00 99.45 07:25:39 07:25:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:25:39 Average: all 1.27 0.00 0.63 0.33 0.00 97.76 07:25:39 Average: 0 1.21 0.00 0.72 0.17 0.00 97.90 07:25:39 Average: 1 1.12 0.00 0.62 0.13 0.00 98.12 07:25:39 Average: 2 1.55 0.00 0.62 0.39 0.01 97.44 07:25:39 Average: 3 1.21 0.00 0.57 0.62 0.01 97.59 07:25:39 07:25:39 07:25:39