Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc+3d8962a40545ef0adb8ef75e097226374dd52980 (13d140f8fdd32c513eb0085798e6eb507233921d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13532 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc Merge succeeded, producing 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc Checking out Revision 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # 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 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk e8ed914a517b2875e2c500d0314f02b896344c33 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:48:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:48:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:48:57 ========================================================= 07:48:57 EdgeX Global Pipelines Version Info 07:48:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:48:59 ------------------- 07:48:59 stable info: 07:48:59 ------------------- 07:48:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:48:59 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:48:59 Message: update stable to v1.0.167 07:49:00 ------------------- 07:49:00 experimental info: 07:49:00 ------------------- 07:49:00 Commited By: **** collab-it+edgex@linuxfoundation.org 07:49:00 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:49:00 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:49:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:49:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:49:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc [Pipeline] echo 07:49:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48f2a81 [Pipeline] echo 07:49:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:49:04 provisioning config files... 07:49:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config6793822573286801434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:04 ---> docker-login.sh 07:49:04 nexus3.edgexfoundry.org:10001 07:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:04 Configure a credential helper to remove this warning. See 07:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:04 07:49:04 Login Succeeded 07:49:04 nexus3.edgexfoundry.org:10002 07:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:05 Configure a credential helper to remove this warning. See 07:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:05 07:49:05 Login Succeeded 07:49:05 nexus3.edgexfoundry.org:10003 07:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:05 Configure a credential helper to remove this warning. See 07:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:05 07:49:05 Login Succeeded 07:49:05 nexus3.edgexfoundry.org:10004 07:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:05 Configure a credential helper to remove this warning. See 07:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:05 07:49:05 Login Succeeded 07:49:05 docker.io 07:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:05 Configure a credential helper to remove this warning. See 07:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:05 07:49:05 Login Succeeded 07:49:05 ---> docker-login.sh ends [Pipeline] } 07:49:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:06 + git log --format=format:%s -1 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc [Pipeline] echo 07:49:06 GIT_COMMIT: 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo 07:49:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:07 07:49:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:49:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:07 latest: Pulling from edgex-devops/git-semver 07:49:07 31603596830f: Pulling fs layer 07:49:07 2a8b12db71e7: Pulling fs layer 07:49:07 6ca5941a6612: Pulling fs layer 07:49:07 ecc8261a40a4: Pulling fs layer 07:49:07 ecc8261a40a4: Waiting 07:49:07 2a8b12db71e7: Verifying Checksum 07:49:07 2a8b12db71e7: Download complete 07:49:07 31603596830f: Verifying Checksum 07:49:07 31603596830f: Download complete 07:49:08 ecc8261a40a4: Verifying Checksum 07:49:08 ecc8261a40a4: Download complete 07:49:08 6ca5941a6612: Verifying Checksum 07:49:08 6ca5941a6612: Download complete 07:49:08 31603596830f: Pull complete 07:49:08 2a8b12db71e7: Pull complete 07:49:09 6ca5941a6612: Pull complete 07:49:09 ecc8261a40a4: Pull complete 07:49:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:49:09 prd-centos7-docker-4c-2g-13532 does not seem to be running inside a container 07:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:49:11 $ docker top b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:11 [ssh-agent] Looking for ssh-agent implementation... 07:49:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:12 $ docker exec b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d ssh-agent 07:49:12 SSH_AUTH_SOCK=/tmp/ssh-xAzKBSDvo6q6/agent.11 07:49:12 SSH_AGENT_PID=16 07:49:12 Running ssh-add (command line suppressed) 07:49:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8512621595773407506.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8512621595773407506.key) 07:49:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:12 + git tag --points-at HEAD [Pipeline] } 07:49:12 $ docker exec --env ******** --env ******** b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d ssh-agent -k 07:49:12 unset SSH_AUTH_SOCK; 07:49:12 unset SSH_AGENT_PID; 07:49:12 echo Agent pid 16 killed; 07:49:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:49:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:13 [ssh-agent] Looking for ssh-agent implementation... 07:49:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:13 $ docker exec b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d ssh-agent 07:49:13 SSH_AUTH_SOCK=/tmp/ssh-LPuZOsJyJ3F6/agent.46 07:49:13 SSH_AGENT_PID=52 07:49:13 Running ssh-add (command line suppressed) 07:49:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3185648721776597017.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3185648721776597017.key) 07:49:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:14 + git semver init 07:49:14 # -> Open(): unable to determine branch for HEAD 07:49:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 07:49:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 07:49:14 # $SEMVER_REMOTE_NAME = origin 07:49:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:49:14 # $SEMVER_USER_NAME = edgex-jenkins 07:49:14 # $SEMVER_BRANCH = PR-614 07:49:14 # $SEMVER_TEMP = /tmp/semver-154882314 07:49:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:49:14 # '/tmp/semver-154882314' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 07:49:14 # -> Force: false 07:49:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 07:49:14 $ docker exec --env ******** --env ******** b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d ssh-agent -k 07:49:14 unset SSH_AUTH_SOCK; 07:49:14 unset SSH_AGENT_PID; 07:49:14 echo Agent pid 52 killed; 07:49:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:15 + git semver [Pipeline] } 07:49:15 $ docker stop --time=1 b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d 07:49:16 $ docker rm -f b2c946bca98904d324df38795cac3a687bf070d248971a8c7e6db0bd7a231f4d [Pipeline] // withDockerContainer [Pipeline] sh 07:49:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:49:17 Stashed 1 file(s) [Pipeline] echo 07:49:17 [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:49:33 Still waiting to schedule task 07:49:33 ‘prd-centos7-docker-4c-2g-13527’ is offline; ‘prd-centos7-docker-4c-2g-13533’ is offline; ‘prd-centos7-docker-4c-2g-13536’ is offline; ‘prd-centos7-docker-4c-2g-13537’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13522’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13531’ doesn’t have label ‘centos7-docker-4c-2g’ 07:49:33 Still waiting to schedule task 07:49:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:49:35 Running on prd-centos7-docker-4c-2g-13537 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 07:49:36 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 07:49:38 using credential edgex-jenkins-ssh 07:49:38 Cloning the remote Git repository 07:49:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:49:38 > git init /w/workspace/device-sdk-go/22 # timeout=10 07:49:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:49:38 > git --version # timeout=10 07:49:38 > git --version # 'git version 2.24.3' 07:49:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:40 Merging remotes/origin/master commit 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 07:49:40 Merge succeeded, producing 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 07:49:40 Checking out Revision 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc (PR-614) 07:49:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:49:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:49:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:49:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:49:40 > git config core.sparsecheckout # timeout=10 07:49:40 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 07:49:40 > git remote # timeout=10 07:49:40 > git config --get remote.origin.url # timeout=10 07:49:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:40 > git merge 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 07:49:40 > git rev-parse HEAD^{commit} # timeout=10 07:49:40 > git config core.sparsecheckout # timeout=10 07:49:40 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 07:49:43 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:49:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:49:45 + sudo service docker restart 07:49:45 + true 07:49:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:49:47 provisioning config files... 07:49:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/22@tmp/config8630850648639001000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:47 ---> docker-login.sh 07:49:47 nexus3.edgexfoundry.org:10001 07:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:47 Configure a credential helper to remove this warning. See 07:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:47 07:49:47 Login Succeeded 07:49:47 nexus3.edgexfoundry.org:10002 07:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:48 Configure a credential helper to remove this warning. See 07:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:48 07:49:48 Login Succeeded 07:49:48 nexus3.edgexfoundry.org:10003 07:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:48 Configure a credential helper to remove this warning. See 07:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:48 07:49:48 Login Succeeded 07:49:48 nexus3.edgexfoundry.org:10004 07:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:48 Configure a credential helper to remove this warning. See 07:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:48 07:49:48 Login Succeeded 07:49:48 docker.io 07:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:48 Configure a credential helper to remove this warning. See 07:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:48 07:49:48 Login Succeeded 07:49:48 ---> docker-login.sh ends [Pipeline] } 07:49:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:49:49 ========================================================= 07:49:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:49:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:49:49 + 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:49:49 Sending build context to Docker daemon 2.351MB 07:49:49 Step 1/8 : ARG BASE=golang:1.15-alpine 07:49:49 Step 2/8 : FROM ${BASE} 07:49:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:49:49 df20fa9351a1: Pulling fs layer 07:49:49 ed8968b2872e: Pulling fs layer 07:49:49 a92cc7c5fd73: Pulling fs layer 07:49:49 e871e8e8d7a9: Pulling fs layer 07:49:49 e73272ec9a57: Pulling fs layer 07:49:49 1e910a182e73: Pulling fs layer 07:49:49 4e634b169226: Pulling fs layer 07:49:49 e871e8e8d7a9: Waiting 07:49:49 1e910a182e73: Waiting 07:49:49 4e634b169226: Waiting 07:49:49 e73272ec9a57: Waiting 07:49:49 a92cc7c5fd73: Verifying Checksum 07:49:49 a92cc7c5fd73: Download complete 07:49:49 ed8968b2872e: Verifying Checksum 07:49:49 ed8968b2872e: Download complete 07:49:49 e73272ec9a57: Verifying Checksum 07:49:49 e73272ec9a57: Download complete 07:49:49 1e910a182e73: Verifying Checksum 07:49:49 1e910a182e73: Download complete 07:49:49 df20fa9351a1: Verifying Checksum 07:49:49 df20fa9351a1: Download complete 07:49:50 df20fa9351a1: Pull complete 07:49:50 ed8968b2872e: Pull complete 07:49:50 a92cc7c5fd73: Pull complete 07:49:51 4e634b169226: Verifying Checksum 07:49:51 4e634b169226: Download complete 07:49:52 e871e8e8d7a9: Verifying Checksum 07:49:52 e871e8e8d7a9: Download complete 07:49:57 e871e8e8d7a9: Pull complete 07:49:57 e73272ec9a57: Pull complete 07:49:57 1e910a182e73: Pull complete 07:50:02 4e634b169226: Pull complete 07:50:02 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:50:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:50:02 ---> f7629b54cfaa 07:50:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:50:02 ---> Running in 7aca976f17f0 07:50:02 Removing intermediate container 7aca976f17f0 07:50:02 ---> 00f137bff3d8 07:50:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:50:02 ---> Running in 3902f469d002 07:50:03 Removing intermediate container 3902f469d002 07:50:03 ---> b9f4b63d0c0d 07:50:03 Step 5/8 : RUN apk add --no-cache make git 07:50:03 ---> Running in 3469672374b4 07:50:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:50:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:50:05 OK: 166 MiB in 39 packages 07:50:05 Removing intermediate container 3469672374b4 07:50:05 ---> 713fca02efee 07:50:05 Step 6/8 : WORKDIR /device-sdk-go 07:50:05 ---> Running in a2011f76f75d 07:50:06 Removing intermediate container a2011f76f75d 07:50:06 ---> 513b11e8d3e2 07:50:06 Step 7/8 : COPY . . 07:50:07 ---> 68828c806870 07:50:07 Step 8/8 : RUN go mod download 07:50:07 ---> Running in 96ed2ba09217 07:51:59 Removing intermediate container 96ed2ba09217 07:51:59 ---> 77b0a951fd6d 07:51:59 Successfully built 77b0a951fd6d 07:51:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:52:00 + docker inspect -f . ci-base-image-x86_64 07:52:00 . [Pipeline] withDockerContainer 07:52:00 prd-centos7-docker-4c-2g-13537 does not seem to be running inside a container 07:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:52:00 $ docker top d8f750067b7f43a99bbb5e7afc67aec03de800b50d2f3e0c58a6320dce7248fa -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:01 + go version 07:52:01 go version go1.15.2 linux/amd64 [Pipeline] } 07:52:01 $ docker stop --time=1 d8f750067b7f43a99bbb5e7afc67aec03de800b50d2f3e0c58a6320dce7248fa 07:52:02 $ docker rm -f d8f750067b7f43a99bbb5e7afc67aec03de800b50d2f3e0c58a6320dce7248fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:52:03 + docker inspect -f . ci-base-image-x86_64 07:52:03 . [Pipeline] withDockerContainer 07:52:03 prd-centos7-docker-4c-2g-13537 does not seem to be running inside a container 07:52:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:52:04 $ docker top fddd46a34e5bd1175873f1dcdb52643cfb7ae4f53cfd5df20fcff2504bf5a262 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:04 + make test 07:52:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:52:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:52:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:52:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:52:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:52:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.084s coverage: 20.6% of statements 07:52:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.464s coverage: 97.1% of statements 07:52:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13539 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 07:52:39 Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout 07:52:45 using credential edgex-jenkins-ssh 07:52:45 Cloning the remote Git repository 07:52:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:52:46 > git init /w/workspace/device-sdk-go/22 # timeout=10 07:52:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:46 > git --version # timeout=10 07:52:46 > git --version # 'git version 2.17.1' 07:52:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:48 Merging remotes/origin/master commit 3d8962a40545ef0adb8ef75e097226374dd52980 into PR head commit 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 07:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:52:48 > git config core.sparsecheckout # timeout=10 07:52:48 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 07:52:48 > git remote # timeout=10 07:52:48 > git config --get remote.origin.url # timeout=10 07:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:48 Merge succeeded, producing 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 07:52:48 Checking out Revision 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc (PR-614) 07:52:48 > git merge 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 07:52:48 > git rev-parse HEAD^{commit} # timeout=10 07:52:49 > git config core.sparsecheckout # timeout=10 07:52:49 > git checkout -f 48f2a81bf6fb53ed2515b7da6151e3ec59328cdc # timeout=10 07:52:53 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:52:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:52:55 + sudo service docker restart 07:52:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:52:57 provisioning config files... 07:52:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/22@tmp/config7018611487926507611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:58 ---> docker-login.sh 07:52:58 nexus3.edgexfoundry.org:10001 07:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:59 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 07:52:59 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.9% of statements 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:52:59 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 42.5% of statements 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:52:59 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.279s coverage: 68.9% of statements 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:52:59 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:52:59 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:52:59 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.336s coverage: 68.9% of statements 07:52:59 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements 07:52:59 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:52:59 GO111MODULE=on go vet ./... 07:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:59 Configure a credential helper to remove this warning. See 07:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:59 07:52:59 Login Succeeded 07:52:59 nexus3.edgexfoundry.org:10002 07:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:00 Configure a credential helper to remove this warning. See 07:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:00 07:53:00 Login Succeeded 07:53:00 nexus3.edgexfoundry.org:10003 07:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:00 Configure a credential helper to remove this warning. See 07:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:00 07:53:00 Login Succeeded 07:53:00 nexus3.edgexfoundry.org:10004 07:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:01 Configure a credential helper to remove this warning. See 07:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:01 07:53:01 Login Succeeded 07:53:01 docker.io 07:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:02 Configure a credential helper to remove this warning. See 07:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:02 07:53:02 Login Succeeded 07:53:02 ---> docker-login.sh ends [Pipeline] } 07:53:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:53:02 ========================================================= 07:53:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:53:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:53:03 + 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:53:03 Sending build context to Docker daemon 2.348MB 07:53:03 Step 1/8 : ARG BASE=golang:1.15-alpine 07:53:03 Step 2/8 : FROM ${BASE} 07:53:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:53:03 b538f80385f9: Pulling fs layer 07:53:03 74f711af9a0d: Pulling fs layer 07:53:03 99f96fe45779: Pulling fs layer 07:53:03 8529a6b9a6be: Pulling fs layer 07:53:03 45590311c82a: Pulling fs layer 07:53:03 69ca0ff8b7b3: Pulling fs layer 07:53:03 209524e5b208: Pulling fs layer 07:53:03 69ca0ff8b7b3: Waiting 07:53:03 209524e5b208: Waiting 07:53:03 45590311c82a: Waiting 07:53:03 8529a6b9a6be: Waiting 07:53:03 99f96fe45779: Verifying Checksum 07:53:03 99f96fe45779: Download complete 07:53:03 74f711af9a0d: Verifying Checksum 07:53:03 74f711af9a0d: Download complete 07:53:03 45590311c82a: Verifying Checksum 07:53:03 45590311c82a: Download complete 07:53:04 69ca0ff8b7b3: Verifying Checksum 07:53:04 69ca0ff8b7b3: Download complete 07:53:04 b538f80385f9: Verifying Checksum 07:53:04 b538f80385f9: Download complete 07:53:04 b538f80385f9: Pull complete 07:53:05 74f711af9a0d: Pull complete 07:53:05 99f96fe45779: Pull complete 07:53:06 gofmt -l . 07:53:06 [ "`gofmt -l .`" = "" ] 07:53:06 ./bin/test-attribution-txt.sh 07:53:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:53:06 $ docker stop --time=1 fddd46a34e5bd1175873f1dcdb52643cfb7ae4f53cfd5df20fcff2504bf5a262 07:53:06 209524e5b208: Verifying Checksum 07:53:06 209524e5b208: Download complete 07:53:08 8529a6b9a6be: Verifying Checksum 07:53:08 8529a6b9a6be: Download complete 07:53:08 $ docker rm -f fddd46a34e5bd1175873f1dcdb52643cfb7ae4f53cfd5df20fcff2504bf5a262 [Pipeline] // withDockerContainer [Pipeline] sh 07:53:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:53:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:53:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:53:11 + ls -al . 07:53:11 total 208 07:53:11 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:53 . 07:53:11 drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 07:49 .. 07:53:11 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:49 bin 07:53:11 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:52 coverage.out 07:53:11 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:49 Dockerfile.build 07:53:11 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:49 .dockerignore 07:53:11 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:49 example 07:53:11 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 07:49 .git 07:53:11 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:49 .github 07:53:11 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:49 .gitignore 07:53:11 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:53 go.mod 07:53:11 -rw-r--r--. 1 jenkins jenkins 13715 Nov 26 07:53 go.sum 07:53:11 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:49 internal 07:53:11 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:49 Jenkinsfile 07:53:11 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:49 LICENSE 07:53:11 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:49 Makefile 07:53:11 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:49 openapi 07:53:11 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:49 pkg 07:53:11 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:49 README.md 07:53:11 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:49 RELEASE-NOTES.txt 07:53:11 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:49 snap 07:53:11 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 07:49 VERSION 07:53:11 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:49 version.go [Pipeline] isUnix [Pipeline] sh 07:53:11 + 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=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc --label arch=amd64 --label version=0.0.0 . 07:53:11 Sending build context to Docker daemon 2.48MB 07:53:11 Step 1/24 : ARG BASE=golang:1.15-alpine 07:53:11 Step 2/24 : FROM ${BASE} AS builder 07:53:11 ---> 77b0a951fd6d 07:53:11 Step 3/24 : ARG MAKE='make build' 07:53:12 ---> Running in 9b7e47b279c2 07:53:12 Removing intermediate container 9b7e47b279c2 07:53:12 ---> faa6cf6f319a 07:53:12 Step 4/24 : WORKDIR /device-sdk-go 07:53:12 ---> Running in 894f423b2bcf 07:53:12 Removing intermediate container 894f423b2bcf 07:53:12 ---> 846a31baa513 07:53:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:12 ---> Running in 06c440e4ce30 07:53:12 Removing intermediate container 06c440e4ce30 07:53:12 ---> f85b512158ef 07:53:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:13 ---> Running in 23d55d4fdaa8 07:53:14 Removing intermediate container 23d55d4fdaa8 07:53:14 ---> 4b0fb76f6600 07:53:14 Step 7/24 : RUN apk add --update --no-cache make git 07:53:14 ---> Running in 3b9d8fb75535 07:53:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:53:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:53:15 OK: 166 MiB in 39 packages 07:53:16 Removing intermediate container 3b9d8fb75535 07:53:16 ---> cf92889e0824 07:53:16 Step 8/24 : COPY . . 07:53:17 ---> 29e26242cdef 07:53:17 Step 9/24 : RUN ${MAKE} 07:53:17 ---> Running in c8c9e3bfabd6 07:53:17 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:53:18 8529a6b9a6be: Pull complete 07:53:18 45590311c82a: Pull complete 07:53:18 69ca0ff8b7b3: Pull complete 07:53:23 209524e5b208: Pull complete 07:53:23 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:53:23 ---> 5bddaf1c2fca 07:53:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:25 ---> Running in bb153378f8cb 07:53:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:53:25 Removing intermediate container bb153378f8cb 07:53:25 ---> 98d4d714dff5 07:53:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:25 ---> Running in 0a6190c88b3e 07:53:28 Removing intermediate container c8c9e3bfabd6 07:53:28 ---> c57bd53f7b5b 07:53:28 Step 10/24 : FROM scratch 07:53:28 ---> 07:53:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:28 ---> Running in 229db327fa9d 07:53:28 Removing intermediate container 229db327fa9d 07:53:28 ---> 0e9b77eb71aa 07:53:28 Step 12/24 : ENV APP_PORT=49990 07:53:28 ---> Running in c9aa9e585f66 07:53:28 Removing intermediate container c9aa9e585f66 07:53:28 ---> d301d9b5885c 07:53:28 Step 13/24 : EXPOSE $APP_PORT 07:53:28 ---> Running in 87113dad20b1 07:53:28 Removing intermediate container 0a6190c88b3e 07:53:28 ---> 3856736d6613 07:53:28 Step 5/8 : RUN apk add --no-cache make git 07:53:28 ---> Running in ba876043e349 07:53:28 Removing intermediate container 87113dad20b1 07:53:28 ---> a741ea37ad8f 07:53:28 Step 14/24 : WORKDIR / 07:53:28 ---> Running in d1d3113356d4 07:53:28 Removing intermediate container d1d3113356d4 07:53:28 ---> a66899d1e8cb 07:53:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:53:29 ---> b6df1d1a7e3a 07:53:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:53:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:53:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:53:30 ---> f17dc43624b0 07:53:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:53:30 ---> efe69b93c676 07:53:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:53:30 ---> b9b1040ca405 07:53:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:53:30 ---> f4c57b98be37 07:53:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:53:30 OK: 142 MiB in 39 packages 07:53:31 ---> Running in 724c0e4167ee 07:53:31 Removing intermediate container 724c0e4167ee 07:53:31 ---> e81e00f51408 07:53:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:53:31 ---> Running in 1aaea105d2f3 07:53:31 Removing intermediate container 1aaea105d2f3 07:53:31 ---> 5d38488987bd 07:53:31 Step 22/24 : LABEL arch=amd64 07:53:31 ---> Running in 3bdda223858f 07:53:31 Removing intermediate container 3bdda223858f 07:53:31 ---> 452067eee5f4 07:53:31 Step 23/24 : LABEL git_sha=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 07:53:31 ---> Running in d853553dd268 07:53:31 Removing intermediate container d853553dd268 07:53:31 ---> cad581dc2690 07:53:31 Step 24/24 : LABEL version=0.0.0 07:53:31 ---> Running in d04378a41b86 07:53:32 Removing intermediate container d04378a41b86 07:53:32 ---> efdc18b485cb 07:53:32 [Warning] One or more build-args [ARCH] were not consumed 07:53:32 Successfully built efdc18b485cb 07:53:32 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 07:53:32 Removing intermediate container ba876043e349 07:53:32 ---> e51e569df56b 07:53:32 Step 6/8 : WORKDIR /device-sdk-go 07:53:32 ---> Running in c56567e1f39e 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 07:53:32 Removing intermediate container c56567e1f39e 07:53:32 ---> 4b0a76cea417 07:53:32 Step 7/8 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:53:33 ---> a05703eaa5fc 07:53:33 Step 8/8 : RUN go mod download 07:53:34 ---> Running in 464ce853070e 07:57:11 Removing intermediate container 464ce853070e 07:57:11 ---> 9469914de2f9 07:57:11 Successfully built 9469914de2f9 07:57:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:57:11 + docker inspect -f . ci-base-image-arm64 07:57:11 . [Pipeline] withDockerContainer 07:57:11 prd-ubuntu18.04-docker-arm64-4c-16g-13539 does not seem to be running inside a container 07:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:13 $ docker top c263f416c4f5154bfab0d85a1470de4f472dc3aec4dc19e666f5a80d92356a55 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:14 + go version 07:57:14 go version go1.15.2 linux/arm64 [Pipeline] } 07:57:14 $ docker stop --time=1 c263f416c4f5154bfab0d85a1470de4f472dc3aec4dc19e666f5a80d92356a55 07:57:16 $ docker rm -f c263f416c4f5154bfab0d85a1470de4f472dc3aec4dc19e666f5a80d92356a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:57:17 + docker inspect -f . ci-base-image-arm64 07:57:17 . [Pipeline] withDockerContainer 07:57:17 prd-ubuntu18.04-docker-arm64-4c-16g-13539 does not seem to be running inside a container 07:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:19 $ docker top da2012c1be5fe4468196c180a38051d68d043990f40765dc22185c78603da599 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:20 + make test 07:57:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:57:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:58:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:58:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:58:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:58:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 20.6% of statements 07:58:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 97.1% of statements 07:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 9.4% of statements 07:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.579s coverage: 42.5% of statements 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.777s coverage: 68.9% of statements 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:58:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.989s coverage: 68.9% of statements 07:58:53 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.7% of statements 07:58:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:58:53 GO111MODULE=on go vet ./... 07:59:26 gofmt -l . 07:59:26 [ "`gofmt -l .`" = "" ] 07:59:26 ./bin/test-attribution-txt.sh 07:59:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:59:26 $ docker stop --time=1 da2012c1be5fe4468196c180a38051d68d043990f40765dc22185c78603da599 07:59:28 $ docker rm -f da2012c1be5fe4468196c180a38051d68d043990f40765dc22185c78603da599 [Pipeline] // withDockerContainer [Pipeline] sh 07:59:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:59:29 Warning: overwriting stash ‘coverage-report’ 07:59:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:59:31 + ls -al . 07:59:31 total 244 07:59:31 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 07:59 . 07:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:52 .. 07:59:31 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:52 .dockerignore 07:59:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:52 .git 07:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:52 .github 07:59:31 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:52 .gitignore 07:59:31 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:52 Dockerfile.build 07:59:31 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:52 Jenkinsfile 07:59:31 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:52 LICENSE 07:59:31 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:52 Makefile 07:59:31 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:52 README.md 07:59:31 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:52 RELEASE-NOTES.txt 07:59:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 07:49 VERSION 07:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:52 bin 07:59:31 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 07:58 coverage.out 07:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:52 example 07:59:31 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 07:59 go.mod 07:59:31 -rw-r--r-- 1 jenkins jenkins 13715 Nov 26 07:59 go.sum 07:59:31 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:52 internal 07:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:52 openapi 07:59:31 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:52 pkg 07:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:52 snap 07:59:31 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:52 version.go [Pipeline] isUnix [Pipeline] sh 07:59:32 + 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=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc --label arch=arm64 --label version=0.0.0 . 07:59:32 Sending build context to Docker daemon 2.477MB 07:59:32 Step 1/24 : ARG BASE=golang:1.15-alpine 07:59:32 Step 2/24 : FROM ${BASE} AS builder 07:59:32 ---> 9469914de2f9 07:59:32 Step 3/24 : ARG MAKE='make build' 07:59:32 ---> Running in 4651e3a379d8 07:59:33 Removing intermediate container 4651e3a379d8 07:59:33 ---> 3c7f07f83e70 07:59:33 Step 4/24 : WORKDIR /device-sdk-go 07:59:33 ---> Running in 515dca3eec27 07:59:34 Removing intermediate container 515dca3eec27 07:59:34 ---> 72e9ca7f83d8 07:59:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:59:34 ---> Running in 09f84e3ef221 07:59:34 Removing intermediate container 09f84e3ef221 07:59:34 ---> 6ee98286dc04 07:59:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:59:34 ---> Running in eaea4226bc24 07:59:36 Removing intermediate container eaea4226bc24 07:59:36 ---> 206f0f8d5129 07:59:36 Step 7/24 : RUN apk add --update --no-cache make git 07:59:36 ---> Running in fea1412627ed 07:59:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:59:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:59:39 OK: 142 MiB in 39 packages 07:59:40 Removing intermediate container fea1412627ed 07:59:40 ---> d8d476551478 07:59:40 Step 8/24 : COPY . . 07:59:41 ---> d9fa74d13834 07:59:41 Step 9/24 : RUN ${MAKE} 07:59:41 ---> Running in 348b55a46a5d 07:59:42 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 08:00:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:00:09 Removing intermediate container 348b55a46a5d 08:00:09 ---> 7ee85dd7b895 08:00:09 Step 10/24 : FROM scratch 08:00:09 ---> 08:00:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:00:09 ---> Running in ba58b9ea7c54 08:00:09 Removing intermediate container ba58b9ea7c54 08:00:09 ---> 4f3f7d48a0eb 08:00:09 Step 12/24 : ENV APP_PORT=49990 08:00:10 ---> Running in f396ffff1d05 08:00:10 Removing intermediate container f396ffff1d05 08:00:10 ---> 3ec949057b2d 08:00:10 Step 13/24 : EXPOSE $APP_PORT 08:00:10 ---> Running in d2159a343226 08:00:10 Removing intermediate container d2159a343226 08:00:10 ---> 776eaabf16f9 08:00:10 Step 14/24 : WORKDIR / 08:00:10 ---> Running in 17d7cad62b9a 08:00:11 Removing intermediate container 17d7cad62b9a 08:00:11 ---> e0193d94953d 08:00:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:00:12 ---> 431fbe593907 08:00:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:00:13 ---> 557d92a96b50 08:00:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:00:13 ---> 9cb3c161641f 08:00:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:00:14 ---> f2831690203b 08:00:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:00:15 ---> 48b21c83357f 08:00:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:00:15 ---> Running in 1367597b9056 08:00:15 Removing intermediate container 1367597b9056 08:00:15 ---> a3b9f92d4dc8 08:00:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:00:15 ---> Running in 22be1cf54e8f 08:00:16 Removing intermediate container 22be1cf54e8f 08:00:16 ---> 1d0367c12cb2 08:00:16 Step 22/24 : LABEL arch=arm64 08:00:16 ---> Running in ef2dfef2779b 08:00:16 Removing intermediate container ef2dfef2779b 08:00:16 ---> f401620e3ce8 08:00:16 Step 23/24 : LABEL git_sha=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc 08:00:16 ---> Running in c7935354c8c4 08:00:17 Removing intermediate container c7935354c8c4 08:00:17 ---> f9d34e724eaf 08:00:17 Step 24/24 : LABEL version=0.0.0 08:00:17 ---> Running in 36cb4b593974 08:00:18 Removing intermediate container 36cb4b593974 08:00:18 ---> be95010c24a4 08:00:18 [Warning] One or more build-args [ARCH] were not consumed 08:00:18 Successfully built be95010c24a4 08:00:18 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 08:00:21 provisioning config files... 08:00:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config4235638694767324410tmp [Pipeline] { [Pipeline] sh 08:00:21 + set +x 08:00:21 + curl -s https://codecov.io/bash 08:00:21 + bash -s -- 08:00:21 08:00:21 _____ _ 08:00:21 / ____| | | 08:00:21 | | ___ __| | ___ ___ _____ __ 08:00:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:00:21 | |___| (_) | (_| | __/ (_| (_) \ V / 08:00:21 \_____\___/ \__,_|\___|\___\___/ \_/ 08:00:21 Bash-20201124-79cbc08 08:00:21 08:00:21 08:00:21 ==> Jenkins CI detected. 08:00:21 project root: . 08:00:21 --> token set from env 08:00:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:00:21 ==> Running gcov in . (disable via -X gcov) 08:00:21 ==> Python coveragepy not found 08:00:21 ==> Searching for coverage reports in: 08:00:21 + . 08:00:21 -> Found 1 reports 08:00:21 ==> Detecting git/mercurial file structure 08:00:21 ==> Reading reports 08:00:21 + ./coverage.out bytes=127610 08:00:21 ==> Appending adjustments 08:00:21 https://docs.codecov.io/docs/fixing-reports 08:00:22 + Found adjustments 08:00:22 ==> Gzipping contents 08:00:22 24K /tmp/codecov.56GWdZ.gz 08:00:22 ==> Uploading reports 08:00:22 url: https://codecov.io 08:00:22 query: branch=PR-614&commit=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 08:00:22 -> Pinging Codecov 08:00:22 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-614&commit=48f2a81bf6fb53ed2515b7da6151e3ec59328cdc&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 08:00:22 -> Uploading to 08:00:22 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/48f2a81bf6fb53ed2515b7da6151e3ec59328cdc/8fead9e4-7351-4f57-9a74-ef6b9b9d007a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T080022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=415ca94c411696242fb2aeba7faca8f18ec577c6fa46d29b6d6de1c1f02c49d5 08:00:22 % Total % Received % Xferd Average Speed Time Time Time Current 08:00:22 Dload Upload Total Spent Left Speed 08:00:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20895 0 0 100 20895 0 43945 --:--:-- --:--:-- --:--:-- 43989 08:00:23 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48f2a81bf6fb53ed2515b7da6151e3ec59328cdc [Pipeline] } 08:00:23 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 08:00:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:00:34 ---> package-listing.sh 08:00:34 ++ facter osfamily 08:00:34 ++ tr '[:upper:]' '[:lower:]' 08:00:34 + OS_FAMILY=redhat 08:00:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 08:00:34 + START_PACKAGES=/tmp/packages_start.txt 08:00:34 + END_PACKAGES=/tmp/packages_end.txt 08:00:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:00:34 + PACKAGES=/tmp/packages_start.txt 08:00:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 08:00:34 + PACKAGES=/tmp/packages_end.txt 08:00:34 + case "${OS_FAMILY}" in 08:00:34 + rpm -qa 08:00:34 + sort 08:00:40 + '[' -f /tmp/packages_start.txt ']' 08:00:40 + '[' -f /tmp/packages_end.txt ']' 08:00:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:00:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 08:00:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 08:00:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 08:00:40 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:00:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:00:40 08:00:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:00:41 alpine: Pulling from edgex-lftools-log-publisher 08:00:41 df20fa9351a1: Pulling fs layer 08:00:41 36b3adc4ff6f: Pulling fs layer 08:00:41 8ad3a11d3b57: Pulling fs layer 08:00:41 46f8f816bc3b: Pulling fs layer 08:00:41 93b61091891f: Pulling fs layer 08:00:41 93b9cdb0e59b: Pulling fs layer 08:00:41 5e14af77c1be: Pulling fs layer 08:00:41 01666e4c0597: Pulling fs layer 08:00:41 aa168da1d23b: Pulling fs layer 08:00:41 93b9cdb0e59b: Waiting 08:00:41 5e14af77c1be: Waiting 08:00:41 46f8f816bc3b: Waiting 08:00:41 93b61091891f: Waiting 08:00:41 01666e4c0597: Waiting 08:00:41 aa168da1d23b: Waiting 08:00:41 36b3adc4ff6f: Verifying Checksum 08:00:41 46f8f816bc3b: Verifying Checksum 08:00:41 46f8f816bc3b: Download complete 08:00:41 df20fa9351a1: Verifying Checksum 08:00:41 df20fa9351a1: Download complete 08:00:41 93b9cdb0e59b: Verifying Checksum 08:00:41 93b9cdb0e59b: Download complete 08:00:41 5e14af77c1be: Verifying Checksum 08:00:41 5e14af77c1be: Download complete 08:00:41 93b61091891f: Download complete 08:00:41 01666e4c0597: Verifying Checksum 08:00:41 01666e4c0597: Download complete 08:00:41 8ad3a11d3b57: Verifying Checksum 08:00:41 8ad3a11d3b57: Download complete 08:00:41 df20fa9351a1: Pull complete 08:00:41 36b3adc4ff6f: Pull complete 08:00:42 8ad3a11d3b57: Pull complete 08:00:42 46f8f816bc3b: Pull complete 08:00:43 aa168da1d23b: Verifying Checksum 08:00:43 aa168da1d23b: Download complete 08:00:43 93b61091891f: Pull complete 08:00:44 93b9cdb0e59b: Pull complete 08:00:44 5e14af77c1be: Pull complete 08:00:44 01666e4c0597: Pull complete 08:00:51 aa168da1d23b: Pull complete 08:00:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:00:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:00:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:00:51 prd-centos7-docker-4c-2g-13532 does not seem to be running inside a container 08:00:51 $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:00:54 $ docker top 45feace90528b07b4eff6620bdb99f7bd7db65f6fcf53354ce36bcaa26714c8f -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:55 + touch /tmp/pre-build-complete [Pipeline] sh 08:00:55 + mkdir -p /var/log/sa [Pipeline] sh 08:00:55 + ls /var/log/sa-host 08:00:55 + sadf -c /var/log/sa-host/sa23 08:00:55 file_magic: OK 08:00:55 HZ: Using current value: 100 08:00:55 file_header: OK 08:00:55 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 08:00:55 Statistics: 08:00:55 Hnuu...uuuununununu... 08:00:55 File successfully converted to sysstat format version 12.2.1 08:00:55 + sadf -c /var/log/sa-host/sa26 08:00:55 file_magic: OK 08:00:55 HZ: Using current value: 100 08:00:55 file_header: OK 08:00:55 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 08:00:55 Statistics: 08:00:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:00:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:00:56 provisioning config files... 08:00:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config8241736778413636561tmp [Pipeline] { [Pipeline] echo 08:00:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:00:56 ---> create-netrc.sh [Pipeline] } 08:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:00:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:00:56 ---> python-tools-install.sh [Pipeline] echo 08:00:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:00:57 ---> sudo-logs.sh 08:00:57 Archiving 'sudo' log.. [Pipeline] echo 08:00:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:00:57 ---> job-cost.sh 08:00:57 lf-activate-venv: SKIPPING 08:00:57 INFO: No Stack... 08:00:58 INFO: Retrieving Pricing Info for: v1-standard-2 08:00:59 INFO: Archiving Costs [Pipeline] echo 08:00:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:00:59 ---> logs-deploy.sh 08:00:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/22 08:00:59 INFO: archiving workspace using pattern(s): 08:01:00 Archives upload complete. 08:01:01 INFO: archiving logs to Nexus 08:01:02 ---> uname -a: 08:01:02 Linux prd-centos7-docker-4c-2g-13532.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:01:02 08:01:02 08:01:02 ---> lscpu: 08:01:02 Architecture: x86_64 08:01:02 CPU op-mode(s): 32-bit, 64-bit 08:01:02 Byte Order: Little Endian 08:01:02 Address sizes: 40 bits physical, 48 bits virtual 08:01:02 CPU(s): 4 08:01:02 On-line CPU(s) list: 0-3 08:01:02 Thread(s) per core: 1 08:01:02 Core(s) per socket: 1 08:01:02 Socket(s): 4 08:01:02 NUMA node(s): 1 08:01:02 Vendor ID: GenuineIntel 08:01:02 CPU family: 6 08:01:02 Model: 44 08:01:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:01:02 Stepping: 1 08:01:02 CPU MHz: 2933.438 08:01:02 BogoMIPS: 5866.87 08:01:02 Virtualization: VT-x 08:01:02 Hypervisor vendor: KVM 08:01:02 Virtualization type: full 08:01:02 L1d cache: 128 KiB 08:01:02 L1i cache: 128 KiB 08:01:02 L2 cache: 16 MiB 08:01:02 L3 cache: 64 MiB 08:01:02 NUMA node0 CPU(s): 0-3 08:01:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:01:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:01:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:01:02 Vulnerability Meltdown: Mitigation; PTI 08:01:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:01:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:01:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:01:02 Vulnerability Srbds: Not affected 08:01:02 Vulnerability Tsx async abort: Not affected 08:01:02 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 08:01:02 08:01:02 08:01:02 ---> nproc: 08:01:02 4 08:01:02 08:01:02 08:01:02 ---> df -h: 08:01:02 Filesystem Size Used Available Use% Mounted on 08:01:02 overlay 50.0G 7.3G 42.7G 15% / 08:01:02 tmpfs 64.0M 0 64.0M 0% /dev 08:01:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:01:02 shm 64.0M 0 64.0M 0% /dev/shm 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:01:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:01:02 08:01:02 08:01:02 ---> free -m: 08:01:02 total used free shared buff/cache available 08:01:02 Mem: 1837 700 111 0 1025 1032 08:01:02 Swap: 1023 1 1022 08:01:02 08:01:02 08:01:02 ---> ip addr: 08:01:02 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:01:02 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:01:02 inet 127.0.0.1/8 scope host lo 08:01:02 valid_lft forever preferred_lft forever 08:01:02 inet6 ::1/128 scope host 08:01:02 valid_lft forever preferred_lft forever 08:01:02 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:01:02 link/ether fa:16:3e:bd:cf:f9 brd ff:ff:ff:ff:ff:ff 08:01:02 inet 10.30.122.75/23 brd 10.30.123.255 scope global dynamic eth0 08:01:02 valid_lft 85640sec preferred_lft 85640sec 08:01:02 inet6 fe80::f816:3eff:febd:cff9/64 scope link 08:01:02 valid_lft forever preferred_lft forever 08:01:02 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:01:02 link/ether 02:42:ba:f4:51:5f brd ff:ff:ff:ff:ff:ff 08:01:02 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:01:02 valid_lft forever preferred_lft forever 08:01:02 inet6 fe80::42:baff:fef4:515f/64 scope link 08:01:02 valid_lft forever preferred_lft forever 08:01:02 08:01:02 08:01:02 ---> sar -b -r -n DEV: 08:01:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 08:01:02 08:01:02 07:48:09 LINUX RESTART (4 CPU) 08:01:02 08:01:02 07:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:01:02 07:50:01 32.51 10.87 21.64 0.00 4368.90 2971.33 0.00 08:01:02 07:51:01 1.80 0.00 1.80 0.00 0.00 37.39 0.00 08:01:02 07:52:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 08:01:02 07:53:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 08:01:02 07:54:01 0.20 0.00 0.20 0.00 0.00 2.76 0.00 08:01:02 07:55:01 0.33 0.00 0.33 0.00 0.00 4.36 0.00 08:01:02 07:56:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 08:01:02 07:57:01 0.22 0.00 0.22 0.00 0.00 2.34 0.00 08:01:02 07:58:01 0.25 0.00 0.25 0.00 0.00 3.88 0.00 08:01:02 07:59:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 08:01:02 08:00:01 0.35 0.00 0.35 0.00 0.00 3.98 0.00 08:01:02 Average: 3.34 0.99 2.35 0.00 397.97 276.76 0.00 08:01:02 08:01:02 07:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:01:02 07:50:01 159472 0 601476 31.97 2620 1117976 1104940 37.71 446428 1076832 16 08:01:02 07:51:01 162420 0 598520 31.81 2620 1117984 1086804 37.09 447568 1073100 12 08:01:02 07:52:01 164024 0 596912 31.72 2620 1117988 1072412 36.60 449936 1069148 8 08:01:02 07:53:01 162692 0 598244 31.80 2620 1117988 1072532 36.60 457408 1063652 8 08:01:02 07:54:01 162716 0 598212 31.79 2620 1117996 1072508 36.60 457892 1063160 8 08:01:02 07:55:01 162760 0 598164 31.79 2620 1118000 1072532 36.60 458044 1063156 12 08:01:02 07:56:01 162520 0 598400 31.80 2620 1118004 1072544 36.60 458080 1063156 12 08:01:02 07:57:01 163456 0 597460 31.75 2620 1118008 1072412 36.60 457272 1063156 12 08:01:02 07:58:01 163696 0 597212 31.74 2620 1118016 1072412 36.60 457404 1063156 8 08:01:02 07:59:01 163056 0 597848 31.77 2620 1118020 1072472 36.60 457716 1063156 8 08:01:02 08:00:01 163540 0 597364 31.75 2620 1118020 1072412 36.60 457284 1063156 12 08:01:02 Average: 162759 0 598165 31.79 2620 1118000 1076725 36.75 455003 1065893 11 08:01:02 08:01:02 07:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:01:02 07:50:01 eth0 88.43 71.15 361.16 40.13 0.00 0.00 0.00 0.00 08:01:02 07:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:50:01 docker0 10.42 7.84 1.35 20.21 0.00 0.00 0.00 0.00 08:01:02 07:51:01 eth0 0.72 0.38 0.29 0.20 0.00 0.00 0.00 0.00 08:01:02 07:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:52:01 eth0 0.80 0.07 0.07 0.01 0.00 0.00 0.00 0.00 08:01:02 07:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:53:01 eth0 1.20 0.40 0.49 0.21 0.00 0.00 0.00 0.00 08:01:02 07:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:54:01 eth0 0.60 0.20 0.17 0.07 0.00 0.00 0.00 0.00 08:01:02 07:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:55:01 eth0 0.50 0.27 0.27 0.20 0.00 0.00 0.00 0.00 08:01:02 07:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:56:01 eth0 1.07 0.38 0.32 0.21 0.00 0.00 0.00 0.00 08:01:02 07:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:57:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:01:02 07:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:58:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:01:02 07:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:59:01 eth0 0.28 0.18 0.14 0.07 0.00 0.00 0.00 0.00 08:01:02 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 08:00:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 08:01:02 08:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 Average: eth0 8.55 6.68 33.06 3.74 0.00 0.00 0.00 0.00 08:01:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:01:02 Average: docker0 0.95 0.71 0.12 1.84 0.00 0.00 0.00 0.00 08:01:02 08:01:02 08:01:02 ---> sar -P ALL: 08:01:02 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 08:01:02 08:01:02 07:48:09 LINUX RESTART (4 CPU) 08:01:02 08:01:02 07:49:01 CPU %user %nice %system %iowait %steal %idle 08:01:02 07:50:01 all 2.63 0.00 1.70 0.61 0.04 95.02 08:01:02 07:50:01 0 2.26 0.00 1.56 0.10 0.03 96.05 08:01:02 07:50:01 1 2.56 0.00 1.66 0.49 0.05 95.24 08:01:02 07:50:01 2 2.86 0.00 1.47 0.42 0.03 95.21 08:01:02 07:50:01 3 2.83 0.00 2.09 1.44 0.05 93.59 08:01:02 07:51:01 all 0.15 0.00 0.05 0.00 0.00 99.79 08:01:02 07:51:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:01:02 07:51:01 1 0.07 0.00 0.07 0.00 0.02 99.85 08:01:02 07:51:01 2 0.47 0.00 0.05 0.00 0.00 99.48 08:01:02 07:51:01 3 0.05 0.00 0.05 0.00 0.00 99.90 08:01:02 07:52:01 all 0.21 0.00 0.24 0.00 0.01 99.55 08:01:02 07:52:01 0 0.08 0.00 0.23 0.00 0.02 99.67 08:01:02 07:52:01 1 0.08 0.00 0.20 0.00 0.00 99.72 08:01:02 07:52:01 2 0.53 0.00 0.18 0.00 0.02 99.27 08:01:02 07:52:01 3 0.13 0.00 0.33 0.00 0.00 99.53 08:01:02 07:53:01 all 0.17 0.00 0.03 0.00 0.00 99.80 08:01:02 07:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:53:01 1 0.07 0.00 0.07 0.00 0.00 99.87 08:01:02 07:53:01 2 0.52 0.00 0.02 0.00 0.00 99.47 08:01:02 07:53:01 3 0.08 0.00 0.02 0.00 0.00 99.90 08:01:02 07:54:01 all 0.16 0.00 0.05 0.00 0.00 99.78 08:01:02 07:54:01 0 0.03 0.00 0.02 0.00 0.00 99.95 08:01:02 07:54:01 1 0.07 0.00 0.17 0.00 0.00 99.77 08:01:02 07:54:01 2 0.52 0.00 0.02 0.00 0.00 99.47 08:01:02 07:54:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:01:02 07:55:01 all 0.15 0.00 0.02 0.00 0.00 99.84 08:01:02 07:55:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:55:01 1 0.07 0.00 0.03 0.00 0.00 99.90 08:01:02 07:55:01 2 0.50 0.00 0.00 0.00 0.00 99.50 08:01:02 07:55:01 3 0.00 0.00 0.02 0.00 0.00 99.98 08:01:02 07:56:01 all 0.16 0.00 0.02 0.00 0.00 99.83 08:01:02 07:56:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:56:01 1 0.52 0.00 0.02 0.00 0.00 99.47 08:01:02 07:56:01 2 0.07 0.00 0.02 0.00 0.00 99.92 08:01:02 07:56:01 3 0.03 0.00 0.02 0.00 0.00 99.95 08:01:02 07:57:01 all 0.14 0.00 0.02 0.00 0.00 99.84 08:01:02 07:57:01 0 0.00 0.00 0.00 0.00 0.00 100.00 08:01:02 07:57:01 1 0.53 0.00 0.03 0.00 0.00 99.44 08:01:02 07:57:01 2 0.00 0.00 0.02 0.00 0.02 99.97 08:01:02 07:57:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:58:01 all 0.16 0.00 0.02 0.00 0.00 99.82 08:01:02 07:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:58:01 1 0.53 0.00 0.02 0.00 0.00 99.45 08:01:02 07:58:01 2 0.05 0.00 0.03 0.00 0.00 99.92 08:01:02 07:58:01 3 0.03 0.00 0.02 0.00 0.02 99.93 08:01:02 07:59:01 all 0.15 0.00 0.02 0.00 0.00 99.83 08:01:02 07:59:01 0 0.02 0.00 0.03 0.00 0.00 99.95 08:01:02 07:59:01 1 0.53 0.00 0.00 0.00 0.02 99.45 08:01:02 07:59:01 2 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 07:59:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:01:02 08:00:01 all 0.15 0.00 0.02 0.00 0.00 99.83 08:01:02 08:00:01 0 0.03 0.00 0.00 0.00 0.00 99.97 08:01:02 08:00:01 1 0.52 0.00 0.03 0.00 0.00 99.45 08:01:02 08:00:01 2 0.02 0.00 0.02 0.00 0.00 99.97 08:01:02 08:00:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:01:02 08:01:02 Average: CPU %user %nice %system %iowait %steal %idle 08:01:02 Average: all 0.38 0.00 0.20 0.06 0.01 99.36 08:01:02 Average: 0 0.23 0.00 0.18 0.01 0.00 99.58 08:01:02 Average: 1 0.50 0.00 0.21 0.04 0.01 99.24 08:01:02 Average: 2 0.50 0.00 0.17 0.04 0.01 99.29 08:01:02 Average: 3 0.30 0.00 0.24 0.13 0.01 99.33 08:01:02 08:01:02 08:01:02