Pull request #618 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c01cee7987efcdddc5ebf4cc311a38f6cd02a483+2bc84c3391c193cbfeeedf3861e08dddeceafca7 (afaa6e9fe0bc1187c1d65304a490c361f11d3472) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18934 in /w/workspace/ndry_app-functions-sdk-go_PR-618 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-618 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/618/head:refs/remotes/origin/PR-618 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2bc84c3391c193cbfeeedf3861e08dddeceafca7 into PR head commit c01cee7987efcdddc5ebf4cc311a38f6cd02a483 Merge succeeded, producing c01cee7987efcdddc5ebf4cc311a38f6cd02a483 Checking out Revision c01cee7987efcdddc5ebf4cc311a38f6cd02a483 (PR-618) > git config core.sparsecheckout # timeout=10 > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # 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 2bc84c3391c193cbfeeedf3861e08dddeceafca7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T22:21:46.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T22:21:47.256Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 975af3741cbcda983d3b120bfc279a543864f714 # timeout=10 [Pipeline] echo [2021-01-07T22:21:47.361Z] ========================================================= [2021-01-07T22:21:47.361Z] EdgeX Global Pipelines Version Info [2021-01-07T22:21:47.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:21:49.028Z] ------------------- [2021-01-07T22:21:49.028Z] stable info: [2021-01-07T22:21:49.028Z] ------------------- [2021-01-07T22:21:49.028Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T22:21:49.028Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T22:21:49.028Z] Message: update stable to v1.0.173 [2021-01-07T22:21:49.972Z] ------------------- [2021-01-07T22:21:49.972Z] experimental info: [2021-01-07T22:21:49.972Z] ------------------- [2021-01-07T22:21:49.972Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T22:21:49.972Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T22:21:49.972Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T22:21:50.344Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-07T22:21:50.452Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-07T22:21:50.543Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T22:21:50.654Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T22:21:50.883Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T22:21:51.032Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T22:21:51.142Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T22:21:51.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T22:21:51.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T22:21:51.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T22:21:51.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T22:21:51.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-07T22:21:51.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T22:21:51.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T22:21:52.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:21:52.151Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:21:52.267Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:21:52.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T22:21:52.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-07T22:21:52.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T22:21:52.665Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-07T22:21:52.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-07T22:21:52.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T22:21:52.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T22:21:53.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-07T22:21:53.181Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T22:21:53.297Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T22:21:53.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-618 [Pipeline] echo [2021-01-07T22:21:53.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-618 [Pipeline] echo [2021-01-07T22:21:53.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-618 [Pipeline] echo [2021-01-07T22:21:53.755Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [Pipeline] echo [2021-01-07T22:21:53.848Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c01cee7 [Pipeline] echo [2021-01-07T22:21:53.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T22:21:54.694Z] + git log --format=format:%s -1 c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [Pipeline] echo [2021-01-07T22:21:54.782Z] GIT_COMMIT: c01cee7987efcdddc5ebf4cc311a38f6cd02a483, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2021-01-07T22:21:54.835Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:21:55.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:21:55.700Z] [2021-01-07T22:21:55.700Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:21:56.065Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:21:56.065Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T22:21:56.065Z] 31603596830f: Pulling fs layer [2021-01-07T22:21:56.065Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T22:21:56.065Z] 6ca5941a6612: Pulling fs layer [2021-01-07T22:21:56.065Z] ecc8261a40a4: Pulling fs layer [2021-01-07T22:21:56.065Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T22:21:56.065Z] 2a8b12db71e7: Download complete [2021-01-07T22:21:56.329Z] 31603596830f: Verifying Checksum [2021-01-07T22:21:56.329Z] 31603596830f: Download complete [2021-01-07T22:21:56.329Z] ecc8261a40a4: Verifying Checksum [2021-01-07T22:21:56.329Z] ecc8261a40a4: Download complete [2021-01-07T22:21:56.329Z] 6ca5941a6612: Verifying Checksum [2021-01-07T22:21:56.329Z] 6ca5941a6612: Download complete [2021-01-07T22:21:56.597Z] 31603596830f: Pull complete [2021-01-07T22:21:56.862Z] 2a8b12db71e7: Pull complete [2021-01-07T22:21:57.812Z] 6ca5941a6612: Pull complete [2021-01-07T22:21:57.812Z] ecc8261a40a4: Pull complete [2021-01-07T22:21:57.812Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T22:21:57.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T22:21:57.812Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T22:21:57.930Z] prd-centos7-docker-4c-2g-18934 does not seem to be running inside a container [2021-01-07T22:21:58.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-618 -v /w/workspace/ndry_app-functions-sdk-go_PR-618:/w/workspace/ndry_app-functions-sdk-go_PR-618:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-618@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-618@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:10004/edgex-devops/git-semver:latest cat [2021-01-07T22:22:00.566Z] $ docker top 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T22:22:01.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:22:01.019Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:22:01.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:22:01.274Z] $ docker exec 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a ssh-agent [2021-01-07T22:22:01.462Z] SSH_AUTH_SOCK=/tmp/ssh-MHYyqY51ppj2/agent.12 [2021-01-07T22:22:01.462Z] SSH_AGENT_PID=18 [2021-01-07T22:22:01.481Z] Running ssh-add (command line suppressed) [2021-01-07T22:22:01.641Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/private_key_3781821663652620307.key (/w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/private_key_3781821663652620307.key) [2021-01-07T22:22:01.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:22:02.080Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T22:22:02.110Z] $ docker exec --env ******** --env ******** 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a ssh-agent -k [2021-01-07T22:22:02.232Z] unset SSH_AUTH_SOCK; [2021-01-07T22:22:02.232Z] unset SSH_AGENT_PID; [2021-01-07T22:22:02.232Z] echo Agent pid 18 killed; [2021-01-07T22:22:02.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T22:22:02.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T22:22:02.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T22:22:02.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T22:22:02.626Z] $ docker exec 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a ssh-agent [2021-01-07T22:22:02.798Z] SSH_AUTH_SOCK=/tmp/ssh-WPtOlr2LlcUu/agent.46 [2021-01-07T22:22:02.798Z] SSH_AGENT_PID=51 [2021-01-07T22:22:02.806Z] Running ssh-add (command line suppressed) [2021-01-07T22:22:02.927Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/private_key_8505758651550712079.key (/w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/private_key_8505758651550712079.key) [2021-01-07T22:22:02.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T22:22:03.335Z] + git semver init [2021-01-07T22:22:03.335Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T22:22:03.335Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-618/.git [2021-01-07T22:22:03.335Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-618 [2021-01-07T22:22:03.335Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T22:22:03.335Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T22:22:03.335Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T22:22:03.335Z] # $SEMVER_BRANCH = PR-618 [2021-01-07T22:22:03.335Z] # $SEMVER_TEMP = /tmp/semver-751094010 [2021-01-07T22:22:03.335Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-07T22:22:06.702Z] # '/tmp/semver-751094010' -> '/w/workspace/ndry_app-functions-sdk-go_PR-618/.semver' [2021-01-07T22:22:06.702Z] # -> Force: false [2021-01-07T22:22:06.702Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-618/.semver [Pipeline] } [2021-01-07T22:22:06.745Z] $ docker exec --env ******** --env ******** 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a ssh-agent -k [2021-01-07T22:22:06.864Z] unset SSH_AUTH_SOCK; [2021-01-07T22:22:06.865Z] unset SSH_AGENT_PID; [2021-01-07T22:22:06.865Z] echo Agent pid 51 killed; [2021-01-07T22:22:06.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T22:22:07.433Z] + git semver [Pipeline] } [2021-01-07T22:22:07.454Z] $ docker stop --time=1 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a [2021-01-07T22:22:09.000Z] $ docker rm -f 0e7996c58f57dc4a7c8612f3b922f9f75089dad77e9f7cb0a39edf576a068e2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:22:09.498Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T22:22:10.133Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T22:22:10.137Z] [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 [2021-01-07T22:22:25.799Z] Still waiting to schedule task [2021-01-07T22:22:25.799Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-07T22:22:25.801Z] Still waiting to schedule task [2021-01-07T22:22:25.802Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-07T22:23:57.054Z] Running on prd-centos7-docker-4c-2g-18939 in /w/workspace/ndry_app-functions-sdk-go_PR-618 [Pipeline] { [Pipeline] ws [2021-01-07T22:23:57.108Z] Running in /w/workspace/app-functions-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-07T22:24:00.140Z] using credential edgex-jenkins-ssh [2021-01-07T22:24:00.204Z] Cloning the remote Git repository [2021-01-07T22:24:00.228Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:24:00.292Z] > git init /w/workspace/app-functions-sdk-go/9 # timeout=10 [2021-01-07T22:24:00.390Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:24:00.390Z] > git --version # timeout=10 [2021-01-07T22:24:00.400Z] > git --version # 'git version 2.24.3' [2021-01-07T22:24:00.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:24:00.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:24:01.853Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T22:24:01.871Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:24:01.891Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T22:24:01.917Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:24:01.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:24:01.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/618/head:refs/remotes/origin/PR-618 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T22:24:03.448Z] Merging remotes/origin/master commit 2bc84c3391c193cbfeeedf3861e08dddeceafca7 into PR head commit c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [2021-01-07T22:24:03.547Z] Merge succeeded, producing c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [2021-01-07T22:24:03.547Z] Checking out Revision c01cee7987efcdddc5ebf4cc311a38f6cd02a483 (PR-618) [2021-01-07T22:24:03.456Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:24:03.462Z] > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # timeout=10 [2021-01-07T22:24:03.512Z] > git remote # timeout=10 [2021-01-07T22:24:03.517Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T22:24:03.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:24:03.527Z] > git merge 2bc84c3391c193cbfeeedf3861e08dddeceafca7 # timeout=10 [2021-01-07T22:24:03.540Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T22:24:03.552Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:24:03.557Z] > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # timeout=10 [2021-01-07T22:24:07.245Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T22:24:08.864Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:24:09.202Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:24:09.511Z] + sudo service docker restart [2021-01-07T22:24:09.511Z] + true [2021-01-07T22:24:09.511Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-07T22:24:10.672Z] ========================================================= [2021-01-07T22:24:10.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T22:24:10.673Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:24:11.065Z] + 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 . [2021-01-07T22:24:11.651Z] Sending build context to Docker daemon 19.06MB [2021-01-07T22:24:11.651Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T22:24:11.651Z] Step 2/8 : FROM ${BASE} [2021-01-07T22:24:11.651Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T22:24:11.651Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T22:24:11.651Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T22:24:11.651Z] de9db76c5a1d: Pulling fs layer [2021-01-07T22:24:11.651Z] bca2f99d35d6: Pulling fs layer [2021-01-07T22:24:11.651Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T22:24:11.651Z] 7c6f9722023f: Pulling fs layer [2021-01-07T22:24:11.651Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T22:24:11.651Z] 93359f2a8cfa: Waiting [2021-01-07T22:24:11.651Z] 7c6f9722023f: Waiting [2021-01-07T22:24:11.651Z] bca2f99d35d6: Waiting [2021-01-07T22:24:11.651Z] a35cf1a2eb13: Waiting [2021-01-07T22:24:11.651Z] de9db76c5a1d: Verifying Checksum [2021-01-07T22:24:11.651Z] de9db76c5a1d: Download complete [2021-01-07T22:24:11.651Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T22:24:11.651Z] 0ef7d3d256c8: Download complete [2021-01-07T22:24:11.916Z] 93359f2a8cfa: Verifying Checksum [2021-01-07T22:24:11.916Z] 93359f2a8cfa: Download complete [2021-01-07T22:24:11.916Z] 7c6f9722023f: Verifying Checksum [2021-01-07T22:24:11.916Z] 7c6f9722023f: Download complete [2021-01-07T22:24:11.916Z] 188c0c94c7c5: Download complete [2021-01-07T22:24:12.183Z] 188c0c94c7c5: Pull complete [2021-01-07T22:24:12.451Z] 0ef7d3d256c8: Pull complete [2021-01-07T22:24:12.451Z] de9db76c5a1d: Pull complete [2021-01-07T22:24:13.411Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T22:24:13.411Z] a35cf1a2eb13: Download complete [2021-01-07T22:24:14.008Z] bca2f99d35d6: Download complete [2021-01-07T22:24:20.657Z] bca2f99d35d6: Pull complete [2021-01-07T22:24:20.657Z] 93359f2a8cfa: Pull complete [2021-01-07T22:24:20.657Z] 7c6f9722023f: Pull complete [2021-01-07T22:24:24.912Z] a35cf1a2eb13: Pull complete [2021-01-07T22:24:24.912Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T22:24:24.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T22:24:24.912Z] ---> a62c8e92a672 [2021-01-07T22:24:24.912Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-07T22:24:24.912Z] 20.10.0: Pulling from library/docker [2021-01-07T22:24:24.912Z] 05e7bc50f07f: Pulling fs layer [2021-01-07T22:24:24.912Z] 6db28d0fdbf6: Pulling fs layer [2021-01-07T22:24:24.912Z] 292df0bc6bf3: Pulling fs layer [2021-01-07T22:24:24.912Z] 2e060f4bd70b: Pulling fs layer [2021-01-07T22:24:24.912Z] 80e8d568a223: Pulling fs layer [2021-01-07T22:24:24.912Z] 8dc6ef1a942a: Pulling fs layer [2021-01-07T22:24:24.912Z] 2312dd95470a: Pulling fs layer [2021-01-07T22:24:24.912Z] 2e060f4bd70b: Waiting [2021-01-07T22:24:24.912Z] 80e8d568a223: Waiting [2021-01-07T22:24:24.912Z] 8dc6ef1a942a: Waiting [2021-01-07T22:24:24.912Z] 2312dd95470a: Waiting [2021-01-07T22:24:24.912Z] 292df0bc6bf3: Verifying Checksum [2021-01-07T22:24:24.912Z] 292df0bc6bf3: Download complete [2021-01-07T22:24:24.912Z] 6db28d0fdbf6: Verifying Checksum [2021-01-07T22:24:24.912Z] 6db28d0fdbf6: Download complete [2021-01-07T22:24:24.912Z] 05e7bc50f07f: Verifying Checksum [2021-01-07T22:24:24.912Z] 80e8d568a223: Verifying Checksum [2021-01-07T22:24:24.912Z] 80e8d568a223: Download complete [2021-01-07T22:24:24.912Z] 8dc6ef1a942a: Verifying Checksum [2021-01-07T22:24:24.912Z] 8dc6ef1a942a: Download complete [2021-01-07T22:24:24.912Z] 2312dd95470a: Verifying Checksum [2021-01-07T22:24:24.912Z] 2312dd95470a: Download complete [2021-01-07T22:24:24.912Z] 05e7bc50f07f: Pull complete [2021-01-07T22:24:25.496Z] 6db28d0fdbf6: Pull complete [2021-01-07T22:24:25.496Z] 292df0bc6bf3: Pull complete [2021-01-07T22:24:25.761Z] 2e060f4bd70b: Verifying Checksum [2021-01-07T22:24:25.761Z] 2e060f4bd70b: Download complete [2021-01-07T22:24:28.338Z] 2e060f4bd70b: Pull complete [2021-01-07T22:24:28.599Z] 80e8d568a223: Pull complete [2021-01-07T22:24:28.599Z] 8dc6ef1a942a: Pull complete [2021-01-07T22:24:28.868Z] 2312dd95470a: Pull complete [2021-01-07T22:24:28.868Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-07T22:24:28.868Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-07T22:24:30.279Z] ---> 16e4cbfc0595 [2021-01-07T22:24:30.279Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T22:24:30.279Z] ---> Running in aebedab7e873 [2021-01-07T22:24:30.542Z] Removing intermediate container aebedab7e873 [2021-01-07T22:24:30.542Z] ---> 4afe7802bcbd [2021-01-07T22:24:30.542Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-07T22:24:30.542Z] ---> Running in 0c7986546f35 [2021-01-07T22:24:31.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T22:24:32.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T22:24:33.460Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-07T22:24:33.460Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-07T22:24:33.723Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-07T22:24:33.723Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-07T22:24:33.985Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-07T22:24:33.985Z] Executing busybox-1.31.1-r19.trigger [2021-01-07T22:24:33.985Z] OK: 167 MiB in 44 packages [2021-01-07T22:24:34.561Z] Removing intermediate container 0c7986546f35 [2021-01-07T22:24:34.561Z] ---> 217142a62281 [2021-01-07T22:24:34.561Z] Step 6/8 : WORKDIR /build [2021-01-07T22:24:34.561Z] ---> Running in ae9e4f64dc0a [2021-01-07T22:24:34.831Z] Removing intermediate container ae9e4f64dc0a [2021-01-07T22:24:34.831Z] ---> e26aaa68d2a6 [2021-01-07T22:24:34.831Z] Step 7/8 : COPY go.mod . [2021-01-07T22:24:35.093Z] ---> 828f4468587d [2021-01-07T22:24:35.093Z] Step 8/8 : RUN go mod download [2021-01-07T22:24:35.093Z] ---> Running in c2cdb506d0ca [2021-01-07T22:24:57.145Z] Removing intermediate container c2cdb506d0ca [2021-01-07T22:24:57.145Z] ---> 363014443866 [2021-01-07T22:24:57.145Z] Successfully built 363014443866 [2021-01-07T22:24:57.145Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:24:57.470Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T22:24:57.471Z] . [Pipeline] withDockerContainer [2021-01-07T22:24:57.749Z] prd-centos7-docker-4c-2g-18939 does not seem to be running inside a container [2021-01-07T22:24:58.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-07T22:24:58.891Z] $ docker top dc85dc8d46e125274aeedc80e1befbb2bdb909c47db09746e5b0570041377b47 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:24:59.393Z] + go version [2021-01-07T22:24:59.393Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T22:24:59.413Z] $ docker stop --time=1 dc85dc8d46e125274aeedc80e1befbb2bdb909c47db09746e5b0570041377b47 [2021-01-07T22:25:00.744Z] $ docker rm -f dc85dc8d46e125274aeedc80e1befbb2bdb909c47db09746e5b0570041377b47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:25:01.673Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T22:25:01.673Z] . [Pipeline] withDockerContainer [2021-01-07T22:25:01.780Z] prd-centos7-docker-4c-2g-18939 does not seem to be running inside a container [2021-01-07T22:25:01.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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 ******** -e ******** ci-base-image-x86_64 cat [2021-01-07T22:25:02.446Z] $ docker top 17691934fd5a7676e7a56186d28380005cb92cf5bf0b59a3da652ae8948c2165 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:25:02.940Z] + make test [2021-01-07T22:25:02.940Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-07T22:25:04.371Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-07T22:25:12.652Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.049s coverage: 86.2% of statements [2021-01-07T22:25:12.873Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18941 in /w/workspace/ndry_app-functions-sdk-go_PR-618 [Pipeline] { [Pipeline] ws [2021-01-07T22:25:12.928Z] Running in /w/workspace/app-functions-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-01-07T22:25:17.823Z] using credential edgex-jenkins-ssh [2021-01-07T22:25:17.910Z] Cloning the remote Git repository [2021-01-07T22:25:17.995Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:25:18.115Z] > git init /w/workspace/app-functions-sdk-go/9 # timeout=10 [2021-01-07T22:25:19.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.021s coverage: 47.9% of statements [2021-01-07T22:25:19.335Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-07T22:25:19.335Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-07T22:25:19.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.053s coverage: 61.5% of statements [2021-01-07T22:25:19.335Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-07T22:25:18.210Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:25:18.211Z] > git --version # timeout=10 [2021-01-07T22:25:18.231Z] > git --version # 'git version 2.17.1' [2021-01-07T22:25:18.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:25:18.305Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:25:20.334Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.074s coverage: 69.1% of statements [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-07T22:25:20.334Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.009s coverage: 97.7% of statements [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-07T22:25:20.334Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-07T22:25:20.334Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.014s coverage: 8.8% of statements [2021-01-07T22:25:23.250Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T22:25:23.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T22:25:23.296Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T22:25:23.339Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T22:25:23.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:25:23.358Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/618/head:refs/remotes/origin/PR-618 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T22:25:23.917Z] Merging remotes/origin/master commit 2bc84c3391c193cbfeeedf3861e08dddeceafca7 into PR head commit c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [2021-01-07T22:25:24.149Z] Merge succeeded, producing c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [2021-01-07T22:25:24.149Z] Checking out Revision c01cee7987efcdddc5ebf4cc311a38f6cd02a483 (PR-618) [2021-01-07T22:25:23.939Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:25:23.962Z] > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # timeout=10 [2021-01-07T22:25:24.072Z] > git remote # timeout=10 [2021-01-07T22:25:24.094Z] > git config --get remote.origin.url # timeout=10 [2021-01-07T22:25:24.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T22:25:24.117Z] > git merge 2bc84c3391c193cbfeeedf3861e08dddeceafca7 # timeout=10 [2021-01-07T22:25:24.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-07T22:25:24.160Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T22:25:24.180Z] > git checkout -f c01cee7987efcdddc5ebf4cc311a38f6cd02a483 # timeout=10 [2021-01-07T22:25:28.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.939s coverage: 75.0% of statements [2021-01-07T22:25:28.537Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-07T22:25:28.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.014s coverage: 87.9% of statements [2021-01-07T22:25:28.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.026s coverage: 80.5% of statements [2021-01-07T22:25:28.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2021-01-07T22:25:28.587Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T22:25:30.313Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:25:30.819Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T22:25:31.172Z] + sudo service+ docker restart [2021-01-07T22:25:31.172Z] true [Pipeline] unstash [Pipeline] echo [2021-01-07T22:25:33.487Z] ========================================================= [2021-01-07T22:25:33.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T22:25:33.487Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:25:33.883Z] + 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 . [2021-01-07T22:25:34.867Z] Sending build context to Docker daemon 19.06MB [2021-01-07T22:25:34.867Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T22:25:34.867Z] Step 2/8 : FROM ${BASE} [2021-01-07T22:25:35.142Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T22:25:35.142Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T22:25:35.142Z] a4357932f1b6: Pulling fs layer [2021-01-07T22:25:35.142Z] 18c013af1878: Pulling fs layer [2021-01-07T22:25:35.142Z] 00ac8860ef70: Pulling fs layer [2021-01-07T22:25:35.142Z] 63d7cb157983: Pulling fs layer [2021-01-07T22:25:35.142Z] b116817d02f9: Pulling fs layer [2021-01-07T22:25:35.142Z] 745a02a5169b: Pulling fs layer [2021-01-07T22:25:35.142Z] 00ac8860ef70: Waiting [2021-01-07T22:25:35.142Z] 63d7cb157983: Waiting [2021-01-07T22:25:35.142Z] b116817d02f9: Waiting [2021-01-07T22:25:35.142Z] 745a02a5169b: Waiting [2021-01-07T22:25:35.142Z] 18c013af1878: Download complete [2021-01-07T22:25:35.416Z] a4357932f1b6: Verifying Checksum [2021-01-07T22:25:35.416Z] a4357932f1b6: Download complete [2021-01-07T22:25:35.416Z] 63d7cb157983: Verifying Checksum [2021-01-07T22:25:35.416Z] 63d7cb157983: Download complete [2021-01-07T22:25:35.416Z] b116817d02f9: Verifying Checksum [2021-01-07T22:25:35.416Z] b116817d02f9: Download complete [2021-01-07T22:25:35.416Z] 5f621e34cdf4: Verifying Checksum [2021-01-07T22:25:35.416Z] 5f621e34cdf4: Download complete [2021-01-07T22:25:36.019Z] 5f621e34cdf4: Pull complete [2021-01-07T22:25:36.620Z] a4357932f1b6: Pull complete [2021-01-07T22:25:37.607Z] 745a02a5169b: Verifying Checksum [2021-01-07T22:25:37.607Z] 745a02a5169b: Download complete [2021-01-07T22:25:37.879Z] 18c013af1878: Pull complete [2021-01-07T22:25:38.865Z] 00ac8860ef70: Verifying Checksum [2021-01-07T22:25:38.865Z] 00ac8860ef70: Download complete [2021-01-07T22:25:49.070Z] 00ac8860ef70: Pull complete [2021-01-07T22:25:49.070Z] 63d7cb157983: Pull complete [2021-01-07T22:25:49.345Z] b116817d02f9: Pull complete [2021-01-07T22:25:50.581Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.027s coverage: 81.6% of statements [2021-01-07T22:25:50.581Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2021-01-07T22:25:50.581Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-07T22:25:50.853Z] gofmt -l . [2021-01-07T22:25:50.853Z] [ "`gofmt -l .`" = "" ] [2021-01-07T22:25:50.853Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-07T22:25:51.455Z] $ docker stop --time=1 17691934fd5a7676e7a56186d28380005cb92cf5bf0b59a3da652ae8948c2165 [2021-01-07T22:25:53.305Z] $ docker rm -f 17691934fd5a7676e7a56186d28380005cb92cf5bf0b59a3da652ae8948c2165 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:25:53.669Z] 745a02a5169b: Pull complete [2021-01-07T22:25:53.669Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T22:25:53.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T22:25:53.670Z] ---> b7e6874047d6 [2021-01-07T22:25:53.670Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-07T22:25:53.670Z] 20.10.0: Pulling from library/docker [2021-01-07T22:25:53.670Z] a3cc7d3b244e: Pulling fs layer [2021-01-07T22:25:53.670Z] 02a3295e0d61: Pulling fs layer [2021-01-07T22:25:53.670Z] 0f4f2e6d8100: Pulling fs layer [2021-01-07T22:25:53.670Z] 330b718f631f: Pulling fs layer [2021-01-07T22:25:53.670Z] a93816041522: Pulling fs layer [2021-01-07T22:25:53.670Z] bdb6da89ff94: Pulling fs layer [2021-01-07T22:25:53.670Z] 2a70c0c122f4: Pulling fs layer [2021-01-07T22:25:53.670Z] 330b718f631f: Waiting [2021-01-07T22:25:53.670Z] a93816041522: Waiting [2021-01-07T22:25:53.670Z] bdb6da89ff94: Waiting [2021-01-07T22:25:53.670Z] 2a70c0c122f4: Waiting [2021-01-07T22:25:53.670Z] 0f4f2e6d8100: Verifying Checksum [2021-01-07T22:25:53.670Z] 0f4f2e6d8100: Download complete [2021-01-07T22:25:53.670Z] 02a3295e0d61: Verifying Checksum [2021-01-07T22:25:53.670Z] 02a3295e0d61: Download complete [2021-01-07T22:25:53.670Z] a93816041522: Download complete [2021-01-07T22:25:53.670Z] a3cc7d3b244e: Verifying Checksum [2021-01-07T22:25:53.670Z] a3cc7d3b244e: Download complete [2021-01-07T22:25:53.670Z] bdb6da89ff94: Download complete [2021-01-07T22:25:53.670Z] 2a70c0c122f4: Verifying Checksum [2021-01-07T22:25:53.670Z] 2a70c0c122f4: Download complete [2021-01-07T22:25:53.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T22:25:54.268Z] a3cc7d3b244e: Pull complete [2021-01-07T22:25:54.351Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-01-07T22:25:54.870Z] 02a3295e0d61: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T22:25:55.146Z] 330b718f631f: Verifying Checksum [2021-01-07T22:25:55.146Z] 330b718f631f: Download complete [2021-01-07T22:25:55.146Z] 0f4f2e6d8100: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T22:25:59.524Z] 330b718f631f: Pull complete [2021-01-07T22:25:59.524Z] a93816041522: Pull complete [2021-01-07T22:25:59.524Z] bdb6da89ff94: Pull complete [2021-01-07T22:25:59.798Z] 2a70c0c122f4: Pull complete [2021-01-07T22:26:00.071Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-07T22:26:00.071Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-07T22:26:06.796Z] ---> 0fdf86849035 [2021-01-07T22:26:06.796Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T22:26:06.796Z] ---> Running in 6c56f327c81f [2021-01-07T22:26:06.796Z] Removing intermediate container 6c56f327c81f [2021-01-07T22:26:06.796Z] ---> 72474441e122 [2021-01-07T22:26:06.796Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-07T22:26:06.796Z] ---> Running in 1db28570c167 [2021-01-07T22:26:07.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T22:26:09.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T22:26:11.181Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-07T22:26:11.181Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-07T22:26:11.453Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-07T22:26:11.453Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-07T22:26:11.725Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-07T22:26:11.725Z] Executing busybox-1.31.1-r19.trigger [2021-01-07T22:26:11.725Z] OK: 144 MiB in 44 packages [2021-01-07T22:26:13.184Z] Removing intermediate container 1db28570c167 [2021-01-07T22:26:13.184Z] ---> 7a8b4d6caa68 [2021-01-07T22:26:13.184Z] Step 6/8 : WORKDIR /build [2021-01-07T22:26:13.184Z] ---> Running in 4d4bf22dd74e [2021-01-07T22:26:13.789Z] Removing intermediate container 4d4bf22dd74e [2021-01-07T22:26:13.789Z] ---> fbbc63b98254 [2021-01-07T22:26:13.789Z] Step 7/8 : COPY go.mod . [2021-01-07T22:26:14.386Z] ---> 938f9ef51bc4 [2021-01-07T22:26:14.386Z] Step 8/8 : RUN go mod download [2021-01-07T22:26:14.668Z] ---> Running in 5d0b5b1cfadb [2021-01-07T22:26:41.468Z] Removing intermediate container 5d0b5b1cfadb [2021-01-07T22:26:41.468Z] ---> 87ebd867d31e [2021-01-07T22:26:41.468Z] Successfully built 87ebd867d31e [2021-01-07T22:26:41.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:26:41.830Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T22:26:41.830Z] . [Pipeline] withDockerContainer [2021-01-07T22:26:42.162Z] prd-ubuntu18.04-docker-arm64-4c-16g-18941 does not seem to be running inside a container [2021-01-07T22:26:42.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-07T22:26:43.708Z] $ docker top 4e2c8cb19ad98584b1d9e5459906e50be800fff6be6c3a6e2c8f5ab37a3354b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:26:44.704Z] + go version [2021-01-07T22:26:44.704Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T22:26:44.733Z] $ docker stop --time=1 4e2c8cb19ad98584b1d9e5459906e50be800fff6be6c3a6e2c8f5ab37a3354b7 [2021-01-07T22:26:46.679Z] $ docker rm -f 4e2c8cb19ad98584b1d9e5459906e50be800fff6be6c3a6e2c8f5ab37a3354b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:26:47.712Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T22:26:47.712Z] . [Pipeline] withDockerContainer [2021-01-07T22:26:47.983Z] prd-ubuntu18.04-docker-arm64-4c-16g-18941 does not seem to be running inside a container [2021-01-07T22:26:48.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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 ******** -e ******** ci-base-image-arm64 cat [2021-01-07T22:26:49.611Z] $ docker top 21a09029633954b9605f41cf8c44d192df16d2c3a7b6911c44bf2f4306ceb20a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:26:50.611Z] + make test [2021-01-07T22:26:50.611Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-07T22:26:52.048Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-07T22:27:14.256Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.088s coverage: 86.2% of statements [2021-01-07T22:27:41.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.056s coverage: 47.9% of statements [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-07T22:27:41.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.073s coverage: 61.5% of statements [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-07T22:27:41.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.043s coverage: 69.1% of statements [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-07T22:27:41.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.053s coverage: 97.7% of statements [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-07T22:27:41.144Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-07T22:27:41.144Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.026s coverage: 8.8% of statements [2021-01-07T22:27:45.454Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.953s coverage: 75.0% of statements [2021-01-07T22:27:45.454Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-07T22:27:45.455Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.051s coverage: 87.9% of statements [2021-01-07T22:27:45.455Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.054s coverage: 80.5% of statements [2021-01-07T22:27:45.455Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.022s coverage: 71.7% of statements [2021-01-07T22:28:07.676Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.062s coverage: 81.6% of statements [2021-01-07T22:28:07.676Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.020s coverage: 94.4% of statements [2021-01-07T22:28:07.676Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-07T22:28:15.986Z] gofmt -l . [2021-01-07T22:28:15.986Z] [ "`gofmt -l .`" = "" ] [2021-01-07T22:28:16.261Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-07T22:28:16.889Z] $ docker stop --time=1 21a09029633954b9605f41cf8c44d192df16d2c3a7b6911c44bf2f4306ceb20a [2021-01-07T22:28:19.007Z] $ docker rm -f 21a09029633954b9605f41cf8c44d192df16d2c3a7b6911c44bf2f4306ceb20a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T22:28:19.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T22:28:19.995Z] Warning: overwriting stash ‘coverage-report’ [2021-01-07T22:28:20.861Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [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 [2021-01-07T22:28:22.352Z] provisioning config files... [2021-01-07T22:28:22.365Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/config6521224410956157649tmp [Pipeline] { [Pipeline] sh [2021-01-07T22:28:22.748Z] + set +x [2021-01-07T22:28:22.748Z] + curl -s https://codecov.io/bash [2021-01-07T22:28:22.748Z] + bash -s -- [2021-01-07T22:28:23.012Z] [2021-01-07T22:28:23.012Z] _____ _ [2021-01-07T22:28:23.012Z] / ____| | | [2021-01-07T22:28:23.012Z] | | ___ __| | ___ ___ _____ __ [2021-01-07T22:28:23.012Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-07T22:28:23.012Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-07T22:28:23.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-07T22:28:23.012Z] Bash-20201231-23d4836 [2021-01-07T22:28:23.012Z] [2021-01-07T22:28:23.012Z] [2021-01-07T22:28:23.012Z] ==> git version 2.24.3 found [2021-01-07T22:28:23.012Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-07T22:28:23.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-07T22:28:23.012Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-07T22:28:23.012Z] ==> Jenkins CI detected. [2021-01-07T22:28:23.012Z] project root: . [2021-01-07T22:28:23.012Z] --> token set from env [2021-01-07T22:28:23.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-07T22:28:23.012Z] ==> Running gcov in . (disable via -X gcov) [2021-01-07T22:28:23.012Z] ==> Python coveragepy not found [2021-01-07T22:28:23.012Z] ==> Searching for coverage reports in: [2021-01-07T22:28:23.012Z] + . [2021-01-07T22:28:23.012Z] -> Found 1 reports [2021-01-07T22:28:23.012Z] ==> Detecting git/mercurial file structure [2021-01-07T22:28:23.012Z] ==> Reading reports [2021-01-07T22:28:23.012Z] + ./coverage.out bytes=71081 [2021-01-07T22:28:23.012Z] ==> Appending adjustments [2021-01-07T22:28:23.012Z] https://docs.codecov.io/docs/fixing-reports [2021-01-07T22:28:23.274Z] + Found adjustments [2021-01-07T22:28:23.274Z] ==> Gzipping contents [2021-01-07T22:28:23.274Z] 16K /tmp/codecov.Bau2qG.gz [2021-01-07T22:28:23.274Z] ==> Uploading reports [2021-01-07T22:28:23.274Z] url: https://codecov.io [2021-01-07T22:28:23.275Z] query: branch=PR-618&commit=c01cee7987efcdddc5ebf4cc311a38f6cd02a483&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-618%2F9%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=618&job=&cmd_args= [2021-01-07T22:28:23.275Z] -> Pinging Codecov [2021-01-07T22:28:23.275Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-618&commit=c01cee7987efcdddc5ebf4cc311a38f6cd02a483&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-618%2F9%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=618&job=&cmd_args= [2021-01-07T22:28:23.850Z] -> Uploading to [2021-01-07T22:28:23.850Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-07/3D8B5DFFC46A037C893635FACE044666/c01cee7987efcdddc5ebf4cc311a38f6cd02a483/e23ed857-bcb5-4109-826e-85528059e678.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210107T222823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46ce928881c5f24e3922928c0fbf6d5cd133bb66be29d389f9732e287a6134f5 [2021-01-07T22:28:23.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T22:28:23.850Z] Dload Upload Total Spent Left Speed [2021-01-07T22:28:24.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12681 0 0 100 12681 0 26541 --:--:-- --:--:-- --:--:-- 26584 [2021-01-07T22:28:24.425Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c01cee7987efcdddc5ebf4cc311a38f6cd02a483 [Pipeline] } [2021-01-07T22:28:24.437Z] 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 [2021-01-07T22:28:26.894Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:27.462Z] ---> package-listing.sh [2021-01-07T22:28:27.462Z] ++ facter osfamily [2021-01-07T22:28:27.462Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T22:28:27.462Z] + OS_FAMILY=redhat [2021-01-07T22:28:27.462Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-618 [2021-01-07T22:28:27.462Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T22:28:27.462Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T22:28:27.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T22:28:27.462Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T22:28:27.462Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-618 ']' [2021-01-07T22:28:27.462Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T22:28:27.462Z] + case "${OS_FAMILY}" in [2021-01-07T22:28:27.462Z] + rpm -qa [2021-01-07T22:28:27.462Z] + sort [2021-01-07T22:28:32.779Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T22:28:32.779Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T22:28:32.779Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T22:28:32.779Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-618 ']' [2021-01-07T22:28:32.779Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-618/archives/ [2021-01-07T22:28:32.779Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-618/archives/ [Pipeline] echo [2021-01-07T22:28:32.793Z] 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/ndry_app-functions-sdk-go_PR-618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T22:28:33.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:28:33.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:28:33.397Z] [2021-01-07T22:28:33.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T22:28:33.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:28:33.775Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T22:28:33.775Z] df20fa9351a1: Pulling fs layer [2021-01-07T22:28:33.775Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T22:28:33.775Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T22:28:33.775Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T22:28:33.775Z] 93b61091891f: Pulling fs layer [2021-01-07T22:28:33.775Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T22:28:33.775Z] 5e14af77c1be: Pulling fs layer [2021-01-07T22:28:33.775Z] 01666e4c0597: Pulling fs layer [2021-01-07T22:28:33.775Z] aa168da1d23b: Pulling fs layer [2021-01-07T22:28:33.775Z] 46f8f816bc3b: Waiting [2021-01-07T22:28:33.775Z] 93b61091891f: Waiting [2021-01-07T22:28:33.775Z] 93b9cdb0e59b: Waiting [2021-01-07T22:28:33.775Z] 5e14af77c1be: Waiting [2021-01-07T22:28:33.775Z] 01666e4c0597: Waiting [2021-01-07T22:28:33.775Z] aa168da1d23b: Waiting [2021-01-07T22:28:33.775Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T22:28:33.775Z] 36b3adc4ff6f: Download complete [2021-01-07T22:28:33.775Z] 46f8f816bc3b: Download complete [2021-01-07T22:28:33.775Z] df20fa9351a1: Verifying Checksum [2021-01-07T22:28:33.775Z] df20fa9351a1: Download complete [2021-01-07T22:28:33.775Z] 93b9cdb0e59b: Verifying Checksum [2021-01-07T22:28:33.775Z] 93b9cdb0e59b: Download complete [2021-01-07T22:28:34.043Z] 5e14af77c1be: Verifying Checksum [2021-01-07T22:28:34.043Z] 5e14af77c1be: Download complete [2021-01-07T22:28:34.043Z] 01666e4c0597: Verifying Checksum [2021-01-07T22:28:34.043Z] 01666e4c0597: Download complete [2021-01-07T22:28:34.043Z] 93b61091891f: Verifying Checksum [2021-01-07T22:28:34.043Z] 93b61091891f: Download complete [2021-01-07T22:28:34.043Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T22:28:34.043Z] 8ad3a11d3b57: Download complete [2021-01-07T22:28:34.308Z] df20fa9351a1: Pull complete [2021-01-07T22:28:34.587Z] 36b3adc4ff6f: Pull complete [2021-01-07T22:28:35.602Z] 8ad3a11d3b57: Pull complete [2021-01-07T22:28:35.602Z] 46f8f816bc3b: Pull complete [2021-01-07T22:28:36.189Z] 93b61091891f: Pull complete [2021-01-07T22:28:36.189Z] 93b9cdb0e59b: Pull complete [2021-01-07T22:28:36.465Z] 5e14af77c1be: Pull complete [2021-01-07T22:28:36.465Z] aa168da1d23b: Verifying Checksum [2021-01-07T22:28:36.465Z] aa168da1d23b: Download complete [2021-01-07T22:28:36.465Z] 01666e4c0597: Pull complete [2021-01-07T22:28:44.671Z] aa168da1d23b: Pull complete [2021-01-07T22:28:44.671Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T22:28:44.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T22:28:44.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T22:28:44.912Z] prd-centos7-docker-4c-2g-18934 does not seem to be running inside a container [2021-01-07T22:28:44.971Z] $ 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/ndry_app-functions-sdk-go_PR-618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-618 -v /w/workspace/ndry_app-functions-sdk-go_PR-618:/w/workspace/ndry_app-functions-sdk-go_PR-618:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-618@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-618@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T22:28:48.543Z] $ docker top 8f2bec62aa97f21c53d39da1a224e067857a8f8715f0a07f0f9c0654199fa1f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T22:28:49.025Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T22:28:49.327Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T22:28:49.623Z] + ls /var/log/sa-host [2021-01-07T22:28:49.624Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T22:28:49.624Z] file_magic: OK [2021-01-07T22:28:49.624Z] HZ: Using current value: 100 [2021-01-07T22:28:49.624Z] file_header: OK [2021-01-07T22:28:49.624Z] 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 [2021-01-07T22:28:49.624Z] Statistics: [2021-01-07T22:28:49.624Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-07T22:28:49.624Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T22:28:49.624Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T22:28:49.624Z] file_magic: OK [2021-01-07T22:28:49.624Z] HZ: Using current value: 100 [2021-01-07T22:28:49.624Z] file_header: OK [2021-01-07T22:28:49.624Z] 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 [2021-01-07T22:28:49.624Z] Statistics: [2021-01-07T22:28:49.624Z] Hnuu...uuuununununu... [2021-01-07T22:28:49.624Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T22:28:49.831Z] provisioning config files... [2021-01-07T22:28:49.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-618@tmp/config6820334658818858692tmp [Pipeline] { [Pipeline] echo [2021-01-07T22:28:49.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:50.263Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T22:28:50.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T22:28:50.365Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:50.667Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T22:28:50.678Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:50.974Z] ---> sudo-logs.sh [2021-01-07T22:28:50.974Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T22:28:50.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:51.281Z] ---> job-cost.sh [2021-01-07T22:28:51.281Z] lf-activate-venv: SKIPPING [2021-01-07T22:28:51.281Z] INFO: No Stack... [2021-01-07T22:28:52.227Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T22:28:52.802Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T22:28:52.816Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T22:28:53.113Z] ---> logs-deploy.sh [2021-01-07T22:28:53.113Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-618/9 [2021-01-07T22:28:53.113Z] INFO: archiving workspace using pattern(s): [2021-01-07T22:28:55.033Z] Archives upload complete. [2021-01-07T22:28:55.034Z] INFO: archiving logs to Nexus [2021-01-07T22:28:55.980Z] ---> uname -a: [2021-01-07T22:28:55.980Z] Linux prd-centos7-docker-4c-2g-18934.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> lscpu: [2021-01-07T22:28:55.980Z] Architecture: x86_64 [2021-01-07T22:28:55.980Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-07T22:28:55.980Z] Byte Order: Little Endian [2021-01-07T22:28:55.980Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-07T22:28:55.980Z] CPU(s): 4 [2021-01-07T22:28:55.980Z] On-line CPU(s) list: 0-3 [2021-01-07T22:28:55.980Z] Thread(s) per core: 1 [2021-01-07T22:28:55.980Z] Core(s) per socket: 1 [2021-01-07T22:28:55.980Z] Socket(s): 4 [2021-01-07T22:28:55.980Z] NUMA node(s): 1 [2021-01-07T22:28:55.980Z] Vendor ID: GenuineIntel [2021-01-07T22:28:55.980Z] CPU family: 6 [2021-01-07T22:28:55.980Z] Model: 44 [2021-01-07T22:28:55.980Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-07T22:28:55.980Z] Stepping: 1 [2021-01-07T22:28:55.980Z] CPU MHz: 2933.442 [2021-01-07T22:28:55.980Z] BogoMIPS: 5866.88 [2021-01-07T22:28:55.980Z] Virtualization: VT-x [2021-01-07T22:28:55.980Z] Hypervisor vendor: KVM [2021-01-07T22:28:55.980Z] Virtualization type: full [2021-01-07T22:28:55.980Z] L1d cache: 128 KiB [2021-01-07T22:28:55.980Z] L1i cache: 128 KiB [2021-01-07T22:28:55.980Z] L2 cache: 16 MiB [2021-01-07T22:28:55.980Z] L3 cache: 64 MiB [2021-01-07T22:28:55.980Z] NUMA node0 CPU(s): 0-3 [2021-01-07T22:28:55.980Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-07T22:28:55.980Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-07T22:28:55.980Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-07T22:28:55.980Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-07T22:28:55.980Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-07T22:28:55.980Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-07T22:28:55.980Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-07T22:28:55.980Z] Vulnerability Srbds: Not affected [2021-01-07T22:28:55.980Z] Vulnerability Tsx async abort: Not affected [2021-01-07T22:28:55.980Z] 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 [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> nproc: [2021-01-07T22:28:55.980Z] 4 [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> df -h: [2021-01-07T22:28:55.980Z] Filesystem Size Used Available Use% Mounted on [2021-01-07T22:28:55.980Z] overlay 50.0G 7.3G 42.7G 15% / [2021-01-07T22:28:55.980Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-07T22:28:55.980Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-07T22:28:55.980Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-618 [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-618@tmp [2021-01-07T22:28:55.980Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> free -m: [2021-01-07T22:28:55.980Z] total used free shared buff/cache available [2021-01-07T22:28:55.980Z] Mem: 1837 703 108 0 1024 1028 [2021-01-07T22:28:55.980Z] Swap: 1023 1 1022 [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> ip addr: [2021-01-07T22:28:55.980Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-01-07T22:28:55.980Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-01-07T22:28:55.980Z] inet 127.0.0.1/8 scope host lo [2021-01-07T22:28:55.980Z] valid_lft forever preferred_lft forever [2021-01-07T22:28:55.980Z] inet6 ::1/128 scope host [2021-01-07T22:28:55.980Z] valid_lft forever preferred_lft forever [2021-01-07T22:28:55.980Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-01-07T22:28:55.980Z] link/ether fa:16:3e:b5:0b:1e brd ff:ff:ff:ff:ff:ff [2021-01-07T22:28:55.980Z] inet 10.30.123.108/23 brd 10.30.123.255 scope global dynamic eth0 [2021-01-07T22:28:55.980Z] valid_lft 85936sec preferred_lft 85936sec [2021-01-07T22:28:55.980Z] inet6 fe80::f816:3eff:feb5:b1e/64 scope link [2021-01-07T22:28:55.980Z] valid_lft forever preferred_lft forever [2021-01-07T22:28:55.980Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-01-07T22:28:55.980Z] link/ether 02:42:00:af:6d:7a brd ff:ff:ff:ff:ff:ff [2021-01-07T22:28:55.980Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-01-07T22:28:55.980Z] valid_lft forever preferred_lft forever [2021-01-07T22:28:55.980Z] inet6 fe80::42:ff:feaf:6d7a/64 scope link [2021-01-07T22:28:55.980Z] valid_lft forever preferred_lft forever [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] ---> sar -b -r -n DEV: [2021-01-07T22:28:55.980Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/07/21 _x86_64_ (4 CPU) [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] 22:20:59 LINUX RESTART (4 CPU) [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] 22:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-01-07T22:28:55.980Z] 22:23:01 14.07 5.01 9.06 0.00 386.48 1375.40 0.00 [2021-01-07T22:28:55.980Z] 22:24:01 0.53 0.00 0.53 0.00 0.00 8.81 0.00 [2021-01-07T22:28:55.980Z] 22:25:01 0.18 0.00 0.18 0.00 0.00 2.15 0.00 [2021-01-07T22:28:55.980Z] 22:26:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 [2021-01-07T22:28:55.980Z] 22:27:01 0.22 0.00 0.22 0.00 0.00 4.11 0.00 [2021-01-07T22:28:55.980Z] 22:28:01 0.30 0.00 0.30 0.00 0.00 3.31 0.00 [2021-01-07T22:28:55.980Z] Average: 2.59 0.84 1.76 0.00 64.43 232.92 0.00 [2021-01-07T22:28:55.980Z] [2021-01-07T22:28:55.980Z] 22:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-01-07T22:28:55.980Z] 22:23:01 226648 0 598132 31.79 2620 1054144 1120448 38.24 404908 1051344 8 [2021-01-07T22:28:55.980Z] 22:24:01 229500 0 595272 31.64 2620 1054152 1077116 36.76 407384 1046528 20 [2021-01-07T22:28:55.981Z] 22:25:01 229436 0 595332 31.64 2620 1054156 1077128 36.76 408128 1045756 8 [2021-01-07T22:28:55.981Z] 22:26:01 227656 0 597112 31.74 2620 1054156 1077188 36.76 410688 1045260 16 [2021-01-07T22:28:55.981Z] 22:27:01 227912 0 596848 31.72 2620 1054164 1077436 36.77 418524 1037068 12 [2021-01-07T22:28:55.981Z] 22:28:01 229484 0 595272 31.64 2620 1054168 1077304 36.77 417708 1037068 12 [2021-01-07T22:28:55.981Z] Average: 228439 0 596328 31.69 2620 1054157 1084437 37.01 411223 1043837 13 [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] 22:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-01-07T22:28:55.981Z] 22:23:01 eth0 139.97 141.09 328.98 29.39 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:23:01 docker0 123.86 109.69 9.91 306.81 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:24:01 eth0 2.43 0.40 0.47 0.18 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:25:01 eth0 3.55 0.30 0.54 0.23 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:26:01 eth0 3.21 0.97 1.18 0.78 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:27:01 eth0 1.17 0.68 0.67 0.46 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:28:01 eth0 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] 22:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] Average: eth0 25.07 23.91 55.32 5.17 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] Average: docker0 20.65 18.29 1.65 51.15 0.00 0.00 0.00 0.00 [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] ---> sar -P ALL: [2021-01-07T22:28:55.981Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/07/21 _x86_64_ (4 CPU) [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] 22:20:59 LINUX RESTART (4 CPU) [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] 22:22:01 CPU %user %nice %system %iowait %steal %idle [2021-01-07T22:28:55.981Z] 22:23:01 all 1.96 0.00 0.94 0.22 0.01 96.87 [2021-01-07T22:28:55.981Z] 22:23:01 0 1.74 0.00 1.07 0.67 0.02 96.50 [2021-01-07T22:28:55.981Z] 22:23:01 1 2.01 0.00 0.84 0.02 0.00 97.14 [2021-01-07T22:28:55.981Z] 22:23:01 2 1.89 0.00 0.79 0.03 0.02 97.28 [2021-01-07T22:28:55.981Z] 22:23:01 3 2.19 0.00 1.07 0.17 0.02 96.55 [2021-01-07T22:28:55.981Z] 22:24:01 all 0.15 0.00 0.06 0.00 0.00 99.79 [2021-01-07T22:28:55.981Z] 22:24:01 0 0.05 0.00 0.07 0.00 0.00 99.88 [2021-01-07T22:28:55.981Z] 22:24:01 1 0.13 0.00 0.10 0.00 0.00 99.77 [2021-01-07T22:28:55.981Z] 22:24:01 2 0.38 0.00 0.05 0.00 0.00 99.57 [2021-01-07T22:28:55.981Z] 22:24:01 3 0.02 0.00 0.03 0.00 0.00 99.95 [2021-01-07T22:28:55.981Z] 22:25:01 all 0.14 0.00 0.04 0.00 0.01 99.81 [2021-01-07T22:28:55.981Z] 22:25:01 0 0.33 0.00 0.03 0.00 0.02 99.62 [2021-01-07T22:28:55.981Z] 22:25:01 1 0.10 0.00 0.02 0.00 0.00 99.88 [2021-01-07T22:28:55.981Z] 22:25:01 2 0.10 0.00 0.07 0.00 0.02 99.82 [2021-01-07T22:28:55.981Z] 22:25:01 3 0.02 0.00 0.05 0.00 0.02 99.92 [2021-01-07T22:28:55.981Z] 22:26:01 all 0.09 0.00 0.07 0.00 0.00 99.84 [2021-01-07T22:28:55.981Z] 22:26:01 0 0.08 0.00 0.10 0.00 0.00 99.82 [2021-01-07T22:28:55.981Z] 22:26:01 1 0.08 0.00 0.03 0.00 0.02 99.87 [2021-01-07T22:28:55.981Z] 22:26:01 2 0.10 0.00 0.08 0.00 0.00 99.82 [2021-01-07T22:28:55.981Z] 22:26:01 3 0.10 0.00 0.05 0.00 0.00 99.85 [2021-01-07T22:28:55.981Z] 22:27:01 all 0.19 0.00 0.14 0.00 0.00 99.67 [2021-01-07T22:28:55.981Z] 22:27:01 0 0.55 0.00 0.07 0.00 0.00 99.38 [2021-01-07T22:28:55.981Z] 22:27:01 1 0.07 0.00 0.13 0.00 0.00 99.80 [2021-01-07T22:28:55.981Z] 22:27:01 2 0.10 0.00 0.10 0.00 0.00 99.80 [2021-01-07T22:28:55.981Z] 22:27:01 3 0.05 0.00 0.25 0.00 0.02 99.68 [2021-01-07T22:28:55.981Z] 22:28:01 all 0.15 0.00 0.04 0.00 0.00 99.81 [2021-01-07T22:28:55.981Z] 22:28:01 0 0.52 0.00 0.03 0.00 0.00 99.45 [2021-01-07T22:28:55.981Z] 22:28:01 1 0.05 0.00 0.07 0.00 0.00 99.88 [2021-01-07T22:28:55.981Z] 22:28:01 2 0.02 0.00 0.03 0.00 0.00 99.95 [2021-01-07T22:28:55.981Z] 22:28:01 3 0.02 0.00 0.02 0.00 0.00 99.97 [2021-01-07T22:28:55.981Z] Average: all 0.44 0.00 0.21 0.04 0.01 99.30 [2021-01-07T22:28:55.981Z] Average: 0 0.55 0.00 0.23 0.11 0.01 99.11 [2021-01-07T22:28:55.981Z] Average: 1 0.41 0.00 0.20 0.00 0.00 99.39 [2021-01-07T22:28:55.981Z] Average: 2 0.43 0.00 0.19 0.01 0.01 99.37 [2021-01-07T22:28:55.981Z] Average: 3 0.40 0.00 0.24 0.03 0.01 99.32 [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z] [2021-01-07T22:28:55.981Z]