Pull request #587 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at e5100d529b58d0c19d0905c9fafb19f11d5acd53 rather than cebda27dbbbe00994d9e59a713edc86daf18d80f Obtained Jenkinsfile from e5100d529b58d0c19d0905c9fafb19f11d5acd53 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14707’ Running on prd-centos7-docker-4c-2g-14731 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [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-587 # 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 Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f > 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/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 Commit message: "feat(sdk): Enable Custom Trigger Registration" First time build. Skipping changelog. > git rev-list --no-walk 0a8f667e5147b88d5be680ea23d57e843ef5ca93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-06T20:38:32.357Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-06T20:38:32.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-06T20:38:32.736Z] ========================================================= [2020-12-06T20:38:32.736Z] EdgeX Global Pipelines Version Info [2020-12-06T20:38:32.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:38:34.294Z] ------------------- [2020-12-06T20:38:34.294Z] stable info: [2020-12-06T20:38:34.294Z] ------------------- [2020-12-06T20:38:34.294Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-06T20:38:34.294Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-06T20:38:34.294Z] Message: update stable to v1.0.169 [2020-12-06T20:38:35.240Z] ------------------- [2020-12-06T20:38:35.240Z] experimental info: [2020-12-06T20:38:35.240Z] ------------------- [2020-12-06T20:38:35.240Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-06T20:38:35.240Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-06T20:38:35.240Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-06T20:38:35.489Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-06T20:38:35.579Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-06T20:38:35.670Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-06T20:38:35.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-06T20:38:35.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-06T20:38:35.942Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-06T20:38:36.031Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-06T20:38:36.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-06T20:38:36.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-06T20:38:36.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-06T20:38:36.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-06T20:38:36.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-06T20:38:36.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-06T20:38:36.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-06T20:38:36.738Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-06T20:38:36.849Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-06T20:38:36.949Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-06T20:38:37.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-06T20:38:37.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-06T20:38:37.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-06T20:38:37.309Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-06T20:38:37.396Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-06T20:38:37.518Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-06T20:38:37.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-06T20:38:37.697Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-06T20:38:37.788Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-06T20:38:37.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo [2020-12-06T20:38:37.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo [2020-12-06T20:38:38.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo [2020-12-06T20:38:38.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] echo [2020-12-06T20:38:38.225Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cebda27 [Pipeline] echo [2020-12-06T20:38:38.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-06T20:38:39.019Z] + git log --format=format:%s -1 cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] echo [2020-12-06T20:38:39.097Z] GIT_COMMIT: cebda27dbbbe00994d9e59a713edc86daf18d80f, Commit Message: feat(sdk): Enable Custom Trigger Registration [Pipeline] echo [2020-12-06T20:38:39.151Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:38:39.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-06T20:38:40.011Z] [2020-12-06T20:38:40.011Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:38:40.382Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-06T20:38:40.382Z] latest: Pulling from edgex-devops/git-semver [2020-12-06T20:38:40.382Z] 31603596830f: Pulling fs layer [2020-12-06T20:38:40.382Z] 2a8b12db71e7: Pulling fs layer [2020-12-06T20:38:40.382Z] 6ca5941a6612: Pulling fs layer [2020-12-06T20:38:40.382Z] ecc8261a40a4: Pulling fs layer [2020-12-06T20:38:40.382Z] ecc8261a40a4: Waiting [2020-12-06T20:38:40.382Z] 2a8b12db71e7: Verifying Checksum [2020-12-06T20:38:40.382Z] 2a8b12db71e7: Download complete [2020-12-06T20:38:40.382Z] 31603596830f: Verifying Checksum [2020-12-06T20:38:40.382Z] 31603596830f: Download complete [2020-12-06T20:38:40.647Z] 6ca5941a6612: Verifying Checksum [2020-12-06T20:38:40.647Z] 6ca5941a6612: Download complete [2020-12-06T20:38:40.913Z] 31603596830f: Pull complete [2020-12-06T20:38:40.913Z] ecc8261a40a4: Verifying Checksum [2020-12-06T20:38:40.913Z] ecc8261a40a4: Download complete [2020-12-06T20:38:40.913Z] 2a8b12db71e7: Pull complete [2020-12-06T20:38:41.872Z] 6ca5941a6612: Pull complete [2020-12-06T20:38:42.136Z] ecc8261a40a4: Pull complete [2020-12-06T20:38:42.136Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-06T20:38:42.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-06T20:38:42.136Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-06T20:38:42.248Z] prd-centos7-docker-4c-2g-14731 does not seem to be running inside a container [2020-12-06T20:38:42.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-06T20:38:44.378Z] $ docker top f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-06T20:38:44.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-06T20:38:44.673Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-06T20:38:44.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-06T20:38:44.919Z] $ docker exec f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent [2020-12-06T20:38:45.089Z] SSH_AUTH_SOCK=/tmp/ssh-5o3Sa0ibVXet/agent.11 [2020-12-06T20:38:45.089Z] SSH_AGENT_PID=16 [2020-12-06T20:38:45.101Z] Running ssh-add (command line suppressed) [2020-12-06T20:38:45.222Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7159937184351758355.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7159937184351758355.key) [2020-12-06T20:38:45.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-06T20:38:45.616Z] + git tag --points-at HEAD [Pipeline] } [2020-12-06T20:38:45.640Z] $ docker exec --env ******** --env ******** f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent -k [2020-12-06T20:38:45.751Z] unset SSH_AUTH_SOCK; [2020-12-06T20:38:45.752Z] unset SSH_AGENT_PID; [2020-12-06T20:38:45.752Z] echo Agent pid 16 killed; [2020-12-06T20:38:45.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-06T20:38:45.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-06T20:38:45.987Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-06T20:38:46.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-06T20:38:46.149Z] $ docker exec f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent [2020-12-06T20:38:46.307Z] SSH_AUTH_SOCK=/tmp/ssh-qjGK3W0nexuo/agent.44 [2020-12-06T20:38:46.307Z] SSH_AGENT_PID=49 [2020-12-06T20:38:46.315Z] Running ssh-add (command line suppressed) [2020-12-06T20:38:46.435Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2155841850233535925.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_2155841850233535925.key) [2020-12-06T20:38:46.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-06T20:38:46.820Z] + git semver init [2020-12-06T20:38:46.820Z] # -> Open(): unable to determine branch for HEAD [2020-12-06T20:38:46.820Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.git [2020-12-06T20:38:46.820Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-587 [2020-12-06T20:38:46.820Z] # $SEMVER_REMOTE_NAME = origin [2020-12-06T20:38:46.820Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-06T20:38:46.820Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-06T20:38:46.820Z] # $SEMVER_BRANCH = PR-587 [2020-12-06T20:38:46.820Z] # $SEMVER_TEMP = /tmp/semver-414121502 [2020-12-06T20:38:46.820Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-06T20:38:49.392Z] # '/tmp/semver-414121502' -> '/w/workspace/ndry_app-functions-sdk-go_PR-587/.semver' [2020-12-06T20:38:49.392Z] # -> Force: false [2020-12-06T20:38:49.392Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.semver [Pipeline] } [2020-12-06T20:38:49.409Z] $ docker exec --env ******** --env ******** f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 ssh-agent -k [2020-12-06T20:38:49.532Z] unset SSH_AUTH_SOCK; [2020-12-06T20:38:49.533Z] unset SSH_AGENT_PID; [2020-12-06T20:38:49.533Z] echo Agent pid 49 killed; [2020-12-06T20:38:49.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-06T20:38:50.054Z] + git semver [Pipeline] } [2020-12-06T20:38:50.073Z] $ docker stop --time=1 f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 [2020-12-06T20:38:51.528Z] $ docker rm -f f2ab21893e7979dd3ab80932ace23aae6a42fffb4215e50c76b85996b0ed1bf0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-06T20:38:52.041Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-06T20:38:52.571Z] Stashed 1 file(s) [Pipeline] echo [2020-12-06T20:38:52.574Z] [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 [2020-12-06T20:39:07.667Z] Running on prd-centos7-docker-4c-2g-14732 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws [2020-12-06T20:39:07.720Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-06T20:39:08.064Z] Still waiting to schedule task [2020-12-06T20:39:08.064Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-06T20:39:10.131Z] using credential edgex-jenkins-ssh [2020-12-06T20:39:10.182Z] Cloning the remote Git repository [2020-12-06T20:39:10.211Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:39:10.280Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-12-06T20:39:10.339Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:39:10.339Z] > git --version # timeout=10 [2020-12-06T20:39:10.345Z] > git --version # 'git version 2.24.3' [2020-12-06T20:39:10.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:39:10.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-06T20:39:12.366Z] Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f [2020-12-06T20:39:12.463Z] Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f [2020-12-06T20:39:12.464Z] Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) [2020-12-06T20:39:11.866Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-06T20:39:11.872Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-06T20:39:11.881Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-06T20:39:11.893Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:39:11.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:39:11.898Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-06T20:39:12.377Z] > git config core.sparsecheckout # timeout=10 [2020-12-06T20:39:12.382Z] > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 [2020-12-06T20:39:12.432Z] > git remote # timeout=10 [2020-12-06T20:39:12.437Z] > git config --get remote.origin.url # timeout=10 [2020-12-06T20:39:12.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:39:12.445Z] > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 [2020-12-06T20:39:12.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-06T20:39:12.469Z] > git config core.sparsecheckout # timeout=10 [2020-12-06T20:39:12.474Z] > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 [2020-12-06T20:39:16.061Z] Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-06T20:39:17.353Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-06T20:39:17.706Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-06T20:39:18.007Z] + sudo service docker restart [2020-12-06T20:39:18.007Z] + true [2020-12-06T20:39:18.007Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-06T20:39:19.174Z] ========================================================= [2020-12-06T20:39:19.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-06T20:39:19.175Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:39:19.524Z] + 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 . [2020-12-06T20:39:20.101Z] Sending build context to Docker daemon 19.22MB [2020-12-06T20:39:20.101Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-06T20:39:20.101Z] Step 2/8 : FROM ${BASE} [2020-12-06T20:39:20.101Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-06T20:39:20.101Z] 188c0c94c7c5: Pulling fs layer [2020-12-06T20:39:20.101Z] 0ef7d3d256c8: Pulling fs layer [2020-12-06T20:39:20.101Z] de9db76c5a1d: Pulling fs layer [2020-12-06T20:39:20.101Z] bca2f99d35d6: Pulling fs layer [2020-12-06T20:39:20.101Z] 93359f2a8cfa: Pulling fs layer [2020-12-06T20:39:20.101Z] 7c6f9722023f: Pulling fs layer [2020-12-06T20:39:20.101Z] a35cf1a2eb13: Pulling fs layer [2020-12-06T20:39:20.101Z] bca2f99d35d6: Waiting [2020-12-06T20:39:20.101Z] 93359f2a8cfa: Waiting [2020-12-06T20:39:20.101Z] a35cf1a2eb13: Waiting [2020-12-06T20:39:20.101Z] 7c6f9722023f: Waiting [2020-12-06T20:39:20.101Z] de9db76c5a1d: Verifying Checksum [2020-12-06T20:39:20.101Z] de9db76c5a1d: Download complete [2020-12-06T20:39:20.101Z] 0ef7d3d256c8: Verifying Checksum [2020-12-06T20:39:20.101Z] 0ef7d3d256c8: Download complete [2020-12-06T20:39:20.101Z] 93359f2a8cfa: Verifying Checksum [2020-12-06T20:39:20.101Z] 93359f2a8cfa: Download complete [2020-12-06T20:39:20.101Z] 7c6f9722023f: Verifying Checksum [2020-12-06T20:39:20.101Z] 7c6f9722023f: Download complete [2020-12-06T20:39:20.368Z] 188c0c94c7c5: Verifying Checksum [2020-12-06T20:39:20.368Z] 188c0c94c7c5: Download complete [2020-12-06T20:39:20.637Z] 188c0c94c7c5: Pull complete [2020-12-06T20:39:20.637Z] 0ef7d3d256c8: Pull complete [2020-12-06T20:39:20.903Z] de9db76c5a1d: Pull complete [2020-12-06T20:39:21.851Z] a35cf1a2eb13: Verifying Checksum [2020-12-06T20:39:21.851Z] a35cf1a2eb13: Download complete [2020-12-06T20:39:22.805Z] bca2f99d35d6: Verifying Checksum [2020-12-06T20:39:22.805Z] bca2f99d35d6: Download complete [2020-12-06T20:39:28.140Z] bca2f99d35d6: Pull complete [2020-12-06T20:39:28.140Z] 93359f2a8cfa: Pull complete [2020-12-06T20:39:28.140Z] 7c6f9722023f: Pull complete [2020-12-06T20:39:34.766Z] a35cf1a2eb13: Pull complete [2020-12-06T20:39:34.766Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-06T20:39:34.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-06T20:39:34.766Z] ---> a62c8e92a672 [2020-12-06T20:39:34.766Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-06T20:39:35.343Z] latest: Pulling from library/docker [2020-12-06T20:39:35.605Z] 188c0c94c7c5: Already exists [2020-12-06T20:39:35.605Z] 0c7c675703d6: Pulling fs layer [2020-12-06T20:39:35.605Z] cc8c12a437cb: Pulling fs layer [2020-12-06T20:39:35.605Z] f092543453df: Pulling fs layer [2020-12-06T20:39:35.605Z] 65b6bc45957d: Pulling fs layer [2020-12-06T20:39:35.605Z] 4de832df471b: Pulling fs layer [2020-12-06T20:39:35.605Z] 79aa7fa92271: Pulling fs layer [2020-12-06T20:39:35.605Z] 4de832df471b: Waiting [2020-12-06T20:39:35.605Z] 79aa7fa92271: Waiting [2020-12-06T20:39:35.605Z] 65b6bc45957d: Waiting [2020-12-06T20:39:35.605Z] cc8c12a437cb: Verifying Checksum [2020-12-06T20:39:35.605Z] cc8c12a437cb: Download complete [2020-12-06T20:39:35.605Z] 0c7c675703d6: Download complete [2020-12-06T20:39:35.869Z] 65b6bc45957d: Verifying Checksum [2020-12-06T20:39:35.869Z] 65b6bc45957d: Download complete [2020-12-06T20:39:35.869Z] 4de832df471b: Verifying Checksum [2020-12-06T20:39:35.869Z] 4de832df471b: Download complete [2020-12-06T20:39:35.869Z] 0c7c675703d6: Pull complete [2020-12-06T20:39:35.869Z] 79aa7fa92271: Verifying Checksum [2020-12-06T20:39:35.869Z] 79aa7fa92271: Download complete [2020-12-06T20:39:36.133Z] cc8c12a437cb: Pull complete [2020-12-06T20:39:40.358Z] f092543453df: Verifying Checksum [2020-12-06T20:39:40.358Z] f092543453df: Download complete [2020-12-06T20:39:42.280Z] f092543453df: Pull complete [2020-12-06T20:39:42.280Z] 65b6bc45957d: Pull complete [2020-12-06T20:39:42.280Z] 4de832df471b: Pull complete [2020-12-06T20:39:42.543Z] 79aa7fa92271: Pull complete [2020-12-06T20:39:42.543Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-06T20:39:42.543Z] Status: Downloaded newer image for docker:latest [2020-12-06T20:39:43.941Z] ---> c536c3c8bef5 [2020-12-06T20:39:43.941Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-06T20:39:44.204Z] ---> Running in 7ef877886cb9 [2020-12-06T20:39:44.204Z] Removing intermediate container 7ef877886cb9 [2020-12-06T20:39:44.204Z] ---> c6e8adbb54b9 [2020-12-06T20:39:44.204Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-06T20:39:44.204Z] ---> Running in 5ccb0250fb31 [2020-12-06T20:39:45.150Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-06T20:39:45.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-06T20:39:46.309Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-06T20:39:46.309Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-06T20:39:46.309Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-06T20:39:46.309Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-06T20:39:46.572Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-06T20:39:46.572Z] Executing busybox-1.31.1-r19.trigger [2020-12-06T20:39:46.572Z] OK: 167 MiB in 44 packages [2020-12-06T20:39:47.151Z] Removing intermediate container 5ccb0250fb31 [2020-12-06T20:39:47.151Z] ---> b9732173641b [2020-12-06T20:39:47.151Z] Step 6/8 : WORKDIR /build [2020-12-06T20:39:47.151Z] ---> Running in 4cde7f38bd9d [2020-12-06T20:39:47.419Z] Removing intermediate container 4cde7f38bd9d [2020-12-06T20:39:47.419Z] ---> 290de4c07577 [2020-12-06T20:39:47.419Z] Step 7/8 : COPY go.mod . [2020-12-06T20:39:47.681Z] ---> bd8856d7447a [2020-12-06T20:39:47.682Z] Step 8/8 : RUN go mod download [2020-12-06T20:39:47.682Z] ---> Running in fc633d6698bb [2020-12-06T20:40:14.315Z] Removing intermediate container fc633d6698bb [2020-12-06T20:40:14.315Z] ---> eb6a57322495 [2020-12-06T20:40:14.315Z] Successfully built eb6a57322495 [2020-12-06T20:40:14.315Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:40:14.629Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-06T20:40:14.629Z] . [Pipeline] withDockerContainer [2020-12-06T20:40:14.747Z] prd-centos7-docker-4c-2g-14732 does not seem to be running inside a container [2020-12-06T20:40:14.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2020-12-06T20:40:15.830Z] $ docker top 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-06T20:40:16.388Z] + go version [2020-12-06T20:40:16.388Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-06T20:40:16.405Z] $ docker stop --time=1 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 [2020-12-06T20:40:17.724Z] $ docker rm -f 42b55908a35c023679d161552d5dfcd37fbf56c3378aa3e8bcb3f4f9d9941929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:40:18.610Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-06T20:40:18.610Z] . [Pipeline] withDockerContainer [2020-12-06T20:40:18.706Z] prd-centos7-docker-4c-2g-14732 does not seem to be running inside a container [2020-12-06T20:40:18.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2020-12-06T20:40:19.338Z] $ docker top c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-06T20:40:19.810Z] + make test [2020-12-06T20:40:19.810Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-06T20:40:21.751Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-06T20:40:28.451Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.046s coverage: 86.2% of statements [2020-12-06T20:40:46.692Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.030s coverage: 53.1% of statements [2020-12-06T20:40:46.692Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-06T20:40:46.692Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-06T20:40:46.692Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.046s coverage: 54.7% of statements [2020-12-06T20:40:46.692Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-06T20:40:46.692Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.038s coverage: 69.1% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.424s coverage: 61.6% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.004s coverage: 100.0% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.016s coverage: 100.0% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.924s coverage: 75.0% of statements [2020-12-06T20:40:56.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.008s coverage: 88.9% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.011s coverage: 80.5% of statements [2020-12-06T20:40:56.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-12-06T20:41:00.030Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14734 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws [2020-12-06T20:41:00.155Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-06T20:41:05.424Z] using credential edgex-jenkins-ssh [2020-12-06T20:41:05.492Z] Cloning the remote Git repository [2020-12-06T20:41:05.565Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:41:05.672Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2020-12-06T20:41:05.749Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:41:05.750Z] > git --version # timeout=10 [2020-12-06T20:41:05.772Z] > git --version # 'git version 2.17.1' [2020-12-06T20:41:05.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:41:05.857Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-06T20:41:08.739Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-06T20:41:08.758Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-06T20:41:08.784Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-06T20:41:08.823Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-06T20:41:08.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:41:08.837Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-06T20:41:09.546Z] Merging remotes/origin/master commit e5100d529b58d0c19d0905c9fafb19f11d5acd53 into PR head commit cebda27dbbbe00994d9e59a713edc86daf18d80f [2020-12-06T20:41:09.775Z] Merge succeeded, producing cebda27dbbbe00994d9e59a713edc86daf18d80f [2020-12-06T20:41:09.775Z] Checking out Revision cebda27dbbbe00994d9e59a713edc86daf18d80f (PR-587) [2020-12-06T20:41:09.567Z] > git config core.sparsecheckout # timeout=10 [2020-12-06T20:41:09.578Z] > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 [2020-12-06T20:41:09.686Z] > git remote # timeout=10 [2020-12-06T20:41:09.707Z] > git config --get remote.origin.url # timeout=10 [2020-12-06T20:41:09.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-06T20:41:09.731Z] > git merge e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 [2020-12-06T20:41:09.753Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-06T20:41:09.783Z] > git config core.sparsecheckout # timeout=10 [2020-12-06T20:41:09.830Z] > git checkout -f cebda27dbbbe00994d9e59a713edc86daf18d80f # timeout=10 [2020-12-06T20:41:14.178Z] Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [2020-12-06T20:41:14.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.030s coverage: 71.0% of statements [2020-12-06T20:41:14.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-06T20:41:14.855Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-06T20:41:15.829Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-06T20:41:16.233Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-06T20:41:16.641Z] + + sudo service dockertrue restart [2020-12-06T20:41:16.641Z] [2020-12-06T20:41:16.804Z] gofmt -l . [2020-12-06T20:41:17.071Z] [ "`gofmt -l .`" = "" ] [2020-12-06T20:41:17.071Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-06T20:41:17.667Z] $ docker stop --time=1 c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 [2020-12-06T20:41:19.420Z] $ docker rm -f c2825e9a60dbfd5d6f3bb9c12a02f040bd6346af5c40837df8a8bc339f08f707 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] unstash [Pipeline] echo [2020-12-06T20:41:19.962Z] ========================================================= [2020-12-06T20:41:19.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-06T20:41:19.962Z] ========================================================= [2020-12-06T20:41:19.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:41:20.394Z] Stashed 1 file(s) [Pipeline] } [2020-12-06T20:41:20.413Z] + 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 . [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] 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 [2020-12-06T20:41:21.855Z] Sending build context to Docker daemon 19.21MB [2020-12-06T20:41:21.855Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-06T20:41:21.855Z] Step 2/8 : FROM ${BASE} [2020-12-06T20:41:21.855Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-06T20:41:21.855Z] 5f621e34cdf4: Pulling fs layer [2020-12-06T20:41:21.855Z] a4357932f1b6: Pulling fs layer [2020-12-06T20:41:21.855Z] 18c013af1878: Pulling fs layer [2020-12-06T20:41:21.855Z] 00ac8860ef70: Pulling fs layer [2020-12-06T20:41:21.855Z] 63d7cb157983: Pulling fs layer [2020-12-06T20:41:21.855Z] b116817d02f9: Pulling fs layer [2020-12-06T20:41:21.855Z] 745a02a5169b: Pulling fs layer [2020-12-06T20:41:21.855Z] 63d7cb157983: Waiting [2020-12-06T20:41:21.855Z] b116817d02f9: Waiting [2020-12-06T20:41:21.855Z] 745a02a5169b: Waiting [2020-12-06T20:41:21.855Z] 00ac8860ef70: Waiting [2020-12-06T20:41:21.855Z] 18c013af1878: Download complete [2020-12-06T20:41:21.855Z] a4357932f1b6: Verifying Checksum [2020-12-06T20:41:21.855Z] a4357932f1b6: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-06T20:41:22.130Z] 5f621e34cdf4: Download complete [2020-12-06T20:41:22.130Z] b116817d02f9: Download complete [2020-12-06T20:41:22.130Z] 63d7cb157983: Verifying Checksum [2020-12-06T20:41:22.130Z] 63d7cb157983: Download complete [2020-12-06T20:41:22.723Z] 5f621e34cdf4: Pull complete [2020-12-06T20:41:23.322Z] a4357932f1b6: Pull complete [2020-12-06T20:41:23.596Z] 18c013af1878: Pull complete [2020-12-06T20:41:24.573Z] 745a02a5169b: Verifying Checksum [2020-12-06T20:41:24.573Z] 745a02a5169b: Download complete [2020-12-06T20:41:25.547Z] 00ac8860ef70: Verifying Checksum [2020-12-06T20:41:25.547Z] 00ac8860ef70: Download complete [2020-12-06T20:41:35.722Z] 00ac8860ef70: Pull complete [2020-12-06T20:41:35.722Z] 63d7cb157983: Pull complete [2020-12-06T20:41:35.722Z] b116817d02f9: Pull complete [2020-12-06T20:41:39.126Z] 745a02a5169b: Pull complete [2020-12-06T20:41:39.126Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-06T20:41:39.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-06T20:41:39.126Z] ---> b7e6874047d6 [2020-12-06T20:41:39.126Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-06T20:41:39.126Z] latest: Pulling from library/docker [2020-12-06T20:41:39.399Z] 5f621e34cdf4: Already exists [2020-12-06T20:41:39.399Z] 85db56a05063: Pulling fs layer [2020-12-06T20:41:39.399Z] ccb67d6aeaaa: Pulling fs layer [2020-12-06T20:41:39.399Z] de930078acea: Pulling fs layer [2020-12-06T20:41:39.399Z] d5a9d88a4785: Pulling fs layer [2020-12-06T20:41:39.399Z] e7f15c1544d5: Pulling fs layer [2020-12-06T20:41:39.399Z] 877c515997d3: Pulling fs layer [2020-12-06T20:41:39.399Z] e7f15c1544d5: Waiting [2020-12-06T20:41:39.399Z] 877c515997d3: Waiting [2020-12-06T20:41:39.399Z] d5a9d88a4785: Waiting [2020-12-06T20:41:39.399Z] ccb67d6aeaaa: Verifying Checksum [2020-12-06T20:41:39.399Z] ccb67d6aeaaa: Download complete [2020-12-06T20:41:39.675Z] 85db56a05063: Verifying Checksum [2020-12-06T20:41:39.675Z] 85db56a05063: Download complete [2020-12-06T20:41:39.675Z] d5a9d88a4785: Verifying Checksum [2020-12-06T20:41:39.675Z] d5a9d88a4785: Download complete [2020-12-06T20:41:39.675Z] e7f15c1544d5: Verifying Checksum [2020-12-06T20:41:39.675Z] e7f15c1544d5: Download complete [2020-12-06T20:41:39.949Z] 877c515997d3: Verifying Checksum [2020-12-06T20:41:39.949Z] 877c515997d3: Download complete [2020-12-06T20:41:40.223Z] 85db56a05063: Pull complete [2020-12-06T20:41:40.495Z] ccb67d6aeaaa: Pull complete [2020-12-06T20:41:44.796Z] de930078acea: Verifying Checksum [2020-12-06T20:41:44.796Z] de930078acea: Download complete [2020-12-06T20:41:47.422Z] de930078acea: Pull complete [2020-12-06T20:41:47.700Z] d5a9d88a4785: Pull complete [2020-12-06T20:41:47.975Z] e7f15c1544d5: Pull complete [2020-12-06T20:41:48.573Z] 877c515997d3: Pull complete [2020-12-06T20:41:48.573Z] Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a [2020-12-06T20:41:48.573Z] Status: Downloaded newer image for docker:latest [2020-12-06T20:41:55.282Z] ---> eb22fac6126c [2020-12-06T20:41:55.282Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-06T20:41:55.282Z] ---> Running in 7598afc56c84 [2020-12-06T20:41:55.282Z] Removing intermediate container 7598afc56c84 [2020-12-06T20:41:55.282Z] ---> 38e9ecc11394 [2020-12-06T20:41:55.282Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-06T20:41:55.282Z] ---> Running in 136fde44c345 [2020-12-06T20:41:56.257Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-06T20:41:57.225Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-06T20:41:58.195Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-06T20:41:58.195Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-06T20:41:58.195Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-06T20:41:58.195Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-06T20:41:58.465Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-06T20:41:58.465Z] Executing busybox-1.31.1-r19.trigger [2020-12-06T20:41:58.465Z] OK: 144 MiB in 44 packages [2020-12-06T20:41:59.897Z] Removing intermediate container 136fde44c345 [2020-12-06T20:41:59.897Z] ---> ffa636d9d9e5 [2020-12-06T20:41:59.897Z] Step 6/8 : WORKDIR /build [2020-12-06T20:41:59.897Z] ---> Running in 328daa65171b [2020-12-06T20:42:00.169Z] Removing intermediate container 328daa65171b [2020-12-06T20:42:00.169Z] ---> 58c73e3a9676 [2020-12-06T20:42:00.169Z] Step 7/8 : COPY go.mod . [2020-12-06T20:42:01.157Z] ---> c89d33630bc3 [2020-12-06T20:42:01.157Z] Step 8/8 : RUN go mod download [2020-12-06T20:42:01.157Z] ---> Running in 48d6533462f1 [2020-12-06T20:42:27.952Z] Removing intermediate container 48d6533462f1 [2020-12-06T20:42:27.952Z] ---> f59169f773d5 [2020-12-06T20:42:27.952Z] Successfully built f59169f773d5 [2020-12-06T20:42:27.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:42:28.291Z] + docker inspect -f . ci-base-image-arm64 [2020-12-06T20:42:28.291Z] . [Pipeline] withDockerContainer [2020-12-06T20:42:28.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-14734 does not seem to be running inside a container [2020-12-06T20:42:28.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2020-12-06T20:42:30.099Z] $ docker top a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-06T20:42:31.188Z] + go version [2020-12-06T20:42:31.188Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-06T20:42:31.224Z] $ docker stop --time=1 a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 [2020-12-06T20:42:33.066Z] $ docker rm -f a6b3c0ee3369a78d179bffba95aa1f2c7818fc7bc075a60c3b5e350d33a83dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:42:34.123Z] + docker inspect -f . ci-base-image-arm64 [2020-12-06T20:42:34.123Z] . [Pipeline] withDockerContainer [2020-12-06T20:42:34.349Z] prd-ubuntu18.04-docker-arm64-4c-16g-14734 does not seem to be running inside a container [2020-12-06T20:42:34.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2020-12-06T20:42:35.891Z] $ docker top 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-06T20:42:36.939Z] + make test [2020-12-06T20:42:36.939Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-06T20:42:38.372Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-06T20:43:00.589Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.056s coverage: 86.2% of statements [2020-12-06T20:43:39.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.059s coverage: 53.1% of statements [2020-12-06T20:43:39.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-06T20:43:39.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-06T20:43:39.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.133s coverage: 54.7% of statements [2020-12-06T20:43:39.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-06T20:43:39.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.077s coverage: 69.1% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.446s coverage: 61.6% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.017s coverage: 89.5% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.040s coverage: 100.0% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.016s coverage: 96.6% of statements [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.020s coverage: 97.7% of statements [2020-12-06T20:43:49.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-06T20:43:49.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.020s coverage: 8.8% of statements [2020-12-06T20:43:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.942s coverage: 75.0% of statements [2020-12-06T20:43:51.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-06T20:43:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements [2020-12-06T20:43:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.022s coverage: 88.9% of statements [2020-12-06T20:43:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.042s coverage: 80.5% of statements [2020-12-06T20:43:51.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements [2020-12-06T20:44:18.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 71.0% of statements [2020-12-06T20:44:18.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-12-06T20:44:18.022Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-06T20:44:28.204Z] gofmt -l . [2020-12-06T20:44:28.798Z] [ "`gofmt -l .`" = "" ] [2020-12-06T20:44:29.089Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-06T20:44:29.739Z] $ docker stop --time=1 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 [2020-12-06T20:44:31.969Z] $ docker rm -f 3b169cbdda3bd904d09b05e0eeaa37c45ccc07dd96a28939dee997cd86131d89 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-06T20:44:33.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-06T20:44:33.040Z] Warning: overwriting stash ‘coverage-report’ [2020-12-06T20:44:33.966Z] 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 [2020-12-06T20:44:36.365Z] provisioning config files... [2020-12-06T20:44:36.378Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config6372051840863813062tmp [Pipeline] { [Pipeline] sh [2020-12-06T20:44:36.766Z] + set +x [2020-12-06T20:44:36.766Z] + curl -s https://codecov.io/bash [2020-12-06T20:44:36.766Z] + bash -s -- [2020-12-06T20:44:37.029Z] [2020-12-06T20:44:37.029Z] _____ _ [2020-12-06T20:44:37.029Z] / ____| | | [2020-12-06T20:44:37.029Z] | | ___ __| | ___ ___ _____ __ [2020-12-06T20:44:37.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-06T20:44:37.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-06T20:44:37.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-06T20:44:37.029Z] Bash-20201130-cc6d3fe [2020-12-06T20:44:37.029Z] [2020-12-06T20:44:37.029Z] [2020-12-06T20:44:37.029Z] ==> Jenkins CI detected. [2020-12-06T20:44:37.029Z] project root: . [2020-12-06T20:44:37.029Z] --> token set from env [2020-12-06T20:44:37.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-06T20:44:37.029Z] ==> Running gcov in . (disable via -X gcov) [2020-12-06T20:44:37.029Z] ==> Python coveragepy not found [2020-12-06T20:44:37.029Z] ==> Searching for coverage reports in: [2020-12-06T20:44:37.029Z] + . [2020-12-06T20:44:37.029Z] -> Found 1 reports [2020-12-06T20:44:37.029Z] ==> Detecting git/mercurial file structure [2020-12-06T20:44:37.029Z] ==> Reading reports [2020-12-06T20:44:37.029Z] + ./coverage.out bytes=91626 [2020-12-06T20:44:37.029Z] ==> Appending adjustments [2020-12-06T20:44:37.029Z] https://docs.codecov.io/docs/fixing-reports [2020-12-06T20:44:37.606Z] + Found adjustments [2020-12-06T20:44:37.606Z] ==> Gzipping contents [2020-12-06T20:44:37.606Z] 16K /tmp/codecov.dvHZ4a.gz [2020-12-06T20:44:37.606Z] ==> Uploading reports [2020-12-06T20:44:37.606Z] url: https://codecov.io [2020-12-06T20:44:37.606Z] query: branch=PR-587&commit=cebda27dbbbe00994d9e59a713edc86daf18d80f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= [2020-12-06T20:44:37.606Z] -> Pinging Codecov [2020-12-06T20:44:37.606Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-587&commit=cebda27dbbbe00994d9e59a713edc86daf18d80f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-587%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=587&job=&cmd_args= [2020-12-06T20:44:38.180Z] -> Uploading to [2020-12-06T20:44:38.180Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-06/3D8B5DFFC46A037C893635FACE044666/cebda27dbbbe00994d9e59a713edc86daf18d80f/977e073b-1abf-4e43-86da-66d8f96914a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201206T204438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a83b46954b5f61c028f80ca84c2a7fefab187632808dfba12e973e948926749c [2020-12-06T20:44:38.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-06T20:44:38.180Z] Dload Upload Total Spent Left Speed [2020-12-06T20:44:38.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16283 0 0 100 16283 0 35974 --:--:-- --:--:-- --:--:-- 36024 [2020-12-06T20:44:38.753Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cebda27dbbbe00994d9e59a713edc86daf18d80f [Pipeline] } [2020-12-06T20:44:38.762Z] 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 [2020-12-06T20:44:42.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:44:42.533Z] ---> package-listing.sh [2020-12-06T20:44:42.534Z] ++ facter osfamily [2020-12-06T20:44:42.534Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-06T20:44:42.534Z] + OS_FAMILY=redhat [2020-12-06T20:44:42.534Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-587 [2020-12-06T20:44:42.534Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-06T20:44:42.534Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-06T20:44:42.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-06T20:44:42.534Z] + PACKAGES=/tmp/packages_start.txt [2020-12-06T20:44:42.534Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' [2020-12-06T20:44:42.534Z] + PACKAGES=/tmp/packages_end.txt [2020-12-06T20:44:42.534Z] + case "${OS_FAMILY}" in [2020-12-06T20:44:42.534Z] + rpm -qa [2020-12-06T20:44:42.534Z] + sort [2020-12-06T20:44:47.845Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-06T20:44:47.846Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-06T20:44:47.846Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-06T20:44:47.846Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' [2020-12-06T20:44:47.846Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [2020-12-06T20:44:47.846Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [Pipeline] echo [2020-12-06T20:44:47.862Z] 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-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-06T20:44:48.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:44:48.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-06T20:44:48.468Z] [2020-12-06T20:44:48.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-06T20:44:48.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-06T20:44:48.829Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-06T20:44:48.829Z] df20fa9351a1: Pulling fs layer [2020-12-06T20:44:48.829Z] 36b3adc4ff6f: Pulling fs layer [2020-12-06T20:44:48.829Z] 8ad3a11d3b57: Pulling fs layer [2020-12-06T20:44:48.829Z] 46f8f816bc3b: Pulling fs layer [2020-12-06T20:44:48.829Z] 93b61091891f: Pulling fs layer [2020-12-06T20:44:48.829Z] 93b9cdb0e59b: Pulling fs layer [2020-12-06T20:44:48.829Z] 5e14af77c1be: Pulling fs layer [2020-12-06T20:44:48.829Z] 01666e4c0597: Pulling fs layer [2020-12-06T20:44:48.829Z] aa168da1d23b: Pulling fs layer [2020-12-06T20:44:48.829Z] 93b61091891f: Waiting [2020-12-06T20:44:48.829Z] 46f8f816bc3b: Waiting [2020-12-06T20:44:48.829Z] 93b9cdb0e59b: Waiting [2020-12-06T20:44:48.829Z] 01666e4c0597: Waiting [2020-12-06T20:44:48.829Z] aa168da1d23b: Waiting [2020-12-06T20:44:48.829Z] 5e14af77c1be: Waiting [2020-12-06T20:44:48.829Z] 36b3adc4ff6f: Download complete [2020-12-06T20:44:48.829Z] 46f8f816bc3b: Verifying Checksum [2020-12-06T20:44:48.829Z] 46f8f816bc3b: Download complete [2020-12-06T20:44:49.092Z] df20fa9351a1: Verifying Checksum [2020-12-06T20:44:49.092Z] df20fa9351a1: Download complete [2020-12-06T20:44:49.092Z] 93b9cdb0e59b: Verifying Checksum [2020-12-06T20:44:49.092Z] 93b9cdb0e59b: Download complete [2020-12-06T20:44:49.092Z] 93b61091891f: Verifying Checksum [2020-12-06T20:44:49.092Z] 93b61091891f: Download complete [2020-12-06T20:44:49.092Z] 5e14af77c1be: Verifying Checksum [2020-12-06T20:44:49.092Z] 5e14af77c1be: Download complete [2020-12-06T20:44:49.092Z] 01666e4c0597: Download complete [2020-12-06T20:44:49.357Z] df20fa9351a1: Pull complete [2020-12-06T20:44:49.619Z] 8ad3a11d3b57: Verifying Checksum [2020-12-06T20:44:49.619Z] 8ad3a11d3b57: Download complete [2020-12-06T20:44:49.619Z] 36b3adc4ff6f: Pull complete [2020-12-06T20:44:50.590Z] 8ad3a11d3b57: Pull complete [2020-12-06T20:44:50.590Z] 46f8f816bc3b: Pull complete [2020-12-06T20:44:51.180Z] 93b61091891f: Pull complete [2020-12-06T20:44:51.181Z] aa168da1d23b: Verifying Checksum [2020-12-06T20:44:51.181Z] aa168da1d23b: Download complete [2020-12-06T20:44:51.444Z] 93b9cdb0e59b: Pull complete [2020-12-06T20:44:51.444Z] 5e14af77c1be: Pull complete [2020-12-06T20:44:51.444Z] 01666e4c0597: Pull complete [2020-12-06T20:44:59.622Z] aa168da1d23b: Pull complete [2020-12-06T20:44:59.622Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-06T20:44:59.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-06T20:44:59.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-06T20:44:59.765Z] prd-centos7-docker-4c-2g-14731 does not seem to be running inside a container [2020-12-06T20:44:59.815Z] $ 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-587/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-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-06T20:45:03.084Z] $ docker top c219f9c2919301ce43acc1e0ce09e2e0fcb99286197bba6cb92fc2d596bc0e42 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-06T20:45:03.645Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-06T20:45:03.948Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-06T20:45:04.255Z] + ls /var/log/sa-host [2020-12-06T20:45:04.255Z] + sadf -c /var/log/sa-host/sa06 [2020-12-06T20:45:04.255Z] file_magic: OK [2020-12-06T20:45:04.255Z] HZ: Using current value: 100 [2020-12-06T20:45:04.255Z] file_header: OK [2020-12-06T20:45:04.255Z] 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 [2020-12-06T20:45:04.255Z] Statistics: [2020-12-06T20:45:04.255Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-06T20:45:04.255Z] File successfully converted to sysstat format version 12.2.1 [2020-12-06T20:45:04.255Z] + sadf -c /var/log/sa-host/sa23 [2020-12-06T20:45:04.255Z] file_magic: OK [2020-12-06T20:45:04.255Z] HZ: Using current value: 100 [2020-12-06T20:45:04.255Z] file_header: OK [2020-12-06T20:45:04.255Z] 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 [2020-12-06T20:45:04.255Z] Statistics: [2020-12-06T20:45:04.255Z] Hnuu...uuuununununu... [2020-12-06T20:45:04.255Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-06T20:45:04.510Z] provisioning config files... [2020-12-06T20:45:04.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config8738124081247913648tmp [Pipeline] { [Pipeline] echo [2020-12-06T20:45:04.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:45:04.923Z] ---> create-netrc.sh [Pipeline] } [2020-12-06T20:45:04.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-06T20:45:05.035Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:45:05.342Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-06T20:45:05.354Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:45:05.657Z] ---> sudo-logs.sh [2020-12-06T20:45:05.657Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-06T20:45:05.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:45:05.973Z] ---> job-cost.sh [2020-12-06T20:45:05.973Z] lf-activate-venv: SKIPPING [2020-12-06T20:45:05.973Z] INFO: No Stack... [2020-12-06T20:45:07.367Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-06T20:45:07.942Z] INFO: Archiving Costs [Pipeline] echo [2020-12-06T20:45:07.957Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-06T20:45:08.257Z] ---> logs-deploy.sh [2020-12-06T20:45:08.257Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-587/2 [2020-12-06T20:45:08.257Z] INFO: archiving workspace using pattern(s): [2020-12-06T20:45:09.651Z] Archives upload complete. [2020-12-06T20:45:09.913Z] INFO: archiving logs to Nexus [2020-12-06T20:45:10.863Z] ---> uname -a: [2020-12-06T20:45:10.863Z] Linux prd-centos7-docker-4c-2g-14731.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> lscpu: [2020-12-06T20:45:10.863Z] Architecture: x86_64 [2020-12-06T20:45:10.863Z] CPU op-mode(s): 32-bit, 64-bit [2020-12-06T20:45:10.863Z] Byte Order: Little Endian [2020-12-06T20:45:10.863Z] Address sizes: 40 bits physical, 48 bits virtual [2020-12-06T20:45:10.863Z] CPU(s): 4 [2020-12-06T20:45:10.863Z] On-line CPU(s) list: 0-3 [2020-12-06T20:45:10.863Z] Thread(s) per core: 1 [2020-12-06T20:45:10.863Z] Core(s) per socket: 1 [2020-12-06T20:45:10.863Z] Socket(s): 4 [2020-12-06T20:45:10.863Z] NUMA node(s): 1 [2020-12-06T20:45:10.863Z] Vendor ID: GenuineIntel [2020-12-06T20:45:10.863Z] CPU family: 6 [2020-12-06T20:45:10.863Z] Model: 44 [2020-12-06T20:45:10.863Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-12-06T20:45:10.863Z] Stepping: 1 [2020-12-06T20:45:10.863Z] CPU MHz: 2933.438 [2020-12-06T20:45:10.863Z] BogoMIPS: 5866.87 [2020-12-06T20:45:10.863Z] Virtualization: VT-x [2020-12-06T20:45:10.863Z] Hypervisor vendor: KVM [2020-12-06T20:45:10.863Z] Virtualization type: full [2020-12-06T20:45:10.863Z] L1d cache: 128 KiB [2020-12-06T20:45:10.863Z] L1i cache: 128 KiB [2020-12-06T20:45:10.863Z] L2 cache: 16 MiB [2020-12-06T20:45:10.863Z] L3 cache: 64 MiB [2020-12-06T20:45:10.863Z] NUMA node0 CPU(s): 0-3 [2020-12-06T20:45:10.863Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-12-06T20:45:10.863Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-12-06T20:45:10.863Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-12-06T20:45:10.863Z] Vulnerability Meltdown: Mitigation; PTI [2020-12-06T20:45:10.863Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-12-06T20:45:10.863Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-12-06T20:45:10.863Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-12-06T20:45:10.863Z] Vulnerability Srbds: Not affected [2020-12-06T20:45:10.863Z] Vulnerability Tsx async abort: Not affected [2020-12-06T20:45:10.863Z] 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 [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> nproc: [2020-12-06T20:45:10.863Z] 4 [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> df -h: [2020-12-06T20:45:10.863Z] Filesystem Size Used Available Use% Mounted on [2020-12-06T20:45:10.863Z] overlay 50.0G 7.3G 42.7G 15% / [2020-12-06T20:45:10.863Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-12-06T20:45:10.863Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-12-06T20:45:10.863Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587 [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2020-12-06T20:45:10.863Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> free -m: [2020-12-06T20:45:10.863Z] total used free shared buff/cache available [2020-12-06T20:45:10.863Z] Mem: 1837 719 101 0 1015 1013 [2020-12-06T20:45:10.863Z] Swap: 1023 1 1022 [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> ip addr: [2020-12-06T20:45:10.863Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-12-06T20:45:10.863Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-12-06T20:45:10.863Z] inet 127.0.0.1/8 scope host lo [2020-12-06T20:45:10.863Z] valid_lft forever preferred_lft forever [2020-12-06T20:45:10.863Z] inet6 ::1/128 scope host [2020-12-06T20:45:10.863Z] valid_lft forever preferred_lft forever [2020-12-06T20:45:10.863Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2020-12-06T20:45:10.863Z] link/ether fa:16:3e:31:9c:ad brd ff:ff:ff:ff:ff:ff [2020-12-06T20:45:10.863Z] inet 10.30.123.53/23 brd 10.30.123.255 scope global dynamic eth0 [2020-12-06T20:45:10.863Z] valid_lft 85969sec preferred_lft 85969sec [2020-12-06T20:45:10.863Z] inet6 fe80::f816:3eff:fe31:9cad/64 scope link [2020-12-06T20:45:10.863Z] valid_lft forever preferred_lft forever [2020-12-06T20:45:10.863Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2020-12-06T20:45:10.863Z] link/ether 02:42:b0:bc:30:62 brd ff:ff:ff:ff:ff:ff [2020-12-06T20:45:10.863Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2020-12-06T20:45:10.863Z] valid_lft forever preferred_lft forever [2020-12-06T20:45:10.863Z] inet6 fe80::42:b0ff:febc:3062/64 scope link [2020-12-06T20:45:10.863Z] valid_lft forever preferred_lft forever [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] ---> sar -b -r -n DEV: [2020-12-06T20:45:10.863Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/06/20 _x86_64_ (4 CPU) [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] 20:37:48 LINUX RESTART (4 CPU) [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] 20:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-12-06T20:45:10.863Z] 20:40:01 2.05 0.00 2.05 0.00 0.00 47.88 0.00 [2020-12-06T20:45:10.863Z] 20:41:01 0.33 0.00 0.33 0.00 0.00 5.03 0.00 [2020-12-06T20:45:10.863Z] 20:42:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 [2020-12-06T20:45:10.863Z] 20:43:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 [2020-12-06T20:45:10.863Z] 20:44:01 0.20 0.00 0.20 0.00 0.00 2.91 0.00 [2020-12-06T20:45:10.863Z] 20:45:01 127.34 73.92 53.42 0.00 5889.85 17229.01 0.00 [2020-12-06T20:45:10.863Z] Average: 21.81 12.36 9.45 0.00 984.91 2891.44 0.00 [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] 20:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-12-06T20:45:10.863Z] 20:40:01 211972 0 617456 32.82 2620 1049496 1107836 37.81 433904 1037332 20 [2020-12-06T20:45:10.863Z] 20:41:01 213528 0 615872 32.73 2620 1049524 1075752 36.71 433004 1036720 12 [2020-12-06T20:45:10.863Z] 20:42:01 213496 0 615920 32.73 2620 1049508 1075884 36.72 453896 1016604 8 [2020-12-06T20:45:10.863Z] 20:43:01 213580 0 615836 32.73 2620 1049508 1075860 36.72 452804 1017428 16 [2020-12-06T20:45:10.863Z] 20:44:01 212364 0 617044 32.79 2620 1049516 1075836 36.72 474944 996536 12 [2020-12-06T20:45:10.863Z] 20:45:01 161596 0 717792 38.15 2620 999536 1277760 43.61 456076 999768 16484 [2020-12-06T20:45:10.863Z] Average: 204423 0 633320 33.66 2620 1041181 1114821 38.05 450771 1017398 2759 [2020-12-06T20:45:10.863Z] [2020-12-06T20:45:10.863Z] 20:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-12-06T20:45:10.863Z] 20:40:01 eth0 5.45 3.01 4.20 0.56 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:41:01 eth0 0.33 0.08 0.03 0.01 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:42:01 eth0 0.52 0.32 0.27 0.20 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.863Z] 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:43:01 eth0 0.52 0.35 0.27 0.17 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:44:01 eth0 0.23 0.17 0.08 0.10 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:45:01 eth0 209.69 175.10 2167.09 19.53 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] Average: eth0 36.24 29.94 363.19 3.44 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z] ---> sar -P ALL: [2020-12-06T20:45:10.864Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/06/20 _x86_64_ (4 CPU) [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z] 20:37:48 LINUX RESTART (4 CPU) [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z] 20:39:01 CPU %user %nice %system %iowait %steal %idle [2020-12-06T20:45:10.864Z] 20:40:01 all 0.22 0.00 0.06 0.00 0.00 99.71 [2020-12-06T20:45:10.864Z] 20:40:01 0 0.10 0.00 0.07 0.00 0.00 99.83 [2020-12-06T20:45:10.864Z] 20:40:01 1 0.10 0.00 0.10 0.00 0.00 99.80 [2020-12-06T20:45:10.864Z] 20:40:01 2 0.53 0.00 0.05 0.00 0.00 99.42 [2020-12-06T20:45:10.864Z] 20:40:01 3 0.15 0.00 0.03 0.00 0.02 99.80 [2020-12-06T20:45:10.864Z] 20:41:01 all 0.16 0.00 0.03 0.00 0.01 99.80 [2020-12-06T20:45:10.864Z] 20:41:01 0 0.02 0.00 0.02 0.00 0.00 99.97 [2020-12-06T20:45:10.864Z] 20:41:01 1 0.05 0.00 0.02 0.00 0.02 99.92 [2020-12-06T20:45:10.864Z] 20:41:01 2 0.52 0.00 0.03 0.00 0.02 99.43 [2020-12-06T20:45:10.864Z] 20:41:01 3 0.05 0.00 0.07 0.00 0.00 99.88 [2020-12-06T20:45:10.864Z] 20:42:01 all 0.16 0.00 0.04 0.00 0.00 99.80 [2020-12-06T20:45:10.864Z] 20:42:01 0 0.05 0.00 0.02 0.00 0.00 99.93 [2020-12-06T20:45:10.864Z] 20:42:01 1 0.02 0.00 0.03 0.00 0.00 99.95 [2020-12-06T20:45:10.864Z] 20:42:01 2 0.53 0.00 0.07 0.00 0.00 99.40 [2020-12-06T20:45:10.864Z] 20:42:01 3 0.05 0.00 0.03 0.00 0.00 99.92 [2020-12-06T20:45:10.864Z] 20:43:01 all 0.17 0.00 0.06 0.00 0.00 99.78 [2020-12-06T20:45:10.864Z] 20:43:01 0 0.02 0.00 0.02 0.00 0.00 99.97 [2020-12-06T20:45:10.864Z] 20:43:01 1 0.05 0.00 0.08 0.00 0.00 99.87 [2020-12-06T20:45:10.864Z] 20:43:01 2 0.55 0.00 0.08 0.00 0.00 99.37 [2020-12-06T20:45:10.864Z] 20:43:01 3 0.05 0.00 0.05 0.00 0.00 99.90 [2020-12-06T20:45:10.864Z] 20:44:01 all 0.15 0.00 0.03 0.00 0.00 99.81 [2020-12-06T20:45:10.864Z] 20:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 [2020-12-06T20:45:10.864Z] 20:44:01 1 0.05 0.00 0.03 0.00 0.00 99.92 [2020-12-06T20:45:10.864Z] 20:44:01 2 0.52 0.00 0.05 0.00 0.00 99.43 [2020-12-06T20:45:10.864Z] 20:44:01 3 0.02 0.00 0.03 0.00 0.00 99.95 [2020-12-06T20:45:10.864Z] 20:45:01 all 5.62 0.00 3.78 2.02 0.03 88.56 [2020-12-06T20:45:10.864Z] 20:45:01 0 5.10 0.00 3.62 0.92 0.02 90.34 [2020-12-06T20:45:10.864Z] 20:45:01 1 5.57 0.00 3.77 1.26 0.02 89.39 [2020-12-06T20:45:10.864Z] 20:45:01 2 5.39 0.00 3.58 2.06 0.05 88.91 [2020-12-06T20:45:10.864Z] 20:45:01 3 6.44 0.00 4.13 3.82 0.02 85.59 [2020-12-06T20:45:10.864Z] Average: all 1.08 0.00 0.66 0.33 0.01 97.92 [2020-12-06T20:45:10.864Z] Average: 0 0.88 0.00 0.62 0.15 0.00 98.34 [2020-12-06T20:45:10.864Z] Average: 1 0.97 0.00 0.67 0.21 0.01 98.15 [2020-12-06T20:45:10.864Z] Average: 2 1.34 0.00 0.64 0.34 0.01 97.67 [2020-12-06T20:45:10.864Z] Average: 3 1.12 0.00 0.72 0.63 0.01 97.52 [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z] [2020-12-06T20:45:10.864Z]