Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2074f416c73da04ca5c198ceaab5b568740d594e+34e320ac99befae92f8b4aae2047dc1351ba020b (5fc395d1d4f9a6f5c31d667d3208ef01469645ae) 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 Running on prd-centos7-docker-4c-2g-13046 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 2074f416c73da04ca5c198ceaab5b568740d594e Merge succeeded, producing 616d4922f68f1ef32286bb0e689c851a3f0f63d6 Checking out Revision 616d4922f68f1ef32286bb0e689c851a3f0f63d6 (PR-614) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/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 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 616d4922f68f1ef32286bb0e689c851a3f0f63d6 # timeout=10 Commit message: "Merge commit '34e320ac99befae92f8b4aae2047dc1351ba020b' into HEAD" > git rev-list --no-walk 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:13 ========================================================= 02:43:13 EdgeX Global Pipelines Version Info 02:43:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:14 ------------------- 02:43:14 stable info: 02:43:14 ------------------- 02:43:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:14 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 02:43:14 Message: update stable to v1.0.167 02:43:15 ------------------- 02:43:15 experimental info: 02:43:15 ------------------- 02:43:15 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:15 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 02:43:15 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 02:43:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 02:43:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 02:43:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 616d4922f68f1ef32286bb0e689c851a3f0f63d6 [Pipeline] echo 02:43:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 616d492 [Pipeline] echo 02:43:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:19 provisioning config files... 02:43:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config6245535977383859980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:19 ---> docker-login.sh 02:43:19 nexus3.edgexfoundry.org:10001 02:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:20 Configure a credential helper to remove this warning. See 02:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:20 02:43:20 Login Succeeded 02:43:20 nexus3.edgexfoundry.org:10002 02:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:20 Configure a credential helper to remove this warning. See 02:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:20 02:43:20 Login Succeeded 02:43:20 nexus3.edgexfoundry.org:10003 02:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:20 Configure a credential helper to remove this warning. See 02:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:20 02:43:20 Login Succeeded 02:43:20 nexus3.edgexfoundry.org:10004 02:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:20 Configure a credential helper to remove this warning. See 02:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:20 02:43:20 Login Succeeded 02:43:20 docker.io 02:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:21 Configure a credential helper to remove this warning. See 02:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:21 02:43:21 Login Succeeded 02:43:21 ---> docker-login.sh ends [Pipeline] } 02:43:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:22 + git log --format=format:%s -1 616d4922f68f1ef32286bb0e689c851a3f0f63d6 [Pipeline] echo 02:43:22 GIT_COMMIT: 616d4922f68f1ef32286bb0e689c851a3f0f63d6, Commit Message: Merge commit '34e320ac99befae92f8b4aae2047dc1351ba020b' into HEAD [Pipeline] echo 02:43:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:22 02:43:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:23 latest: Pulling from edgex-devops/git-semver 02:43:23 31603596830f: Pulling fs layer 02:43:23 2a8b12db71e7: Pulling fs layer 02:43:23 6ca5941a6612: Pulling fs layer 02:43:23 ecc8261a40a4: Pulling fs layer 02:43:23 ecc8261a40a4: Waiting 02:43:23 2a8b12db71e7: Verifying Checksum 02:43:23 2a8b12db71e7: Download complete 02:43:23 31603596830f: Verifying Checksum 02:43:23 31603596830f: Download complete 02:43:23 6ca5941a6612: Verifying Checksum 02:43:23 ecc8261a40a4: Verifying Checksum 02:43:23 ecc8261a40a4: Download complete 02:43:23 31603596830f: Pull complete 02:43:23 2a8b12db71e7: Pull complete 02:43:24 6ca5941a6612: Pull complete 02:43:24 ecc8261a40a4: Pull complete 02:43:24 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:24 prd-centos7-docker-4c-2g-13046 does not seem to be running inside a container 02:43:24 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:27 $ docker top c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:27 [ssh-agent] Looking for ssh-agent implementation... 02:43:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:27 $ docker exec c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f ssh-agent 02:43:27 SSH_AUTH_SOCK=/tmp/ssh-eu1KTvBZYMt1/agent.13 02:43:27 SSH_AGENT_PID=18 02:43:27 Running ssh-add (command line suppressed) 02:43:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5400085969813237475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5400085969813237475.key) 02:43:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:28 + git tag --points-at HEAD [Pipeline] } 02:43:28 $ docker exec --env ******** --env ******** c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f ssh-agent -k 02:43:28 unset SSH_AUTH_SOCK; 02:43:28 unset SSH_AGENT_PID; 02:43:28 echo Agent pid 18 killed; 02:43:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:28 [ssh-agent] Looking for ssh-agent implementation... 02:43:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:28 $ docker exec c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f ssh-agent 02:43:29 SSH_AUTH_SOCK=/tmp/ssh-PNDfkQL8egG9/agent.47 02:43:29 SSH_AGENT_PID=53 02:43:29 Running ssh-add (command line suppressed) 02:43:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6373045472161200849.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6373045472161200849.key) 02:43:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:29 + git semver init 02:43:29 # -> Open(): unable to determine branch for HEAD 02:43:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 02:43:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:43:29 # $SEMVER_REMOTE_NAME = origin 02:43:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:29 # $SEMVER_USER_NAME = edgex-jenkins 02:43:29 # $SEMVER_BRANCH = PR-614 02:43:29 # $SEMVER_TEMP = /tmp/semver-760579131 02:43:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:30 # '/tmp/semver-760579131' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 02:43:30 # -> Force: false 02:43:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 02:43:30 $ docker exec --env ******** --env ******** c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f ssh-agent -k 02:43:30 unset SSH_AUTH_SOCK; 02:43:30 unset SSH_AGENT_PID; 02:43:30 echo Agent pid 53 killed; 02:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:31 + git semver [Pipeline] } 02:43:31 $ docker stop --time=1 c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f 02:43:32 $ docker rm -f c68eaeb25a1cc24a9e272f3cc7828a50ccdb453b0affec2d42bd787223a6fa6f [Pipeline] // withDockerContainer [Pipeline] sh 02:43:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:33 Stashed 1 file(s) [Pipeline] echo 02:43:33 [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 02:43:49 Still waiting to schedule task 02:43:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:49 Still waiting to schedule task 02:43:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:01 Running on prd-centos7-docker-4c-2g-13049 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:45:01 Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout 02:45:04 using credential edgex-jenkins-ssh 02:45:04 Cloning the remote Git repository 02:45:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:04 > git init /w/workspace/device-sdk-go/19 # timeout=10 02:45:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:04 > git --version # timeout=10 02:45:04 > git --version # 'git version 2.16.5' 02:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:05 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 2074f416c73da04ca5c198ceaab5b568740d594e 02:45:06 Merge succeeded, producing 191996c6c1572eab7457b0cac7f38d4313010383 02:45:06 Checking out Revision 191996c6c1572eab7457b0cac7f38d4313010383 (PR-614) 02:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:05 > 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 02:45:05 > git config core.sparsecheckout # timeout=10 02:45:05 > git checkout -f 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 02:45:06 > git remote # timeout=10 02:45:06 > git config --get remote.origin.url # timeout=10 02:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:06 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 02:45:06 > git rev-parse HEAD^{commit} # timeout=10 02:45:06 > git config core.sparsecheckout # timeout=10 02:45:06 > git checkout -f 191996c6c1572eab7457b0cac7f38d4313010383 # timeout=10 02:45:09 Commit message: "Merge commit '34e320ac99befae92f8b4aae2047dc1351ba020b' into HEAD" 02:45:09 > git rev-list --no-walk 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:11 + true 02:45:11 + sudo service docker restart 02:45:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:13 provisioning config files... 02:45:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config7506911611827990731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:13 ---> docker-login.sh 02:45:13 nexus3.edgexfoundry.org:10001 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 nexus3.edgexfoundry.org:10002 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 nexus3.edgexfoundry.org:10003 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 nexus3.edgexfoundry.org:10004 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:14 Configure a credential helper to remove this warning. See 02:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:14 02:45:14 Login Succeeded 02:45:14 docker.io 02:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:15 Configure a credential helper to remove this warning. See 02:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:15 02:45:15 Login Succeeded 02:45:15 ---> docker-login.sh ends [Pipeline] } 02:45:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:15 ========================================================= 02:45:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:15 + 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 . 02:45:16 Sending build context to Docker daemon 2.357MB 02:45:16 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:16 Step 2/8 : FROM ${BASE} 02:45:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:16 df20fa9351a1: Pulling fs layer 02:45:16 ed8968b2872e: Pulling fs layer 02:45:16 a92cc7c5fd73: Pulling fs layer 02:45:16 e871e8e8d7a9: Pulling fs layer 02:45:16 e73272ec9a57: Pulling fs layer 02:45:16 1e910a182e73: Pulling fs layer 02:45:16 4e634b169226: Pulling fs layer 02:45:16 e871e8e8d7a9: Waiting 02:45:16 e73272ec9a57: Waiting 02:45:16 4e634b169226: Waiting 02:45:16 1e910a182e73: Waiting 02:45:16 a92cc7c5fd73: Verifying Checksum 02:45:16 a92cc7c5fd73: Download complete 02:45:16 ed8968b2872e: Verifying Checksum 02:45:16 ed8968b2872e: Download complete 02:45:16 e73272ec9a57: Verifying Checksum 02:45:16 e73272ec9a57: Download complete 02:45:16 df20fa9351a1: Verifying Checksum 02:45:16 df20fa9351a1: Download complete 02:45:16 1e910a182e73: Verifying Checksum 02:45:16 1e910a182e73: Download complete 02:45:16 df20fa9351a1: Pull complete 02:45:16 ed8968b2872e: Pull complete 02:45:16 a92cc7c5fd73: Pull complete 02:45:18 4e634b169226: Verifying Checksum 02:45:18 4e634b169226: Download complete 02:45:19 e871e8e8d7a9: Verifying Checksum 02:45:19 e871e8e8d7a9: Download complete 02:45:24 e871e8e8d7a9: Pull complete 02:45:24 e73272ec9a57: Pull complete 02:45:24 1e910a182e73: Pull complete 02:45:34 4e634b169226: Pull complete 02:45:34 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:34 ---> f7629b54cfaa 02:45:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:34 ---> Running in b5a4201ce205 02:45:34 Removing intermediate container b5a4201ce205 02:45:34 ---> 0e01e4bc1eae 02:45:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:34 ---> Running in fdfcb5dd5372 02:45:35 Removing intermediate container fdfcb5dd5372 02:45:35 ---> 1e00f39a472d 02:45:35 Step 5/8 : RUN apk add --no-cache make git 02:45:35 ---> Running in cce55c46b659 02:45:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:36 OK: 166 MiB in 39 packages 02:45:37 Removing intermediate container cce55c46b659 02:45:37 ---> 67f14daba392 02:45:37 Step 6/8 : WORKDIR /device-sdk-go 02:45:37 ---> Running in 63033d533ebd 02:45:37 Removing intermediate container 63033d533ebd 02:45:37 ---> 0266cd459285 02:45:37 Step 7/8 : COPY . . 02:45:38 ---> dca689589dbd 02:45:38 Step 8/8 : RUN go mod download 02:45:38 ---> Running in d732198ed7ff 02:46:00 Removing intermediate container d732198ed7ff 02:46:00 ---> 6df27dc9f8bd 02:46:00 Successfully built 6df27dc9f8bd 02:46:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:01 + docker inspect -f . ci-base-image-x86_64 02:46:01 . [Pipeline] withDockerContainer 02:46:01 prd-centos7-docker-4c-2g-13049 does not seem to be running inside a container 02:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-x86_64 cat 02:46:02 $ docker top 86e72449e47434ec177ee79d6b04c181af6663c9c01132a9c47852f0199a0aae -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:02 + go version 02:46:02 go version go1.15.2 linux/amd64 [Pipeline] } 02:46:02 $ docker stop --time=1 86e72449e47434ec177ee79d6b04c181af6663c9c01132a9c47852f0199a0aae 02:46:04 $ docker rm -f 86e72449e47434ec177ee79d6b04c181af6663c9c01132a9c47852f0199a0aae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:04 + docker inspect -f . ci-base-image-x86_64 02:46:04 . [Pipeline] withDockerContainer 02:46:05 prd-centos7-docker-4c-2g-13049 does not seem to be running inside a container 02:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-x86_64 cat 02:46:05 $ docker top a65776f7585e99dbf1f8243a12c115a9868a219351aeac4db929415fc54b2ba1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:06 + make test 02:46:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:14 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 20.6% of statements 02:46:29 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.445s coverage: 97.1% of statements 02:47:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.090s coverage: 9.4% of statements 02:47:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.062s coverage: 21.9% of statements 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.233s coverage: 42.5% of statements 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 68.9% of statements 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.536s coverage: 68.9% of statements 02:47:01 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements 02:47:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:01 GO111MODULE=on go vet ./... 02:47:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13051 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:47:04 Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout 02:47:08 gofmt -l . 02:47:08 [ "`gofmt -l .`" = "" ] 02:47:08 ./bin/test-attribution-txt.sh 02:47:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:09 $ docker stop --time=1 a65776f7585e99dbf1f8243a12c115a9868a219351aeac4db929415fc54b2ba1 02:47:09 using credential edgex-jenkins-ssh 02:47:09 Cloning the remote Git repository 02:47:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:09 > git init /w/workspace/device-sdk-go/19 # timeout=10 02:47:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:10 > git --version # timeout=10 02:47:10 > git --version # 'git version 2.17.1' 02:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:11 $ docker rm -f a65776f7585e99dbf1f8243a12c115a9868a219351aeac4db929415fc54b2ba1 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:11 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 2074f416c73da04ca5c198ceaab5b568740d594e 02:47:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:11 > 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 02:47:12 > git config core.sparsecheckout # timeout=10 02:47:12 > git checkout -f 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 02:47:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 02:47:12 Merge succeeded, producing 3db918caf33ee23a87e730e82ccf3671ef7d523d 02:47:12 Checking out Revision 3db918caf33ee23a87e730e82ccf3671ef7d523d (PR-614) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:47:12 > git remote # timeout=10 02:47:12 > git config --get remote.origin.url # timeout=10 02:47:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:12 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 02:47:12 > git rev-parse HEAD^{commit} # timeout=10 02:47:12 > git config core.sparsecheckout # timeout=10 02:47:12 > git checkout -f 3db918caf33ee23a87e730e82ccf3671ef7d523d # timeout=10 [Pipeline] sh 02:47:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:15 + ls -al . 02:47:15 total 208 02:47:15 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 21 02:47 . 02:47:15 drwxrwxr-x. 4 jenkins jenkins 30 Nov 21 02:45 .. 02:47:15 drwxrwxr-x. 2 jenkins jenkins 64 Nov 21 02:45 bin 02:47:15 -rw-r--r--. 1 jenkins jenkins 127610 Nov 21 02:46 coverage.out 02:47:15 -rw-rw-r--. 1 jenkins jenkins 936 Nov 21 02:45 Dockerfile.build 02:47:15 -rw-rw-r--. 1 jenkins jenkins 140 Nov 21 02:45 .dockerignore 02:47:15 drwxrwxr-x. 4 jenkins jenkins 48 Nov 21 02:45 example 02:47:15 drwxrwxr-x. 8 jenkins jenkins 179 Nov 21 02:45 .git 02:47:15 drwxrwxr-x. 2 jenkins jenkins 60 Nov 21 02:45 .github 02:47:15 -rw-rw-r--. 1 jenkins jenkins 138 Nov 21 02:45 .gitignore 02:47:15 -rw-r--r--. 1 jenkins jenkins 518 Nov 21 02:47 go.mod 02:47:15 -rw-r--r--. 1 jenkins jenkins 13520 Nov 21 02:47 go.sum 02:47:15 drwxrwxr-x. 15 jenkins jenkins 211 Nov 21 02:45 internal 02:47:15 -rw-rw-r--. 1 jenkins jenkins 901 Nov 21 02:45 Jenkinsfile 02:47:15 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 21 02:45 LICENSE 02:47:15 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 21 02:45 Makefile 02:47:15 drwxrwxr-x. 4 jenkins jenkins 26 Nov 21 02:45 openapi 02:47:15 drwxrwxr-x. 5 jenkins jenkins 50 Nov 21 02:45 pkg 02:47:15 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 21 02:45 README.md 02:47:15 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 21 02:45 RELEASE-NOTES.txt 02:47:15 drwxrwxr-x. 4 jenkins jenkins 54 Nov 21 02:45 snap 02:47:15 -rw-rw-r--. 1 jenkins jenkins 5 Nov 21 02:43 VERSION 02:47:15 -rw-rw-r--. 1 jenkins jenkins 222 Nov 21 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:15 + 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=616d4922f68f1ef32286bb0e689c851a3f0f63d6 --label arch=amd64 --label version=0.0.0 . 02:47:15 Sending build context to Docker daemon 2.486MB 02:47:15 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:15 Step 2/24 : FROM ${BASE} AS builder 02:47:15 ---> 6df27dc9f8bd 02:47:15 Step 3/24 : ARG MAKE='make build' 02:47:16 ---> Running in e222356c4e29 02:47:16 Removing intermediate container e222356c4e29 02:47:16 ---> 33517f199add 02:47:16 Step 4/24 : WORKDIR /device-sdk-go 02:47:16 ---> Running in 887c0ac569be 02:47:16 Removing intermediate container 887c0ac569be 02:47:16 ---> 095ab3710659 02:47:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:16 Commit message: "Merge commit '34e320ac99befae92f8b4aae2047dc1351ba020b' into HEAD" 02:47:17 ---> Running in 463075b8fbcc 02:47:17 Removing intermediate container 463075b8fbcc 02:47:17 ---> 50b48bf536f6 02:47:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:17 ---> Running in b463262f7a55 02:47:16 > git rev-list --no-walk 2074f416c73da04ca5c198ceaab5b568740d594e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:17 Removing intermediate container b463262f7a55 02:47:17 ---> fe96a8f50d2e 02:47:17 Step 7/24 : RUN apk add --update --no-cache make git 02:47:17 ---> Running in 534f16186337 02:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:19 + sudo service docker restart+ 02:47:19 true 02:47:19 OK: 166 MiB in 39 packages 02:47:19 Removing intermediate container 534f16186337 02:47:19 ---> f35f59d4d9e9 02:47:19 Step 8/24 : COPY . . 02:47:21 ---> dfaa3c81bfb9 02:47:21 Step 9/24 : RUN ${MAKE} 02:47:21 ---> Running in c5b58db98895 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:22 provisioning config files... 02:47:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config8913915815074260300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:22 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 02:47:22 ---> docker-login.sh 02:47:22 nexus3.edgexfoundry.org:10001 02:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:23 Configure a credential helper to remove this warning. See 02:47:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:23 02:47:23 Login Succeeded 02:47:23 nexus3.edgexfoundry.org:10002 02:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:24 Configure a credential helper to remove this warning. See 02:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:24 02:47:24 Login Succeeded 02:47:24 nexus3.edgexfoundry.org:10003 02:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:24 Configure a credential helper to remove this warning. See 02:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:24 02:47:24 Login Succeeded 02:47:24 nexus3.edgexfoundry.org:10004 02:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:25 Configure a credential helper to remove this warning. See 02:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:25 02:47:25 Login Succeeded 02:47:25 docker.io 02:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:26 Configure a credential helper to remove this warning. See 02:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:26 02:47:26 Login Succeeded 02:47:26 ---> docker-login.sh ends [Pipeline] } 02:47:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:26 ========================================================= 02:47:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:27 + 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 . 02:47:27 Sending build context to Docker daemon 2.36MB 02:47:27 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:27 Step 2/8 : FROM ${BASE} 02:47:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:27 b538f80385f9: Pulling fs layer 02:47:27 74f711af9a0d: Pulling fs layer 02:47:27 99f96fe45779: Pulling fs layer 02:47:27 8529a6b9a6be: Pulling fs layer 02:47:27 45590311c82a: Pulling fs layer 02:47:27 69ca0ff8b7b3: Pulling fs layer 02:47:27 209524e5b208: Pulling fs layer 02:47:27 45590311c82a: Waiting 02:47:27 69ca0ff8b7b3: Waiting 02:47:27 209524e5b208: Waiting 02:47:27 8529a6b9a6be: Waiting 02:47:27 99f96fe45779: Verifying Checksum 02:47:27 99f96fe45779: Download complete 02:47:27 74f711af9a0d: Verifying Checksum 02:47:27 74f711af9a0d: Download complete 02:47:27 45590311c82a: Verifying Checksum 02:47:27 45590311c82a: Download complete 02:47:27 69ca0ff8b7b3: Verifying Checksum 02:47:27 69ca0ff8b7b3: Download complete 02:47:27 b538f80385f9: Verifying Checksum 02:47:27 b538f80385f9: Download complete 02:47:28 b538f80385f9: Pull complete 02:47:29 74f711af9a0d: Pull complete 02:47:29 99f96fe45779: Pull complete 02:47:30 209524e5b208: Verifying Checksum 02:47:30 209524e5b208: Download complete 02:47:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:31 8529a6b9a6be: Download complete 02:47:32 Removing intermediate container c5b58db98895 02:47:32 ---> 5b33fb3eb04b 02:47:32 Step 10/24 : FROM scratch 02:47:32 ---> 02:47:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:32 ---> Running in 3903a460cef4 02:47:32 Removing intermediate container 3903a460cef4 02:47:32 ---> ac8b55791da3 02:47:32 Step 12/24 : ENV APP_PORT=49990 02:47:32 ---> Running in 5c9b31cc02a5 02:47:32 Removing intermediate container 5c9b31cc02a5 02:47:32 ---> 4d6669f6c589 02:47:32 Step 13/24 : EXPOSE $APP_PORT 02:47:32 ---> Running in 2e94b83b0070 02:47:32 Removing intermediate container 2e94b83b0070 02:47:32 ---> 47b9a7de5830 02:47:32 Step 14/24 : WORKDIR / 02:47:32 ---> Running in 43129fae861c 02:47:33 Removing intermediate container 43129fae861c 02:47:33 ---> 395ffceba32c 02:47:33 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:33 ---> 01fcdafe3b75 02:47:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:33 ---> d2fdd286f10a 02:47:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:34 ---> 7e2f6c8bcdcd 02:47:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:34 ---> 83e9f89e868d 02:47:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:34 ---> 2d82d5d085eb 02:47:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:34 ---> Running in 2ac139398593 02:47:34 Removing intermediate container 2ac139398593 02:47:34 ---> 98a48221d98f 02:47:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:34 ---> Running in aef954047191 02:47:35 Removing intermediate container aef954047191 02:47:35 ---> cd48bbbce1e3 02:47:35 Step 22/24 : LABEL arch=amd64 02:47:35 ---> Running in 04093a6139c0 02:47:35 Removing intermediate container 04093a6139c0 02:47:35 ---> 0a78877c17c9 02:47:35 Step 23/24 : LABEL git_sha=616d4922f68f1ef32286bb0e689c851a3f0f63d6 02:47:35 ---> Running in 9b094e319913 02:47:35 Removing intermediate container 9b094e319913 02:47:35 ---> f1e9c8ec6ba3 02:47:35 Step 24/24 : LABEL version=0.0.0 02:47:35 ---> Running in ed3e551ca057 02:47:35 Removing intermediate container ed3e551ca057 02:47:35 ---> 4209e93bb90a 02:47:35 [Warning] One or more build-args [ARCH] were not consumed 02:47:35 Successfully built 4209e93bb90a 02:47:35 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:42 8529a6b9a6be: Pull complete 02:47:42 45590311c82a: Pull complete 02:47:42 69ca0ff8b7b3: Pull complete 02:47:46 209524e5b208: Pull complete 02:47:46 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:46 ---> 5bddaf1c2fca 02:47:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:49 ---> Running in 0508c3adcfd2 02:47:49 Removing intermediate container 0508c3adcfd2 02:47:49 ---> 223d99c3f0db 02:47:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:50 ---> Running in a2025af7f34d 02:47:52 Removing intermediate container a2025af7f34d 02:47:52 ---> 851af26bd636 02:47:52 Step 5/8 : RUN apk add --no-cache make git 02:47:52 ---> Running in c8b1cebfa5e9 02:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:55 OK: 142 MiB in 39 packages 02:47:56 Removing intermediate container c8b1cebfa5e9 02:47:56 ---> 204a0e8af5f0 02:47:56 Step 6/8 : WORKDIR /device-sdk-go 02:47:56 ---> Running in c12292624d25 02:47:57 Removing intermediate container c12292624d25 02:47:57 ---> 43cfb04f694a 02:47:57 Step 7/8 : COPY . . 02:47:58 ---> e2a6779e3855 02:47:58 Step 8/8 : RUN go mod download 02:47:58 ---> Running in d991c12f344e 02:48:21 Removing intermediate container d991c12f344e 02:48:21 ---> 723266b53116 02:48:21 Successfully built 723266b53116 02:48:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:21 + docker inspect -f . ci-base-image-arm64 02:48:21 . [Pipeline] withDockerContainer 02:48:21 prd-ubuntu18.04-docker-arm64-4c-16g-13051 does not seem to be running inside a container 02:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-arm64 cat 02:48:23 $ docker top 3e86be51ed5342859d93abefc6e4969d2a7e34be49fc87994576c688f0337187 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:24 + go version 02:48:24 go version go1.15.2 linux/arm64 [Pipeline] } 02:48:24 $ docker stop --time=1 3e86be51ed5342859d93abefc6e4969d2a7e34be49fc87994576c688f0337187 02:48:26 $ docker rm -f 3e86be51ed5342859d93abefc6e4969d2a7e34be49fc87994576c688f0337187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:27 + docker inspect -f . ci-base-image-arm64 02:48:27 . [Pipeline] withDockerContainer 02:48:28 prd-ubuntu18.04-docker-arm64-4c-16g-13051 does not seem to be running inside a container 02:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-arm64 cat 02:48:30 $ docker top b22e2f04e9f22b159261ee03f27c0c3b17e8cfeccebd0856f63e561929d2ea51 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:31 + make test 02:48:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.172s coverage: 20.6% of statements 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.177s coverage: 97.1% of statements 02:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.112s coverage: 9.4% of statements 02:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.580s coverage: 42.5% of statements 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.736s coverage: 68.9% of statements 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 52.6% of statements 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:50:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.697s coverage: 68.9% of statements 02:50:07 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.134s coverage: 4.7% of statements 02:50:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:07 GO111MODULE=on go vet ./... 02:50:34 gofmt -l . 02:50:34 [ "`gofmt -l .`" = "" ] 02:50:34 ./bin/test-attribution-txt.sh 02:50:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:36 $ docker stop --time=1 b22e2f04e9f22b159261ee03f27c0c3b17e8cfeccebd0856f63e561929d2ea51 02:50:38 $ docker rm -f b22e2f04e9f22b159261ee03f27c0c3b17e8cfeccebd0856f63e561929d2ea51 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:39 Warning: overwriting stash ‘coverage-report’ 02:50:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:41 + ls -al . 02:50:41 total 244 02:50:41 drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 02:50 . 02:50:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 02:47 .. 02:50:41 -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 02:47 .dockerignore 02:50:41 drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 02:47 .git 02:50:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 02:47 .github 02:50:41 -rw-rw-r-- 1 jenkins jenkins 138 Nov 21 02:47 .gitignore 02:50:41 -rw-rw-r-- 1 jenkins jenkins 936 Nov 21 02:47 Dockerfile.build 02:50:41 -rw-rw-r-- 1 jenkins jenkins 901 Nov 21 02:47 Jenkinsfile 02:50:41 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 21 02:47 LICENSE 02:50:41 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 21 02:47 Makefile 02:50:41 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 21 02:47 README.md 02:50:41 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 21 02:47 RELEASE-NOTES.txt 02:50:41 -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 02:43 VERSION 02:50:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 02:47 bin 02:50:41 -rw-r--r-- 1 jenkins jenkins 127610 Nov 21 02:50 coverage.out 02:50:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 02:47 example 02:50:41 -rw-r--r-- 1 jenkins jenkins 518 Nov 21 02:50 go.mod 02:50:41 -rw-r--r-- 1 jenkins jenkins 13520 Nov 21 02:50 go.sum 02:50:41 drwxrwxr-x 15 jenkins jenkins 4096 Nov 21 02:47 internal 02:50:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 02:47 openapi 02:50:41 drwxrwxr-x 5 jenkins jenkins 4096 Nov 21 02:47 pkg 02:50:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 02:47 snap 02:50:41 -rw-rw-r-- 1 jenkins jenkins 222 Nov 21 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:41 + 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=616d4922f68f1ef32286bb0e689c851a3f0f63d6 --label arch=arm64 --label version=0.0.0 . 02:50:42 Sending build context to Docker daemon 2.488MB 02:50:42 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:42 Step 2/24 : FROM ${BASE} AS builder 02:50:42 ---> 723266b53116 02:50:42 Step 3/24 : ARG MAKE='make build' 02:50:42 ---> Running in cf5588ca2351 02:50:42 Removing intermediate container cf5588ca2351 02:50:42 ---> 677c5a199628 02:50:42 Step 4/24 : WORKDIR /device-sdk-go 02:50:43 ---> Running in de5cb1b3790f 02:50:43 Removing intermediate container de5cb1b3790f 02:50:43 ---> c0962248031d 02:50:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:43 ---> Running in cdfb2cec8fc3 02:50:44 Removing intermediate container cdfb2cec8fc3 02:50:44 ---> b54e278c08bb 02:50:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:44 ---> Running in 3e7d32917395 02:50:47 Removing intermediate container 3e7d32917395 02:50:47 ---> b74c8508ecf8 02:50:47 Step 7/24 : RUN apk add --update --no-cache make git 02:50:47 ---> Running in c4cc593e1b23 02:50:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:49 OK: 142 MiB in 39 packages 02:50:51 Removing intermediate container c4cc593e1b23 02:50:51 ---> 710fe3ba2576 02:50:51 Step 8/24 : COPY . . 02:50:52 ---> cad7a3367dea 02:50:52 Step 9/24 : RUN ${MAKE} 02:50:52 ---> Running in dfea4032c351 02:50:53 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 02:51:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:20 Removing intermediate container dfea4032c351 02:51:20 ---> 0c0b9940dee5 02:51:20 Step 10/24 : FROM scratch 02:51:20 ---> 02:51:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:20 ---> Running in 8d2f4176ee63 02:51:20 Removing intermediate container 8d2f4176ee63 02:51:20 ---> 58a7a025c76e 02:51:20 Step 12/24 : ENV APP_PORT=49990 02:51:20 ---> Running in bba05b580c81 02:51:21 Removing intermediate container bba05b580c81 02:51:21 ---> faaa4b866cf3 02:51:21 Step 13/24 : EXPOSE $APP_PORT 02:51:21 ---> Running in eff893e18980 02:51:21 Removing intermediate container eff893e18980 02:51:21 ---> cdb76c8b2867 02:51:21 Step 14/24 : WORKDIR / 02:51:21 ---> Running in 90e32f288549 02:51:22 Removing intermediate container 90e32f288549 02:51:22 ---> 7c61aab08d3c 02:51:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:23 ---> 772754c819d8 02:51:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:24 ---> d3e9d6231540 02:51:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:24 ---> b3613ad03ffe 02:51:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:25 ---> 9b486f8ce0b0 02:51:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:25 ---> 9c6a673eacb5 02:51:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:26 ---> Running in 66e79b60a065 02:51:26 Removing intermediate container 66e79b60a065 02:51:26 ---> 40652f6964b3 02:51:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:26 ---> Running in 4cebd9800a41 02:51:27 Removing intermediate container 4cebd9800a41 02:51:27 ---> 221b26fe1cd9 02:51:27 Step 22/24 : LABEL arch=arm64 02:51:27 ---> Running in 300b56254c63 02:51:27 Removing intermediate container 300b56254c63 02:51:27 ---> fb7d3a31ff3a 02:51:27 Step 23/24 : LABEL git_sha=616d4922f68f1ef32286bb0e689c851a3f0f63d6 02:51:27 ---> Running in b433d28908d4 02:51:28 Removing intermediate container b433d28908d4 02:51:28 ---> f9b088cc8e7b 02:51:28 Step 24/24 : LABEL version=0.0.0 02:51:28 ---> Running in 496109c52f11 02:51:28 Removing intermediate container 496109c52f11 02:51:28 ---> 21deb77465f4 02:51:28 [Warning] One or more build-args [ARCH] were not consumed 02:51:29 Successfully built 21deb77465f4 02:51:29 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 02:51:30 provisioning config files... 02:51:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7531011691309059075tmp [Pipeline] { [Pipeline] sh 02:51:30 + set +x 02:51:30 + curl -s https://codecov.io/bash 02:51:30 + bash -s -- 02:51:31 02:51:31 _____ _ 02:51:31 / ____| | | 02:51:31 | | ___ __| | ___ ___ _____ __ 02:51:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:31 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:31 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:31 Bash-20201116-eea08d9 02:51:31 02:51:31 02:51:31 ==> Jenkins CI detected. 02:51:31 project root: . 02:51:31 --> token set from env 02:51:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:31 ==> Running gcov in . (disable via -X gcov) 02:51:31 ==> Python coveragepy not found 02:51:31 ==> Searching for coverage reports in: 02:51:31 + . 02:51:31 -> Found 1 reports 02:51:31 ==> Detecting git/mercurial file structure 02:51:31 ==> Reading reports 02:51:31 + ./coverage.out bytes=127610 02:51:31 ==> Appending adjustments 02:51:31 https://docs.codecov.io/docs/fixing-reports 02:51:31 + Found adjustments 02:51:31 ==> Gzipping contents 02:51:31 ==> Uploading reports 02:51:31 url: https://codecov.io 02:51:31 query: branch=PR-614&commit=616d4922f68f1ef32286bb0e689c851a3f0f63d6&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:51:31 -> Pinging Codecov 02:51:31 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=PR-614&commit=616d4922f68f1ef32286bb0e689c851a3f0f63d6&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:51:32 -> Uploading to 02:51:32 https://storage.googleapis.com/codecov/v4/raw/2020-11-21/7E55EF52A471D76F132DFD9A03CDDE97/616d4922f68f1ef32286bb0e689c851a3f0f63d6/e1def541-387b-420f-8e0b-b9a3c6f70c9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201121T025132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7c5e858f50b8330d4090da6da1010f1725f96f92ff52d2d0d392f2b8ae0c1c7 02:51:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:32 Dload Upload Total Spent Left Speed 02:51:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20875 0 0 100 20875 0 54872 --:--:-- --:--:-- --:--:-- 54934 02:51:32 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/616d4922f68f1ef32286bb0e689c851a3f0f63d6 [Pipeline] } 02:51:32 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 02:51:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:36 ---> package-listing.sh 02:51:36 ++ facter osfamily 02:51:36 ++ tr '[:upper:]' '[:lower:]' 02:51:36 + OS_FAMILY=redhat 02:51:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 02:51:36 + START_PACKAGES=/tmp/packages_start.txt 02:51:36 + END_PACKAGES=/tmp/packages_end.txt 02:51:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:36 + PACKAGES=/tmp/packages_start.txt 02:51:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:51:36 + PACKAGES=/tmp/packages_end.txt 02:51:36 + case "${OS_FAMILY}" in 02:51:36 + rpm -qa 02:51:36 + sort 02:51:40 + '[' -f /tmp/packages_start.txt ']' 02:51:40 + '[' -f /tmp/packages_end.txt ']' 02:51:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:51:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 02:51: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 02:51: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 02:51:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:40 02:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:41 alpine: Pulling from edgex-lftools-log-publisher 02:51:41 df20fa9351a1: Pulling fs layer 02:51:41 36b3adc4ff6f: Pulling fs layer 02:51:41 8ad3a11d3b57: Pulling fs layer 02:51:41 46f8f816bc3b: Pulling fs layer 02:51:41 93b61091891f: Pulling fs layer 02:51:41 93b9cdb0e59b: Pulling fs layer 02:51:41 5e14af77c1be: Pulling fs layer 02:51:41 01666e4c0597: Pulling fs layer 02:51:41 aa168da1d23b: Pulling fs layer 02:51:41 46f8f816bc3b: Waiting 02:51:41 93b61091891f: Waiting 02:51:41 93b9cdb0e59b: Waiting 02:51:41 5e14af77c1be: Waiting 02:51:41 01666e4c0597: Waiting 02:51:41 aa168da1d23b: Waiting 02:51:41 36b3adc4ff6f: Download complete 02:51:41 46f8f816bc3b: Verifying Checksum 02:51:41 46f8f816bc3b: Download complete 02:51:41 df20fa9351a1: Download complete 02:51:41 93b9cdb0e59b: Download complete 02:51:41 5e14af77c1be: Download complete 02:51:41 01666e4c0597: Verifying Checksum 02:51:41 01666e4c0597: Download complete 02:51:41 93b61091891f: Download complete 02:51:41 df20fa9351a1: Pull complete 02:51:41 36b3adc4ff6f: Pull complete 02:51:42 8ad3a11d3b57: Verifying Checksum 02:51:42 8ad3a11d3b57: Download complete 02:51:43 8ad3a11d3b57: Pull complete 02:51:43 46f8f816bc3b: Pull complete 02:51:43 93b61091891f: Pull complete 02:51:43 93b9cdb0e59b: Pull complete 02:51:44 5e14af77c1be: Pull complete 02:51:44 aa168da1d23b: Verifying Checksum 02:51:44 aa168da1d23b: Download complete 02:51:44 01666e4c0597: Pull complete 02:51:52 aa168da1d23b: Pull complete 02:51:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:52 prd-centos7-docker-4c-2g-13046 does not seem to be running inside a container 02:51:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:56 $ docker top 8415b12c393f9876fd1501cb414095c552b5dd7d7a042807cbf11ec0bee0484c -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:57 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:57 + mkdir -p /var/log/sa [Pipeline] sh 02:51:57 + ls /var/log/sa-host 02:51:57 + sadf -c /var/log/sa-host/sa05 02:51:57 file_magic: OK 02:51:57 HZ: Using current value: 100 02:51:57 file_header: OK 02:51:57 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 02:51:57 Statistics: 02:51:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:57 File successfully converted to sysstat format version 12.2.1 02:51:57 + sadf -c /var/log/sa-host/sa21 02:51:57 file_magic: OK 02:51:57 HZ: Using current value: 100 02:51:57 file_header: OK 02:51:57 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 02:51:57 Statistics: 02:51:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:58 provisioning config files... 02:51:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config236301718638282144tmp [Pipeline] { [Pipeline] echo 02:51:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> create-netrc.sh [Pipeline] } 02:51:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> python-tools-install.sh [Pipeline] echo 02:51:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:59 ---> sudo-logs.sh 02:51:59 Archiving 'sudo' log.. [Pipeline] echo 02:51:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:59 ---> job-cost.sh 02:51:59 lf-activate-venv: SKIPPING 02:51:59 INFO: No Stack... 02:52:00 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:01 INFO: Archiving Costs [Pipeline] echo 02:52:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:01 ---> logs-deploy.sh 02:52:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/19 02:52:01 INFO: archiving workspace using pattern(s): 02:52:03 Archives upload complete. 02:52:03 INFO: archiving logs to Nexus 02:52:04 ---> uname -a: 02:52:04 Linux prd-centos7-docker-4c-2g-13046.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 02:52:04 02:52:04 02:52:04 ---> lscpu: 02:52:04 Architecture: x86_64 02:52:04 CPU op-mode(s): 32-bit, 64-bit 02:52:04 Byte Order: Little Endian 02:52:04 Address sizes: 40 bits physical, 48 bits virtual 02:52:04 CPU(s): 4 02:52:04 On-line CPU(s) list: 0-3 02:52:04 Thread(s) per core: 1 02:52:04 Core(s) per socket: 1 02:52:04 Socket(s): 4 02:52:04 NUMA node(s): 1 02:52:04 Vendor ID: GenuineIntel 02:52:04 CPU family: 6 02:52:04 Model: 44 02:52:04 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:04 Stepping: 1 02:52:04 CPU MHz: 2933.438 02:52:04 BogoMIPS: 5866.87 02:52:04 Virtualization: VT-x 02:52:04 Hypervisor vendor: KVM 02:52:04 Virtualization type: full 02:52:04 L1d cache: 128 KiB 02:52:04 L1i cache: 128 KiB 02:52:04 L2 cache: 16 MiB 02:52:04 L3 cache: 64 MiB 02:52:04 NUMA node0 CPU(s): 0-3 02:52:04 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:04 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:04 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:04 Vulnerability Meltdown: Mitigation; PTI 02:52:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:04 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:04 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:04 Vulnerability Tsx async abort: Not affected 02:52:04 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 02:52:04 02:52:04 02:52:04 ---> nproc: 02:52:04 4 02:52:04 02:52:04 02:52:04 ---> df -h: 02:52:04 Filesystem Size Used Available Use% Mounted on 02:52:04 overlay 50.0G 7.2G 42.8G 14% / 02:52:04 tmpfs 64.0M 0 64.0M 0% /dev 02:52:04 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:04 shm 64.0M 0 64.0M 0% /dev/shm 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 02:52:04 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 02:52:04 02:52:04 02:52:04 ---> free -m: 02:52:04 total used free shared buff/cache available 02:52:04 Mem: 1837 683 111 0 1042 1052 02:52:04 Swap: 1023 1 1022 02:52:04 02:52:04 02:52:04 ---> ip addr: 02:52:04 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:04 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:04 inet 127.0.0.1/8 scope host lo 02:52:04 valid_lft forever preferred_lft forever 02:52:04 inet6 ::1/128 scope host 02:52:04 valid_lft forever preferred_lft forever 02:52:04 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:04 link/ether fa:16:3e:4a:ac:ec brd ff:ff:ff:ff:ff:ff 02:52:04 inet 10.30.123.29/23 brd 10.30.123.255 scope global dynamic eth0 02:52:04 valid_lft 85836sec preferred_lft 85836sec 02:52:04 inet6 fe80::f816:3eff:fe4a:acec/64 scope link 02:52:04 valid_lft forever preferred_lft forever 02:52:04 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:04 link/ether 02:42:67:6e:2c:5b brd ff:ff:ff:ff:ff:ff 02:52:04 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:04 valid_lft forever preferred_lft forever 02:52:04 inet6 fe80::42:67ff:fe6e:2c5b/64 scope link 02:52:04 valid_lft forever preferred_lft forever 02:52:04 02:52:04 02:52:04 ---> sar -b -r -n DEV: 02:52:04 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/21/20 _x86_64_ (4 CPU) 02:52:04 02:52:04 02:42:21 LINUX RESTART (4 CPU) 02:52:04 02:52:04 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:04 02:44:01 62.12 16.06 46.06 0.00 5086.02 5023.95 0.00 02:52:04 02:45:01 1.12 0.00 1.12 0.00 0.00 26.08 0.00 02:52:04 02:46:01 0.27 0.00 0.27 0.00 0.00 3.78 0.00 02:52:04 02:47:01 0.25 0.00 0.25 0.00 0.00 2.43 0.00 02:52:04 02:48:01 0.13 0.00 0.13 0.00 0.00 2.37 0.00 02:52:04 02:49:01 0.33 0.00 0.33 0.00 0.00 5.00 0.00 02:52:04 02:50:01 0.27 0.02 0.25 0.00 0.13 3.15 0.00 02:52:04 02:51:01 0.25 0.00 0.25 0.00 0.00 3.23 0.00 02:52:04 Average: 8.10 2.01 6.08 0.00 636.09 634.06 0.00 02:52:04 02:52:04 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:04 02:44:01 175364 0 580244 30.84 2620 1123328 1129228 38.54 412200 1133944 132 02:52:04 02:45:01 182252 0 573348 30.47 2620 1123336 1081280 36.90 410200 1130400 12 02:52:04 02:46:01 181316 0 574276 30.52 2620 1123344 1081472 36.91 411260 1130400 8 02:52:04 02:47:01 178636 0 576956 30.66 2620 1123344 1081412 36.91 414932 1129744 20 02:52:04 02:48:01 178260 0 577324 30.68 2620 1123352 1081448 36.91 422340 1122612 20 02:52:04 02:49:01 178988 0 576592 30.64 2620 1123356 1081328 36.90 421716 1122580 12 02:52:04 02:50:01 178652 0 576920 30.66 2620 1123364 1081388 36.91 422040 1122580 8 02:52:04 02:51:01 179408 0 576160 30.62 2620 1123368 1081280 36.90 417400 1126788 8 02:52:04 Average: 179110 0 576478 30.64 2620 1123349 1087354 37.11 416511 1127381 28 02:52:04 02:52:04 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:04 02:44:01 eth0 424.28 264.28 854.00 82.58 0.00 0.00 0.00 0.00 02:52:04 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:44:01 docker0 7.32 5.08 1.20 20.18 0.00 0.00 0.00 0.00 02:52:04 02:45:01 eth0 1.85 0.08 0.17 0.01 0.00 0.00 0.00 0.00 02:52:04 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:46:01 eth0 1.85 0.78 0.67 0.41 0.00 0.00 0.00 0.00 02:52:04 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:47:01 eth0 1.63 0.37 0.38 0.20 0.00 0.00 0.00 0.00 02:52:04 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:48:01 eth0 1.03 0.65 0.61 0.43 0.00 0.00 0.00 0.00 02:52:04 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:49:01 eth0 0.20 0.12 0.07 0.04 0.00 0.00 0.00 0.00 02:52:04 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:50:01 eth0 0.33 0.32 0.27 0.02 0.00 0.00 0.00 0.00 02:52:04 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:51:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:04 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 Average: eth0 53.94 33.35 107.08 10.47 0.00 0.00 0.00 0.00 02:52:04 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:04 Average: docker0 0.92 0.63 0.15 2.52 0.00 0.00 0.00 0.00 02:52:04 02:52:04 02:52:04 ---> sar -P ALL: 02:52:04 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/21/20 _x86_64_ (4 CPU) 02:52:04 02:52:04 02:42:21 LINUX RESTART (4 CPU) 02:52:04 02:52:04 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:52:04 02:44:01 all 8.64 0.00 3.86 2.30 0.03 85.18 02:52:04 02:44:01 0 8.58 0.00 4.16 1.97 0.03 85.26 02:52:04 02:44:01 1 10.38 0.00 3.44 0.39 0.02 85.77 02:52:04 02:44:01 2 7.38 0.00 4.14 4.71 0.03 83.72 02:52:04 02:44:01 3 8.23 0.00 3.69 2.12 0.02 85.95 02:52:04 02:45:01 all 0.17 0.00 0.05 0.00 0.00 99.78 02:52:04 02:45:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:52:04 02:45:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:52:04 02:45:01 2 0.02 0.00 0.05 0.00 0.00 99.93 02:52:04 02:45:01 3 0.07 0.00 0.08 0.00 0.00 99.85 02:52:04 02:46:01 all 0.17 0.00 0.06 0.00 0.00 99.77 02:52:04 02:46:01 0 0.07 0.00 0.07 0.00 0.00 99.87 02:52:04 02:46:01 1 0.48 0.00 0.07 0.00 0.00 99.45 02:52:04 02:46:01 2 0.10 0.00 0.07 0.00 0.00 99.83 02:52:04 02:46:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:52:04 02:47:01 all 0.13 0.00 0.03 0.00 0.00 99.84 02:52:04 02:47:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:52:04 02:47:01 1 0.42 0.00 0.02 0.00 0.00 99.57 02:52:04 02:47:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:52:04 02:47:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:52:04 02:48:01 all 0.18 0.00 0.05 0.00 0.00 99.76 02:52:04 02:48:01 0 0.12 0.00 0.02 0.00 0.00 99.87 02:52:04 02:48:01 1 0.52 0.00 0.03 0.00 0.02 99.43 02:52:04 02:48:01 2 0.03 0.00 0.05 0.00 0.00 99.92 02:52:04 02:48:01 3 0.07 0.00 0.10 0.00 0.00 99.83 02:52:04 02:49:01 all 0.15 0.00 0.07 0.00 0.00 99.78 02:52:04 02:49:01 0 0.00 0.00 0.03 0.00 0.00 99.97 02:52:04 02:49:01 1 0.52 0.00 0.02 0.00 0.00 99.47 02:52:04 02:49:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:52:04 02:49:01 3 0.03 0.00 0.20 0.00 0.00 99.77 02:52:04 02:50:01 all 0.16 0.00 0.03 0.00 0.00 99.81 02:52:04 02:50:01 0 0.03 0.00 0.02 0.02 0.00 99.93 02:52:04 02:50:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:52:04 02:50:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:52:04 02:50:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:52:04 02:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:52:04 02:51:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:52:04 02:51:01 1 0.53 0.00 0.05 0.00 0.00 99.42 02:52:04 02:51:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:52:04 02:51:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:52:04 Average: all 1.21 0.00 0.52 0.29 0.00 97.98 02:52:04 Average: 0 1.10 0.00 0.54 0.25 0.00 98.10 02:52:04 Average: 1 1.73 0.00 0.46 0.05 0.00 97.76 02:52:04 Average: 2 0.96 0.00 0.56 0.59 0.00 97.89 02:52:04 Average: 3 1.06 0.00 0.52 0.26 0.00 98.16 02:52:04 02:52:04 02:52:04